emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] using subscripts in table captions


From: Johannes Rainer
Subject: Re: [O] using subscripts in table captions
Date: Tue, 25 Aug 2015 13:54:47 +0200

well, kind of helps. At least I know it's reproducible... although I would like 
to have that fixed somehow.

> On 25 Aug 2015, at 09:57, Suvayu Ali <address@hidden> wrote:
> 
> On Tue, Aug 25, 2015 at 08:09:55AM +0200, Johannes Rainer wrote:
>> 
>> The test org-file I used contains the following:
>> --------
>> 
>> 
>> #+TITLE:TestTest
>> #+OPTIONS: ^:nil
>> 
>> * Test tables
>> 
>> just in plain text: bla_blu, bla\_blu; both works nicely.
>> 
>> #+CAPTION: Some bla bla and an underscore: bla_blu. The same escaped: 
>> bla\_blu. Doesn't work for either of them; blu is always used as subscript.
>> |    | agegp |     alcgp |    tobgp | ncases | ncontrols |
>> |----+-------+-----------+----------+--------+-----------|
>> |  1 | 25-34 | 0-39g/day | 0-9g/day |   0.00 |     40.00 |
>> |  2 | 25-34 | 0-39g/day |    10-19 |   0.00 |     10.00 |
>> |  3 | 25-34 | 0-39g/day |    20-29 |   0.00 |      6.00 |
>> 
>> 
>> -------
>> 
>> The _ in the plain text are exported as expected, but not the caption.
> 
> Using your example file, I get the following.  I guess that confirms
> your bug.  I'm using release_8.3.1-129-g526927.
> 
> Hope this helps,
> 
> 
> \section{Test tables}
> \label{sec:orgheadline1}
> 
> just in plain text: bla\_blu, bla$\backslash$\_blu; both works nicely.
> 
> \begin{table}[htb]
> \caption{Some bla bla and an underscore: bla\(_{\text{blu}}\). The same 
> escaped: bla$\backslash$\(_{\text{blu}}\). Doesn't work for either of them; 
> blu is always used as subscript.}
> \centering
> \begin{tabular}{rrlrrr}
> & agegp & alcgp & tobgp & ncases & ncontrols\\
> \hline
> 1 & 25-34 & 0-39g/day & 0-9g/day & 0.00 & 40.00\\
> 2 & 25-34 & 0-39g/day & 10-19 & 0.00 & 10.00\\
> 3 & 25-34 & 0-39g/day & 20-29 & 0.00 & 6.00\\
> \end{tabular}
> \end{table}
> 
> -- 
> Suvayu
> 
> Open source is the future. It sets us free.
> 




reply via email to

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