Yu | 21 Jun 2012 15:24
Picon
Picon

[BUG] Export of sub- and superscripts to LaTeX inconsistent in tables?

Hello!

When I use superscripts/subscripts in tables, they are incorrectly
exported to LaTeX -- the placement of math-mode marks ($), braces ({,
}) seems mixed up.

As an example an excerpt of my current laboratory book.

========================
| Calculation         | Zn layers | E_tot [eV/atom] (new) |
(interpolated) | \Delta{}E_tot  [meV/atom] |
|---------------------+-----------+----------------------+----------------+-------------------|
[...]
The energy difference \Delta{}E_tot seems [...]
========================

This gets exported as:
========================
\begin{center}
\begin{tabular}{lllll}
 Calculation  &  Zn layers  &  E_tot [eV/atom] (new)  &  (interpolated)  &  \D\
elta\{}E_tot  [meV/atom]  \\
\hline
\end{tabular}
\end{center}

The energy difference $\Delta${}E$_{\mathrm{tot}}$ seems [\ldots{}]
========================

Outside the table it works as expected.
(Continue reading)

Nick Dokos | 21 Jun 2012 16:13
Picon
Favicon

Re: [BUG] Export of sub- and superscripts to LaTeX inconsistent in tables?

Yu <yu_icq <at> gmx.at> wrote:

> Hello!
> 
> When I use superscripts/subscripts in tables, they are incorrectly
> exported to LaTeX -- the placement of math-mode marks ($), braces ({,
> }) seems mixed up.
> 
> As an example an excerpt of my current laboratory book.
> 
> ========================
> | Calculation         | Zn layers | E_tot [eV/atom] (new) |
> (interpolated) | \Delta{}E_tot  [meV/atom] |
> |---------------------+-----------+----------------------+----------------+-------------------|
> [...]
> The energy difference \Delta{}E_tot seems [...]
> ========================
> 
> This gets exported as:
> ========================
> \begin{center}
> \begin{tabular}{lllll}
>  Calculation  &  Zn layers  &  E_tot [eV/atom] (new)  &  (interpolated)  &  \D\
> elta\{}E_tot  [meV/atom]  \\
> \hline
> \end{tabular}
> \end{center}
> 
> 
> The energy difference $\Delta${}E$_{\mathrm{tot}}$ seems [\ldots{}]
(Continue reading)


Gmane