Article View: comp.text.tex
Article #519Width of text
From: Gene C. Van Nostern
Date: Tue, 28 Jul 1992 19:39
Date: Tue, 28 Jul 1992 19:39
14 lines
741 bytes
741 bytes
Is there any way to find the width of a bit of text in TeX? I'd like
a command, say \widthof, that would work like this:
\newdimen\textwidth
\textwidth=\widthof{some text}
From then on, I could use \textwidth to be the width of the string
"some text".
Please respond by e-mail.
Thanks,
Gene.
gene@icarus.claremont.edu
Technical Details
Message-ID:
<1992Jul28.193951.2901@muddcs.claremont.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!news.claremont.edu!newsShow Full Headers
Complete Article Headers
Newsgroups: comp.text.tex Path: arc1-ca.pugleaf.net!sparky!uunet!news.claremont.edu!news From: gene@icarus.claremont.edu (Gene C. Van Nostern) Subject: Width of text Message-ID: <1992Jul28.193951.2901@muddcs.claremont.edu> Sender: news@muddcs.claremont.edu (The News System) Reply-To: gene@icarus.claremont.edu Organization: Harvey Mudd College, Claremont, CA 91711 Date: Tue, 28 Jul 1992 19:39:51 GMT Lines: 14