Skip to main content

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.

2 votes
1 answer
56 views

How to group elements in order to use them like one character

I want to create commands that will show some data and will be used as a single character in different places (paragraphs, tables etc.). Here is an example of how it should be looking: I achieved it ...
Taras's user avatar
  • 123
1 vote
1 answer
28 views

Marginnote and vertical alignment of boxes

After solving the problem I had with the vertical alignment of the margin notes (https://tex.stackexchange.com/a/721419/13180), I am facing a similar problem. I can't control the vertical position of ...
carlosv's user avatar
  • 337
5 votes
2 answers
152 views

Box taking exactly N \baselineskip

I'm trying to define a memoir's \fancybreak taking a vertical space of, say, 2\baselineskip (or any other exact amount of \baselineskip). But I have a problem with the height: if I do \documentclass[...
Iacobus1983's user avatar
-1 votes
2 answers
78 views

How to add colors in boxes and arrows?

My code is complete, I just want the image to be more pretty by adding colors in boxes and arrows. here's the code: \documentclass{article} \usepackage{tikz} \usetikzlibrary{shapes....
Maryam's user avatar
  • 53
1 vote
1 answer
57 views

How to put a text inside a box within a boxed environment?

I have the following LaTeX code, which makes use of a boxed environment. I want to put some of the text within a dashed and normal box, but it throws an error. Any ideas how to achieve this? \...
pixel's user avatar
  • 1,370
0 votes
1 answer
17 views

Aligning a page reference to the bottom of a centered table

I have a page reference to a source text that I'd like to align to the bottom of a centered table. Here is an illustration what I currently have: Note that the page reference ("[p. 74]") ...
Derek's user avatar
  • 1,748
0 votes
0 answers
58 views

Delimit beginning/end of a text section (not being in a box) using visual objects, glued to text at page break

Context I'm creating a LaTeX class for popular mathematic articles in which images play a central role. As a result, the following requirements have been set for: the online versions of articles (...
Denis Bitouzé's user avatar
1 vote
1 answer
70 views

colorbox: how to fill only the inner area of a rectangle (square) with rounded corners

If I have a letter of type "(vertical) rectangle with rounded corners" and put it in a \colorbox{<fillcolor>}{text}, is there a way to set the colorbox-parameters so that exactly the ...
cis's user avatar
  • 8,880
1 vote
0 answers
45 views

Box or rule with rigid sidewalls, not overlap protruding character [closed]

The \mbox and \rule macros have porous sidewalls. That is, if the preceding or following character has negative side bearings, the excess will penetrate into the box. In almost all cases, this is ...
user avatar
1 vote
2 answers
34 views

Problem when using cases environment in pgfplots legend

I noticed that if I use cases from package amsmath in a pgfplots legend, the legend box does not contain the whole text. See the MWE. \documentclass{standalone} \usepackage{amsmath} \usepackage{...
Manuel Du 's user avatar
6 votes
2 answers
165 views

Unable to use dvisvgm when l3draw drawing contains scoped box

I found a strange issue when experimenting with dvisvgm trying to create SVG files from DVI files. I found that if I append a box (or a coffin) to a drawing created with the l3draw package and this ...
Jasper Habicht's user avatar
0 votes
0 answers
31 views

Getting "`refsection:1' multiply defined" - which didn't use to happen

Consider the following document: \documentclass{minimal} \usepackage{biblatex} \newsavebox{\foobox} \newcommand{\doofoo}[1]{ \ifdefined\donewithfoo \else \begin{lrbox}{\foobox} \begin{...
einpoklum's user avatar
  • 12.4k
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 ...
B Legrand's user avatar
  • 433
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$ ...
user3350919's user avatar
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 ...
RenatoP's user avatar
  • 851

15 30 50 per page
1
2 3 4 5
107