无需附加软件包即可更改模板 CV 源代码的边距(未解决)

无需附加软件包即可更改模板 CV 源代码的边距(未解决)

我想在以下代码中更改右侧的边距。如何才能仅加宽 RHS 中的边距?

编辑:我不想再添加任何软件包,因为它会弄乱此模板的其余格式 - 有人能帮我用现有软件包编辑此源代码以更改 RHS 边距吗?非常感谢!

在此处输入图片描述

\documentclass{scrartcl}

\reversemarginpar % Move the margin to the left of the page 

\newcommand{\MarginText}[1]{\marginpar{\raggedleft\itshape\small#1}} % New command defining the margin text style

\usepackage[nochapters]{classicthesis} % Use the classicthesis style for the style of the document
\usepackage[LabelsAligned]{currvita} % Use the currvita style for the layout of the document

\renewcommand{\cvheadingfont}{\LARGE\color{Maroon}} % Font color of your name at the top

\usepackage{hyperref} % Required for adding links   and customizing them
\hypersetup{colorlinks, breaklinks, urlcolor=Maroon, linkcolor=Maroon} % Set link colors

\newlength{\datebox}\settowidth{\datebox}{Spring 2011} % Set the width of the date box in each block

\newcommand{\NewEntry}[3]{\noindent\hangindent=2em\hangafter=0 \parbox{\datebox}{\small \textit{#1}}\hspace{1.5em} #2 #3 % Define a command for each new block - change spacing and font sizes here: #1 is the left margin, #2 is the italic date field and #3 is the position/employer/location field
\vspace{0.5em}} % Add some white space after each new entry

\newcommand{\Description}[1]{\hangindent=2em\hangafter=0\noindent\raggedright\footnotesize{#1}\par\normalsize\vspace{1em}} % Define a command for descriptions of each entry - change spacing and font sizes here

\begin{document}

\thispagestyle{empty} % Stop the page count at the bottom of the first page

\begin{cv}{\spacedallcaps{John Smith}}\vspace{1.5em} % Your name

\noindent\spacedlowsmallcaps{Personal Information}\vspace{0.5em} % Personal information heading

\NewEntry{}{\textit{Born in Canada,}}{20 November 1987} % Birthplace and date

\NewEntry{email}{\href{mailto:[email protected]}{[email protected]}} % Email address

\NewEntry{website}{\href{http://www.johnsmith.com}{http://www.johnsmith.com}} % Personal website

\NewEntry{phone}{(H) +1 (000) 111 1111\ \ $\cdotp$\ \ (M) +1 (000) 111 1112} % Phone number(s)

\vspace{1em} % Extra white space between the personal information section and goal

\noindent\spacedlowsmallcaps{Goal}\vspace{1em} % Goal heading, could be used for a quotation or short profile instead

\Description{Gain fundamental experience in my area of interest and expertise.}\vspace{2em} % Goal text

\noindent\spacedlowsmallcaps{Work Experience}\vspace{1em}

\NewEntry{2012--Present}{1\textsuperscript{st} Year Analyst, \textsc{Lehman Brothers}}

\Description{\MarginText{Lehman Brothers}Developed spreadsheets for risk analysis on exotic derivatives on a wide array of commodities (ags, oils, precious and base metals), managed blotter and secondary trades on structured notes, liaised with Middle Office, Sales and Structuring for bookkeeping. \\ Reference: John \textsc{McDonald}\ \ $\cdotp$\ \ +1 (000) 111 1111\ \ $\cdotp$\ \ \href{mailto:[email protected]}{[email protected]}}

\end{cv}

\end{document}

答案1

最简单的方法是使用几何包,但你可以尝试

\addtolength\oddsidemargin{<lenght>}

其中长度是您想要改变奇数边距的量,并且

\addtotlength\textwidth{<lenght>}

其中长度再次是您想要增加文本宽度的量。

详情请参阅维基百科(页面布局)

相关内容