本文介绍了在LaTeX Beamer中调整矩阵大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如何在投影仪环境中调整矩阵的大小.目前,我正在编写以下代码:

\begin{align*}
\left( \begin{array}{ccccccc}
 0 & 1 &    &   &        &    &   \\
-1 & 0 &    &   &        &    &   \\
   &   &  0 & 1 &        &    &   \\
   &   & -1 & 0 &        &    &   \\
   &   &    &   & \ddots &    &   \\
   &   &    &   &        & 0  & 1 \\
   &   &    &   &        & -1 & 0
\end{array} \right)
\end{align*}

,矩阵几乎占据了整个页面.我希望它的高度大约为半页.

解决方案

修改

在Beamer中指定字体大小与在其他LaTeX文档中指定字体大小没有区别.到更改数组的大小,您可以通过在align环境中添加命令来切换大小.

有效命令为\tiny\scriptsize\footnotesize\small\normalsize\large\Large\huge\Huge(可能更多). /p>

Hi I was wondering how to resize matrices in a beamer environment. Currently I am writing the following code:

\begin{align*}
\left( \begin{array}{ccccccc}
 0 & 1 &    &   &        &    &   \\
-1 & 0 &    &   &        &    &   \\
   &   &  0 & 1 &        &    &   \\
   &   & -1 & 0 &        &    &   \\
   &   &    &   & \ddots &    &   \\
   &   &    &   &        & 0  & 1 \\
   &   &    &   &        & -1 & 0
\end{array} \right)
\end{align*}

and the matrix takes up almost a whole page. I would like it to be about half a page in height.

解决方案

Edit

Specifying font sizes in beamer is no different from specifying them in other LaTeX documents. To e.g. change the size of your array you would switch the size by adding the command inside your align environment.

Valid commands are \tiny, \scriptsize, \footnotesize, \small, \normalsize, \large, \Large, \huge, and \Huge (there could be more).

这篇关于在LaTeX Beamer中调整矩阵大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-31 02:09