CSTR #54 says this: > .bd F N > > The characters in font F will be artifically emboldened by printing > each one twice, separated by N - 1 basic units. A reasonable value > for N is 3 when the character size is near 10 points. If N is missing > the embolden mode is turned off. The emboldening value is in the .b > register. [...] The mode must be in effect when the characters are > physically printed. Ignored in nroff. > > .bd S F N > > The characters in the Special font will be emboldened whenever the > current font is F. The mode must be in effect when the characters are > physically printed. Ignored in nroff.
Consider the following input.
.de SP \" list special characters
ABC \\n+b
\(*a \(*b \(*g \(*d \(*e \(*z \(*y \(*h \(*i \(*k \(*l \
\(*m \(*n \(*c \(*o \(*p \(*r \(*s \(ts \(*t \(*u \(*f \
\(*x \(*q \(*w
\(*G \(*D \(*H \(*L \(*C \(*P \(*S \(*U \(*F \(*Q \(*W
\(dq \(aa \(rs \(ha \(ul \(ga \(ti \(sl < > { } # @ \
\(pl \(mi \(eq \(**
\(>= \(<= \(== \(~= \(ap \(!= \
\(ua \(da \(<- \(-> \(mu \(di \(+- \
\(if \(pd \(gr \(no \(is \(pt \(sr \(rn \
\(cu \(ca \(sb \(sp \(ib \(ip \(es \(mo
\(sc \(dd \(lh \(rh \(or \(ci \
\(lt \(lb \(rt \(rb \(lk \(rk \(bv \(lf \(rf \(lc \(rc
.ft I
italics
.ft
..
.ps 16
.vs 20
.nr a 1p
.nr b 0 1
.nf
.SP
.bd 1 \na
.SP
.bd S 1
.SP
.bd S
.SP
.bd 1
.SP
This will dump (almost) all the glyphs from the C/A/T's "Special" font
each time the `SP` macro is called, as well as "ABC" from the current
(text) font. You will thus see the repertoire five times.
My questions/challenges for the reader are:
A. In which of the five do you expect to see "ABC" emboldened?
B. In which of the five do you expect to see the special characters
emboldened?
I leave it up to the reader to prepare their answer based on (1) the
documentation above alone; (2) observed groff 1.22.4 behavior; or (3)
observed "real" troff behavior (please report which "real" troff you're
using).
What do you find?
Regards,
Branden
signature.asc
Description: PGP signature
