emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: unexpected appearance of x^2 in pdf file
Date: Fri, 10 May 2013 15:03:58 -0400	[thread overview]
Message-ID: <87haiaodwh.fsf@pierrot.dokosmarshall.org> (raw)
In-Reply-To: CAMJKaZz0mT36FjAespnikVNRkdV1tBeykArrwNcf5dRR8XiT9w@mail.gmail.com

Paul Stansell <paulstansell@gmail.com> writes:


> I may be under a misapprehension, but I expected the pdf output
> (created by C-c C-e l p) from the attached org file to show similar
> results for both lines.  Instead, however, the simple
>
>   x^2
>

Try

    =x^2=  or ~x^2~

instead?

> outside of the verbatim environment puts the caret above the 2 even
> though I have set
>
>   #+OPTIONS: ^:nil
>
> This seems to be because org-mode exports x^2 as x\^2 in the tex file.
>  I think exporting it as x\^{}2 would give a better result.  Is there
> another way to get the appearance I'm looking for without using the
> verbatim environment?
>
> Thanks for your advice,
>
> Paul
>
> PS. I'm using Emacs 24.2.1 with Org mode 8.0.2.
>
> #+OPTIONS: ^:nil toc:nil
>
> x^2
>
> \begin{verbatim}
> x^2
> \end{verbatim}

-- 
Nick

  reply	other threads:[~2013-05-10 19:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-10 17:25 unexpected appearance of x^2 in pdf file Paul Stansell
2013-05-10 19:03 ` Nick Dokos [this message]
2013-05-12  7:59 ` Nicolas Goaziou
2013-05-12  9:07   ` Paul Stansell
2013-05-12 13:07     ` Nicolas Goaziou
2013-05-12 14:12       ` Paul Stansell
2013-05-12 15:19         ` Nicolas Goaziou
2013-05-13 14:33         ` Nicolas Richard

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=87haiaodwh.fsf@pierrot.dokosmarshall.org \
    --to=ndokos@gmail.com \
    --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 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).