emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] org-radio tables in latex |p{3cm}


From: Nicolas Goaziou
Subject: Re: [O] org-radio tables in latex |p{3cm}
Date: Mon, 08 Jan 2018 14:19:48 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Hello,

Uwe Brauer <address@hidden> writes:

> Consider please
>
> \documentclass[12pt]{article}
> \usepackage{commment}
> \begin{document}
>
> % BEGIN RECEIVE ORGTBL test
> \begin{tabular}{l|l|}
> this & that\\ \hline
> \end{tabular}
> % END RECEIVE ORGTBL test
> \begin{comment}
> #+ORGTBL: SEND test orgtbl-to-latex  :lend "\\\\ \\hline" :environment tabular
> | / | <>   | <>   |
> |   | this | that |
> \end{comment}
>
>
> \end{document}
>
> So the construct |<>| gets expanded to |l|
> which is ok, but I also want to obtain a result such as |p{3cm}|
>
> How can I achieve  that?

I would do

  \begin{tabular}{l|l|}
  % BEGIN RECEIVE ORGTBL test
  this & that\\ \hline
  % END RECEIVE ORGTBL test
  \end{tabular}
  \begin{comment}
  #+ORGTBL: SEND test orgtbl-to-latex  :lend "\\\\ \\hline" :environment 
tabular :splice t
  | this | that |
  \end{comment}
  \end{document}

Regards,

-- 
Nicolas Goaziou



reply via email to

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