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

learn more… | top users | synonyms

3
votes
1answer
176 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
51 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
50 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
39 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
144 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, ...
6
votes
1answer
117 views

LaTeX3: tokens for curly braces

I use a clist of delimiters to define functions that enclose text within the said delimiters. Here is a MWE: \ExplSyntaxOn \clist_new:N \l_delim_clist \clist_put_right:Nn \l_delim_clist { {paren, ...
2
votes
2answers
36 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
54 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 ...
9
votes
1answer
485 views

Labeling non axis parallel braces in tikz

Given two points, the following code draws a brace connecting them and labels it. \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{calc,decorations.pathreplacing} \begin{document} ...
5
votes
1answer
250 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
1answer
68 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
43 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
183 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
120 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
45 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
82 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
32 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
110 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
320 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 ...
6
votes
2answers
3k views

How to escape curly braces within \texttt{}

How can I escape curly braces within the \texttt{} environment? \texttt{ \{ } produces errors within my template, which can be found here: (link) I saw this question for square braces, but the ...
0
votes
0answers
17 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
245 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
240 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
1answer
2k 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}) ...
5
votes
3answers
62 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
114 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
277 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 ...
13
votes
1answer
3k views

Using braces to label parts of an equation

Given an equation, say Bayes' rule, $P(X \mid O) \propto P(X)P(O \mid X)$ how do I label the different parts of the equation using curly braces?
2
votes
2answers
88 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
121 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 ...
5
votes
1answer
417 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 ...
4
votes
2answers
105 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
1answer
60 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:
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?
69
votes
5answers
2k views

{(x+y)}^2 or (x+y)^2?

This expression is just an example, of course. My question is: should one always specify the quantity being exponentiated by surrounding it with braces, or is it acceptable to drop those braces? ...
4
votes
2answers
262 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
102 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
213 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: ...
15
votes
3answers
7k views

Aligning across 'aligned' equation blocks

I'd like to format two groups of equations such that all their equal signs line up and such that I can put a big brace to the right of each block to annotate that block. The last part is easily ...
0
votes
0answers
80 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
655 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} ...
21
votes
3answers
13k views

How to put a brace on the right, not left, to group cases?

How can I get a brace on the right, not the left, to group cases, using cases? (I know actual cases look better with the brace on the left, but the items I need to group are not literally cases. They ...
4
votes
3answers
314 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
147 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{藏象} ...
7
votes
2answers
105 views

Detect closing braces with a command

I want to make a command that detects if the next token written in the document is a closing brace. My best approach is to use the \@ifnextchar command. In fact, the following code: \makeatletter { ...
5
votes
1answer
60 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.}, ...
2
votes
1answer
239 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
1answer
104 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
2answers
76 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 ...