Tagged Questions
0
votes
2answers
75 views
Linebreak in table cell at document margin
In order to allow line breaks within a table cell, I use \parbox. But when the cells I want to have line breaks in are in the last column of the table, the best thing would be to break them at the ...
2
votes
1answer
43 views
Prevent underful hbox in custom environment
I created an environment for a thesis about a framework, which formats documentation of some methods. The method(s) are at the top with one line per method, set with \lstinline from the listings ...
6
votes
1answer
93 views
Yet another overfull \hbox question
Consider the following example:
\documentclass[a4paper,11pt]{article}
\usepackage{showframe}
\begin{document}
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
eirmod tempor ...
13
votes
2answers
206 views
Persuading (la)tex “silently to go beyond the envelope of 'good taste' ” to avoid an overfull hbox
My understanding, based on reading this website, is that (la)tex performs at most three passes when trying to typeset a paragraph: one based on \pretolerance, one based on \tolerance, and one based on ...
6
votes
1answer
190 views
Penalty or badness for linebreak near start or end of sentence
I would like to set a penalty or badness for breaking a sentence (or the contents of some \command{...}) too early. More specifically, I would like the penalty of a line break to be dependent on the ...
2
votes
4answers
328 views
Boxes overflow column
It's all in the subject.
I used all kinds of boxes in a towcolumn article, but whenever the boxed text is long enough, the box happily continues into the other column!
Is there a "smart" box that ...
2
votes
1answer
468 views
When I prevent hyphenation using an \mbox, the box gets pushed into the right margin
I've used \mbox to prevent LaTeX from breaking certain long words into hyphenated pairs. Now I have a new problem: the unbroken words are extending into the right margin. Here's some minimal sample ...
7
votes
1answer
400 views
Handling overflows in biblatex bibliographies
I'm finally making the transition to biblatex. This is a remarkable package, and has allowed me to cut out quite a bit of old code I used to use to handle eprints, DOIs, crossref mapping problems, ...
2
votes
2answers
243 views
Two paragraphs side-by-side and page breaks
I have a little mind puzzle here. This idea was bugging me since I saw a question about breaking cells in a table on a page break. Let's think of a table row that's built from cells that are ...
0
votes
1answer
74 views
Space for generated text
Throughout my PDF document, generated text on the end of the line is spilled out to the margin.
That is, if I use, e.g., \ref{} or \cite{}, then LaTeX does not consider the actual size of the ...
3
votes
2answers
769 views
Suppress black box at end of line
Under TeX, when I write a line too long, it prints a fat black box at the end
of the line.
That is probably a feature, but I dislike it.
How to turn that OFF? Is there a command-line option or ...
8
votes
1answer
270 views
Adding overfull hbox 'slugs' to final document version
I'm using a documentclass which looks dramatically different in draft mode compared to final. I'm preparing my document for the final formatting, so I don't want to pass the draft option.
However I ...
2
votes
3answers
7k views
How can I insert a newline in a framebox?
I have several frameboxes in my document, using the following command:
\framebox(115,115){ R-Sq: \newline For example}
I want to force a new line, but neither \newline or \\ appear to work. Is ...
4
votes
3answers
402 views
Restricting the length of a line of text while allowing line breaks
While attempting to answer this question, I re-read Chapter 14 of The TeX Book (on how TeX breaks paragraphs into lines). It got me thinking: Is there a way to restrict the length of a string of text ...
36
votes
3answers
12k views
What are underfull hboxes and vboxes and how can I get rid of them?
Often, TeX outputs underfull hbox and vbox warnings when running and in the generated log file. What are these and how can I get rid of them?
50
votes
2answers
11k views
What does “overfull hbox” mean?
I often see output from TeX with the warning overfull hbox, badness 10000. What does this message mean?