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

learn more… | top users | synonyms

0
votes
1answer
87 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
384 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 ...
4
votes
1answer
495 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
98 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
423 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 ...
2
votes
1answer
493 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.
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
2answers
121 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
75 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
114 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
74 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
718 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 ...
7
votes
1answer
638 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
204 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. ...
7
votes
2answers
228 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
2answers
437 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
222 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
252 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
113 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 ...
10
votes
3answers
477 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
91 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
172 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
953 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
106 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
227 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
133 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 ...
15
votes
3answers
4k 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 ...
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. ...
8
votes
1answer
108 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
635 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
121 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 ...
0
votes
0answers
47 views

Brackets with correct delimiters and automation [duplicate]

According to What is the correct way to do delimiters? the correct way of using brackets in math mode could be achieved by a macro like this: \newcommand{\myLeft}{\mathopen{}\left} I wonder if ...
1
vote
1answer
343 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 \{ ...
5
votes
1answer
70 views

How to build a conditional based on a resize paramater

I would like to define my own macro that accepts an optional parameter such as \big, \Big, etc that apply that if it is specified, otherwise apply the auto resizing \left, \right pair. So, how do I ...
2
votes
1answer
778 views

Generate a table with braces and tables

I'm trying to get a LaTeX table to look like the below. Any tips on how to implement the brackets? I currently just know how to do basic tables, which would be a 11x10 table in this case. Any way ...
10
votes
1answer
840 views

Easily change behavior of \DeclarePairedDelimiter

After seeing the answer to this question I realized that I preferred the way of working of Juan A. Navarro's answer: I.e., \DeclarePairedDelimiter{\parens}{\lparen}{\rparen} from mathtools is a ...
1
vote
0answers
288 views

Highlight missing closing brackets in TeXworks [closed]

Is there the possibility to perform a check in TeXworks to see if there are any missing closing brackets? With this I also mean brackets not related to specific latex commands (e.g. ( and )).
0
votes
1answer
303 views

How can I adjust the size of the square brackets in the equation?

I am trying to write an equation that includes fractions and the power of fractions. Here is my equation. \begin{equation}\label{eq:vlj} \si{\volt\of{LJ}}= ...
7
votes
3answers
316 views

Space before right bracket

I have created this formula using mathptmx as font \begin{equation} BER = Q\left(\sqrt{\dfrac{2E_{b}^{\text{RX}}}{N_{0}}}\right) \end{equation} getting the above result: I'm not totally ...
17
votes
1answer
363 views

Indicating matching brackets/parentheses in TeX output

I often have cause to typeset things like this in TeX: When reading expressions like the one above, it's very difficult to tell which brackets match each other. I'd like to be able to define ...
3
votes
1answer
145 views

Nested bracket in breqn doesn't work

I tried to use the latest version of breqn package to break this equation; The result shows that it can't break the equation at Level/depth greater than 2 even by using ...
3
votes
1answer
236 views

Parentheses in thebibliography environment

I want to change the default square brackets in the entries of the thebibliography environment to parentheses. Sample: % sample.tex \documentclass{article} \begin{document} \pagestyle{empty} ...
2
votes
1answer
213 views

How can I use brackets for serial numbers like 1, 2, 3

I want to write the reference numbers like the following in MS WORD. How can I write in such a manner? [1] Brattin WJ, Glenda EA. 1 Free Radical Biol Med 1985;1:27. [2] Osawa T, Kavakishi S, ...
8
votes
1answer
574 views

Braces in equations

This resembles what I want: Unfortunately, both braces are too big. I would like the brace on the top to enclose the variables, that is, span from (x_0 to \x_i). The brace on the right should ...
8
votes
2answers
911 views

LaTeX: optional arguments with square brackets

LaTeX is trying to add a missing $ that I don't want to the following code: EDIT: replaced stricken lines from original question with minimal working example: \documentclass[letter,12pt]{article} ...
4
votes
1answer
895 views

How to make brackets larger?

How can the first { and last } in the following be made larger? $A =\left \{a \notin\{1, 2\}, \ b\notin \{4,5\}\right\}$.
6
votes
0answers
114 views

Spacing around \left and \right: When is it needed? [closed]

There have been a few questions (such as this and more recently this) regarding the "extra" spacing around \left and \right. And there are various options for fixing it, including the mleftright ...
1
vote
3answers
234 views

\left \right for the bracket of a function

I'm writing something like a function Y(-), where the term in the bracket is large, so I wrote Y\left(-\right), however, the "Y" is still the normal size, which makes it looks small, compare with the ...
1
vote
1answer
108 views

Forbid word breaking (ConTeXt)

In the following example \definefont[Shehkl][name:Scheherazade*arabic at 15pt] % or file:amiri-regular.ttf*... file:alq.ttf \definestartstop[Arab][commands=\setups{Arabic}] \def\Arab{\doArab} ...
8
votes
1answer
315 views

bracket covering only a part of a matrix

How can I write a matrix, with brackets that cover only rows/columns in a certain range, but still has the right indentation? What I would like: My current solution: \[ \overset{ ...