[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Latex-Export with custom commands
From: |
Maximilian Matthe |
Subject: |
[Orgmode] Latex-Export with custom commands |
Date: |
Tue, 12 Oct 2010 20:35:09 +0200 |
User-agent: |
Thunderbird 2.0.0.24 (Windows/20100228) |
Hi,
I'm having a .tex-file named style.tex which contains the following:
> \usepackage{xspace}
> \newcommand{\cA}{\ensuremath{\mathcal{A}}\xspace}
I'm including this file into my org-file with
> #+LATEX_HEADER: \input{style}
Now, when I type sth. like this:
> Inside normal text \cA just works fine.
But when I want to add superscripts to that A:
> Now adding a superscript to \cA^n because I need it.
In the pdf-Output there is a space between the superscript and the A.
That is because of the latex-export does sth like:
> \ensuremath{\mathcal{A}}$^n$
Is there some workaround for that behaviour?
Best regards, Max
- [Orgmode] Latex-Export with custom commands,
Maximilian Matthe <=