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

learn more… | top users | synonyms

1
vote
2answers
56 views

Braces alignment in Tikz

I have the following code to create a timeline with events labelled. In the second figure, between the events $(\tau_1+\frac{x_1}{K_1},x_2)$, I would like to place a curly bracket below, saying ...
2
votes
1answer
40 views

How can I get an underbracket with an arrowhead?

I need something like the \underbracket command from the mathtools package: \documentclass{article} \usepackage{mathtools}% http://ctan.org/pkg/mathtools \begin{document} \[ ...
1
vote
0answers
46 views

design multiple array using tikz

I would like to design multiple array like this using tikz:
1
vote
1answer
55 views

Getting large braces in MathJax [closed]

In answering this question on math.se I used the expression {{{|}|}|} and wanted to enlarge the outer braces to show the pairing. I tried \left \{ \left \{ \{ | \} \right \} \right \} (with ...
4
votes
1answer
44 views

Script to remove curly brackets around a single token. How legitimate would that be?

I work on a script that tries to bring LaTeX input into a more canonical form. One of the things I would like to do is remove curly brackets around single tokens, which could be either a single ...
3
votes
3answers
68 views

Long definition with braces

I know, maybe this topic is duplicate but i didnt find the correct answer. \begin{align*} \Theta(g(n)) = \left{f(n)|\>\> \text{existují}\>\> c_1 >0, c_2 > 0 \>\> ...
5
votes
1answer
168 views

Is it possible to double underbrace?

$$\ln(L)\approx\ln(L_0) + \underbrace{\frac{\mathrm{d}\ln(L)}{\mathrm{d}\mu}\bigg|_n}_{=\dfrac{n}{\mu}-\large{1}}(\mu-n) + \frac{\mathrm{d^2}\ln(L)}{\mathrm{d}\mu^2}\bigg|_n\frac{(\mu-n)^2}{2!}$$ ...
4
votes
1answer
31 views

Underbrace in equation in align environment

In my code below, I wanted to add another underbrace under the "B" underbrace in the beginning of the second equation with z. The second underbrace should cover from the [x,y] to just before the "=" ...
0
votes
1answer
62 views

Only left brace or bar in math equations [duplicate]

I wanna insert only a left bar like \left | without the closing right bar. Why? I want to use it as separator of calculation hints. $a * b = c | :b\\ a = \frac{c}{b}$ and so on. It must be a left ...
4
votes
2answers
61 views

How to prevent \underbrace from overlapping with a \chemfig?

A chemical formula I'm annotating overlaps with an underbrace, unless I use brackets. How can I prevent overlap without placing brackets? MWE: \documentclass{article} \usepackage{chemfig} ...
3
votes
1answer
60 views

Connect nodes with curly braces in TikZ

I would like to know how to connect nodes with curly braces in TikZ. The picture below shows what I want to do: And this is what I already got: \documentclass[class=minimal,border=0pt]{standalone} ...
1
vote
2answers
79 views

make horizontal braces over math

I want to make a horizontal brace for mark a part of some numbers as special. see the picture: I hope I made it clear...
3
votes
1answer
46 views

newenvironment with braces split between start and end

I'm defining a command for placing figures in the margin. A simple version follows: \documentclass{article} \newcommand{\margin}[1]{\marginpar{#1}} \begin{document} \margin{Figure goes here} ...
4
votes
1answer
76 views

Knurled or broken brackets and braces

Why are my brackets with gaps and sometimes even knurled shape? How can I solve this issue without having to draw the forms with another tool (Broken matrix - gaps in brackets (solved with Tikz)) ...
2
votes
2answers
47 views

braces with text in bold

This works fine but I get the text outside the braces in bold which I do not want. \documentclass[10pt]{article} \usepackage{array}% http://ctan.org/pkg/array \usepackage{amsmath}% ...
1
vote
1answer
29 views

Would like to make braces larger using Fourier package

in my MWE below, I wanted to know if it is possible to make the "{ }" larger like this (while still using the fourier package): Here is my code: \documentclass{article} \usepackage{fourier} ...
2
votes
2answers
72 views

Underbraces in formula pointing to text part 2

This post is building from the post found here developed by Gonzalo Medina. How to get the same equation to behave correctly on two different pages? In my code, the under braces do not fall in the ...
2
votes
1answer
52 views

Texshop macro for braces

How to insert \left( \right) by simply typing e.g. 'cmd+m' on Texshop. As an example: write 2+2 and then 'cmd+m' and the output is: \left(2+2\right)
3
votes
1answer
95 views

Starting environment with \begin{env} or with \env{}

I have noticed that I can start some LaTex environment in two ways. For the frame environment in Beamer, for example, \begin{frame} % .. frame content .. \end{frame} is equivalent to \frame { % ...
2
votes
2answers
50 views

Using big braces to show parts of code

On p. 428 of the TeXbook, Knuth uses large vertical braces (through the \hidebrace command, of which I cannot find documented anywhere) to show different sections of fonts. I was looking to use a ...
1
vote
2answers
93 views

Left curly brace in tabular environment

I have following code: \begin{IEEEeqnarray}{c} y = \beta_0 + \sum\limits_{i=1}^{m}{\beta_i x_i} + \sum\limits_{i = 1}^{m} \sum\limits_{j \geq 1}^{m}{\beta_{ij} x_i x_j} + \epsilon ...
1
vote
1answer
49 views

Underbraces in formula pointing to text

In the MWE below, I wanted to get the formula to show up with underbraces and lines pointing to the text like this: Here is my code: \documentclass{book} ...
5
votes
1answer
191 views

Why do braces around a single-letter argument of a macro affect its output?

I thought \ul 8, \ul8, and \ul{8} are identical ways of passing an argument 8 to a command \ul. However, they produce different output. Why? MWE: \documentclass{article} \usepackage{soul} ...
2
votes
3answers
39 views

How to put 2 left curly braces horizontally as in the same row?

I tried to put 2 left curly braces horizontally, each of which defines a variable. However, we I get is one on top of the other. This may leave too much empty space. So is there any way to put the ...
5
votes
1answer
88 views

Can't escape curly braces in \lstinline

Upon trying to typeset the following TeX I get the error: Too many }'s. ...handleClick } >Button component} TeX: \lstinline{<Button onClick=\{this.handleClick\}>Button ...
2
votes
1answer
70 views

Curly braces disappear when reloading LyX document

I have a problem in LyX when using a math macro with an optional argument. I want to have an interval [a,b] as argument, which I need to group in curly braces, otherwise LaTeX will confuse the ...
11
votes
3answers
385 views

How do I adjust \underbrace spacing?

I have an equation like this \documentclass{article} \usepackage{IEEEtrantools} \usepackage{amsmath} \begin{document} \begin{IEEEeqnarray*}{rClCl} \left( \begin{array}{c} ...
5
votes
4answers
309 views

How to put curly brace in front of even number of bullets?

I need to put curly braces in front of even number of bullets. The following post works perfectly for odd number of bullets. Bullet points and curly braces how can we modify it to for even number ...
7
votes
4answers
260 views

\newcommand with options

My question is about declaring a "newcommand" with an option. I have defined \newcommand{\bforall}[2]{\forall #1\, (#2)} so that $\bforall{x}{x \in A}$ writes $\forall x (x \in A)$. I would like ...
7
votes
2answers
61 views

prevent the label beneath an underbrace from taking up vertical space

\documentclass[12pt]{article} \usepackage{amsmath} \begin{document} \begin{multline*} = I_{B}(\Pi_{B})_{\theta}[\theta_{B},\Lambda^{\prime}[I_{0} - I_{B}[1-F(\theta_{B})]]] - ...
0
votes
1answer
56 views

Usage of the curly brackets [duplicate]

I have noticed today that the LaTeX would compile regardless if I put curly brackets or not. What I mean is this: I would usually write in maths mode \frac{1}{2} however latex also compiles if I write ...
3
votes
1answer
194 views

Curly brace with a bar next to it

I'm trying to work out if there's a symbol for this, or if my hack will have to do. What I'd like to achieve is a symbol identical to the curly braces with a bar here: But the closest I can seem ...
3
votes
2answers
66 views

write equation with more than one curly brace

I was trying to write the equation, but did not get enough hints in tex.stackexchange.com
1
vote
1answer
133 views

Left brace in align environoment [duplicate]

I would like to have a left brace around equations in the align environment. How can I do this? (I would like to use this environment because I would like to number each individual equation to be ...
3
votes
1answer
52 views

Multiple cases with automatic braces

I am writing a relation in which I need to describe the value of G(i, s, a): \documentclass{article} \usepackage {amsfonts} \usepackage {amsmath} \usepackage [margin=1in]{geometry} \usepackage ...
4
votes
2answers
205 views

Replacing braces in strings

I know I should probably not want to, but say for the sake of discussion that I wanted to remove braces from a string for some purpose (background, now obsolete). From its package description, ...
2
votes
2answers
47 views

A part of the Leontief matrix: something -> something

I know this is probably not needed considering I have a matrix and such, but I would like to know what the best way would be for formatting something like this into LaTeX: Tried using matrices and ...
2
votes
0answers
174 views

Sublimetext highlighting of braces

In SublimeText 3, the syntax highlighting for latex documents in math mode has the following (unexpected?) behavior. Consider the following: \{sometext\} versus \{ sometext\}. The syntax ...
2
votes
1answer
290 views

Conflicting multi-line underbrace labels

Sometimes a \makebox gives nice underbrace, sometimes multiline version with \parbox works. But how to combine two multiline-underbrace-equation-labels side by side and make them look good? ...
3
votes
1answer
45 views

Splitting up an expression (that has braces)

I am trying to split up the longest set (the super long expression) here into multiple lines, I've looked at some other similar questions on this forum and tried a few different things but nothing ...
3
votes
1answer
408 views

How two draw a two-head vector and curly brace in picture environment?

I want to insert a two-head vector, and a curly brace of length of my choice, as shown in figure below in the picture environment and want to put it on the specified location. Unable to find any ...
3
votes
3answers
164 views

How to align braces with middle vertical line the same size in math mode?

How can I make the middle vertical line the same size as the braces? \[ A\left(c\mid \substack{a,b \\ c,d} \right) \] Thanks!
3
votes
1answer
57 views

'Illegal parameter number' error using underbrace in QCircuit environment

Using QCircuit, the following code \documentclass{article} \usepackage{amsmath} \usepackage{qcircuit} \usepackage{braket} \begin{document} \Qcircuit @C=0.5cm @R=.2cm { \lstick{\ket{0}_n} & ...
4
votes
1answer
65 views

Connecting scopes with braces and arrows

I'm working in a tikz figure that so far is like that: Produced with the following code: \documentclass[tikz,border=9]{standalone} \usetikzlibrary{matrix, calc, backgrounds, ...
3
votes
1answer
96 views

Underbrace an equation with its result

I have several formulas that are too long to fit into the \textwidth of my page. That's why I want them underbraced with the result-formulation beneath them. Something like this. ...
0
votes
1answer
56 views

underbrace in superscript exponentiation [duplicate]

So I have this latex code \underbrace{ a^{\frac{1}{n}} \cdot a^{\frac{1}{n}} \cdot \ldots \cdot a^{\frac{1}{n}} }_{n\text{-times}}} = a^{ \underbrace{ \frac{1}{n} + \frac{1}{n} + \ldots + ...
4
votes
3answers
142 views

Side brace in dfrac

So I have this formula \begin{empheq}[right=\empheqrbrace]{align*} \dfrac{\dfrac{\dfrac{\dfrac{ \frac{1}{a} % <-- start with this a }{a}}{a}}{\vdots}}{a} that's rendered in this formula: ...
3
votes
3answers
501 views

Adding braces around equations

Is there any way to add braces around a system of equations? Say I want to add braces around: a=x+2y+3z b=6x+y+2z c=5x+3y+z The best example I could find of how I want the braces to look is the ...
0
votes
0answers
19 views

Impact of enclosing lines with curly brackets [duplicate]

When I compile the following (almost identical) two pieces of code, there is much more vertical space between both words in the first example than in the second example: % Much space between the ...
3
votes
2answers
370 views

Multiple results for equation

How do I define a equation e.g. x +y that shall be true for e.g. <5 and >0 in one equation? I was thinking of using a large brace, but I can't find any example of how to achieve this.