emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The less ambiguous math delimiters in tables


From: Leo Butler
Subject: Re: The less ambiguous math delimiters in tables
Date: Fri, 27 Dec 2024 17:17:25 +0000
User-agent: Gnus/5.13 (Gnus v5.13)

On Wed, Dec 25 2024, Rudolf Adamkovič <rudolf@adamkovic.org> wrote:

> Ihor Radchenko <yantar92@posteo.net> writes:
>
>> It is a syntax limitation.
>> Org parser is outer-inner - the table row is parsed first.
>> So, | are unconditionally used as table delimiters, *before* verbatim
>> LaTeX markup is recognized.
>
> How is that not a parser bug?
>
> I thought that, with the noisy \(...\) delimiters,
>
>   the parser finally has enough information
>
> to not screw up.
>
> P.S. It is impossible to write, e.g. \|, which is vector length (norm).

Rudy,
Since you are using Org -> LaTeX, I suggest using something like the
following:

| \([x]\) |

Depending on the flavour of LaTeX you use, you can use a package to
typeset the left/right square brackets as |, e.g.

\newunicodechar{[}{|}
\newunicodechar{]}{|}

Leo

reply via email to

[Prev in Thread] Current Thread [Next in Thread]