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

learn more… | top users | synonyms

29
votes
3answers
23k 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 ...
6
votes
2answers
38 views

Using vertical multiline braces to denote difference as opposed to grouping

I would like to have several lines with vertical braces next to them. However, those braces should not group the lines, as can be done with the cases environment. Instead, I'd like the braces to start ...
20
votes
3answers
316 views

How to get the cases brace to be a link

I copied the cases code form amsmath.sty and tried to wrap the \lbrace within a macro and added a \left. to get this to compile. This of course loses the size info so the brace is not the correct ...
3
votes
0answers
112 views

Automatic mark my text with margin braces without using box

I use the tcolorbox or mdframed advantages for several months to mark my text automatically, according to Gonzalo Medina tips in question Automatic margin curly braces text on multiple pages. But I ...
2
votes
3answers
111 views

How to do multiple columns of multiline braces in LaTeX?

Just like cases environment, with a 2-line (or more) big curly brace to the left of some short equations - but I want to have 3 or 4 columns of equations across the page, each with left-brace. So I ...
4
votes
2answers
196 views

Using braces with equations - how to make fractional terms 'bigger'

I have some equations which display perfectly until I put them inside a brace and they become 'squashed'. Example: \begin{alignat}{2} u = \frac{\partial\tilde{X}}{\partial x}, v = \frac{\...
0
votes
2answers
24 views

Making longer underbraces

I want to make longer underbraces for a better visualisation of interstimulus intervals. My code looks like this: $$\bullet \underbrace{{}{}}_{1 sec} \bullet \underbrace{{}{}}_{2 sec} \bullet$$ ...
0
votes
2answers
26 views

increase space between brace and equation

Using the package mathtools the output of this code \[ \begin{dcases*} l_{\epsilon} = (l_ul_d)^{1/2}\\ l_k = min(l_u,l_k) \end{dcases*} \] is the following Is there ...
2
votes
1answer
39 views

Brace in the same column

I have a problem with set of equations. To wit: I would like to set a braces in the same column, but I have no idea how to meki it. Belowe I enclose a code. \usepackage{amsmath} \usepackage{array}...
2
votes
2answers
34 views

How can I put a brace after some lines of text without there being a gap afterwards?

I want to change the following Jan Pierewiet, Jan Pierewiet, Jan Pierewiet staan still ($\times$2) Goeie m\^ore my vrou so that it looks like this: I had to edit pictures to create the ...
7
votes
3answers
160 views

Braces around both sides of cases (with text)

How can I add curly braces around both sides of a cases environment which contains text? \documentclass[12pt]{article} \usepackage{amsmath} \usepackage{amssymb} \begin{document} \begin{equation*} \...
4
votes
2answers
255 views

Drawing braces in equations

I am pretty new in this forum. It's my first post. So I hope I don't break any rules or so. My Question is: I have an equation, which contains already a pics, because I wanted to mark some stuff in ...
1
vote
1answer
53 views

Tikz: Curly brace incorrectly positioned

I'm trying to draw a curly brace to the right of some nodes. It is currently appearing to the left of a completely different node. Here is my code: \documentclass[]{article} \usepackage{tikz} \...
3
votes
1answer
45 views

How to put a colon to the left of a set of equations?

Currently I have the following code \begin{equation*} \begin{split} \Omega : \dot x &= \omega(b) \\ p &= \sigma(z) \end{split} \end{equation*} Which generates But I would much ...
3
votes
3answers
76 views

Long definition with braces

I know, maybe this topic is duplicate but I didn't find the correct answer. \begin{align*} \Theta(g(n)) = \left{f(n)|\>\> \text{existují}\>\> c_1 >0, c_2 > 0 \>\> \text{a}...
8
votes
3answers
70 views

How to position brace label?

I want this layout but I can't control the placement of s1, s2 and s3. How do I achieve this. My MWE follows. \documentclass[11pt]{article} \usepackage{tikz} \usetikzlibrary{decorations....
9
votes
1answer
6k 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}) \end{...
6
votes
2answers
174 views

Remove extra curly braces

In this MWE, I demonstrate my problem: \documentclass{article} \usepackage{seqsplit} \newcommand{\dosomething}[1]{\uppercase{#1}} \newcommand{\dosomethingelse}[1]{\seqsplit{#1}} \begin{document} \...
2
votes
1answer
44 views

Dashed or dotted scalable right brace in math mode wanted

How to to typeset a right brace which scales similarly to the left one in the "cases" environment and is dashed or dotted at the same time? The code below is almost ok---except that the curly bracket ...
2
votes
0answers
54 views

Tikz behaviour at page end

I am using tikz to put braces around an enumerated list as mentioned here. I have two curly braces with multiple comments as shown below The problem is I am not able to get the braces at the right ...
4
votes
1answer
54 views

Braces in Tabular after some of the rows

I have the following code, my problem is that the braces 'A' should be the after row A1 and B1 and the second braces should be after D1 and E1. Hope someone can help? \begin{tabular}{c@{}c} \begin{...
7
votes
1answer
782 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 the brace, ...
1
vote
1answer
25 views

You can't use `\eqno' in math mode,Missing } inserted

I understand from previous post that this error come when you have extra {,( involved. But in my case i am not able to find any such case. \begin{equation}\overset{\wedge}{\pi}\left(\beta/ A_n\right) ...
0
votes
0answers
27 views

Nicer looking underbrace on subscript [duplicate]

\usepackage{graphicx} \usepackage{framed} \usepackage{amsmath} \usepackage{amssymb} \usepackage{amsfonts} \usepackage{mathrsfs} \usepackage{array} \usepackage{enumitem} \usepackage{amsthm} \newtheorem*...
2
votes
1answer
79 views

Labeling rows/columns of a matrix with text and braces

I would like to label rows and columns of my matrix with formulas and text. I've started with a version using bordermatrix. \[ \underbrace{ \bordermatrix{ & \underset{\downarrow}{x} & \...
2
votes
0answers
37 views

Cannot compile file with tikzmark

in my example below, I cannot compile the file as I get the error: LaTeX Error: Command \tikzmark already defined. Or name \end... illegal, Can you help me get my file to compile? ...
0
votes
0answers
29 views

Adding brace next to column in beamer and writing text in a box

I am creating a presentation in Beamer. I would like to achieve the following: Please guide on how that can be achieved. Also I would like to this if an algorithm is written in the bigger box.
3
votes
1answer
42 views

Braces in enumerate environment to span two or more lines

I was attempting to get a brace to show up on lines 2 and 3 in an enumerate environment. The solution given here is used in the first enumerate environment, but the brace did not look as appealing as ...
1
vote
2answers
75 views

Adjust the position of overbrace-text relative to a formula

I have the following design-problem (there's probably a solution, unfortunately I just can't remember anymore): \[ a^2 b^2 + c \overbrace{r \cdot \Underbrace{\eta}_{\equiv 1} \cdot x}^{\shortstack{ \...
4
votes
2answers
150 views

Math mode, gathering terms using braces

How do I produce a result like this without resorting to using a table? to the left of the braces is the result of a function, to the right are the terms (left column) with the conditions (right ...
2
votes
1answer
45 views

Adding right brace and equation number

I have an eqnarray that consists of 4 lines. I would like to have a right brace } that spans the last two lines with equation number, first equation with equation number and second equation with ...
3
votes
3answers
134 views

Centering symbol displaced by underbraced text and broken underbrace

I have the following code: $$ \underbrace{ \{\varphi\}\cup\Delta_M\cup\{p_M\} }_{\text{Finito e instasifacible.} } \subseteq \underbrace{\Gamma\cup\Delta_{M+1}}_{\text{Finitamente satisfacible.}} $$ ...
1
vote
2answers
67 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 $\pi_1=...
7
votes
2answers
4k views

natbib: Error when citing paper with similar authors and same year

I get a strange error when I try cite two certain papers in the same document, when I use the natbib package (with numbers option enabled). If I trim the author list or change the year of either paper,...
1
vote
1answer
66 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} \[ \underbracket{u'-P(x)u^2-...
0
votes
0answers
54 views

design multiple array using tikz

I would like to design multiple array like this using tikz:
1
vote
1answer
93 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 ...
4
votes
1answer
97 views

Knurled or broken brackets and braces

Why are my brackets with gaps and sometimes even knurled shape? How can I solve this issue without having to draw the forms with another tool (Broken matrix - gaps in brackets (solved with Tikz)) ...
4
votes
1answer
54 views

Script to remove curly brackets around a single token. How legitimate would that be?

I work on a script that tries to bring LaTeX input into a more canonical form. One of the things I would like to do is remove curly brackets around single tokens, which could be either a single ...
2
votes
1answer
75 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)
5
votes
1answer
198 views

Is it possible to double underbrace?

$$\ln(L)\approx\ln(L_0) + \underbrace{\frac{\mathrm{d}\ln(L)}{\mathrm{d}\mu}\bigg|_n}_{=\dfrac{n}{\mu}-\large{1}}(\mu-n) + \frac{\mathrm{d^2}\ln(L)}{\mathrm{d}\mu^2}\bigg|_n\frac{(\mu-n)^2}{2!}$$ ...
34
votes
4answers
34k views

Large braces for specifying values of variables by condition

How do I typeset something like, X = 0 if a=1, 1 otherwise, using those huge left braces and specifying each condition in a line?
4
votes
1answer
42 views

Underbrace in equation in align environment

In my code below, I wanted to add another underbrace under the "B" underbrace in the beginning of the second equation with z. The second underbrace should cover from the [x,y] to just before the "=" ...
56
votes
7answers
33k views

Adding a large brace next to a body of text

I'm writing a short document listing some chronological events. I want to pick out a period with a big brace. Here's a quick mockup: What's the best way to do this? Can I set the size declaratively ...
0
votes
1answer
480 views

Only left brace or bar in math equations [duplicate]

I wanna insert only a left bar like \left | without the closing right bar. Why? I want to use it as separator of calculation hints. $a * b = c | :b\\ a = \frac{c}{b}$ and so on. It must be a left ...
4
votes
2answers
91 views

How to prevent \underbrace from overlapping with a \chemfig?

A chemical formula I'm annotating overlaps with an underbrace, unless I use brackets. How can I prevent overlap without placing brackets? MWE: \documentclass{article} \usepackage{chemfig} \begin{...
3
votes
1answer
74 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} ...
1
vote
2answers
106 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...
3
votes
1answer
74 views

newenvironment with braces split between start and end

I'm defining a command for placing figures in the margin. A simple version follows: \documentclass{article} \newcommand{\margin}[1]{\marginpar{#1}} \begin{document} \margin{Figure goes here} \end{...
2
votes
2answers
56 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}% http://ctan.org/...