章の位置を変更する方法

章の位置を変更する方法

最初の章にのみ影響し、他の章はそのままでいいので、このコードがあります

\documentclass{book}
\usepackage{ragged2e}
 \begin{document}
\chapter*{ETAPA}
\label{cap:experimental}
this intro

\section{Exp}
this Exp SECTION


\chapter{ETAPA2}
\label{cap:experimental}
this intro

\section{Exp2}
this Exp SECTION

\end{document}

この結果が必要です:

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

答え1

番号の付いていない章 1 つだけにこれを実行し、すべての章に実行しないのは、あまり意味がありません。とにかく、ここにあります。

\documentclass{book}
\usepackage{etoolbox}

\usepackage{showframe} % for showing text block borders

\makeatletter
\newcommand{\differentchapter}[1]{%
  \begingroup
  \patchcmd{\@makeschapterhead}{50}{20}{}{}%
  \patchcmd{\@makeschapterhead}{40}{70}{}{}%
  \patchcmd{\@makeschapterhead}{\bfseries}{\centering\bfseries}{}{}%
  \chapter*{#1}%
  \endgroup
}
\makeatother

\begin{document}

\differentchapter{ETAPA}

this intro

\section{Exp}
this Exp SECTION

\chapter{ETAPA2}
\label{cap:experimental}
this intro

\section{Exp2}
this Exp SECTION

\end{document}

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

関連情報