From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: fill paragraph: math and latex environments Date: Wed, 03 Jul 2013 21:50:44 +0200 Message-ID: <87zju3jucr.fsf@gmail.com> References: <87mx0osk29.fsf@gmail.com> <878vc8h33x.fsf@gmail.com> <874nmwrwsp.fsf@gmail.com> <87wqzqdv1u.fsf@gmail.com> <87zju4opai.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52708) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuT4V-0002bi-Eq for emacs-orgmode@gnu.org; Wed, 03 Jul 2013 15:50:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UuT4U-00046R-BZ for emacs-orgmode@gnu.org; Wed, 03 Jul 2013 15:50:35 -0400 Received: from mail-wi0-x236.google.com ([2a00:1450:400c:c05::236]:33473) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuT4T-00046J-UB for emacs-orgmode@gnu.org; Wed, 03 Jul 2013 15:50:34 -0400 Received: by mail-wi0-f182.google.com with SMTP id m6so518753wiv.15 for ; Wed, 03 Jul 2013 12:50:33 -0700 (PDT) In-Reply-To: (Paul Stansell's message of "Wed, 3 Jul 2013 15:38:30 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Paul Stansell Cc: emacs-orgmode@gnu.org Hello, Paul Stansell writes: > 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? See: http://orgmode.org/worg/dev/org-syntax.html > 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 I do sometimes. I like compact text in my Org file, even though I know the output will be different (and intend it to) when exported. Let me try again with another example: Some text... \[1+1\] Some other text... will not be possible anymore either. I like to use \[...\] for one liners and \begin{equation*} ... \end{equation*} for more complicated formulas. > 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} Of course but \[1+1\] is a lot nicer than \[ 1+1 \] and \begin{equation*} u(x) = \begin{cases} \exp{x} & \text{if } x \geq 0 \\ 1 & \text{if } x < 0 \end{cases} \end{equation*} is (arguably) nicer than \[ u(x) = \begin{cases} \exp{x} & \text{if } x \geq 0 \\ 1 & \text{if } x < 0 \end{cases} \] Anyway, it's a matter of taste. And currently, we can have both. We won't anymore if we want to treat \[...\] as an element. Regards, -- Nicolas Goaziou