emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] LaTeX fragments to deal with character {


From: kevin.lemorzadec
Subject: [O] LaTeX fragments to deal with character {
Date: Sat, 13 Dec 2014 17:58:40 -0330

Hi,
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
{Temp,DO,Sal}{ 
\n \m \par
}}

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

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

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



--
Kevin 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]