* Latex-Export with custom commands
@ 2010-10-12 18:35 Maximilian Matthe
[not found] ` <8011.1286914651@alphaville.usa.hp.com>
0 siblings, 1 reply; 2+ messages in thread
From: Maximilian Matthe @ 2010-10-12 18:35 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-10-13 5:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-12 18:35 Latex-Export with custom commands Maximilian Matthe
[not found] ` <8011.1286914651@alphaville.usa.hp.com>
[not found] ` <4CB547A5.1030405@web.de>
2010-10-13 5:53 ` Nick Dokos
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.