Latex常用文本格式化代码
最近在使用Latex排论文,顺便整理一下Latex常用文本格式化代码
(1) 文本加粗(textbf)
\textbf{This is a test}
(2)文本斜体(textit)
\textit{This is a test} %或者 \emph{This is a test}
(3)直立文本(textup)
\textup{This is a test}
(4)意大利斜体(textit)
\textit{This is a test}
(5)slanted斜体(textsl)
\textsl{This is a test}
(6)所有字母大写(uppercase)
\uppercase{This is a test} %小写字母比较小 \textsc{This is a test}
(7)细体字(textlf)
\textlf{This is a test}
(8)默认值(textnormal)
\textnormal{This is a test}
(9)中等权重(textmd)
\textmd{This is a test}
(10)显示小体大写文本(textsc)
\textsc{This is a test}
(11)等宽字体(texttt)
\texttt{This is a test}
(12)无衬线字体(textsf)
\textsf{This is a test}
编辑:孙小北
本文地址: https://www.xiaowangyun.com/wyblog/detail/?id=1089
版权归属: www.xiaowangyun.com 转载时请以链接形式注明出处
0 条评论