{brackets} is about different brackets, their usage and functionality in (La)TeX.

learn more… | top users | synonyms

3
votes
1answer
351 views

Bracket problems when splitting multiline equations

Basically, I have the following latex code: \begin{align*} + \left( \left[ \sum_i y_i x_i(r) - \frac{1}{n}\sum_i y_i \sum_i x_i(r) \right] \left[ \sum_i x_i^2(r) - \frac{1}{n} \left( \sum_i ...
4
votes
4answers
888 views

underbrace matrix inside brackets

I would like to put an underbrace below the matrix like this: $$\left(\underbrace{ \left[\begin{array}{ccc} a&b&c\\ d&e&f\\ g&h&i \end{array}\right]}_{A} ...
4
votes
1answer
392 views

Curly brackets in table cell for language manual

I try to make a table for language manual. Could anybody help me to manage curly brackets in the cells of a table? Like this: I tried to do it like here but I could't manage it.
9
votes
4answers
229 views

How to prevent the opening curly brace from going out over the top equation?

Constraints: I have to use top aligned aligned to let the baseline of the top equation be aligned with the enumerate label. Issues: The curly brace goes beyond the top equation so it does not look ...
0
votes
1answer
98 views

How do I write a right bracket without writing a left one?

I need to use \right] in one of my lines, but if I don't write \left[ in the same formula I get an error (Using texmaker). What I want to do is to type the range of a function, as in $F(x)]_{0}^{5}$. ...
6
votes
1answer
96 views

\eqref for systems

Is there anyway to create a single label for a system of equations instead of just one, such that I can recall it? I've done this but the result doesn't totally make sense. ...
4
votes
0answers
51 views

Why `\\` is wrong here? [duplicate]

The following codes return errors \documentclass{article} \begin{document} cd\\ [asd] \end{document} But this one will work \documentclass{article} \begin{document} cd [asd] \end{document}
7
votes
1answer
271 views

How do I remove parentheses from theorem optional argument?

This is a MWE: \documentclass[12pt]{article} \usepackage{amsfonts, amsthm, amsmath, amssymb} \theoremstyle{definition} \newtheorem{Theorem}{Theorem}[section] \newtheorem*{Pythagorean ...
32
votes
4answers
1k views

Is it ever bad to use \left and \right? [duplicate]

For mathematics, is it ever disadvantageous to use \left( and \right) in equations? I can't see any way that doing this would hinder the typesetting, so why isn't () just converted into \left( ...
2
votes
1answer
83 views

Enclose blocks of selected text with large square brackets?

I have some long equations in my document. I want to add some square brackets so it is clear how the main text flows. Here is my code \documentclass{article} \usepackage{amsmath} ...
1
vote
1answer
398 views

Biblatex square brackets color

How can I change the square brackets color of references in text using biblatex (numeric style)? I know it can be done with natbib, but not using this package anymore. ...
4
votes
1answer
72 views

Bracket problem with \newtheorem

\documentclass[a4paper, 11pt, notitlepage]{report} \usepackage{amsthm} \theoremstyle{plain} \newtheorem{thm}{Theorem}[section] % reset theorem numbering for each chapter \theoremstyle{definition} ...
9
votes
2answers
233 views

how to get square brackets with \SIrange{}{}{}?

I'd like to get something like this: [-40 ; 80] °C Instead I'm getting: Below is a MWE. I've tried to include all necessary packages for siunitx, as written in its documentation; there are more, ...
1
vote
1answer
130 views

Mathematical Function Notation [duplicate]

How do I get this sort of notation in LaTeX? I'm using TeXmaker.
5
votes
1answer
142 views

Big brackets are always opening and square when using fontspec with MnSymbol

I have here a strange problem I don't get. When using the fontspec package in combination with MnSymbol package all big brackets in math mode are square and opening... when I deactivate one of the ...
4
votes
1answer
205 views

Parentheses and square brackets contextually in small caps

In a book publication I use references in parentheses with an open type font. The references are set in small caps (both letters and numbers): % xelatex xetex 0.9999 texlive 2013 windows ...
2
votes
1answer
80 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
0answers
37 views

Need to split right bracket at side of matrix into three smaller brackets [duplicate]

To the right of this matrix I have a big right curly bracket with the text "2m terms" that spans the height of the matrix. I need to replace this right bracket with three smaller ones that together ...
2
votes
1answer
158 views

Place a column vector surrounded by square brackets in a 3-column table?

I have a 3 column table and in the third column I am representing a $20\times 1$ vector. I would like to put square brackets on each side of this vector. ...
5
votes
2answers
255 views

LaTeX parenthesis problem with multline environment [duplicate]

I have a problem with the different size of parenthesis with multiline (see image). Actually i don't care about the different size of the square parenthesis on M and \bar{M} but I really care about ...
5
votes
1answer
186 views

Modify smartcite from biblatex to change behaviour based on prenote

I have a question about the smartcite command from biblatex. I redefined it in the following way: \documentclass{article} \usepackage[style=alphabetic, autocite=footnote]{biblatex} ...
3
votes
1answer
206 views

bad looking binomial

I want to post something on math.stackexchange, but I have doubts about visual aspects of it. Take a look at $ {n \choose \lfloor \frac{n}{2}\rfloor} $ or $ { {n} \choose \frac{n}{k}} $ It ...
4
votes
1answer
236 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 ...
2
votes
1answer
121 views

Problem with brackets

I need to get {}. So what is wrong with the command $ \left\lbrace \left\rbrace $ ?
6
votes
2answers
810 views

Biblatex+Biber footcite style when using autocite

I'm referring to this post. Please consider the following MWE: \documentclass{article} \usepackage[style=alphabetic, autocite=footnote]{biblatex} % Footnote modifications: ...
27
votes
2answers
609 views

Deep brackets around a text

What I'm trying to achieve is to get the following effect for a body of text: . I've looked at many examples that use all sort of brackets, but none of them look like the ones above. So far, I've ...
1
vote
1answer
46 views

break a long equation with an initial bracket [duplicate]

I tried to fix this problem by reading the answers to the questions on this forum related to this topic, but I did not find any solution. Could you help me, please? The thing is that I have to break a ...
4
votes
2answers
121 views

Vertical Alignment of Matrix Cells

In the equation below, I would like to have the horizontal dashed lines that seperate different cells of the matrix to be vertically aligned. Furthermore it would be nice if the square brackets of ...
4
votes
1answer
74 views

Nested call for brackets

I need to create a custom command that behaves differently when it is called. For example consider \documentclass{article} \newcommand{\bkt}[1]{\left( {#1} \right)} \begin{document} ...
2
votes
1answer
114 views

Brackets and label in align environment [duplicate]

I want to write a little system of two equations with a left bracket over the two lines. Moreover I want to label each of these equations in order to refer to them. I wrote this : The system of ...
5
votes
1answer
96 views

How to put the character ] inside the short version of caption on list of table? [duplicate]

I'm using winedt and would like to insert something like \caption [blabla [-1, 1]V] {blabla [-1, 1]V...} in one of the tables, but I do not know how to escape the character ]. I've tried \\] ...
2
votes
0answers
333 views

Bold bracket row vector/matrix

i want to define a matrix-vector product, which is defined something like this: \left[\begin{array}{cccc} A & B & C & D \end{array}\right] \left[\begin{array}{c} u \\ v \\ w \\ y ...
1
vote
1answer
82 views

How do I type a single bracket?

How do you produce a single bracket in LaTeX? I just want to insert a " [ " without closing the bracket. Is there a way to do this?
6
votes
2answers
149 views

Using boxes to define an adjusting (Dirac) bracket

I'd like to define a set of adjusting bracket, called in physics Dirac brackets. This brackets accept three arguments, separated by vertical lines, and all of them are enclosed by angles, e.g. in ...
4
votes
1answer
119 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
0answers
91 views

Polymer structure in PPCHTEX - how to make big brackets?

I'm trying to draw polymer structure using PPCHTEX under ConTeXt packages, my current code is \starttext \startformula \setupchemical[scale=small,width=fit] \startchemical ...
3
votes
1answer
193 views

Flexible brackets around text [duplicate]

Is there any way to make flexible brackets around some text? So I tried to use fancyvrb and got something like this: \documentclass{article} \usepackage{fancyvrb} \usepackage{color} ...
3
votes
0answers
134 views

How to replace parentheses with symbol of other font so that they are expandable? [closed]

I use Bitstream Charter for my document, but I'm not satisfied with the appearance of round parentheses. I'd like to replace them with the parentheses from Palatino, both in text and math mode. In ...
1
vote
1answer
206 views

Latex math encapsulating complex expression in bracket

Latex newbie here. I've clumsily built the following math expression in Latex \begin{align} &W_{i'}(\alpha) = \cdots \notag\\ &\vdots \notag\\ &W_i(\alpha) = ...
4
votes
1answer
118 views

Resize brackets for publication?

I am unsure how to select appropriate size of brackets for different equations. Example \begin{equation} (v, \frac{\partial^{2} u}{\partial t^{2}}) + c^{2}(\nabla v, \nabla u) - c^{2} (v, ...
3
votes
2answers
69 views

How to change the size of the brackets

\begin{document} The algebraic system define over operator $\star$ , which is \emph{closed} and \emph{associative} is called SEMIGROUP. The algebraic system define over operator $\star$ having ...
7
votes
3answers
283 views

How to break long equations while keeping alignment?

I have the following long equations: \documentclass[]{article} \usepackage{amsmath} \begin{document} \begin{displaymath} \begin{aligned} (\chi_1|\chi_1) ...
5
votes
1answer
170 views

How can I define a macro with literal square brackets in the body?

The following macro works correctly for enclosing an expression in parenthesis. \def\group#1{\left ( #1 \right )} I want to write the equivalent macro for enclosing an expression in square ...
4
votes
1answer
251 views

Wrap lines of code with curly bracket and add some text next to it

I am currently studying algorithmic complexity of some programs, I have to deal with lines and lines of code and it would be really nice and helpful if I could wrap some of those lines in a right (or ...
3
votes
2answers
131 views

Anomalous bracket sizes when using the cancel package

I have been happily using the cancel package that allows to cross out parts of mathematical formulas for some time now. However, today I noticed a very strange behaviour in the size of brackets ...
7
votes
2answers
183 views

Use custom brackets

For my thesis I need particular brackets for defining some operators. I found \llceil, \rrceil, \llfloor and \rrfloor in the stmaryrd package, which are just what I was looking for. Unfortunately, ...
3
votes
1answer
136 views

curly braces problem (garamondx package)

Sorry. i couldn't see another question about this. I'm using garamondx package. The problem is large curly bracket. It seems like the picture given. i want stg like { , but that's like ( . what can i ...
0
votes
2answers
403 views

Automatically size the brackets by \left and \right

My tex code \documentclass[twocolumn]{article} \usepackage{amsmath, amsfonts, amssymb, textcomp} \usepackage[T4, OT1]{fontenc} \usepackage{newunicodechar} \usepackage{unicode-math} ...
4
votes
1answer
121 views

Spacing around brackets in slanted or italics

From time to time I use brackets as an equivalent of respectively, like in the following sentence: A semigroup [monoid, group] $S$ is commutative if, for all $x, y \in S$, $xy = yx$. Now, I would ...
4
votes
3answers
220 views

How to put lots of brackets

I want to show all valid bracketed strings made from {} [] (). This is the intended output: {[()]} {[]()} {[]}() {([])} {()[]} {()}[] {}[()] {}[]() {}([]) {}()[] [{()}] [{}()] [{}]() [({})] [(){}] ...