Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Columns in beamerarticle #766

Open
samcarter opened this issue Feb 24, 2022 · 0 comments
Open

Columns in beamerarticle #766

samcarter opened this issue Feb 24, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@samcarter
Copy link
Collaborator

Currently beamer has the following to say about columns in article mode:

\mode
<article>
{
% do sth. more intelligent in the future
\newenvironment<>{columns}[1][]{}{}
}

... so maybe there is room to make this feature more useful? I was wondering if it wouldn't be useful to add an option to the beamerarticle package for which columns would behave like columns?

Just a quick proof of concept (optional arguments for alignment still need to be added):

\documentclass{article}

\usepackage{beamerarticle}

\makeatletter
\mode<article>{\renewenvironment<>{beamer@columnenv}[2][]{ \begin{minipage}{#2}}{\end{minipage}}
\let\endcolumn\endbeamer@columnenv}
\makeatother

\begin{document}

\begin{columns}
\begin{column}{.6\textwidth}
content...
\end{column}%
\begin{column}{.4\textwidth}
content...
\end{column}%
\end{columns}

\end{document}
@samcarter samcarter added the enhancement New feature or request label Feb 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant