Wie schreibt man eine Widmung richtig?

Wie schreibt man eine Widmung richtig?

Ich versuche, in der Widmung einige vertikale Zeilenabstände zu machen. Aber ich konnte nicht herausfinden, wie das geht.

Hier ist der Code, den ich verwende:

\newenvironment{dedication}
  {\clearpage           % we want a new page
   \thispagestyle{empty}% no header and footer
   \vspace*{\stretch{1}}% some space at the top 
   \itshape             % the text is in italics
   \raggedleft          % flush to the right margin
  }
  {\par % end the paragraph
   \vspace{\stretch{3}} % space at bottom is three times that at the top
   \clearpage           % finish off the page
  }

Wenn ich versuche, eine leere Zeile zu erhalten, bekomme ich keine.

\begin{dedication}
ABC \\ \\ DEF
\end{dedication}

Und wie ändere ich bitte den Schriftstil Johnin diesem Code:

\begin{dedication}
ABC \\ \\ DEF \\ \\
John
\end{dedication}

Vielen Dank!

Antwort1

\documentclass{book}
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\newenvironment{dedication}
  {%\clearpage           % we want a new page          %% I commented this
   \thispagestyle{empty}% no header and footer
   \vspace*{\stretch{1}}% some space at the top
   \itshape             % the text is in italics
   \raggedleft          % flush to the right margin
  }
  {\par % end the paragraph
   \vspace{\stretch{3}} % space at bottom is three times that at the top
   \clearpage           % finish off the page
  }
\begin{document}
 \frontmatter              %% better to use this in book class
 \chapter{Dedication}
  \begin{dedication}
    ABC 
    \par   %% or a blank line
    \vspace{2\baselineskip}
    DEF

    \vspace{\baselineskip}
    \usefont{T1}{LobsterTwo-LF}{bx}{it}
    John
  \end{dedication}
%.
%.
%.
%.
\mainmatter             %% and use this for main chapters.
\chapter{Introduction}
\end{document}

Bildbeschreibung hier eingeben

Anstelle von \vspace{2\baselineskip}können Sie auch \medskipoder bigskipusw. verwenden. Eine weitere Möglichkeit ist die Verwendung von

ABC \\[2\baselineskip]
DEF

wie in den Kommentaren oben erwähnt.

Sie können den Schriftstil mit Standardbefehlen wie \normalfontusw. \sffamilyändern.

verwandte Informationen