emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Custom environment for LaTeX export


From: Sebastien Vauban
Subject: Re: [O] Custom environment for LaTeX export
Date: Thu, 14 Aug 2014 17:03:58 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.92 (windows-nt)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]