emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: [POLL] Syntax change: make \[...\] non-inline (+1)
Date: Mon, 04 Aug 2014 10:55:38 +0200	[thread overview]
Message-ID: <87d2cgy6ph.fsf@gmx.us> (raw)
In-Reply-To: CAKrPhPMzx0=ry8pbnKuDocSKwtWC=xp6WDMToB-7cvB1vv+ZxA@mail.gmail.com

Hi,

Federico Beffa <beffa@ieee.org> writes:

> The problem with that is that a displayed equation should NOT start a
> new paragraph (in the generated LaTeX file). This is because if it
> does then LaTeX puts more (vertical) space than desirable.

If this is always the case for you, you can "fix" this behavior by
always putting it in a new paragraph and using a filter.

Example:

     paragraph 1

     \[math 1\]

     paragraph 2

Use a final filter to convert this to

     paragraph 1
     \[math 1\]
     paragraph 2

Perhaps you want to have some finer control over whether there should
be a newline between math 1 and paragraph 2, e.g. exploiting the fact
that "\n\n" is exported as "\n\n".

Thus,

     paragraph 1

     \[math 1\]


     paragraph 2

would become

     paragraph 1
     \[math 1\]

     paragraph 2

Cheers,
Rasmus

  parent reply	other threads:[~2014-08-04  8:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-03 20:05 [POLL] Syntax change: make \[...\] non-inline (+1) Federico Beffa
2014-08-03 20:48 ` Nick Dokos
2014-08-04  8:55 ` Rasmus [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-08-03 16:32 Federico Beffa
2014-08-03 18:19 ` Nick Dokos
2014-08-01  8:22 Federico Beffa
2014-07-30 20:19 Federico Beffa
2014-07-30 16:50 Federico Beffa
2014-07-30 17:17 ` Nick Dokos
2014-07-31  9:03 ` Rasmus
2014-08-02 19:12   ` Nicolas Goaziou

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=87d2cgy6ph.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --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).