Tagged Questions

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

5
votes
0answers
57 views

How to track a page change within an environment?

I'm trying to define an environment that can automatically detect when the material within it moves to a new page, reprint one of its arguments at the top of the new page, and change how it closes as ...
2
votes
1answer
96 views

Longtabu, \tabucline placed on wrong page

See the following longtabu axample: \documentclass{article} \usepackage{longtable} \usepackage{booktabs} \usepackage{tabu} \usepackage{lipsum} \begin{document} \tabulinesep=1.5mm % <---- ...
2
votes
0answers
56 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
1answer
54 views

\include-d chapter and \refsection leads to blank pages in book-based classes

The MWE is pretty much as small as I can get it and replicate the problem. I \include chapters of my thesis (using a template based on book}. Immediately after the last chapter I have a list of ...
3
votes
1answer
48 views

Split Table of Contents but not Summary

I use \shorttoc to have a short table of contents at the beginning and \tableofcontents for a complete table of contents at the end. I need to split the complete table of contents BUT NOT the shorter ...
1
vote
0answers
55 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 ...
2
votes
2answers
77 views

Is it possible to pagebreak a longtable if the next “n” amount of rows won't fit on page?

I want to produce a longtable where some "elements" consist of multiple rows (see picture). I want the longtable to pagebreak if the next element doesn't fit in the table. Is there a way to tell ...
0
votes
0answers
117 views

Blank page disappeared between chapters after chapter 2 in latex

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 ...
0
votes
1answer
46 views

Blank page disappeared between chapters 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 ...
0
votes
0answers
19 views

Itemize environment too big for one frame in beamer [duplicate]

In the end of my presentation, I have a section with open questions in the form of an itemize environment. The \item-s of this environment are just too many to fit in one frame. How can I force the ...
3
votes
1answer
279 views

Pagebreak in left column (Friggeri CV): There's no line here to end

I am using Friggeri's CV Template and was wondering whether it would be possible to make a pagebreak or columnbreak to write something in the left column in the second page. I have tried \pagebreak, ...
5
votes
0answers
42 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} ...
3
votes
0answers
71 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 ...
5
votes
1answer
105 views

Why might \\* (“line break here, but no page break”) not work, and how can one fix this?

One is often taught that "\\ causes a line break which is not a paragraph break" and "the variant \\* additionally prevents a page break". (I hereby acknowledge user egreg's admonition that "\\* ...
4
votes
1answer
56 views

General question about controlling hyphenation and document layout

In general, I am letting LaTex do its own thing regarding document layout. I have set the margins and line-spacing according to my University's criteria, but otherwise the only thing I have messed ...
3
votes
1answer
47 views

Unwanted page break before align

I am having some issues with the positioning of a page break with align. My code is roughly the following. \documentclass{article} \usepackage{amsmath, amsthm} \begin{document} %Lots of text to ...
5
votes
1answer
58 views

Break page in \valign

Let's say I have a \valign like: \parindent=0pt \tabskip=\baselineskip \valign{& \hsize=.5\hsize\raggedright #\crcr Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod ...
3
votes
2answers
245 views

Algorithm is not dividing into multiple frames

\section[Algorithm]{Algorithm} \begin{frame}[allowframebreaks] \begin{algorithm}[H] \begin{algorithmic}[1] \STATE \emph {Taking a sequence of values $(f_{1} \dotsc f_{n/2})$, and calculating $pfbm = ...
1
vote
1answer
55 views

What to do if \clearpage does not flush the floats exactly?

Consider this MWE: \documentclass[% 12pt, journal, onecolumn, twoside, draftcls, letterpaper, ]{IEEEtran} \usepackage{tikz} \usetikzlibrary{calc} \usetikzlibrary{positioning} \usepackage{adjustbox} ...
7
votes
2answers
121 views

algorithm with partial borders/frames

I use the algorithm float environment for pseudocode and want some algorithms to span two pages. That works fine with \algstore and \algrestore. However, I would like to omit these borders at the end ...
4
votes
2answers
141 views

How to avoid page break in sections?

This is my code: \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{graphicx} \usepackage{lipsum} ...
1
vote
2answers
384 views

Reactivating “\clearpage” in LaTeX after turning it off with “\let\clearpage\relax”

My document has a table of content in it. As i found out, after inserting one (\tableofcontents) LaTeX does a \clearpage by default. A method to ignore \clearpage is the command \let\clearpage\relax, ...
1
vote
1answer
54 views

shrinking a page

In the reference list section of my paper, there is one reference alone occupying/creating one extra page, which is something i do not want. What could be a solution for changing this without ...
2
votes
0answers
77 views

How to avoid frame break in beamer?

I am using the command \begin{frame}[allowframebreaks] to split a large slide into multiple slides. However, the last slide only contains two lines and I would like to force them into the previous ...
3
votes
1answer
90 views

Overfull \vbox and wrong page layout

I know there are plenty of questions about this kind of warning but I've not been able to find my answer in any of them. I've used a code to avoid \cleardoublepage and \clearpage after every ...
4
votes
1answer
221 views

mdframed box spanning over page break: prevent images in between

I've run into a problem in a bigger documents where pictures get in between the breaks of mdframed boxes. So the scenario is that the mdframed box should break at pageend if it's to large and not ...
5
votes
1answer
61 views

Problem in breaking codes in tcolorbox

I have a code which extends more than one page and I would like to break it into more than one page. I used breakable library but it has no effect on the created PDF and all the code appeared in the ...
1
vote
0answers
56 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 ...
3
votes
1answer
40 views

Can \newpage take an argument like \pagebreak?

I redefine \subsection in the article class \renewcommand\subsection{% \penalty-8888 %\pagebreak[3] \@startsection {subsection}{1}{0em}{1\parskip plus 1\parskip minus 1\parskip}{1\parskip plus ...
4
votes
1answer
95 views

Image vs Text Arrangement [duplicate]

When I write a multi-page paper with imported images, I usually try to group the picture with the text referencing it. Sometimes, there is not enough room at the end of the page for the picture, and ...
2
votes
1answer
54 views

Prevent page break when text exists before title in twocolumn enviornment

I have an article using the two column enviornment but the title and abstract in a single column which works fine like this: \documentclass[a4paper, 11pt, twocolumn]{article} \begin{document} ...
7
votes
1answer
170 views

page break in the middle of a \cite

With pdflatex all my citation are pdf hyperlinks to the respective entry in the bibliography. This causes a problem when occasionally Latex decides to do a page break in the middle of a citation so ...
12
votes
1answer
163 views

Does \\* within footnotes have any effect?

One is taught that \\* is an alternative to the line-breaking \\ that tries (often unsuccessfully) to inhibit a page break. Normally \\* would be used in ordinary ("body") text. (And I hereby ...
2
votes
1answer
72 views

mdframed: how to prevent a box from splitting?

I would like to prevent an mdframed box to split. I know it could sound absurd, since mdframed is designed to allow splitting but if it could be done, I would be interested in modifying mdframed so ...
10
votes
1answer
164 views

mdframed: how to prevent a box from splitting if the remaining content (or the initial content) is too small?

Question I would like to prevent mdframed to split a box too early or too late. By this, I mean that I would like the remaining part of the box to always be greater than a fixed length, given before. ...
1
vote
1answer
39 views

Table of content with long entry across two pages

In my thesis, I have a section with a very long name, which must appear in its entirety in the table of content. The title consists of three lines and, unfortunately, it is split in two different ...
5
votes
1answer
165 views

mdframed: splittopskip does not work when the first object after splitting is another mdframed box

Question I would like to add space in an mdframed environment after a splitting (a page break) and in the case where the first object after the splitting (the page break) is another mdframed ...
5
votes
1answer
94 views

Spreading newenvironment over two pages

I am using a template found online to do my CV and I am getting a hard time trying to spred the content of a newenvironment over two pages. I want the content of one of my rubrique to be over the end ...
1
vote
1answer
61 views

How to avoid page breaks between the paragraphs of a description item?

Is there a way of preventing LaTeX from putting page breaks between two paragraphs of a multi-paragraph \item in a description environment? Preferably without having to put in explicit \nopagebreak ...
9
votes
2answers
172 views

Bottom frame of listing appears on top of the next page

As the title says. I use, among other things, the following in my lstset: framerule=1pt, frame=tblr Some places a page break happens in the middle of my \lstlisting. Fine. But sometimes the whole ...
8
votes
0answers
100 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 ...
0
votes
0answers
34 views

How to remove the space between the context and the section?

\documentclass{article} \usepackage{fontspec} \usepackage{ulem} \setmainfont[BoldFont=黑体]{宋体} \makeatletter \renewcommand\subsubsection{\@startsection {subsubsection}{2}{1em}%name, level, indent ...
3
votes
1answer
58 views

Page break in dmath equation environment

I have a very very long equation. I want it to split over different pages automatically. My quation contains 1700 terms and it may go for many pages. Is it possible with dmath or any other way? e.g., ...
3
votes
2answers
84 views

Preventing caption in new page [duplicate]

This is not about keeping the picture or table close to where they have been mentioned. It is about keeping the caption of the picture (or table) together with the picture. Otherwise the picture and ...
4
votes
0answers
108 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 ...
1
vote
0answers
41 views

Why there's a page difference between the title of the paper and the abstract? [duplicate]

Can you please tell me what causes a page difference between the title/authors and the abstract? \begin{document} \title{\LARGE Spectral Clustering vs Wavelet Clustering: A Comparative Study} ...
6
votes
1answer
147 views

Empty pages in the preface section of my thesis

I am writing a thesis and I'd like to use the openright option: \documentclass[letterpaper,12pt,twoside,openright]{report} The problem is that when I use this option, empty pages are placed between ...
6
votes
1answer
141 views

Changing page numbering style occurs one page earlier than expected?

I want my report to have the first few sections with roman numbering (i, ii, iii...), and the body of the report with arabic numbering (1, 2, 3...) for the page numbers. The problem is that the ...
3
votes
2answers
263 views

figure* environment skips page while using two-column document

I was told to use table* rather than the table environment to insert a table in a two-column document which is too small to fit in a single column. When I try to do the same thing with a figure, The ...
4
votes
1answer
81 views

How to make 2 tables appear one next to another?

I have a document with three tables. These three tables currently are too long for the page, so I would like to make 2 tables appear next to each other and then make the third table appear below them. ...