On 08/11/2009 03:27 PM, Graham M Smith wrote:
I'm using Beamer, and producing a presentation handout by switching to
the beamer article class, which defaults to wide margins.
If I change the margins in documents settings, this then prevents the
beamer slides being produced (I get a compile error). I assume I can
put something in the preamble that will switch the margins for beamer
article only, but don't know what this might be.
If you can find some macro that is defined in this case, but not in the
other case, then all you need is:
\ifx\thatmacro\undefined\relax\else
.... your stuff here ....
\fi
I don't know what \thatmacro might be, though.
rh