TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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} 
share|improve this question
    
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}}]%
{name}
was born in ... on ... more text.
\end{IEEEbiography}
share|improve this answer
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

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}
share|improve this answer
    
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

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.

share|improve this answer
1  
Isn't that the same answer as the one by nickb, just with more spaces? – Johannes_B May 13 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 at 17:16

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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