Dnia 2014-08-25, o godz. 19:38:26
Julien Cubizolles <j.cubizol...@free.fr> napisał(a):

> Marcin Borkowski <mb...@wmi.amu.edu.pl> writes:
> 
> 
> > Sorry, I misunderstood.  How about putting this in the preamble
> > (untested)?
> >
> > \makeatletter
> > \@ifclassloaded{beamer}{
> >   \renewenvironment{consequence}{}{}
> > }{}
> > \makeatother
> 
> Actually, I'm using a custom beamer class, so 
> 
> --8<---------------cut here---------------start------------->8---
> \newenvironment{consequence}[1]{}{}
> --8<---------------cut here---------------end--------------->8---
> 
> is enough for me. There is still a problem: 
> 
> --8<---------------cut here---------------start------------->8---
> \begin{block}{Puissance des force de Laplace sur un moment magnétique}
> \begin{consequence}[Puissance des force de Laplace sur un moment
> magnétique] --8<---------------cut
> here---------------end--------------->8---
> 
> in the exported LaTeX file produces
> 
> --8<---------------cut here---------------start------------->8---
> Puissance des force de Laplace sur un moment magnétique
> Puissance des force de Laplace sur un moment magnétique]
> --8<---------------cut here---------------end--------------->8---
> 
> in the pdf. I think the optional argument to consequence inside the
> block environment isn't correctly interpreted.

What about
\newenvironment{consequence}[1][]{}{}
?

> Julien.

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University

Reply via email to