From: Nick Dokos <nicholas.dokos@hp.com>
To: Bastien <bzg@altern.org>
Cc: emacs-orgmode@gnu.org, Supriya Sawant <sp.sawant14@gmail.com>
Subject: Re: how to insert fraction & integration
Date: Thu, 27 Sep 2012 22:44:44 -0400 [thread overview]
Message-ID: <3637.1348800284@alphaville> (raw)
In-Reply-To: Message from Bastien <bzg@altern.org> of "Fri, 28 Sep 2012 00:37:59 +0200." <87d3175by0.fsf@bzg.ath.cx>
Bastien <bzg@altern.org> wrote:
> Hi Supriya,
>
> Supriya Sawant <sp.sawant14@gmail.com> writes:
>
> > how to insert fraction & integration in emacs .org file
> >
> > eg. test.org
> >
> > \frac{1}{2}
> > \sqrt{x^2-1}
> >
> > when I export it into html using org-export-as-html it gives
> >
> > test.html
> >
> > \frac{1}{2}
> > \sqrt{x^2-1}
> >
> > I am new to org-mode.
> > can anyone tell me whether I am inserted equation in right way??
>
> Use the LaTeX syntax directly: $...$ to inline them and $$...$$ to
> center them in the page. This works both in LaTeX and HTML.
>
> #+TITLE: Test
>
> $\frac{1}{2}$ and $\sqrt{x^2-1}$
>
> or
>
> $$\frac{1}{2}$$
>
> $$\sqrt{x^2-1}$$
>
This may work for org, but $$...$$ in particular does not work for
LaTeX. I would recommend that you don't use these delimiters: use \(
... \) for inlines and \[...\] for displays.
$$...$$ is plain TeX, not LaTeX, and according to Lamport (p. 233),
"... does not work properly." See also
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=dolldoll
Nick
next prev parent reply other threads:[~2012-09-28 2:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-27 12:53 how to insert fraction & integration Supriya Sawant
2012-09-27 22:37 ` Bastien
2012-09-28 2:44 ` Nick Dokos [this message]
2012-09-28 6:35 ` Bastien
2012-09-28 14:36 ` Nick Dokos
2012-09-28 17:03 ` 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=3637.1348800284@alphaville \
--to=nicholas.dokos@hp.com \
--cc=bzg@altern.org \
--cc=emacs-orgmode@gnu.org \
--cc=sp.sawant14@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).