Texmaker and TeXstudioSplit Document to several Files

Information and discussion about Texmaker, an integrated LaTeX environment for several platforms, and the related TeXstudio
Post Reply
magyvel00
Posts: 4
Joined: Mon Apr 02, 2012 11:12 am

Split Document to several Files

Post by magyvel00 »

Hi,

I am using TeXmaker. I am trying to split a file in several parts using \include, the problem is that I want to have two or more sections in one page. I am using \samepage and \nopagebreak but they are not working. Could somebody help me on this please?
Thank you in advance.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10322
Joined: Mon Mar 10, 2008 9:44 pm

Split Document to several Files

Post by Stefan Kottwitz »

Hi,

welcome to the board! Use \input instead. This command does not cause a page break, in contrast to \include.

Stefan
LaTeX.org admin
magyvel00
Posts: 4
Joined: Mon Apr 02, 2012 11:12 am

Re: Split Document to several Files

Post by magyvel00 »

Stefan thank you very much . It does work now :D
Post Reply