Questions of the correct placement of hyphens, long and short dashes, minus signs, Christmas quotes and quotes-pads have been repeatedly raised on the Internet and on Habré in particular (see links below). However, as before, undergraduate and graduate students in their coursework and dissertations, dissertations and abstracts do not pay enough attention to typography.
In this note, I present two tables with the basic rules for the placement of the indicated characters and the jabs between them in the layout of texts in the LaTeX system, in which a significant part of qualification works in physical and mathematical specialties is prepared.
In time, similar signs may appear with the rules for placing spaces, punctuation marks and for the design of the text as a whole. ')
Hyphens, minuses and dashes
Title
LaTeX
HTML
Examples of use (LaTeX)
Hyphen (hyphen)
-
-
+7~495~555-55-55
-
-
-, -
-, -(more precisely, there should be an inseparable hyphen)
-, -
-
Short dash (en-dash)
--
– ALT + 0150
Numeric ranges (not broken by spaces):
10--15
1941--1945
~50--60-
Other "ranges" (fought back with thin spaces \, ):
\,--\,
\,--\,
<<\,--\,->>
\,--\, .~137--138
-\,--\,-
Long dash (em-dash)
---
— ALT + 0151
Repulsed by spaces (from the previous character - inseparable ~ ):
~---
~.\,., ~.\,. .~--- .: , 1978.
Minus sign
$-$
− ALT + 8722
$3-2=1$
~--- $-273{,}15$
I did not find any generally accepted rules for the use of separators in "other" ranges, " because the above rules for this case brought for himself, using common meaning and focusing on modern high-quality book publications (publishing house RHD).
Sources and additional links
S. M. Lvovsky "Set and layout in LaTeX" (Chapter 3. Typing - § 1. Special typographic marks - § 1.1. Hyphens, minuses and dashes)
the extdash package (included in the ncctools collection; see also the ncc-latex package), which introduces commands that allow you to transfer compound words, and commands for tensile semi-whites,
The The Russian Language section of the babel documentation, which describes additional dash and hyphen options, including the Cyrillic long dash.
And a couple of useful links from the same neGODnick :