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

learn more… | top users | synonyms

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
150 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
130 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
49 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
71 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 ...
3
votes
1answer
2k 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
2k 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
438 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
1k 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
603 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
473 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
202 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
413 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
364 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
975 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 ...
9
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} ...
5
votes
1answer
4k 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
128 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 ...
2
votes
3answers
281 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
130 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
496 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
562 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
383 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
303 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
4k 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
899 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
156 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
346 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. ...
10
votes
1answer
24k 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
333 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
334 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
0answers
64 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
423 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
219 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
832 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 \\ & & ...
16
votes
2answers
9k 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} ...
5
votes
1answer
1k views

Squeeze superscripts and subscripts around bracketed expressions in display math

Consider a bracketed term in display math, like this. Is there any way to squeeze the space between the super/sub-scripts and the bracketed term? e.g. where I've modified the image to create the ...
3
votes
2answers
2k views

Breaking long equation after a certain left bracket

I am typing a long equation which needs to be broken just after the left bracket and three dots are placed at the end of the left bracket same line. Here is an example, in which, I need the third left ...
8
votes
2answers
345 views

brackets around multiline columns of a table

I am trying to reproduce the table of kinds of dreams in an early-modern philosophical encyclopedia. Preserving the lineation within each column isn't necessary, but I would like to have the brackets ...
5
votes
2answers
4k views

Angle brackets in non-math-mode text

Is there a way to directly input angle brackets into text without resorting to math-mode symbols? I'd like to correctly indicate orthography in a linguistics paper, and have been resorting to single ...
8
votes
2answers
3k views

\lstinline!Foo! vs \lstinline{Foo}

I wonder what is the difference or correct usage of \lstinline!...! and \lstinline{...}? I like better {} because I feel there it's more consistent with other commands but for example in below ...
14
votes
3answers
36k 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.
19
votes
3answers
990 views

Curly brace to insert something into an equation? Like an inverted underbrace

I have a generic equation, into which I want to "insert" something so that the reader can see what I inserted into the equation and at which point. E.g. \documentclass{plain} \begin{document} \[ f ...
6
votes
3answers
866 views

Less pointy angle brackets

I was looking for a way to beautifully display UML stereotype titles including angle brackets like you can see here: What I came up with is $\mathtt{\ll metaclass\gg}$, however, as you can see here ...
22
votes
1answer
24k views

Square brackets in math mode without the bracket symbols

Is there a way to typeset a square bracket without using the symbols [ and ]? What I am looking for is like \vert instead of |. Motivation is a need for a workaround in using LaTeX formulas inside ...
9
votes
6answers
2k views

How do I get function argument parenthesis to position correctly?

I'm having trouble with the appearance of parentheses representing function arguments. They appear to far away from the function name. For example the code ...
6
votes
1answer
147 views

Compilation error when a command argument contains a math formula with a bracket ]

When I try to compile the following document: \documentclass{article} \newenvironment{modelDefinitions}{% \begin{description} }{% \end{description} } \newcommand{\modelDef}[2]{\item[#1] \hfill ...
14
votes
3answers
17k views

Enumerated list with square brackets

I want to make an enumerated list in the following format: [1] foo foo [2] foo foo ... How I can do that using enumerated lists? I have tried the following: \begin{enumerate}[\left[ 1 \right]] ...