-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from cdesaintguilhem/pr-handle-sections
Split sectioning commands onto new lines
- Loading branch information
Showing
6 changed files
with
100 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
\section{Section test} | ||
|
||
Sectioning commands should be moved to their own line.\subsection{Result} Even if there are more than one.\subsection{Result 2} | ||
|
||
Also \section*{A} unnumbered sectioning commands \subsection*{B} should be split onto their own lines, even if there \subsubsection*{C} are more than one. | ||
|
||
All of this \part{D} should also hold \part*{E} for parts \chapter{F} and chapters \chapter*{G}. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
\section{Section test} | ||
|
||
Sectioning commands should be moved to their own line. | ||
\subsection{Result} Even if there are more than one. | ||
\subsection{Result 2} | ||
|
||
Also | ||
\section*{A} unnumbered sectioning commands | ||
\subsection*{B} should be split onto their own lines, even if there | ||
\subsubsection*{C} are more than one. | ||
|
||
All of this | ||
\part{D} should also hold | ||
\part*{E} for parts | ||
\chapter{F} and chapters | ||
\chapter*{G}. |