Questions tagged [overbrace]

{overbrace} is for questions specific to the use of overbraces (braces above words, mathematical expressions etc.) in LaTeX. Related tags: {underbrace}, {braces}

Filter by
Sorted by
Tagged with
1 vote
1 answer
39 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
100 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
1 answer
44 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
1 vote
1 answer
61 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,315
8 votes
1 answer
372 views

Stretch accent over fraction

The following code \documentclass[12pt]{memoir} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{accents} \begin{document} \begin{align*} 1- \frac{x}{x^2-1}...
Tolaso's user avatar
  • 1,473
1 vote
0 answers
40 views

Multiple overbrackets

Is there an easy way to use multiple overbrackets like in the attached image?
Frank's user avatar
  • 411
1 vote
1 answer
64 views

Aligning overbraces with other TikZ tree nodes

I'm using the tikz-qtree package to create a tree. Using \overbrace in a node changes the height of the node, but the anchor does not align with it. Using \underbrace works perfectly fine: \...
Survari's user avatar
  • 15
1 vote
0 answers
26 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
96 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,562
3 votes
2 answers
118 views

Text under 'overbrace' too big

I have an equation, and one part of it is under an 'overbrace'. The problem is the numbers under the brace are too big. When I only write the part with the overbrace the size is fine. Is there any way ...
tcb93's user avatar
  • 157
1 vote
3 answers
47 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
3 votes
2 answers
388 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
5 votes
2 answers
643 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
0 votes
2 answers
147 views

Overbrace on a line

I wanna make this in Overleaf. I've see many diagrams like this in 3b1b's video. Any help will be appreciated. Thank you.
Lucky Chouhan's user avatar
2 votes
1 answer
49 views

How to include the overbrace in the below matrix in LaTeX?

Suppose, the below matrix is a n*n matrix with n-k entries 1 and rest k entries 0. I want to add two overbraces over the first row, one is upto all 1 mentioning n-k and the other one is all 0 ...
Anindita Bera's user avatar
4 votes
1 answer
362 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
0 votes
2 answers
493 views

How to add horizontal curly braces with text on top of a matrix?

I am using tikz to make a flow diagram of a matrix appending rows. For the last matrix I want to add curly braces on the right and top of the matrix with texts. Below is my code which can add curly ...
Shaun Han's user avatar
  • 103
7 votes
2 answers
577 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
10 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
  • 143
3 votes
1 answer
117 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
4 votes
2 answers
262 views

Horizontal Braces over the latex table

I am trying to put two braces in the top of table colomns as shown in the image below. I found a similar question here and in an answer the use of the bigdelim package is suggested. I tried to use ...
Case Msee's user avatar
  • 219
1 vote
2 answers
124 views

Overbrace on Powers

How can I make an overbrace on powers without it being buggy. Example: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{amsfonts} \usepackage{amsmath} \usepackage{amssymb} \usepackage{...
Fractal Admirer's user avatar
0 votes
4 answers
480 views

How to sidebrace and overbrace a matrix?

I am trying to make a matrix with side braces and over braces like this: Any ideas? Thanks :)
GeometricalFlows's user avatar
5 votes
3 answers
324 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 ...
Matthew Crawford's user avatar
10 votes
1 answer
523 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 ...
JMFG's user avatar
  • 111
4 votes
1 answer
108 views

Underbracket and overbracket intersecting each other

I cannot seem to find a way to achieve the result I want which is best portrayed by this sketch diagram: This is because if I add an overbracket it is closed by the underbracket } before it gets to ...
cstml's user avatar
  • 143
1 vote
1 answer
320 views

Overbrace/Underbrace overlapping is not aligned

As the title says, the \underbrace in my code is not aligned, while the \overbrace in not creating any problems. This is visible in the first picture: I would like to get something like this: Here is ...
Simon's user avatar
  • 15
1 vote
2 answers
128 views

Using overbrace with parbox in equations

I'm trying to use overbrace with parbox in an equation, but haven't been very successful. Any ideas on how to properly do it? \documentclass[10pt]{beamer} \usetheme[progressbar=frametitle]{...
Ararat's user avatar
  • 524
2 votes
1 answer
255 views

Black box over bracket when using \overbrace

I'm using \overbace for some math formulas. At the begining everything works properly, but now when I compile file with an \overbrace I have some problem with the display of brackets. For example, ...
Marco Mantovani's user avatar
1 vote
1 answer
44 views

How would I include the numbers and letters in this diagram

I have the following code: \begin{tikzpicture} \draw[|-|] (0,0) -- (5,0); \draw[|-|] (5,0) -- (10,0); \end{tikzpicture} however, this is as far as my limited Tikz knowledge has been able to get me. ...
ConfuzzledStudent's user avatar
0 votes
1 answer
45 views

How do I stack multiple underbrackets?

How do I reproduce the lines like the image below in LaTeX? In this image, common characters are connected by a line. I've tried using \overbrace and \underbrace, but I couldn't reproduce it ...
necotanouqui's user avatar
4 votes
1 answer
303 views

Overbraces on the same vertical height

Happy lockdown, Hope we are all not going insane yet. Just a quick one - I have the following code - I am trying to ensure that the overbraces are at the same vertical height - any idea how I do ...
Josh Lawrence's user avatar
3 votes
1 answer
58 views

How to ensure horizontal alignment when using overbrace function and split equations?

Happy lockdown. I am currently trying to align three split equations together while using the overbrace function to describe the functions of each section (they are symmetrical but for co-ordinate ...
Josh Lawrence's user avatar
1 vote
1 answer
87 views

overbrace error: annotation text shows up below instead of above

I am trying to use overbrace in a beamer presentation (compiled on Overleaf). But overbrace is giving this unexpected result: Notice that the text is being shown below everything, instead of above ...
LucasMation's user avatar
5 votes
1 answer
223 views

How to make all the exponents same size?

\documentclass{article} \usepackage{amsmath} \begin{document} \[ a^9 \cdot a^{99} \cdot a^{999} \cdot a^{9999} \cdots a^{\overbrace{999 \cdots 9}^{\text{10 digits}}}=a^x \] \end{document}
Israel Silva's user avatar
6 votes
2 answers
509 views

How can I move overbraces to the left on a matrix?

I am trying to move the overbraces on $E_1$ and $E_2$ to the left a little bit. Can you help me out? \documentclass{amsart} \usepackage{mathtools} \usepackage{multirow} \usepackage{amsthm} \...
kswim's user avatar
  • 161
1 vote
0 answers
71 views

Exponent font size change when using overbrace [duplicate]

Looking at the MWE below, the fontsize of the last exponent got enlarged after applying \overbrace. How to get its size back to the original as if the overbrace weren't there? Thank you! \...
Brasil's user avatar
  • 1,286
2 votes
1 answer
174 views

Brace in equation without effecting layout

Similar to: How to put a big bracket under different parts of a equation so that I could write e.g. a text specific to that part in the equation? But when I do it, other brackets are effected: $\...
Gupta's user avatar
  • 119
4 votes
1 answer
670 views

How to ignore the size of the content when using underbrace and overbrace?

Based on the suggestion here How to add an underbrace and overbrace to a term in a equation or here What causes the problem when compiling a displayed equation with \overbrace and \underbrace? for ...
Moura's user avatar
  • 1,525
3 votes
1 answer
236 views

Horizontal align overbrace

In my attempt to horizontal align two overbraces, the original equations gets skewed. Can you help me to correctly align the equation and overbraces? CODE \documentclass{article} \usepackage{...
Joe's user avatar
  • 9,060
0 votes
2 answers
673 views

How can I name multiple columns in a table?

\begin{table} \begin{center} \caption{Types of Aggregation} \label{table:my_label1} \begin{tabular}{|c |c| c| c|} \multicolumn{4}{c}{}{$\overbrace{\rule{12.5em}{0pt}}^{Spatial ...
GAURAV WAGH's user avatar
2 votes
2 answers
252 views

Add upper brace on matrix with good alignement on each parameter

From this upper brace, I try to put a brace over the first 9 columns the 9 parameters below. I would like to align them with the 9 first columns of matrix, each one of this parameter aligned with each ...
user avatar
6 votes
1 answer
587 views

Overhead brace in tikz

I wish to use the overhead brace, bracing over the three items 8, 3, 11 from the bottom of 2. Here is a template: \documentclass[11pt,urlcolor=blue, linkcolor=blue]{article} \usepackage{...
wonderich's user avatar
  • 2,357
2 votes
1 answer
925 views

overbrace on columns of a matrix not working when the width of entries are different

I need to add overbrace on columns of a matrix. I tried How do I label different rows or columns of a matrix using braces? and Build a matrix with overbrace on some columns , They both work until no ...
M a m a D's user avatar
  • 191
0 votes
1 answer
883 views

Build a matrix with overbrace on some columns

I need to create a matrix and some overbraces on some entries at the top of the matrix like the following image(the entries are omitted) I tried this code $$ A_n = \begin{bmatrix} a_1&b_{1,2}&...
M a m a D's user avatar
  • 191
5 votes
1 answer
138 views

Long round overbracket

I need to reproduce the following overbracket with oversets on sides: Here is what I’ve got so far (don't mind Cyrillic): \documentclass[preview]{standalone} \usepackage[russian]{babel} \usepackage[...
Denys Potapov's user avatar
1 vote
1 answer
359 views

Delimiter in different math font

Good day, Here we are using STIXMath-Regular for math font as per customer requirement, in STIXmath-Regular font over brace is clash with text, for alternate we plan to use STIXMathTwo font for over ...
Rajesh Kumar's user avatar
2 votes
1 answer
679 views

Multiple overlapping overbraces and underbraces

I've been working on an assignment in which I would like to have the following equation (representing some bit vector) However, I edited the image above to get to that result, the last overbrace (R40)...
Habbus's user avatar
  • 51
4 votes
2 answers
694 views

How to vertically align overset (and underset) and overbrace (and underbrace) consistently across items?

How can I get the items within overbrace and overset to be vertically aligned with one another? This would mean that, in the example below, the numbers 1-8 would be in the same row, and not vertically ...
William Horne's user avatar
4 votes
1 answer
186 views

Draw overbrace from one superscript to other

I would like to draw overlapping braces from exponent to exponent. For example, I'd like to connect v and w, and x and y avbxcwdy with an overbrace each. So it should kinda look like this
infinitezero's user avatar