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

> Ihor Radchenko <yanta...@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