Wie man einen Titel in eine „Widmung“ einfügt

Wie man einen Titel in eine „Widmung“ einfügt

Ich möchte den Titel größer machen und ihn schöner machen. Mein Code hat dieses Ergebnis, aber ich brauche mehr Titel

Bildbeschreibung hier eingeben

\documentclass[a4paper,12pt]{article}
\usepackage[paper=a4paper,left=30mm,right=20mm,top=25mm,bottom=30mm]{geometry}

\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
  }

\begin{document}
\begin{dedication}
Dedicated to google and wikipedia by models (SaaS, PaaS, and IaaS), the CP provides the storage and processing facilities
needed to support that service model, together with a cloud interface for cloud
service consumers. For SaaS, the CP deploy
\end{dedication}
\end{document}

Antwort1

\section*{Dedication}Es scheint, dass Sie es einfach an der richtigen Stelle in Ihrer Definition hinzufügen müssen .

Bitte beachten Sie den folgenden Code:

\documentclass[a4paper,12pt]{article}
\usepackage[paper=a4paper,left=30mm,right=20mm,top=25mm,bottom=30mm]{geometry}

\newenvironment{dedication}
  {\clearpage           % we want a new page
   \thispagestyle{empty}% no header and footer
   \vspace*{\stretch{1}}% some space at the top 
  \section*{Dedication} % <==========================================
   \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}
\begin{dedication}
Dedicated to google and wikipedia by models (SaaS, PaaS, and IaaS), the CP provides the storage and processing facilities
needed to support that service model, together with a cloud interface for cloud
service consumers. For SaaS, the CP deploy
\end{dedication}
\end{document}

und das Ergebnis:

Widmung mit Titel

Um den Titel nach links zu verschieben, bewegen Sie sich einfach \raggedleftvor \section*:

\documentclass[a4paper,12pt]{article}
\usepackage[paper=a4paper,left=30mm,right=20mm,top=25mm,bottom=30mm]{geometry}

\newenvironment{dedication}
  {\clearpage           % we want a new page
   \thispagestyle{empty}% no header and footer
   \vspace*{\stretch{1}}% some space at the top 
   \raggedleft          % flush to the right margin <===============
   \section*{Dedication} % <========================================
   \itshape             % the text is in italics

  }
  {\par % end the paragraph
   \vspace{\stretch{3}} % space at bottom is three times that at the top
   \clearpage           % finish off the page
  }

\begin{document}
\begin{dedication}
Dedicated to google and wikipedia by models (SaaS, PaaS, and IaaS), the CP provides the storage and processing facilities
needed to support that service model, together with a cloud interface for cloud
service consumers. For SaaS, the CP deploy
\end{dedication}
\end{document}

und das Ergebnis ist:

Titel links

verwandte Informationen