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

learn more… | top users | synonyms

4
votes
1answer
70 views

Why do the braces in f{\left(x\right)} affect the output? [duplicate]

Why does f\left(x\right) result in more space before the ( than f{\left(x\right)}? i.e. Why does putting extra braces suppress the space?
4
votes
1answer
91 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
186 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
956 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
522 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
124 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
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
2answers
50 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
192 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
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: ...
3
votes
2answers
52 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
103 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
325 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
56 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
94 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
307 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
289 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
328 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
2answers
225 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
764 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
0answers
266 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
7k 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} ...
2
votes
3answers
506 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
477 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
457 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
133 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
103 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
2answers
69 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
1answer
100 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
61 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
105 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
2
votes
1answer
577 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
611 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
795 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
173 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
116 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
93 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
79 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
533 views

Brace spanning multiple rows in a table and horizontal alignment

I'm a beginner trying to do an brace inside a table, that is spanning multiple rows. I assume the best way to achieve this is to do a two-row tabular environment, with an array environment for the ...
2
votes
1answer
712 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
1answer
528 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
79 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
1answer
141 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
23 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
1answer
698 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
236 views

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

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}) ...
1
vote
1answer
96 views

How can I use curly braces provided by YandY Mathtime in a MathtimePro2 doc?

I'm using MathTimePro2 as my math fonts in my documents, so how can I replace curly braces such as \lbrace, \rbrace, \underbrace, \{, \} etc provided by MTP2 to ones given by YandY MathTime? Thanks.
1
vote
1answer
267 views

How to strip curly-braces from variable before using it as a filename?

I'm trying to use a variable to pass a filename to \includegraphics. I'm having trouble because my filename is built up from other variables. This leaves an empty curly-brace inside the filename. The ...
1
vote
1answer
282 views

Changing the font for braces

I managed to successfully hack mathspec to use parentheses () and brackets [] from the specified font via e.g. \DeclareMathSymbol{]}{\mathord}{\eu@DigitsArabic@symfont}{`]} Obviously, I'd like to ...
1
vote
0answers
163 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 ≥ ...