[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] format of orgtbl-insert-table: format {|l|l|} and longtabu
From: |
Uwe Brauer |
Subject: |
Re: [O] format of orgtbl-insert-table: format {|l|l|} and longtabu |
Date: |
Wed, 24 Feb 2016 17:35:56 +0000 |
User-agent: |
Gnus/5.13001 (Ma Gnus v0.10) Emacs/25.1.50 (gnu/linux) |
>>> "Nicolas" == Nicolas Goaziou <address@hidden> writes:
> Hello,
> Uwe Brauer <address@hidden> writes:
>> This is the usual setting, but I would like to obtain the following
>>
>> % BEGIN RECEIVE ORGTBL test
>> \begin{longtabu}{|l|l|}
>> \hline
>> Name & Date\\ \hline
>> Joe Doe & «2016-02-24 Wed»\\ \hline
>> \end{longtabu}
>> % END RECEIVE ORGTBL test
>> \begin{comment}
>> #+ORGTBL: SEND test orgtbl-to-latex :lend "\\\\ \\hline"
>> | Name | Date |
>> | Joe Doe | «2016-02-24 Wed» |
>> \end{comment}
>>
>>
>> How can I obtain it?
> #+ORGTBL: SEND test orgtbl-to-latex :lend "\\\\ \\hline" :environment
longtabu
> | / | <> | <> |
> | | Name | Date |
> | | Joe Doe | «2016-02-24 Wed» |
> Regards,
Thanks this is very useful, but still some tiny bit is missing.
I obtain
% BEGIN RECEIVE ORGTBL this
\begin{longtabu}{l|l|}
hallo & this\\ \hline
\end{longtabu}
% END RECEIVE ORGTBL this
\begin{comment}
#+ORGTBL: SEND this orgtbl-to-latex :lend "\\\\ \\hline" :environment longtabu
| / | <> |
| hallo | this |
\end{comment}
But would prefer to obtain one | and one \hline more as in
% BEGIN RECEIVE ORGTBL this
\begin{longtabu}{|l|l|}
\hline
hallo & this\\ \hline
\end{longtabu}
% END RECEIVE ORGTBL this
\begin{comment}
#+ORGTBL: SEND this orgtbl-to-latex :lend "\\\\ \\hline" :environment longtabu
| / | <> |
| hallo | this |
\end{comment}
The additional \hline I can generate via
% BEGIN RECEIVE ORGTBL this
\begin{longtabu}{l|l|}
\hline
hallo & this\\ \hline
\end{longtabu}
% END RECEIVE ORGTBL this
\begin{comment}
#+ORGTBL: SEND this orgtbl-to-latex :lend "\\\\ \\hline" :environment longtabu
| / | <> |
|-------+------|
| hallo | this |
\end{comment}
But I don't know how to obtain
\begin{longtabu}{|l|l|}
Thanks
Uwe Brauer