latex 字体大小设置

2023-05-25,,

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

\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 字体大小设置的相关教程结束。

《latex 字体大小设置.doc》

下载本文的Word格式文档,以方便收藏与打印。