如何获取以下框架beamer
:
我正在使用以下代码:
\begin{frame}{}
%\resizebox{\textwidth}{!}{
\hspace{-1.2cm}
\begin{adjustbox}{width=1.1\textwidth}
\renewcommand\arraystretch{1.3}
\begin{tabularx}{1.1\textwidth}{X | X| X}%\vrule width 1.5pt
\tiny \colorbox{lilad!15}{title1} &
\tiny \colorbox{lilad!15}{title2} &
\tiny \colorbox{lilad!15}{ title3} \tabularnewline
\textbullet\ a &
\textbullet\ d &
\textbullet\ f \tabularnewline
\textbullet\ b &
t &
\tabularnewline
\textbullet\ c &
\textbullet\ e &
\textbullet\ e \tabularnewline
$ D_{j}=\sqrt{\left | \left (\Delta P_{50th} -P_{50} \right )^{2} \right |- \left | \left (\Delta T_{50th} -T_{50} \right )^{2} \right |}$ &
& \tabularnewline
&
&
\tabularnewline
&
$\displaystyle\begin{multlined}[t][0.1\hsize] f_{5,j}= 1 -\left ( \frac{\left |\sigma_{CMj} -\sigma_{Obs} \right | }{2\sigma_{Obs}} \right )^{0.5} \\ f_{4,j}= 1 -\left ( \frac{\left |\overline{A_{CMj}} -\overline{A_{Obs}} \right | }{2\overline{A_{Obs}}} \right )^{0.5} \\f_{1,j}= 1-\left ( \frac{\left | A_{CMj} - A_{Obs}\right | }{2A_{Obs}} \right ) ^{0.5}\\f_{1,j}= 1-\left ( \frac{\left | A_{CMj} - A_{Obs}\right | }{2A_{Obs}} \right ) ^{0.5}]\end{multlined}$
&
\end{tabularx}
\end{adjustbox}
\end{frame}
我无法修复长方程。有人知道如何获得该结构吗?
答案1
当您使用 beamer 时,可能tabularx
不是实现此目的的合适工具columns
。除此之外,请尝试提供重现问题所需的所有元素(什么颜色lilad
?)。
我tabularx
用columns
环境替换了。
方程式被调整大小以适合 的列\resizebox
,并且我还更改multlined
为gathered
以获得更好的对齐。
\documentclass[options]{beamer}
\usepackage{adjustbox}
\usetheme{Frankfurt}
\usepackage{xcolor}
\usepackage{amsmath,mathtools}
\begin{document}
\begin{frame}{}
\begin{columns}[t]
\begin{column}{0.33\textwidth}
\begin{center}
\tiny \colorbox{red!15}{title1}
\end{center}
\begin{itemize}
\item a
\item b
\item c
\end{itemize}
\resizebox{\columnwidth}{!}{$\displaystyle D_{j}=\sqrt{\left | \left (\Delta P_{50th} -P_{50} \right )^{2} \right |- \left | \left (\Delta T_{50th} -T_{50} \right )^{2} \right |}$}
\end{column}
\vrule{}
\begin{column}{0.33\textwidth}
\begin{center}
\tiny \colorbox{red!15}{title2}
\end{center}
\begin{itemize}
\item d
\item t
\item e
\end{itemize}
\resizebox{\columnwidth}{!}{$\displaystyle%
\begin{gathered}
f_{5,j} = 1 -\left ( \frac{\left |\sigma_{CMj} -\sigma_{Obs} \right | }{2\sigma_{Obs}} \right )^{0.5} \\
f_{4,j} = 1 -\left ( \frac{\left |\overline{A_{CMj}} - \overline{A_{Obs}} \right | }{2\overline{A_{Obs}}} \right )^{0.5} \\
f_{1,j} = 1-\left ( \frac{\left | A_{CMj} - A_{Obs}\right | }{2A_{Obs}} \right ) ^{0.5} \\
f_{1,j} = 1-\left ( \frac{\left | A_{CMj} - A_{Obs}\right | }{2A_{Obs}} \right ) ^{0.5}
\end{gathered}%
$}
\end{column}
\vrule{}
\begin{column}{0.33\textwidth}
\begin{center}
\tiny \colorbox{red!15}{title3}
\end{center}
\begin{itemize}
\item f
\item e
\item Continuous
\end{itemize}
\end{column}
\end{columns}
\end{frame}
\end{document}