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

learn more… | top users | synonyms

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 \>\> ...
3
votes
1answer
61 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} ...
3
votes
1answer
53 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 ...
3
votes
1answer
624 views

cannot scale curly brace

In follow up to my previous question, I wanted to align two arrows and put curly braces around them. The following works fine \documentclass{article} \usepackage[margin=2cm,centering]{geometry} ...
3
votes
1answer
451 views

Align inside align

I have a list of equations with annotations like the one below: \documentclass{scrartcl} \usepackage{amsmath} \begin{document} \begin{align*} aaaa &= 1 &&\text{for $X$} \\ bbbb ...
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
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. ...
3
votes
2answers
383 views

Overbrace in lstlisting of Scala code

I want to add an overbrace to some text in a Scala code listing (using lstlisting). \begin{lstlisting} object TypeClass extends FooParMain { def newApp(args: Array[String]) = new FooParApp { ...
3
votes
1answer
844 views

Horizontal braces with XeTeX take too much space

After some experiments and tests, I managed to create the following code for \upbracefill and \downbracefill in Plain XeTeX, which it seems is that used for \underbrace and \overbrace: ...
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} & ...
3
votes
0answers
483 views

Combining unicode-math fonts: Problems with \underbrace [closed]

I switched to XeLaTeX and unicode-math a while ago. I really like the possibility to combine different fonts for mathematical symbols. But now I run into trouble by combining the \underbrace command ...
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 ...
2
votes
3answers
619 views

equality sign and fraction bar alignments in complex fractions around braces

When some math expressions such as complex fractions are around the braces which should be on the same baseline, besides, equality sign should be aligned with vinculum, how can we handle? For example, ...
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
618 views

Unbalanced braces with newenvironment / NewEnviron

I am trying to define an Environment myEnv s.t. \begin{myEnv} text1 \end{myEnv} text2} expands to \renewcommand{\myCommand}{ text1 } { text2} The reason for the obviously unbalanced expression ...
2
votes
2answers
109 views

Adding underbrace on $\left(\frac{dB}{dA}\right)^2\right$

I am trying to add underbrace to $\left(\frac{dB}{dA}\right)^2\right$. I have \underbrace{\left(\frac{dB}{dA}\right)^2\right}_\text{(-)}. However, LaTeX is giving me an error. Do I have to install a ...
2
votes
2answers
431 views

consistent math font size in a formula

I have a math formula, having three underbraces, enclosing three expressions, with explanations below each brace, explaining what that quantity is. Since these expressions, as well as their ...
2
votes
2answers
707 views

Split environment wrong braces dimensions

I have to split a quite long formula. I used a nested split environment but I have to break curly braces from one line to another using \right. and \left. The curly braces I get have different ...
2
votes
1answer
1k views

Asymetric curly braces TikZ [duplicate]

How can I draw asymetric curly braces in TikZ? I have the following MWE: \documentclass{article} \usepackage{tikz, pgfplots} \begin{document} \begin{tikzpicture}[ >=stealth,] \draw ...
2
votes
1answer
131 views

Add a brace on the left side of a group [duplicate]

I can't figure out how to place the brace on the opposite side, that is on the left of the group of equations, when following the answer in this link: How to put a brace on the right, not left, to ...
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} \[ ...
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 ...
2
votes
1answer
293 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? ...
2
votes
2answers
198 views

MathJax won't render dynamically sized left/right braces (or parentheses, brackets, etc) [closed]

When I try something like: \left\{ x+y = z \\ 2x - 3y = yomamma , MathJax fails to render. At first I thought it was an issue with my website, but this problem also happens on the official MathJax ...
2
votes
1answer
115 views

Is there other brace type rather than regular?

As title, I use this code \draw [thick,decoration={brace,mirror,raise=0.5mm},decorate] this like } but I want [ I don't want to only use the same in my picture, is there other type brace? I guess ...
2
votes
1answer
110 views

Overbraces hovering too far above matrix for some reason?

I have a matrix with two overbraces above it but they are not directly above it, there is a fair amount of space between the braces and the matrix and I can't see why it is happening. ...
2
votes
1answer
2k views

Bringing the (square) brackets to the same height

Consider the .tex extract from below: \begin{equation*} A=U\Lambda U^T=\left[\begin{array}{ccc} & & \\ u_1 & \cdots & u_n \\ & & ...
2
votes
2answers
1k views

overbrace but leave spacing in math unaffected

I would like to use an overbrace, but I do not want how much text I put in the overbrace to affect the spacing of the math (i.e. I don't want the the "a" and the "b" to get further apart in the ...
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}% ...
2
votes
2answers
345 views

How to adjust the blank space between the top of the left curly brace and the contents?

I want to type a system of equations delimited by the left curly brace. And I tried using the \left{ with aligned, and cases, and array, and numcases. But there are some difference between the results ...
2
votes
1answer
186 views

too many curly brace using verbdef

I would like to create an inline verbatim text for a regular expression. The verbdef package does not like when I put curly braces into its second argument. I tried with escaping backslashes but that ...
2
votes
1answer
2k views

Why do I get an error “Too many }'s” when using package rotating

I'm receiving an error "! Extra }, or forgotten \endgroup" with all of my figures in my thesis , when I use graphicx and rotating usepackage simulatenously. If I use graphicx package only then there ...
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
1answer
172 views

How to use braces to achieve branch structure diagram

\documentclass{ctexart} \setCJKmainfont{宋体} \usepackage{amsmath,mathptmx} \begin{document} $ \text{《内经》学术体系} \begin{cases} \text{医学理论} \begin{cases} \text{藏象} ...
2
votes
1answer
346 views

Thickness and alignment of curly braces for block matrix dimensions

I need to create block matrices with the dimensions in the right. The blocks of the matrices are of different dimensions. Here is a MWE: \documentclass{article} \usepackage{easybmat} ...
2
votes
1answer
776 views

Unbalanced braces with newenvironment / NewEnviron + Command

This is a follow-up question of my Unbalanced braces with newenvironment / NewEnviron post. The gist is that by using \NewEnviron{myEnv}{% ...
2
votes
1answer
53 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)
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 ...
2
votes
1answer
120 views

Getting error while using top, and right braces in a listing

I am showing right and top braces, whereas while attempting to add overbraces using a new function called 'AddNoteOver', I am getting this error: "Package tikz Error: + or - expected ...
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
197 views

Align sequence with curly bracket and half row shift

Can anybody tell me how to rewrite these equations: There are curly brackets and half row shift and I don't know how to write it in align (eqnarray) environment.
2
votes
0answers
26 views

Non-nested underbrace/overbrace [duplicate]

How to create underbrace/overbrace structures such that one is not strictly nested within the other? E.g.:
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
2answers
458 views

Overbrace/underbrace without extending brackets/parentheses

I'm using \overbrace to explain a part of an equation, like this: \begin{align} a\left[\frac{d\cos y}{e} + \overbrace{\frac{b\sin x}{c}}^{\text{second bit}}\right] \end{align} But the overbrace ...
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 ...
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...
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} ...
1
vote
1answer
2k views

Texmaker: How to “type through” closing brackets, braces, and parentheses?

I'll start by saying that my recent experiences using Python 3.3 (a programming language) have prompted me to question the potential of my favorite way to "TeX" something using Texmaker. In Python, ...
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 ...
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} ...