[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Hyphen after LaTeX fragments
From: |
Dominik Schrempf |
Subject: |
Re: Hyphen after LaTeX fragments |
Date: |
Tue, 21 Mar 2023 17:39:50 +0100 |
User-agent: |
mu4e 1.8.14; emacs 28.2 |
I like the $...$ syntax, but since it is not fully supported, I rather
use \(...\) consistently; I do not really care.
Maybe the best thing to do is drop support for $...$ completely?
I quote the Org mode manual section about $...$ syntax:
Text within the usual LaTeX math delimiters. To avoid conflicts with
currency specifications, single ‘$’ characters are only recognized
as math delimiters if the enclosed text contains at most two line
breaks, is directly attached to the ‘$’ characters with no
whitespace in between, and if the closing ‘$’ is followed by
whitespace, punctuation or a dash. For the other delimiters, there
is no such restriction, so when in doubt, use ‘\(...\)’ as inline
math delimiters.
I think this is HIGHLY confusing. I think we should write something
along the lines: "Do not use $...$. Only for reasons of backwards
compatibility, $...$ syntax is partly (!) supported."
Dominik
Rudolf Adamkovič <salutis@me.com> writes:
> iemacs@gmail.com writes:
>
>> You can write \(n\)-dimensional space.
>
> ROFL.
>
> My apologies for the laugh, but this question will keep coming over and
> over and over until the end of times. Clearly, there is a need for the
> dash, and given the quality and syntactic stability of TeX, the problem
> is not going anywhere ... ever.
>
> Rudy
Hyphen after LaTeX fragments, Yuchen Guo, 2023/03/14