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

18
votes
0answers
274 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 ...
7
votes
0answers
111 views

Typesetting literate programs: how to enable page breaking mid-paragraph, but not mid-code?

I'm writing a book that is a literate program. A literate program is divided into "chunks" or "sections," each of which has a documentation part and a code part. (It is also permissible, and in my ...
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
78 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
693 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
245 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
555 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
38 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
234 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
241 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
54 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
135 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
157 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
283 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
70 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
28 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
130 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
188 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
127 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
45 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
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
105 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
183 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
34 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
41 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
40 views

Remove Blank Pages

MWE: \documentclass[a4paper,12pt,leqno,footinclude=true]{memoir} \setcounter{tocdepth}{3} \setcounter{secnumdepth}{3} \usepackage{tocloft}% \newcommand{\cftchapaftersnum}{.} \begin{document} % ---...
1
vote
0answers
85 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
81 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
127 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
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
223 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
131 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
217 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 ...
1
vote
0answers
120 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
167 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
174 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
84 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
177 views

Breaking equation through pages

In a former post I learnt how to break an align equation by using the \allowdisplaybreaks command on the preamble. However, I found the package breqn, which is impressive! So far I've been unable to ...
1
vote
0answers
409 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 ...