@Vincent-Gao
2018-10-28T09:28:13.000000Z
字数 1039
阅读 1653
LaTeX
$
:数学模式符号%
:注释符号^
:上标符号{}
:分组符号\
:宏命令~
:带子(用于一些不可隔行的空格,比如名称与编号之间的空格:Question 2)#
:用于宏定义&
:用于表格对齐_
:数学模式下标\
,\
需要写成\textbackslash
,^
需要写成\^{}
,~
需要写成\~{}
,_
需要写成\_{}
-
--
---
$\sim$
\ldots
or \dots
$\ldots$
(使用数学模式)\phantom{参数}
\textrm{}
\textsf{}
\texttt{}
{\rmfamily }
{\sffamily }
{\ttfamily }
\textmd{}
\textbf{}
{\mdseries }
{\bfseries }
\textup{}
\textit{}
\textsl{}
\textsc{}
{\upshape }
{\itshape }
{\slshape }
{\scshape }
{\songti }
{\heiti }
{\fangsong }
{\kaiti }
\textbf{粗体 黑体表示}
\textit{斜体 楷体表示}
\documentclass[10pt]{article}
(一般只有10-12pt){\tiny }
{\scripysize }
{\footnotesize }
{\small }
{\normalsize }
{\large }
{\Large }
{\LARGE }
{\huge }
{\Huge }
\zihao{5}
a \qquad b
a \quad b
\thinspace
\enspace
a\ b
a\;b
a\,b
a\!b
a\kern -1em b
or a\kern 1pc b
a\hskip 1em b
a\hspace{35pt} b
a\hphantom{xyz} b
a\hfill b