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

learn more… | top users | synonyms

3
votes
2answers
138 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
207 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
143 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
463 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
131 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
232 views

How to put lots of brackets

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

Strange brackets [duplicate]

I recently saw strange modifications of { and }. The middle twirl was directed as well as two others. Does anybody know how can I get this symbols? Is there any way to discover the LaTeX source code ...
1
vote
1answer
81 views

Change height of a math command

I want to change the effective height of the \ket{...} command (from the braket package). I don't want to change the visual appearance of the ket, I just want change its effective height. Ideally ...
2
votes
1answer
122 views

How can I insert a bracket on top or below a sum? [duplicate]

I would like to insert brackets around a sum to signal the number of terms inside like we sometimes do in mathematics. I drew a picture: The bracket can be either on top or bottom. Is there any ...
20
votes
2answers
6k 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 ...
0
votes
2answers
155 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 ...
2
votes
1answer
58 views

typing a straightline next to a dfrac? [duplicate]

I would like to type how do I do it? Thanks!
1
vote
2answers
223 views

Brackets in citing-style? [duplicate]

I have the following LaTeX code: \documentclass[a4paper, 12pt, bibliography=totoc, index=totoc, abstracton, ...
2
votes
1answer
122 views

lazy latex: how use '^' and '_' without mapping argument in parenthesis

For e.g. take $G^\times$ here we do not need to write the curly parenthesis, as in $G^{\times}$ What is it that one has to add to a newly declared command, e.g. \newcommand{\foo}{\ensuremath ...
3
votes
1answer
108 views

LaTeX Scale Adjacent Terms' Grouping Symbols Together

I have two adjacent terms in a LaTeX equation, and I'd like the brackets around both to scale to the height of both terms. For example \left[ a \right] \left[ \frac{b}{c} \right] generates: I'd ...
0
votes
0answers
51 views

Tikz Braces On Top of Image [duplicate]

I am trying to produce the following result: I've never placed tikz objects on images. Any help would be appreciated.
2
votes
0answers
69 views

Replacing brackets with parentheses for \textcite, Biblatex numeric-comp [duplicate]

I'm trying to modify the numeric-comp style so in-text citations appear with parentheses rather than brackets for both \cite and \textcite i.e. [1] becomes (1) and Smith et al. [1] becomes Smith et ...
1
vote
1answer
7k views

What is “! paragraph ended before \align was complete”?

The following is the piece of code that was working right before I made a few small minor changes. \begin{align} \langle \prod_{i=1}^{n} \delta_i ^{n_i} y^{m_i}_i \rangle = \sum _ {a_{i=1...n} = ...
3
votes
1answer
225 views

Error typesetting large bracket with multiple lines

I was following a Wikibooks section to create multiple lines within a single large bracket. Something like this. The problem is that when I type in the given code, which is \[ u(x) = ...
0
votes
1answer
118 views

When to use `\left(` and when plain `(`? [duplicate]

This is basically a follow-up to the comments on this answer which I couldn't find to be settled anywhere. I learned that you can write ordinary bracket simply using f(x) but that you can also use ...
15
votes
3answers
510 views

Angle brackets with an underset arrow

I am trying to make a pair of angle brackets of variable height enclosing a main box along with a box beneath each bracket and an arrow of variable length between these lower boxes. Since I'm sure ...
6
votes
1answer
874 views

Changing biblatex footcite style to use square brackets around the citation

I am supposed to use a certain citation style which has the citations in footnotes and square brackets around the references, just like "regular" citations in text (see screenshot). I can't however, ...
1
vote
3answers
119 views

How can I obtain brackets with proper size on multiple lines using the {multline} environment?

My code is of the form \begin{multline} \left[ \frac{foo}{bar} \\ foo \right] \end{multline} This code gives an error for missing \right. etc. To remedy this, I used this code \begin{multline} ...
2
votes
1answer
857 views

How can I add square brackets for the authoryear biblatex bibliography style?

Due to some university requirements, I redefined the biblatex citesytle authoryear to use square brackets instead of round parentheses. Now I am trying to achieve the same for the bibstyle. My ...
4
votes
1answer
2k views

How to get the square brackets that are involved in integration working

The clearest way to clearly show what I want is using an example: I am looking for the Latex syntax that gives me the stuff on the right-hand side of the equation.
5
votes
1answer
580 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
2answers
181 views

Dual big brackets around Text

Back again! Currently attempting a dual bracket thing: where word {para}{para} word, are all on one line. I'm trying to play around with the code. But I cannot seem to get it to work. Here's my ...
3
votes
2answers
83 views

New commands for the equation environment

I'm trying to define a bra-ket command so that I can easily build things like: \langle e^+ | \gamma^\mu | e^-\rangle At the moment I have this: \newcommand{\brak}[3]{ \langle #1 \| \gamma^{#2} \| ...
4
votes
1answer
133 views

Where are \left and \right defined?

In order to define a new environment using \left and \right, I need to know how those macros are defined. Unfortunately, both \show\left and \show\right return an error. My last resort was to scan ...
5
votes
2answers
95 views

How to prevent overstretching of brackets?

With a tall equation like the following, using simple ( and ) gives brackets that are too small, and using \left( and \right) gives ones that are ridiculously big: ...
1
vote
1answer
2k views

Get round brackets with apalike

When forming my bibliography, I use \bibliographystyle{apalike} However that leads to in text references to use square brackets. I was wondering if it is possible for me to change the brackets to ...
8
votes
1answer
7k views

Tall curly brace

I would like to put a tall (long) left curly bracket on the left side of the following: \documentclass[12pt]{article} \begin{document} \noindent c: $\{$1, ..., n$\}$ $\rightarrow$ $\{$1, ..., ...
6
votes
2answers
336 views

Missing final brackets (in one equation { and in other - ]) in the equations

This is my first question on tex.stackexchange, so the formatting will be terrible. I've got a problem with three lengthy equations - the closing brackets, in all three formulas, are not displayed. ...
8
votes
2answers
341 views

Less aggressive automatic paren stretching with \left

\left and \right are convenient but sometimes they're a bit overeager in stretching the parentheses. In that case we can manually use \bigl, \Bigl, etc. I have defined a new command like this ...
3
votes
3answers
1k 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 ...
4
votes
1answer
450 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 ...
1
vote
1answer
436 views

Small descriptions next to matrix [duplicate]

One of my textbooks notates Markov transition matrices this way with 1 and 2 denoting states: How can I reproduce this matrix in LaTeX?
4
votes
1answer
122 views

Matching Brackets in TeX output

Is there any ways or features to make pdf-files using one of TeX systems so that when I move the cursor to one of brackets (either open or closed brackets) in pdf, then the bracket and the other ...
11
votes
3answers
1k views

Big brackets around Text

I want to create a big single curly bracket over a paragraph of text. I will be using this for many, many paragraphs. I want to make it left and/or right idented. This is for a conversational styled ...
0
votes
0answers
95 views

Redefine \cite for brackets [duplicate]

EDIT: I finally found out how to do it: \newrobustcmd*{\parentexttrack}[1]{% \begingroup \blx@blxinit \blx@setsfcodes \blx@bibopenparen#1\blx@bibcloseparen \endgroup} \AtEveryCite{% ...
5
votes
2answers
356 views

Double subscript error with \newcommand?

Disclaimer: I know of Defining a newcommand with sub- or superscript and avoiding "double subscript" error but this only gives a work-around, but no explanation to my question. Here's a ...
2
votes
1answer
2k views

Two double-line equations need double left brackets

I have four lines of equations. The first two and the second two need to be grouped by a left bracket, and all four need to be grouped by one overall left bracket. I am using an array within an ...
2
votes
1answer
213 views

Using square bracket inside square bracket [duplicate]

I have a two-column layout, and I want to put a specific section with images to span the whole page width. So I use: \twocolumn[ ... ] So far, so good. However, when I want to include anything in ...
5
votes
1answer
408 views

Highlighted Matrix with brackets

I would like to produce the matrix as shown in this figure: At the moment, I have this code: \documentclass{article} \usepackage{tikz} \usetikzlibrary{matrix} \begin{document} ...
3
votes
3answers
504 views

How to get the braces in the multirow spanning all three rows?

In the following table I would like to have the braces in both multirows span the three rows that the multirow is covering. I tried using \left.\right\} and editing the vertical space, but nothing has ...
20
votes
3answers
13k views

big angle brackets

I know that \langle and \rangle creates left and right angle brackets. But they don't seem to adopt to the size of the expression inside. For example, if I have a big matrix, I would like to angle ...
10
votes
2answers
6k 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. ...
8
votes
1answer
149 views

Underbrace multiple math lines

I have to underbrace multiple lines in an align-environment with one brace. Meaning something like \begin{align*} A ={}& B + \underbracemultiline{C + D + E \\ & + F + G \\ & ...
4
votes
2answers
1k views

How can I use LaTex to mark my delta y and my delta x?

I know it is possible to use curly brackets (braces) in both vertical and horizontal orientation in Latex. Can I somehow use this to mark my change in y and my change in x on a Coordinate plane? ...
4
votes
1answer
129 views

Create “bracket free” macros (like in mimeTeX)

In mimeTeX, an abundance of macros like \cd = \cdot, \fr = \frac and \sq = \sqrt are allowed. This kind of macros are easily created in own LaTeX documentens, using \newcommand. Other mimeTeX macros ...