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

learn more… | top users | synonyms

1
vote
1answer
297 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
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
375 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
195 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
659 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 \\ & & ...
14
votes
2answers
7k 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
851 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
309 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 ...
4
votes
2answers
3k 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
29k 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
872 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 ...
5
votes
3answers
744 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 ...
19
votes
1answer
20k 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
5answers
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
144 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 ...
12
votes
3answers
14k 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]] ...
6
votes
3answers
421 views

A way to mark things in math mode

I want to mark the weight function in an equation, using something similar to \underbrace. Using this piece of code: (x^2y')' + \lambda \underbrace{x^2}_{\text{Weight function}}y = 0 I get . I ...
2
votes
1answer
1k views

biblatex authoryear-icomp: How to change parenthesis to [asdf 1985]

Sadly I didn't find any solutions in the biblatex doku nor in google. Can anybody please point me out how to change the parenthesis of the authoryear-icomp (or authoryear style) from (author year) ...
3
votes
2answers
3k views

Equation: Using \left brackets inserts unwanted space [duplicate]

Possible Duplicate: Spacing around \left and \right I'm having some problems with writing down an equation in LaTeX. It's only a minor issue regarding appearance, but I'm kind of a ...
3
votes
1answer
625 views

How do I specify a round parenthesis above some text?

How can I draw a horizontal round parenthesis above some text? How do I specify a round parenthesis below some text? explains how to do it below text.
7
votes
2answers
6k views

Need to change citation format from [1] to (a)

I need to change the format of citations for my bibliography items to look like: "See Reference (a)" instead of "See Reference (1)" I have used code like: \renewcommand\@cite[1]{Reference~(#1)} ...
10
votes
1answer
535 views

Bracketed Sentences

I am trying to achieve an effect similar to this book in diagramming sentences. Is there a package for achieving that? I can place all the brackets and subscripts manually, mixing math and text, but ...
2
votes
1answer
547 views

Brackets with a center bracket

I have some data displayed in pairs. Currently, it appears like this, on one line: (numbers; numbers; numbers) However, I am looking for a better center divider. Here are some e.g.: (numbers | ...
4
votes
4answers
7k views

problem of introducing long brackets in different lines

I have a problem writing an equation in eqnarray environment, where I split a single line into two lines. The first line starting with \left[ and the second line ending with \right], but I could not ...
4
votes
1answer
508 views

How to make expanding middle delimitors like in the braket package

The braket package has convenient commands like \Braket and \Set, where | are automatically expanded vertically. This allows to easily typeset expressions like \documentclass{minimal} ...
12
votes
4answers
553 views

How do I specify a round parenthesis below some text?

I need something similar to \underbrace but instead of curly brackets, I would like to have normal round horizontal paranthesis below my text. Similar to \textbottomtiebar but spanning the whole text. ...
11
votes
1answer
863 views

Import curly brackets from MathDesign (Utopia)

I am using Fourier maths fonts with Utopia text (\usepackage{fourier}) for a book project, but I'm not satisfied with the curly brackets \{ and \}. They are too slim, and barely distinguishable from ...
6
votes
1answer
245 views

Using “found” code to typeset augmented matrices, want [] instead of ()

Here's a minimal example of what I'm doing presently: \documentclass[a4paper,12pt]{article} \usepackage{amsmath} \usepackage{arydshln} \makeatletter \renewcommand*\env@matrix[1][*\c@MaxMatrixCols ...
5
votes
1answer
189 views

Square brackets in chemcompounds custom names

I would like to denote a molecular ion using the chemcompounds package. This would involve wrapping part of a chemcompounds descriptor in square brackets, like so: $[1]^{2+}$ However, because the ...
4
votes
1answer
648 views

What are the <++> in Vim latex-suite after typing in a bracket pair? [duplicate]

Possible Duplicate: What does <++> signify? In typing bracket pairs while coding, I usually type the opening and closing bracket before typing in the contents like so: ...
11
votes
1answer
352 views

bracket with doubled delimiters

I want to typeset Hilbert-Schmidt-Products as the Liouville-Equivalent of the Hilbert Space Braket, with doubled delimiters, like this: \Lbraket{\rho|\rho} results in <<rho|rho>>. I was ...
15
votes
3answers
22k views

How to write a function (piecewise) with bracket outside?

How to write this Piecewise function using LaTeX? I tried $ \begin{array}{cc} \{ & \begin{array}{cc} 0 & x\leq 0 \\ \frac{100-x}{100} & 0\leq x\leq 100 \\ 0 ...
6
votes
4answers
949 views

Dynamically sized brackets/parentheses for text

I'd like to have a large bracket that shows a relationship from one set of text to another, like this: Nam dui ligula, fringilla a, ) euismod sodales, sollicitudin ) vel, wisi. Morbi auctor ...
8
votes
3answers
838 views

Stretchable square brackets outside math environment

I would like use stretchable square brackets outside of a math environment. Ideally, I would like to use \left[ blah \right. right in my text. Is it possible ? How ? Note : I would like to be able ...
0
votes
0answers
139 views

How to form braces or brackets used in math formulas around nodes in a TikZ picture? [duplicate]

Possible Duplicate: Adding a large brace next to a body of text I'm trying to create a brace or bracket around two or more nodes within a TikZ picture. Since there are more elements in the ...
4
votes
2answers
2k views

TeXShop: disabling auto bracketing?

Whenever I used an underscore it automatically adds those curly brackets to it. Now sometimes thats nice, but sometimes you really dont need this. Is there a way to disable that feature? I roamed ...
0
votes
0answers
213 views

How to print this bracket? [duplicate]

Possible Duplicates: How to look up a math symbol? A symbol for the field of formal Laurent series Could anyone tell me how to print the left bracket in these 2 formulae? And their ...
9
votes
1answer
1k views

\overbrace split accross multiple lines

Is there a way to split the overbrace so that it appears in two halves over a multi-line equation. Something like /-----------Overbrace Label---- Equation over which to place ...
8
votes
1answer
1k views

How to escape “]” in a description's item tag?

In a description like \begin{description} \item[\texttt{DoSomething(items[])}:] ... \end{description} , how do I escape the "]" character?
3
votes
2answers
24k views

Curly brackets don't show. [closed]

I'm typing in LaTeX on a Linux machine (Ubuntu) using Emacs (for typing and compiling). If I type (in mathematical environment) \left\{blah blah\right\} I don't see any brackets at all. If I type ...
5
votes
2answers
191 views

How can you address the size of surrounding parentheses whose size is determined by \left and \right? [duplicate]

Possible Duplicate: How to automatically resize the vertical bar in a set comprehension? Trying to type the formula for a conditional probability like this \mathrm{P} \left( whatever \mid ...
13
votes
3answers
9k views

Biblatex, author-year, square brackets

I need to customize the author-year citation in biblatex for a template at work. Right now biblatex cites like this: Ruschmeyer u. a. 1995, S. 123 They way I was told it needs to cite is: ...
7
votes
2answers
2k views

Accolade to take objects together in TikZ

Is there a way to draw an accolade ({-symbol) that groups things together in TikZ? I want the accolade to group let's say three rectangles. That means the top of the upper reactangle must be the top ...
0
votes
2answers
959 views

Double square bracket

I need to have 2 square bracket matrix on the same equation line. I'm able to do just for a single square bracket matrix (for \xi) with below \xi = \left[ \begin{array}{c} \xi^1 \\ \vdots ...
16
votes
3answers
6k views

Align large vertical delimiters (brackets) to rows of a table?

I’m trying to typeset a table of data, with brackets (i.e. }) at the right-hand side to show a classification of the rows.  Something like: ----------------------- | Aardvark | Armenia | \ ...
6
votes
3answers
662 views

How to make \left<\overrightarrow{b}\right> look good?

I want a 'b' with an arrow on top, enclosed in angle brackets. \left<\overrightarrow{b}\right> gives angle brackets which are far too high. <\overrightarrow{b}> gives far too much ...
30
votes
4answers
5k views

How to have overlapping under-braces and over-braces

I am trying to typeset an equation that has overlapping over and under braces as per the image below: I have managed to typeset it using a sort of a hack, by typing the equation twice, once using ...
57
votes
4answers
53k 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 ...