emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Nicolas Richard" <theonewiththeevillook@yahoo.fr>
To: emacs-orgmode@gnu.org
Subject: Re: how to insert fraction & integration
Date: Fri, 28 Sep 2012 19:03:10 +0200	[thread overview]
Message-ID: <87wqze9j1t.fsf@yahoo.fr> (raw)
In-Reply-To: 87d316r6xu.fsf@bzg.ath.cx

>>>>> "bzg" == Bastien  <bzg@altern.org> writes:

    bzg> Hi Nick, Nick Dokos <nicholas.dokos@hp.com> writes:

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

    bzg> $$...$$ worked for me for years in LaTeX (using tetex on
    bzg> GNU/Linux) so I'm curious: is this FAQ entry still accurate?
    bzg> The web page says "2012-03-29" but maybe that's just an
    bzg> automated time-stamp, not telling whether this entry in
    bzg> particular is still relevant.

It is, but the reasons are not so obvious. You can find some arguments
here :

In short : 
- without amsmath (but who does not load amsmath?), vertical spacing is
wrong in some circumstances (which should never happen anyway : a
displayed equation can never begin a new paragraph), and
- with amsmath, some other problems remain, most notably the global
option "fleqn" (flush left equations) does not work.

In general, $$ should never be modified by any package, so if you load a
package that should do something with displayed equations, you'd better
not use $$ $$. Unfortunately I don't know which packages are in this

So, is it worth changing your code ? I personally never use $$ (nor \[ \]) (i)
because I like having meaningful environment names, (ii) because I was
taught not to use them, and (iii) because amsmath makes it easy to
change a environement into another (e.g. change between
numbered/unnumbered, or change between {equation} and {align}).


      parent reply	other threads:[~2012-09-28 17:03 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
2012-09-28  6:35     ` Bastien
2012-09-28 14:36       ` Nick Dokos
2012-09-28 17:03       ` Nicolas Richard [this message]

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:

  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=87wqze9j1t.fsf@yahoo.fr \
    --to=theonewiththeevillook@yahoo.fr \
    --cc=emacs-orgmode@gnu.org \


* 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


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).