[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 22:11:11 +0200 |
Dnia 2014-08-25, o godz. 19:38:26
Julien Cubizolles <address@hidden> napisał(a):
> Marcin Borkowski <address@hidden> writes:
>
>
> > Sorry, I misunderstood. How about putting this in the preamble
> > (untested)?
> >
> > \makeatletter
> > address@hidden
> > \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
- Re: [O] Custom environment for LaTeX export, (continued)
Re: [O] Custom environment for LaTeX export, Sebastien Vauban, 2014/08/14
Re: [O] Custom environment for LaTeX export, Julien Cubizolles, 2014/08/25