我正在使用该modern CV
软件包在 Latex 中创建简历。不幸的是,我有点着急,所以无法创建 MWE,但希望有一位眼尖的用户可以找出我哪里出错了!
我的代码有两个错误。我只是想在 CV 中插入要点。使用之前的答案,我插入了代码,但它不起作用:
\cventry{Feb 2012 - Nov 2014}{Ecnomics and Statistics Tutor}{University of Cape Town}{Cape Town}{}
\begin{itemize}[label=\textbullet]
\item{\textbf{Statistics}:}Prepared tutorials, marked tests and projects and participating in computer lab sessions.
\item{\textbf{Economics}}: Ensured timely upload of documents and other administrative duties
\end{itemize}
其次,以下代码无法运行,我不知道为什么,特别是因为它下面的部分(计算机技能部分)有效......
\section{Awards}
\cvline{UCT Masters Research Scholarship}{2013 - 2014}
\cvline{Commerce Faculty Merit Scholarship} {2010 - 2012}
\cvline{Dean's Merit List (obtaining an aggregate of over 70%)} {2009 - 2012}
\section{Computer skills}
\cvline{Intermediate}{\small Stata, \LaTeX}
\cvline{Expert}{\small Word, Excel, Powerpoint}
答案1
你有两个错误。
在行中
\cvline{Dean's Merit List (obtaining an aggregate of over 70%)} {2009 - 2012}
%
用。。。来代替\%
\cventry
有六个参数,而你只给了它五个。因此写\cventry{Feb 2012 - Nov 2014}{Ecnomics and Statistics Tutor}{University of Cape Town}{Cape Town}{}{}
代替
\cventry{Feb 2012 - Nov 2014}{Ecnomics and Statistics Tutor}{University of Cape Town}{Cape Town}{}
梅威瑟:
\documentclass[11pt,a4paper,sans]{moderncv}
\usepackage{enumitem}
\moderncvstyle{casual}
\moderncvcolor{blue}
\name{John}{Doe}
\begin{document}
\section{Awards}
\cvline{UCT Masters Research Scholarship}{2013 - 2014}
\cvline{Commerce Faculty Merit Scholarship} {2010 - 2012}
\cvline{Dean's Merit List (obtaining an aggregate of over 70\%)} {2009 - 2012}
\section{Computer skills}
\cvline{Intermediate}{\small Stata, \LaTeX}
\cvline{Expert}{\small Word, Excel, Powerpoint}
\cventry{Feb 2012 - Nov 2014}{Ecnomics and Statistics Tutor}{University of Cape Town}{Cape Town}{}{}
\begin{itemize}[label=\textbullet]
\item{\textbf{Statistics}:}Prepared tutorials, marked tests and projects and participating in computer lab sessions.
\item{\textbf{Economics}}: Ensured timely upload of documents and other administrative duties
\end{itemize}
\end{document}
编辑(根据 OP 的评论)
如果您想要将这些itemize
项目与其上方的条目对齐,请将以下选项添加到itemize
:
leftmargin=\hintscolumnwidth+\separatorcolumnwidth
\hintscolumnwidth
是 a 的第一列的宽度\cventry
,\separatorcolumnwidth
是分隔符的宽度。请注意,这可以以这种方式完成(没有\dimexpr
),因为moderncv
加载calc
。
梅威瑟:
\documentclass[11pt,a4paper,sans]{moderncv}
\usepackage{enumitem}
\moderncvstyle{casual}
\moderncvcolor{blue}
\name{John}{Doe}
\begin{document}
\section{Awards}
\cvline{UCT Masters Research Scholarship}{2013 - 2014}
\cvline{Commerce Faculty Merit Scholarship} {2010 - 2012}
\cvline{Dean's Merit List (obtaining an aggregate of over 70\%)} {2009 - 2012}
\section{Computer skills}
\cvline{Intermediate}{\small Stata, \LaTeX}
\cvline{Expert}{\small Word, Excel, Powerpoint}
\cventry{Feb 2012 - Nov 2014}{Ecnomics and Statistics Tutor}{University of Cape Town}{Cape Town}{}{}
\begin{itemize}[label=\textbullet,leftmargin=\hintscolumnwidth+\separatorcolumnwidth]
\item{\textbf{Statistics}:}Prepared tutorials, marked tests and projects and participating in computer lab sessions.
\item{\textbf{Economics}}: Ensured timely upload of documents and other administrative duties
\end{itemize}
\end{document}
输出: