From: Maximilian Matthe <Maxi.Matthe@web.de>
To: emacs-orgmode@gnu.org
Subject: Latex-Export with custom commands
Date: Tue, 12 Oct 2010 20:35:09 +0200 [thread overview]
Message-ID: <i929ov$dpe$1@dough.gmane.org> (raw)
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
next reply other threads:[~2010-10-12 18:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-12 18:35 Maximilian Matthe [this message]
[not found] ` <8011.1286914651@alphaville.usa.hp.com>
[not found] ` <4CB547A5.1030405@web.de>
2010-10-13 5:53 ` Latex-Export with custom commands Nick Dokos
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='i929ov$dpe$1@dough.gmane.org' \
--to=maxi.matthe@web.de \
--cc=emacs-orgmode@gnu.org \
/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 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.