I'm working on wrapping up some patterns used in my research group for creating posters. Since we're using beamer and beamerposter to make these, all documents go essentially like this:
\documentclass{beamer}
\begin{document}
\begin{frame}
\end{frame}
\end{document}
I'd like to simplify this to like:
\documentclass{ourposter}
\begin{poster}
\end{poster}
So I tried to implement the poster environment as \newenvironment{poster}{\begin{document}\begin{frame}}{\end{frame}\end{document}}
.
Unfortunately, that seems to be the wrong thing to do, since latex
responds with: LaTeX Error: \begin{poster} on input line 10 ended by \end{document}. I can work around it by replacing the begin/end document with \document
/\enddocument
, but I'm a bit wary of that.
Is the right approach to just sidestep the LaTeX environment stuff and use the commands directly, or is there a better approach here?