\documentclass[11pt,a4paper,sans]{moderncv}
\textheight=8in
\enlargethispage*{-2\baselineskip}
\moderncvstyle{banking}
\moderncvcolor{blue}
\usepackage[utf8]{inputenc}
\usepackage[scale=0.75]{geometry}
\usepackage{graphicx}
\usepackage{import}
\usepackage{textcomp,xpatch}
\usepackage[showframe]{geometry}
\setlength{\voffset}{-1.15in}
\setlength{\headsep}{5pt}
\xpatchcmd{\cventry}{\itshape#3}{#3}{}{}
\name{My}{Name}
\phone[mobile]{+123456789} \email{mynamegmail.com}
\begin{document}
\makecvtitle
\section{Objective}
\item{To secure a Research Assistantship position after my graduation in a field relating to my area of interest}
答案1
该类moderncv
使用包geometry
来定义书写区域和边距。
请不要geometry
使用类似命令来打扰\textheight=8in
!
请参阅以下代码(我用 注释掉不需要的命令geometry
)
\documentclass[11pt,a4paper,sans]{moderncv}
%\textheight=8in
%\enlargethispage*{-2\baselineskip}
\moderncvstyle{banking}
\moderncvcolor{blue}
\usepackage[utf8]{inputenc}
\usepackage[%
scale=0.75,
showframe
]{geometry}
\usepackage{graphicx}
\usepackage{import}
\usepackage{textcomp,xpatch}
%\setlength{\voffset}{-1.15in}
%\setlength{\headsep}{5pt}
\xpatchcmd{\cventry}{\itshape#3}{#3}{}{}
\name{My}{Name}
\phone[mobile]{+123456789}
\email{[email protected]}
\begin{document}
\makecvtitle
\section{Master thesis}
\cvitem{title}{\emph{Title}}
\cvitem{supervisors}{Supervisors}
\cvitem{description}{Short thesis abstract}
\section{Objective}
\cvitem{To secure a Research Assistantship position after my graduation in a field relating to my area of interest}{test}
\end{document}
及其结果:
要更改你的简历的布局,只需使用参数包 geometry
提供的内容(阅读在你的终端/控制台上输入的文档texdoc geometry
)。
例如,您可以使用选项top=1cm
来减少简历开始前的空间:
\usepackage[%
scale=0.75,
headsep=5pt, % <======================================================
top=1cm, % <==========================================================
showframe
]{geometry}
通过对代码进行这样的更改,geometry
您将获得
您可以根据需要更改几个参数/选项,只需阅读文档geometry
...