[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Custom environment for LaTeX export
From: |
Marcin Borkowski |
Subject: |
Re: [O] Custom environment for LaTeX export |
Date: |
Mon, 25 Aug 2014 18:43:47 +0200 |
Dnia 2014-08-25, o godz. 18:32:48
Julien Cubizolles <address@hidden> napisał(a):
> Marcin Borkowski <address@hidden> writes:
>
> > Dnia 2014-08-14, o godz. 11:15:54
> > Sebastien Vauban <address@hidden> napisał(a):
> >
> >> Julien Cubizolles wrote:
> >> > Sebastien Vauban writes:
> >> >
> >> >> Throwing an idea here: make the `consequence' environment be a
> >> >> no-op in Beamer?
> >> >
> >> > How would I do that, is there a variable excluding some
> >> > environments?
> >>
> >> No variable, no.
> >>
> >> You would have to redefine the environment (with LaTeX code) so
> >> that it doesn't do anything.
> >
> > Does this help?
> >
> > http://www.ctan.org/pkg/comment
>
> I'm not sure that could be the solution : I don't want to remove
> what's inside the "consequence" environment but rather remove the
> \begin{consequence} and \end{consequence} surronding it.
Sorry, I misunderstood. How about putting this in the preamble (untested)?
\makeatletter
address@hidden
\renewenvironment{consequence}{}{}
}{}
\makeatother
See also
http://tex.stackexchange.com/questions/73/which-document-class-is-being-used .
> Julien.
Hth,
--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University
Re: [O] Custom environment for LaTeX export, Sebastien Vauban, 2014/08/14