[pdftex] calculating in LaTeX
Heiko Oberdiek
oberdiek at uni-freiburg.de
Tue Oct 8 13:50:41 CEST 2002
On Tue, Oct 08, 2002 at 07:53:23PM +1000, Ross Moore wrote:
> > I want to define a new command like this:
> > \newcommand{\mycommand}[2]{\begin{figure} \includegraphics[height=#2,
> > width=2*#2]{#1} \end{figure}}
The same question was asked by the same author with the same
subject a week ago, so I think the second post was not intended.
> Try the following quick-and-dirty approach:
Or easier, also given in the answers of the first question:
\usepackage{calc}
Yours sincerely
Heiko <oberdiek at uni-freiburg.de>
More information about the pdftex
mailing list