ドキュメント クラス ブックの表紙が中央に配置されていません

ドキュメント クラス ブックの表紙が中央に配置されていません

私はドキュメント クラス ブックを使用しており、現在フロント ページをデザインしています。

私は次のように試します:

\documentclass{book}

\begin{document}

\thispagestyle{empty}

\begin{center}
FRONT PAGE \\
\end{center}

\newpage

\chapter{First chapter}

Foo

\end{document}

でも、この方法では中央に配置されません。少し左側にありますよね?

この問題を知って、解決方法を知っていただければ幸いです。

ご協力いただきありがとうございます!

答え1

最初のページに別のページレイアウトを定義します。

\documentclass{book}
\usepackage[showframe]{geometry}
\savegeometry{origin}
\geometry{rmargin=2cm,lmargin=2cm}% for the title page
\begin{document}

\thispagestyle{empty}    
\begin{center}
FRONT PAGE 
\end{center}

\loadgeometry{origin}% restore the orign margin setting
\chapter{First chapter}
Foo

\end{document}

ここに画像の説明を入力してください

関連情報