{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)

9
votes
0answers
177 views

Variable page break penalty for odd/even pages?

I am working on a document that has a large number of external Lilypond files included. These render quite well and (while a bit of a pain to use) lilypond-book is smart enough to render the music ...
6
votes
0answers
50 views

How do I manually split a paragraph without \afterpage?

So I wrote a LaTeX package that would give me full-page floats: http://tex.stackexchange.com/a/84312/13450 Unfortunately, it introduces hard page breaks. \documentclass[a5paper]{memoir} ...
5
votes
0answers
57 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 ...
5
votes
0answers
63 views

Modify bigfoot rules for footnote page-breaks

I use the bigfoot package and I would like to reset preferences (penalties?) for footnote page breaks exactly as they are in the basic LaTeX default. I noticed that bigfoot, while allowing for nested ...
4
votes
0answers
161 views

How to manually typeset text in parallel on facing pages in (Lua)LaTeX?

I want to typeset a bilingual text in parallel on facing pages using LuaLaTeX. The existing solutions to automate this task have proven unsatisfactory as they don't allow for footnotes (parallel), ...
4
votes
0answers
48 views

Add vertical space only if there is no pagebreak

I'd like to define a new listings environment where the listing has an \hrule before and after the listing itself. In order to do this I've defined this environment: \lstnewenvironment{haskell}[1][] ...
4
votes
0answers
120 views

Allow \listoffigures captions to break across pages

I'm using the command \listoffigures to list all figure captions after the contents page. Many of my figure captions are quite long and as a result LaTeX is placing 2 captions on a page with a large ...
4
votes
0answers
156 views

Mdframed: negative top margin with page break skips a page

I am using the development version (1.9d) of the mdframed package to customize the proof environment in the following way. I wish that a line runs down from the word "Proof." and that the text of the ...
4
votes
0answers
177 views

longtable package: Stretch height of last row on page

Consider the following code \documentclass[a4paper]{article} \usepackage{longtable} \usepackage{lipsum} \begin{document} \begin{longtable}{|p{5cm}|} \hline \lipsum[5] \\\hline ...
3
votes
0answers
68 views

Remove page-breaks after chapters in the report class?

So I am using the report class, and every time I try to create a new \chapter it creates it on a new blank page with just the title. I have tried using \usepackage{etoolbox} but I keep getting Latex ...
3
votes
0answers
147 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
0answers
98 views

Citations with no bibliograhy at the end in RevTex4-1 (or at least bibliography on a separate page)?

I am trying to suppress the printing of the bibliography at the end of my RevTex4-1 document, however, I would like to keep the citations in the text. While invoking the \nobibliography command in ...
3
votes
0answers
320 views

Creating flashcards with LaTeX

As the current semester is almost over and my lecturenotes-typesetting project draws to a close, I start learning the definitions with flashcards. I've created the flashcards automatically with a ...
3
votes
0answers
242 views

Provide an example of how to detect when a page break is about to occur

I have a long text and using supertabular package. While I know that the package and LaTeX itself calculate and determine when to have a page break, would it possible to know when the page break is ...
2
votes
0answers
22 views

Penalty between paragraphs

How do I modify the penalty given to a pagebreak between paragraphs? I looked everywhere and could not figure out. If I really need to I can redefine \par but I'm unsatisfied with such a hack.
2
votes
0answers
33 views

Using `\displaybreak` in `\split` environment

I want to use \displaybreak in \split environment. I tried to use it locally and just before the \begin{equation}...\begin{split} block, but they both didn't work. As far as I searched, there is no ...
2
votes
0answers
29 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
82 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
59 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
77 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
90 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
0answers
100 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
0answers
129 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 ...
2
votes
0answers
77 views

How to avoid widows-orphans with mdframed?

I have a document with a lot of mdframed boxes ; which option can I set to avoid 'widow' lines at the end of the box (that is, avoid to have small parts of boxes on new pages)? ...
2
votes
0answers
47 views

Repeating top-level index entries on the next column (done right)

Yes, I want exactly the same thing as in this question. However, I'm trying to get rid of the following three issues with repeatindex/afterpage: afterpage causes loathsome small vertical space after ...
1
vote
0answers
42 views

How can I stop my affiliation from creating a page break on my title page?

When my code looks like this: \documentclass[12pt]{article} \usepackage[utf8x]{inputenc} \usepackage{float} \usepackage{url} \usepackage{setspace} \usepackage{hyperref} \usepackage{hanging} ...
1
vote
0answers
42 views

Supertabular in twocolumn mode: Unwanted pagebreaks

For my current project I need multiple tables with 2 columns that span over multiple pages, and all in twocolumn mode! Supertabular should be the right choice for this, if I'm not wrong. The problem ...
1
vote
0answers
49 views

How to make glossary use the full textheight?

I am using the package glossaries to create a glossary in my document. My glossary is too long to fit on one page, therefore LaTeX automatically continues the table on the next page. However, the ...
1
vote
0answers
23 views

Table is flushed to next page despite ample room on current page

I tried inserting a table below some text. The issue is, it seemed to have shifted the table to the next page although there is ample room for it to fit in the page with text. This is what I ...
1
vote
0answers
27 views

Page break in float pages

I have an appendix section with half a page of text followed by a lot of tables. I want all these tables to go on float pages for the nice distribution on the pages, so placement specified as [p]. ...
1
vote
0answers
106 views

Squeezing a paper into a page limit - with IEEEtran

I'm working on this draft for a submission to some conference which - woe is me - uses IEEEtran. I could rant about that class for days, but never mind right now... the point is, I need to squeeze ...
1
vote
0answers
82 views

Latex longtabu problem at page break

I am using longtabu for a table in a latex document. It gives a wired result at page break. Notice that the 'continue' part of the table is stuck in the page before the break. Page 14 shown in the ...
1
vote
0answers
24 views

How to achieve the functions of turned-page and continued-page

I'm making a template for a journal. The editors would like to achieve the following functions: When the page can not hold up the last part (maybe some references or sections) of an manuscript, the ...
1
vote
0answers
79 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 ...
1
vote
0answers
89 views

In row table page break

I want to generate a report automatically. I use python to replace placeholders inside a LaTeX template. The report contains large complex tables that span multiple pages. I have found a packet cals ...
1
vote
0answers
48 views

How do I keep a block of text on the same spread?

I am building a cookbook, and I need to keep each recipe's text on the same spread. I've wrapped each recipe in its own environment, so I can easily add commands at the beginning and end of each ...
1
vote
0answers
75 views

Multicols leaving blank pages

I am trying to create a formula sheet which I am going to use for my exams. I was able to set up the layout as I like it, bit I am having a problem on pages 4, 6 and others (as you can see from the ...
1
vote
0answers
102 views

How to get rid of blank page after Appendix title

After I have my page which says Appendix my document has a blank page before the page starting Appendix A. How can I get rid of this. I have \include{appendix} in my main file and in my appendix ...
1
vote
0answers
80 views

Make paperheight (page length) same as section length

I'd like a document where each section is followed by a page-break but otherwise is one page. The sections have varying lengths, mainly due to the size of the picture(s) in each one. So far what I ...
1
vote
0answers
106 views

Row-wise and Column-wise break of extra wide tables, and add a proper label

There is a question "Column-wise break of extra wide tables" Column-wise break of extra wide tables and a very useful answer to it. \documentclass[twoside]{article} \usepackage[latin1]{inputenc} ...
1
vote
0answers
64 views

making boxed or framed sections that flows to the next page

I want to enclose a text in a box and i want the box to overflow to the next page when the box cannot fit in one page. With my code the box immediately jumps to the next page and then omit the text ...
1
vote
0answers
81 views

Undesired pagebreak between section header and figure

I am trying to compose a page with a section header and a couple of figures: they should stay on the SAME page, but there is no way to force them to, an extra page is always added between the section ...
1
vote
0answers
106 views

\parskip setting effect on page break?

What is the effect of the \parskip-setting on where LaTeX does the page break? I wonder why there is a page break before the paragraph-headline with my \parskip settings (unless I insert the ...
1
vote
0answers
243 views

IncludePDF with Landscape - No new page

I have a problem with \includepdf combined with landscape and now new page break I found some solutions to my problem but they didn't work. I came close with the following but it is still not what I ...
1
vote
0answers
1k 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 ...
1
vote
0answers
110 views

How to undo the feasible breakpoints of `lstlisting`?

Is there a way to prohibit pagebreaking at the beginning/end of an lstlisting environment? I'm trying to keep together the following two pairs of lines: the first line of lstlisting and the line ...
1
vote
0answers
181 views

How to avoid page break after \part entry in ToC with memoir

I am using the memoir class for a document with many chapters and parts. In the ToC sometimes there is a page break between the name of \part and the name of the next chapter. Table of Contents ...
1
vote
0answers
86 views

How to prevent page breaks from appearing at the point where a sub-itemized list begin in ConTeXt?

I have a lengthy document containing lots of itemized lists, in two levels. It is like this, but often much longer: \startitemize[r] \item This is a statement. \startitemize[n] ...
1
vote
0answers
161 views

nopagebreak between rule and custom theorem env

I'm making a custom theorem environment. Here's a minimal example of my problem, with some filler text borrowed from the GPL: \documentclass{scrbook} \usepackage[dvipsnames]{xcolor} ...
0
votes
0answers
14 views

Figure + caption + vertical margins that corresponds to multiple of line

In a two columns document I typeset dictionary entries, including photos placed either bellow the entry or at the top of the page (max 1 photo per column). In case in each column of the page there is ...