emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "kevin.lemorzadec" <kevin.lemorzadec@mun.ca>
To: emacs-orgmode@gnu.org
Subject: LaTeX fragments to deal with character {
Date: Sat, 13 Dec 2014 17:58:40 -0330	[thread overview]
Message-ID: <CAOnPmeU29_a1iTEwNBqsSzrB3s30_z45PabFUk69UJreV4Utkw@mail.gmail.com> (raw)

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

I am trying to do a latex loop in org mode. When I use the latex syntax
directly, the character "{" are exported as"\{" as in case 1 below. If I
use ‘\(...\)’ it does keep the "{" characters but the ‘\(...\)' stays in
the .tex created (case 2 below) giving me an error when I try to generate
the pdf.
Is there an other was to export the "{" characters?

Org-mode version 6.33x

case 1
.org file:
\foreach \n in {Temp,DO,Sal}{\foreach \m in
\n \m \par

.tex file:
\foreach \n in \{Temp,DO,Sal\}{\foreach \m in
\n \m \par

case 2
.org file:
\(\foreach \n in {Temp,DO,Sal}{\foreach \m in
\n \m \par

.tex file:
\(\foreach \n in {Temp,DO,Sal}{\foreach \m in
\n \m \par


[-- Attachment #2: Type: text/html, Size: 1549 bytes --]

             reply	other threads:[~2014-12-13 21:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-13 21:28 kevin.lemorzadec [this message]
2014-12-13 21:51 ` LaTeX fragments to deal with character { Rasmus

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:

  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=CAOnPmeU29_a1iTEwNBqsSzrB3s30_z45PabFUk69UJreV4Utkw@mail.gmail.com \
    --to=kevin.lemorzadec@mun.ca \
    --cc=emacs-orgmode@gnu.org \


* 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


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).