emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* format of  orgtbl-insert-table: format {|l|l|} and longtabu
@ 2016-02-24 16:14 Uwe Brauer
  2016-02-24 16:53 ` Nicolas Goaziou
  0 siblings, 1 reply; 5+ messages in thread
From: Uwe Brauer @ 2016-02-24 16:14 UTC (permalink / raw)
  To: emacs-orgmode


% BEGIN RECEIVE ORGTBL test
\begin{tabular}{ll}
Name & Date\\ \hline
Joe Doe & «2016-02-24 Wed»\\ \hline
\end{tabular}
% END RECEIVE ORGTBL test
\begin{comment}
#+ORGTBL: SEND test orgtbl-to-latex  :lend "\\\\ \\hline"
| Name    | Date             |
| Joe Doe | «2016-02-24 Wed» |
\end{comment}


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?

Thanks

Uwe Brauer 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: format of orgtbl-insert-table: format {|l|l|} and longtabu
  2016-02-24 16:14 format of orgtbl-insert-table: format {|l|l|} and longtabu Uwe Brauer
@ 2016-02-24 16:53 ` Nicolas Goaziou
  2016-02-24 17:35   ` Uwe Brauer
  0 siblings, 1 reply; 5+ messages in thread
From: Nicolas Goaziou @ 2016-02-24 16:53 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

Uwe Brauer <oub@mat.ucm.es> 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,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: format of orgtbl-insert-table: format {|l|l|} and longtabu
  2016-02-24 16:53 ` Nicolas Goaziou
@ 2016-02-24 17:35   ` Uwe Brauer
  2016-02-24 17:42     ` Nicolas Goaziou
  0 siblings, 1 reply; 5+ messages in thread
From: Uwe Brauer @ 2016-02-24 17:35 UTC (permalink / raw)
  To: emacs-orgmode

>>> "Nicolas" == Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

   > Hello,
   > Uwe Brauer <oub@mat.ucm.es> 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 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: format of orgtbl-insert-table: format {|l|l|} and longtabu
  2016-02-24 17:35   ` Uwe Brauer
@ 2016-02-24 17:42     ` Nicolas Goaziou
  2016-02-24 17:55       ` Uwe Brauer
  0 siblings, 1 reply; 5+ messages in thread
From: Nicolas Goaziou @ 2016-02-24 17:42 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

Uwe Brauer <oub@mat.ucm.es> writes:

> But I don't know how to obtain
>
> \begin{longtabu}{|l|l|}

Like this:

  | / | <>    | <>   |
  |   | hallo | this |

Notice the empty special column at the beginning.

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: format of orgtbl-insert-table: format {|l|l|} and longtabu
  2016-02-24 17:42     ` Nicolas Goaziou
@ 2016-02-24 17:55       ` Uwe Brauer
  0 siblings, 0 replies; 5+ messages in thread
From: Uwe Brauer @ 2016-02-24 17:55 UTC (permalink / raw)
  To: emacs-orgmode

>>> "Nicolas" == Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

   > Hello,
   > Uwe Brauer <oub@mat.ucm.es> writes:

   >> But I don't know how to obtain
   >> 
   >> \begin{longtabu}{|l|l|}

   > Like this:

   >   | / | <>    | <>   |
   >   |   | hallo | this |

   > Notice the empty special column at the beginning.

Cool!! Thanks very much

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-02-24 17:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-24 16:14 format of orgtbl-insert-table: format {|l|l|} and longtabu Uwe Brauer
2016-02-24 16:53 ` Nicolas Goaziou
2016-02-24 17:35   ` Uwe Brauer
2016-02-24 17:42     ` Nicolas Goaziou
2016-02-24 17:55       ` Uwe Brauer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).