emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] how to insert fraction & integration


From: Nick Dokos
Subject: Re: [O] how to insert fraction & integration
Date: Thu, 27 Sep 2012 22:44:44 -0400

Bastien <address@hidden> wrote:

> Hi Supriya,
> 
> Supriya Sawant <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]