1

Doing a presentation with an image of a graph on the left-hand side and the mathematics behind the graph on the right-hand side and I want them horizontally aligned. Thanks.

1

1 Answer 1

3

Example of columns environment:

enter image description here

\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}
1
  • 1
    @WeirdstressFunction This \vfill should not be here! I edited my answer... Mar 15, 2014 at 11:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .