Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!ukc!icdoc!sot-ecs!spqr From: spqr@ecs.soton.ac.uk (Sebastian Rahtz) Newsgroups: comp.text.tex Subject: Re: Box height in LaTeX ??? Message-ID: Date: 14 Jul 90 12:56:22 GMT References: <15220001@hprpcd.HP.COM> Sender: spqr@ecs.soton.ac.uk Organization: Southampton University Computer Science Lines: 24 In-reply-to: pyt@hprpcd.HP.COM's message of 11 Jul 90 17:01:11 GMT In article <15220001@hprpcd.HP.COM> pyt@hprpcd.HP.COM (Pierre-Yves Thoulon) writes: Does anybody know a way of doing the same thing with the height of the box rather than the width (in LaTeX or just plain TeX) ? the only problem is remembering that a box has depth as well as height; I append a solution, which I haven't tested :-} remember that all of plain TeX is there in LaTeX as well \newsavebox{\boxone} \sbox{\boxone}{% %definition of box goes here } % define and assign a new height \newlength{\bheight} \bheight=\ht\boxone \advance\bheight by \dp\boxone -- Sebastian Rahtz S.Rahtz@uk.ac.soton.ecs (JANET) Computer Science S.Rahtz@ecs.soton.ac.uk (Bitnet) Southampton S09 5NH, UK S.Rahtz@sot-ecs.uucp (uucp)