0

enter image description hereI want to add my ID photo at the right of the biography because I used an article with two columns . How can I do it?

  • 1
    Sorry, I still don't understand. It would definitely help me to see an example of your code that shows us what you are doing, see https://tex.meta.stackexchange.com/q/228/35864. Without it I don't see any way I could help you. – moewe Jul 1 '18 at 9:16
  • 2
    Please add the full example code to your question. You should do that by pressing the edit button. You can also upload an image there. – moewe Jul 1 '18 at 19:39
  • 2
    @FaridaBOULAGHMEN Please read the link: minimal working example with bibliography (MWEB) – user36296 Jul 3 '18 at 17:24
  • 2
    It would be much easier to help you if you could share a reduced version of the code in text form so we can copy and paste it. Very few people will be happy to copy the code from a screenshot and the screenshot does not contain all the necessary information. – moewe Jul 3 '18 at 18:55
  • 2
    The idea of an MWE is to reduce the problem so much that it fits well within the character limits enforced on this site. You do not need to put up your entire paper here, just as much as necessary to reproduce the problem. See tex.meta.stackexchange.com/q/228/35864. For the MWE you can probably delete the entire text body (if necessary leave in a bit of filler text) and place only a few dummy entries in the bibliography. The picture gives us some hints, but it shows far to little of your document to give good help. – moewe Jul 3 '18 at 19:11
6

The following works for me. See also Displaying Bibliography Photo in IEEE Journal and the IEEEtran documentation.

The environment IEEEbiography takes an optional argument (in square brackets) with a command that provides the picture and a mandatory argument (in curly braces) that takes the name.

\begin{IEEEbiography}[{\includegraphics[width=1in,height=1.25in,clip,keepaspectratio]{example-image-duck}}]{Prof.\ van Duck}
<Your text here>
\end{IEEEbiography}

Note that the picture argument must be wrapped in curly braces since it contains square brackets itself. In the above example-image-duck should be replaced with the path to the photo. The measurements are taken from the IEEEtran documentation.

The environment IEEEbiographynophoto does not have an optional argument and does not show a picture.

\documentclass[journal]{IEEEtran}
\usepackage{graphicx}

\usepackage{lipsum}

\begin{document}
\lipsum[1-4]

\nocite{IEEEexample:book,IEEEexample:incollectionmanyauthors,
  IEEEexample:confwithvolume,IEEEexample:techrepstdsub,IEEEexample:article_typical,
  IEEEexample:articleetal,IEEEexample:conf_typical,IEEEexample:book_typical,
  IEEEexample:articlelargepages,IEEEexample:articledualmonths,IEEEexample:bookwitheditor,
  IEEEexample:inbook}

\bibliographystyle{IEEEtran}
\bibliography{IEEEabrv,IEEEexample}

\begin{IEEEbiography}[{\includegraphics[width=1in,height=1.25in,clip,keepaspectratio]{example-image-duck}}]{Prof.\ van Duck}
Prof.\ van Duck is an esteemed scientist at the University of Quackland. \lipsum[1]
\end{IEEEbiography}

\begin{IEEEbiographynophoto}{Prof.\ Quack}
Prof.\ van Quack is an esteemed scientist at the University of Quackland, but she does not get a picture. \lipsum[1]
\end{IEEEbiographynophoto}
\end{document}

enter image description here

  • +1 for the author name! – user36296 Jul 3 '18 at 20:15
  • +1 Prof. van Duck is very pleased to be esteemed <3<3<3 – CarLaTeX Jul 3 '18 at 20:23

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.