我正在尝试从后一页中删除名字和姓氏,并添加标题,如下面的屏幕截图所示。
附言:所有数据都是假的。
\documentclass[11pt,a4paper]{moderncv}
\moderncvtheme[red]{casual} %[blue, green, orange, red, grey]{casual, classic}
%\setlength{\hintscolumnwidth}{4cm}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setlength{\hintscolumnwidth}{4cm} %Laenge link
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{lmodern}
\renewcommand{\baselinestretch}{1.5}
\usepackage{lipsum}
\usepackage{ragged2e}
\usepackage{eurosym}
\usepackage[ngerman]{babel}
\usepackage{amsmath}
\usepackage[utf8]{inputenc}
\firstname{Alex}
\familyname{Tree}
\title{Lebenslauf}
\address{Steinwasser Weg 22}{54558 Bremen}
\mobile{0176/ 4444 53 451 }
\email{[email protected]}
\photo[3.5cm]{alexsbild}
\begin{document}
\maketitle
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\clearpage
\recipient{Test Address}{
Nicestr. 30\\67890
Bremen}
\date{\today}
\opening{Sehr geehrter Herr Fischer,}% Sehr geehrte Damen und Herren
\closing{Freundliche Grüße,}
\enclosure[Attached]{curriculum vit\ae{}} % use an optional argument to use a string other than "Enclosure", or redefine \enclname
\makelettertitle
\begin{justify}
Sie erhalten heute meine Unterlagen zur Initiativbewerbung.
\cvline{}{}{}
Freundliche Grüße, \\
Alex Tree
\end{justify}
\end{document}
答案1
你可以
\let\makeletterfoot\makecvfoot
使简历和信件部分的页脚相等。此外,我还添加了center
ed 标题\opening
(进行了一些垂直调整):
\documentclass{moderncv}
\moderncvtheme[red]{casual}
\let\makeletterfoot\makecvfoot
\firstname{Who}\familyname{Cares}
\title{A title}
\address{Street Name}{City Name}
\mobile{1-234-567-8901}
\email{[email protected]}
\photo[3.5cm]{example-image}
\begin{document}
\maketitle
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\clearpage
\recipient{Test Address}{Street Name \\ City Name}
\date{\today}
\opening{%
\begin{center}
\vspace{-\baselineskip}
\bfseries Some heading in bold font
\end{center}%
Opening,}
\makelettertitle
Here is some more content.
\end{document}