Hello font folks,
This is not a matter of life & death, just an annoyance.
I'm writing the documentation of a subroutine library where, du to the
number of routines,
all names are prefixed for easy grouping/finding.
There is an underline character in every name which does not look good
in print.
I had this problem even in troff where I tried to lift the underline
character by translating it to \(ru.
I've found that \(ul and \(ru are recognized by groff but they give me
the same problem as before:
they are shorter than other (Courier) characters and this upsets
alignments.
I've found that \(ul and \(ru are not coming from a font (not
referenced in \xxx octal form), but
generated by groff and/or grops as `.. moveto .. lineto stroke' things.
Could you suggest a remedy to this little anomaly? Courier was supposed
to be mono spaced.
Thanks,
Miklos
.\"
.\"--- try underline to rule conversion
.\"
.ft CR
.ps 20
.vs 30
.nf
UUUUHHHHUUUU
UUUU____UUUU "____"
UUUU\(ru\(ru\(ru\(ruUUUU \\(ru inserted
UUUU\(ul\(ul\(ul\(ulUUUU \\(ul inserted
.tr \(ul\(ru
UUUU____UUUU "____" and .tr \\(ul\\(ru
.tr _\(ru
UUUU____UUUU "____" and .tr _\\(ru
UUUUHHHHUUUU
.ex
.\"--- ps by groff
.\"
.\" 1) (UUUUHHHHUUUU)72 60 Q 48
.\"
.\" 2) (UUUU____UUUU "____")72 120 R
.\"
.\" 3) (UUUU)72 180 Q .8 LW 130 180 120 180 DL 140 180 130 180 DL 150 180 140
.\" 180 DL 160 180 150 180 DL 48
.\"
.\" (UUUU \\\(ru)160 180 R(inserted)12 E
.\"
.\" 4) (UUUU)72 240 Q 130 245 120 245 DL 140 245 130 245 DL 150 245 140 245 DL
.\" 160 245 150 245 DL 48
.\"
.\" (UUUU \\\(ul)160 240 R(inserted)12 E 48
.\"
.\" 5) (UUUU____UUUU "____")72 300 R(and .tr \\\(ul\\\(ru)12 E
.\"
.\" 6) (UUUU)72 360 Q 130 360 120 360 DL 140 360 130 360 DL 150 360 140 360 DL
.\" 160 360 150 360 DL 48
.\"
.\" (UUUU ")160 360 R 290 360 280 360 DL 300 360 290 360 DL 310 360 300
.\" 360 DL 320 360 310 360 DL 12("a)320 360 S(nd .tr)-12 E 450 360 440
.\" 360 DL(\\\(ru)450 360 Q
.\"
.\"7) (UUUUHHHHUUUU)72 420 Q 0 Cg EP
.\"
.\"--- notes
.\"
.\"- \(ul is not `_'
.\" is created by groff (not coming from a font)
.\" is too narrow
.\" is too low
.\"
.\"- \(ru is created by groff (not coming from a font)
.\" is too narrow
.\" is at the right height
_______________________________________________
Groff mailing list
Groff@gnu.org
http://lists.gnu.org/mailman/listinfo/groff