From: Max Nikulin <manikulin@gmail.com>
To: orgmode <emacs-orgmode@gnu.org>
Cc: Timothy <tecosaur@gmail.com>
Subject: \minus entity and LaTeX export
Date: Sat, 14 May 2022 10:46:10 +0700 [thread overview]
Message-ID: <f17a2e39-1ee1-8a80-c080-11de0990c7e8@gmail.com> (raw)
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 "×" "*" "×" "×")
next reply other threads:[~2022-05-14 3:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-14 3:46 Max Nikulin [this message]
2022-05-14 6:17 ` \minus entity and LaTeX export Timothy
2022-05-14 6:30 ` Ihor Radchenko
2022-05-14 10:13 ` Max Nikulin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f17a2e39-1ee1-8a80-c080-11de0990c7e8@gmail.com \
--to=manikulin@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=tecosaur@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.