emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <ucecesf@ucl.ac.uk>
To: Ruud Brekelmans <ruud.brekelmans@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Minor nit - LaTeX header contents and footnotes
Date: Fri, 12 Feb 2010 17:00:58 +0000	[thread overview]
Message-ID: <87y6iy1j91.wl%ucecesf@ucl.ac.uk> (raw)
In-Reply-To: <a577f2c31002120516p27c96f8byb8a77662f30b404f@mail.gmail.com>

On Fri, 12 Feb 2010 14:16:06 +0100, Ruud Brekelmans <ruud.brekelmans@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.dominik@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).

  reply	other threads:[~2010-02-12 17:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-20 21:14 Minor nit - LaTeX header contents and footnotes Nick Dokos
2009-08-21  5:52 ` Carsten Dominik
2010-02-12 13:16   ` Ruud Brekelmans
2010-02-12 17:00     ` Eric S Fraga [this message]
2010-02-13 13:54       ` Ruud Brekelmans
2010-02-16  4:53         ` Carsten Dominik

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=87y6iy1j91.wl%ucecesf@ucl.ac.uk \
    --to=ucecesf@ucl.ac.uk \
    --cc=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=ruud.brekelmans@gmail.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).