Questions tagged [underbrace]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
1 answer
74 views

Curved Line Under Number (not sure what it's called)

How would I make something like this in Latex? Thank you in advance!
1 vote
0 answers
20 views

Creating alternative horizontal braces and braces with long texts

We can create horizontal braces with commands \overbrace and \underbrace. When we want to create alternate braces, we can do like this: $$\rlap{$\overbrace{\phantom{a+b}}$}a+\underbrace{b+c}$$ But if ...
0 votes
2 answers
78 views

What is the proper way of putting text under/over some other text?

Long story short, I have a sentence written in the middle of the text width via center environment, and I want to put some text under or over some of the words to explain how they are made up, e.g. ...
  • 2,413
3 votes
1 answer
47 views

Aligned equation in underbrace is too big

Whenever you use underbrace in maths mode \underbrace{x}_{=y} y is in a smaller size than x. But if I use an entire aligned equation \underbrace{x}_{ \begin{aligned}[t] &=y_1 \\ &...
  • 375
4 votes
3 answers
304 views

Overline and Underline digit

I'm attempting to put an underline and an overline above a single digit and I can't seem to figure out a way to do it. Here is what I'm attempting to do. I only used color to emphasize my point. The ...
  • 406
2 votes
1 answer
50 views

How can I shift text under underbrace in yaxis?

In some cases, text under underbrace look distant. Hence, I want to shift the text under underbrace in y-axis. Using \usepackage{newtxmath} (based on How to write absolute value symbol in subscript of ...
  • 1,175
3 votes
2 answers
94 views

Reduce/tighter vertical spacing in \underbrace

Lots of questions here about increasing the vertical spacing in underbrace (e.g. Increase vertical space beetwen underbrace bracket and content and Vertical Space between formula and brackets), but ...
  • 701
3 votes
1 answer
166 views

How to show simple summing with tex

I want to show simple summing like in the picture, without using colors. But I've no idea, that's not a undercase command.
  • 43
1 vote
3 answers
40 views

How to remove overbraces from vertical equation alignment

I am trying to use an overbrace, like this one: \documentclass{article} \usepackage{mathtools} \begin{document} \begin{equation*} \begin{cases} \dot{\hat{x}}(t)\,=\,\overbrace{f(\hat{x}(...
2 votes
1 answer
29 views

Using \footnotesize in underbrace

I want to use \footnotesize* in an underbrace text. My code is: \underbrace{x(t+\Delta t)V-x(t)V}_{ \footnotesize{\text{Change of \# of X molecules}}} &=-\underbrace{c}_{\footnotesize \substack{\...
  • 143
3 votes
2 answers
297 views

How do you create multiple layers of underbraces and overbraces?

I'm trying to create something like this: But I just can't seem to figure out how to add that last bracket in the bottom without messing up the labels. Here's my code: \overbrace{ \underbrace{ \...
  • 33
0 votes
1 answer
27 views

Underbrace under regular text, including spaces

Solution: \newcommand{\undertext}[2] {\[\underbrace{\text{#1}}_{\text{#2}}\]} Usage: \undertext{textAbove}{textBelow} I would simply like to use an underbrace under a regular, written sentence of ...
5 votes
2 answers
419 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}\ \ ...
  • 73
2 votes
2 answers
158 views

How can I have multiple lines for the underbrace label?

How can I have multiple lines for the underbrace label? --\/-- A cost [A] This is a some dummy equation to show what I already have. \documentclass[twocolumn]{article} \usepackage{color, etoolbox, ...
  • 1,175
2 votes
1 answer
35 views

Using underbrace for long formulas

I am trying to use the \underbrace function to define some variables, but the problem here is that the formulas are super long, thus the whole thing cannot be displayed on a single line. I think a ...
0 votes
1 answer
63 views

Bad underbrace with fourier-otf

As per the title, \underbrace looks bad with fourier-otf. I'm not sure how to explain it with words, so here's a picture of a MWE: I think the best way to describe it might be that the underbrace &...
0 votes
1 answer
60 views

Underbrace change font style

I tried to underbrace a text with size 13 in ttfamily style. But as soon as I apply the underbrace, it changes the style. I also changed the color but that works somehow. I didn't find any options to ...
4 votes
1 answer
231 views

boxes around parts of equations

I am looking for a way to draw a box around a part of an equation. Ideally this would be something similar to \underbrace{}_{} or \overbrace{}^{} but instead of only a single bracket it's like a small ...
  • 85
9 votes
1 answer
210 views

Subscript alignment problem with \int\limits

When subscript in the expression \int\limits_{some stuff} is large, it seems that LaTeX underestimates the space occupied by the subscript which leads to the wrong placement of e.g. \left\lvert (...
  • 570
0 votes
0 answers
51 views

Underbrace issue (dotted line)

I am having troubles with the appearance of the underbrace in the compiles pdf. I don't know if I may be missing a package or something similiar. Better to see an image of the trouble: When the text ...
7 votes
2 answers
495 views

Latex overlapping horizontal curly braces

I followed this answer to create this: But I end up with this: Code: \documentclass{article} \begin{document} \[ \lefteqn{\underbrace{\phantom{S \rightarrow A}}_{n_0}} S \rightarrow \lefteqn{\...
  • 555
9 votes
2 answers
2k views

How can I make an \underbrace without a brace?

I'm trying to write the line diagram of the glass electrodo to measure pH. I've got a working code: \documentclass{article} \usepackage{xcolor} \usepackage{amsmath} \usepackage[version=4]{mhchem} \...
  • 133
2 votes
1 answer
67 views

need help with understanding \overunderbraces syntax

Here's an example from the oubraces package documentation: \documentclass{article} \usepackage{oubraces} \begin{document} \[ \overunderbraces{&\br{2}{x}& &\br{2}{y}}% {a + b +&c + ...
3 votes
1 answer
63 views

How do I produce a horizontal space the size of an underbracket?

I have an equation that is too long to fit on one line, so I put a few terms on a second line using amsmath's aligned environment. However, the first line of the equation contains an underbrace that ...
1 vote
0 answers
70 views

How to draw underbraces in `NiceMatrix`?

I would like to draw underbraces for some parts of equations which may be done easily with \underbrace Looking carefully at the image above shows the underbraces are not properly aligned. Also, it ...
0 votes
0 answers
48 views

Is there a package similar to \underbrace{} that can be used to illustrate counting digits/decimal places in a number?

I want to make something similar to the image below. A wave-like line that hops between each number with an arrow to point at a particular place. In general, a wave-like line that works similar to \...
  • 5
0 votes
1 answer
93 views

Moving text associated with \underbrace downward

Is there a way to move the text associated with an \underbrace{} downward? I've attempted to depict what I mean in the marked-up image below. The text "Thermal Conduction" does not need to ...
3 votes
2 answers
173 views

how to use onslide to apply underbrace beneath operation

I am trying to apply a simple transition in beamer, after writing the operation without having to repeat the equation every time. I try the code : \begin{frame} \frametitle{Exemples} \begin{...
1 vote
0 answers
16 views

How to code this underbraced equation with compacted text [duplicate]

I want to code the energy balance equations exactly as shown in the picture below
2 votes
1 answer
33 views

subscript smaller than underbrace breaks alignment

I have this I have two problems: First, as you might see, when the subscript is smaller than the text in the underbrace the alignment is broken (but if the subscript is longer the alignment works ...
  • 281
1 vote
1 answer
44 views

smaller than sign between underbraced expressions

How to include smaller than sign between underbraced expressions
2 votes
1 answer
225 views

Draw an empty Data Structure Array

My question is pretty similar to this one with the main difference that I need to create an empty array that has multiple columns merged together as in the following picture How can I merge the ...
4 votes
1 answer
317 views

Underbrace and equations: spacing between terms

In the code below, I am able to label the different terms of the equation. However, the equal, addition and subtraction signs aren't in the middle of each of the terms. Ideally, I would be able to ...
  • 355
0 votes
0 answers
28 views

How to horizontally align underbraces in LaTeX? [duplicate]

Like in the question, how can I align underbraces in LaTeX? For example, the code \begin{align*} {\underbrace{Y \cdot \dfrac{\sum_{i=1}^t x_i}{D}}_{\text{abc} } } + {\underbrace{\sum_{j=t+1}^n K_j }_{\...
16 votes
3 answers
855 views

Diagonal brace with nested parenthesis

I would to obtain a result similar to the image below. So far I only have \bigg( \Big( \big( a^q \big)^q \Big)^{\rotatebox{25}{$\cdots$}} \bigg)^q, without the brace. I tried to follow this question,...
  • 860
0 votes
1 answer
269 views

Control the width of an underbrace

I would like to shorten this underbrace so that it terminates directly underneath the vertical bars without extending past them. Minimal Working Example: \documentclass{report} \newcommand{\Underbrace}...
1 vote
1 answer
263 views

Underbrace part of an expression

Is there a way to only have an underbrace for part of an expression? I want to only have the brace below the 0's but if I move the 5 out of the \underbrace then a gap between the 5 and the 0 appears.
  • 13
0 votes
1 answer
81 views

write under Underbrace

how do I write according to the image in LaTeX?
-1 votes
2 answers
184 views

How I can make "underbrace " inside tikz

I need this \underbrace in tikz like the picture , how i can make this.
  • 17
11 votes
1 answer
222 views

How can I avoid a "too big sqrt" when using underbrace

Code Sample: \sqrt{\underbrace{\det((D\varphi)^T)}_{\det(D\varphi)} \det(D\varphi)} Produces: The problem: By using the underbrace, it is set in the square root and not under the square root - so ...
  • 395
4 votes
4 answers
195 views

Equal size underbraces at a lower position

I am writing a markdown document and I want to have underbraces of equal size under each term, like the one here: I could only do it manually by adding a bunch of empty spaces (\ ) around the terms: $...
  • 237
1 vote
1 answer
129 views

underbrace under matrix

I have managed to create under braces under my matrix and evened out the spaced using \phantom. However, there are very large spaces between the columns, the dots, and the brackets. It would be great ...
7 votes
2 answers
221 views

Underbrace under square root sign plain TeX

$$ \rlap{$\sqrt{\phantom{\displaystyle\pmatrix{A^{-1} b(x)\cr -1}^T \pmatrix{A & b(x) \cr b(x)^T & \Phi(x,x)} \pmatrix{A^{-1} b(x) \cr -1}}}$} \mskip14mu \...
  • 2,539
2 votes
2 answers
74 views

Aligning underbraces in two different length terms [duplicate]

The code I have written currently is: \begin{equation} \label{eqn:fullwavefunction} \psi\textbf{(r}) =\psi_s(\textbf{r}) + \phi(\textbf{r}) =\underbrace{e^{ikz}}_\text{incident wave} + \...
  • 167
3 votes
1 answer
334 views

Multiple text lines below underbrace without additional horizontal space

How to create a bracket with multiple lines of text and avoiding insertion of additional horizontal space? I am able to create either a single line text without additional horizontal space or multi-...
  • 193
0 votes
0 answers
96 views

How to change \underbrace font to libertinust1math in latex (or make the underbaces less wonky otherwise)?

I am not super familiar with latex am currently writing my bachelor's thesis and kinda close to despair. I need some really big underbraces for one of my proofs and the don't render properly and look ...
5 votes
3 answers
289 views

Overbrace between lines in align environment

I am trying to use an underbrace/overbrace to denote where certain terms are coming from in an align environment. The way I would like the underbrace/overbrace to work is to come from one term on a ...
10 votes
1 answer
442 views

Colors in underbrace and overbrace - strange behaviour

There is a strange inconsistency between \overbrace and \underbrace when one wishes to have the associated text (above or below) in a different color. \underbrace behaves as expected and \overbrace ...
  • 111
0 votes
0 answers
66 views

Underbrace under minipage tables

hope you are all fine. I have been trying to construct a set of two tables using minipage and under both tables to place an underbrace with text. I have tried many different things but nothing seems ...
  • 168
0 votes
1 answer
105 views

\underbrace command not working properly within equation environment

So I have the following LaTeX code \begin{equation*} \lim_{x\to x_{0}}\dfrac{\overbrace{f(x)}^{\to 0}}{\underbrace{\hat{g}(x)}}_{\to 0} \end{equation*} For some reason the \underbrace command is not ...