Questions tagged [braces]
Conventionally { and }; used to delimit groups or arguments in (La)TeX code.
446
questions
3
votes
2
answers
134
views
How to 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 put one or the other, instead of both. I use \left.\right\} for vertical ...
0
votes
0
answers
63
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
51
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
60
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
45
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
66
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
24
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
127
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
51
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
40
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
140
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
64
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 ...
5
votes
1
answer
176
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
0
answers
27
views
How to embed literal curly braces in listings package
I am using the listings package and the language selected is Delphi. I have noticed that in the editor, the use of curly braces in the code -- as happens when compiler directives are included in the ...
0
votes
1
answer
33
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
75
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
49
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
63
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]{...
3
votes
2
answers
91
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
51
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 ...
0
votes
0
answers
18
views
How to tag equations behind curl brace [duplicate]
I want to put my equations behind a curly brace and number each of them. This is my code:
( \dfrac and \pfrac are self-defined commands and they have nothing to do width my question.)
Here are my ...
4
votes
4
answers
526
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
56
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
49
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
109
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
52
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
112
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
29
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)^...
3
votes
3
answers
441
views
Tall vertical brace to the right of a column vector
Suppose I have a vector of the form
__ __
_ 1 _
_ 2 _
_ 3 _
_ 4 _
__ __
How can I create a tall brace to the right of this column vector, like this
__ __
_ 1 _ \
_ 2 _ \ Entries
_ ...
2
votes
1
answer
87
views
new environment for tikz matrix of nodes
I am trying to write a new environment that takes a matrix and draws it as a matrix of nodes in tikz. This is a minimal example:
\documentclass[a4aper,pagesize]{scrartcl}
\usepackage[utf8]{inputenc}
\...
0
votes
1
answer
52
views
Expanding inside multiple braces
I find expansion in LaTeX really confusing :(.
Consider the following expl3 code:
(Note that \l_tmpa_tl and \l_tmpb_tl are set elsewhere. So I can't just say \cs_set_nopar:Nn \dcp_baz: { { xyz } { \S ...
0
votes
0
answers
24
views
File ended whilst scanning use of \@writefile... also Goto Error just takes me to \begin{document}
This may be a basic question, but I have been using LaTeX on and off for many years and am used to finding missing braces, I have tries %'ing out my document but still cannot find an error?
Are there ...
0
votes
1
answer
109
views
Scaling of parentheses and brackets with unicode-math and kpfonts fails
The problem
I use unicode-math and lualatex and for beamer presentations, I want a fully compatible OTF sans serif font (that looks good with Myriad Pro unlike GFSNeohellenicMath). Kp-Math-Sans works ...
0
votes
0
answers
34
views
Behavior of brace match in TeXstudio
While I like the syntax highlighting for brace (and parenthesis, and dollar sign) match/mismatch in TeXstudio, I find it distinctly unhelpful that when the cursor is adjacent to a brace it makes the ...
1
vote
1
answer
63
views
Curly brace in TikZ with round tip and edgy ends
I would like to draw exactly this curly brace in TikZ:
(round tip, edgy ends which end horizontally)
Do you have any idea how to do this?
I can only draw the "normal" curly brace:
\...
4
votes
2
answers
140
views
How can I draw a curly brace under my matrix to describe my columns using LaTeX, Nicematrix, and Tikz?
I want to draw 2 braces under my matrix to indicate that the vectors a are different from the vectors x and explain why. Nevertheless, my current attempt just draws the brace in the middle of my ...
0
votes
2
answers
40
views
Creating some horizontal space between equations and Right Brace
I tried using the following Right Brace type:
$$\begin{rcases}
a &= b + c \\
d &= e + f + g \\
h &= i + j + k + l
\end{rcases}$$
But I have noticed that the brace is too close to ...
0
votes
1
answer
48
views
Why become smaller brace in empheq environment?
I want to write simultaneous equations so I used empheq environment:
\documentclass{jsarticle}
\usepackage{empheq}
\begin{document}
\begin{empheq}[left=\empheqlbrace]{align*}
E_1 = V_1 + V_2 \\
V_2 - ...
0
votes
0
answers
32
views
Is it safe to omit braces around the command name being defined with \newcommand or \renewcommand? [duplicate]
I see both type of coding style in use:
\newcommand{\hello}{Hello, World}
\newcommand\hello{Hello, World}
My question: Is there any situation where removing the braces around the command name being ...
0
votes
0
answers
14
views
How can I align equation in a big brace? [duplicate]
I want to write the following equation:
For that I wrote a code:
\RequirePackage{fix-cm}
\documentclass[twocolumn]{svjour3}
%
\smartqed % flush right qed marks, e.g. at end of proof
%
\usepackage{...
2
votes
2
answers
106
views
Align two equations, second split over two lines. Enclosed by leading left brace
I am attempting to reproduce an existing typeset equation.
Several hours into this. I have tried every combination of
align, aligned, cases, split, empheq, multline, eqnarray, that I can think of.
The ...
2
votes
3
answers
269
views
Nested left braces
I am trying to write some sort of scheme using nested left braces, the code compiles however is throwing errors, I guess I am not closing the braces (I do not want them to be closed, only need left ...
2
votes
2
answers
64
views
How to Use the UsestackEOL Package to Put Braces [Brackets] Around Structured Stacks
Consider the following code:
\documentclass{article}
\usepackage[usestackEOL]{stackengine}
\begin{document}
\thispagestyle{empty}
\Large
$\left\{
\Centerstack{
the first sentence. \\
the second ...
2
votes
1
answer
33
views
How to create underbrace with nothing on top
This will be a short one:
I want the underbrace to be extended as much as I want, without writing something on top. So far I got:
$\underbrace{\hspace{12pt}}_{\vec{F_p} = \frac{-{e}^2}{4\,\pi\...
0
votes
0
answers
20
views
Inserting back slash between left and right braces [duplicate]
I want to write (Natural number set) \ (singleton $n$). How do I write this? The code is
\documentclass[12pt,a4paper]{article}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amssymb}
\begin{...
1
vote
1
answer
67
views
Create Itemized List with Bullets and Braces to Show Hierarchical Data
Note:
Please note that I already viewed a solution provided to the question asked on the post:
Put braces in itemize list
and this does not solve my issue since I have a nested structure for the ...
1
vote
2
answers
59
views
Adding equation numbers to aligned environment
I need to typeset a text with several equations that: (#1) have to include the "maximize" and "subjet to" expressones in line with the corresponding equations; (#2) have to include ...
4
votes
5
answers
330
views
Multiple Curly Braces in Align
LaTeX beginner here. I am currently trying to reproduce the following equations (with labels and the corresponding tags) using the report class and amsmath:
Simply reproducing the equations without ...
2
votes
1
answer
61
views
Increase the vertical space between braces in table - LaTeX
I have a table as follows. I want to increase the space between every two braces (I used \renewcommand{\arraystretch}{1.5} but it did not work so well).
\documentclass{article}
\usepackage{...