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
2
votes
0
answers
60
views
How can we ensure that the spacing before or after a \vbox is correct when using \addvspace?
How can we ensure that the spacing before or after a \vbox is correct when using \addvspace?
In the following MWE, the two \addvspace{10pt} which follow each other behave like two \vspace{10pt}. The ...
0
votes
1
answer
31
views
uncover box within an equation in beamer
I have the equation $X+Y=Z$ in one of myslide, and I want a box to appear around $X+Y$ on a mouse click. I know I can use $\boxed{X+Y}=Z$, but then I can separate the box appearance from the $X+Y$ ...
0
votes
1
answer
74
views
page with 15 text box
I don't know if this is correct:
I need a page (vertical A3) that contain 5 vertical rule each line is composed by 3 column. I need to insert text on this box.
How can I obtain that?
Thank you
Renato
...
3
votes
3
answers
362
views
Replace each letter of a given word with blank boxes
I would like a command that takes a word and replaces each letter with a box.
For example, the output of
The mystery word is \mycommand{hello}.
should be
The mystery word is □□□□□.
5
votes
2
answers
242
views
Set Boxes in a table
I have a tabular and I want to group certain elements.
All in all it shall look like this (just with straight lines :D)
How can I achieve that?
Here is my MWE:
\documentclass[11pt]{article}
\...
-1
votes
2
answers
85
views
How do you get a black-colored border around a bounding box? [closed]
Below, we see an example of the \bbox command.
$$ \bbox[5px,border:2px solid red]
{
e^x=\lim_{n\to\infty} \left( 1+\frac{x}{n} \right)^n
\qquad (2)
}
$$
Note that the color for the borders of the ...
1
vote
0
answers
51
views
Is there a way of delaying setting the textcolor and the background color of the content of a box until that box is used or shipped out?
Is there a way of delaying setting the textcolor and the background color of the content of a box until that box is used?
Is there a way of delaying setting the textcolor and the background color of ...
0
votes
2
answers
140
views
Shadowbox set background color
I am trying to set a background color for a shadowbox, as shown in this example, but have not managed to do so. Preferably I'd like to use this yellow color.
Maybe someone can help me.
Thanks
0
votes
1
answer
71
views
Adding top inserts in LaTeX
I would like to add top insertions in a LaTeX document, compiled with pdflatex. Although I can add insertions at the bottom of the page,
it seems like I can't do the same with top insertions.
\insert\...
1
vote
2
answers
80
views
Creating custom boxed footnotes (with symbolic / numeric marks)
I'm trying to create custom footnotes for a project, where we need to have the options of using a symbolic footnote, and using a numeric footnote where the text appears inside a box.
Using the bigfoot ...
5
votes
1
answer
108
views
Font encoding affects \box_wd:N calculation
I have written a simple function to calculate the width of a line of text and display it using tikz:
\documentclass{article}
%\usepackage{mathpazo}
\usepackage{domitian}
\usepackage[T1]{fontenc}
%\let\...
2
votes
2
answers
202
views
disjunction-elimination subproof boxes LaTeX
How can I write subproofs side-by-side inside a logicproof environment in LaTeX like the one provided in the picture?
This type of proof is used when using disjunction-elimination laws in ...
0
votes
1
answer
81
views
Box that doesn't affect the vertical spacing of the main document
Consider the following example:
\documentclass{article}
\begin{document}
Text A.
\vspace*{5cm}
Text B
\end{document}
Now I want to change this to
\documentclass{article}
\usepackage{environ}
\...
3
votes
3
answers
135
views
\vbox of the fixed height with leaders is not filled whole
I am trying some samples. They make a frame around the text. I know there are already realized commands for it but I want to practice leaders, rules and boxes in LaTeX. So the examples below are kind ...
0
votes
2
answers
63
views
How does TeX fills a broken line
I am studying boxes and glue in LaTeX and I try such a sample:
\documentclass[a4paper,12pt]{article}
\usepackage[utf8]{inputenc}
\begin{document}
Algebra began with\\ computations similar to those of ...