Skip to main content

Questions tagged [underbrace]

Filter by
Sorted by
Tagged with
2 votes
2 answers
74 views

How to limit matrix underbrace?

I'm looking to get an underbrace illustrating the number of columns in a matrix, but I'm noticing the brace extends to the superscript transpose symbol: \begin{align} \label{eq:primitive_mask} A&=...
joaocandre's user avatar
2 votes
0 answers
34 views

error in \underbrace command

I have some code ready in Overleaf for a dissertation in which I am using the \underbrace command and everything is working fine there, it comes out the way I need it. But due to Overleaf limitations ...
Flávio da Silva's user avatar
0 votes
0 answers
48 views

why is the underbrace when writing equation different?

why is it that the inderbraces are appearing broken but continuous in other. even though i have written the same exact code but just in two different documents. H^{\mathrm{SSH}} = \underbrace{\frac{v}...
Risha B's user avatar
0 votes
2 answers
69 views

How to fix fraction horizontal rule?

Below fraction is my source input. i want to short horizontal rule. Can anyone please advise. I have attached both input and expecting output images: and the tex source code is: \[\frac{\overbrace{A}^...
KGSR's user avatar
  • 73
2 votes
1 answer
83 views

Underbrace quantum circuit without inputs

Is there a way to underbrace a quantikz circuit without the inputs? What I have: \documentclass[12pt]{article} \usepackage{tikz} \usetikzlibrary{quantikz2} \begin{document} $\underbrace{ \begin{...
upe's user avatar
  • 217
1 vote
2 answers
66 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
466 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
  • 875
3 votes
2 answers
62 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
  • 939
1 vote
1 answer
74 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
192 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
63 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
125 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
85 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
88 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,380
1 vote
1 answer
101 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
1 vote
1 answer
62 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,150
1 vote
1 answer
42 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
139 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
569 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
  • 350
3 votes
1 answer
234 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
37 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
125 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,612
3 votes
1 answer
64 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
2k 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
111 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,545
3 votes
2 answers
231 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.
Banderas's user avatar
1 vote
3 answers
52 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
114 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
439 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
169 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
1k 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
664 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,545
2 votes
1 answer
60 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
84 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
88 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
493 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
280 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
  • 600
0 votes
0 answers
75 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
646 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
4k 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
153 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
84 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
112 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
184 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
312 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
25 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
37 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