Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!sun-barr!rutgers!okstate!oksce1!walters From: walters@oksce1.okstate.edu (Harold G. Walters) Newsgroups: comp.text Subject: TeX \vbox trouble Keywords: TeX \vbox \vfil Message-ID: <272@oksce1.okstate.edu> Date: 7 Dec 89 08:09:37 GMT Organization: Oklahoma State Univ., Stillwater Lines: 46 I'm trying to make an exactly 1 inch \vbox with text set in paragraph mode along the bottom of the \vbox. Like ------------------------------------------ Text goes along the bottom ------------------------------------------ with the macro \long\def\oneline#1{\vbox to 1.0in{ \vfil{#1} }} Which works fine when the bottom line does not have descenders, BUT if the bottom line has descenders like ------------------------------------------ Text goes along the bottom with descenders like ygp ------------------------------------------ The actual size of the box is greater than 1 inch by an amount of the depth of the descenders. I guess the \vbox is calculating the height based on the baseline of the text inside. IS this what is happening? WHY does is happen this way, it seems like a \vbox should contain all of its contents in their entirety? COULD someone tell me how to fix it? -- Harold G. Walters walters@1.ce.okstate.edu School of Civil Engineering okstate!oksce1!walters Oklahoma State University "If all you have is a hammer, Stillwater, OK 74078 everything looks like a nail".