zoukankan      html  css  js  c++  java
  • 别再用Microsoft Office,改为WPS或者Latex

    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%texlive2020inwin32 路径添加到系统环境中。接着,就是安装TexStudio。打开编辑器软件后,首先需要操作的就是把配置文件改成自己习惯用的,构建采用xelatex,毕竟使用的中文包比较多一点。

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

    ​ extbf{} 与Ctrl +B粗体; extif{} 与Ctrl + I斜体;underline{}下划线;

    ​ egin{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; 其他情况 :

    egin{document}
    	author{names}
    		itle{title}
    	date{date}
    	maketitle
    		ableofcontens 
    	item An entry in a list 
    		  Synopsis: item text of item
    		  %% In this example the enumerate list has two items.
    		  egin{enumerate}
    		  	item Moe
    		  	item [sometimes] Shemp
    		  	item Larry
    		  end{enumerate}
    		  
    	A restricted form of List
    	Synopsis:
    		egin{trivlist}
    			...
    		end{trivlist}
    	egin{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.
    	hicklines		A heavier line thickness.
    circle			Draw a circle.
    oval			Draw an oval.
    shortstack		Make a stack of objects.		
    

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

    egin{figure*}[htbp]
    egin{tabular}{cc}		% 两列都居中
    
    	subfigure[]{
    	egin{minipage}[t]{0.45	extwidth}
    	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*}
    
    egin{table}{htbp}
    
    %% htbp:浮动格式。h 当前位置,t(top)顶部位置,b(bellow)底部位置,p(浮动页)
    
    centering
    caption{The effect of depth on success rate}
    
    %% caption:标签定义表格的标题。
    
    label{tab5}
    egin{tabular}{ccccc}
    hline
    oalign{smallskip}
    	& 	abincell{c}{2} & 	abincell{c}{3} & 	abincell{c}{4} & 	abincell{c}{5} & 	abincell{
    oalign{smallskip}hline
    oalign{smallskip}
    		abincell{c}{sina} & 59.7 \%& 	extbf{76.7 \%}}
    
    
    oalign{smallskip}hline		第三条线
    end{tabular}
    end{table}
    
    %% egin{figure*}和egin{tabular*}都是生成表格的工具
    
    
    egin{tabular*}{宽度}{位置}{列}
    row
    end{tabular*}
    %% 	abularnewline命令用于强制一表格的结束,而除了可以结束整个一行表格以外,还可以在单个列的内容中实现换行。
    
    documentclass{standalone}
    
    egin{document}
    	LARGE LaTex
    end{document}
    
    usepackage[toc,lot,lof]{multitoc}%目录两栏
     
    enewcommand{contentsname}{目录}
     
    enewcommand{listfigurename}{图}
     
    enewcommand{listtablename}{表}
     
    enewcommand{
    efname}{参考文献}
     
    enewcommand{abstractname}{摘要}
     
    enewcommand{indexname}{索引}
     
    enewcommand{	ablename}{表}
     
    enewcommand{figurename}{图}
    
    usepackage[section]{placeins}	%图表位于当前页
    usepackage{emumerate}	%列表环境
    %+++++++++++++++++++++
    usepackage{titling}	%修改标题样式
    pretitle{egin{center}LARGEsf}
    preauthor{egin{center}}
    large sf lineskip 0.5em%
    egin{tabular}[t]{c}
    
    usepackage{titling}
    pretitle{egin{flushleft}huge}
    posttitle{parend{flushleft}vspace{-8mm}}
    preauthor{egin{flushleft}
               % large lineskip 0em%
                egin{tabular}[t]{r}}
     postauthor{end{tabular}parend{flushleft}vspace{-8mm}}
     predate{egin{flushleft}small}
     postdate{parend{flushleft}}
    
  • 相关阅读:
    get_folder_size.ps1
    python3-database-shelve
    Windows中实现不依赖账户登录的开机启动程序
    SpringBoot+SpringDataJPA如何实现自定义且自由度高的查询[多表,多查询条件,多排序条件,分页,自定义sql封装]
    Windows phone 8.1之数据绑定(Data Binding)
    TextBox使用技巧--转载
    在Eclipse中使用git把项目导入到git中--转载
    运用多种知识点实现一个综合小游戏
    Git帮助之初始化项目设置向导
    如何从Eclipse导入github上的项目源码--转载
  • 原文地址:https://www.cnblogs.com/ldh1112/p/14591987.html
Copyright © 2011-2022 走看看