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

learn more… | top users | synonyms

1
vote
0answers
93 views

Labeling multiple incoming/outcoming groups of lines in feynmp?

I'm trying to label multiple groups of incoming and outgoing lines using feynmp. I already managed to put brackets around the lines, but they aren't properly aligned. Is there a way to place the ...
1
vote
1answer
20 views

latexdiff incompatible with half brackets

I recently encountered some problem using latexdiff when the tex file contains matched half brackets like \left(\. or \.\right). For example, I have two files, one is test-old.tex, ...
11
votes
3answers
251 views

\left[ and \right] resizing differently for very similar formulae. Don't know how to fix it.

I have a \newcommand which inserts left and right square brackets around whatever you pass it. \documentclass{minimal} \newcommand{\foo}[1]{\left[#1\right]} \begin{document} Since $\foo{B} = ...
2
votes
2answers
45 views

Automatically make three brackets the same size

I would like to do something like left[ and right], but with an additional | in between which automatically has the same size as the left/right. This comes from the way I denote conditional ...
1
vote
2answers
66 views

User-defined parentheses that can span across more lines

I usually define some command of the kind \newcommand{\paren}[#1]{\left(#1\right)} to make the use of parentheses more agile. Now, if in the body of my document I do this \begin{align} z = ...
5
votes
4answers
247 views

Defining 'newcommand' without brackets

I know that in LaTeX newcommand is defined as: \newcommand{name}[num] {definition } But I want to define a new command whose argument is not defined between brackets, and it is defined with between ...
2
votes
1answer
40 views

How can I get an underbracket with an arrowhead?

I need something like the \underbracket command from the mathtools package: \documentclass{article} \usepackage{mathtools}% http://ctan.org/pkg/mathtools \begin{document} \[ ...
7
votes
1answer
321 views

Is there a quick way to jump out of brackets in TexMaker?

This might sound like a minor issue, but I love typing in Latex and its shortcuts in e.g. Texmaker are awesome, like when I want to type \frac{}{}, I can use auto-completion and jump between brackets ...
5
votes
1answer
34 views

Underbrace overlapping text

I am trying to type the equation in the figure below. The text on the brace is long and it does not wrap around. Can you help me to solve the problem? Thanks. Equation: \documentclass{article} ...
4
votes
1answer
76 views

Knurled or broken brackets and braces

Why are my brackets with gaps and sometimes even knurled shape? How can I solve this issue without having to draw the forms with another tool (Broken matrix - gaps in brackets (solved with Tikz)) ...
3
votes
2answers
68 views

write [2] next to an equation [duplicate]

I have a code that looks like this : \[\Omega_\Lambda{}_0 = 0,6911 \tag {2}\] in the pdf the (2) has round parentheses. I would like square brackets [] to figure instead : [2] Can you give me the ...
3
votes
1answer
102 views

BibLaTeX: Highlight Self-References

I am looking for a way to highlight references to my own previous publications using BibLaTeX (alphabetic cite and bibliography style), for example by using double brackets as citation marks in the ...
0
votes
0answers
10 views

Problem with brackets in more than one row [duplicate]

I format my equations with an array to have them look nicer. I also use the \left( and \right) for brackets. One part of the equation is too long and needs to be splitted into two lines. This is my ...
1
vote
1answer
80 views

How to span brackets on some rows in longtable?

The goal is to place a brackets into the table (longtable) to embrace some rows of this table: The solution which involves rdelim and \multirows command (described here: usage of \rdelim) gives not ...
3
votes
2answers
63 views

Closing bracket and parenthesis in multline

Where is an issue in my MWE with brackets when I split equation into two lines? \documentclass[12pt, a4paper]{book} \usepackage[utf8]{inputenc} \usepackage{amsmath} \begin{document} ...
2
votes
1answer
106 views

Turn off automatic size adjustment of \left and \right brackets

I have used different left/right brackets (\left(, \left[, \left\{ etc.) in a document numerous time and realised only now (due to changes) that the automatic size adjustment that comes with these ...
55
votes
7answers
31k views

Adding a large brace next to a body of text

I'm writing a short document listing some chronological events. I want to pick out a period with a big brace. Here's a quick mockup: What's the best way to do this? Can I set the size declaratively ...
2
votes
1answer
43 views

Using chemfig for copolymers i.e. polymers and 2 sets of parentheses

I'd like to use chemfig for copolymers. I have followed the demo for creating parentheses for polymers, but I've been having trouble figuring out how to get the two middle brackets to line up without ...
3
votes
2answers
70 views

How to control size of matrix brackets [closed]

The brackets in this matrix-vector equation have different heights. How can we use a standard size or, even better, ensure that all terms in an equation have a common size? Minimum Working Example: ...
21
votes
3answers
3k views

Vertically asymmetric size variation for parentheses

One of the difficulties I have with writing formulas in LaTeX is that the standard sizing tools for the variable-size operators (parentheses, etc.) do not account for "high" symbols and "low" symbols ...
4
votes
1answer
151 views

Automatic margin curly braces & text on multiple pages

I'm building a command to mark long texts & class them in other part of my document (with help of Malipivo). I managed to do it with collect, multido & mdframed packages. The excellent ...
5
votes
3answers
996 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 ...
2
votes
2answers
98 views

Overbrace Inside Underbrace

I would like to have an overbrace inside an underbrace (not overlapping braces). Here is an equation I have been trying: \begin{equation} \max_{a \in A} \left\{\underbrace{ \left(v_a + v_y y ...
1
vote
2answers
46 views

Missing brackets on equations

I'm writing a couple of equations in LaTex (it's my first time using it) and, although I'm finding the general usage pretty straight forward I keep getting a missing brackets warning from ShareLatex ...
0
votes
1answer
275 views

How do I put a parentheses in text?

I just want to use the ")" symbol without closing the parentheses. I don't really want to use math mode, can I just put it in the text?
2
votes
1answer
106 views

How do I make square brackets without top/bottom feet

How do you create square brackets that don't have the top or bottom feet? I'd like to use the symbol to define an operator for half-wave rectification. thanks!
1
vote
1answer
49 views

Underbraces in formula pointing to text

In the MWE below, I wanted to get the formula to show up with underbraces and lines pointing to the text like this: Here is my code: \documentclass{book} ...
4
votes
1answer
553 views

Bold bracket row vector/matrix

I want to define a matrix-vector product, which is defined something like this: \left[\begin{array}{cccc} A & B & C & D \end{array}\right] \left[\begin{array}{c} u \\ v \\ w \\ y ...
0
votes
1answer
49 views

LaTeX Curly Brackets [duplicate]

How do I get curly brackets to show in the output file on share latex? I tried putting them in the input file, but they disappear in the output.
2
votes
1answer
94 views

Make “cancel line” thicker

In the MWE below, I wanted: to make the cancel line with arrow slightly thicker and have the arrow end before the vertical }. Here is my code: \documentclass{article} \usepackage{amsmath} ...
2
votes
1answer
3k 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 ...
4
votes
2answers
927 views

Curly brackets in table cell for language manual

I try to make a table for language manual. Could anybody help me to manage curly brackets in the cells of a table? Like this: I tried to do it like here but I could't manage it.
5
votes
1answer
79 views

Replace regular parenthesis with stretching versions

I have nearly finished writing my ph.d. thesis, and throughout I've been using regular parenthesis mostly, for everything math. Now, I'd like to replace all instances of (...) by their ...
1
vote
3answers
88 views

How to have nested brackets with a common element

I'm trying to do something like in the image. However LaTeX does not seems to support this kind of nested brackets. Now I have \begin{align*} \overbrace{ \underbrace{ \overbrace{ ...
6
votes
2answers
210 views

Brackets not tall enough with smallmatrix from amsmath

The following MWE shows that when I typeset a matrix using the smallmatrix environment from amsmath, and wrap it in a \left( \right), the parentheses generated are not big enough to reach the ...
10
votes
2answers
18k 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, ..., ...
5
votes
4answers
214 views

How to get curly brace, alignment and separator line in the same equation?

Hi, I already know how to get curly brace and alignment. \[ \left\{ \begin{aligned} 8x + 6y &= 4 \\ -15x - 6y &= -3 \end{aligned} \right. \] The problem is how to draw separator or sum ...
7
votes
2answers
61 views

prevent the label beneath an underbrace from taking up vertical space

\documentclass[12pt]{article} \usepackage{amsmath} \begin{document} \begin{multline*} = I_{B}(\Pi_{B})_{\theta}[\theta_{B},\Lambda^{\prime}[I_{0} - I_{B}[1-F(\theta_{B})]]] - ...
2
votes
1answer
46 views

TeXStudio is overwriting second `\` after automatically having closed a bracket (`\{\text\}` is turning into `\{\text}`)

In general I would like TeXStudio to close my brackets (including {}), but there is always the same problem while using this feature (especially in mathmode): Assuming I want to write something like ...
3
votes
2answers
137 views

Doing a series of equations with \begin{align*} where I want a \left[ to match with a \right] on another line

I would like to create a series of equations using \begin{align*} where a \left[ matches up with a \right] on a different line, but it seems it won't let me do that. I was wondering what the best ...
12
votes
7answers
3k 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 ...
2
votes
1answer
83 views

How to get an option for square brackets in \textcite?

Currently in the preamble I have: \usepackage[ backend=biber, style=authoryear, isbn=false, doi=false ]{biblatex} My figuresĀ“ code looks like: \begin{figure} ...
34
votes
4answers
2k views

Is it ever bad to use \left and \right? [duplicate]

For mathematics, is it ever disadvantageous to use \left( and \right) in equations? I can't see any way that doing this would hinder the typesetting, so why isn't () just converted into \left( ...
2
votes
1answer
87 views

Why does including brackets in a TikZ datavisualization label give me an error?

My questions concerns the following MWE: \documentclass{article} \usepackage{tikz} \usetikzlibrary{datavisualization} \usetikzlibrary{datavisualization.formats.functions} \begin{document} ...
0
votes
0answers
29 views

How to write KILE MACRO that italicizes the string within the bracket

How to write KILE MACRO that italicizes the string within the bracket? How to write macro to do these? 1) type ( and ) 2) then go backward one space, to reach between the brackets 3) type SHIFT ALT ...
2
votes
1answer
66 views

Curly brackets in italics

How do I italicise curly brackets { }? I try: {\it Method \rightarrow \{\ \!"EquationSimplification" \rightarrow "Solve"\}} but it does not work. The brackets are not in the .pdf output...
2
votes
2answers
68 views

Typing two line brackets, with single line on right hand side

I am trying to type the equation in the photo below, but am having a hard time coming up with a solution. In addition to this, is there a neat way to make the F slightly larger than normal text?
17
votes
2answers
11k 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} ...
1
vote
1answer
118 views

Biblatex problem with brackets in textcite citations using authoryear-comp style in bibliography

I have this code for the bibliography in my Latex document. \documentclass[11pt, a4paper, twoside, openright]{memoir} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
4
votes
3answers
338 views

Two lines in a bracket

I am facing trouble trying to enter the formula: I entered: \Bigg[ \vec{p}^T_1+\vec{p}^T_2=\vec{E}^{miss}_T, p^2_1=0, (p_1+p_l)^2=p^2_2=M^2_W, (p_1+p_l+p_{b_1})^2=(p_2+p{b_2})^2=m^2_y \Bigg] ...