現代 {CV} 問題

現代 {CV} 問題

我正在使用該modern CV包在 Latex 中創建簡歷。不幸的是,我有點著急,所以無法創建 MWE,但希望有眼尖的用戶能夠找出我哪裡出錯了!

我的程式碼只有兩個錯誤。我只是想在簡歷中插入要點。使用之前的答案,我插入了程式碼,但它不起作用:

\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

你有兩個錯誤。

  1. 在行

    \cvline{Dean's Merit List (obtaining an aggregate of over 70%)} {2009 - 2012}
    

    %\%

  2. \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} 

輸出:

在此輸入影像描述

相關內容