4

Does scrartcl provide an option to modify the spacing of the \maketitle objects? For example, I would like to reduce the spacing between the title and the author, and author and date.

3
  • 2
    No, the spaces are hard-coded. If you want a different layout you should use the titlepage environment. Commented Aug 6, 2019 at 8:01
  • 1
    Can I make titlepage not put the title on a separate page? I.e., article layout, not book layout for title.
    – gTcV
    Commented Aug 6, 2019 at 8:12
  • There is an alternative approach, that does not require to edit your title, shared at tex.stackexchange.com/a/636852/34551
    – Clément
    Commented Mar 12, 2022 at 16:05

1 Answer 1

3

Yes you can! Just abuse the command \addtokomafont and (if needed) put a command into the title:

\documentclass{scrartcl}
\usepackage[T1]{fontenc}

\title{\vspace*{-4\baselineskip}Title of the document}
\subtitle{with a subtitle}
\author{gTcV}
\date{2019/08/06}

\addtokomafont{author}{\vspace*{2em}}
\addtokomafont{date}{\vspace*{-1em}}

\begin{document}
\maketitle{}

Text below the title.

\end{document}
7
  • Now, that's out of the box thinking! Commented Mar 4, 2022 at 12:20
  • Any ideas about reducing the space after the date? Commented Mar 4, 2022 at 12:25
  • @FaheemMitha Add \vspace*{-2cm} to the beginning of the next element, here »Text below the title.«
    – Keks Dose
    Commented Mar 4, 2022 at 12:36
  • So, add it just before "Text below the title."? Commented Mar 4, 2022 at 12:44
  • Note: If you use the same letter code multiple times within a document (as would be the case with a form letter), the line \addtokomafont{date}{\vspace*{-1em}} keeps adding that space each time the letter code is run, which is probably not what you want. If there is a better approach, I would like to know of it. Commented Mar 7, 2022 at 19:13

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .