General ⇒ Pagebreaks and Combining Files
Pagebreaks and Combining Files
However what this means is that in the output PDF, each component file starts on a new page and ends with a \clearpage. So there are huge blank gaps between my different bits of text.
How can I combine my component files without any pagebreaks between them? I'd appreciate any suggestions on how to override the pagebreak command, or any ideas on alternatives to using \include.
Thank you!
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Re: Pagebreaks and Combining Files
you can use the command input. This command put the code without formatting into the source file.
Marco

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Pagebreaks and Combining Files
Code: Select all
\clearpage \input{filename} \clearpage
Best regards
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Pagebreaks and Combining Files
I've acknowledged the help I've received from this forum on my blog, http://latexforhumans.wordpress.com/.