Wie wird der Titel in eine Widmung eingefügt?

Wie wird der Titel in eine Widmung eingefügt?

Ich möchte den Titel größer setzen, ohne die Ausrichtung des Absatzes der Widmung zu verlieren

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 
   \raggedleft
   \leftskip=5cm
   \parindent=10pt
   \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}

Antwort1

Sie können entwederUmfang(mit {... }oder \begingroup... \endgroup), um die Wirkung von einzuschränken \raggedleft, oder Sie können \justifyingvon verwenden.ragged2eum die Blocksatzdarstellung eines Absatzes nach etwas wie \raggedleftoder wiederherzustellen \centering:

Bildbeschreibung hier eingeben

\documentclass{article}

\usepackage{ragged2e}

\newenvironment{dedication}
  {\clearpage           % we want a new page
   \thispagestyle{empty}% no header and footer
   \vspace*{\stretch{1}}% some space at the top 
   \raggedleft          % Flush with right margin
   \section*{Dedication}% Formatting of dedication title (as section*)
   \itshape             % the text is in italics
   \justifying          % layout of dedication paragraph

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

verwandte Informationen