Questions tagged [braces]

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

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

Adding a large brace next to a table: Beamer

I have the following table in Beamer: I would like to add a large curly brace "{" on the left of the table (outside) spanning the first three rows and add some information concerning these rows ...
1
vote
1answer
43 views

Nested braces using cases

I want to use nested braces but the following code is giving errors. What is wrong here? How can I correct it? $\psi_n(x)= \begin{cases} \begin{aligned} &1 &= &\ 2\\ &...
1
vote
2answers
42 views

How to use curly braces over multiple lines?

I would like to typeset a multi-line set. I want to typeset something similar to this image: I have tried using an equation environment and an align environment but to no avail. Attempt \...
0
votes
0answers
19 views

How can I put right brace to group cases without using math mode? [duplicate]

I want do put right brace to group two cases (mixed normal and math mode) but when I try something, it says that I can do it only in math mode. Can someone help me, please?
0
votes
1answer
46 views

How to put right brace to group cases without using math mode? [duplicate]

I want do put right brace to group two cases (mixed normal and math mode) but when I try something, it says that I can do it only in math mode. Can someone help me, please?
1
vote
1answer
62 views

Is there a way to change latex to be able to write less curly braces in math mode?

The markup for complex expressions in latex often gets very big, unreadable and hard to edit. I feel it could be better, at least sometimes. Maybe I don't understand something about parsing, and I ...
0
votes
3answers
72 views

Multiline curly braces

I know how to draw the following multiline matrix using brackets on both sides: $$\begin{bmatrix}1&5&-3\\-2&-13&8\\3&-3&1\end{bmatrix}$$ The question is, how do I do it with ...
3
votes
4answers
226 views

Left and right brace around different number of rows without tikzmark

MWE: \documentclass{article} \usepackage{blkarray} \usepackage{amsmath} \usepackage{tikz} \usepackage{xparse} \usetikzlibrary{decorations.pathreplacing,calc,tikzmark} % \usetikzlibrary{external} \...
3
votes
2answers
106 views

Draw right brace which covers first four items of enumerated list

Question: How can i draw big right brace which is covering first four items? MWE: \documentclass[12pt,a4paper]{article} \usepackage[shortlabels]{enumitem} \usepackage{parskip} \usepackage[left=1....
1
vote
1answer
56 views

Help with Maths equation [duplicate]

I am very new to any form of Latex and markdown coding but I am trying to assist my student as much as possible. He is visually impaired and is finding markdown, with maths in LaTex, really accessible ...
1
vote
1answer
47 views

Mathtools and Mtpro2 curly brace

In the mathtools package there is the dcases environment by which mathematical expressions are presented in displaystyle mode in each row of the case environment, as shown in the first picture. With ...
5
votes
1answer
51 views

How to typeset a complicated align environment with lots of braces spanning several lines

I would like to typeset the plan of a complicated proof - something like an align environment, but with lots of braces spanning multiple lines on both sides. Here is a rough picture of what I want: ...
6
votes
1answer
88 views

How to improve poorly rendered braces around TikZ figure?

Trying with TikZ to have a figure surrounded by braces above and below, the result is quite ugly: braces as well as node besides look poorly rendered, as it there was a problem in their rasterization. ...
4
votes
2answers
180 views

Extra long braces with \begin{array}[t]

the following is a snippet of a lecture note I am typing. \[ \mathscr F=\left\{\{B_{\a}\}_{\a\in J}: \begin{array}[t]{rl} i) & B_{\a} \text{ are open}\\ ii) & \{...
6
votes
2answers
77 views

Grouped and aligned expressions

The effect I'm trying to achieve is illustrated here: The blue line indicates the desired alignment axis. Specifically, I want to align the arrows but also have a curly brace to the left of the ...
1
vote
1answer
42 views

vim/vimtex editing text in curly braces

What is the fastest way to edit the content of braces in vim. I use the vimtex plugin. I'm looking for a similiar way like 'cit' (change in tag) does for HTML editing. For example: \title{Some ...
8
votes
2answers
102 views

Regular sized fonts in oubraces package

I am using the oubraces package to get overlapping over/underbraces in an equation. My equation is in the following MWE: \documentclass[12pt]{article} \usepackage{amsmath} \usepackage{oubraces} \...
2
votes
2answers
87 views

Label equations with braces and line breaks

I have never used this before, so please bear with me. I am trying to label parts of the flow conservation equation for momentum with braces, which I have done before. However, I can't figure out how ...
0
votes
3answers
87 views

How can I add a single curly brace to a macro?

I am trying to compose \textit{abc} like this: \documentclass{article} \makeatletter \def\test{} \catcode123=12 % change cat code of "{" to "other" \g@addto@macro\test{ \catcode123=1 % restore the ...
2
votes
1answer
62 views

Curly braces using mtpro2[lite]: fix correct alignment

I am trying to find a solution, but actually I have failed, to use curly bracket (using \ccases) for the system symbol of three equations (or more), as for this example. If I adding the & I have ...
2
votes
2answers
67 views

Find Lines Lacking Closing Braces

Is there an easy way to do this? Ideally, a closing bracket would be added to the line lacking the bracket. Is there a SED/AWK answer? Some lines will read: \url{http://google.com} While others: \...
1
vote
1answer
57 views

Is it possible to redirect unbalanced braces (`{` and `}`) into a tabular column?

This question is a follow up to my previous question: Is it possible to use > and < to pipe opening and closing braces on each side of a cell's content? To be more specific, what I want is to ...
8
votes
1answer
149 views

Why does \tag require braces while \frac doesn't?

I'm used to using \tag without braces like \tag3 instead of \tag{3} in Markdown+MathJax, where it works as fine as does \frac12 in normal LaTeX. But when I tried to do this in a real .tex source ...
3
votes
2answers
100 views

Braces spanning multiple tables (whole tables, not rows or pages)

I've got a bunch of tables arranged like so: \documentclass{article} \begin{document} \begin{table} \begin{minipage}[c][1\totalheight][t]{0.45\textwidth}% \begin{center} \begin{tabular}{|c|c|c|c|c|c|...
3
votes
1answer
86 views

Create a table with once- and twice-hatched regions and curly braces

I try to make the next table with this hatching, dashed lines of cells and curly braces in Latex: I have seen a lot of different examples on this website: Set table background hatched and shaded ...
3
votes
1answer
132 views

How to get math mode curly braces in TikZ?

The only curly braces in TikZ I'm currently aware of are the ones in the library \usetikzlibrary{decorations.pathreplacing}. However, I don't like the way they look, I'd much prefer ordinary braces ...
1
vote
1answer
48 views

how to put left brace in equation? [duplicate]

i want to write like this /ki if 0<I<IO | t(i)= < | \c if I>Io here is curly bracket
0
votes
1answer
28 views

Multiline braces in KOMA-Script titlepage before `\begin{document}`

I'm using KOMA-Script to typeset a stage play. We have two identical sets of characters, one living, one dead. I want to go for a classic look and want to to group these in the list of characters ...
2
votes
2answers
105 views

Text under an arrow without braces

Problem: Placing text under rightarrow without using solutions such as \underbrace. Minimal Working Example (MWE) \documentclass{article} \begin{document} \noindent \textit{x} = 2 $\Rightarrow$ 2 $\...
0
votes
0answers
42 views

'TeXnicCenter' auto complete braces, brackets and alike

I'd like 'TeXnicCenter' to autocomplete the braces parentheses and likes, kind of like 'Sublime Text' does. I think, it has to do with some XML files, but I'm new to this. Here is the wished ...
0
votes
0answers
13 views

Incorrect line spacing when text is in curly braces [duplicate]

Consider this minimal working example: \documentclass{article} \begin{document} { \Huge Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum } \Huge Lorem ...
4
votes
1answer
45 views

Why do \large and \textbf require different usage of braces?

\large and other font size commands need to be placed inside a group: In this text {\large some part} is large. Whereas \textbf and other styling commands receive a parameter: In this text \textbf{...
1
vote
1answer
47 views

Add vertical braces to lists

I want to add vertical braces to a list of group axioms, in order to determine which of the following axioms need to hold for monoids, groups and abelian groups. I'm not really sure how to achieve ...
0
votes
1answer
41 views

How can I use braces for cites in biblatex package

I am trying to put braces before and after my cite like this: The IoT environment are.... (IoT Book). instead of The IoT environment are.... IoT Book. How can I succeed this? My code in ...
2
votes
2answers
385 views

How to get a single big right brace?

I am trying to make the right brace cover the whole matrix like the `\overbrace'. Is there a way to do this? \documentclass[reqno,12pt]{amsart} \usepackage{amsmath,mathtools,amssymb} \usepackage[top=...
7
votes
2answers
397 views

How to write a macro that is braces sensitive?

In the xparse package, there is the g type of argument which captures things inside a pair of TeX group tokens. This makes it possible to define commands \foo that behaves differently for \foo{a} and \...
2
votes
1answer
48 views

Alignment in nested align [duplicate]

How can I align equations in nested align ? \documentclass{article} \usepackage{amsmath,amssymb,amsfonts} \usepackage{flexisym} \begin{document} \begin{equation*} CT_i = \left\{\begin {aligned} ...
1
vote
1answer
61 views

multi line equation with full left brace, small right brace and text at right bottom of right brace

I want to write a three line equation with left curly brace for all three, right curly brace for bottom two ones and some text at right bottom of right curly brace. All with proper alignment. I wrote ...
1
vote
2answers
70 views

Help! Why does my curly brace show as a straight line?

I'm a beginner at latex and I've been reading everything I found about curl braces. I managed to positioned it where I wanted it but now my curly brace appears as a straight line. When I write the ...
5
votes
1answer
129 views

Grouping enumerated list with different width?

I found this nice answer regarding grouping of enumerated list. But it does not work for lists with different width. For instance \documentclass{article} \usepackage{tikz} \usetikzlibrary{...
0
votes
1answer
45 views

LaTeX braces around a letter [duplicate]

Hello...I don't know the technical term for the above braces and so unable to find anything online. I would be grateful if someone can tell me what they're called. Thanks, HP
4
votes
1answer
186 views

Is coding multi-line curly braces in text mode possible?

I need to typeset the following document: I have coded the following \documentclass[french, a4paper, 10pt]{book} \usepackage[french]{babel} \usepackage{fontspec} \begin{document} \setlength{\...
0
votes
1answer
15 views

How to embed braces inside an `\ensuremath` environment inside a `\newglossaryentry`?

Running pdflatex on the following document \documentclass{article} \usepackage{glossaries-extra} \newglossaryentry{injective}{name={\ensuremath{X\overset{1:1}{\rightarrow}Y}},description={injective ...
6
votes
3answers
300 views

Braces for block matrix

I have a block matrix S of dimension (Lm+n)\times (L+n)m But I think it is not written in a clear way for the reader. Do you have suggestions? this is the code I wrote so far (thanks to some ...
0
votes
0answers
46 views

TexStudio: Auto-completion of empty braces for commands without arguments

I did some search but could not find a similar question. Thank you for sending me a link if there's one. My question is as follows: For convenience when writing latex, I use a lot of custom commands ...
5
votes
2answers
70 views

Vertical alignment of \rbrace

I tried to solve the follwing problem for a while but couldn't find a solution yet. I would like to align two \rbraces vertically. This code \begin{align} L = &\left. \text{short eq} \right\...
0
votes
1answer
161 views

! Argument of \align* has an extra }

When I run the following code: \begin{align*} \text{Here, } i = 2, 5, \text{ and } 6, \text{ because observations 2, 5, and 6 } & \text{are the closest (by Euclidian distance)} \\ P(Y = Red \mid ...
0
votes
1answer
105 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 ...
0
votes
2answers
75 views

Inserting braces in a brace [duplicate]

I don’t know how can I ensert the right braces using latex... Any help is appreciated...
15
votes
1answer
663 views

A curious dependency between \newcommand and curly braces

An example is a bit artificial, but the point is that I do not understand why {} influence the outcome of \newcommand in the way described below. Consider the following definition: \newcommand\...

1 2 3 4 5 8