On Fri, 12 Feb 2010 14:16:06 +0100, Ruud Brekelmans <ruud.brekelm...@gmail.com> 
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 <carsten.domi...@gmail.com> 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).


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to