|
From: | Max Nikulin |
Subject: | \minus entity and LaTeX export |
Date: | Sat, 14 May 2022 10:46:10 +0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 |
Hi,I was checking which changes had been landed to the main branch as the result of Ihor's work and I noticed a commit unrelated to my initial curiosity but that might be questionable:
commit 15d25644cc8d88fd5cd0ad53caedaedad3635d8d author TEC Sat Jan 22 20:41:55 2022 +0800 org-entities: Change \minus to - * lisp/org-entities.el: The LaTeX command \minus doesn't exist, but a hyphen in math mode produces a minus symbol. diff --git a/lisp/org-entities.el b/lisp/org-entities.el index 2bd4f2fe3..9c64cb854 100644 --- a/lisp/org-entities.el +++ b/lisp/org-entities.el @@ -307,7 +307,7 @@ packages to be loaded, add these packages to `org-latex-packages-alist'." ("trade" "\\texttrademark{}" nil "™" "TM" "TM" "™")"** Science et al."- ("minus" "\\minus" t "−" "-" "-" "−") + ("minus" "-" t "−" "-" "-" "−")
Should it be "\textminus" instead? I never used it but my expectation that it was added for text mode outside of equations: \minus1. It required \usepackage{textcomp} in the past, but it seems it is not the issue any more, so the symbol is available out of the box. I was not following that changes in LaTeX so I may miss something.
("pm" "\\textpm{}" nil "±" "+-" "±" "±") ("plusmn" "\\textpm{}" nil "±" "+-" "±" "±") ("times" "\\texttimes{}" nil "×" "*" "×" "×")
[Prev in Thread] | Current Thread | [Next in Thread] |