emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Max Nikulin <manikulin@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: \minus entity and LaTeX export
Date: Sat, 14 May 2022 17:13:55 +0700	[thread overview]
Message-ID: <t5nvd4$dis$1@ciao.gmane.io> (raw)
In-Reply-To: <87czggbp8x.fsf@localhost>

On 14/05/2022 13:30, Ihor Radchenko wrote:
> Max Nikulin writes:
> 
>>>        "** Science et al."
>>> -     ("minus" "\\minus" t "&minus;" "-" "-" "−")
>>> +     ("minus" "-" t "&minus;" "-" "-" "−")
>>
>> 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.
> 
> \textminus appears to work without textcomp. However, I am not sure if it
> should be used instead of math version.

Timothy tried texlive-2022, I had 2019 installed, users of old versions 
may add \usepackage{textcomp}.

> Look at the attached screenshot where I tried to compare how \textminus
> vs. $-$ would look inside a document. I find the math version to be more
> visually appealing. Of course, we can always change to \textminus if
> people more familiar with typography jump in and ask for the change.

I am a bit lazy to check what font and what codepoint is used in each case.

 From my point of view, the correct way to type negative numbers is 
\(-1\), not \(-\)1. TeX math mode sets proper spaces around the 
character, e.g. \(1 - 1\) has larger spaces around. I considered \minus 
as something special for cases when a user has reasons to avoid math, 
e.g. to avoid MathJax or images when a document contains only a few of 
simple expressions.



      reply	other threads:[~2022-05-14 10:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-14  3:46 \minus entity and LaTeX export Max Nikulin
2022-05-14  6:17 ` Timothy
2022-05-14  6:30 ` Ihor Radchenko
2022-05-14 10:13   ` Max Nikulin [this message]

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='t5nvd4$dis$1@ciao.gmane.io' \
    --to=manikulin@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).