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

19
votes
0answers
281 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 ...
5
votes
0answers
82 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
83 views

How to let minted break across pages but keep the caption together with the end of listing?

I want to create a listing using minted that has background colour and can be split across pages. The usual advice in that case is to use the mdframed environment and I have written a command that ...
4
votes
0answers
696 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), don'...
4
votes
0answers
56 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
251 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
565 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
42 views

Badly aligned tikz objects and bad page-break in deluxetable

I am creating a table in latex, and I need to use a deluxetable environment. I use the package tikz to draw some circles in the table. The problem I am having is that I want to reposition those ...
3
votes
0answers
241 views

Avoid pagebreak in mdframed environment

I created a document with two columns which contains almost exclusively mdframed environments. In general, splitting up the frames over the columns or a page is welcomed and works. However, situations ...
3
votes
0answers
262 views

Putting “continued…” at the bottom of the page and on the top of the next page in ConTeXt

I have a section of text that contains several paragraphs, enumerated lists and possibly small tables (3 or 4 rows maximum), and where this section of text crosses a page boundary I'd like to put &...
3
votes
0answers
56 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 doesn'...
3
votes
0answers
137 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 ...
3
votes
0answers
161 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
61 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 ...
3
votes
0answers
284 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
26 views

How to fix this (un)expected result from atbegshi

Please how to fix this? \documentclass{article} \usepackage{lipsum} \usepackage{atbegshi} \begin{document} \section{Foo 1} \lipsum[1-2] \section{Foo 2} \lipsum[1-2] \section{Foo 3} \...
2
votes
0answers
35 views

How to format deduction/equation extending multiple pages?

I'm working on a logic paper that includes a deduction of one of DeMorgan's laws. The proof is Fitch style using Johan Klüwer's 2003 fitch.sty package. It's a long proof and I inevitably end up with a ...
2
votes
0answers
72 views

Inserting a page after title page containing text and image without numbering

How can I insert a new page containing text and image (so I would be able to edit that page) after my title page and before ToC without counting that page in a multi-file format? thanks a bunch, ...
2
votes
0answers
42 views

Encourage (XeLa)TeX to break pages at the end of sentences within a paragraph

As the title suggests, I am using XeLaTeX to layout very long paragraphs (up to 50 pages in length for a single paragraph), and would like to encourage it to break pages at the end of sentences within ...
2
votes
0answers
29 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
150 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
195 views

different text alignment on even/odd pages (like raggedouter but for text)

For a poetry book I would like to typeset all text on even pages \raggedleft and all text on odd pages \raggedright, including headings. Poems can span across multiple pages, so the change of text ...
2
votes
0answers
130 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, right=...
2
votes
0answers
47 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
132 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 ...
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
107 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
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
190 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
89 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)? \documentclass[a4paper]...
1
vote
0answers
19 views

blank part appears in middle of mdframed and minted

I am having a layout problem with latex, A blank space appears when i execute this code: El algoritmo inicial utilizado con threshold simple aplicaba un thresh de 25, ya que se ha comprobado que a ...
1
vote
0answers
21 views

How to remove a blank page before landscape figure tabular?

I tried to insert a figure using landscape, figure and tabular. However, it has an extra blank page. What should I do to remove the extra page? Thank you so much. \documentclass[12pt]{article} \...
1
vote
0answers
19 views

tcolorbox breakable in multicol environment

I would like to have my tcolorboxes with breakable inside my multicols environment. But they do not break. Also: \documentclass[a4paper, twocolumn]{article} Would not work for me, because for some ...
1
vote
0answers
35 views

PDF file insertion, page breaks

I would like to add a pdf file containing an article within the appendix. When I insert a pdf file using \includegraphics command, a page break is added. This makes the appendix chapter title appear ...
1
vote
0answers
35 views

Odd/even page detection fails at the end of each page

I have a document with many (1000+) tabular objects which contain figures. I would like the order of the columns of these tabulars to flip (1-2-3 -> 3-2-1) depending on whether the tabular is on an ...
1
vote
0answers
14 views

Escape characters for page continuation of tables

I've been using the \longtable entry trying to create a log book. I've used it because I need the table to span multiple pages. A simplified version of the document is below. Even though some of the ...
1
vote
0answers
35 views

babel ngerman interfering with longtable pagebreaks

I have a longtable environment and want pagebreaks only after certain rows which can be achieved putting * at the end of the rows that must not be broken (see this post). This does work as long as ...
1
vote
0answers
42 views

Package hyperref causes a blank page to be added before a section starting with a large image

When I try to have a section start with a large image, an extra page is added before the start of the section. I tracked down the problem to the hyperref package; when it is not loaded the extra page ...
1
vote
0answers
21 views

Penalising page breaks within environment

I have an environment that I use to format examples in a document I'm writing. The contents of that environment typically consists of a few short paragraphs, often each only a line or two long. I ...
1
vote
0answers
94 views

Blank page between references and appendix

Could anyone help please. A blank page is being created between the references and appendix. I have tried all the usual fixes like \clearpage and \cleardoublepage, but none are working. All the ...
1
vote
0answers
26 views

newpage causes tex to misinterpret document end

In my appendix, I'd like to have the first page of my chapter to only show the chapter name and the second page start with a pdf I included via the includepdf package. I tried to accomplish this with ...
1
vote
0answers
30 views

Conditional pagebreak depending on position on page

Is there a way to say, add a newline here, if there are less than x empty lines before the next assumed pagebreak? something like \newpageIfThisLineIsLinesAwayFromBottomLessThan{5} I know that this ...
1
vote
0answers
52 views

How to keep page break points when publishing the same content with two different styles?

I would like to publish two or more versions of the same document. The content is the same, the style is different and the page breaks should be the same too, so that I can refer to the same page ...
1
vote
0answers
82 views

Longtable Duplicate Separator at Page Break

I have a longtable spreading over 2 pages. Unfortunately, since I decided to use the booktabs package, I get a duplicate line separator between the table header of the second page and the next table ...
1
vote
0answers
32 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 inputted:...
1
vote
0answers
227 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
30 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
132 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
222 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
61 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 ...