emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: Supriya Sawant <sp.sawant14@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: how to insert fraction & integration
Date: Fri, 28 Sep 2012 00:37:59 +0200	[thread overview]
Message-ID: <87d3175by0.fsf@bzg.ath.cx> (raw)
In-Reply-To: <CAJBgvSOPz+O9m5Ff3JSH28eAfn_4tjLEojYZqYK2C9Cw+8LeEg@mail.gmail.com> (Supriya Sawant's message of "Thu, 27 Sep 2012 18:23:50 +0530")

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}$$

HTH,
  
-- 
 Bastien

  reply	other threads:[~2012-09-27 22:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-27 12:53 Supriya Sawant
2012-09-27 22:37 ` Bastien [this message]
2012-09-28  2:44   ` Nick Dokos
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=87d3175by0.fsf@bzg.ath.cx \
    --to=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).