TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've seen people use such constructs as \raisebox{-\height+\baselineskip}{...}, which works well using the calcpackage.

What equivalent would you use to achieve the same behaviour without the calc package?

share|improve this question
You can also use \adjustbox{raise=-\height+\baselineskip}{...} from the adjustbox package. It uses e-TeX's \dimexpr by default, but also accepts the calc option to use the calc package. However, if your intention is to reduce the amount of packages used than this is of course a step in the wrong direction. – Martin Scharrer Dec 30 '11 at 16:43
up vote 9 down vote accepted
\raisebox{\dimexpr -\height+\baselineskip\relax}{...}

works with etex which should be the default off all TeX engines

share|improve this answer
Neat! Thanks a lot. – Clément Dec 30 '11 at 16:32

You can use etex \dimexpr.

Test \raisebox{\dimexpr-\height+\baselineskip\relax}{Test} Test

enter image description here

share|improve this answer
Thanks for the detailed example! – Clément Dec 30 '11 at 21:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.