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

8
votes
1answer
172 views

Break line only if it's too long, but breaking won't create a new page

I'm the author of the contracard package/class for typesetting calling cards for traditional dances. Currently, if you typeset a particularly long figure on a calling card it wraps like this (look at ...
1
vote
1answer
197 views

Using lstlistings in two columns

My goal is to display source code (awk, Python, R and SAS) and text (their output) side-by-side. Both are loaded from external files, and can be pretty long sometimes (pagebreaking is inevitable), the ...
6
votes
1answer
250 views

Typesetting long poetry side by side across multiple pages

I've been trying to typeset a long poem (The Lady of Shalott) and putting the translated text besides it, as it is shown in this question: How to typeset two verse environments side by side However, ...
5
votes
1answer
92 views

Why does imakeidx + nonewpage fail to write an idx file?

Example: \documentclass{article} \usepackage[nonewpage]{imakeidx} \makeindex \begin{document} stuff\index{test} \printindex \end{document} When I run lualatex on this file, I see among the ...
2
votes
1answer
49 views

Why does amsrefs do a pagebreak after the header? [duplicate]

I am using the document class amsbook and generate the amsrefs bibliography by \begin{bibdiv} \begin{biblist} \include{bibcode} \end{biblist} \end{bibdiv} Now, there is a page that only ...
4
votes
1answer
292 views

ConTeXt: Wrapped text misbehaves at page breaks

On this site, a solution for text wrapping based on descriptions in Pandoc-generated ConTeXt documents was previously formulated. Although satisfactory for a one-page minimum working example, the then ...
3
votes
1answer
66 views

Adding continuation pages for overflowing sections

Suppose I have a collection of sections (each starting after a \newpage) such that the total content of some of the sections is more than one page. What I want to do is to get LaTeX to recognize this ...
4
votes
1answer
148 views

ConTeXt: How can I prevent a block of text from being split over a page break?

At the end of below minimum working example there is a funny \startdelimitedtext[endtext] which should be printed at the bottom of the last page without being split over a page break. How do I render ...
4
votes
1answer
370 views

Widow penalty not working

It seems my Widowpenalty is not working, as nothing changes, even with a value of 10000. Is there some contradictory commands anywhere which may cause this problem? This is what I have ...
5
votes
1answer
606 views

How to equalize the two columns in the last page INSIDE the IEEEbiography enviroment

I'd like to make the two columns of the last page of equal length but starting the new column INSIDE the IEEEbiography environment. I have four authors in the last page, the second one has a long ...
6
votes
2answers
1k views

Adding page breaks to pandoc latex template when converting markdown

Perhaps I'm missing something, but is there a way to either (a) ensure that pandoc places pagebreaks before level 1 and level 2 headers in markdown (#,##), or (b) hide \newpage from other markdown ...
3
votes
1answer
585 views

How to set the same slide number for all slides in the `allowframebreaks` group?

I have [framebreaks] frames in a Beamer presentation. I want to have all generated slides there to have the same slide nubmber, e.g., if I have a listing or some text that spans across two or more ...
5
votes
1answer
3k views

Remove pagebreak after a chapter (Only for one chapter!)

I am using the report style. I have a conclusion chapter and an acknowledgement chapter. I want to bind them together as they are both very short. I want to remove the Pagebreak after conclusion but ...
6
votes
1answer
117 views

Re-displaying section headings after page-breaks (with titlesec)

This is a follow up question to Re-displaying section headings after page-breaks. The top answer by Werner works, but not when the package titlesec is loaded. Is another solution possible which does ...
4
votes
1answer
86 views

Can I automatically split an ocg environment over page breaks

I want to display ocgs in a pdf and use the ocgx package to achieve this. Sometimes the content I have in the environment is so long it needs a page break. This is incompatible with the ocg system and ...
1
vote
0answers
75 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] ...
5
votes
2answers
122 views

“Scene breaks” — Blank lines that are nonblank at the top/bottom of a page

In many novels, a scene break is typeset as a blank line between paragraphs, except when that line would be the first or last on a page (and thus difficult to distinguish from the top/bottom margin), ...
5
votes
2answers
390 views

Page break after every section

The skeleton of my document is: \documentclass[11pt]{article} \usepackage{amsmath,textcomp,amssymb,geometry,graphicx} \begin{document} \maketitle \section*{1.} \begin{itemize} \item[(a)] ...
1
vote
1answer
160 views

Prevent page break without removing vertical space

I have a single sentence paragraph that introduces a list, and LaTeX is trying to insert a page break between the paragraph and its list, which I find unacceptable. I can prevent that page break with ...
2
votes
1answer
76 views

Allow page break in reference list

I am using the elsart-num bibliography style in an article document class. I find that my references overflow the page (only half of the citations show up). Any clues as to what I might be missing ...
6
votes
1answer
193 views

How to circumvent a late \pagetotal reset to 0pt?

Below example demonstrates at the beginning of each paragraph how \pagetotal is not always reset to 0pt at the beginning of the page. This appears to interfere with my attempt to automatically clear a ...
1
vote
1answer
485 views

longtable does not break

I am using a longtable environment to put some graph images in (perfectly works in all the other figures with tabular environments that i have produced already) However, when in comes to the ...
7
votes
1answer
66 views

I need an hrule, but not when at the top of the page

I have a multi-page document that has many small sections split with \hrule lines. Occasionally a section will end immediately before a page break, and so the next section will begin right at the top ...
4
votes
0answers
55 views

Make every other page a float page (or empty) [duplicate]

I would like to be able to make every other page in a double-sided document be a float page or empty (apart from header w/page number). Ideally this would be the verso page and all floats (unless ...
4
votes
2answers
2k views

How to force a page break in LyX?

Page break, New page, Clear page, Clear double page functions does not work for me in LyX. I tried to enter them via Insert ->.... and via LaTeX code \pagebreak etc. But I desperately need to brake a ...
21
votes
2answers
373 views

Show footnotes on odd pages only

I'm writing my thesis using the scrbook-class. Is it possible to display footnotes only on the odd (right) pages? This should mean that \footnote{something} should be collected on even pages and ...
6
votes
1answer
116 views

How can I prevent a column break before the first sub-entry in the index?

I am writing my indices with imakeidx and I want to use sub-entries as well. As you can see on my image, I am getting a column break which I think is making it more difficult to understand. Can I ...
4
votes
1answer
133 views

How to insert a blank page depending on current page number?

I postprocess my PDF produced from my LaTeX-document through pdfbook and want to have the last page appear on the back cover. Thus, I need to have as many pages inserted before the last page so it ...
2
votes
1answer
93 views

How to change the abstract to have no page break afterwards

I am writing a thesis in the report document class. I have a title page that is separate. On the next page I want the Abstract and the Acknowledgements: \begin{abstract} This is the abstract. ...
2
votes
1answer
136 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} ...
4
votes
1answer
117 views

Glue at bottom of page

I'm writing a lengthy document which will have prompts typically between 2 and 5 lines long with a space after each prompt for notes. Ideally I want a 2-inch space with a stretch of 1 in and a ...
2
votes
0answers
353 views

Blank page with page number after list of figures

I am getting a blank page after list of figures after compiling my TeX code. When I use \clearpage command, the page is removed but it reduces the total number of pages in my entire document. I am ...
3
votes
1answer
239 views

Trouble with Bible Style page header lines

I'm attempting to typeset a Bible for my mom and I'm running into a few problems and I was hoping someone here could help. First I'll start with the easy question. I'm currently using two columns ...
0
votes
1answer
164 views

PDF not generated but I see no error!

I am having a lot of trouble adding png images and also with hyphenations, All of a suddent I was adding the following tkiz scheme and when I add the lattest part I started getting a bunch of ...
2
votes
1answer
47 views

Creating variable pagebreaks

Is it possible to procedurally generate page breaks by measuring text/page space? I am having a problem which you can see here: There are two problems in this picture. First, the heading should ...
3
votes
0answers
105 views

ToC page numbering occasionally wrong after using vspace [closed]

I'm writing my dissertation and have a few sections that are small, less than a page, each with a figure. I'm letting the figures float to the next section to keep them from being on a page by ...
2
votes
2answers
128 views

How to handle unnecessary whitespace leading to widows/orphans?

I'm working on my paper using TexMaker and this is what's happening: I'm getting unnecessary whitespace before paragraph 'B'. As a result of the unnecessary whitespace I have a widow/orphan of an ...
5
votes
2answers
130 views

thmbox splits theorems in two pages and the option “nocut” produces many empty spaces in pages.

this is a follow up to the problem described here. I have the same problem and the proposed solution does not completely solve the problem. I mean, it does solve the problem but also creates another ...
7
votes
3answers
887 views

How to prevent page break between section heading and longtabu table?

I have created a minimal working example (MWE) consisting of a section and a longtabu table. \documentclass{report} \usepackage{longtable,tabu} \begin{document} An initial line of text \vskip ...
2
votes
1answer
117 views

Peculiar pagebreak problem with nested environments

I have been trying to make custom theorem environments because the classical newtheorem command does not suit my needs. I have been stuck with a pagebreak problem which I explain below. Here is the ...
2
votes
1answer
65 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 ...
5
votes
1answer
111 views

Making one column which is too wide for a page in two pages

I am writing a book using latex, with pages of tables to make the horizontal and vertical alignment of the text and equations strict and precise. However there is a column (on every page) which is too ...
0
votes
0answers
52 views

Clear column on a double column document [duplicate]

How do I clear a column in a double column document? I have two floats, and I want each to occupy a different column. \clearpage before the second float puts it on a new page, while \pagebreak does ...
4
votes
1answer
322 views

Using needspace for every paragraph with LyX

I am using 2.0.5.1 on a windows XP OS. I have MikTeX 2.9 installed. I am trying to use the needspace package. As such I have opened MikTex installed it , then refreshed FNDB via the 'Settings' in ...
4
votes
1answer
254 views

mathtools: the use of intertext in align

If I use \intertext{some sentence or two} and then continue align, will the align environment break across a page break where the text is inserted or is it still unbreakable? If it is still ...
3
votes
0answers
50 views

Insertion of a single blank page [duplicate]

I am trying to finish my thesis which will be printed two sided. Here is the core of my latex document: \begin{document} \include{garde} \frontmatter \selectlanguage{french} \include{remerciements} ...
3
votes
1answer
214 views

Centering wide supertabular tables with \makebox

I am trying to use \makebox to center a wide \supertabular table, but if the table spans more than one page, latex gives a ! Missing \endgroup inserted. Any ideas on how to center a wide supertable? ...
3
votes
1answer
93 views

Preventing the “end square” of proof environment to be alone on a newpage after an enumeration

I have something like (with the packages amsthm and document class book): \begin{proof} blabla \begin{itemize} \item blabla \item blabla \end{itemize} \end{proof} The problem is, that ...
2
votes
1answer
213 views

\usepackage{sectsty} and problems with \pagebreak

UPDATE WHERE IT BREAKS DOWN... PLEASE REFER TO CODE BELOW. I ADDED ONE MORE PACKAGE and ONE DEFINITION \documentclass[twocolumn]{book} \usepackage[T1]{fontenc} \usepackage{caption} \usepackage{tikz} ...
3
votes
2answers
712 views

Table caption spanning two columns

I have an appendix section in my document, and I have to put a table after that. The problem is that I intend to use table*, but if I use that it would ignore table*[h] and will place the table on top ...