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

learn more… | top users | synonyms

4
votes
1answer
1k views

! You can't use `\eqno' in math mode

what is wrong with this??? please,can anyone help? \begin{equation} \label{probabilityy} P^{t}({E_{0})=P_{0}+(1-P_{0})P_{1}+ (1-P_{0})(1-P_{1})P_{2}+.......+P_{n}\Pi_{k_{0}}^{n-1}(1-P_{k}) ...
4
votes
3answers
290 views

Why don't the curly braces and the mid bar become bigger?

I'm having the following code: \documentclass[11pt]{article} \usepackage{amssymb,amsthm,amsmath} \newcommand{\abs}[1]{\lvert #1 \rvert} \newcommand{\N}{\mathbb N} \newcommand{\K}{\mathbb K} ...
4
votes
1answer
16k views

Left brace including several lines in eqnarray [duplicate]

How is it possible to make a brace and have something like this in a eqnarray block?
4
votes
2answers
198 views

How to escape curly braces in \texttt inside math mode?

In a previous question was answered how to escape curly braces within \texttt{}. On answer suggest using the fontenc package. \documentclass{article} \usepackage[T1]{fontenc} \begin{document} \(a ...
4
votes
2answers
114 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, ...
4
votes
2answers
75 views

Make a character thinner

With the following LaTeX code, the braces look too thick when the array is large. Is it possible to make the brace thinner? By the way, the | delimiters look always good. \[\left\{\begin{array}{l} ...
4
votes
1answer
221 views

The command \string does not print curly braces of its argument

While printing the List of Symbols, I would like, in a draft, to print the definition commands as well. For instance, consider the following commands: \providecommand{\perm}{\ensuremath{\pi}} ...
4
votes
2answers
2k views

TeXShop: disabling auto bracketing?

Whenever I used an underscore it automatically adds those curly brackets to it. Now sometimes thats nice, but sometimes you really dont need this. Is there a way to disable that feature? I roamed ...
4
votes
2answers
2k views

Vertical spacing with underbrace command

How can I set how much vertical spacing is put between my equation and the curly bracket used in underbrace? As an example, I feel like the following just puts the brace too close to the equation: ...
4
votes
1answer
133 views

system of equation without the brackets? Possible?

Hi can i make a system of equations like the one below \[ \systeme{2y+4x=9, 3x-2y=10} \] But WITHOUT the bracket (braces) behind the equations?
4
votes
1answer
218 views

Bracing fraction numerator or denominator to the left or right

I have a fraction with further fractions in both the numerator and denominator. I wish to label the fractions in the numerator and denominator with braces to the right. I would like these braces to ...
4
votes
1answer
1k views

Strip one level of braces for using keyval-value within nested keyval

I have defined my own figure command using xkeyval and I want to pass arguments for the nested \includegraphics as one of its keyvalues (maybe I stripped too much code, but I hope you get the idea): ...
4
votes
1answer
680 views

lstinline loses braces when used as an argument to another command

I'm using the listings package, for the Java language (which, as all C-like languages, uses braces as a block delimiter). I intend to use \lstinline{...} as the second argument to a command for ...
4
votes
1answer
52 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, ...
4
votes
1answer
283 views

How to create an array with both vertical and horizontal braces around the elements

I want to create the matrix shown bellow in Latex. I have the horizontal curly brackets figured out, I can use undermat{}{} for that. I do not however know how to insert the vertical curly brackets ...
4
votes
0answers
108 views

Side margin text and brace across multiple pages

hopefully a simple question to ask, not sure about the answer... Given the MWEs \documentclass{report} \usepackage{amsmath} \usepackage{lipsum} \newcommand\BrText[2]{% \par\smallskip ...
4
votes
0answers
63 views

Should I put the name of a new command in braces? [duplicate]

Possible Duplicate: Why do people use unnecessary braces? In so far as I know, the open and close braces around the command name for \newcommand{\commandname}{...} versus ...
3
votes
3answers
276 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 ...
3
votes
2answers
228 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.
3
votes
2answers
9k views

“Extra }, or forgotten \endgroup” error

Don't understand why this piece won't compile fluently. TeX file as following: \begin{figure} \centering \includegraphics[width=\textwidth]{chapter2/epjb/groups_0.pdf} ...
3
votes
3answers
109 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
2answers
74 views

Braces (not)containing \underbrace

This: \left\{ \begin{array}{l} \frac{da}{dt}=\sum\limits_kJ_k\sin(D_{ok})\\ \frac d{dt}\left\{\begin{array}{c}e\\i\end{array}\right\}=A+\sum\limits_kJ_k\sin(D_{ok})\\ \frac ...
3
votes
2answers
216 views

Latex Curly braces grouping arrows

I'm creating a communication diagram. The desired effect is to have the following in a box: Alice Bob ...
3
votes
1answer
89 views

breqn and subscripts and curly braces

When using the package breqn I got some compile errors. Without the package this works just fine. (I am using xelatex.) \documentclass[a4paper,12pt]{scrbook} \usepackage{breqn} ...
3
votes
1answer
133 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
2answers
68 views

How to get large parentheses with \tanh-function?

I want to show a function which includes the tanh of a fraction, i.e. \tanh(\frac{x - g}{h}) but which gives me the normal small parentheses. I already tried \tanh\(\frac{x - g}{h}\) but this just ...
3
votes
2answers
131 views

Big braces both on left and right of column or array

I'm trying to type a column with seven elements and some vertical big braces on its left and right. The code I use is \[ \begin{array}{rcl} & \Gamma & \\ \multirow{3}{*}{$\mathcal{D}_3 ...
3
votes
2answers
351 views

Double braces in equation

I'm trying to create the attached image formulae. But I don't know how to get the double braces to work. This is my attempt with only single brace. x(t_n) = \left\{ \begin{array}{l l} 0 ...
3
votes
1answer
97 views

Is it possible to take “sum” from computer modern, “braces” from fourier?

The code is here. Also How can i add underbraces from fourier? \documentclass[11pt,a4paper]{article} \usepackage[english]{babel} \usepackage[utf8x]{inputenc} \usepackage{ucs} \usepackage{amsmath} ...
3
votes
1answer
214 views

How to arbitrarily stretch braces

I want to stretch the \rbrace command by an arbitrary vertical scale factor in order to have precise control over its size inside a TikZ picture. Surely there's a simply command to stretch it, any ...
3
votes
2answers
550 views

Using Tikz in a figure, can I draw braces between nodes and control spacing between brace ends and the nodes?

This question is related to Draw curly braces in TikZ. Is there a way of making the solution more general for when you wish to use node names to define the end points? To illustrate, I've made a ...
3
votes
1answer
473 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
381 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
75 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
306 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
808 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
34 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
325 views

Using braces in verbatim environment

I want to put some code in a verbatim environment: \begin{verbatim} data _≥_ : Nat → Nat → Set where ge0 : {y : Nat} → y ≥ zero geS : {x : Nat} {y : Nat} → x ≥ y → suc x ≥ ...
3
votes
0answers
406 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
3answers
576 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
1answer
543 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
96 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
605 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
2answers
294 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
1answer
117 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
41 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
69 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
109 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
92 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
328 views

subequations and array in braces

I need something like this: \left\{ first line (1a) second line (1b) third line (1c) \right. all lines should be aligned to left