Microsoft Office 软件是办公领域比较专业的,需要付费且不便宜。利用KMS小工具或者找个KMS站点激活,耗费时间去查找不太方便。尤其是想从老旧版本换到最新版本,每次都需要卸载and升级,浪费时间。我们宝贵的时间需要花费在内容输出和休闲娱乐上,而不是这些不能增加收益的事情上。

当我查看Office 2019或者365发现,插入公式编辑器中竟然有 {latex} 编辑。为什么我不直接使用 TexStudio & TexLive编辑呢 ? 刚开始上手就是难在那一个月,后来的话尤其是操作日常使用的文档变得非常方便。尤其是支持免费升级。由于个人手机需要经常打开文档去查看文件,当时安装Microsoft 三件套发现没有雷达发现,一大堆Dropbox、google drive这些链接方式在国内并不实用。我记得当时应该是花费不到八十块钱购买一年的WPS会员,后来使用简直太爽了。等到工作的时候,你才会明显感觉到能够快速的上手工作还是非常便捷的。

WPS最新的版本令我感觉比较亲民的是:帮助中心(具备视频讲解功能)、开发者工具(采用了JS宏,WPS编辑器;这类的编程语言属于目前比较流行的,而不是VB);最重要一点多平台,尤其是Linux平台也能够操作。尤其是企事业人员去做的话,最为方便。不过,它也有弱点,就是如果大规模文档操作的话就有点不太使用。并且,它的有些东西我感觉是借鉴LibreOffice软件。不过,LibreOffice没有太多的说明文档,导致有些操作感觉非常的别扭。所以,我还是选择WPS。

WPS编辑普通文档还行,但是编辑数学试卷、化学(物理)试卷。那种Alt + I + Q 调出公式编辑器操作就感觉好像在操作Office2003一样,非常的浪费时间。那么,做为word和PPT的专业替代开源工具,就是Latex了。但就是入门成本非常高。

今天,我就开始展示下我这边学习操作Tex软件操作使用。这样,以后大大方便我们的工作(或者如果感觉操作Typora软件编辑Markdown文件也是可以的)

流程如下:

​ 首先,必应下Texlive、Texstudio两款软件下载安装。它们都支持三大桌面平台,平时办公这块,我使用windows系统(感觉WSL2还是比较方便的)。Windows平台下最好的操作就是先把TexLive软件安装下,软件源选择国内的阿里源。然后,就是需要把%HOME%texlive\2020\bin\win32 路径添加到系统环境中。接着,就是安装TexStudio。打开编辑器软件后,首先需要操作的就是把配置文件改成自己习惯用的,构建采用xelatex,毕竟使用的中文包比较多一点。

​ 常见的一些数学符号为:

​ \textbf{} 与Ctrl +B粗体;\textif{} 与Ctrl + I斜体;\underline{}下划线;

​ \begin{flushleft}

​ %% 该部分操作显示的是文档向左排版;此外还有center、right、

​ \end{flushleft}

​ 换行操作使用 \\ ;

​ 行内数学公式,Ctrl + Shift + M,$ $; 下标,_{} Ctrl + Shift + D ; 除号采用frac{}{} ;

^{} 使用Ctrl + Shift + U; \frac{}{} 使用Ctrl + Shift + M;\dfrac{}{} 使用Ctrl + Shift + F;\sqrt{} 使用Ctrl + Shift + Q;

​ 常见的Latex符号为:

\documentclass[option]{class} 采用文章操作符号;\usepackage[option]{class} 采用引入包安装文件;\usepackage{assymb} 安装包assymb(作用是:常见的数学符号安装包),同理类似相同的有:amssymb, amsfonts, amsmath; 其他情况 :

\begin{document}
	\author{names}
	\title{title}
	\date{date}
	\maketitle
	\tableofcontens 
	\item An entry in a list 
		  Synopsis: \item text of item
		  %% In this example the enumerate list has two items.
		  \begin{enumerate}
		  	\item Moe
		  	\item [sometimes] Shemp
		  	\item Larry
		  \end{enumerate}
		  
	A restricted form of List
	Synopsis:
		\begin{trivlist}
			...
		\end{trivlist}
	\begin{math}
	math
	\end{math}
	
\end{document}

下面是一些比较常用的符号:

\put 		Place an object at a specified place.
\multiput	Draw multiple instances of an object.
\qbezier	Draw a quadratic Bezier curve.(贝塞尔曲线)
\graphpaper	Draw graph paper.
\line		Draw a straight line.
\linethickness	Set thickness of horizontal and vertical lines.
\thicklines		A heavier line thickness.
\circle			Draw a circle.
\oval			Draw an oval.
\shortstack		Make a stack of objects.		

​ 打开编辑器,采用模板新建。我这边操作利用的是article.

\begin{figure*}[htbp]
\begin{tabular}{cc}		% 两列都居中

	\subfigure[]{
	\begin{minipage}[t]{0.45\textwidth}
	\centering 
	% Requires \usepackage{graphicx}
	\includegraphics[height=5.0cm]{{eps/fig6a}}
	\end{minipage}
	}
	
\cation{Other Captcha alternatives:	(a) ASIRRA. (b)Avatar Captcha}
\label{fig6}
\end{figure*}
\begin{table}{htbp}

%% htbp:浮动格式。h 当前位置,t(top)顶部位置,b(bellow)底部位置,p(浮动页)

\centering
\caption{The effect of depth on success rate}

%% caption:标签定义表格的标题。

\label{tab5}
\begin{tabular}{ccccc}
\hline\noalign{\smallskip}
	& \tabincell{c}{2} & \tabincell{c}{3} & \tabincell{c}{4} & \tabincell{c}{5} & \tabincell{\noalign{\smallskip}\hline\noalign{\smallskip}
	\tabincell{c}{sina} & 59.7 \%& \textbf{76.7 \%}}

\noalign{\smallskip}\hline		第三条线
\end{tabular}
\end{table}

%% \begin{figure*}和\begin{tabular*}都是生成表格的工具

\begin{tabular*}{宽度}{位置}{列}
row
\end{tabular*}
%% \tabularnewline命令用于强制一表格的结束,而除了可以结束整个一行表格以外,还可以在单个列的内容中实现换行。
\documentclass{standalone}

\begin{document}
	\LARGE \LaTex
\end{document}
\usepackage[toc,lot,lof]{multitoc}%目录两栏
 \renewcommand{\contentsname}{目录}
 \renewcommand{\listfigurename}{图}
 \renewcommand{\listtablename}{表}
 \renewcommand{\refname}{参考文献}
 \renewcommand{\abstractname}{摘要}
 \renewcommand{\indexname}{索引}
 \renewcommand{\tablename}{表}
 \renewcommand{\figurename}{图}
usepackage[section]{placeins}	%图表位于当前页
\usepackage{emumerate}	%列表环境
%+++++++++++++++++++++
\usepackage{titling}	%修改标题样式
\pretitle{\begin{center}\LARGE\sf}
\preauthor{\begin{center}}
\large \sf \lineskip 0.5em%
\begin{tabular}[t]{c}
\usepackage{titling}
\pretitle{\begin{flushleft}\huge}
\posttitle{\par\end{flushleft}\vspace{-8mm}}
\preauthor{\begin{flushleft}
           % \large \lineskip 0em%
            \begin{tabular}[t]{r}}
 \postauthor{\end{tabular}\par\end{flushleft}\vspace{-8mm}}
 \predate{\begin{flushleft}\small}
 \postdate{\par\end{flushleft}}
posted on 2021-03-29 13:42  大午30  阅读(1149)  评论(1编辑  收藏  举报