标题中的行距与标题

标题中的行距与标题

我想减少标题的行距。该怎么做?

\documentclass[a4paper,10pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}

\usepackage{titling}
\pretitle{\begin{center}\LARGE\scshape\bfseries}
\posttitle{\par\end{center}\vskip 0.5em}
\preauthor{\begin{center}\large\scshape\lineskip 0.5em\begin{tabular}[t]{l r}}
\postauthor{&}
\predate{\large\scshape}
\postdate{\end{tabular}\par\end{center}\vskip 0.5em}
\usepackage[indentafter]{titlesec}
\titleformat{\section}{\large\scshape}{\thesection.}{0.5em}{}
\titleformat {name=\section,numberless}{\large\scshape\filcenter}{}{0pt}{}

\title{Some very long title which has more than one row.}
\author{The author}

\begin{document}
\maketitle
\end{document}

答案1

在进入环境\linespread之前使用 :center\pretitle

\documentclass[a4paper,10pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage{titling}
\pretitle{\linespread{0.6}\begin{center}\LARGE\scshape\bfseries}
\posttitle{\par\end{center}\vskip 0.5em}
\preauthor{\begin{center}\large\scshape\lineskip 0.5em\begin{tabular}[t]{l r}}
\postauthor{&}
\predate{\large\scshape}
\postdate{\end{tabular}\par\end{center}\vskip 0.5em}
\usepackage[indentafter]{titlesec}
\titleformat{\section}{\large\scshape}{\thesection.}{0.5em}{}
\titleformat {name=\section,numberless}{\large\scshape\filcenter}{}{0pt}{}

\title{Some very long title which has more than one row.}
\author{The author}

\begin{document}

\maketitle

\end{document} 

在此处输入图片描述

相关内容