emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Paul Stansell <paulstansell@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: fill paragraph: math and latex environments
Date: Mon, 1 Jul 2013 21:45:32 +0000 (UTC)	[thread overview]
Message-ID: <loom.20130701T234359-945@post.gmane.org> (raw)
In-Reply-To: 87wqzqdv1u.fsf@gmail.com

Nicolas Goaziou <n.goaziou <at> gmail.com> writes:

> 
> Hello,
> 
> azw <at> fastmail.fm (Albert Z. Wang) writes:
> 
> > Thanks for the clarification!  Is there an easy way to have them be
> > treated as full-fledged environments?  I usually prefer to use the above
> > for unnumbered display equations since it reduces visual clutter and
> > looks closer to the intent.
> 
> No, there's no easy way.
> 
> Making \[...\] an element would mean that \[...\] cannot exist anymore
> within a paragraph. I'm not sure it's worth it.
> 
> Also, I think it's good, in this case, to have both an inlined and
> a non-inlined version for the same thing.
> 
> Regards,
> 


Hi Nicolas,

I hope you don't mind me giving my view on this so long after the initial
posts, but I been trying, without success, to get fill-paragraph to
recognise \[...\] as boundaries to it's function.

You say in your post

> Making \[...\] an element would mean that \[...\] cannot exist anymore
> within a paragraph. I'm not sure it's worth it.
> 
> Also, I think it's good, in this case, to have both an inlined and
> a non-inlined version for the same thing.

In Lamport's book on Latex he explains that \[...\] is for display style
maths, that is, for maths that is not inside a paragraph but presented on
it's own line.  Inside a paragraph one should use $...$ or \(...\) as they
are for inline equations (and Latex treats them the same).  For display
style maths Latex uses

\begin{displaymath}
  ...
\end{displaymath}

and, for less typing,

\[
  ...
\] 

and both are treated the same, ie., both produce the exact same output in
the processed latex document.

This being the case, my wish would be to see org mode treat

\[
  ...
\] 

the same as

\begin{displaymath}
  ...
\end{displaymath}

and not fill past it's boundaries.

Kind regards,

Paul

  reply	other threads:[~2013-07-01 21:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-17 16:14 fill paragraph: math and latex environments Albert Z. Wang
2012-09-17 19:16 ` Nicolas Goaziou
2012-09-18  0:37   ` Albert Z. Wang
2012-09-19 13:03     ` Nicolas Goaziou
2013-07-01 21:45       ` Paul Stansell [this message]
2013-07-02 17:16         ` Nicolas Goaziou
2013-07-03 14:38           ` Paul Stansell
2013-07-03 19:50             ` 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=loom.20130701T234359-945@post.gmane.org \
    --to=paulstansell@gmail.com \
    --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).