修改右边距

修改右边距

我是一个新手,使用 latex 来写简历。

我正在使用这个模板

\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{cv}{\spacedallcaps{Name Sirname}}\vspace{1.5em} % Your name

\spacedlowsmallcaps{Education}\vspace{1em}

\NewEntry{2014-present}{XYZ University}

\Description{\MarginText{Bachelor of Engineering}Current GPA: 9.25/10\ \ $\cdotp$\ \ 
\ Department: Electrical and Computer Engineering\newline 
Description: The following year, a specialization in Electronic Electrical and Computer Engineering is intended to be taken.
\newline
Expected Graduation: 2019\newline
}

如果有人能帮助我缩小右边距,我将不胜感激。

答案1

免责声明:请注意,这classicthesis会破坏 KOMA-Script 类的许多功能。因此不建议使用它。

classicthesis使用 KOMA-Script 命令\areaset来定义其特殊的文本宽度和高度。如果您只想使右边距变小,您可以将其设置usegeometry为类选项,然后在之后使用geometry选项加载包。right=...classicthesis

右边距示例为1cm

\documentclass[
  usegeometry% <- add this option
]{scrartcl}
\reversemarginpar % Move the margin to the left of the page 
\newcommand{\MarginText}[1]{\marginpar{\raggedleft\itshape\small#1}}

\usepackage[nochapters]{classicthesis}
\usepackage[right=1cm]{geometry}

\usepackage{lipsum}% for dummy text
\begin{document}
Text\MarginText{\lipsum[1]}

\lipsum
\end{document}

相关内容