Questions tagged [brackets]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
19 views

Biblatex - How to add parentheses around author first name?

For my memoir, I'm asked to use a specific style for my references. For example, for this entry (the most basic one) @book{huanMarineSovietique2002a, title = {La marine soviétique}, author = {...
2 votes
0 answers
20 views

Margin when using auto-scaling of parenthesis: Is there a better way than adjusting for it with "\!"?

Whenever I need larger parenthesis I use \left( \right) which automatically adjusts the size as needed. I know that the optimum would be to always manually choose from \big, \bigg, \Big, ... but for ...
2 votes
2 answers
87 views

Multiline brackets around inner Minimization Problem for Maximin Optimization Problem

I want to reproduce the following: The inner min-Problem I make with a \begin{equation}\begin{aligned} inner min-Problem \end{aligned}\end{equation} But I can't find a way to make brackets around it ...
3 votes
2 answers
442 views

How can I fix tall ket notation?

I have been struggling with a tall ket symbol when I insert the letter b compared to the letter a. My problem is how I can make the ket notation for the letter b the same size as the letter a. I also ...
0 votes
1 answer
28 views

How can I put new line in between function arguments

I have a function that has plently of arguments. \documentclass[10pt,journal,compsoc]{IEEEtran} \usepackage[table]{xcolor} \usepackage{eulervm} \usepackage{booktabs} \usepackage{tabularx} \begin{...
2 votes
1 answer
61 views

Too much vertical blank space for unbalanced math expression inside big delimiters

A recent post on Math SE reminds me of an old issue as titled, shown in the screen grab below in case it is edited or deleted. There are several other issues with these few lines, but I'd like to just ...
1 vote
1 answer
27 views

Bracket problem with odsfile + includegraphicx

The cell that is called should just contain the filename of the desired image file. \documentclass{report} \usepackage{odsfile} \usepackage{graphicx} \begin{document} \includegraphics{\...
2 votes
1 answer
44 views

How to insert square bracket in itemize environment in LaTeX?

I insert square bracket in itemize environment in LaTeX, but there is an error. \documentclass{article} \usepackage{enumitem} \usepackage{mathtools} \begin{document} \begin{itemize} \item [$\left[ ...
0 votes
0 answers
35 views

Can't write ( left ) without the spaces, or else it turns into ←

I'm describing a diagram, and it goes: "in dark blue ( left ) . . ." i'm writing in brackets that something is on the left. I've had to add spaces ( left ) to stop it from turning into a ← . ...
2 votes
2 answers
81 views

Thick Japanese bracket symbols

Is there a way to create this type of thick japanese bracket in the picture far right? I use it to enumerate a puzzle collection like this [number]. Just looking for a way to make it look like in ...
0 votes
2 answers
41 views

Aligning equations with {}

I'm trying to get the two parts of the equation aligned one below the other within the curly brackets. I tried to use split+equation, align, line break, etc, but I still can't get it to look right. ...
3 votes
1 answer
180 views

Disabling autocompletion of `\(\)` in TeXstudio

I am using TeXstudio 2.12.6 QT 5.9.1, and have the Auto Complete Parentheses in Special options turned on. In general, it automatically 'closes' the brackets / braces for the following combinations: (...
1 vote
1 answer
45 views

Array lines too thin in newtxmath

When using newtxmath the shorter horizontal lines on the top left and top right of the square brackets surrounding an array are sometimes too thin. Compare them in the first and second arrays in the ...
5 votes
1 answer
177 views

Which fields have to be {braced} or "quoted" in .bib files (why does year NOT have to be)?

I'm writing some software for interacting with .bib fields. I want to be able to expand @string abbreviations in field values correctly, and I've been learning about quoting rules. In almost all cases,...
9 votes
4 answers
4k views

How to make large brace and parenthesis thinner?

A MWE is as follows: \documentclass{amsart} \begin{document} \Huge We have \[ f(x)= \begin{cases} 2x^{2018}+9&x<2018\\ 3x+2018&x\geq 2018. \end{cases} \] And we also have \[ \left( \begin{...
9 votes
1 answer
3k views

pgfplots: How can I write square brackets in xlabel or ylabel?

The following works fine: \begin{tikzpicture} \begin{axis}[xlabel=$k$, ylabel=$x(k)$] \addplot coordinates {(0,1) (1,4) (2,2) (3,-1) (4,2)}; \end{axis} \end{tikzpicture} But as soon as I ...
1 vote
1 answer
34 views

distinguishing brackets on the right of an enumeration

I would like to make a distinguish bracket (as they are used with branched function specifications) on the right side of an enumeration.The bracket should contain the 2 points in the "itemize&...
0 votes
1 answer
66 views

Professional curly braces in MTPro2 font

I've noticed the differences in typesetting between MTPro2 Lite and its complete version, so I even bought the license and installed the complete version onto my computer. Most of the features have ...
1 vote
0 answers
50 views

How to get brackets by using autoref for align equations

I want use autoref to reference equations like this: Equation (8.19), but my output is: Equation 8.19 I tried to proceed as in (search for "Einstein" ) autoref and braces around equation ...
1 vote
1 answer
22 views

Error "Package pgf Error: No shape named `abstractse' is known." in baposter

I'm trying to construct a poster using a baposter template, it was working fine until I added some inline maths equations and labels, then I started getting this error in addition to: "! Argument ...
1 vote
1 answer
45 views

How to add a big curly brace to label the side of a table?

How can I use a big curly brace to group together lines of a table on the left side? \documentclass{article} \begin{document} \begin{center} \textbf{$n=3$} \begin{tabular}{ |c|c| } \hline ...
5 votes
3 answers
1k views

How can I get cleveref to surround references with parentheses automatically?

I use cleveref for in-document references, and find it to be clever. However, I typically want to refer to figures (for example) within parentheses. What I do now is this \usepackage{cleveref} ... X ...
0 votes
1 answer
23 views

Horizontal spacing of math operator and parenthesis

Take the following code for example, \documentclass[]{article} \begin{document} \begin{equation} \exp x \end{equation} \begin{equation} \exp (x) \end{equation} \begin{equation} \exp \...
0 votes
0 answers
26 views

Multiple References in a single square bracket using IEEEtran style in Latex

I am using the IEEEtran document class and bibliography style in latex and my references are displayed as individual numbers in square brackets e.g. [1], [2]. However, I am trying to find a way to get ...
2 votes
2 answers
44 views

Bracket overlap with chemmacros

I'm trying to position the brackets such that there is no overlap, while ideally aligning their vertical positions. The solutions here don't seem to help much. Also is there a way to move the ...
21 votes
5 answers
81k 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.
5 votes
1 answer
235 views

How to change the "curliness" of Matrix brackets?

How can I get my matrix brackets to look like the above instead of: My current one uses the following packages and has the latex: \documentclass[12pt]{article} \usepackage[a4paper]{geometry} \...
2 votes
2 answers
47 views

newcommand with option for bracket size

I want to write a new command for the trace of a matrix that I've defined like: \newcommand{\trace}[1]{\mathsf{trace}\!\left[#1\right]} but when I call \trace{A^\top} the automatic scaling makes the [...
4 votes
3 answers
448 views

Size of curly brackets

I have the following MWE \documentclass{article} \usepackage{amsmath} \newcommand{\overbar}[1]{\mkern 1.5mu\overline{\mkern-1.5mu#1\mkern-1.5mu}\mkern 1.5mu} \begin{document} \begin{align} \frac{\frac{...
2 votes
2 answers
127 views

How to add a bracket above a gather environment?

I would like to turn this : $$ \begin{gather} \overbracket{\text{1 2}}^{\text{Basic idea}} & \overbracket{\text{3 4}}^{\text{Contrasting idea}} \\ \underbracket{\text{5 6}}_{\text{Basic idea}} &...
0 votes
1 answer
47 views

How to place circles in between two parentheses on a line segment?

I need to place a circle in between two parentheses on a line segment. I know how to draw multiple circles on a line segment within parentheses. I have tried the following code: \begin{figure} \begin{...
0 votes
1 answer
47 views

Biblatex: Different entry types have different date formats (with and without brackets) in bibliography

I am using biblatex with IEEE and I am getting dates with and without brackets around them, depending on which entry type I'm using (such as @journal, @online, @misc, etc). I have tried searching ...
0 votes
0 answers
14 views

Square brackets throw an error while parentheses don't [duplicate]

Why does the following work \documentclass[answers]{exam} \begin{document} \begin{center} \Large\textbf{ \shortstack{ Assignment 1 \...
3 votes
2 answers
51 views

How to create a simple vertical vector with several vertical curly braces outside the square bracket?

I could not code a vertical vector with several vertical curly braces outside the square bracket of the vector. The best thing I have obtained so far is by using rcases from mathtools package that ...
0 votes
1 answer
47 views

biblatex \cite as superscript brackets

I have a question according to my citation and the bibliography: How did it got printed in the text is: A[18] instead of A^[18] also A[18][20][19] results not in A^[18-20] with [18] J. Hua, X. Li, Y.-...
3 votes
1 answer
72 views

How to put text under a big bracket

I have this How can i do this ? Here is my code \begin{center} \begin{tabular}{@{}l@{}} $ \dot{\partial}W(v)=\Bigg\{ v^*\in \mathbb{R}^j :$ lim inf $ \frac{W(z) - W(v) - \langle v^*,z - v \rangle} {\...
3 votes
1 answer
136 views

LaTeX: how to get correct size/position of (nested) brackets around fractions

In the following example \documentclass{article} \newcommand{\x}% {a = \left[% \frac{b}% {c + \left[ \frac de% \right]% ...
5 votes
2 answers
412 views

A prime in parentheses

I would like the prime in $\mathfrak E ^{(')}$ to look like the normal prime in $\mathfrak E'$. Also I might like smaller parentheses around the prime.
0 votes
0 answers
32 views

How to decrease brackets size?

As stated in the subject, I know that $\left[x\right]$ can be used to increase the size of the brackets to adjust for a large argument, but what about if instead I would like to decrease the brackets ...
0 votes
1 answer
46 views

How can I avoid MnSymbol to redefine the bracket parenthesis?

I'm trying to save the definition of the square brackets since the package MnSymbol redefines it. I think the redefined ones are aesthetically ugly. I'm looking for a solution similar to this. A ...
0 votes
2 answers
70 views

\left\langle \right\rangle command doesn't scale properly scale the brackets

The \langle and \rangle brackets don't scale properly according to the size of the contents within the brackets. Here is minimum working example: \documentclass{article} \usepackage{amsmath} \...
4 votes
2 answers
123 views

One pair of brackets for each citation

Question \documentclass{amsart} \begin{document} I cite \cite{a,b}. I also cite \cite{a,b,c}. \bibliographystyle{plain} \bibliography{ref} \end{document} gives I cite [1, 2]. I also cite [1, 2, 3]. ...
1 vote
1 answer
58 views

Best practice to handle math Brackets and Parentheses

I was wondering if there is already available a short reply to the best practices about using brackets in math mode. For instance, when should I use (, instead of any of the following: \left(,\left(.,\...
0 votes
0 answers
46 views

How make newtx option theoremfont work with thmtools?

I want the body of theorems to be in a true slanted font (\slshape) rather than in italic, yet have brackets within a theorem body to be upright. The newtx package (version 1.7) option theoremfont (...
54 votes
2 answers
20k views

Difference between \big[ and \bigl[

What is the difference between \big[ (or equivalently \big() and \bigl[? Is it always necessary to mention l (left) and r (right)?
1 vote
1 answer
53 views

Sans serif math mode parentheses not scaling

I am using the implementation I found from this website to write a document in the Calibri font, including the math mode. It looks wonderful, however there is one major flaw: the "large" ...
0 votes
0 answers
23 views

Place both name and year between brackets when using cite

For the paper I am working on, I would like to have citations with both the surname and year between brackets. Currently, when I use \cite{}, only the year is within brackets and the name appears in ...
5 votes
2 answers
248 views

Calligraphic braces in equation environment

Consider the following code: \documentclass{article} \usepackage{tikz} \usepackage{array} \usepackage{mathtools} \begin{document} \begin{equation} a(y)=\left\{ \begin{array}{@{}ll@{}} 0 &...
0 votes
1 answer
39 views

i Needed to solve the problem plz help [closed]

\usepackage{amsmath} \begin{document} \begin{equation} RresT (u) = \begin{cases} 1 & \text{\RresT (u)= \Bigg\{ 1, \text{ if Pos. {Arcs_{v_{\xrightarrow[]{}}u \ (u)} > Neg.Arcs_{v_{...
10 votes
3 answers
5k views

How to insert curly bracket in multirow table

I am constructing a table, where I have a multirow spanning 3 rows. Inside this multirow I would like a big curly bracket that spans the 3 rows. Unfortunately, I have not been able to get it to work. ...

1
2 3 4 5
18