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

learn more… | top users | synonyms

1
vote
2answers
41 views

Overbrace/underbrace without extending brackets/parentheses

I'm using \overbrace to explain a part of an equation, like this: \begin{align} a\left[\frac{d\cos y}{e} + \overbrace{\frac{b\sin x}{c}}^{\text{second bit}}\right] \end{align} But the overbrace ...
3
votes
3answers
936 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 ...
3
votes
1answer
56 views

Curly brackets spanning multiple lines (no math env)

For language learning purposes I would like to use curly brackets with an selection of objects (multiple lines of text, no math environment like this). But the code ...
1
vote
0answers
11 views

Triangular Parenthesis/Brackets [duplicate]

How do I make triangular parenthesis in normal text, like this ? If I enter it directly it results in spanish exclamation and questionmarks (¡Text¿).
4
votes
1answer
64 views

Brackets are wrong in this mathematical formula

This piece of code generates errors when compiling. since this formula is long, it makes it hard for me to guess where are these errors. Can someone help? \documentclass{article} \begin{document} ...
1
vote
1answer
90 views

Citing page numbers in parentheses with year but author outside

So I want the following: The three parameter inverse gamma distribution is described by Malamud et al. (2004, p. 694) as... The script I'm using is: The three parameter inverse gamma distribution ...
0
votes
1answer
73 views

Time line with marked points, flipped curly brackets beneath using Tikz package

I have previously used the Tikz package for illustrations of nodes and paths in LaTeX, but I don't know where to start to make the figure illustrated below. Could someone please give a rough setup ...
1
vote
0answers
22 views

Latex (XeTex) places equation parenthesis the wrong way [duplicate]

I recently switched compilation of my tex document from pdflatex to xetex for reasons of typesetting occasional arabic text (the rest of document though is almost entirely in English). However now I ...
3
votes
2answers
127 views

Anomalous bracket sizes when using the cancel package

I have been happily using the cancel package that allows to cross out parts of mathematical formulas for some time now. However, today I noticed a very strange behaviour in the size of brackets ...
3
votes
0answers
126 views

How to replace parentheses with symbol of other font so that they are expandable? [closed]

I use Bitstream Charter for my document, but I'm not satisfied with the appearance of round parentheses. I'd like to replace them with the parentheses from Palatino, both in text and math mode. In ...
5
votes
1answer
30 views

How do I remove interior brackets from a range of superscript citations?

I'm using the cite package as follows \usepackage[superscript,biblabel]{cite} However, when I try to cite multiple articles, the range includes interior brackets, as seen here. Can anyone tell me ...
4
votes
3answers
245 views

Inline row vectors with smallmatrix

I typeset inline column vectors with the smallmatrix environment from the amsmath package: $\left(\begin{smallmatrix}a\\b\end{smallmatrix}\right)$ Unfortunately, when I do the same with row vectors ...
32
votes
4answers
1k 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( ...
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 ...
4
votes
1answer
41 views

Automatic parenthesis sizing with multiple sums and products using new lines

I'm trying to use auto sizing of parentheses. Can you see why the below is creating brackets all of the same size? I've tried removing reference to the function \x, but this doesn't change anything. ...
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)} ...
0
votes
0answers
25 views

Curly bracket under a sum [duplicate]

I would like to type something similar to the following: i.e., a sum of k ones. Is there an easy way to do this in LaTeX?
0
votes
1answer
47 views

Adjusting biblatex authoryear style (to closely resemble apalike)

After reading yet another few hours I could not find a solution to obtaining the following citation style: [Senarclens de Grancy and Reimann 2014] together with the following format in the ...
10
votes
1answer
207 views

No hyphenation of a word in square brackets

I'm having square brackets in normal text. Unfortunately latex won't hyphenate the enclosed word. This is the code: \documentclass[]{article} \usepackage[ngerman]{babel} ...
0
votes
1answer
65 views

How do I get EU = k down instead of up?

I have this: \frac{\mathrm{d} B}{\mathrm{d} A}\bigg|_{}^{EU=k} but with this my EU = k is above, but I want it below. How do I get it down?
3
votes
0answers
62 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 ...
2
votes
1answer
98 views

Problem of small brackets in Latex

I have a problem in my script LaTeX. I write with the biggest parentheses, brackets, accolades, but always I get too small parentheses. In this example, \documentclass[11pt]{article} ...
0
votes
1answer
76 views

Large enough bracket size

$$\Sh(E/K)=\ker\textbraceleft WC(E/K)\rightarrow\prod_{\nu\in M_K}WC(E/K_{\nu})\textbraceright$$ How do I make my brackets larger than the \prod within it?
5
votes
1answer
51 views

Avoid brackets with a command having an optional argument as subscript

I have the following code: \documentclass{article} \newcommand{\quot}[3][c]{\frac{#2}{#3#1}} \begin{document} \LARGE $A_\frac{a}{bc}$ $A_{\quot{a}{b}}$ $A_{\quot[d]{a}{b}}$ \end{document} If I ...
9
votes
3answers
246 views

Is it possible to give colors to big (automatic) parenthesis in math mode?

In the following code I can't make the right parenthesis to have arbitrary colors. \documentclass{article} \usepackage{amsmath} \usepackage{xcolor} \begin{document} \begin{equation} ...
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 ...
32
votes
5answers
4k views

How can I get an underbrace and an overbrace to partially overlap in an equation?

Sometimes I want to describe portions of an equation using \underbrace and \overbrace in such a way that the portions are not completely distinct, for example: /-------\ x = A + B + C + D + E ...
2
votes
1answer
47 views

right bracket in my TeXworks does not work

I am working in TeXworks and I would like to use [ ] , but when i use \right] , it does not work. What should I do in this regards?when I use just ], there is no space between 2 and ], how should I do ...
1
vote
2answers
51 views

Brackets in two different align “lines” [duplicate]

i want to use a big bracket (\left( , \right)) in an align-enviroment over two lines, so that \begin{align} 0=\left(a+b+c \\ +d+e\right) \end{align} which is not possible, because Latex want me ...
5
votes
1answer
76 views

Redefine \middle| to insert space before and after itself

I want to use \middle| inside of brackets like this. \documentclass{article} \begin{document} \begin{equation} \left\{\frac{1}{n} \middle| n>0\right\} \end{equation} \end{document} ...
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} ...
3
votes
0answers
96 views

AUCTeX folding and square brackets in math mode

I want to use the folding functionality of AUCTeX, mainly to replace math macros with the corresponding symbols. But at the same time I want to continue to use square or curly brackets additionally to ...
4
votes
1answer
95 views

Brackets around multiple lines

I am trying to put big rounded brackets around some text that contains math formulas: Jede Teilfolge hat entweder unendliche viele Elemente von $\left( g_{2n}\right)$ oder $\left( ...
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.
3
votes
1answer
311 views

How to squeeze a formula inside a text in latex?

I type some formula in latex inside my text, but When I make it pdf I see it is not squeezed. How I can make it squeeze? See the attached, which shows the problem!
9
votes
2answers
170 views

Is there a faster way to type sequences?

When I'm using sequences in an article, I always type things like (x_n)_n and (x_n^k)_n. However, that doesn't display the subscript after the brackets very nicely. I know that I can fix this by using ...
3
votes
1answer
62 views

adding large curly bracket and black title background

I tried to add curly brackate using \left{ , \begin{array}{@{}ll} but no help. What is the way to add large brackate to cover as in image? Is is possible to create black strip as in image behind ...
4
votes
1answer
165 views

Parentheses and square brackets contextually in small caps

In a book publication I use references in parentheses with an open type font. The references are set in small caps (both letters and numbers): % xelatex xetex 0.9999 texlive 2013 windows ...
3
votes
1answer
187 views

Bracket problems when splitting multiline equations

Basically, I have the following latex code: \begin{align*} + \left( \left[ \sum_i y_i x_i(r) - \frac{1}{n}\sum_i y_i \sum_i x_i(r) \right] \left[ \sum_i x_i^2(r) - \frac{1}{n} \left( \sum_i ...
4
votes
4answers
530 views

underbrace matrix inside brackets

I would like to put an underbrace below the matrix like this: $$\left(\underbrace{ \left[\begin{array}{ccc} a&b&c\\ d&e&f\\ g&h&i \end{array}\right]}_{A} ...
4
votes
1answer
209 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.
9
votes
4answers
201 views

How to prevent the opening curly brace from going out over the top equation?

Constraints: I have to use top aligned aligned to let the baseline of the top equation be aligned with the enumerate label. Issues: The curly brace goes beyond the top equation so it does not look ...
0
votes
1answer
68 views

How do I write a right bracket without writing a left one?

I need to use \right] in one of my lines, but if I don't write \left[ in the same formula I get an error (Using texmaker). What I want to do is to type the range of a function, as in $F(x)]_{0}^{5}$. ...
6
votes
1answer
80 views

\eqref for systems

Is there anyway to create a single label for a system of equations instead of just one, such that I can recall it? I've done this but the result doesn't totally make sense. ...
4
votes
0answers
51 views

Why `\\` is wrong here? [duplicate]

The following codes return errors \documentclass{article} \begin{document} cd\\ [asd] \end{document} But this one will work \documentclass{article} \begin{document} cd [asd] \end{document}
5
votes
1answer
194 views

How do I remove parentheses from theorem optional argument?

This is a MWE: \documentclass[12pt]{article} \usepackage{amsfonts, amsthm, amsmath, amssymb} \theoremstyle{definition} \newtheorem{Theorem}{Theorem}[section] \newtheorem*{Pythagorean ...
1
vote
1answer
265 views

Biblatex square brackets color

How can I change the square brackets color of references in text using biblatex (numeric style)? I know it can be done with natbib, but not using this package anymore. ...
2
votes
1answer
61 views

Enclose blocks of selected text with large square brackets?

I have some long equations in my document. I want to add some square brackets so it is clear how the main text flows. Here is my code \documentclass{article} \usepackage{amsmath} ...
4
votes
1answer
69 views

Bracket problem with \newtheorem

\documentclass[a4paper, 11pt, notitlepage]{report} \usepackage{amsthm} \theoremstyle{plain} \newtheorem{thm}{Theorem}[section] % reset theorem numbering for each chapter \theoremstyle{definition} ...
9
votes
2answers
174 views

how to get square brackets with \SIrange{}{}{}?

I'd like to get something like this: [-40 ; 80] °C Instead I'm getting: Below is a MWE. I've tried to include all necessary packages for siunitx, as written in its documentation; there are more, ...