我一直在尝试在节和小节之间添加空格,因为它看起来很窄(moderncv
)。任何帮助都将不胜感激。
这是我的代码:
\documentclass[11pt,a4paper]{moderncv}
% moderncv themes
\moderncvtheme[blue]{casual} % optional argument are 'blue' (default), 'orange', 'red', 'green', 'grey' and 'roman' (for roman fonts, instead of sans serif fonts)
%\moderncvtheme[green]{classic} % idem
% character encoding
\usepackage[english,ngerman]{babel}
\usepackage[utf8]{inputenc}
% replace by the encoding you are using
\newcommand{\localtextbulletone}{\textcolor{color1}{$\vcenter{\hbox{\tiny$\bullet$}}$}}%Changes Item List bullet size and color
\renewcommand{\labelitemi}{\localtextbulletone}%Sets the new bullet type
% adjust the page margins
\usepackage[scale=0.8]{geometry}
\usepackage{graphicx}
\setlength{\hintscolumnwidth}{3cm} % if you want to change the width of the column with the dates
%\AtBeginDocument{\setlength{\maketitlenamewidth}{6cm}} % only for the classic theme, if you want to change the width of your name placeholder (to leave more space for your address details
%\AtBeginDocument{\recomputelengths} % required when changes are made to page layout lengths
\renewcommand{\sfdefault}{\rmdefault} %?ndert die schriftart
\begin{document}
\maketitle
\section{Zu meiner Person}
\cvline{Geboren}{am 07.06.1983 in Berlin}
\cvline{Familienstand}{ledig}
\section{Studium}
\subsection{Masterstudium 'Volkswirtschaftslehre'}
\cvline{09/2009 - 09/11}{\textbf{Birkbeck, University of London, UK, }\newline \emph{Schwerpunkte: Wachstums?konomie, Makroökonometrie und Statistik}}
\subsection{Masterthesis:}
\cvline{Titel}{\emph{Mugabe's Monetized Budget Deficit - The Epitome of Zimbabwe's Economic Tragedy?-An Investigation into the Causes of Zimbabwe's Hyperinflation and the Options
for its Monetary Regime.}}
\cvline{Betreuer}{Prof. Ron Smith and Prof. John Driffle}
\subsection{Bachelorstudium 'Volkswirtschaftslehre \& Finanzen'}
\cvline{09/2006 - 07/09}{\textbf{London Metropolitan Business School, UK,}\emph{ (Note: 1,0)}}
\subsection{Bachelorthesis, durchgef?hrt als zwei Teilprojekte:}
\cvline{1st. Thesis}{\emph{The Yuan: America's Foreign Boogeyman? An Investigation into the Chinese Exchange Rate Regime. (Note: 1,0)}}
\cvline{2nd.Thesis}{\emph{Is Outsourcing really as bad as its critics allege? (Note: 1,0)}}
\cvline{Betreuer}{Prof. Steven Smith \& Prof. Craig Duckworth}
\section{Beruflicher Werdegang}
\cvline{02/2012 - 04/12}{\textbf{Schneider Trading Associates, London, UK}\newline
{\empty}{Trading Floor Training Programme: Proprietary Trading}}
答案1
样式moderncv
文件(在我的系统中,此文件位于/usr/share/texlive/texmf-dist/tex/latex/moderncv/moderncvstylecasual.sty
)重新定义了\section
命令。将该\RenewDocumentCommand
部分复制到文件的前言部分.tex
,并放在\makeatletter
其上方和\makeatother
下方,如下所示:
% Increase the vertical spacing between the sections
\makeatletter
\RenewDocumentCommand{\section}{sm}{%
\par\addvspace{1cm}%
\phantomsection{}% reset the anchor for hyperrefs
\addcontentsline{toc}{section}{#2}%
\parbox[t]{\hintscolumnwidth}{\strut\raggedleft\raisebox{\baseletterheight}{\color{color1}\rule{\hintscolumnwidth}{0.95ex}}}%
\hspace{\separatorcolumnwidth}%
\parbox[t]{\maincolumnwidth}{\strut\sectionstyle{#2}}%
\par\nobreak\addvspace{1ex}\@afterheading}% to avoid a pagebreak after the heading
\makeatother
垂直空间的实际变化是在线上(默认值为2.5ex
):
\par\addvspace{1cm}%