Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

In LaTeX Beamer there is the frame environment that can be used to put certain information on a slide. I want to create an outline document where the frame environment is replaced by something else.

I tried doing so by defining new commands \newcommand{\beginframe}{\begin{frame}} and \newcommand{\endframe}{\end{frame}} however I get errors that suggest that you cannot put environment commands in new commands.

Can I abstract away the frame environment in such a way, that I can just remove the environment?

I would prefer not to use \newtheorem{frame} to have lots of frame environments then that are possibly numbered.

share|improve this question

migrated from stackoverflow.com Feb 13 '12 at 19:24

This question came from our site for professional and enthusiast programmers.

closed as too localized by lockstep, Joseph Wright Mar 4 '12 at 16:58

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1  
If 'where the frame environment is replaced by something else' means that you want your frames be typeset in another way, then may be beamerarticle can help you. Look at my answer to What is the document class / package of this pdf file? –  Ignasi Feb 13 '12 at 22:17
    
@Ignasi: that actually looks quite good. Unfortunately it fails to compile right now due to a clash in the colour package. I will look into that! Thank you very much –  Alex Feb 16 '12 at 10:30
    
beamerarticle doesn't like beamer colors (look here). Beamer manual section 'Compatibility with other packages and classes' explain how to use color and xcolor. –  Ignasi Feb 16 '12 at 16:29

Browse other questions tagged or ask your own question.