提问于:
浏览数:
2873
%作者简历模板https://www.latexstudio.net/archives/51625.html
%我想在“{Ph.D\@. (candidate; to graduate in the first half of 2019)}”正下方,另起两行分别加入“Thesis:XXXXXXXXX” 以及 “Advisor: XXX”。可是总是出错,作者在.cls文件中对education进行了定义,不知如何修改该文件。
%作者.TeX文件code片段:
%======================================================================
2 回答
1
`resume.cls` 修改为:
```tex
% \education
% {<start>} % #1
% [<end>] % #2
% {<school>} % #3
% {<department>} % #4
% {<major>} % #5
% {<degree>} % #6
% {<advisor>} % #7
\NewDocumentCommand{\education}{m o m m m m o}{
\ifdef{\@zh}{%
\IfValueTF{#2}{#2}{现在} & \textbf{#3} \textbullet #4 \\*
#1 & #5 \textbullet #6 \\
}{%
\IfValueTF{#2}{#2}{present} & #4, \textbf{#3} \\*
#1 & #6 in #5 \\
\IfValueT{#7}{Advisor & #7 \\}
}
}
```
`resume.tex` 修改为:
```tex
\begin{educations}
\education%
{September 2013}%
[September 2019]%
{Shanghai Jiao Tong University}%
{School of Physics and Astronomy}%
{Physics}%
{Ph.D.}%
[Prof. Three Zhang] % <== 此处为方括号
\separator{0.5ex}
\education%
{September 2009}%
[June 2013]%
{Shanghai Jiao Tong University}%
{Department of Physics and Astronomy}%
{Applied Physics}%
{Bachelor's Degree}
\end{educations}
```
0
![](/static/images/ext/zip.gif)<a href="https://static.latexstudio.net/data/attach/201912/637bc82a123a3e5.zip" target="_blank">resume-master.zip</a>
我将自己手动改后的内容作为附件上传到这里。
你自己根据需求来看吧。
你的回答
请登录后回答
你的回答将会帮助更多人,请务必认真回答问题。