LateX 全文(局部)字体大小设置

来源:互联网 发布:java private 编辑:程序博客网 时间:2024/05/21 10:06

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 }

 

全文参考:LateX字体大小设置

原创粉丝点击