我尝试使用包geometry
: 减少左边距\usepackage[scale=0.90, top=0.5cm, bottom=1cm]{geometry}
,但无法缩小经验部分中日期所在的列。我是 LaTeX 新手,找不到合适的解决方案?
\documentclass[11pt,a4paper,sans]{moderncv}
\moderncvstyle{classic}
\moderncvcolor{orange}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{xcolor}
\usepackage{color}
\usepackage{lmodern}
\usepackage{enumitem}
\usepackage{eurosym}
%\usepackage[super]{nth}
\usepackage[scale=0.90, top=0.5cm, bottom=1cm]{geometry} %If you want to change the page margins, you simply need to change this line
\setlength{\hintscolumnwidth}{2.5cm}
\name{David}{Doe}
%\title{Audit, Risk and Compliance\newline{}PMP®, ITIL, CRISC}
\title{PMP®, ITIL, CRISC}
%\address{}{}{}
\phone[mobile]{+XXXXXXXX}
\email{emil.com}
\social[linkedin][WWWWW]{ZZZZ}
\photo[80pt][0pt]{David_linkedn}
\renewcommand{\cventry}[7][.25em]{%
\cvitem[#1]{#2}{%
{\bfseries#3}%
\ifthenelse{\equal{#4}{}}{}{, {\slshape#4}}%
\ifthenelse{\equal{#5}{}}{}{, #5}%
\ifthenelse{\equal{#6}{}}{}{, #6}%
.\strut%
\newline{\small\strut #7 \par}}}
\renewcommand{\cvitem}[3][.25em]{%
\begin{mycvlist}
\item[#2] #3
\end{mycvlist}
\addvspace{#1}}
\newlist{mycvlist}{description}{1}
\setlist[mycvlist]{labelwidth=\hintscolumnwidth,labelsep=\separatorcolumnwidth,leftmargin=!,align=right,font=\normalfont}
\usepackage{lipsum} %Just for dummy text
%\title{Resum\'e title}
%----------------------------------------------------------------------------------
% content
%----------------------------------------------------------------------------------
\begin{document}
\makecvtitle
\section{Professional Statement }
ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
\begin{itemize}
\item \begin{center} item1 \end{center}
\item \begin{center} item2 \end{center}
\item \begin{center} item2 \end{center}
\end{itemize}
%I'm seeking new challenge and opportunity to leverage that experience in a Global Pharmaceutical Company.
\section{Experience}
\cventry{Since \linebreak March 2019}{
DDDDDDDDDDDDDDDDDD}{\href{http://www.DDD.com//}{DDDDDA}}{SSSSS}{}{LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL
Main achievements:%
\begin{itemize}%
\item \textit {\textbf{GGGGGGGGGGGGGGGGGGGGGGGGGGGGggg }}
\begin{itemize}%
\item \textbf{Key Highlight}: GGGGGGGGGGGGGGGGGGGGGGGGGGgggg
\item \textbf{Purpose}: GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG
\item \textbf{Results}:
\begin{itemize}
\item KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK
\item GGGGGGGGGGGGGGGGGGGGGGGGGGGgg
\item GGGGGGGGGGGGGGGGGGGGGGGGgggg
\end{itemize}
\end{itemize}
答案1
\setlength{\hintscolumnwidth}{2.5cm}
在您的示例中,日期列的宽度是用线设置的。
由于您是 TeX 的新手,因此,当您使用不熟悉的新软件包时,一个很好的一般建议是先阅读一下加拿大运输安全局,搜索包裹,并浏览其相关文档。
不幸的是,在这种情况下,该包moderncv
在 CTAN 中没有正确的手册,但是如果你去GitHub 存储库, 有PDF 用户指南。这可能对进一步的修改有用。