%%% depincgr.sty, version 0.1, 26 May 2004 %%% Copyright (c) 2004 by David Chiang. \ProvidesPackage{depincgr} %%% Aligns baseline with y=0. Doesn't interact correctly with rotation. \def\depthincludegraphics{\@ifnextchar[{\depthincludegraphics@scale}{\depthincludegraphics@scale[scale=1]}} \newlength{\depthincludegraphics@depth} \def\depthincludegraphics@scale[scale=#1]#2{% \begingroup \Gread@eps{#2}% \setlength{\depthincludegraphics@depth}{\Gin@lly bp}% \raisebox{#1\depthincludegraphics@depth}{\includegraphics[scale=#1]{#2}}% \endgroup }