emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* orgtbl in latex files: array with \hline
@ 2018-05-29  6:59 Uwe Brauer
  2018-06-15 16:10 ` [SOLVED] (was: orgtbl in latex files: array with \hline) Uwe Brauer
  0 siblings, 1 reply; 2+ messages in thread
From: Uwe Brauer @ 2018-05-29  6:59 UTC (permalink / raw)
  To: emacs-orgmode



Hi

I would like to generate the following array environment with orgtbl.

\begin{equation*}
% BEGIN RECEIVE ORGTBL laplace
\begin{array}{|c|c|}
 f(x) & \mathcal{L} \left\{ f(x) \right\} =F(s) \\ \hline
\end{array}
% END RECEIVE ORGTBL laplace
\begin{comment}
#+ORGTBL: SEND laplace orgtbl-to-latex :latex-default-table-mode math :environment array
| f(x)            | \mathcal{L} \left\{ f(x) \right\} =F(s)                        |
\end{comment}
\end{equation*}


How can I achieve {|c|c|} and \hline when translating the table to
latex?

Thanks

Uwe Brauer 

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

* [SOLVED] (was: orgtbl in latex files: array with \hline)
  2018-05-29  6:59 orgtbl in latex files: array with \hline Uwe Brauer
@ 2018-06-15 16:10 ` Uwe Brauer
  0 siblings, 0 replies; 2+ messages in thread
From: Uwe Brauer @ 2018-06-15 16:10 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1039 bytes --]

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

   > Hi

   > I would like to generate the following array environment with orgtbl.

   > \begin{equation*}
   > % BEGIN RECEIVE ORGTBL laplace
   > \begin{array}{|c|c|}
   >  f(x) & \mathcal{L} \left\{ f(x) \right\} =F(s) \\ \hline
   > \end{array}
   > % END RECEIVE ORGTBL laplace
   > \begin{comment}

   > #+ORGTBL: SEND laplace orgtbl-to-latex :latex-default-table-mode math :environment array
   > | f(x)            | \mathcal{L} \left\{ f(x) \right\} =F(s)                        |

   > \end{comment}
   > \end{equation*}


   > How can I achieve {|c|c|} and \hline when translating the table to
   > latex?

I think I asked something similar a while ago and the correct answer
seems to be:


\begin{equation}
  \label{eq:myarray:1}
\begin{array}{l|l|}
% BEGIN RECEIVE ORGTBL test
17 & 8\\ \hline
% END RECEIVE ORGTBL test
\end{array}
\end{equation}

\begin{comment}
#+ORGTBL: SEND test orgtbl-to-latex  :lend "\\\\ \\hline" :environment array :splice t
| 17 | 8 |
\end{comment}


[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5025 bytes --]

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

end of thread, other threads:[~2018-06-15 16:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-29  6:59 orgtbl in latex files: array with \hline Uwe Brauer
2018-06-15 16:10 ` [SOLVED] (was: orgtbl in latex files: array with \hline) 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).