In the following MWE, I have a 2-column document (created with paracol) where I tried to add both:
- a vertical whitespace between the top margin and the "Header", which worked by using
\vspace*{0.5cm}, and - a vertical whitespace between the "Header" and the "Sub-Header", still using
\vspace*{0.5cm}. However, that command did not work, and no whitespace was created between the "Header" and the "Sub-Header".
How to add a whitespace between the "Header" and the "Sub-Header" in my MWE?
\documentclass[12pt,english]{article}
\usepackage{paracol}
\usepackage{lipsum}
\usepackage{babel}
\usepackage{microtype}
\setlength\parindent{0pt}
\begin{document}
\begin{paracol}{2}
\lipsum[1]
\switchcolumn
\vspace{0.5cm}
{\LARGE Header}
\newline
\vspace{0.5cm}
{\Large Sub-Header}
\newline
\lipsum[1]
\end{paracol}
\end{document}


\newlinedoesn't put TeX in the mode needed for\vspaceto work. You need\par. (See the answer to the question referenced in the previous comment.) – barbara beeton Mar 29 '24 at 16:36