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

Continue a sentence without page break [duplicate]

Possible Duplicate: Widow word on a page? I thought LaTeX wouldn't do that. How to eliminate unnecessary page break in LaTeX? I have the following problem: In the end of my document, ...
2
votes
1answer
596 views

Macro after heading shall not allow page break.

In a previous question I needed a solution for the following problem: I had defined a command for inserting special custom notes in my document with the fixme package and if those notes followed a ...
2
votes
1answer
108 views

How can I render a LaTeX document without pages?

Almost always, I simply render electronic documents, so I don't need pages. Also, pages make it difficult to arrange images in a document. I want to draw TikZ graphs for my blog articles, and I don't ...
2
votes
1answer
34 views

Typeset a biblatex bibliography in a cv4tw CV

I'm using the cv4tw package to produce a CV. This package provides a \story command for typesetting individual CV entries; one of its arguments is a label which appears on the left, and most of the ...
2
votes
4answers
127 views

Insert a blank page on every page break?

I have slides (slides.pdf; my own construction based on scrartcl) to teach from. Students asked to put in blank slides (to have space to put down notes). I first tried to write a shell script (getting ...
2
votes
1answer
54 views

Suggested objects permitting table-like-column formatting and page breaks amidst long lists of breakable content

My preferred way of structuring and formatting large lists of content is with longtable. Some of my cells contain a lot of text, both in paragraph and itemize or enumerate environments. For reasons ...
2
votes
1answer
43 views

Creating a newline breaks entire page?

I'm using LuaLaTeX and I tried using a template found at: http://www.latextemplates.com/template/deedy-resume-cv However, when I try running it using Texmaker, the page splits into 2. Any idea how I ...
2
votes
1answer
75 views

Marginnote right after \section: how to prevent page break?

Another update: when applying John Kormylo's answer to karlkoeller's answer from Making marginnote to appear either side of twocolumn, twoside document, make sure that \marginnote is followed by %, ...
2
votes
1answer
78 views

Make only one page for each chapter

Is it possible to generate only one page per chapter(or section) without splitting the document file? The page width is fixed but the page height should be automatically adjusted by the content ...
2
votes
1answer
48 views

Longtable goes wrong after page break

I am really new to LaTeX and I am using the following codes to make a long table cross pages: \documentclass[12pt,letterpaper]{report} \usepackage{multirow} \usepackage{longtable} ...
2
votes
1answer
345 views

suppress page break before chapter title in LyX

I'm using LyX and need to have the chapters to start soon after the end of the previous chapter. A LyX solution will be most appreciated. Document class report and I am not to change the document ...
2
votes
1answer
103 views

Avoiding widows while keeping text height even across two-page spread

In The Elements of Typographical Style, the author notes (§2.4.8) that widows—single lines occurring at the top of a page—should be avoided. Yet the text height of two facing pages should be the same, ...
2
votes
1answer
165 views

mdframed environment not breaking over pages

I apologise in advance because I cannot provide an MWE. I am writing a book with a custom (Springer) format and I wish to use mdframed to provide an example environment. I adapted an example from the ...
2
votes
1answer
141 views

Pagefilling pictures resulting in blank page before the next chapter

I've got a question in regards to pictures and chapters. It happened a few times now to me (like in the example below) that I have 1 or 2 pictures that fill up a page that suddenly the chapter ...
2
votes
1answer
577 views

Figure caption does not continue on new page

I have a large figure caption that I want to display. However, it just runs off the page into nowhere instead of onto the next page. What command do I need to fix this? Googling the problem doesn't ...
2
votes
1answer
187 views

Reduce vertical stretching by encouraging page breaks within paragraphs

It's pretty standard for latex to add a little whitespace between captions, figures etc to reduce the chance of page breaks mid-paragraph. In some cases I feel latex is a little too liberal with its ...
2
votes
1answer
169 views

\afterpage not called after page break

In this example \documentclass{article} \usepackage[a6paper,landscape,margin=1cm,bottom=2cm]{geometry} \usepackage[english]{babel} \usepackage{blindtext} \usepackage{afterpage,refcount,lastpage} ...
2
votes
1answer
442 views

Breaking pages with boxes in boiboites-like

I want to find a method for breaking boxes of my environments of examples (in arabic, with polyglossia.. see ECM below) I saw that mdframed do something like this, but I'm using my own package ...
2
votes
1answer
187 views

Change side wallpapers between pages

My document has graphics on its left and right border on each page, I use the package wallpaper for that: \newcommand{\dsaSetDefaultPageBorders}{ \ULCornerWallPaper{}{./fanpaket/balken-links.png} ...
2
votes
1answer
107 views

Prevent page from overflowing

Occasionally document overflows into the next page by few words or line. Though this can be adjusted manually by changing a font size or spacing, can it be automatically done? By automatic, I mean if ...
2
votes
2answers
3k views

How to change this \renewcommand\section to prevent page break just after the title? [closed]

I am using the following command in my class (thanks to this answer): \renewcommand\section{\@startsection{section}{1}{\z@}% {3.25ex \@plus1ex \@minus.2ex}% ...
2
votes
2answers
2k views

latex figure (or table) in a new page

I'm curious what's the best way to get the table of figure to appear on the next page in your document. I've tried the \newpage command, which works but is a hassle as I basically need to declare it ...
2
votes
1answer
211 views

Remove column break before bibliography

I am writing a document using the ACM SIG Procedings template whose summarized structure is as follows (it uses 2 columns). I am using PDFLatex and Bibtex. \documentclass{sig-alternate-2013} ...
2
votes
1answer
87 views

Pagenotes and printing

I'm working on a collection of questions for an anatomy course. For most of the questions there will be a collection of "inputs/answers" made as pagenotes ...which works out nice, but... I'm looking ...
2
votes
1answer
200 views

Why does adding hypertarget to TOC change pagination?

I'm trying to have links to lines in the table of contents, as suggested in, e.g., this question. It seems like the standard answer is to include lines like ...
2
votes
1answer
968 views

Prevent supertabular* from breaking too early

I have a similar question as ipavlic, that is, the break of a long table by the supertabular package comes too soon. The solution proposed by egreg works well for the supertabular environment, ...
2
votes
1answer
282 views

How can I create a lstlisting environment that spans more than one page?

I am using listings package to show some algorithms in a LaTeX document. One of the algorithms I want to include is longer than one page. So, my question is: How can I create a lstlisting ...
2
votes
1answer
416 views

Prevent caption to appear on separate page

I'm using a custom listing environment which does not float taken from Code spanning over two pages with minted, inside listing with caption. The caption is done with the caption package. The ...
2
votes
1answer
376 views

Section headers not sticking with first paragraph

I'm seeing lots of section/subsection headers getting split up from their paragraphs across page and column boundaries. I've never seen this before, but I'm also using a class file that's new to me, ...
2
votes
1answer
850 views

Framebox and minipage causes white space and is not float

I have a \framebox (I don't insist on using this command) and a minipage that causes whitespace, because the drawn box is not allowing any text before or after and it itself does not break over pages. ...
2
votes
1answer
488 views

Multipages side by side listings

Could you tell me what should I do to be able to insert multipages, side by side listings in Latex document? I have already tried with \begin{minipage}, but it doesn't work with multipages. EDIT: ...
2
votes
1answer
35 views

classification labels in headers and footers

I'm trying to write Latex documents that will automatically satisfy government requirements for labeling certain classes of information: - Each paragraph starts with a label indicating its ...
2
votes
0answers
37 views

Why text beyond the bottom of the page [duplicate]

I encountered a very strange problem. I wrote an enumerate after a long table, the enumerate text will be printed outside the bottom of a page, and some item text can not be shown. I simplified a ...
2
votes
0answers
27 views

Including a Float on a Separate Page

I am having difficulty positioning a float (table) in latex. I have two paragraphs of text, and I want the float to be inbetween these two sections of text, but I also want the table to be on a new ...
2
votes
0answers
102 views

Forceably deleting the last page

My document has a blank page at the end, Is there an easy way to forcibly delete it? ideally \deletepage{2} I have already tried altering the margins, but it screws with friggeri-cv layout edit: ...
2
votes
0answers
32 views

Wrapper around `picture` environment causes page break [duplicate]

A picture environment at exactly the size of the text area can fit snugly on one page. However when I replace the environment with a wrapper environment with exactly the same definition, it takes two ...
2
votes
1answer
51 views

Unexpected change in pagination when 'no' change in contents, using `boxedmini2e`

I am using the package boxedminipage2e to produce several framed boxes with some text inside. Because these boxes have a fixed height and width, I am expecting that whether or not these boxes contain ...
2
votes
0answers
107 views

How to break tablenotes (page break) in longtable with threeparttablex?

How can I break my TableNotes in ThreePartTable (it is a landscape table)? \documentclass[a4paper]{article} \usepackage[english]{babel} \usepackage[top=2.975cm, bottom=2.975cm, left=2.975cm, ...
2
votes
0answers
53 views

Page breaking in a glossing example environment

I'm using the expex package for glossing exemples, and I have this giant example which doesn't want to break when the page ends. In the user's guide they say it should break automatcally but it ...
2
votes
0answers
44 views

Unvoluntarily page break [SOLVED]

my TeX editor makes a page break on when I try to make some space (\vspace) between my tabulars and images, and doesn't when I omit the vspace, but then the page is loaded. Here's my code : ...
2
votes
0answers
36 views

Longtable not starting immediately after section tittle [closed]

I have been trying to fix this problem by reading many posts for the last two day and I have not been successful. I have a long table that spreads over three pages and I want to start after the ...
2
votes
0answers
43 views

Can I reuse the window/orphan mechanism of section titles to bind something else (like theorems with their proofs)?

LaTeX layout mechanism can somehow try to avoid window/orphan paragraphs and section titles, i.e. it's very rare (or impossible?) for a section title to appear at the end of a page with the first ...
2
votes
0answers
67 views

Blank pages with horizontal line and header [closed]

I am writing my thesis paper in LaTeX. I wrote the main program like below, but whenever I compile the .tex file one extra blank page is added after every chapter, and it doesn't take into account if ...
2
votes
0answers
101 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
0answers
70 views

Framed theorem environment spread across pages [closed]

I wanted to put a vertical line in front of examples to make them easier to distinguish from the regular text. For this I used mdframed, and it mostly seems to work. However, if an example happens to ...
2
votes
0answers
79 views

How to put something on a page without disturbing the main vertical list?

I'd like to put something on an arbitrary place on a page. I'm using \begin{tikzpicture}[remember picture,overlay] ... \end{tikzpicture} inside \nointerlineskip\vbox to 0pt{\vss ...
2
votes
0answers
125 views

Linguex glosses and translation separating across page break

I use linguex and I don't want my examples to be separated from their interlinear gloss and translation by a page break. Currently I have to check the PDF output and use the package needspace, but ...
2
votes
0answers
28 views

Page breaks and memory [duplicate]

Note the following passage in the TeXbook (p. 110) TeX breaks lists of lines into pages by computing badness ratings and penalties, more or less as it does when breaking paragraphs into lines. ...
2
votes
0answers
188 views

penalize page breaks in \lstlistings [closed]

I have a document with some rather lengthy \lstlisting's (source code snippets). It looks really bad if there is a page break within a listing/snippet. Thus I tried to avoid page breaks in listings by ...
2
votes
0answers
170 views

long abstract not continuing to next page in ERDC style

I am trying out a report format with the ERDC style, but using pdflatex, the abstract is limited to 1 page - the text just disappears off the bottom of the page and won't continue. I've looked through ...