0

instead of using default beamer command columns I want to use paracol environment - to top-align columns.

But,

! LaTeX Error: Not in outer par mode.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              

l.2 \begin{paracol}{2}

Is it fixable?

  \begin{frame}[fragile]{}
    \begin{paracol}{2}
      xxx
      \switchcolumn
      yyy
    \end{paracol}
  \end{frame}
1
  • Paracol doesn't like being inside minipages either. IIRC, the column widths are computed in the preamble, not on the fly. – John Kormylo Sep 24 '19 at 13:28
0

If you just want to top align the contents of two columns in a beamer frame, then there is no need for paracols:

\documentclass{beamer}
\begin{document}
  \begin{frame}[t]
    \begin{columns}[t]
      \begin{column}{0.5\textwidth}
          xxx
      \end{column}
      \begin{column}{0.5\textwidth}
          yyy

          more text
      \end{column}
    \end{columns}
  \end{frame} 
\end{document}
4
  • Thank you for reply - it is what I am looking for. But, frame t is unnecessary for me, and, there is last problem - how - make column text justified, like in paracol? – Lex Ushakov Sep 25 '19 at 5:48
  • Regarding justifying text: text justify in beamer might be helpful. – leandriis Sep 25 '19 at 5:50
  • Thanks. But, why paracol is not supported? Floats are usually easily insertable into the slides. – Lex Ushakov Sep 25 '19 at 6:45
  • @LexUshakov: beamerdisables the floating behavious of floats. This is why you can use table and figure "as usual" but their contents are placed where they are used in the code. – leandriis Sep 25 '19 at 7:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.