做一个演示文稿,左侧是图表图像,右侧是图表背后的数学知识,我希望它们水平对齐。谢谢。
答案1
环境示例columns
:
\documentclass{beamer}
\usepackage{tikz}
\usetikzlibrary{datavisualization,datavisualization.formats.functions}
\begin{document}
\begin{frame}
A graph and the mathematics behind this graph:
\begin{columns}[T]
\column{.45\linewidth}
\centering
\begin{tikzpicture}[scale=.7]
\datavisualization [scientific axes, visualize as smooth line]
data [format=function] {
var x : interval [-2:2];
func y = \value x*\value x + 1;
};
\end{tikzpicture}
\column{.45\linewidth}
\begin{equation*}
y = x^2 + 1
\end{equation*}
\end{columns}
\end{frame}
\end{document}