[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] math in parentheses
From: |
Rasmus |
Subject: |
Re: [O] math in parentheses |
Date: |
Wed, 29 Oct 2014 13:24:40 +0100 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.3.94 (gnu/linux) |
Hi,
Nick Dokos <address@hidden> writes:
> 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.
Note that,
(with-temp-buffer (insert "$x$") (require 'ox-latex)
(org-latex-export-as-latex nil nil nil t)) => \(x\)
Just out of curiosity, do you actually type \(·\) or have you somehow
remapped $·$ to insert \(·\)?
For me the biggest inconvenience of \(·\) is that it's tedious to
type. On my keyboard, M-< S-8 M-< gives me \(\), compare to M-4 M-4
(which I could probably limit to M-4 with electric-pair-mode). Thus,
I use $·$ by default.
I usually just rely on whether my expression get the colored by
org-latex-and-related. In most cases that's a good indicator, but it
does not work with ($x$).
—Rasmus
--
With monopolies the cake is a lie!
- [O] math in parentheses, Andreas Leha, 2014/10/28
- Re: [O] math in parentheses, Nick Dokos, 2014/10/28
- Re: [O] math in parentheses, Andreas Leha, 2014/10/28
- Re: [O] math in parentheses,
Rasmus <=
- Re: [O] math in parentheses, Nick Dokos, 2014/10/29
- Re: [O] math in parentheses, Eric S Fraga, 2014/10/31