From: Uwe Brauer <oub@mat.ucm.es>
To: emacs-orgmode@gnu.org
Subject: [SOLVED] (was: orgtbl in latex files: array with \hline)
Date: Fri, 15 Jun 2018 18:10:25 +0200 [thread overview]
Message-ID: <87tvq4f2tq.fsf@mat.ucm.es> (raw)
In-Reply-To: 87603754mu.fsf@mat.ucm.es
[-- 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 --]
prev parent reply other threads:[~2018-06-15 16:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-29 6:59 orgtbl in latex files: array with \hline Uwe Brauer
2018-06-15 16:10 ` Uwe Brauer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tvq4f2tq.fsf@mat.ucm.es \
--to=oub@mat.ucm.es \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).