
5.2 하위 섹션으로 페이지를 시작하는 방법이 있습니까?
5.2 Section
5.2.5 Subsection
5.2.6 Subsection
그렇지 않으면 필요하지 않은 1 섹션과 0.1 하위 섹션을 얻게 됩니다. 어떤 종류의 패키지나 트릭이 있나요?
답변1
5.2 하위 섹션으로 페이지를 시작하는 방법이 있습니까?
어때?
\clearpage % start a new page here
\setcounter{section}{5}
\setcounter{subsection}{1}
\subsection{Hello World} % increments 'subsection' counter automatically (to "2")
답변2
하위 섹션의 번호 매기기를 임의로 설정하려는 것 같습니다. 여기 내 솔루션이 있습니다.
\newcommand{\asubsection}[2]{
\setcounter{subsection}{#1}
\addtocounter{subsection}{-1}
\subsection{#2}
}
그런 다음 다음과 같이 원하는 대로 하위 섹션에 번호를 할당합니다.
\asubsection{3}{The Dirac Field}
\label{TDF}
...
\asection{12}{The Renormalization Group}
... Also read subsection \ref{TDF}.
출력은 다음과 같습니다
우리는 상호 참조를 볼 수 있었습니다\ref{TDF}
와 방정식 번호 매기기가옳은하위 섹션 번호.