From cf2349d14b50d096d2c502d867487cfdf4bb7f61 Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Sat, 1 Jul 2023 13:00:30 +0300 Subject: [PATCH] org-manual: Explain how to deal with literal $ parsed as LaTeX fragments * doc/org-manual.org (LaTeX fragments): Mention entities and zero-width space as workarounds when literal "$" is needed, but Org matches it as LaTeX fragment. Reported-by: Paul Rubin Link: https://orgmode.org/list/49c5dcf6-26fa-5fe1-1778-c932d056eadb@hackyon.net --- doc/org-manual.org | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/org-manual.org b/doc/org-manual.org index 3a49917d7..00901ad13 100644 --- a/doc/org-manual.org +++ b/doc/org-manual.org @@ -11274,6 +11274,11 @@ snippets are identified as LaTeX source code: between, and if the closing =$= is followed by whitespace or punctuation (but not a dash). + Sometimes, it may necessary to have a literal dollar symbol even + when it is recognized as LaTeX math delimiter. Org provides =\dollar= and + =\USD= entities (see [[*Special Symbols]]) that are rendered as =$= for + such scenarios. Also, see [[*Escape Character]]. + #+texinfo: @noindent For example: