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

learn more… | top users | synonyms

8
votes
2answers
62 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
54 views

Mathematical Function Notation [duplicate]

How do I get this sort of notation in LaTeX? I'm using TeXmaker.
5
votes
1answer
46 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 ...
1
vote
0answers
59 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
32 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
47 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
88 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
50 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
74 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
223 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
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 ...
59
votes
4answers
3k 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 ...
53
votes
4answers
40k 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
148 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
86 views

Problem with brackets

I need to get {}. So what is wrong with the command $ \left\lbrace \left\rbrace $ ?
5
votes
2answers
187 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
554 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
26 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
67 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
49 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
1k 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 ...
12
votes
2answers
281 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
56 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
47 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 \\] ...
1
vote
0answers
110 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
345 views

How to increase the size of a curly bracket size without \left and \right

I would like to ask how to increase the dimension of the curly bracket in the second item of the following list: \begin{enumerate} \item Draw $\tilde{\theta}$ from $j$ \item Calculate $\nu = \min \{ ...
12
votes
2answers
5k 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} ...
1
vote
1answer
56 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
106 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
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?
9
votes
2answers
2k views

Why different bra ket notations?

Why are bra and ket defined in the official package braket.sty in two different ways (\bra, \Bra and \ket, \Ket)? I do not understand why there exists the command \bra with non-scalable delimiters. ...
4
votes
0answers
58 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
130 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} ...
0
votes
2answers
127 views

How can I get items in my bibliography listed with square brackets?

I would like to use square brackets for citations in the text and in the bibliography. I figured out how to adapt the citations in the text, but I just don't find any way how to change the appearance ...
37
votes
7answers
3k views

Automatic left and right commands

Is it possible to automatically "add" \left and \right commands in front of all brackets? The source code should be left intact, but LaTeX should interpret every pair of brackets as if they were ...
3
votes
2answers
441 views

Can I make LyX automatically use 'smart' parentheses [\left( \right)] in math mode?

When I type in math mode I always prefer to use the parentheses using \left and \right. Currently, I go into math mode and then press the button on the ribbon that appears in this mode and creates ...
3
votes
0answers
94 views

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

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
114 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
84 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
50 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
158 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
109 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 ...
3
votes
2answers
100 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
108 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
93 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
212 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
56 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 ...
3
votes
3answers
157 views

How to put lots of brackets

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