12

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}}}
Name ... was born in ... more text.
\end{biography} 
  • Hint, by indenting your code with four spaces, it gets put in a code block. :) – qubyte Feb 19 '12 at 7:41
11

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}}]%
{name}
was born in ... on ... more text.
\end{IEEEbiography}
  • 1
    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
4

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]{name}
  was born in  ... on ...
\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
0

This worked for me (May 2016):

\begin{biography}[
{
\includegraphics[width=1in,height=1.25in,clip,keepaspectratio]{my-face.jpg}
}
]
{John Smith}
received a B.S. and M.S. in blah blah blah...
\end{biography}

I'm using the file ieeeconf.cls which begins

%% IEEEtran.cls 2002/11/18 version V1.6b
%% ...

I think you can download it here.

  • 2
    Isn't that the same answer as the one by nickb, just with more spaces? – Johannes_B May 13 '16 at 16:17
  • I needed to replace IEEEbiography with biography as Stefan noted. Also, I thought it would be helpful to include a link to the cls file in question. – ConvexMartian May 13 '16 at 17:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.