1. latex是排版软件,功能类似于word,format control 和 formula edit 方面较好。
2.latex是tex的扩展指令集,tex支持DVI(device independent) 文件格式,latex 支持DVI和PDF 文件。
3.版本问题。 linux的version是 tetex, windows上的version是Miktex和 fptex。 CTex是中文版。
说到底也就是个工具而已,学习工具的方法就是直接用,随用随学。
一 安装
我的安装环境是win10。
中文系统环境下软件下载地址如下。
http://www.ctex.org/CTexDownload1.1 安装过程
We can see comments when the mouse hover over left menu.
二 第一次邂逅
学习一个工具一定要从简单的功能来才行呀!
新建txt 文件 将下面内容保存,and then rename folder 为 Hello.tex 。
%hello.texdocumentclass[a4paper]{article}usepackage{hyperref} %article hyperlink to resourcebegin{document}title{latex brief}author{hedq }date{April 23,2019}maketitlebegin{abstract}Do you know latex is easy to learn?aha!end{abstract}%tableofcontentspart{part title}First partsection{section title}First sectionsubsection{subsection}first subsectionsubsubsection{subsubsection}first subsubsectionbegin{flushright}Hello hedq!end{flushright}end{document}Then 用安装好的WinEdt打开Hello.txt
效果如下:
点击“L”,即使用latex 将 hello.tex 编译为 hello.dvi
接着点击 :“dvi2pdf” 将dvi文件转换为 pdf文件。
它们之间的关系如下图
现在,要做的就是随意改动 hello.tex 来观察最终pdf的变化。
三 进阶命令
每一种工具都有各种各样的功能,在最初阶段只要了解即可,不用指望能记住所有功能的用法。
在实际使用的时候再去查询,用的多了自然熟能生巧。
推荐参考查询的资料:
Latex的简单功能:https://blog.csdn.net/Bluenapa/article/details/87984889
Latex的较完备功能:https://blog.csdn.net/cocoonyang/article/details/78036326
WinEdt的用法:https://www.cnblogs.com/jingwhale/p/4250296.html
四 使用模板
现在,我们已经了解了latex的概念和基本用法,但是在这个浮躁的社会,自己造轮子还是太慢了。
所以,就需要站到巨人的肩膀进行开发,下面就是两个巨人提供的模板:Tsinghua and IEEE
清华模板github:https://github.com/xueruini/thuthesis
IEEE模板:https://journals.ieeeauthorcenter.ieee.org/create-your-ieee-article/authoring-tools-and-templates/ieee-article-templates/templates-for-computer-society-journals/
IEEE 模板页面如下。
windows压缩文件zip linux 压缩文件是tar
暂时就到这,后续再慢慢添加内容喽~