emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-radio tables in latex |p{3cm}
@ 2018-01-07 17:15 Uwe Brauer
  2018-01-08 13:19 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Uwe Brauer @ 2018-01-07 17:15 UTC (permalink / raw)
  To: emacs-orgmode


Hi

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?

https://orgmode.org/manual/Radio-tables.html#Radio-tables

Did not give any hints, thanks

Uwe Brauer 

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

* Re: org-radio tables in latex |p{3cm}
  2018-01-07 17:15 org-radio tables in latex |p{3cm} Uwe Brauer
@ 2018-01-08 13:19 ` Nicolas Goaziou
  2018-01-08 14:01   ` Uwe Brauer
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2018-01-08 13:19 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

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

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

* Re: org-radio tables in latex |p{3cm}
  2018-01-08 13:19 ` Nicolas Goaziou
@ 2018-01-08 14:01   ` Uwe Brauer
  0 siblings, 0 replies; 3+ messages in thread
From: Uwe Brauer @ 2018-01-08 14:01 UTC (permalink / raw)
  To: emacs-orgmode


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


    > 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

Thanks the splice t is the important point. Thanks!

Uwe Brauer 

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

end of thread, other threads:[~2018-01-08 14:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-07 17:15 org-radio tables in latex |p{3cm} Uwe Brauer
2018-01-08 13:19 ` Nicolas Goaziou
2018-01-08 14:01   ` 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).