latex简介里插入作者照片发现照片位置不对怎么修改
\begin{IEEEbiography}[{\includegraphics[width=1in,height=1.25in,clip,keepaspectratio]{zhangsan.eps}}]{Zhang San}
Biography of Zhangsan should be here.
\end{IEEEbiography}
原格式是这样的,当我编译完之后也没有报错,但是照片跑到了加粗的姓名后面,图片的底部跟简介的第一行齐平,图片的左右两边还增加了两个方括号。
照片本应位于简介文字的左边,access里也是这么写的没有出错,反而trans里面位置却发生了变化,请问这是哪里出了问题
返回小木虫查看更多
今日热帖
京公网安备 11010802022153号
两个模板都是在jpg照片的文件夹下,只有trans编译后位置变了
这是cls文件里的
\def\@IEEEtempbiographybox{{\setlength{\fboxsep}{0pt}\framebox{%
\begin{minipage}[\@IEEEBIOphotodepth][c]{\@IEEEBIOphotowidth}\centering PLACE\\ PHOTO\\ HERE \end{minipage}}}}%
%
% detect if the optional argument was supplied, this requires the
% \@ifmtarg command as defined in the appendix section above
% and if so, override the default box with what they want
\@ifmtarg{#1}{\relax}{\def\@IEEEtempbiographybox{\mbox{\begin{minipage}[\@IEEEBIOphotodepth][c]{\@IEEEBIOphotowidth}%
\centering%
#1%
\end{minipage}}}}% end if optional argument supplied
% Make an entry into the table of contents only if we have not done so before
\if@IEEEbiographyTOCentrynotmade%
% link labels to the biography counter so hyperref will jump
% to the biography, not the previous section
\setcounter{IEEEbiography}{-1}%
\refstepcounter{IEEEbiography}%
\addcontentsline{toc}{section}{Biographies}%
\global\@IEEEbiographyTOCentrynotmadefalse%
\fi%
% one more biography,
place photo here的地方仍然是模板里的空框,但是图片跑到简介第一行的中间去了
原来是我加粗的部分应该放在includegraphhics命令后面啊