I write my PhD with Latex and decided that every part of a chapter (every subsection) has to be separate document. Its much easier for me that way. Problem is that Latex breaks page after each document that you \include. Its like it automatically uses \clearpage command.
Is there a way to tell Latex not to do that? Like some \dontclearpage command or smth?
Page Layout ⇒ Opposite from \clearpage
NEW: TikZ book now 40% off at Amazon.com for a short time.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Opposite from \clearpage
Just use the \input command. The \include command internally is a sequence of commands.
Best regards
Thorsten¹
Code: Select all
\clearpage \input{file} \clearpage
Best regards
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Opposite from \clearpage
Thank youlocalghost wrote:Just use the \input command. The \include command internally is a sequence of commands.Code: Select all
\clearpage \input{file} \clearpage
Best regards
Thorsten¹
