0

I try to add additional space between two paragraphs but I'm getting the error:"There is no line here to end". I want to have exact two line breaks between each paragraph.

\documentclass[10pt, a4paper]{report}
\usepackage{graphicx}
\usepackage{ngerman}
\usepackage[utf8]{inputenc}
\usepackage{textcomp}
\usepackage[T1]{fontenc}
\usepackage{titling}
\usepackage{times}
\usepackage{setspace}

\vspace*{-2.54cm}
\begin{document}
\begin{center}
\fontsize{16}{0}\selectfont \textbf{some text}
\end{center}

\newline
\newline

\begin{center}
\fontsize{12}{0}\selectfont some other text
\end{center}

\end{document}
1

You might force \newline by adding \leavevmode before: \leavevmode\newline. (If you really want to do this)

  • \leavevmode\newline worked out perfectly. Thank you for your help! – gamma Dec 4 '17 at 14:54
  • If it works for you, you should accept the answer by clicking on the tick on the left. Thanks :) – bmv Dec 4 '17 at 15:02
  • 1
    @gamma doing this stops latex error checking so removes the error message but the error is still there and the layout will still be bad. – David Carlisle Dec 4 '17 at 19:40

Not the answer you're looking for? Browse other questions tagged or ask your own question.