{page-breaking} is about how (La)TeX breaks pages (and, in multi-column documents, columns) and how page/column breaking can be influenced.

learn more… | top users | synonyms (1)

2
votes
1answer
61 views

Keeping a chapter on a single page

I'm writing a class for our firm's reports. I'd like to provide an environment overview that puts a chapter heading "Overview" and then keeps the text in the environment on the one page (as best as it ...
1
vote
0answers
20 views

Algorithm pseudo code not published beyond one page [duplicate]

My algorithm pseudo code is not being published beyond one page though there is no syntax error. The PDF produced via LaTeX is of only one page but my entire algorithm requires more than one page. So ...
0
votes
1answer
36 views

Pagebreaking in longtable with math column

I'm trying to write some step-by-step math proof of a formula in my electronics notes. The idea is to have two columns (side by side), the 1st has some text explaining the math, the 2nd one has the ...
1
vote
1answer
60 views

How to draw arrows between colourboxes

I have written a Z specification and drawn boxes around the schemas. I'm trying to work out how to draw an arrow from schema to schema. \documentclass{article} \usepackage{zdra} \begin{document} ...
0
votes
1answer
24 views

New page for chapters but not for sections

I would like my report to show the chapter headings in the next page but the sections on the same page. It is a double page report. \documentclass[a4paper,12pt,twoside]{report} \chapter{Introduction} ...
1
vote
1answer
18 views

How to write a onecolumn page while using the IEEEtran class?

I am writing a document in which I have to add a code in the appendix section. I am using the IEEEtran class but it does not help me while adding the code using the minted package. Is there a way I ...
3
votes
1answer
30 views

listing in minipage sucks content of previous page to the bottom

I'm working on a document that contains many listings (namely code samples) but not a lot of text. Most of these listings are only a couple of lines long, and a few span multiple pages. At the end of ...
0
votes
1answer
80 views
+50

How to use samepage environment in the middle of a table?

I use the following code to generate a document: \documentclass[10pt]{article} \usepackage{ltablex} \usepackage[top=2.5cm, bottom=2.5cm, left=2.5cm, right=2.5cm]{geometry} \usepackage{bibentry} ...
1
vote
1answer
68 views

How to define potential page breaks in a long table?

I have a huge table that covers multiple pages: \documentclass[10pt]{article} \usepackage{ltablex} \usepackage[top=2.5cm, bottom=2.5cm, left=2.5cm, right=2.5cm]{geometry} \usepackage{bibentry} ...
0
votes
1answer
33 views

Why are page breaks inserted after sections?

My problem is that page breaks and horizontal lines are inserted after sections, some chapters and the TOC. I have included all the code since I have no clue about which part of it is causing the ...
3
votes
1answer
29 views

How to allow pagebreak only at section headers?

My document consists of many short (sub)sections. A section's content can consist of multiple paragraphs. I want to allow page breaks only at (sub)section titles. I tried inserting a \pagebreak[3] ...
6
votes
2answers
137 views

Long footnote, newpage and output

In order to solve an issue in eledpar (letting long/many footnotes 'flow' over two pages (eledpar)), I need some help with the relation between insert, ouput and \newpage. Let the (real) MWE ...
1
vote
1answer
33 views

Separate bibliographies on same page

I would like to scan the bib file for entry type, put them into 3 categories, and show those separate with title. I got this working with the code below. I would like to change two things: Delete ...
0
votes
0answers
39 views

LaTeX Chapter start on same page, spacing error

I'm trying to use this code for no use of \clearpage for chapters in a report. \makeatletter \patchcmd{\chapter}{\if@openright\cleardoublepage\else\clearpage\fi}{\par}{}{} \makeatother The command ...
6
votes
1answer
178 views

Latex can not change page automatically

If I only input the section title but no body text, Latex can not start new page automatically. The following is my minimal work. \documentclass{book} \begin{document} \part{Title of Part I} ...
2
votes
2answers
45 views

How to expand \align mode into two pages by following the end line of the previous page

I have a big matrix and each element of it has many stuff. The problem I'm facing is that the align mode is trying to make each equation to be fitted into one page. For example, in the following code ...
0
votes
1answer
55 views

Is there a way to always avoid a page break when a section is followed by a subsection?

Question Can I force LaTeX to always keep a section with a subsection on the same page if there is nothing in between? Situation Let's suppose I have a section called \section{All About Monkeys} ...
0
votes
0answers
36 views

long footnote not split over two pages

I have a long footnote which LaTeX refuses to split over two pages, but rather leaves the previous page half empty (so that the text with the footnote appears on a new page with enough space for the ...
7
votes
1answer
121 views

How do you prevent a page break between a list and the following text?

How do you prevent a page break between a list and the following text? \documentclass{report} \usepackage{lipsum} \begin{document} \begin{itemize} \item \lipsum[1-3] \item \lipsum[5] ...
1
vote
1answer
30 views

Can not change page

I am using Texmaker in windows 8 and I can not go beyond the second page in my document. This is a very similar problem to other questions answered here, yet I am asking because none of the solutions ...
0
votes
0answers
28 views

Remove empty page before text but leave empty page after

Problem: I have some Latex code that create an empty page before and after the actual text. I do not understand why it creates an empty page before, but understand why it creates an empty page after. ...
5
votes
0answers
54 views

distribute contents of two input-files to left and right pages

Is it possible to import two tex files with \input and to have the content of the one file be always on the left page facing the content of the other file being always on the right? The page numbers ...
2
votes
1answer
45 views

Remove blank page at end of \documentclass{letter}

When Trying to create a letter using the letter document class I get an unwanted blank page at the end of my document. It looks like it may be coming from the \begin{letter}{} macro as the first ...
4
votes
1answer
55 views

Start only some chapters on right-hand side after a set page/chapter

I'm working on my masters thesis, and have a fairly decent structure (I feel..), but I have one issue. I want my chapters to start on the right-hand side, which in itself is not hard to do. However, ...
6
votes
2answers
58 views

Is it possible to apply shadow only to the last part of a breakable tcolorbox?

I'd like to apply (drop lifted) shadow only to the last part of a breakable tcolorbox but I couldn't find any hint for this in the documentation. The following MWE is a non working attempt. ...
2
votes
1answer
40 views

Make \sections in book class start on the right (odd pages)

I'm using the book documentclass, but I use \section instead of \chapter to structure it. Is it possible to make the sections start on the right (odd pages)?
2
votes
2answers
69 views

Breaking problem in tcolorbox — break at — breakable

My MWE, \documentclass[a4paper,twoside,openany,12pt]{book} \usepackage[left=1cm,right=1cm,top=2.5cm,bottom=2.5cm,marginparwidth=0cm,marginparsep=0cm,outer=1cm]{geometry} \usepackage[T1]{fontenc} ...
0
votes
0answers
29 views

ltablex - Multirow problem: rows don't continue to the next page

I'm writing a thesis document and I have many longtables with tabularx, so I've decided to use the package ltablex for that matter. The problem with multirow is that it doesn't seem to cross pages ...
4
votes
1answer
43 views

Why this float in multicols is moved to next page while there is enough place on the current one?

In the following MWE, the second float (within a multicols environment) is moved to page 4 while there is (seems to be) enough place where its code is given (on page 3). Why? \documentclass{article} ...
0
votes
0answers
34 views

Split a page horizontally with page breaks

I am looking for an adequate package to split horizontally all pages of an article into two parts with page breaks. The expected behaviour shall be as in following picture: I already try with the ...
0
votes
0answers
9 views

Stop elements from being pulled apart one page [duplicate]

I have a very long LaTeX document with many tables, figures, etc. When I have a long table on the following site (which means it doesn't fit on the current site) the elements (paragraphs, tables, ...
0
votes
0answers
24 views

Two columns template [duplicate]

I have a question regarding to two columns format. I want to use the following document in paper. While I want to write a multiline formula it goes to the next column and change everything to a messy ...
0
votes
1answer
87 views

Changing margins in .sty

I'm trying to change the margins in an input .sty. I'm trying to set different margins for the first and second page. I've managed to alter the margins but the first paragraph in the second page has ...
3
votes
1answer
93 views

The “beforeheading” counterpart of \@afterheading

Suppose that for ransom reasons (in my case, because my document was converted from XML) I want to typeset all headings manually. Then I could do something like \documentclass{memoir} ...
5
votes
1answer
57 views

Custom marker at pagebreak within lstlisting

Does anyone knows a solution about how to make place custom markers at pagebreaks into lstlistings ? What I want is to put a cissors icon before and after the pagebreak but I didn't find a way to ...
12
votes
1answer
168 views

Jumplines (“continued on page…”) in latex?

Many newspapers/newsletters have several articles starting on their front page, yet with only an initial segment of each article on the front page. Each such initial segment ends with a "jumpline" - a ...
1
vote
1answer
40 views

Issue with page breaks before section and toc hyperlinks

I need page breaks before each \section{...} of my document. According to this thread: Start new page with each section I am supposed to add following command: \newcommand{\sectionbreak}{\clearpage} ...
1
vote
2answers
61 views

\newpage does not seem to create a new page

Brand new to LaTeX, using LaTeXit on OSX 10.10.1. Here is my preamble and my code after the preamble. \documentclass[10pt]{article} \usepackage[usenames]{color} %used for font color ...
1
vote
0answers
53 views

ConTeXt: Prevent page break between heading and image

Using ConteXt, how could one prevent a page break between a heading and an image or text + image? For example, given: \section{With a Chart} \placefigure[here] {}{\externalfigure[Chart.pdf]} % or ...
3
votes
1answer
98 views

Document on recto page but numeration on both recto and verso

Last month I met a friend of mine which was writing her master thesis (with Word) and she said me that her supervisor told her that the thesis must have been oneside but the numeration must have been ...
6
votes
1answer
105 views

Suppress a page break before a breakable tcolorbox

I'm trying to avoid page breaks between a sectioning command and a following tcolorbox. With "normal" boxes I can use \nopagebreak, e.g. in the before option: \documentclass[]{article} ...
0
votes
0answers
22 views

Insert soft \newpage before sections

Normally, sections encourage Latex to \pagebreak so that if e.g. a section is close to the end of a page, it will get pushed onto the next page. I am happy with this behavior, except for one point: ...
2
votes
1answer
29 views

Longtable float placement

I have a longtable that breaks over two pages. It is referenced in a paragraph that also breaks over a page, and continues at the top of the next. My issue is that I need to make it so the longtable ...
0
votes
0answers
36 views

Longtable Row too large for a single page

I need to display a source text, and a translation into another language side by side. In order to keep the source and translation together I utilized a longtable, to span multiple pages. ...
1
vote
1answer
129 views

Make longtable automatically fit page (line width)

I have a longtable in landscape mode that is automatically split on multiple pages when there are too many rows. I have solved the length problem. Now I have a problem with width, the rows are going ...
3
votes
1answer
75 views

TikZ mdframed environment: close box at end of page and continue on next

I used the Excursus environment as a template to create my own box like this: \usepackage[style=1,leftmargin=0pt,rightmargin=0pt,framemethod=TikZ]{mdframed} \newenvironment{boxtype1}{% ...
3
votes
0answers
60 views

IEEE Format: sections in separate files create page breaks

I want to make my paper repository a little more readable, so I like to break sections out into separate .tex documents. However, this does not seem to play nice with the IEEE format. How can I get ...
3
votes
1answer
53 views

Can TeX tell me where it is breaking the lines and pages?

I am looking for TeX to tell me where in the TeX file it has broken the lines and pages. I put \label in every word or even character and then it does tell me something but sometimes it is still ...
2
votes
2answers
44 views

Page-breaking of long tables with tabularx and booktabs in scrreprt documentclass

within my thesis I want to have a page break within tables that are very long, and which are created with tabularx and booktabs packages. Surprisingly I could not find any applicable solution for my ...
3
votes
1answer
67 views

Floating lstlisting - Getting it to split if longer than a page

When I put a long code in my file using a floating lstlisting, it is forced to be in only one page at the end of the chapter, and then some of the code is truncated and outside of the page. If I ...