From: Benjamin Slade <slade@jnanam.net>
To: nicholas.dokos@hp.com
Cc: emacs-orgmode@gnu.org
Subject: Re: exporting emphasised text (bold, italics etc.) in ORGTBL
Date: Tue, 21 Jun 2011 10:51:18 -0500 [thread overview]
Message-ID: <BANLkTikrYd6XoYmErddr2L0Mkfx6ENf2LA@mail.gmail.com> (raw)
In-Reply-To: <5026.1308670089@alphaville.dokosmarshall.org>
[-- Attachment #1: Type: text/plain, Size: 2755 bytes --]
Thanks, Nick. Yes, I understand what you're saying.
But what I was wondering is this: orgmode generally interprets *word* as
bolding of "word" and /word/ as italicising of "word". So is there a way to
make it export *word* as \textbf{word} and /word/ as \textit{word}, when
using orgtbl.
cheers,
--Ben
On 21 June 2011 10:28, Nick Dokos <nicholas.dokos@hp.com> wrote:
> Benjamin Slade <slade@jnanam.net> wrote:
>
> > When I'm using orgtbl in the midst of a LaTeX document, is there a way to
> tell it to export *bold*
> > as \textbf{bold}, /italics/ as \textit{italics} etc.?
>
> Yes, just like that. For example, the following works fine for me:
>
> --8<---------------cut here---------------start------------->8---
>
> * foo
>
> Here's a table:
>
>
> | foo | bar |
> |---------------+-----------------|
> | 1 | 2 |
> | 3 | 4 |
> | \textbf{bold} | \textit{italic} |
> | | |
> --8<---------------cut here---------------end--------------->8---
>
>
> Not sure if you are talking about radio tables in a LaTeX file,
> but that too seems to work fine (see appendix A.5.1 of the Org manual
> for more details on this:
>
> --8<---------------cut here---------------start------------->8---
> \documentclass{article}
>
> \begin{document}
> Here's a table of stuff:
>
> % BEGIN RECEIVE ORGTBL to-buy
> \begin{tabular}{rr}
> foo & bar \\
> \hline
> 1 & 2 \\
> 3 & 4 \\
> \textbf{bold} & \textit{italic} \\
> & \\
> \end{tabular}
> % END RECEIVE ORGTBL to-buy
>
>
> %The Org table is inside a LaTeX comment.
>
> % #+ORGTBL: SEND to-buy orgtbl-to-latex
> % | foo | bar |
> % |---------------+-----------------|
> % | 1 | 2 |
> % | 3 | 4 |
> % | \textbf{bold} | \textit{italic} |
> % | | |
>
>
> \end{document}
>
> %%% Local Variables:
> %%% mode: latex
> %%% TeX-master: t
> %%% End:
> --8<---------------cut here---------------end--------------->8---
>
> Nick
>
--
-----------------------------------------------------------------------------------------------------
Benjamin Slade
Dept. of Linguistics
University of Illinois at Urbana-Champaign
[ http://www.jnanam.net/slade/ ]
Stæfcræft & Vyākaraṇa (lingblog) - http://staefcraeft.blogspot.com
The Babbage Files (techblog) - http://babbagefiles.blogspot.com
-----------------------------------------------------------------------------------------------------
*प*रो ऽक्ष॑का*मा* हि *दे*वाः
'The gods love the obscure.' (Śatapathabrāmaṇa 6.1.1.2)
[-- Attachment #2: Type: text/html, Size: 3781 bytes --]
next prev parent reply other threads:[~2011-06-21 15:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-20 15:12 exporting emphasised text (bold, italics etc.) in ORGTBL Benjamin Slade
2011-06-21 15:28 ` Nick Dokos
2011-06-21 15:51 ` Benjamin Slade [this message]
2011-06-28 17:15 ` Bastien
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=BANLkTikrYd6XoYmErddr2L0Mkfx6ENf2LA@mail.gmail.com \
--to=slade@jnanam.net \
--cc=emacs-orgmode@gnu.org \
--cc=nicholas.dokos@hp.com \
/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).