Questions tagged [underbrace]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
2 answers
45 views

How to add vertical braces to a matrix showing different groupings of the elements?

So, I am currently trying to do this: And this is what I tried so far, \[ \left[ \begin{array}{c} \left.\begin{matrix} x_k \\ y_k \\ v_k \\ \psi_k \\ \end{matrix}\right\} s_k^p \\ \...
featherweight's user avatar
4 votes
2 answers
419 views

Cancel math with underbrace but ignore extra height

I regularly use the cancel package to cancel out terms in mathematical expressions, but sometimes those terms contain underbraces. Take the following (contrived) example: \[abc + \cancel{d \underbrace{...
bonk's user avatar
  • 885
3 votes
2 answers
59 views

Text in `\underbrace` isn't centered in Hebrew

I am using babel to make Hebrew documents, and I try to use the \underbrace command to put some information below an equation. Doing it in English works as expected, but when I do that in Hebrew, the ...
Shai Avr's user avatar
  • 715
1 vote
1 answer
62 views

Underbrace in Matrix without array package [duplicate]

I've been struggling with matrix underbrace, and I can't find any way through all LaTeX questions about how to use an underbrace in a matrix without the array package. So far I got here, with these ...
Agente 156's user avatar
4 votes
1 answer
145 views

Removing spacing due to \overbrace \underbrace

I'm currently using the nice hack defining \smalloverbrace for reducing the size of my \overbrace and \underbrace. %% Commands for more compact over and underbraces %% \smalloverbrace %% See: https://...
mikemtnbikes's user avatar
2 votes
2 answers
61 views

Space dashes such that they ignore the contents beneath underbraces

I'm trying to break down words into morphemes and display them in a concise way. \usepackage{amsmath} % ... etc ... d. not compound, polymorphemic: $\underbrace{\text{doubt}}_{\text{free root}}\: - \...
naiveai's user avatar
  • 151
2 votes
1 answer
82 views

How to make nested underbraces (or overbraces) appear in a custom order?

I need to nest a couple of underbraces. It works perfectly fine if nested inside-out: \[ \underbrace{2 + \underbrace{2 * 2}} \] yields: However, I would rather like to have it outside-in, ...
radrow's user avatar
  • 123
3 votes
1 answer
77 views

Underbrace with boisik

Is there a way of making underbrace work with boisik? Here is a minimal non-working example: \documentclass[english,a4paper,11pt]{article} \usepackage{boisik} \usepackage[OT1]{fontenc} \usepackage[...
Grisha Taroyan's user avatar
1 vote
1 answer
76 views

How to draw matrices with lines and side braces? [duplicate]

I want to generate something like in the figure below. I have currently the following but is not complete as you can observe. Any idea how to do this? \documentclass{article} \usepackage[utf8]{...
pixel's user avatar
  • 1,356
1 vote
1 answer
65 views

Brackets in a Permutation

I'm having a really hard time doing what I thought would be simple. I have this permutation: \pi=\left(\begin{array}{cccccccccccc} 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 \\ ...
hugh_maths's user avatar
0 votes
0 answers
15 views

Having a problem with underbrace in LaTex [duplicate]

I am trying to write an equation in LaTex and want to add text under the underbraced part, but the top part starts to split further and further as i write. i want to get rid of the gaps that are ...
pabilo's user avatar
  • 1
0 votes
1 answer
34 views

Unwanted space in overlapping overgroup and undergroup

I am trying to adapt this answer on How to have overlapping under-braces and over-braces to overlapping overgroup/undergroup, but I seem to be getting unwanted extra space: Is there a way to get rid ...
Earthliŋ's user avatar
  • 1,140
1 vote
1 answer
41 views

I am unable to use \underbrace in elsarticle template

In the elsarticle template, I am not able to use the command \underbrace, whereas, in a simple latex file, the command is working fine. Following is the code: \documentclass[review,12pt,3p,times]{...
Sahil Wani's user avatar
4 votes
1 answer
112 views

Underbrace space without underbrace?

I want to diagram what 4 KB means. $\underbrace{4}_{2^2} \underbrace{\text{KB}}_{2^{10}}$ I'd like to put a multiplication sign between the two underbrace in the underbrace space (same level, size, ...
motaylormo's user avatar
8 votes
3 answers
501 views

How to align text under the brackets

How to align text under the brackets: \documentclass{article} \usepackage{amsmath} \begin{document} \[ \underbrace{(zzz)}_{\textrm{tall}} \underbrace{zzz}_{\textrm{short}} \] \end{document}
mins's user avatar
  • 340
3 votes
1 answer
169 views

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

How would I make something like this in Latex? Thank you in advance!
excircle's user avatar
1 vote
0 answers
32 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 ...
Alex-Github-Programmer's user avatar
0 votes
2 answers
109 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. ...
Enlico's user avatar
  • 2,592
3 votes
1 answer
63 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 \\ &...
Felix B.'s user avatar
  • 387
4 votes
3 answers
1k 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 ...
Ziggy's user avatar
  • 416
2 votes
1 answer
90 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 ...
alper's user avatar
  • 1,389
3 votes
2 answers
199 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 ...
D.R's user avatar
  • 771
3 votes
1 answer
169 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.
atik04's user avatar
  • 43
1 vote
3 answers
51 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}(...
JackDelcaro's user avatar
2 votes
1 answer
85 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{\...
okw1124's user avatar
  • 143
3 votes
2 answers
419 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{ \...
student's user avatar
  • 33
0 votes
1 answer
113 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 ...
Christelle Augustin's user avatar
5 votes
2 answers
812 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}\ \ ...
Sergio's user avatar
  • 73
2 votes
2 answers
544 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, ...
alper's user avatar
  • 1,389
2 votes
1 answer
58 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 ...
ClemJiop's user avatar
0 votes
1 answer
73 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 &...
PurpleMyst's user avatar
0 votes
1 answer
80 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 ...
invalid's user avatar
4 votes
1 answer
418 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 ...
Isotope's user avatar
  • 185
11 votes
1 answer
260 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 (...
Tomasz23's user avatar
  • 590
0 votes
0 answers
70 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 ...
user258200's user avatar
7 votes
2 answers
618 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{\...
Node.JS's user avatar
  • 685
11 votes
2 answers
3k 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} \...
FFG's user avatar
  • 153
3 votes
1 answer
135 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 + ...
kyojin_desu's user avatar
3 votes
1 answer
75 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 ...
Felipe Tappata's user avatar
1 vote
0 answers
106 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 ...
Al-Motasem Aldaoudeyeh's user avatar
0 votes
0 answers
50 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 \...
ray_lv's user avatar
  • 5
1 vote
1 answer
173 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 ...
user2256085's user avatar
4 votes
2 answers
288 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{...
user2161721's user avatar
1 vote
0 answers
21 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
Gilberto González Guillén's user avatar
2 votes
1 answer
36 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 ...
Chris's user avatar
  • 291
1 vote
1 answer
56 views

smaller than sign between underbraced expressions

How to include smaller than sign between underbraced expressions
Máximo Sangiácomo's user avatar
2 votes
1 answer
356 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 ...
LukeTheWolf's user avatar
4 votes
1 answer
586 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 ...
jrjrjr's user avatar
  • 373
0 votes
0 answers
30 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 }_{\...
kallikles 's user avatar
15 votes
3 answers
913 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,...
Watson's user avatar
  • 932