修改TeX简历模板.cls在education栏增加 "Advisor:XXX"

2019-12-26 10:27发布

%作者简历模板https://www.latexstudio.net/archives/51625.html %我想在{Ph.D\@. (candidate; to graduate in the f...

%作者简历模板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条回答
TeX 小白
2019-12-26 10:55
`resume.cls` 修改为: ```tex % \education % {} % #1 % [] % #2 % {} % #3 % {} % #4 % {} % #5 % {} % #6 % {} % #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} ```

一周热门 更多>