(2)Latex关于字体的设置 字体的大小、格式、斜体等基本操作

%正文区(文稿区)
\begin{document}
	\maketitle
	%%字体族设置(罗马字体,无衬线字体,打字机字体) 
	\textrm{Roman Family}                \textsf{Sans Serif Family}                         \texttt{Typrwriter Family}

	{\rmfamily Roman Family}   {\sffamily Sans Serif Family}       {\ttfamily Typewriter Family}
	
	{\sffamily who you are? you find self on everyone around. take you as the same as others!}
	
	{\ttfamily Are you wiser than others? definitely no. in same ways, may it is true. what can you achieve? a luxurious house? a brilliant car? an admirable career? who knows?}
	%字体系列设置(粗细,宽度)
	
	\textmd{Medium Series}    \textbf{Boldface Series}
	
	{\mdseries Medium Series} {\bfseries Boldface Series}
	
	%字体形状(直立,斜体,伪斜体,小型大写)
	\textup{Upright Shape} \textit{Italic Shape}
	\textsl{Slanted Shape} \textsc{Small Caps Shapes}
	
	{\upshape Upright Shape}{\itshape Italic Shape }{\slshape Slanted Shape}{\scshape Small Caps Shape}
	
	%中文字体   注意:想要显示中文字体必须引入ctex宏包,并且将编码形式改为UTF-8的形式
	{\songti 宋体 } \quad{\heiti 黑体} \quad {\fangsong 仿宋} \quad {\kaishu 楷书}
	
	中文字体的\textbf{粗体}与\textit{斜体}

	%字体大小

	{\tiny  你好}\\
	{\scriptsize  你好}\\
	{\footnotesize  你好}\\
	{\small  你好}\\
	{\normalsize  你好}\\
	{\large  你好}\\
	{\Large  你好}\\
	{\LARGE  你好}\\
	{\huge  你好}\\
	{\Huge  你好}\\
	%中文字号的设置命令
	{\kaishu  \zihao{1}  你好}

输入结果

在这里插入图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值