latex 调整字体大小

时间:2023-01-05 20:06:41
Latex 设置字体大小

\begin{equation}\footnotesize
\vspace{-0.4cm} cr_{i}=-0.813(C_{b}-128)+2.003(C_{r}-128)
\end{equation}
编译后显示标号也是小字体


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
}