Tagged Questions

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

learn more… | top users | synonyms

3
votes
2answers
846 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
326 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
336 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
121 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
827 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
93 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
266 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
144 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
321 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
279 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 ...
17
votes
3answers
8k 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
4k 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
128 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
921 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
126 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
48 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 ...
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
1k 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
1k 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
367 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
710 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
441 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 ...
19
votes
1answer
403 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
169 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
331 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
263 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
776 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
1k 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
3k 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
122 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
265 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
119 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
394 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{ ...
8
votes
3answers
427 views

How to make pipe to grow with both sides?

How to make pipe (vertical bar) symbol to grow like in Dirac product notation but without outer angle brackets?
3
votes
3answers
326 views

Long brackets in flalign*

I'm trying to type a nice looking long sum of functions: I managed to do it with combination of flalign* and \mspace: \begin{flalign*} ...
4
votes
1answer
267 views

Colored Curly Brackets spanning across multiple pages

This is just a thought that came for the notes I am working on, I have a need to create curly brackets which span across multiple pages. I don't know if this is possible to do or not. my curly ...
3
votes
1answer
2k views

sets and enclosing braces

How can I denote a set of numbers with curly braces around them (curly braces are usually the standard for sets in mathematical textbooks). I tried the following: $d={3, 2, 2, 1, 1, 1}$ Tex ...
6
votes
1answer
731 views

Brackets and parenthesis from different fonts in unicode-math

I am using the unicode-math package to use letters from the body font in math typesetting. The font I am using (Arno Pro) works quite well for this, because it includes a full Greek alphabet on top of ...
1
vote
0answers
142 views

Why is the left bracket [ darker than the right bracket ] in equations? [closed]

I was writing up some formulas with concentrations on Chemistry.SE, and the left brace is noticeably darker than the right brace. I replaced them with \lvert and \rvert, but it is harder to write. is ...
2
votes
1answer
246 views

Combining split and rcases

I have an equation, that is split along multiple lines. All equations should be aligned to the equal sign. All but the first equation form a group. The following gives almost the expected result ...
5
votes
1answer
3k views

Removing brackets from the reference [duplicate]

Possible Duplicate: How to use 1. (number followed by dot) format instead of [1] format in bibliography I'm using the amsart class, and the command \begin{thebibliography} for references. ...
7
votes
1answer
17k views

Brackets in first column in table give “Missing number, treated as zero” error [duplicate]

Possible Duplicate: Error with table I'm writing a table with 4 columns and 1 row. The first column starts with a bracket. It compiles without issues: \documentclass{article} ...
3
votes
1answer
288 views

Nomenclature and line breaks

I'm trying to format the nomenclature such that there is, ideally, a curly bracket around a series of items with 1 definition. If that's not possible then at least having a line break in between ...
1
vote
1answer
290 views

acm template \left and \right gives error

I am using acm template and want < and > bracket. I checked out some posts regarding this question and they have suggested to use \left and \right. But the problem is when I use them, they give ...
2
votes
1answer
1k views

Enlarge the integral sign proportional to its content

In LaTeX you have a command like \left(\right) to enlarge the brackets proportional to the content between the brackets. for instance \left(a\right) will produce smaller brackets than ...
2
votes
0answers
62 views

Splitting a long equation while maintaining size of brackets [duplicate]

Possible Duplicate: How to make \left, \right pairs of delimiter work over multiple lines? How can I have this equation: \begin{eqnarray}\nonumber \ln T &=& -\sum\limits_{i=1}^{N} ...
5
votes
3answers
367 views

Parenthesis size and white space in equation with long subscripts

I'm writing an equation which contains a relatively long subscritps under a summation, which is just next to a bracket. The code is the following $$\mu_j=\E(X_j)=\E\left( \sum_{i\in ...
7
votes
1answer
194 views

How can I force pairs of brackets [][] to be closer to each other in \texttt?

\documentclass{article} \begin{document} Normal margin here. Normal margin here. Normal margin here. Normal margin here. Normal margin here. Normal margin here. Normal margin here. Abcdefgh ...
2
votes
1answer
636 views

Bringing the (square) brackets to the same height

Consider the .tex extract from below: \begin{equation*} A=U\Lambda U^T=\left[\begin{array}{ccc} & & \\ u_1 & \cdots & u_n \\ & & ...