Ask Your Question
0

[math] hypen instead of minus

asked 2021-02-22 20:28:10 +0100

Oida gravatar image

updated 2021-02-22 20:28:37 +0100

Hi folks,

i have a variable A-10. Unfortunately, A-10 minus X can't be distinguished from A minus 10 minus X with the formula editor.

Is it possible to add a dash of half the width of the minus character, so it looks like a hyphen between two characters?

Thank you very much in advance!

Oida

edit retag flag offensive close merge delete

Comments

2

Did I understand correctly that A-10 should be treated as the name of a variable?
Why? Choosing names we should (factually must) obey a reasonable syntax whether explicitly defined or taken as tacitly approved by lots of examples. Never in my life I saw something like A-10 seriously claimed to be a name in a mathematical context.
Yes. Recent treatment of "sheet-names" and of designators for some additional objects in Office software seem to break the rule. That's bad, but we shouldn't accept it as a new standard, but start to refuse to call tthese designators "names".
If I had something imposing the idea on me to name it A-10, I would probably resort to A_10.

Lupp gravatar imageLupp ( 2021-02-23 12:24:46 +0100 )edit

2 Answers

Sort by » oldest newest most voted
0

answered 2021-02-23 18:24:47 +0100

LeroyG gravatar image

updated 2021-02-23 18:53:46 +0100

Try with (U+2011, non-breaking hyphen).

image description

EDIT:

image description

Tested with LibreOffice 6.4.7.2 (x86); OS: Windows 6.1.


Add Answer is reserved for solutions. If you think the answer is not satisfactory, add a comment below, or click edit (below your question) to add more information. Thanks.

Check the mark (Answer markCorrect answer mark) to the left of the answer that solves your question.

edit flag offensive delete link more

Comments

I don't recommend it. U+2011 is in principle looking the same as U+002D (because it is a conditional hyphen).

Another reason is you are in Math where formatting rules like line break and text flow do not apply. There is then no reason to make a difference between MINUS-HYPHEN and NON-BREAKING HYPHEN.

ajlittoz gravatar imageajlittoz ( 2021-02-23 18:39:09 +0100 )edit
0

answered 2021-02-22 20:57:29 +0100

ajlittoz gravatar image

Unicode block "General Punctuation" starting at U+2000 contains many "dashes" but they are wider than U+002D HYPHEN MINUS:

  • U+2010 HYPHEN (probably looking exactly the same as U+002D)
  • U+2012 FIGURE DASH, as wide as a digit

The others are even wider.

You could have a try with U+2043 BULLET HYPHEN (which has not the "bullet" property despite its name but I think this is irrelevant in your case) but it is usually thicker than common hyphens.

I don't know of a character being officially narrower than a hyphen.

To show the community your question has been answered, click the ✓ next to the correct answer, and "upvote" by clicking on the ^ arrow of any helpful answers. These are the mechanisms for communicating the quality of the Q&A on this site. Thanks!

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2021-02-22 20:28:10 +0100

Seen: 42 times

Last updated: Feb 23