LaTex(PART XII)字体和字体尺寸

字体

表达式字体
\textrm{…}roman
\textsf{…}sans serif
\texttt{…}typewriter
\textmd{…}medium
\textbf{…}bold face
\textup{…}upright
\textit{…}italic
\textsl{…}slanted
\textsc{…}small caps
\emph{…}emphasized
\textnormal{…}document font

字体尺寸

表达式字体尺寸10pt (default)11pt option12pt option
\tinytiny font5pt6pt6pt
\scriptsizevery small font7pt8pt8pt
\footnotesizequite small font8pt9pt10pt
\smallsmall font9pt10pt11pt
\normalsizenormal font10pt11pt12pt
\largelarge font12pt12pt14pt
\Largelarger font14pt14pt17pt
\LARGEvery large font17pt17pt20pt
\hugehuge20pt20pt25pt
\Hugelargest25pt25pt25pt

中文字号和对应磅值

字号磅值
八号5pt
七号5.5pt
小六6.5pt
六号7.5pt
小五9pt
五号10.5pt
小四12pt
四号14pt
小三15pt
三号16pt
小二18pt
二号22pt
小一24pt
一号26pt
小初36pt
初号42pt

中文字体:
使用命令fc-list :lang=zh-cn在命令行查看已经安装的字体

\documentclass[UTF8]{ctexart}


\begin{document}
    {\fangsong 我是仿宋}\\
    {\yahei  我是微软雅黑}\\
    {\heiti 我是黑体}\\
    {\kaishu 我是楷书}\\

\end{document}

输出结果:
这里写图片描述

字体尺寸:

代码:
\documentclass[UTF8]{ctexart}


\begin{document}
    {\tiny 字体大小font size tiny }\\
    {\scriptsize 字体大小font size scriptsize}\\
    {\footnotesize 字体大小font size footnotesize}\\
    {\small 字体大小font size small}\\
    {\normalsize 字体大小font size normalsize}\\
    {\large 字体大小font size large}\\
    {\Large 字体大小font size Large}\\
    {\LARGE 字体大小font size LARGE}\\
    {\huge 字体大小font size huge}\\
    {\Huge 字体大小font size Huge}\\

\end{document}
输出结果:

这里写图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值