# Reduce blank space in moderncv template

I would like to know how I can reduce the blank space after the title in the moderncv latex template, look at the picture below :

EDIT :

\documentclass[10pt,a4paper]{moderncv}
\moderncvtheme[blue]{classic}
\usepackage[utf8]{inputenc}
\usepackage[top=0.3cm, bottom=1.0cm, left=1.2cm, right=1.2cm]{geometry}
% Largeur de la colonne pour les dates
\setlength{\hintscolumnwidth}{3.5cm}
\renewcommand*{\namefont}{\fontsize{20}{20}\mdseries\upshape}

\email{X}
%\homepage{X}
\mobile{X}
\usepackage{xpatch}
\\[2.5em]%
}{%
\\[1em]%
}{}{}
\quotestyle{\@quote}\end{minipage}\\[1em]}{}{}
\extrainfo{X}
\firstname{X}
\familyname{X}
\title{X}

\begin{document}
\maketitle


If you don't use quote:

\documentclass{moderncv}
\moderncvstyle{classic}
\usepackage[scale=0.8]{geometry}
\name{The name}{}
\title{Some title}
\phone[mobile]{123456789}
%\quote{some quote here}
\usepackage{xpatch}
\\[2.5em]%
}{%
\\[1em]%                   %%% change 1em to anything you like
}{}{}
\begin{document}
\maketitle
\section{Formations}

\end{document}


If you use quote:

\documentclass{moderncv}
\moderncvstyle{classic}
\usepackage[scale=0.8]{geometry}
\name{The name}{}
\title{Some title}
\phone[mobile]{123456789}
\quote{some quote here}
\usepackage{xpatch}
\\[2.5em]%
}{%
\\[1em]%
}{}{}
\quotestyle{\@quote}\end{minipage}\\[1em]}{}{}
\begin{document}
\maketitle
\section{Formations}

\end{document}

• Sorry I tried to add the code you proposed but it still doesn't work, I probably made a mistake (I'm very new to latex), please check my last edit. – otus Oct 9 '15 at 15:24
• @otus This works for the latest version of moderncv. Please check and update. – user11232 Oct 9 '15 at 15:40
• How can I update it ? i'm using a code given by a friend on this website : fr.sharelatex.com – otus Oct 9 '15 at 15:43
• – user11232 Oct 9 '15 at 15:46

Another easier solution is to put \vspace*{-1cm} after \maketitle.

source
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 1, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.39016637206077576, "perplexity": 3320.121341462687}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2020-29/segments/1593655886802.13/warc/CC-MAIN-20200704232817-20200705022817-00148.warc.gz"}