{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.

learn more… | top users | synonyms

3
votes
0answers
49 views

Boxes in tikzposter

I designed a poster with the style tikzsposter. My problems are the too big distances between title of the poster and a box and the position of the text in a box I tried already the options given in ...
6
votes
1answer
35 views

XeLaTeX misplaces ActualText box

The following MWE uses accessibility features of PDF provided by the package accsupp to replace the content of the selection corresponding to BBB with ZZZ in the string AAABBBCCC. ...
2
votes
1answer
32 views

Increase vertical space for tikz boxes

Problem: This problem is two-fold: How would I do in order to increase the top and bottom margin for the orange box where it says "Code if true"? How would I do in order to always align the orange ...
1
vote
1answer
35 views

Create generic containers that dynamically expand for text

Problem: I am trying to create color containers that can hold text that vary in size. What I have not been able to figure is what method you should use in order to achieve this. Example 1: ...
1
vote
1answer
37 views

Making text appear in a box [duplicate]

Sorry if this is similar to previous questions, but I need to check if this is the best solution. My issue is that I am writing a document which contains HTTP messages for example of a snippet: ...
1
vote
0answers
23 views

Complex formed/shaped boxes (with coloured rim/frame and height as specified in \begin{minipage}[height=…])

This is the first question I ask. I honestly searched though the topics and I haven't found a solution yet and I even find it difficult to describe in a short title what is looked for in the german ...
0
votes
0answers
27 views

How to avoid underfull \hbox when using subfigures?

When compiling the MWE below with pdflatex, I get the warnings Underfull \hbox (badness 10000) in paragraph at lines 26--27 and Underfull \hbox (badness 10000) in paragraph at lines 36--37. I tried ...
2
votes
1answer
40 views

Create link of empty box

I make my first attempt on a beamer template. I created a simple graphic with my company logo and some fields as header (background for title). Now I would like to use the logo as home button. In ...
1
vote
1answer
34 views

Breakbox box placed on a new page instead of breaking the page

I made a list of serveral items that I'd like to be framed. That was no problem with \fbox{...}. Since the text is not longer than 1 page, it goes straight to the next page insteat of starting in the ...
6
votes
1answer
88 views

Why hbox does not start a new paragraph?

These two produce the same result: abc %\null def \bye abc \null def \bye These two are different: abc %\null def \bye abc \null def \bye Does anybody know where this behavior is ...
4
votes
2answers
138 views

Table with multirow, multicolumn, interior braces and vertical entries

Partly as a challenge and partly because I wanted an electronic copy, I sat down last night to try to LaTeX the following complicated table: The first problems I encountered were the size and the ...
3
votes
1answer
48 views

Smashing diacritics on all uppercase characters

I need all uppercase letters with diacritics to have the same height (depth) of the corresponding naked uppercase letter. Motivation: obtaining a regular baseline grid when stretching the baseline is ...
3
votes
1answer
44 views

Box diagram (with text in and around it)

How can the attached box diagram be drawn in latex? I have tried using the table environment, but it does not seem to work well. Is there a quicker and easier code for it?
1
vote
1answer
88 views

Will it stretch? Plumbing the depths of Interline glue

I've gone back to basics to gain a better understanding of how TeX works. One of the things I've been puzzled about is the workings of interline spacing and why ocassionaly (depending on font sizes ...
3
votes
1answer
169 views

How can I get the following output,using what commands?

If there is no frame ,I just can get it . \begin{verbatim} \verb+text+ \end{verbatim} but with the frame ,I don't know how to manage it.
2
votes
1answer
54 views

parbox vertical alignment after brace in equation

In the code below, I am trying to center the parboxes vertically, relative to the braces. I have been playing around with the position argument, to no avail. Can you help me with this? Thanks in ...
1
vote
2answers
103 views

Why underfull message in Texmaker in \[…\] equations

Why I am getting underfull hbox badness 10000 in paragraph at lines Message even when I am not using \\. After reading many questions on the same message, I eliminated all \\ that I used ...
5
votes
2answers
74 views

fancy quote with picture

I'm trying to make a custom quote environment. I'm beginning from the following: \documentclass{article} \usepackage{xcolor} \usepackage{times} \definecolor{quotationcolour}{HTML}{F0F0F0} ...
2
votes
1answer
61 views

Fancybox question

i've been messing around with boxes recently, and i'm struggling with doing 2 siple things. Here is the tex code first. \documentclass{article} \usepackage{lipsum} \usepackage{tcolorbox} ...
3
votes
2answers
78 views

How to store an mdframe in a savebox?

The title question is the last piece of information I would need, to solve my problem my way. Putting a \sbox or lrbox-environment around a mdenvironment yields a ! Missing \endgroup inserted. ...
1
vote
1answer
109 views

Complicated Boxed Frame Design by LaTeX

It has been long time not touching LaTeX and I recently try to remember all things which I have forgotten. Instead of going over manuals, I look up some books which have some good design and try to ...
2
votes
2answers
64 views

Draw a box containing the grandchild and add text at the bottom of box

I want to draw a minimal box which contains all the grandchilds (pink boxes), and move the text of deep green box to the bottom of the new box. How could I do it? codes: \documentclass{standalone} ...
2
votes
1answer
88 views

Use the Exercise environment from Legrand Book template

I am using the Legrand Orange book template and like the typesetting of the exercise environment. I wanted to use the same environment to just have my text within the ocre color box. From the ...
2
votes
1answer
53 views

Use \raisebox with \depth in caption

I want to use \raisebox in a caption. I know that \protect is often needed in these situation, but this (and other combinations I have tried) does not work: \documentclass{article} \begin{document} ...
0
votes
2answers
54 views

Replicate a box | Part 2

You can follow part 1 here. As for part 2, I'd like to know how to replicate the image you see below.
5
votes
1answer
84 views

Replicate a box using fancybox

As the title says, is there a way to do this by using the fancybox features? I'd really like to know if it's possible. Also, what's the font written in the text? Is there a way to replicate it?
1
vote
1answer
119 views

Including “boxes inside boxes” in baposter

I have divided my poster into \headerbox correctly. I would like to modify the following example because in the results section I would like to make subdivisions or boxes in order to show different ...
3
votes
2answers
56 views

Boxes within a Dotted Box

How do I create the dotted box? For the rest of the diagram I used a matrix, but I'm having trouble creating that box. Here's the code I used. \begin{center} $\begin{matrix} $ x(n)$\rightarrow ...
1
vote
1answer
92 views

Parallel Boxes - Identity

how do I make this identity? Is there any way to type it without the use of tikz? Thanks (My biggest problem is how I type the connected boxes)
2
votes
2answers
88 views

saint Louis fed quarterly review style

How can I generate a title that is similar in appearance to the titles in the St. Louis FED review Journal. I've linked the latest paper from that journal.
3
votes
3answers
81 views

Vertical stacked parboxes: Spacing and Calculating

I need a table which will work in twocolumn mode and can span over multiple pages. Since I've given up with supertabular (too buggy, too less control), I wrote a simple solution for my purposes with ...
3
votes
1answer
135 views

Beamer : how to make a box from top to bottom without white space up and down?

\documentclass{beamer} \usetheme{Warsaw} % thème \usecolortheme{wolverine} % variante de couleur % Enlève les icônes de navigation \beamertemplatenavigationsymbolsempty ...
2
votes
2answers
209 views

How to make a two level colored box with text?

I need some help to create boxes with two layers, color and text (as in the picture) that fit into textline. I thought about using tcolorbox but didn't work out for me yet. It is "needed" (it is not ...
3
votes
1answer
75 views

Change height of a box, recalculate rubber lengths

I'm using \setbox and \usebox to define a box, measure its default dimensions and render it later. During rendering, sometimes there is more vertical space available than measured initially, and I'd ...
1
vote
0answers
43 views

Box highlighting of text with rounded corners and hyphenation support

I used tcolorbox to highlight text some text in paragraphs, it seems to work smoothly, but it disables text hyphenation, that the highlighted piece fo text cannot be start somwhere at one line and ...
0
votes
0answers
61 views

Box highlighting of text with rounded corners (soul-based)

Here it is an excellent solution from Gonzalo Medina. Could somebody help me to make it with nice small rounded courners?
5
votes
1answer
70 views

TeX: Lining up three boxes

This question is really a continuation of my previous question. Basically, I'm wondering why this does not work: \hbox{\vbox{\hbox{This is}\hbox{A line}}\hfil\vbox{\hbox{And so}\hbox{Is ...
2
votes
1answer
31 views

Table of contents alignment problem with multi-line \pbox in \inlcudepdf addtotoc

I'm inserting many 1-page PDF's that I also include in the table of contents. The only issue I have is with the alignment of my entry with the toc counter for PDF # and it's corresponding page ...
2
votes
1answer
41 views

Beamer and listings… how to include \end{frame} multiple times

Following up on THIS QUESTION, I want to include code in my slides. The code includes "\end{frame}", so I had to box the code as suggested in the link, but if I want to include code including ...
2
votes
1answer
55 views

Placing symbol in margin

I am using \def\margin_symbol{\rlap{\protect\makebox[-3cm]{X}}} which I use in sections as \section{\margin_symbol My Header} to place an X 3cm to the left in the margin; however, my problem is ...
2
votes
1answer
49 views

Rubber width `\parbox`

I am trying to create a rubber width \parbox in LaTeX so that the whole line will be evenly filled. It is for creating a mad-libs style fill in command that will stretch a certain amount of width. I ...
5
votes
1answer
90 views

How to design page layout in plain TeX using OPmac?

I'm trying to create a slideshow in TeX using Opmac. I need a page layout like that: And I try this code: \input opmac \chyph \margins/1 a5l (1,1,1,1.2)cm % page format \input ctimes ...
0
votes
0answers
60 views

Beamer Overlay — Reveal box around line of {align} environment

Summary: How can I create an overlay slide where the only thing being done is boxing/circling the last line of an align environment? In a lot of math classes, we begin with some initial problem, then ...
4
votes
1answer
64 views

How much bigger are delimiters

While trying to duplicate TeX dimension computations, I noticed that the delimiters placed with \left…\right are slightly bigger than the box around which they wrap. How much bigger, how is that ...
2
votes
1answer
26 views

Verbatim without breaks

Hi I found a lot of questions which suggest something like How to box verbatim to prevent page break? to prevent breaks in a Verbatim environment. However this does not work for me as I display some ...
1
vote
0answers
16 views

Auto-resizable box [duplicate]

How to create a box like parbox which automatically resizes to the length of its content and can contain multiple lines? I tried mbox but it can contain one line of text only; on the other hand, ...
1
vote
3answers
193 views

Aligned equations in a colored box

I would like to put a set of aligned equations into a colored box. After a quick search on tex.stackexchange, I have found the following solution to put (apparently) one equation in a color box : ...
1
vote
2answers
57 views

Box around equations in align environment and no indentation

I have the following code and I want to do two things to it.First, I want to have the output maximally on the left, that is I do not want any indentation of the stuff in the align environment, I want ...
8
votes
2answers
124 views

Problem with \setbox

I wrote the following box, which contains my name displayed vertically: \setbox0\vbox{\hbox{M}\hbox{a}\hbox{t}\hbox{t}\hbox{e}\hbox{o}} I'd like to dysplay it twice in a line, so I wrote: ...
0
votes
2answers
48 views

How to insert a text box with controllable margin

I want to insert a text box with controllable margin. Specially, how to format the following text as the following Figure? And how to set the space? Currently, I use \noindent\fbox{ ...