emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Re: Two questions about latex export


From: Robert Goldman
Subject: Re: [Orgmode] Re: Two questions about latex export
Date: Tue, 28 Apr 2009 08:46:28 -0500
User-agent: Thunderbird 2.0.0.21 (Macintosh/20090302)

Giovanni Ridolfi wrote:
> --- Lun 27/4/09, Robert Goldman <address@hidden> ha scritto:
>>> 1.  I am making a table of conditional
>>> probabilities.  This means the
>>> table headers look like this: p(e|\omega), for
>>> example.  The vbar in the
>>> header confuses orgmode.  It thinks that's a
>>> column-delimiter.  
> 
> \vert

Thanks!  That fixed my problem!  Strangely, \vert doesn't appear in The
Latex Companion (or at least not in its index).

> 
>>> more importantly:
>>>
>>> 2.  I put an eqnarray* environment in my org
>>> file.  
> 
> #+BEGIN_LaTeX
> 
> \begin{eqnarray}
> \label{integralpha293}
> 
> \alpha=\Gamma
> 
> \end{eqnarray}
> 
> #+END_LaTeX

Two answers:

1.  eqnarray *without* the BEGIN and END blocks works.  I believe that
this is because org-mode "knows" eqnarray, but not eqnarray*.  I am
inclined to think that this is a buglet, and we should put support for
eqnarray* into org-mode.

2.  I don't believe that the BEGIN and END blocks approach is
equivalent.  If I understand correctly, the use of these BEGIN and END
blocks says "put this in only when I am exporting to Latex."  From the
manual: "...you can add special code
that should only be present in LaTeX export with the following
constructs: [#+LaTeX and #+BEGIN_LaTeX ... #+END_LaTeX]."

Adding those delimiters changes the meaning of my document.  *Without*
those delimiters, my equation goes in an HTML or ASCII export (in some
form); with those delimiters, the equation will only be exported when
exporting to LaTeX....

Best,
Robert




reply via email to

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