Article View: comp.text.tex
Article #1072alternative underlining, LaTeX
From: m e bracher
Date: Sun, 12 Apr 1992 22:00
Date: Sun, 12 Apr 1992 22:00
30 lines
1719 bytes
1719 bytes
for a while I've been annoyed at LaTeX's \underline command,
mainly because \underline{mine} and \underline{yours} will
come out with the underline substantially lower on the latter
example. when it came time for my resume, it got truly
annoying -- the lines alternated between high and low.
so I took half an hour out this afternoon and wrote the
following, \under. it'll take any text that you give it and
underline it, as per usual, but with the assumption that the
text does have a tail. everything will be underline lower
down.
I hope someone out there finds it useful, all that I can say
is that the resume looks a lot better now that it's uniform.
(one other comment: the amount that it's shifted down by was
tested with 10pt \normalsize and \Huge; the calculation is
done using ex, so it should be universal. however, if anyone
does find problems with it, I'd appreciate your letting me
know)
\newcommand{\under}[1]{\underline{\rule[-.45ex]{0cm}{0cm}#1}}
--
matthew eric bracher | `smell the blood on the wind,
n8744926@henson.cc.wwu.edu | hear your blood in your ears,
(or bracher@nessie.cc.wwu.edu) | die at last with your enemies' blood
| in your mouth' (Doctor Who - Survival)
Technical Details
Message-ID:
<1992Apr12.220048.3141@henson.cc.wwu.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!usc!sdd.hp.com!hp-cv!ogicse!henson!n8744926Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!sdd.hp.com!hp-cv!ogicse!henson!n8744926 From: n8744926@henson.cc.wwu.edu (m e bracher) Newsgroups: comp.text.tex Subject: alternative underlining, LaTeX Summary: a less annoying underline Keywords: underline, LaTeX Message-ID: <1992Apr12.220048.3141@henson.cc.wwu.edu> Date: 12 Apr 92 22:00:48 GMT Article-I.D.: henson.1992Apr12.220048.3141 Organization: Western Washington University Lines: 30