如何最好地制作带有照片的传记

如何最好地制作带有照片的传记

在此处输入图片描述我使用了两栏文章,我想在个人简介的右侧添加我的证件照,该怎么做?

答案1

以下对我有用。另请参阅在 IEEE 期刊中显示参考书目照片IEEEtran 文档

环境IEEEbiography采用一个可选参数(在方括号中),其中包含提供图片的命令和一个采用名称的强制参数(在花括号中)。

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

请注意,图片参数必须用花括号括起来,因为它本身包含方括号。上面的example-image-duck应该替换为照片的路径。测量值取自IEEEtran 文档

环境IEEEbiographynophoto没有可选参数并且不显示图片。

\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}

在此处输入图片描述

相关内容