使用moderncv
软件包制作简历时,如何减少个人信息(例如电话、电子邮件等)与引文之间的间距?邮政我问的是同样的问题,但我试了解决方案中的 latex 代码,似乎不再起作用了。想知道是否有最新的解决方案。
答案1
此代码通过在引文前添加负空格(此例中为 -2em)来修改引文样式,从而控制引文与前面信息之间的空格。
(moderncv 2022-02-21 v2.3.1)
% !TeX TS-program = pdflatex
\documentclass[11pt,a4paper,sans]{moderncv}
\moderncvstyle{banking}
\moderncvcolor{blue}
\usepackage[utf8]{inputenc}
\usepackage[scale=0.85, top=1.5cm, bottom=1cm]{geometry}
\name{John}{Doe}
\title{Resumé title}
\address{street and number}{postcode city}{country}
\phone[mobile]{+1~(234)~567~890}
\phone[fixed]{+2~(345)~678~901}
\phone[fax]{+3~(456)~789~012}
\email{[email protected]}
\homepage{www.johndoe.com}
\social[linkedin]{john.doe}
\social[twitter]{jdoe}
\social[github]{jdoe}
\extrainfo{additional information}
\quote{As any dedicated reader can clearly see, the Ideal of practical reason
is a representation of, as far as I know, the things in themselves; as I
have shown elsewhere, the phenomena should only be used as a
canon for our understanding. }
\renewcommand*{\quotestyle}[1]{{\vspace*{-2em}\quotefont\textcolor{color1}{#1}}} % added <<<<<<<<<<<<<
\begin{document}
\makecvtitle
\section{Education}
\cventry{year--year}{Degree}{Institution}{City}{\textit{Grade}}{Description}
\cventry{year--year}{Degree}{Institution}{City}{\textit{Grade}}{Description}
\end{document}