LaTeX学习(一)

相信我,只要你用一次LaTex,你便一定会爱上它的。

1、1、LaTeX、TeX、XeLaTeX、XeTeX的关系

 LaTeX 是TeX 中的一种格式(format) ,是建立在TeX 基础上的宏语言,也就是说,每一个LaTeX 命令实际上最后都会被转换解释成几个甚至上百个TeX 命令。但是,普通用户可以无需知道这中间的复杂联系。就象编程的时候如果使用一些已经编译好的函数库和模板可以使我们仅仅用几个命令就实现很多功能一 样,LaTeX 根据人们排版文章的习惯,定义了许多命令和模板,通过这些命令和模板,我们可以很快的得到漂亮的排版结果。
XeTex是一种使用Unicode的TeX排版引擎,并支持一些现代字体技术,例如 OpenType。其作者和维护者是Jonathan Kew,并以X11自由软件许可证发布。它原生的支持Unicode,并默认其输入文件为UTF-8编码。XeTeX可以在不进行额外配置的情况下直接使 用操作系统中安装的字体,因此可以直接利用OpenType,Graphite中的高级特性,例如额外的字形,花体,合字,可变的文本粗细等。

XeLaTeX是使用LaTeX的排版引擎,也有上述XeTeX的优点,命令下直接使用xelatex ***.tex就会产生对应的PDF文件。

2、凡是以\begin{xxx} 开始以\end{xxx}”结束的部分均称为环境。

3、我的第一个latex文件

%!Mode::"Tex:UTF-8"
\documentclass{article}
\usepackage{amsmath}
\usepackage{xltxtra}
\usepackage{mflogo,texnames}
\author{Liuzhenhua}
\title{My First \LaTeX{} article}
\begin{document}
    \maketitle
    Wow! This is my FIRST \LaTeX{} Article!
    
    Hello World!
    \TeX{}, \LaTeXe{},
    \XeTeX{}, \XeLaTeX{}, \AmSTeX{}, \AmS-\LaTeX{},
    \LuaTeX{}, 
    \METAFONT, \MF,         \MP
\end{document}

编译后的PDF如下: 

4、如果想要分段,只需要空一行就行了。

5、\quad 命令实现空格,例如两个句子之间的空格。

6、LATEX的命令均以\ 开始,然后跟着命令的名字,{ } 里面是命令设置的内容。事
实上有些命令还有一些可选的参数,放在[ ] 里面。

7、括\begin{document} 和\end{document} 以之间内容的部分,称之为正文部分。 

8、根据PDF 文件中的文字找源文件中的对应行(段),要实现这个功能,在打开的PDF 文件上双击某一行 ,便能实现反向搜索。

9、Ctrl + Enter 自动补全命令

10、文档分为两大部分,导言区和正文部分.

11、节的使用

\section{ABSTRACT}

\section表示这是一节

12、小节的使用

一个大节可能有很多的小节,例如第一节可能还有1.1、1.2等等

\subsection{}

小小节的使用

\subsubsection{}

下面演示以下

\section{1.INTRODUCTION}
Signals with finite rate of innovation (FRI) have finite degrees
of freedom per unit time and include both bandlimited signals
as well as non-bandlimited functions. A typical example of
FRI signals is a stream of K pulses. It has a 2K rate of innovations
as the signal can be defined by the amplitudes and the
locations of the K pulses.
\subsection{First subsection}
I like the first subsection.The rest of the paper is organised as follows: In Section 2,
we discuss the occurrence of the breakdown event by illustrating
an example of using subspace-based methods to recover a
stream of Diracs. 
\subsubsection{}
Fig. 3 visualises the breakdown condition in Eq. (4). It shows
that the smaller the distance between two nearby Diracs, the
higher the breakdown PSNR will be. Thus, the subspace swap
event occurring inherently in current FRI methods stops us
from recovering FRI signals with a higher resolution under
strong noise.
\subsubsection{}
The neural network consists of 3 convolutional layers followed
by 3 fully connected layers as shown in Fig. 4. Each
of the convolutional layers has 100 filters of size 3.

 

13、latex的自动补全功能

例如要打出来:

\begin{equation}

\end{equation}

假如我们只打了\begin{equation}怎么自动补全后面的\end{equation}呢?

其实只要在\begin{equation}的后面输入一个大括号“}”便能立马补全,注意是紧挨着}后面并且不需要跨行。

补全之后的样子是:

 

\begin{equation}
 
\end{equation}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

nwsuaf_huasir

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值