# How to insert the author picture in the biography picture box of the IEEE LaTeX Template

How do I put the author picture in the picture frame box of a journal paper? I tried using this code but the picture wasn't placed in the box, it is outside the box. Here is the code:

\begin{biography}{{\includegraphics[width=25mm,height=32mm,clip,keepaspectratio]{a.eps}}}
Katende Allan was born in  Rubaga,Wakiso District, on the 6th of August 1989.
He is a final year student persuing a Bachelors Degree  in Mechanical engineering
from Makerere University, Kampala, Uganda.  He is currently in piloting a project
in Mechatronics on the Design,Simulation\&Control of an articular drilling arm
with a major emphasis on Electronics\&Controls.
\end{biography}


Here is the outcome of the PDF:

-
Hint, by indenting your code with four spaces, it gets put in a code block. :) –  qubyte Feb 19 '12 at 7:41

You're using the wrong biography environment. You need to use the IEEEbiography environment. Here is the correct code:

\begin{IEEEbiography}[{\includegraphics[width=1in,height=1.25in,clip,keepaspectratio]{a.eps}}]%
{Katende Allan}
was born in Rubaga, Wakiso District, on the 6th of August 1989. He is a final year
student persuing a Bachelors Degree in Mechanical engineering from Makerere
University, Kampala, Uganda. He is currently in piloting a project in Mechatronics
on the Design,Simulation \& Control of an articular drilling arm with a major
emphasis on Electronics \& Controls.
\end{IEEEbiography}

-
In ieee.cls (as IEEE is in the title) of 2000/01/11 there's no IEEEbiography environment, but a biography environment with optional argument for the picture file name. I confirm your solution works with IEEEtran though, as the tag may lead to. –  Stefan Kottwitz Feb 20 '12 at 6:52

The question has also been posted on LaTeX-Community.org: IEEE.cls Template & Author Photo.

As I wrote there: the biography environment works without \includegraphics, and with square brackets, since the picture argument is optional:

\begin{biography}[a.eps]{Katende Allan}
was born in  Rubaga,Wakiso District, on the 6th of August 1989...
\end{biography}

-
I tried doing this and it does not work. Do you have any other suggestions to get this working. –  user62089 Aug 20 '13 at 14:28
@user62089 Perhaps post a new question with details. "does not work" isn't enough, since for me it does. Your situation might be something different. –  Stefan Kottwitz Aug 20 '13 at 17:32