
こんにちは。クラスを使用して CV を設定しようとしています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をコンパイルしようとすると、同じ数のエラーが発生します。おそらく、最初の投稿で言及した2つよりも多くのエラーがあったことを十分に指摘しなかったのでしょうが、ログが長すぎてここに投稿できません。ログファイル全体をアップロードしました。ドロップボックスエラー以外にも、次のような警告がいくつかあります。
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