On Mon, Jul 02, 2001 at 12:07:01AM +0300, Dekel Tsur wrote:
> On Sun, Jul 01, 2001 at 03:06:20PM -0500, A. Gunes Koru wrote:
> > I'd like to ask you guys, especially to those who has a
> > knowledge/experience in writing class files. Can you tell me the reason.
> > Is there any way of keeping this cool feature and also making it work in
> > lyx?
> 
> You do need to load the graphics package and remove the [] after the
> includegraphics command:
> 
> \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{\resizebox{25mm}{32mm}{\includegraphics{#1.eps}}}%
> 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}

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.

Reply via email to