All Questions
Tagged with boxes horizontal-alignment
74
questions
3
votes
1
answer
60
views
How to horizontally align horizontal boxes in a vertical box?
In vertical mode, horizontal boxes are stacked one on top of the other and aligned to the left. How can I get the boxes to align to the right instead?
\vbox{
\hbox{short line}
\hbox{looooooonger ...
0
votes
0
answers
41
views
How to change a direction of growth for boxes?
I have read here that it is possible to change the direction of growth in horizontal boxes.
Note: horizontal boxes can, of course, contain text typeset in right-to-left languages, such as Arabic or ...
0
votes
1
answer
160
views
Big Boxed equation with title using tcolorbox
I currently have this command:
\NewDocumentCommand{\deq}{omo}{%
\begin{tcolorbox}[
colback = blizzardblue!30!white,
colframe = white,
]
\setlength{\abovedisplayskip}{0pt}
\begin{...
2
votes
1
answer
122
views
Boxed equation with title and subtitle using tcolorbox
I'm looking for a method to improve my current command:
\newcommand{\deq}[2][]{\begin{tcolorbox}[
colback = blizzardblue!30!white, colframe = white,
top = -0.3cm, bottom = 0.1cm]\begin{flalign}...
1
vote
0
answers
97
views
How to make properly horizontally aligned a (\vbox) vertical box (\box_use) used in a corresponding environment?
Suppose I define a (\vbox) vertical box in order, in one hand, to compute the height of its content and, in the other hand, to (\box_use) use its content. The following MCE (that doesn't involve the ...
0
votes
2
answers
68
views
horizontal centering within \valign cells
I'm trying to use \valign to make an array of items. (See my self-answer to another question.) I'm doing this because I want to specify the items per column instead of per row, and because I want ...
5
votes
2
answers
946
views
Boxes with text or numbers
I am trying to get a neater version of something like this
Following is what I have done to get this
\begin{equation*}
\begin{aligned}
\overbrace{\fbox{r}\fbox{r+1}\dots\fbox{2r-1}}_{Block-2}\ \ ...
0
votes
0
answers
87
views
Strange overfull \hbox
I'm having a strange issue with LaTeX where I'm getting overfull \hbox warnings for seemingly no reason (of course there is one, I just can't figure it out). I'm hoping someone can illuminate the ...
1
vote
2
answers
529
views
Splitting a tcolorbox into two columns
I'd like to split a tcolorbox environment into two columns like this:
+---------------------------------------------------------------------------+
| Definition. Lorem ipsum dolor sit amet, ...
0
votes
1
answer
111
views
How do you balance two frame boxes in the same page? [duplicate]
I have a problem with fitting two flowcharts encased in frame boxes to fit nicely within a single page and how do you add a little more bottom space to the box frame?
\documentclass[11pt,twoside, ...
0
votes
1
answer
57
views
How do I make a list with a descriptive prefix?
This is an example of what I hope to achieve: a label is aligned to the left of the listed items.
5
votes
4
answers
460
views
Fill a box with left-justified text, but if it doesn't fit, overflow to the left
The following ascii-art representation using a monospaced font shows the result I actually want to get with a proportional font:
20 «Ἀτρεΐδαι τε καὶ ἄλλοι ἐϋκνήμιδες Ἀχαιοί,
ὑμῖν μὲν θεοὶ ...
1
vote
1
answer
1k
views
Alignment and width with tcolorbox
I'm writing a document where I need to put some text inside a box. I have figured out how to make a rounded-corner box with the graphical appearence I was looking for.
My code is the following:
\...
3
votes
2
answers
298
views
Alignment within boxes
I'm writing a document where I need the following result:
I need also two more things:
The box must adapt itself to the sentence, in this way when I write a short sentence, the box will not appear ...
1
vote
1
answer
208
views
Poem Title Off Center
\documentclass{article}
\usepackage{verse}
\usepackage{graphicx}
\graphicspath{ {Photos/} }
\usepackage{hyperref}
\hypersetup{
colorlinks=true,
linkcolor=black,
filecolor=magenta,
...