emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Minor nit - LaTeX header contents and footnotes


From: Eric S Fraga
Subject: Re: [Orgmode] Minor nit - LaTeX header contents and footnotes
Date: Fri, 12 Feb 2010 17:00:58 +0000
User-agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Goj┼Ź) APEL/10.7 Emacs/23.1 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

On Fri, 12 Feb 2010 14:16:06 +0100, Ruud Brekelmans <address@hidden> wrote:
> 
> [1.1  <text/plain; ISO-8859-1 (7bit)>]
> I still find similar behavior when exporting to LaTeX with:
> 
> #+BEGIN_LaTeX
> \newcommand{\norm}[1]{\lVert#1\rVert}
> #+END_LaTeX
> 
> 
> Best regards,
> Ruud
> 
> 
> On 21 August 2009 06:52, Carsten Dominik <address@hidden> wrote:
> 
> > Fixed, thanks.
> >
> > - Carsten
> >
> >
> > On Aug 20, 2009, at 10:14 PM, Nick Dokos wrote:
> >
> >  I define a LaTeX macro at the top of my document, like so:
> >>
> >> ,----
> >> | ...
> >> | #+LATEX_HEADER: \newcommand{\rowstyle}[1]{\gdef\currentrowstyle{#1}%
> >> | #+LATEX_HEADER:   #1\ignorespaces
> >> | #+LATEX_HEADER: }
> >> | ...
> >> `----


This doesn't solve the problem directly but putting spaces around the 1 works:

--8<---------------cut here---------------start------------->8---
#+BEGIN_LaTeX
\newcommand{\norm}[ 1 ]{\lVert#1\rVert}
#+END_LaTeX
--8<---------------cut here---------------end--------------->8---

(and also works with the header version).




reply via email to

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