# Add two lengths in raisebox argument, without the calc package

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?

-
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
– Martin Scharrer Dec 30 '11 at 16:44

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


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

-
Neat! Thanks a lot. – Clément Dec 30 '11 at 16:32

You can use etex \dimexpr.

\documentclass{standalone}
\begin{document}
Test \raisebox{\dimexpr-\height+\baselineskip\relax}{Test} Test
\end{document}


-
Thanks for the detailed example! – Clément Dec 30 '11 at 21:46