24小时热门版块排行榜    

查看: 1504  |  回复: 4
【悬赏金币】回答本帖问题,作者LHF菲将赠送您 5 个金币

LHF菲

银虫 (正式写手)

[求助] 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里面位置却发生了变化,请问这是哪里出了问题
回复此楼

» 猜你喜欢

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

LHF菲

银虫 (正式写手)

两个模板都是在jpg照片的文件夹下,只有trans编译后位置变了
2楼2020-06-22 20:52:37
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

LHF菲

银虫 (正式写手)

这是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
3楼2020-06-22 21:08:01
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

LHF菲

银虫 (正式写手)

place photo here的地方仍然是模板里的空框,但是图片跑到简介第一行的中间去了
4楼2020-06-22 21:10:58
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

LHF菲

银虫 (正式写手)

原来是我加粗的部分应该放在includegraphhics命令后面啊
5楼2020-06-22 21:30:17
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 LHF菲 的主题更新
不应助 确定回帖应助 (注意:应助才可能被奖励,但不允许灌水,必须填写15个字符以上)
信息提示
请填处理意见