Questions tagged [boxes]
{boxes} are the units used by (La)TeX to construct a page by pasting them together horizontally or vertically. A single character from a font is a box, as are the lines of type and the eventual page.
1,608
questions
1139
votes
8
answers
581k
views
Remove ugly borders around clickable cross-references and hyperlinks
I know that I can use hyperref to make cross-references and hyperlinks clickable. That makes the clickable areas outlined in fluorescent green, however. How can I make the green boxes go away?
314
votes
1
answer
143k
views
What are the different kinds of boxes in (La)TeX?
I've seen hbox, vbox, mbox, parbox and others used in various code samples. What are the different kinds of box in (La)Tex? Which are suitable for use in LaTeX, as opposed to plain TeX?
240
votes
4
answers
248k
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?
225
votes
5
answers
393k
views
What does "overfull hbox" mean? (Why is there a black mark at the end of a line?)
I often see output from TeX with the warning overfull hbox, badness 10000. What does this message mean?
148
votes
6
answers
657k
views
How to put a long piece of text in a box?
I want to put a long piece of text in a box, for example
The quick brown fox jumps right over the lazy dog. the quick brown fox
jumps right over the lazy dog. the quick brown fox jumps right over ...
136
votes
4
answers
352k
views
Attractive Boxed Equations
I often used \boxed{...} from the AMS math package to place a box around important equations. However, this approach often produces somewhat awkward looking output. Consider
\documentclass{article}
...
131
votes
2
answers
97k
views
Do I have to care about bad boxes?
When I compile my PDF from LaTeX source, do I have to care about all the messages (currently 28) about 'bad boxes'?
The PDF seems fine to me.
130
votes
2
answers
531k
views
What does the phrase "Underfull \hbox (badness 10000) in paragraph" actually mean?
What does the actual phrase above mean?
112
votes
5
answers
241k
views
How to rotate text in multirow table?
I have a big table with a problem, when I want to rotate the text in a \multirow cell, the text is placed outside and is bigger than the dimensions of the cell, I took some advice from here, using\...
97
votes
4
answers
14k
views
How can I visualize boxes?
This question led to a new package:
lua-visual-debug
Some of you may know the Web Developer Toolbar for Firefox that can outline the block level elements of a page like this:
Is there a way to do ...
96
votes
2
answers
35k
views
Function and usage of \leavevmode
I am beginner of LaTeX. From many examples I found, I notice that it's very common to use command \leavevmode. I can't find any information about this command. Could anyone tell me what's the function ...
86
votes
5
answers
94k
views
\parbox vs. minipage: Differences in applicability
Lamport, LaTeX: A document preparation system, states on p. 104:
There are two ways to make a parbox at a given point in the text: with the \parbox command and the minipage environment. They can be ...
79
votes
2
answers
12k
views
How to keep a constant baselineskip when using minipages (or \parboxes)?
When a minipage is used to box a text paragraph, the first line of the minipaged text and the last line of the previous text paragraph are closer than two consecutive lines in a standard text ...
77
votes
2
answers
259k
views
What is a "Overfull \hbox (9.89561pt too wide)"?
I have this warnings around, some of them seems to be solved naturally but I never really understand what do they mean.
What this means?
Edit: I would like to keep the question in more general terms,...
75
votes
2
answers
34k
views
Strutting around: What's the difference between \strut, \mathstrut and \vphantom?
What's the difference between \strut, \mathstrut and \vphantom? When would I prefer one of them to the others, and why?