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

learn more… | top users | synonyms

5
votes
1answer
15 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 ...
1
vote
1answer
35 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
261 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
198 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
192 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
55 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
41 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
185 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
54 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
63 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
41 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
156 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
38 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
73 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
103 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
44 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
211 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
124 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
48 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
57 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
88 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
35 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
114 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
343 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
262 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.
5
votes
2answers
267 views

How to put a curly brace in the right of three lines within an align-environment

I have a question concerning how to add a curly brace at the right side of three lines in an align-environment. The following is an example of what I'm speaking about: ...
5
votes
3answers
64 views

Array environment cell over two rows keeping alignment

I am trying to span braces over two rows while keeping the aligment in the following example correct alignment in this case the alignment is correct. I think I am nearly there, any help would be ...
3
votes
1answer
119 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} ...
1
vote
2answers
296 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 ...
5
votes
1answer
279 views

How to disable auto-complete braces in TEXStudio?

I want to disable auto-complete for braces in TexStudio. In its simplest form, when I type "{" I do not want it to automatically add a "}". When it does this, many times I end up deleting brace, ...
2
votes
2answers
102 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 ...
4
votes
0answers
125 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 ...
0
votes
1answer
72 views

Changing overbrace width in mathjax? [closed]

The following code A_1, A_2,\underbrace{A_3,\overbrace{A_4}^{\text{over}}, A_5}_{\text{under}}, A_6, A_7 yields How can I change it to get:
4
votes
2answers
109 views

How to align two equation arrays when combined with lateral braces

I want to have two equation arrays including lateral braces aligned properly. So far I got \documentclass[12pt]{article} \usepackage{amsmath} \begin{document} \begin{align} \overline{z}_k^{[m]} \sim ...
0
votes
0answers
26 views

Curly bracket under a sum [duplicate]

I would like to type something similar to the following: i.e., a sum of k ones. Is there an easy way to do this in LaTeX?
4
votes
2answers
286 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 ...
2
votes
2answers
103 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 ...
8
votes
2answers
224 views

Underline number in two parts; math mode

I'm trying to underbrace a binary numeral as follow: 10111101 '--''---' B D in order to show the binary-hexadecimal correspondence, but using twice the underbrace command: ...
5
votes
1answer
437 views

Resize braces arbitrarily

I'm trying to get arbitrarily big braces in some graphs I have to make, using Inkscape with the PDF+LaTeX option. The problem I have is that simply resizing a bracket makes it stretch: I'm aware ...
0
votes
0answers
85 views

mtpro2 curly braces as default

is it possible to set mtpro2 curly braces as default as given below? when i write \left\{...\right\} it should give the first result. Code: \documentclass[10pt,a4paper]{article} ...
6
votes
2answers
754 views

short curly braces with tikz

Is there a way to get curly braces with tikz which look more like this one? At the moment I'm using the following to get curly braces: \documentclass{article} \usepackage{tikz} \begin{document} ...
4
votes
3answers
322 views

How to write two *unaligned* multi-line braces on both sides

I have a theorem which is about some 4 conditions, 3 of which are equivalent in one case, and some other three are equivalent in some other case, hence I would like to typeset something like this: ...
2
votes
1answer
148 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{藏象} ...
5
votes
1answer
61 views

How do I insert a command using braces into the caption of a ctable?

I need to place a hyperref command into the caption of a ctable, but this does not produce correct output. For example: \ctable[caption={Properties of the \hyperref[sec:Towers]{Towers} dataset.}, ...
3
votes
1answer
111 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} ...
2
votes
1answer
254 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} ...
3
votes
2answers
81 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 ...
4
votes
2answers
84 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} ...
2
votes
1answer
112 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 ...