On Mon, Jul 02, 2001 at 12:29:38AM +0300, Dekel Tsur wrote:
> > You do need to load the graphics package and remove the [] after the
> > includegraphics command:

> Note that even with these changes the IEEE template file will note work
> because the template doesn't give two arguments to the biography environment.
> You need to add {figurename} before {Your Name} and {Coauthor} at the end of
> the template.

Another option is to define the eps figure argument as optional:

\RequirePackage{graphics}
\newenvironment{biography}[2][]{% % !AC
\footnotesize\unitlength 1mm\bigskip\bigskip\bigskip\parskip=0pt\par%
\rule{0pt}{39mm}\vspace{-39mm}\par%   garantees correct page breaking
\noindent\setbox0\hbox{\ifx\\#1\\%
\framebox(25,32){}%
\else%
\resizebox{25mm}{32mm}{\includegraphics{#1.eps}}%
\fi}%
picture % !AC
\ht0=37mm\count10=\ht0\divide\count10 by\baselineskip%  calculates lines
\global\hangindent29mm\global\hangafter-\count10%
\hskip-28.5mm\setbox0\hbox to 28.5mm {\raise-30.5mm\box0\hss}%
\dp0=0mm\ht0=0mm\box0\noindent\bf#2\rm}{ % !AC
\par\rm\normalsize}

With this change, you can use the template file with no change.
If you want to insert a picture, use [figurename]{Your name}
instead of {figurename}{Your Name}

Reply via email to