\documentclass[11.8pt,a4paper,sans]{moderncv}
\usepackage{verbatim}
% moderncv themes
\moderncvstyle{classic}
\moderncvcolor{blue}
% character encoding
\usepackage[utf8]{inputenc}
% adjust the page margins
\usepackage[scale=0.88]{geometry}
%\setlength{\hintscolumnwidth}{3cm}
%\AtBeginDocument{\setlength{\maketitlenamewidth}{6cm}}
\AtBeginDocument{\recomputelengths}
% personal data
\firstname{John}
\familyname{Doe}
\address{123 ABC St}{City, State zip code}
\mobile{9876543219}
\email{[email protected]}
\begin{document}
\maketitle
\end{document}
我怎样才能减少个人数据部分和之间的垂直长度\maketitle
?
答案1
\documentclass[11.8pt,a4paper,sans]{moderncv}
\usepackage{verbatim,lipsum}
% moderncv themes
\moderncvstyle{classic}
\moderncvcolor{blue}
% character encoding
\usepackage[utf8]{inputenc}
% adjust the page margins
\usepackage[scale=0.88]{geometry}
%\setlength{\hintscolumnwidth}{3cm}
%\AtBeginDocument{\setlength{\maketitlenamewidth}{6cm}}
\AtBeginDocument{\recomputelengths}
% personal data
\firstname{John}
\familyname{Doe}
\address{123 ABC St}{City, State zip code}
\mobile{9876543219}
\email{[email protected]}
\begin{document}
\maketitle
\vspace*{-8mm}%decrease the vertical length between the personal data section and \maketitle
\lipsum[3]
\end{document}