moderncv で個人情報と引用の間のスペースを減らす

moderncv で個人情報と引用の間のスペースを減らす

パッケージを使用して履歴書を作成する場合moderncv、個人情報(電話、電子メールなど)と引用の間のスペースを減らすにはどうすればよいでしょうか?役職まったく同じ質問をしていましたが、解決策の LaTeX コードを試したところ、動作しなくなったようです。これに対する最新の解決策があるかどうか疑問に思っています。

答え1

このコードは、引用符の前に負のスペース (この例では -2em) を追加して引用符のスタイルを変更し、引用符と前の情報の間のスペースを制御します。

(moderncv 2022-02-21 v2.3.1)

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}

関連情報