
Olá, estou tentando configurar meu currículo com a moderncv
turma. Quando simplesmente tento compilar o código com a \moderncvstyle{oldstyle}
opção o código funciona, mas com \moderncvstyle{casual}
ele quebra e recebo muitos erros.
Estou rodando pdftex version 3.14159265-2.6-1.40.20
em manjaro linux. A moderncv
aula é version 2.0.0
.
Como faço para que isso funcione com a casual
opção?
Aqui um 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}
O erro que recebi:
! 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.)
.........
Obrigado pela sua resposta rápida. Se eu tentar compilar seu MWE corrigido, ainda recebo a mesma quantidade de erros. Provavelmente não mencionei o suficiente que tive mais erros do que os dois mencionados no meu primeiro post, mas o log é muito longo para postar aqui. Eu carreguei todo o arquivo de log emDropbox. Além dos erros, existem alguns avisos como
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