From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: math in parentheses Date: Tue, 28 Oct 2014 13:14:08 -0400 Message-ID: <87sii8yv4v.fsf@alphaville.bos.redhat.com> References: <87ppdcdwic.fsf@berkeley.edu> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42864) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjALw-00015y-TD for emacs-orgmode@gnu.org; Tue, 28 Oct 2014 13:14:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XjALs-0004w3-6G for emacs-orgmode@gnu.org; Tue, 28 Oct 2014 13:14:40 -0400 Received: from plane.gmane.org ([80.91.229.3]:52751) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjALs-0004va-0M for emacs-orgmode@gnu.org; Tue, 28 Oct 2014 13:14:36 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XjALe-0002On-9o for emacs-orgmode@gnu.org; Tue, 28 Oct 2014 18:14:22 +0100 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 28 Oct 2014 18:14:22 +0100 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 28 Oct 2014 18:14:22 +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: emacs-orgmode@gnu.org Andreas Leha writes: > Hi Richard, > > Richard Lawrence writes: >> Hi Andreas, >> >> Andreas Leha writes: >> >>> I encounter a problem using $..$ expressions when they are enclosed >>> in parentheses. >> >>> This $T$ works, but ($T$) this does not. >>> >>> Is that expected behaviour? >>> >>> (Note that \(...\) expressions work.) >> >> Yes, that is the expected behavior. Org is much pickier about when "$" >> can be a math delimiter than "\( ... \)". The reason is that "$" can >> also be used as a regular symbol in Org documents; when it is, it should >> be *not* be exported as a math delimiter to LaTeX, and distinguishing >> non-math-delimiting from math-delimiting uses of "$" is not a trivial >> matter. >> >> Thus, when in doubt, use "\( ... \)". >> > > Thanks for following that up. I do use \(...\) when I encounter > problems with $...$ (which is a lot nicer to type and read). > > I am happy with using the fall-back \(...\) every now and then. > > Just for me to understand: Is the problem the missing whitespace > around the $...$ expression? > See http://tex.stackexchange.com/questions/510/are-and-preferable-to-dollar-signs-for-math-mode for some arguments for and (mostly) against (although one of the "for"s is Frank Mittelbach - which surely tilts the scale quite a lot). FWIW, I've trained myself to use \(...\) and don't find it any harder to read than $...$ - and I don't mind the extra typing either. The fact that both org and MathJax deal better with \(...\) just reinforces that choice. Nick