{page-breaking} is about how (La)TeX breaks pages (and, in multi-column documents, columns) and how page/column breaking can be influenced.
8
votes
1answer
102 views
Remove/hide content if it would appear as an orphan [duplicate]
Possible Duplicate:
prevent “action” if top of page
I have some blocks of text, separated by a \hline. Because the LaTeX code is generated automatically from user-entered data, ...
35
votes
4answers
1k views
Typesetting limitations of LaTeX
What are the typesetting limitations of LaTeX? In other words what are the things that desktop publishing and word processing programs do better than LaTeX? I am not really interested in things that ...
4
votes
1answer
177 views
(Avoid) hyperref links across pages, with automatically generated content
In my previous question I implemented thumbs.sty, a package that allows the creation of Thumbnails of other frames in beamer (if you want to read that one, you'd beter brew some fresh coffee :) ).
...
7
votes
1answer
85 views
No pagebreaks between questions and answers
I'm working on a homework set, and one of my answers to a multi-part question has become very long. I've been keen on keeping problems and solutions as much on the same page as possible, and my ...
1
vote
0answers
142 views
Page break before caption in lstlisting [closed]
I have the following settings for a lstlisting:
\lstset{
language=XML,
numbers=left,
numberstyle=\tiny\color{gray},
stepnumber=1,
numbersep=5pt, ...
4
votes
2answers
518 views
placing in the same page two abstract in different language
I'd place in the same page two abstract section.One created using my own language and one in english language. If I tried this:
\selectlanguage{italian}
\begin{abstract}
\lipsum[1]
\end{abstract}
...
3
votes
1answer
115 views
How to prevent pagebreak for a custom environment?
I use the following custom environment emailHeader and macros to format an email header (credits belong to egreg).
\definecolor{emailHeaderBackground}{RGB}{225,225,225}
...
10
votes
1answer
161 views
Text spreading onto both columns in middle of twocolumn layout
I know that the package cuted can do its job quite well. However I'd be interested in different layout than what cuted provides. I hope that the image will be worth milion words:
On the left is the ...
3
votes
1answer
113 views
keep listing's caption together with listing
I'm using the tips found in here to show a code listing with a caption. Sometimes the caption is put at the end of the page and the listing on the next page. How can I keep them together?
5
votes
1answer
103 views
Different pdflatex versions produce differently typeset documents - is there a kind of compatibility modus?
For some time I've been working on editing a conference proceedings, putting the different chapters together. I'm working on two different systems, which run slightly different versions of pdflatex. ...
0
votes
0answers
93 views
How do I break a long table cell/row using the europecv package? [duplicate]
Possible Duplicate:
Table environment that can break inside a cell
Using the europecv package to typeset my CV, I mostly use the \ecvitem command which. The whole Europass CV is built ...
2
votes
1answer
120 views
fixed distance and no page break between lines
I'm trying to make a quotation environment which puts the quote on a gray background, with a colored rule right on top of it:
\documentclass{memoir}
\usepackage{color}
...
2
votes
1answer
100 views
Forcing new categories in splitbib to start on new pages
I use splitbib to create a sectioned bibliography in my CV, and I was wondering if there's a way to customize it to force new categories to start on a new page? I'm thinking that I'd have to do ...
4
votes
1answer
84 views
Place group of text and image on same exported PDF page
I am new to Tex and this question maybe is not written well, so I will try to explain it better.
I am writing a reference manual where there are a lot of "blocks" that all have the same structure: a ...
5
votes
1answer
1k views
Remove blank page between list of figures and list of tables
Please how can I delete the blank page between List of Figures and List of Tables?
I tried this:
\listoffigures
\nopagebreak[0]
\listoftables
but nothing changed. Here is my code:
...
2
votes
2answers
232 views
How can I fit my table of contents into a single page? Revisited
This question is essentially the same as How can I fit my table of contents into a single page?
"When I use \tableofcontents I get all my contents in a single page except for a line that goes on the ...
8
votes
3answers
210 views
Forcing even number of pages in output (LaTeX — pdflatex) [duplicate]
Possible Duplicate:
How to keep the last page number even?
Is there a way of forcing an even number of pages in output ?
What I mean is to make pdflatex document "intelligent" it will add ...
0
votes
0answers
132 views
Spacing in LaTeX [closed]
I have a little problem "spacing" with LaTeX. I had in the document a large space between the end of a "subsubsection" and the beginning of the "subsubsection" this is to let the title of "subsection" ...
9
votes
1answer
84 views
prevent break after \poemtitle
This MWE shows that LaTeX can put a break after the title of a poem (written with the \poemtitle command of the verse package). Can someone advice me a way to prevent this behaviour?
...
7
votes
1answer
310 views
Rounded corners not working in \mdf@singleextra using mdframed with TikZ
I am creating new framed environments using the mdframed package (along with TikZ) based on the digression example given in mdframed-example-texsx.tex. My code is the following:
...
7
votes
1answer
145 views
Allow line breaks but not page breaks in inline formulas
It often happens that LaTeX breaks up an inline formula over two lines. However, I find it quite distracting when it breaks an inline formula over multiple pages. For example:
...
0
votes
1answer
122 views
Set slide subtitle in beamer after \framebreak
I am writing my thesis' slides. I need to set a subtitle in some slides, but I am using the [allowframebreaks] option and \framebreak.
When I set the \framesubtitle{} after \framebreak, the subtitle ...
2
votes
1answer
1k views
Vertical align at center in beamer slides using the [allowframebreaks] option and \newpage
I'm writing my thesis slides in beamer. I need to align vertically at center the slide's contents when I use the [allowframebreaks] option in the frame environment and the \newpage to start a new ...
5
votes
1answer
75 views
Skip given vertical space accross pages if needed
I would like to leave a vertical space of a given length, say 10cm, in my tex document. In fact, I want to leave enough space in a proof environment for the proof to be written at hand once the ...
6
votes
1answer
101 views
Footnotes causing pagebreaks in philosophersimprint.cls
I am trying to typeset an article using the philosophersimprint class, but footnotes are having a weird interaction with pagebreaks. Here is a minimal example demonstrating my problem:
...
5
votes
1answer
112 views
How to keep last n lines together in listing?
I have a large listing defined with lstlisting (listins-package). Now the listing reaches over three pages. On the last page there is only one line (the last line) of the listing.
I looks not very ...
6
votes
1answer
855 views
Proofs in Beamer
I'm writing a presentation in Beamer, where I present proofs which are longer than one frame. How to make Beamer to break it automatically to another frame? If it is not possible how am I supposed to ...
1
vote
1answer
145 views
Pagebreak problem (stop my document from not pagebreaking) [duplicate]
Possible Duplicate:
What is the command to just slightly increase the text height of a particular page?
Squeeze some more lines on the current page
How would I shift up my text from the ...
3
votes
2answers
279 views
Longtable exceeds page length
My longtable exceeds the page length. Any help would be highly appreciated.
\documentclass[11pt,a4paper,oneside]{report}
\usepackage{fontenc}
\usepackage{setspace}
\usepackage{array}
...
6
votes
1answer
244 views
Remove blank pages after title and Table of contents
I'm using the book style, and I've got a title and ToC, they generate a lot of blank spaces after them that is completely unnecessary; how do I stop this behaviour?
Here is my example code
...
4
votes
0answers
139 views
Avoiding bottomrule to go to next page [duplicate]
Sometimes my longtable bottom rules end up in the following page. How do I avoid that?
5
votes
3answers
132 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?
10
votes
1answer
146 views
How to have the mdframed material flow in the top part of consecutive pages
Suppose you have the following layout:
The gray area represents normal text. The orange area consists of one or more text boxes (inserts) of given height.
Some textbook layouts present advanced or ...
10
votes
2answers
517 views
Is there a distinct command for \widowpenalty and \clubpenalty in footnotes?
I have found that setting \widowpenalty=10000\clubpenalty=10000 in the main document has not prevented widows and clubs from appearing occasionally in footnotes in a long and complex document I am ...
4
votes
1answer
330 views
More sophisticated page breaks within aligned equations
This is my current method of allowing page breaks between my aligned equations
{\allowdisplaybreaks
\begin{align*}
left &= right1 \\
&= right2.
\end{align*}}
It works, but it doesn't ...
5
votes
1answer
849 views
\newpage,\clearpage and \cleardoublepage not working
I'm trying to compile the following:
\documentclass[twoside,11pt,titlepage]{article}
\usepackage[paperwidth=5in,paperheight=7in]{geometry}
\usepackage{graphicx}
\usepackage[absolute]{textpos}
...
6
votes
1answer
1k views
LaTeX: First page blank
I just installed LaTeX with TeXworks today. I need to create a simple PDF out of a couple large images, I realize this is likely very crude and roundabout but I somehow managed to get the thing done. ...
2
votes
1answer
102 views
Pagebreak and Verbatim environments
Given the following piece of code:
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{fancyvrb}
\DefineVerbatimEnvironment{shell}{Verbatim}{
commandchars=\%\{\},
label=\shelltitle,
...
8
votes
1answer
644 views
Change page layout after first page
currently I'm trying to prepare a letter head with XeLaTeX. The first page of the letter should have a sidebar on the right. For this sidebar, the text width should be shrinked to approx. 80% of its ...
4
votes
1answer
316 views
Landscape forces premature pagebreak
After some trouble I have managed to make a table in landscape orientation that breaks over three pages. I used tabularx and the landscape package. Now my problem is that the thing won't float like ...
4
votes
1answer
300 views
bibnewpage option using apacite not working
I am having difficulty with getting the references to show on a new page using apacite. According to the documentation the bibnewpage option should do it, but it is not happening. It is displaying ...
3
votes
1answer
218 views
figure between date and bottom of the title page [duplicate]
Possible Duplicate:
How to insert an image in the front cover of a report?
I want to insert a .eps figure on the title page of a report. This figure has to be placed after date and then ...
2
votes
0answers
235 views
Why does LaTeX longtable start on next page? [closed]
I have a 3-column-longtable that spans over several pages, there's no problem with that. The thing is that there's some text before the longtable. Instead of starting right under the text, LaTeX ...
2
votes
1answer
103 views
Can I have a table that spans multiple pages using ctable?
I'm currently working on a paper and I have a bunch of tables. Currently I'm using the ctable package for my tables. One of my tables is rather long and it spans more than one page. However currently ...
2
votes
2answers
164 views
Vertical line & list environment
I would like to make a good looking environment for my proofs. Some are spread on two pages so i thought of the list environment.
\documentclass{article}
\usepackage[francais]{babel}
...
3
votes
2answers
592 views
section numbers (\thesection) and names have next page's values
I have customized my headers to display section numbers and section names.
However: (a) The section number (\thesection) in my header often shows up with the next page's value. (b) The section name ...
1
vote
1answer
152 views
ConTeXt equivalent of LaTeX samepage [duplicate]
Possible Duplicate:
What is the proper way to prevent text from splitting across columns and pages?
I'd be surprised if this has not been asked a zillion times before, but really I couldn't ...
6
votes
1answer
407 views
How to wrap text around a landscape table over multiple pages? \sidewaystable or \landscape + \longtable
I am trying to create a landscape table that breaks over multiple pages. I have successfully done this with the following:
\begin{landscape}
\begin{longtabu} to \textwidth{some columns}
\caption[my ...
0
votes
0answers
26 views
How to prevent paragraph breaks if only a single line on a page? [duplicate]
Possible Duplicate:
Widow word on a page? I thought LaTeX wouldn't do that.
Apparently there is a typesetting rule that "a paragraph should not be broken so that a single line of the ...
2
votes
1answer
104 views
Two margin woes
I have two problems with my margins. One is that when I print the margins, I can't seem to get them to come out properly. I have
\usepackage[top = 1in, bottom = 1in, left = 1.5in, right = ...