我回顾了一些相关问题:
减小公式中的字体大小
但就我的情况而言(在幻灯片中),这似乎行不通。
\documentclass{beamer}
\mode<presentation>
{
\usetheme{default}
\usecolortheme{default}
\usefonttheme{default}
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{caption}[numbered]
}
\setbeamertemplate{frametitle}[default][center]
\usepackage[english]{babel}
\usepackage[utf8x]{inputenc}
\usepackage{amsmath}
\begin{document}
\begin{frame}{$\mathcal{A}_d$ and $\mathcal{A}_d^*$}
\begin{itemize}
\item $\mathcal{A}_d: \mathcal{S}^4 \rightarrow \mathbf{R}^{3\times 3}$
\begin{equation*}
\begin{aligned}
\mathcal{A}(Z) = \begin{bmatrix} Z_{11}-Z_{22}-Z_{33}+Z_{44} & 2Z_{12}+2Z_
{34} & 2Z_{13}-2Z_{24} \\ 2Z_{12}-2Z_{34} & -Z_{11}+Z_{22}-Z_{33}+Z_{44}&
2Z_{23}+2Z_{14} \\ 2Z_{13}+2Z_{24} & 2Z_{23}-2Z_{14} & -Z_{11}-Z_{22}+Z_{33}+Z_{44}
\end{bmatrix}
\end{aligned}
\end{equation*}
\item $\mathcal{A}_d^*: \mathbf{R}^{3\times 3} \rightarrow \mathcal{S}^4 $
\end{itemize}
\end{frame}
\end{document}
它显示(它应该是一个 4 x 4 的矩阵。)
我如何选择方程式中的字体大小,以便矩阵的所有元素都显示出来?(仅适用于这种情况,不适用于所有幻灯片)
答案1
您可以在对齐的环境之前使用{\tiny ... }
:
\documentclass{beamer}
\mode<presentation>
{
\usetheme{default}
\usecolortheme{default}
\usefonttheme{default}
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{caption}[numbered]
}
\setbeamertemplate{frametitle}[default][center]
\usepackage[english]{babel}
\usepackage[utf8x]{inputenc}
\usepackage{amsmath}
\begin{document}
\begin{frame}{$\mathcal{A}_d$ and $\mathcal{A}_d^*$}
\begin{itemize}
\item $\mathcal{A}_d: \mathcal{S}^4 \rightarrow \mathbf{R}^{3\times 3}$
\begin{equation*}
{\tiny
\setlength{\abovedisplayskip}{6pt}
\setlength{\belowdisplayskip}{\abovedisplayskip}
\setlength{\abovedisplayshortskip}{0pt}
\setlength{\belowdisplayshortskip}{3pt}
\begin{aligned}
\mathcal{A}(Z) = \begin{bmatrix} Z_{11}-Z_{22}-Z_{33}+Z_{44} & 2Z_{12}+2Z_
{34} & 2Z_{13}-2Z_{24} \\ 2Z_{12}-2Z_{34} & -Z_{11}+Z_{22}-Z_{33}+Z_{44}&
2Z_{23}+2Z_{14} \\ 2Z_{13}+2Z_{24} & 2Z_{23}-2Z_{14} & -Z_{11}-Z_{22}+Z_{33}+Z_{44}
\end{bmatrix}
\end{aligned}
}
\end{equation*}
\item $\mathcal{A}_d^*: \mathbf{R}^{3\times 3} \rightarrow \mathcal{S}^4 $
\end{itemize}
\end{frame}
\end{document}