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

1
vote
0answers
25 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
86 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
75 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
18 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
25 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
25 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
68 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 ...
2
votes
1answer
42 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
31 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
49 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 ...
1
vote
2answers
27 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
51 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
64 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
31 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
35 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
45 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
206 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
32 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
39 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
55 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
74 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
90 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
116 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
41 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
59 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
75 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
43 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
37 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
19 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
44 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
36 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. ...
2
votes
1answer
40 views

How to change text arrangement on page

Currently I'm using pdflatex to print content on page with width of 6 in and height of 9 in. It's printing in standard print orientation as mentioned in the diagram below "Current Printing format". ...
2
votes
0answers
43 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 ...
3
votes
1answer
54 views

How to suggest reasonable places for pagebreaks

I am currently typesetting a bilingual Afrikaans-English bible. I sometimes end up with ugly orphans and widows. Is there any way to mark the beginning of verses as friendly page-break places. In my ...
1
vote
0answers
40 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 ...
0
votes
1answer
58 views

Not to start the bibliography in a new page

I'm using thebibliography in order to do the bibliography of my text. Here is what I have written: \begin{thebibliography}{99} \addcontentsline{toc}{section}{Bibliografia} ...
1
vote
1answer
43 views

Figure disappears if a new page is added before it

In the experimental section of my Master's thesis in chemistry, I'm using chemnum to numbering chemical coumpounds. The problem is that the figures disappears when adding a \newpage in front; see ...
2
votes
1answer
84 views

Page break problem after \subsection in LNCS format

I am using LNCS template to author a paper. But, weirdly at random point, if I add a \subsection a page break appears between 'Abstract' and 'First Section': ...
2
votes
1answer
46 views

pagebreak and amsmath theorem environment issue

In the example below, you'll notice that when a \pagebreak is used right after the theorem, an unwanted vertical blank space is added after the theorem environment while it should not. ...
3
votes
2answers
98 views

\columnbreak doesn't work

With the following code: \documentclass[a4paper]{report} \usepackage{multicol} \begin{document} \begin{multicols}{2} \noindent Vediamo un po' di testo a due colonne. Proviamo a cambiar colonna: ...
2
votes
2answers
105 views

How can you automatically continue a figure on to the next page?

Below is my code, I have 5 figures (a, b,c,d,e) under Figure 1.. i want them to continue on the next page and not stuck in the middle. I want them to be one under the other i.e. vertically like the ...
3
votes
0answers
34 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][] ...
2
votes
0answers
32 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 ...
6
votes
2answers
138 views

How can i add the abstract and acknowledgment on the same page?

I want to add my abstract and acknowledgment on the same page as they only fill the half of the page in total, so it looks foolish to have them split into two pages. ...
1
vote
1answer
64 views

longtable side by side

I've two longtables and I'd like to place them side by side. Tabular environments work very well, but I think it is not possible to place longtable side by side (why?). It needs to be a longtable or ...
2
votes
2answers
31 views

Can I configure bibtex.exe to insert the command \interlinepenalty=10000 in the .bbl file?

The following question-answers show a method of avoiding page-breaks in between references: How can I prevent page break between lines of a paragraph or bibliography entry? ...
0
votes
1answer
32 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 ...
2
votes
1answer
62 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, ...