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

distribute contents of two input-files to left and right pages

Is it possible to import two tex files with \input and to have the content of the one file be always on the left page facing the content of the other file being always on the right? The page numbers ...
2
votes
1answer
30 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 ...
4
votes
1answer
43 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, ...
6
votes
2answers
51 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. ...
2
votes
1answer
29 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)?
2
votes
2answers
53 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} ...
0
votes
0answers
27 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
41 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
26 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
0answers
24 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 ...
0
votes
1answer
84 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 ...
3
votes
1answer
87 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
51 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 ...
12
votes
1answer
156 views

Jumplines (“continued on page…”) in latex?

Many newspapers/newsletters have several articles starting on their front page, yet with only an initial segment of each article on the front page. Each such initial segment ends with a "jumpline" - a ...
1
vote
1answer
36 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
57 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 ...
1
vote
0answers
50 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 ...
3
votes
1answer
95 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 ...
6
votes
1answer
87 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} ...
0
votes
0answers
21 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
27 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 ...
0
votes
0answers
30 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. ...
1
vote
1answer
96 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
65 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}{% ...
3
votes
0answers
46 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 ...
3
votes
1answer
51 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 ...
2
votes
2answers
37 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
60 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 ...
2
votes
2answers
67 views

How can I prohibit page break at `\\`?

How can I prohibit page break at \\? I tried \\* and it sometimes worked but sometimes not. Here is a non-working example: \documentclass{article} \usepackage{geometry} \geometry{textheight=2cm} ...
0
votes
0answers
37 views

Widesplit newbie problem

newbie here. We're trying to make sense of these widesplit examples, but can't make it work... Am i missing something simple? we want the table to page-break horizontally since this report is columnar ...
5
votes
1answer
42 views

longtable sometimes starts new page when we are near the top of the page

Most of the time longtable does exactly what is required, but sometimes it starts a new page when it is near the top of the page and there is plenty of space for the entire table on the current page. ...
3
votes
1answer
70 views

linebreak and pagebreak wherever I want with justified margins

I am looking for two commands: \mylinebreak \mypagebreak The first is supposed to break a line at the very position where the command is set and make the previous line justified (and not ...
4
votes
3answers
218 views

How do you make text flow to another part of a page?

I have a nasty paragraph with tables, long math and enums which I want to flow between two regions of my page. Here is an example of what I am trying to accomplish: I figured I could somehow do it ...
3
votes
1answer
37 views

`multicol`: Forcing column breaks depending on remaining column space

I'm sure I'm not the first one to run into this problem, but I couldn't find any other question that quite answered this in a way that worked for me. I would like to insert a section heading in the ...
3
votes
1answer
43 views

Create page break for entire frame without breaking the text flow

I'm including a large, one page box using framed package, with simplest example being: \documentclass{report} \usepackage{framed} \begin{document} Some text ...
5
votes
1answer
60 views

Double column layout, left side for text, right side for listings

For a documentation I am having a special chapter where there are a lot of code listings, compared to the amount of prose text. What I would like to end up with is a two column layout, where the left ...
3
votes
1answer
86 views

using gb4e keeping interlinear glosses together on the same page

I am using gb4e for several hundred interlinear glosses in my dissertation. Several of the examples span more than one page, that is, the vernacular and gloss will be on one page, while the free ...
1
vote
2answers
104 views

Why does LaTeX move my section to a new page?

I'm using LaTeX to create a CV, however, parts of my table move to another page. The following 'experience' bit of the tabular thing goes to a new page. How do I stop this?! ...
6
votes
1answer
175 views

Difference between \newpage and \vfill\eject

I think I understand the difference between newpage and pagebreak. My question mostly comes out os curiosity. I came across this way to get a new page: \vfill\eject. What is the difference between ...
2
votes
0answers
43 views

Blank pages with horizontal line and header [closed]

I am writing my thesis paper in LaTeX. I wrote the main program like below, but whenever I compile the .tex file one extra blank page is added after every chapter, and it doesn't take into account if ...
3
votes
1answer
39 views

Help for a complicated macro: breaking pages at custom places and itemize environment

In this answer, there is a macro that allows one to have a precise control of the page lengths of a document. This macro is too complicated for me and I have found a problem with it. It behaves ...
2
votes
1answer
69 views

suppress page break before chapter title in LyX

I'm using LyX and need to have the chapters to start soon after the end of the previous chapter. A LyX solution will be most appreciated. Document class report and I am not to change the document ...
5
votes
1answer
80 views

vspace gets extremely large

I'm just writing my bachelor thesis and i got into some problems with vspace. To seperate definitions, theorems and so on, from the rest of the text i defined the following environment: ...
0
votes
0answers
30 views

Split algorithm over two pages, inside a for loop [duplicate]

I have found questions similar to mine, but none of the solutions given solves my problem. Because my algorithm is too long to fit on one page, I want it to be split on two pages. Solutions I've ...
2
votes
0answers
48 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
40 views

Framed theorem environment spread across pages

I wanted to put a vertical line in front of examples to make them easier to distinguish from the regular text. For this I used mdframed, and it mostly seems to work. However, if an example happens to ...
0
votes
0answers
20 views

Multicolumn custom float

I use these package and bunch of instruction to get a custom ruled float named "example" \usepackage{float} \floatstyle{ruled} \newfloat{example}{tbh}{exam} \floatname{example}{\textsc{Exemple}} ...
4
votes
1answer
55 views

How to nicely split proofs into different parts?

I often break long proofs into smaller pieces, in order to make it easier to read and understand. I'm doing that by adding a fbox with "Part X: ...". However, this doesn't work out very well all the ...
4
votes
1answer
40 views

How to prevent my theorems from breaking off at a pagebreak?

I styled the theorems in my document a bit, using the mdframed package. I'm glad with the result, but the frame sometimes breaks off incorrectly. I've created a sample to show you what's going wrong. ...