Hi again, On 16.03.2009, at 19:21, Andreas Neustifter wrote:
I'm writing a beamer presentation in LyX and have 2 branches, one for handout and one for presentation. Is it possible to have TeX-Code in the preamble based on the activated branches?
Turns out, thats not necessary. I have pictures that are overlayed with the Only-Environment, there I used the overlay specfication "<+| handout:0|article:0>" for the first N-1 pictures and "<+|handout:1| article:1>" for the N-th picture. No branches necessary in the document.
Also I used the "\mode<handout>{ ... }" directive in the preamble so the code is activated during printing the handout only.
I can now switch between presentation and layout simply by setting "handout" in the custom class options in the document settings.
Thanks, Grettings, Andi
PS: Great work, I love LyX.
PS: Think I love it even more right now. -------------------------------------------------------------------------- This email is signed, for more information see http://web.student.tuwien.ac.at/~e0325716/gpg.html
PGP.sig
Description: This is a digitally signed message part