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

learn more… | top users | synonyms

1
vote
2answers
25 views

Brackets in two different align “lines” [duplicate]

i want to use a big bracket (\left( , \right)) in an align-enviroment over two lines, so that \begin{align} 0=\left(a+b+c \\ +d+e\right) \end{align} which is not possible, because Latex want me ...
5
votes
1answer
65 views

Redefine \middle| to insert space before and after itself

I want to use \middle| inside of brackets like this. \documentclass{article} \begin{document} \begin{equation} \left\{\frac{1}{n} \middle| n>0\right\} \end{equation} \end{document} ...
14
votes
2answers
6k views

\bordermatrix with brackets [ ] instead of parentheses ( )

I have the following code: \documentclass{article} \begin{document} $ M = \bordermatrix{~ & x & y \cr A & 1 & 0 \cr B & 0 & 1 \cr} $ \end{document} ...
0
votes
0answers
29 views

right bracket in my TeXworks does not work

I am working in TeXworks and I would like to use [ ] , but when i use \right] , it does not work. What should I do in this regards?when I use just ], there is no space between 2 and ], how should I do ...
0
votes
1answer
50 views

Large enough bracket size

$$\Sh(E/K)=\ker\textbraceleft WC(E/K)\rightarrow\prod_{\nu\in M_K}WC(E/K_{\nu})\textbraceright$$ How do I make my brackets larger than the \prod within it?
3
votes
0answers
70 views

AUCTeX folding and square brackets in math mode

I want to use the folding functionality of AUCTeX, mainly to replace math macros with the corresponding symbols. But at the same time I want to continue to use square or curly brackets additionally to ...
4
votes
1answer
58 views

Brackets around multiple lines

I am trying to put big rounded brackets around some text that contains math formulas: Jede Teilfolge hat entweder unendliche viele Elemente von $\left( g_{2n}\right)$ oder $\left( ...
11
votes
3answers
23k views

Lyx: Quick way to insert Dirac bra-ket

In LyX, what is a quick way to insert mismatched delimiters in math environment? I tried typing \left|\right>, but it is not interpreted automatically.
3
votes
1answer
251 views

How to squeeze a formula inside a text in latex?

I type some formula in latex inside my text, but When I make it pdf I see it is not squeezed. How I can make it squeeze? See the attached, which shows the problem!
9
votes
2answers
151 views

Is there a faster way to type sequences?

When I'm using sequences in an article, I always type things like (x_n)_n and (x_n^k)_n. However, that doesn't display the subscript after the brackets very nicely. I know that I can fix this by using ...
3
votes
1answer
37 views

adding large curly bracket and black title background

I tried to add curly brackate using \left{ , \begin{array}{@{}ll} but no help. What is the way to add large brackate to cover as in image? Is is possible to create black strip as in image behind ...
1
vote
0answers
21 views

Citing page numbers in parentheses with year but author outside

So I want the following: The three parameter inverse gamma distribution is described by Malamud et al. (2004, p. 694) as... The script I'm using is: The three parameter inverse gamma distribution ...
4
votes
1answer
121 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 ...
3
votes
1answer
88 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
139 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
101 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
170 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
48 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
62 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}
5
votes
1answer
83 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 ...
1
vote
1answer
130 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. ...
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
43 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} ...
4
votes
1answer
59 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
118 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
67 views

Mathematical Function Notation [duplicate]

How do I get this sort of notation in LaTeX? I'm using TeXmaker.
5
votes
1answer
110 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 ...
2
votes
1answer
47 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
36 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
78 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
120 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
98 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
102 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
275 views

Disable TeXstudio auto completion of square brackets?

I've disabled auto completion of {} from the advanced settings menu, but the program still automatically adds a ] when I type [ in examples like: \item[--] Is this a bug or can I disable it some ...
4
votes
1answer
82 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 ...
65
votes
4answers
4k views

Spacing around \left and \right

Why does the addition of a \left and \right introduces an extra space around the formula? Specifically, why do $\cos(\theta)$ and $\cos\left(\theta\right)$ render differently? Is there a way to use ...
55
votes
4answers
46k views

“(” or “\left(” parentheses?

What is the difference between ( and \left( in LaTeX? Sometimes, when the content is small, it does not seem to matter which pair I use. What is the best practice when it comes to which parentheses ...
30
votes
4answers
4k views

How can I get an underbrace and an overbrace to partially overlap in an equation?

Sometimes I want to describe portions of an equation using \underbrace and \overbrace in such a way that the portions are not completely distinct, for example: /-------\ x = A + B + C + D + E ...
4
votes
1answer
193 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 ...
2
votes
1answer
97 views

Problem with brackets

I need to get {}. So what is wrong with the command $ \left\lbrace \left\rbrace $ ?
5
votes
2answers
387 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
571 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
30 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
94 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
55 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} ...
20
votes
2answers
2k views

\overbrace with square bracket

I'm trying to put a nice square bracket over a complex text, it should look like an \overline but with ending like \ulcorner and \urcorner. The presence of \overrightarrow and \overleftarrow makes me ...
13
votes
2answers
297 views

How can one put a “[” after \item?

The following does not compile because of the "[" after the \item. I presume it is because LaTeX expects a "]" as per the \item[option] syntax. However, I just want to insert the "[" character into ...
2
votes
1answer
70 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
66 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 \\] ...