{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
22 views

Remove top indent of itemize without using minipage in tabular(x)

I am using minipage in my tabularx because it was the only way I found to remove the top space of the itemize environment. However, since minipage cannot break at when the page does, I have a very ...
4
votes
3answers
48 views

Tabularx adding unnecessary pages

My document is creating a {blank rest of page + empty page} before a tabularx table. Checked this thread with no dice - I couldn't solve with typical figure/table placement controls. This is my ...
1
vote
2answers
126 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
0answers
57 views

How to create multiple pages in LaTeX [duplicate]

I've started learning LaTeX recently from Wiki Books and I'm using Share Latex to compile the LaTeX code. I'm having a simple document with 3 sections Contents Abstract Introduction ...
1
vote
1answer
18 views

How can I achieve multi-page theorems?

I'm using tcolorbox theorems as following: \usepackage{tcolorbox} \tcbuselibrary{theorems} \newtcbtheorem[number within=section]{example}{Example}% ...
1
vote
1answer
33 views

Tables does not fit [duplicate]

I have a pretty long table which is of the size of one page. The thing is that I want that this table is broken in pieces if my whole text is about to jump to the next page so that one part of the ...
1
vote
0answers
29 views

Get the automatically produced line and page breaks from LaTeX

My aim is to produce an html-file with the same text as the pdf produced by LaTeX which represents the pagination and line-break structure of the pdf: When there is a linebreak in the pdf I want to ...
2
votes
0answers
62 views

Defining a screenplay dialog environment for breaking across pages

Edit: consider this a followup to the answer here http://tex.stackexchange.com/a/63847/64528 I'm trying to create a LaTeX/XeTeX template for screenwriting, specifically to output from an Emacs major ...
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 ...
3
votes
1answer
99 views

How to avoid frame break in beamer?

I am using the command \begin{frame}[allowframebreaks] to split a large slide into multiple slides. However, the last slide only contains two lines and I would like to force them into the previous ...
1
vote
1answer
70 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} ...
6
votes
2answers
138 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 ...
0
votes
1answer
25 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
19 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 ...
1
vote
1answer
72 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] ...
1
vote
1answer
36 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 ...
21
votes
3answers
21k views

Splitting subfigures across multiple pages — but programmatically!

I am using the subfig package to make many subfloats in a figure environment. It works well, as long as you realize that it tracks the whitespaces within the float environment. It also has an option ...
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 ...
1
vote
1answer
81 views

A figure-like environment that can contain many subfigures and break over pages: How to align double-column starts after the thing properly?

I have a problem similar to post 11059, i.e., I need a figure-like environment that can contain an arbitrary number of sub-figures. These may take so much space that the figure may span over multiple ...
0
votes
4answers
3k views

Landscape mode causes a blankpage

I'm using this code for showing an image in landscape mode: \begin{landscape} \begin{figure}[H] \centering \includegraphics[width=\hsize]{./images/SelectDVA.png} \caption{DVA part of the Use Case ...
6
votes
1answer
179 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
47 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
37 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. ...
12
votes
2answers
21k views

Insert a blank page after current page

I want to insert a blank page in a document so that the text would be added to the content of the current page till it reaches end of the page, the next page would be empty, and the text continue from ...
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
46 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 ...
2
votes
2answers
71 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} ...
28
votes
2answers
1k views

Is LaTeX intended for unattended typesetting?

With markup converters like Pandoc, it has now become possible to generate LaTeX documents without ever touching any LaTeX code. However, obtaining aesthetic page breaks for slightly complex ...
4
votes
1answer
194 views

Using a package only for certain tables

I am using the tabularx environment since it the X component of the columns is very useful and necessary for the tables I want to produce. However, a single one of my tables is longer that a page, and ...
11
votes
2answers
758 views

Overfull box and broken pagination with page that contains only section headings

I'm working on a large document in Emacs (23.2.1) org-mode (7.8.06) which I export to LaTeX. At present, the outline/structure of the document has been created, but not any of the content. The LaTeX ...
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, ...
1
vote
1answer
39 views

Break subfigures along 2 pages using the subfigure package

I am trying to add subfigures that are larger than one page. I am using the package subfigure that might be a bit obsolete, indeed, however I insist in using it because I have a very large documents ...
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. ...
5
votes
2answers
486 views

Break Lines in minted environment

Usually when adding code in a LaTeX document, I use the listings package. When trying to modify and personalise styles in listings, @1010011010 suggested to use the minted package. To be quite frank, ...
2
votes
1answer
42 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)?
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
36 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, ...
12
votes
1answer
169 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 ...
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 ...