From: Paul Stansell <paulstansell@gmail.com>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: fill paragraph: math and latex environments
Date: Wed, 3 Jul 2013 15:38:30 +0100 [thread overview]
Message-ID: <CAMJKaZwmqkf4RAqdcD=j+mDHZ6VBmdNYoMrg_2QRS=XV5JML+w@mail.gmail.com> (raw)
In-Reply-To: <87zju4opai.fsf@gmail.com>
Nicolas,
Thanks for your reply.
> If we allow \[...\] constructs to be an element, they cannot be
> recognized as such within paragraphs. So
>
> Some text \[1+1\] and some other text
>
> will not be recognized anymore, even though any latex editing mode
> supports it. Again, I think it's not worth loosing it.
>
> Also, using \begin{...}...\end{...} environments is not really an issue
> with editing facilities in Emacs (e.g., yasnippets).
I'm sorry, but I don't fully understand your explanation as I don't
know what you mean by an "element" in this context?
Also, am I missing something about the latex? Do you want to be able
to use display style maths inside a sentence (ie. avoid placing the
maths on a new line but have it formatted in display style)? That
would seem strange as that's not what it's for. I don't, therefore,
see why anyone would want to write
Some text \[1+1\] and some other text
as in the resulting processed document it will look like
Some text
1+1
and some other text
I think one should instead write
Some text \(1+1\) and some other text
or
Some text $1+1$ and some other text
which, in the processed document, will look like
Some text 1+1 and some other text
If someone wants a display maths equation they could write it in their
org file as
Some text
\[
1+1
\]
and some other text
so that the look of the org file resembles more closely that of the
processed document.
> Also, using \begin{...}...\end{...} environments is not really an issue
> with editing facilities in Emacs (e.g., yasnippets).
I agree with you there. It's not a big deal type, but I do think
\[
1+1
\[
looks a lot nicer and cleaner in the org file than
\begin{displaymath}
1+1
\end{displaymath}
Kind regards,
Paul
next prev parent reply other threads:[~2013-07-03 14:38 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
2013-07-02 17:16 ` Nicolas Goaziou
2013-07-03 14:38 ` Paul Stansell [this message]
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='CAMJKaZwmqkf4RAqdcD=j+mDHZ6VBmdNYoMrg_2QRS=XV5JML+w@mail.gmail.com' \
--to=paulstansell@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=n.goaziou@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).