Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [braces]

Conventionally { and }; used to delimit groups or arguments in (La)TeX code.

Filter by
Sorted by
Tagged with
1 vote
2 answers
55 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
2 votes
2 answers
111 views

Place explicit character tokens of category 1/2, whose character codes are to be specified, before/behind tokens that form arbitrary macro argument?

Assume tokens \macro{1612512}2{1612612}2{1⟨arbitrary non-outer brace balanced tokens⟩}2; the 1st argument of \macro holds a TeX-⟨number⟩-quantity in the range of possible codepoints of the TeX engine'...
user avatar
1 vote
0 answers
74 views

Bracket with multiple lines [closed]

The errors of my codes with feedback: Missing $ inserted \documentclass{article} \usepackage{amsmath} \begin{document} $[x_0: x_1: x_2]\mapsto$ \begin{cases} $[x_0: x_1]$ & \text{ ...
Un petit mensonges's user avatar
1 vote
3 answers
75 views

3 tables in one slide in Beamer

I generated 3 tables: \documentclass[10pt, aspectratio=169]{beamer} \usefonttheme{serif} %\usepackage{booktabs} % tables \usepackage{siunitx} % units, numbers \usepackage{mathtools} \usepackage[...
Sylvia's user avatar
  • 485
3 votes
2 answers
96 views

Add large brace next to table (Beamer): Description included

I created the following table: \begin{columns}[c] \begin{column}{7.5cm} \begin{table}[ht] \small \centering \caption{Test table} \begin{tabular}{ll} \midrule A &$a \sim \qty{e6}{m}$\\ B &$b \...
Sylvia's user avatar
  • 485
6 votes
3 answers
330 views

Big right brace in enumerate environment

I'm trying to do a cases environment with a brace on the right using the classic trick \left. \begin{aligned} ... \end{aligned} \right\} but the particularity is that I'm in an enumerate environment ...
IsaKEKW's user avatar
  • 547
0 votes
2 answers
71 views

Remove all instances of {} interior to argument to a command

Is it possible to remove all instances of {} which are passed as parts of an argument to a command? I would like to use the Tensor package with LyX. The problem is that LyX always puts subscripts ...
Mike Pugh's user avatar
  • 167
0 votes
2 answers
47 views

ifthenelse with mismatched braces [duplicate]

I am writing some lecture notes, and I would like to have automatically generated two versions. One version includes everything (examples, additional explanations, etc.), and another one with only the ...
D.F.F's user avatar
  • 414
7 votes
2 answers
146 views

How do I align the parts of a brace diagram?

I am trying to reproduce the following somewhat complex brace diagram: I am having trouble getting the alignment exactly the way I want. Ideally, Category A would be centered in the space delimited ...
AthanasiusOfAlex's user avatar
1 vote
0 answers
38 views

Double subscript error on ${\tilde a_0}_0$? [duplicate]

${a_0}_0$ compiles fine: ${a_0}_0$ ${\tilde a_0}_0$ yields a "double subscript" error. Why is that and how can I fix it?
Andi Bauer's user avatar
5 votes
2 answers
261 views

How to add a left-hand brace to this system of equations?

How to My code \documentclass[12pt,a4paper]{article} \usepackage{amsmath} \begin{document} \begin{alignat}{3} a_1x &+ b_1y &&+ c_1z &&= d_1 \label{eq1}\\ a_2x &...
Laurenso's user avatar
  • 373
0 votes
0 answers
28 views

Get bigdelim effect with tabularray

Simply I would like to include braces across multiple rows within a table using tblr environment in the same way as bigdelim allows in a tabular environment.
JoMo's user avatar
  • 1
1 vote
1 answer
81 views

How to make small set [closed]

i have a map such that image of an element is a set \documentclass{article} \usepackage{amsmath,amssymb,amsthm,mathtools,xcolor,enumitem,mathrsfs,pzccal,mdframed} \usepackage[hmargin=3cm,vmargin=3cm]{...
Kaneki1013's user avatar
3 votes
1 answer
202 views

How to put left brace in nicematrix?

I want to have a matrix, where on the left side I have left brace with n written on it. But the current code I have does not produce the desired result. The left brace is not drawn due to some issue ...
pixel's user avatar
  • 1,356
0 votes
1 answer
64 views

The parenthesis problem from above in latex

The parenthesis sign is too long in the part you see in the delta sign. I couldn't do it as a fixed parenthesis. We used \bigl but it doesn't work. We used \underbrace and we couldn't reach the result....
nortedor's user avatar
8 votes
2 answers
556 views

Nicematrix overbrace and underbrace clash with surrounding text

I am surprised that I didn't find anything on this topic here. In the following document, the contents of the braces clash with the above text even after several compilations: \documentclass{article} \...
Bubaya's user avatar
  • 2,475
0 votes
0 answers
55 views

How to typeset a right brace which has exactly the height and depth of contents it braces?

I want to design a right brace contents whose height and depth are equal to the contents it braces. It is possible to design it using \left. \right\rbrace, but I actually want multiple braces to align ...
Al-Motasem Aldaoudeyeh's user avatar
0 votes
0 answers
74 views

Can I replace begin and end of an environment with a new definition with only braces

Can I replace the begin and end of an environment just with a pair of braces {} where the left brace { will take care of the \begin{} part and right brace } will function like the \end{} part? This is ...
hbaromega's user avatar
  • 323
0 votes
0 answers
35 views

Is the preferred use of tilde command with braces?

It looks like the standard way of using the \tilde is as in $\tilde{a}$. However, I saw a latex document in which the usage was $\tilde a$. Will the two ways of defining a tilde produce the same ...
Andre's user avatar
  • 991
3 votes
2 answers
157 views

latex two left braces for 4 lines and one right brace for 3 lines

My minimal demo is given as follows \documentclass{article} \usepackage{amsmath,amssymb} \begin{document} $$ \begin{aligned} \text{quantitative} &= \left\{ \begin{gathered} \text{continuous}\\ \...
John Stone's user avatar
0 votes
1 answer
62 views

How do I define a custom command or a macro, or something of that nature, which will use the matrix environment?

When I write some latex with \{ and \}, such as the following: \begin{Bmatrix} \dfrac{x_{1}}{10^{1}}, \dfrac{x_{2}}{10^{2}}, \dfrac{x_{3}}{10^{3}} \end{Bmatrix} The output looks like this: The ...
IdleCustard's user avatar
  • 1,230
3 votes
4 answers
299 views

Problem with a TikZcd between curly braces

I was trying to answer a question but the TikZcd I would like to typeset is not well vertically positioned between the curly braces (the red lines are drawn to better show the problem): \documentclass{...
CarLaTeX's user avatar
  • 64.2k
3 votes
1 answer
179 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
1 answer
66 views

How do I format curly braces with pgfplots?

I would like to illustrate the set $A = (-\infty,1] \cup [2,+\infty) $ using curly braces as in the figure below. However, to express the left-hand side and right-rand side infinity, I would like to ...
Andre's user avatar
  • 991
2 votes
2 answers
205 views

Equation with braces, multi-column and multi-rows

I am working on a paper and need to write something like the image below in my report. Any help on how to type such equations in latex?
Pawan Goyal's user avatar
3 votes
1 answer
61 views

Scantokens and balanced text, what options exist for curly braces?

\scantokens takes balanced text as its argument, and braces have to be explicit, as far as I can tell. I'm puzzled by the following, where the first line is okay and the second line results in a &...
Dan Levin's user avatar
  • 411
0 votes
1 answer
91 views

add braces to a directory tree diagram

I'd like to add right align braces, to a directory tree diagram, for explaination but I don't know how to "mix" package command here are the 2 links align right braces making a directory ...
user20006686's user avatar
5 votes
3 answers
388 views

align right braces

I found this latex sample, close to what I need but fail to modify it like I need. I try to understand how to do, reading about eqparbox package but it doesn't help me more. I want to make braces on ...
user20006686's user avatar
1 vote
1 answer
73 views

Text alignment between curly braces [duplicate]

I am trying to rewrite an equation that looks like this: The latex code I have written so far is: \documentclass{article} \begin{document} \[f(x,\alpha,x_m) = \biggl\{ \frac {\alpha x_m^\alpha} {x_i^...
No_Name's user avatar
  • 49
2 votes
1 answer
114 views

Replacing all curly braces in a font (not just the large ones)

I find the curly braces from kpfonts difficult to distinguish from other brace-like symbols and would like to replace all math instances of \{ and \} (so \lbrace and \rbrace) with curlier braces from ...
mbert's user avatar
  • 4,216
0 votes
1 answer
63 views

Lucida: Make large braces the same style as small braces

I noticed the problem with the cases environment, but it is due to using braces that are bigger than \Bigg. How can I make (1) to be the same style as (2)? \documentclass{article} \usepackage{amsmath}...
Manuel Schmidt's user avatar
3 votes
2 answers
172 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
  • 167
5 votes
2 answers
150 views

newenvironment without brace

This code works well [edit : thanks, Mico] \documentclass{minimal} \usepackage{tikz} \usepackage{lipsum} \newenvironment{MyBox}[1]{% \begin{tikzpicture} \node[text width = 0.9\linewidth, text ...
Clairon's user avatar
  • 407
2 votes
1 answer
47 views

Times Opening Curly Bracket: Remove the initial horizontal skip

I would like the opening curly brackets in Times to start against the margin. How can I create a "fixed" curly bracket? \documentclass{article} \usepackage{fontspec} \setmainfont{...
Vincent Krebs's user avatar
1 vote
1 answer
53 views

Curly Braces around text groups with tikz

I would like to achieve the following What I have by now is \documentclass[12pt]{article} \usepackage{tikz} \usetikzlibrary{positioning} \usepackage{makecell}% \begin{document} \begin{...
Knock-Out's user avatar
1 vote
2 answers
160 views

How to get unbalanced opening brace behind macro argument?

Editor's note: this question was significantly revised, it might or might not reflect OP's original intention. OP might want to rollback it and clarify the question/provide a proper MWE if it does not....
John Smith's user avatar
2 votes
3 answers
66 views

Line breaking inside BIG parenthesis

I tried line break as well as \newline command inside parentheses but it did not work.
Gaurav Tambe's user avatar
6 votes
2 answers
1k views

How can I have both horizontal and vertical curly braces in a matrix?

I want to make horizontal and vertical curly braces to show up simultaneously just outside a matrix, but it only works when I use one or the other, instead of both. I use \left.\right\} for vertical ...
CELLSecret's user avatar
0 votes
0 answers
243 views

Why does \texttt not work on braces?

Why does \texttt not work on \textbraceleft or \{? Is there any solution to solve this? \documentclass{article} \begin{document} \texttt{\textbraceleft} \texttt{\{} \verb|{| \end{...
M. Logic's user avatar
  • 4,323
1 vote
3 answers
268 views

Curly braces of arbitrary size

How to get a curly brace of given length? (e.g: 100px) The following works but it is obviously not the best solution: \begin{cases} \\ \\ \\ \\ \\ \\ \\ \end{cases}
AvidSeeker's user avatar
2 votes
2 answers
475 views

How to put braces over certain parts of matrices?

I want to typeset something like this: I couldn't find a way to achieve this using array or blkarray. Any help?
Atom's user avatar
  • 665
1 vote
1 answer
599 views

How to add a big curly brace to label the side of a table?

How can I use a big curly brace to group together lines of a table on the left side? \documentclass{article} \begin{document} \begin{center} \textbf{$n=3$} \begin{tabular}{ |c|c| } \hline ...
pyridoxal_trigeminus's user avatar
0 votes
1 answer
170 views

Professional curly braces in MTPro2 font

I've noticed the differences in typesetting between MTPro2 Lite and its complete version, so I even bought the license and installed the complete version onto my computer. Most of the features have ...
Daeyoung's user avatar
  • 101
0 votes
0 answers
38 views

How to decrease the vertical spacing in cases environment?

I have a few lines of code. I want them to align at the equals sign, and also shrink the brace for phi using cases environment. The curly brace sticks out at the top and bottom, which is a little ...
happyboat's user avatar
2 votes
2 answers
288 views

How to add a bracket above a gather environment?

I would like to turn this : $$ \begin{gather} \overbracket{\text{1 2}}^{\text{Basic idea}} & \overbracket{\text{3 4}}^{\text{Contrasting idea}} \\ \underbracket{\text{5 6}}_{\text{Basic idea}} &...
Elaws's user avatar
  • 23
3 votes
2 answers
261 views

How to create a simple vertical vector with several vertical curly braces outside the square bracket?

I could not code a vertical vector with several vertical curly braces outside the square bracket of the vector. The best thing I have obtained so far is by using rcases from mathtools package that ...
Reza's user avatar
  • 63
1 vote
3 answers
1k views

How to typeset a curly braced column vector

How to write this Ignore underbrace and the vector's content. Thanks.
Michael West's user avatar
2 votes
3 answers
484 views

How to display right brace correctly? [duplicate]

I've got this document class and these math libraries: \documentclass[12pt,twoside,a4paper]{book} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{cancel} I'm trying to make something like ...
Polda18's user avatar
  • 31
0 votes
2 answers
758 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
6 votes
1 answer
419 views

Which fields have to be {braced} or "quoted" in .bib files (why does year NOT have to be)?

I'm writing some software for interacting with .bib fields. I want to be able to expand @string abbreviations in field values correctly, and I've been learning about quoting rules. In almost all cases,...
modallyFragile's user avatar

1
2 3 4 5
10