您的位置:首页 > 其它

LaTeX 设置字体大小 (转)

2012-06-15 16:22 441 查看
http://blog.chinaunix.net/u3/97846/showart_2044796.html

Latex 设置字体大小命令由小到大依次为:

\tiny
\scriptsize
\footnotesize
\small
\normalsize
\large
\Large
\LARGE
\huge
\Huge

使用方法:可以通过如下方式设置文章正文的字体大小,\begin{document} \small
采用默认的时候,正文肢体的大小是\normalsize
http://www.purplecow.org/index.php/Using_verbatim_text_in_a_latex_beamer_presentation LaTeX Beamer with verbatim blocks
Overview
Placing a normal \begin{verbatim} \end{verbatim} pair in a Beamer slide breaks with a message along the lines of "Paragraph ended before \@xverbatim was complete."
Fix
Declare the frame fragile first.
\begin{frame}[fragile]
Code
\begin{frame}[fragile]
\frametitle{My title}
\begin{verbatim}
My block of verbatim text ... ... ...
\end{verbatim}

\begin{itemize}
\item First point about slab of verbatim
\item Isn't verbatim great?
\end{itemize}
\end{frame}
Note on verbatim structure
Always use \begin{verbatim} and \end{verbatim}
This won't work:
\verbatim{
my
slab
of
text
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: