"A. Gunes Koru" wrote:
> 
> We use the attached IEEEtran.cls for the IEEEtran.layout which is
> available in LyX. We have spent some time and sent e-mails back and forth
> about how we can use the photographs in the biography section of IEEE
> documents. This is the point we have come so far.

write in latex preamble and not in the class-file!

\RequirePackage{graphicx}
\renewenvironment{biography}[2]{% % !AC
\footnotesize\unitlength 1mm\bigskip\bigskip\bigskip\parskip=0pt\par%
\rule{0pt}{39mm}\vspace{-39mm}\par%   garantees correct page breaking
\IfFileExists{#1}{%
 
\noindent\setbox0\hbox{\resizebox{25mm}{32mm}{\includegraphics[]{#1}}}%
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}}%
  {}% else nothing
  \dp0=0mm\ht0=0mm\box0\bf#2\rm%
  \list{}{
    \setlength{\leftmargin}{29mm}
    \item{}}%
}{ % !AC
  \endlist\par\rm\normalsize\addtolength{\parindent}{-29mm}}


and in the text

> {myimage} {Myname MyMiddlename MySurname} my biograph... blah blah....

no square brackets!!

Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/

Reply via email to