Questions tagged [braces]
Conventionally { and }; used to delimit groups or arguments in (La)TeX code.
465
questions
8
votes
2
answers
287
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}
\...
0
votes
0
answers
42
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 ...
0
votes
0
answers
45
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 ...
0
votes
0
answers
29
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 ...
3
votes
2
answers
137
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}\\
\...
0
votes
1
answer
41
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 ...
3
votes
4
answers
264
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{...
3
votes
1
answer
85
views
Curved Line Under Number (not sure what it's called)
How would I make something like this in Latex?
Thank you in advance!
1
vote
1
answer
50
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 ...
2
votes
2
answers
170
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?
3
votes
1
answer
37
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 &...
0
votes
1
answer
77
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 ...
5
votes
3
answers
369
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 ...
1
vote
1
answer
36
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^...
2
votes
1
answer
54
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 ...
0
votes
1
answer
52
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}...
3
votes
2
answers
91
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 ...
0
votes
0
answers
17
views
How to put left brace across multiple equations, each with its own label [duplicate]
How can I put a left brace across several lines of equations, so that each line has a seperate label?
If I use dcases, I can't get seperate labels. If I use subequation, I can't get the left brace, as ...
5
votes
2
answers
140
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 ...
2
votes
1
answer
41
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{...
1
vote
1
answer
41
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{...
1
vote
2
answers
116
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....
2
votes
3
answers
37
views
Line breaking inside BIG parenthesis
I tried line break as well as \newline command inside parentheses but it did not work.
6
votes
2
answers
742
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 ...
0
votes
0
answers
128
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{...
1
vote
3
answers
137
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}
2
votes
2
answers
205
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?
1
vote
1
answer
273
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
...
0
votes
1
answer
126
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 ...
0
votes
0
answers
32
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 ...
2
votes
2
answers
229
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}} &...
3
votes
2
answers
126
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 ...
1
vote
3
answers
448
views
How to typeset a curly braced column vector
How to write this
Ignore underbrace and the vector's content. Thanks.
2
votes
3
answers
247
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 ...
0
votes
2
answers
317
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 ...
6
votes
1
answer
280
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,...
0
votes
1
answer
35
views
Turn the single brace in the opposite direction [closed]
How to turn the braces in this image to face in the opposite direction in LaTeX?
3
votes
2
answers
90
views
curly braces around set of nodes with some text
Is it possible to put curly braces around a set of nodes with some text near the bottom right of the brace.
\documentclass[a4paper]{scrartcl}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{tikz}
\...
2
votes
1
answer
79
views
Braces spanning to next page
I am trying to put braces along long text but the text and brace disppears at the end of page as shown at the bottom of figure.
Ideally the text and brace should continue from next page.
Here is an ...
0
votes
2
answers
97
views
How to get a smaller brace? [closed]
This is my latex:
$$ \left\{\begin{align} e&=\lim_ { n → \infty } \left( 1 + \frac { 1 } { n } \right) ^ { n } \\ \frac { 1 } { e }&=\lim_ { n → \infty } \left( 1 - \frac { 1 } { n } \right) ^...
1
vote
0
answers
48
views
What does "{%" mean? [duplicate]
What does "{%" (a brace followed by a percent) mean, and what is it called if I want to find the documentation for it?
Here is an example.
\newcommand{\atest}
{%
\includegraphics[width=1in]{...
4
votes
2
answers
190
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 ...
4
votes
2
answers
189
views
How to place brace on the right of a subset of aligned equations?
This question is essentially an extension of this question about how to place right braces around cases.
I want to have three equations, all aligned, but I want only the latter two of the equations to ...
5
votes
4
answers
575
views
How to make commands with mandatory braces?
Partly inspired by this question, I got interested in the question of whether we could (hypothetically) switch to a new LaTeX syntax where braces around arguments were mandatory. That is, no more \...
0
votes
1
answer
59
views
Macro with braced output
I wrote a code:
\documentclass{article}
\usepackage{amsmath}
\newcommand{\tvm}[1]{{\mathbf{#1}}}
\newcommand{\tdot}[1]{\expandafter\dot#1}
\newcommand{\vecta}{{\tvm{v}}_{abc}^{def}}
\newcommand{\...
1
vote
1
answer
56
views
Why is { } Causing Latex to Make Space for Another Lettrine After \vskip?
The following code makes use of \textbf{} for illustrative purposes, but actually, {} will produce the same phenomenon.
\documentclass{book}
\usepackage{lettrine}
\usepackage{xcolor}
\input GoudyIn.fd
...
2
votes
2
answers
187
views
Multiple curly brackets aligned one part to the right and the other to the left
How to draw such a diagram to show how the singularities are classified?
Incorrect demonstration:
0
votes
0
answers
63
views
How can I insert a large vertical brace in a single cell of a one column and two rows table?
I need a fixed size table of one column and two rows per page, where I can contain a large vertical brace surrounding a series of items in each cell (x2).
Here's what I have so far:
\documentclass[...
-1
votes
1
answer
135
views
How do I use curly braces to typeset the definition of Graham Number?
This is the definition of Graham's Number.
How do I subdivide the text in the bracket, as shown?
0
votes
1
answer
40
views
How to use underbrace in the following? [duplicate]
I was writing my project.
First notice the following:
When I use the \underbraceit becomes like...
Actually, I want the root sign like the above while using \underbrace
My code:
$\sqrt{(x-x^\prime)^...