Hello Suvayu, Suvayu Ali wrote: > I'm guessing Seb's idea could be implemented by redefining the > consequence environment when in beamer, leave it alone otherwise.
Exactly. > However, I would like to suggest something a bit different. Why not > instead of #+BEGIN_consequence, you use a macro. Something like this: > > #+MACRO: cbeg @@latex:\begin{consequence}@@ > #+MACRO: cend @@latex:\end{consequence}@@ > > Then you can do: > > {{{cbeg}}} > stuff > {{{cend}}} > > and only LaTeX export will have the environment. That could be a good idea, but I'm pretty sure (99.999%) that LaTeX export snippets are read in Beamer -- though the opposite is false, it's useless for the problem at hand. Best regards, Seb -- Sebastien Vauban