version 1.62, 2015/03/30 16:06:14 |
version 1.63, 2015/09/02 15:38:35 |
Line 49 names; instead, provide ASCII transcriptions of the na |
|
Line 49 names; instead, provide ASCII transcriptions of the na |
|
.Ss Dashes and Hyphens |
.Ss Dashes and Hyphens |
In typography there are different types of dashes of various width: |
In typography there are different types of dashes of various width: |
the hyphen (-), |
the hyphen (-), |
the minus sign (\-), |
the minus sign (\(mi), |
the en-dash (\(en), |
the en-dash (\(en), |
and the em-dash (\(em). |
and the em-dash (\(em). |
.Pp |
.Pp |
|
|
.Pp |
.Pp |
The mathematical minus sign is used for negative numbers or subtraction. |
The mathematical minus sign is used for negative numbers or subtraction. |
It should be written as |
It should be written as |
.Sq \e- : |
.Sq \e(mi : |
.Bd -unfilled -offset indent |
.Bd -unfilled -offset indent |
a = 3 \e- 1; |
a = 3 \e(mi 1; |
b = \e-2; |
b = \e(mi2; |
.Ed |
.Ed |
.Pp |
.Pp |
The en-dash is used to separate the two elements of a range, |
The en-dash is used to separate the two elements of a range, |
|
|
.Fl T Ns Cm ascii , |
.Fl T Ns Cm ascii , |
the |
the |
\e(ss, \e(nm, \e(nb, \e(nc, \e(ib, \e(ip, \e(pp, \e[sum], \e[product], |
\e(ss, \e(nm, \e(nb, \e(nc, \e(ib, \e(ip, \e(pp, \e[sum], \e[product], |
\e[coproduct], \e(gr, \e(\-h, and \e(a. special characters render |
\e[coproduct], \e(gr, \e(-h, and \e(a. special characters render |
differently between mandoc and groff. |
differently between mandoc and groff. |
.It |
.It |
In |
In |