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

learn more… | top users | synonyms

6
votes
2answers
1k views

\underbrace symbol is wrong

Hey guys, I tried to google the solution, but I didn't find any solution to this. I am using beamer,xelatex to prepare a slide. When I use \underbrace, the brace doesn't show, instead, a crappy symbol ...
6
votes
3answers
439 views

Using a big brace over multiple lines - multiple lines left of it

I am super helpless, I wanna do the following: Mathmode, 2 lines on the left, a brace over both (using array) and than I wanna have 3 lines on the right. A small example: \begin{align*} \left. ...
6
votes
2answers
1k views

Case equation without curly brace

I want to have a case equation without the left curly brace. I am using \documentclass[11pt,a4paper]{article} \usepackage{amsmath} \usepackage{amssymb} \usepackage{amsfonts} \usepackage{amsthm} ...
6
votes
4answers
815 views

Dynamically sized brackets/parentheses for text

I'd like to have a large bracket that shows a relationship from one set of text to another, like this: Nam dui ligula, fringilla a, ) euismod sodales, sollicitudin ) vel, wisi. Morbi auctor ...
6
votes
1answer
158 views

Underbrace problem

I have some problem to make the Underbrace partly for the equation like the picture shows. The unique part is the "b" is used twice. Thanks !
6
votes
2answers
83 views

How to make the this brace bigger? “}”

here is my code: \begin{equation*} \left . \substack{ 2 \beta_{r,j}^{(l)} = \beta_{r,j}^{l-1} + \beta_{R+r,j}^{(l-1)} \epsilon_{m}^{j} \\ 2 \beta_{r,m+j}^{(l)} = ...
6
votes
2answers
357 views

braces over matrix

I want to make an overbrace and a side brace on my matrix in order to indicate its size. How can I achieve that. \begin{pmatrix} 1 & 1 & 0 & .& . & . & 0 & 1 \\ 0 ...
6
votes
1answer
295 views

Adjusting \underbrace “cursor” at horizontal axis

Given is following formula: \[ \begin{split} \sum\limits_{k=-n}^k c_ke^{ikx}=\frac{a_0}{2}+&\underbrace{\sum\limits_{k=1}^n\left(c_ke^{ikx}+c_{-k}e^{-ikx}\right)}\\ ...
6
votes
2answers
1k views

braces on the sides of an easybmat matrix

I created the following matrix with easybmat, and I would like to add at the bottom (respectively right) something like an underbrace (resp. "rightbrace") under each of the two blocks, together with a ...
6
votes
1answer
63 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, ...
6
votes
1answer
890 views

Side braces - can somebody make sure I'm reading this right?

After some trial and error, and a little help from this stack overflow question I was able to put together this code: \documentclass{article} \usepackage{tikz} ...
6
votes
1answer
509 views

how to remove additional space around \underbrace and justify the text under it

How do I remove the additional space around \underbrace justify the text under it, if the latter is longer than the text above it? To illustrate the issue: \documentclass{article} ...
5
votes
2answers
109 views

Whole word as a macro argument when macro called without braces

I have a macro: \newcommand{\sEmph}[1]{\textbf{\textcolor{NavyBlue}{#1}}} Then I can do: Some text is in \sEmph{blue}, and some in black. with this result: But if I omit the braces only the ...
5
votes
3answers
255 views

slim braces in a table

We need to make clear that certain data is the same in several rows. An underbrace taken from math-mode does the job quite well, but is unfortunately way too prominent in the table, especially in ...
5
votes
1answer
391 views

How to tell LaTeX to automatically remove envelopping curly braces in a string to use with biblatex?

I am using biblatex together with a bibliography manager Referencer. I want to use the url field of the bib file to link to the page. However, Referencer has urls of the form url = {{ http://... }} ...
5
votes
2answers
88 views

How to change the style of the braces around equation numbers in the align-environment

I would like to change the braces in the align-environment from the normal braces ( ) to rectangular braces [ ],
5
votes
1answer
157 views

Unnecessary braces versus speed compilation process

Could the use of many unnecessary braces speed down the compilation process? I'm asking because I use many many alert commands, defined by \def\alert#1{\textcolor{red}{#1}} So when I want to ...
5
votes
3answers
3k views

Large braces to specify condition in a set

How do I define this in LaTeX - I am writing a description of a set, and I need huge braces because I have lot of clauses to fit in, and it will take more than 1 line. For example: A = \{ (x,y,z) : ...
5
votes
1answer
161 views

Can a \newcommand Definition Contain Braces as Substitution Text?

The following example is completely counter-intuitive, but I need this in a bigger definition I'm not including here. \newcommand{\openbrace}{{} I need this to start a nested scope. Is this ...
5
votes
2answers
723 views

Remove additional space around \underbrace{…}

How do I remove the additional space that is added when using \underbrace{...}, to get the same width in both lines: \documentclass{scrreprt} \usepackage[ngerman]{babel} \usepackage[utf8]{inputenc} ...
5
votes
1answer
310 views

Splitting a command syntax across a \newenvironment definition

This question is a direct follow-up to the question Can a \newcommand Definition Contain Braces as Substitution Text? I asked yesterday. The following example is once again a counter-intuitive one, ...
5
votes
2answers
331 views

Text over the overbrace beyond “scope”

does anyone know how can I avoid the free space between the sum sign and the indicator function. I guess it's caused by the width of the upper block above the overbrace. So is there a way to allow ...
5
votes
1answer
283 views

Nested macro envocation - syntax error?

I get a Argument of \\drs has an extra }. when I try to process the following: \documentclass{article} \usepackage{tikz} \newcommand{\drs}[2][lambda/.initial={}]{% \{% {\pgfkeys{/drs/.cd, #1, ...
5
votes
1answer
30 views

How to add curly brace below xytree nodes

I would like to add a curly brace and label underneath the E and F nodes of an xytree like this: So far, I have the code for the tree, but haven't been able to figure out how to insert the curly ...
5
votes
1answer
79 views

Changing the size of the braces from the cases environment

I have created the following picture using the cases environment. For this picture I have two questions. 1) I would like to limit the size of the braces created by the cases environment to ...
5
votes
1answer
412 views

How to put a brace and a title?

I would like to put a brace between the Q_s and Q_d of the following diagram \begin{tikzpicture}[domain=0:5,scale=1,thick] \usetikzlibrary{calc} %allows coordinate calculations. %Define linear ...
5
votes
1answer
293 views

relative positioning in multipart nodes

Is there a way do draw a line from the beginning of the tip of the brace, using relative positioning? \documentclass{article} \usepackage{tikz} ...
5
votes
1answer
62 views

Index unmatched braces in LaTeX

I am trying to make the following work \documentclass{book} \usepackage{makeidx} \makeindex \begin{document} \chapter{One} \section{One} Let us try to index the characters '()'. \index{()@()} \\ Let ...
5
votes
1answer
141 views

How to draw vertical brace right side of a vertical line with node?

I want to draw the following figure (with a node which is not shown). I obtained this with the following code: \begin{figure} \begin{center} $\left.\begin{array}{rr} \begin{tikzpicture} \draw ...
5
votes
1answer
1k views

multi-line text for brace decoration in tikz

I'm trying to make a time-line with events by means of tikZ. Everything is going fine, I found (here) some nice examples and explanations but... I do a brace decoration for my time-line which has long ...
5
votes
1answer
55 views

pass to \geometry{} options using a macro - keyval error

MWE: \documentclass{article} \usepackage{geometry} \newcommand{\GeomOpts}{a4paper,vmargin={3cm,3cm}} \geometry{\GeomOpts} \begin{document} \end{document} Because of the braces in \GeomOpts its ...
4
votes
1answer
2k 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
1answer
383 views

Using simple, MathJax-compatible TeX to put enclose a matrix in braces

I was trying to explain the identity matrix over at Math StackExchange and I wound up using the following. $${\bf I_n} = \underbrace{ \left.\left( ...
4
votes
1answer
194 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
960 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
1answer
237 views

Right curly bracket around text

The following code will produce some text enclosed by a right curly bracket and to the right of it some other text saying that is the same meaning. Now, I would like to have the text aligned to the ...
4
votes
1answer
57 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
72 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
165 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
391 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
42 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
31 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
169 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
75 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
305 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
48 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
204 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
203 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} ...