2019-07-06 孙小北

Latex常用文本格式化代码整理

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 条评论

快来评论

物以类聚

最新评论

2017-10-06

一辈子不长,只有珍惜了,才不至于后悔。

2017-10-06

懂得感恩,才能走得更远。

标签云

归档

取消

感谢您的支持,您的每一次打赏都是一次鼓励!

扫码支持
每一次支持,都是不懈的动力

打开支付宝扫一扫,即可进行扫码打赏哦