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

Remove blank page at end of \documentclass{letter}

When Trying to create a letter using the letter document class I get an unwanted blank page at the end of my document. It looks like it may be coming from the \begin{letter}{} macro as the first ...
3
votes
2answers
134 views

Breaking problem in tcolorbox — break at — breakable

My MWE, \documentclass[a4paper,twoside,openany,12pt]{book} \usepackage[left=1cm,right=1cm,top=2.5cm,bottom=2.5cm,marginparwidth=0cm,marginparsep=0cm,outer=1cm]{geometry} \usepackage[T1]{fontenc} ...
28
votes
2answers
1k views

Is LaTeX intended for unattended typesetting?

With markup converters like Pandoc, it has now become possible to generate LaTeX documents without ever touching any LaTeX code. However, obtaining aesthetic page breaks for slightly complex ...
4
votes
1answer
229 views

Using a package only for certain tables

I am using the tabularx environment since it the X component of the columns is very useful and necessary for the tables I want to produce. However, a single one of my tables is longer that a page, and ...
12
votes
2answers
804 views

Overfull box and broken pagination with page that contains only section headings

I'm working on a large document in Emacs (23.2.1) org-mode (7.8.06) which I export to LaTeX. At present, the outline/structure of the document has been created, but not any of the content. The LaTeX ...
4
votes
1answer
75 views

Start only some chapters on right-hand side after a set page/chapter

I'm working on my masters thesis, and have a fairly decent structure (I feel..), but I have one issue. I want my chapters to start on the right-hand side, which in itself is not hard to do. However, ...
1
vote
1answer
47 views

Break subfigures along 2 pages using the subfigure package

I am trying to add subfigures that are larger than one page. I am using the package subfigure that might be a bit obsolete, indeed, however I insist in using it because I have a very large documents ...
6
votes
2answers
72 views

Is it possible to apply shadow only to the last part of a breakable tcolorbox?

I'd like to apply (drop lifted) shadow only to the last part of a breakable tcolorbox but I couldn't find any hint for this in the documentation. The following MWE is a non working attempt. ...
5
votes
2answers
930 views

Break Lines in minted environment

Usually when adding code in a LaTeX document, I use the listings package. When trying to modify and personalise styles in listings, @1010011010 suggested to use the minted package. To be quite frank, ...
2
votes
1answer
49 views

Make \sections in book class start on the right (odd pages)

I'm using the book documentclass, but I use \section instead of \chapter to structure it. Is it possible to make the sections start on the right (odd pages)?
0
votes
0answers
36 views

ltablex - Multirow problem: rows don't continue to the next page

I'm writing a thesis document and I have many longtables with tabularx, so I've decided to use the package ltablex for that matter. The problem with multirow is that it doesn't seem to cross pages ...
4
votes
1answer
49 views

Why this float in multicols is moved to next page while there is enough place on the current one?

In the following MWE, the second float (within a multicols environment) is moved to page 4 while there is (seems to be) enough place where its code is given (on page 3). Why? \documentclass{article} ...
0
votes
0answers
62 views

Split a page horizontally with page breaks

I am looking for an adequate package to split horizontally all pages of an article into two parts with page breaks. The expected behaviour shall be as in following picture: I already try with the ...
0
votes
0answers
9 views

Stop elements from being pulled apart one page [duplicate]

I have a very long LaTeX document with many tables, figures, etc. When I have a long table on the following site (which means it doesn't fit on the current site) the elements (paragraphs, tables, ...
0
votes
1answer
99 views

Changing margins in .sty

I'm trying to change the margins in an input .sty. I'm trying to set different margins for the first and second page. I've managed to alter the margins but the first paragraph in the second page has ...
0
votes
0answers
26 views

Two columns template [duplicate]

I have a question regarding to two columns format. I want to use the following document in paper. While I want to write a multiline formula it goes to the next column and change everything to a messy ...
3
votes
1answer
110 views

The “beforeheading” counterpart of \@afterheading

Suppose that for ransom reasons (in my case, because my document was converted from XML) I want to typeset all headings manually. Then I could do something like \documentclass{memoir} ...
5
votes
1answer
72 views

Custom marker at pagebreak within lstlisting

Does anyone knows a solution about how to make place custom markers at pagebreaks into lstlistings ? What I want is to put a cissors icon before and after the pagebreak but I didn't find a way to ...
5
votes
3answers
198 views

Onecolum at the end in twocolum

So I have two problems: first. how to add onecolumn at the end of article withtout breaking page? second. same but after table in the middle of text?
6
votes
1answer
163 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 ...
1
vote
1answer
344 views

Forcing paracol to look like a tabular [closed]

Consider the following tabularx construction: \documentclass{article} \usepackage[margin=1in]{geometry} \usepackage[table]{xcolor} \usepackage{lipsum,tabularx} \begin{document} \noindent ...
7
votes
3answers
3k views

How do I make figure captions span multiple pages?

How do I make figure captions span multiple pages? I have a very long caption for a figure and would like it to carry on to the next page. EDIT: I would like this to work in both one sided and two ...
1
vote
1answer
79 views

Issue with page breaks before section and toc hyperlinks

I need page breaks before each \section{...} of my document. According to this thread: Start new page with each section I am supposed to add following command: \newcommand{\sectionbreak}{\clearpage} ...
1
vote
2answers
71 views

\newpage does not seem to create a new page

Brand new to LaTeX, using LaTeXit on OSX 10.10.1. Here is my preamble and my code after the preamble. \documentclass[10pt]{article} \usepackage[usenames]{color} %used for font color ...
3
votes
1answer
83 views

Scheduling a float to appear on a specific, later page?

Consider the following MWE - let's say it's called test.tex: \batchmode % \ifx\article\undefined % \documentclass[12pt,journal,onecolumn,twoside,draftcls,letterpaper]{IEEEtran} % \else % ...
2
votes
1answer
85 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, ...
1
vote
0answers
70 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 ...
11
votes
1answer
16k views

Switching from two columns to one column without adding a page break

I am trying to adapt this solution, shown below, of multiple authors and multiple affiliations:                     to a format where, title and ...
6
votes
1answer
160 views

Suppress a page break before a breakable tcolorbox

I'm trying to avoid page breaks between a sectioning command and a following tcolorbox. With "normal" boxes I can use \nopagebreak, e.g. in the before option: \documentclass[]{article} ...
3
votes
1answer
119 views

Document on recto page but numeration on both recto and verso

Last month I met a friend of mine which was writing her master thesis (with Word) and she said me that her supervisor told her that the thesis must have been oneside but the numeration must have been ...
2
votes
1answer
298 views

Output to PDF doesn't print out everything

I have the following text in a file: 1 A2: 1.1 General Information 1.1.1 About This Manual 1.1.2 Typographical and Syntax Conventions 1.1.3 Overview of the MySQL Database Management System 1.1.4 ...
0
votes
0answers
24 views

Insert soft \newpage before sections

Normally, sections encourage Latex to \pagebreak so that if e.g. a section is close to the end of a page, it will get pushed onto the next page. I am happy with this behavior, except for one point: ...
2
votes
1answer
32 views

Longtable float placement

I have a longtable that breaks over two pages. It is referenced in a paragraph that also breaks over a page, and continues at the top of the next. My issue is that I need to make it so the longtable ...
9
votes
4answers
202 views

Widow Orphan lstlisting

I have a listing of 6 lines. The listing box does not seem to fit on one page (it is on the bottom of the page) so the rest of the box is printed on the next page. There is nothing actually in the box ...
0
votes
0answers
49 views

Longtable Row too large for a single page

I need to display a source text, and a translation into another language side by side. In order to keep the source and translation together I utilized a longtable, to span multiple pages. ...
4
votes
1answer
210 views

split longtable over even and odd pages (2)

I am a first-time user of LaTeX, trying to typeset my thesis. My problem is that some of my tables are large and do not fit on a single page; both in length (many rows) but some also in width (many ...
6
votes
2answers
452 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 ...
1
vote
1answer
248 views

Make longtable automatically fit page (line width)

I have a longtable in landscape mode that is automatically split on multiple pages when there are too many rows. I have solved the length problem. Now I have a problem with width, the rows are going ...
3
votes
1answer
117 views

TikZ mdframed environment: close box at end of page and continue on next

I used the Excursus environment as a template to create my own box like this: \usepackage[style=1,leftmargin=0pt,rightmargin=0pt,framemethod=TikZ]{mdframed} \newenvironment{boxtype1}{% ...
5
votes
1answer
188 views

Prevent page break after first line of example

I would like to find a way to prevent a page break between the first line of the example in following code. \documentclass{article} \usepackage{lipsum} \usepackage{gb4e} \begin{document} ...
7
votes
2answers
265 views

Using expex across pages

I am using the expex package to align two types of text, doing it as if it were a gloss, and it works fine. There is one problem, though: Many of the texts I'm working on are longer than a page, and ...
3
votes
1answer
55 views

Can TeX tell me where it is breaking the lines and pages?

I am looking for TeX to tell me where in the TeX file it has broken the lines and pages. I put \label in every word or even character and then it does tell me something but sometimes it is still ...
3
votes
0answers
121 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 ...
2
votes
1answer
213 views

Per-chapter blank page disappears after Chapter 2

I use LaTeX with the document class book. I´d like a blank page between chapters but it works only after Chapter 1. I've tried to force a blank page with \newpage, \clearpage and \cleardoublepage and ...
0
votes
1answer
68 views

Blank page disappeared between chapters after chapter 2 [duplicate]

I use LaTeX with the document class 'book'. I'd like a blank page between chapters but it works only after chapter 1. I've tried to force a blank page with \newpage, \clearpage and \cleardoublepage ...
9
votes
2answers
5k views

To have no pagebreak before Bibliography

The position of Bibliography section is defined by document class, report class is a new page, some articles class no has page break. How change this witout change the class of the document? So i ...
2
votes
2answers
66 views

Page-breaking of long tables with tabularx and booktabs in scrreprt documentclass

within my thesis I want to have a page break within tables that are very long, and which are created with tabularx and booktabs packages. Surprisingly I could not find any applicable solution for my ...
3
votes
1answer
97 views

Floating lstlisting - Getting it to split if longer than a page

When I put a long code in my file using a floating lstlisting, it is forced to be in only one page at the end of the chapter, and then some of the code is truncated and outside of the page. If I ...
12
votes
1answer
126 views

Varying Page Lengths

How can I vary the vertical page length per page? I want to have the page breaks at essentially arbitrary locations in the document, specified by a command, like \newpage but not necessarily this ...
8
votes
1answer
177 views

Stop Hyphenating Across Page Breaks

How to prevent hyphenation across page breaks? Here is my minexample: \starttext \dorecurse{200}{Aprikosengeschmacksrichtung } \stoptext What I mean is a feature, which many other typographic ...