emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* radio tables centered AND vertical lines
@ 2016-05-27 10:38 Uwe Brauer
  2016-05-27 11:52 ` Nicolas Goaziou
  0 siblings, 1 reply; 4+ messages in thread
From: Uwe Brauer @ 2016-05-27 10:38 UTC (permalink / raw)
  To: emacs-orgmode

Hello

Please look at the following two examples

\documentclass[12pt]{article}
\usepackage{amssymb,amsfonts,amsmath,amsthm}
\begin{document}


% BEGIN RECEIVE ORGTBL test
\begin{tabular}{|l|l|}
this & today\\ \hline
that & tomorrow\\ \hline
\end{tabular}
% END RECEIVE ORGTBL test
\begin{comment}
#+ORGTBL: SEND test orgtbl-to-latex  :lend "\\\\ \\hline" :environment tabular
| / | <>   | <>       |
|   | this | today    |
|   | that | tomorrow |
\end{comment}





% BEGIN RECEIVE ORGTBL test2
\begin{tabular}{cc}
this & today\\ \hline
that & tomorrow\\ \hline
\end{tabular}
% END RECEIVE ORGTBL test2
\begin{comment}
#+ORGTBL: SEND test2 orgtbl-to-latex  :lend "\\\\ \\hline" :environment tabular
| / | <c>  | <c>      |
|   | this | today    |
|   | that | tomorrow |
\end{comment}

\end{document}

The first one nicely generates
\begin{tabular}{|l|l|}
but the second one

\begin{tabular}{cc}

How can I achieve

\begin{tabular}{|c|c|}

thanks

Uwe Brauer 

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

* Re: radio tables centered AND vertical lines
  2016-05-27 10:38 radio tables centered AND vertical lines Uwe Brauer
@ 2016-05-27 11:52 ` Nicolas Goaziou
  2016-05-27 14:47   ` Uwe Brauer
  0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2016-05-27 11:52 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

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

> | / | <c>  | <c>      |
> |   | this | today    |
> |   | that | tomorrow |
> \end{comment}

Try

  | / | <>   | <>       |
  |   | <c>  | <c>      |
  |   | this | today    |
  |   | that | tomorrow |


Regards,

-- 
Nicolas Goaziou

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

* Re: radio tables centered AND vertical lines
  2016-05-27 11:52 ` Nicolas Goaziou
@ 2016-05-27 14:47   ` Uwe Brauer
  2016-05-27 15:39     ` Nicolas Goaziou
  0 siblings, 1 reply; 4+ messages in thread
From: Uwe Brauer @ 2016-05-27 14:47 UTC (permalink / raw)
  To: emacs-orgmode

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

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

   > Try

   >   | / | <>   | <>       |
   >   |   | <c>  | <c>      |
   >   |   | this | today    |
   >   |   | that | tomorrow |


Thanks very much! Works perfect, maybe add something about it in the
documentation?

Uwe 

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

* Re: radio tables centered AND vertical lines
  2016-05-27 14:47   ` Uwe Brauer
@ 2016-05-27 15:39     ` Nicolas Goaziou
  0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2016-05-27 15:39 UTC (permalink / raw)
  To: emacs-orgmode

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

>>>> "Nicolas" == Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
>
>    > Hello,
>    > Uwe Brauer <oub@mat.ucm.es> writes:
>
>    > Try
>
>    >   | / | <>   | <>       |
>    >   |   | <c>  | <c>      |
>    >   |   | this | today    |
>    >   |   | that | tomorrow |
>
>
> Thanks very much! Works perfect, maybe add something about it in the
> documentation?

It is already in the documentation. <c> belongs to part 3.2 "Column
width and alignment" and <> belongs to part 3.3 "Column groups".

Regards,

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

end of thread, other threads:[~2016-05-27 15:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-27 10:38 radio tables centered AND vertical lines Uwe Brauer
2016-05-27 11:52 ` Nicolas Goaziou
2016-05-27 14:47   ` Uwe Brauer
2016-05-27 15:39     ` Nicolas Goaziou

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).