如何更改標題「奉獻」的大小

如何更改標題「奉獻」的大小

我有這個代碼,並且想要更改標題“奉獻”20pts 的大小

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

答案1

像這樣?

  \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*)
   \begin{flushright}
    \fontsize{20pt}{20pt}\selectfont\bfseries Dedication
   \end{flushright}
   \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}

在此輸入影像描述

相關內容