moderncv 仅适用于 oldstyle

moderncv 仅适用于 oldstyle

嗨,我正在尝试用该课程设置我的简历moderncv。当我尝试使用该选项编译代码时,\moderncvstyle{oldstyle}代码可以运行,但使用\moderncvstyle{casual}该选项时会中断,并且会出现很多错误。

pdftex version 3.14159265-2.6-1.40.20我在 manjaro linux 上运行。moderncv课程是version 2.0.0

我如何使用这个casual选项来运行它?

这里是 MWE:

\documentclass[11pt,a4paper,sans]{moderncv}      
%\moderncvstyle{oldstyle} 
\moderncvstyle{casual}                         
\moderncvcolor{blue} 
\usepackage[utf8]{inputenc}                       
\usepackage[ngerman]{babel}
\usepackage[scale=0.75]{geometry}

\name{Hans}{im Glück}
\title{M.Sc.}                             
\address{Glücksstr. 13}{55444 Glücksdorf}{Deutschland \medskip}% optional, remove / comment the line if not wanted; the "postcode city" and "country" arguments can be omitted or provided empty
\phone[mobile]{+49~(176)~111~2222}                   % optional, remove / comment the line if not wanted; the optional "type" of the phone can be "mobile" (default), "fixed" or "fax"
\phone[fixed]{+49~(765)~1234~5678}
%\phone[fax]{+3~(456)~789~012}
\email{[email protected]}                               % optional, remove / comment the line if not wanted

\photo[4,0cm][0.2pt]{bewerbungsbild.png}
%----------------------------------------------------------------------------------
%            content
%----------------------------------------------------------------------------------
\begin{document}



% #################################
% Lebenslauf......................

\makecvtitle

\section{Ausbildung}
% arguments 3 to 6 can be left empty
\cventry{10/04--05/05}{Master}{Karl Tux Institut für Technologie}{}{\textit{Note: 1,1}}{Pinguinkunde, Hauptfächer Prokrastination und Bummelei I, Celebrare maximus und systematische Zeitverschwendung.}

\end{document}

我收到的错误:

! Missing number, treated as zero.
<to be read again> 
                   }
l.32 \section{Ausbildung}

A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

! Illegal unit of measure (pt inserted).
<to be read again> 
                   }
l.32 \section{Ausbildung}

Dimensions can be in units of em, ex, in, pt, pc,
cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
I'll assume that you meant to say pt, for printer's points.
To recover gracefully from this error, it's best to
delete the erroneous units; e.g., type `2' to delete
two letters. (See Chapter 27 of The TeXbook.)

.........

感谢您的快速回答。如果我尝试编译您更正后的 MWE,我仍然会得到相同数量的错误。可能我没有充分指出我的错误比我在第一篇帖子中提到的两个错误还多,但日志太长了,无法在此处发布。我上传了整个日志文件Dropbox。除了错误之外,还有一些警告,例如

LaTeX Warning: You have requested package `moderncvfooti',
               but the package provides `moderncvfooti'.

...

LaTeX Warning: You have requested package `moderncvbodyi',
               but the package provides `moderncvbodyi'.

...

LaTeX Warning: You have requested package `moderncvheadii',
               but the package provides `moderncvheadii'.

....

LaTeX Font Warning: Font shape `U/fontawesometwo/m/sl' undefined

...

LaTeX Font Warning: Some font shapes were not available, defaults substituted


相关内容