Questions tagged [brackets]
{brackets} is about different brackets, their usage and functionality in (La)TeX.
868
questions
2
votes
0
answers
11
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
440
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{...
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. ...
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 ...
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&...
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
44
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
...
0
votes
1
answer
65
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 ...
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
24
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 ...
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
126
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
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 ...
3
votes
1
answer
71
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} {\...
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 ...
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.
1
vote
1
answer
56
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(.,\...
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].
...
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
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.-...
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 (...
5
votes
1
answer
175
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,...
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
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
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 &...
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 ...
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_{...
2
votes
3
answers
129
views
Errors on multi-line equation with brackets
I am running this code for an equation that runs over into the margins:
\begin{eqnarray}
N(t,x) &=& \inf_{u_{I+1} \in [-u_{I+1}, w_{I+1}], T_{I+1} \in \Real_+} \left\{ \inf_{u_I \in [-...
6
votes
3
answers
605
views
Curly Bracket over multiple equation
I have a question regarding the curvy brackets in tex. Didn't find a good solution for the problem yet:
I have the following formulas:
\begin{equation}
\begin{aligned}
f(x) &= x + 1 \\
g(...
2
votes
1
answer
49
views
Braces spanning to next page
I am trying to put braces along long text but the text and brace disppears at the end of page as shown at the bottom of figure.
Ideally the text and brace should continue from next page.
Here is an ...
11
votes
1
answer
572
views
Why do \left( \frac{a}{b} \right) and \left( \frac{b}{a} \right) have different sizes?
Interestingly enough, I found that
\left( \frac{a}{b} \right) and \left( \frac{b}{a} \right) have different sizes in Display Mode.
What caused them to have a different size?
1
vote
1
answer
55
views
In the LaTeX package XSIM, how do I get points in parentheses right after the question?
MWE:
\documentclass{article}
\usepackage[verbose]{xsim}
\begin{document}
\begin{exercise}[points = 4]
Solve the equation \[ 3(x-2) + 7 = x + 3 \]
\end{exercise}
\end{document}
The output:
I ...
0
votes
0
answers
49
views
Latex Parenthesis around dot for time derivative
I want to indicate a term can be x or x dot, so I'm thinking of drawing a symbol like this, where there is a dot, but there are parenthesis around it:
Does anyone know how to do it?
Thanks!
0
votes
0
answers
25
views
listings : How to parse character sequences into math symbols
I'm trying to format code snippets using listings. The language I'm targeting (typed template Haskell) features the equivalent of double square brackets brackets [|| and ||]. These look quite poorly ...
0
votes
3
answers
86
views
LaTeX command with optional argument to enclose parameter in parenthesis
I want to define the following LaTeX command
\newcommand{\cost}[1][]{
\ifthenelse{\isempty{#1}}
{c_N}
{c_N((#1))}
}
where the parameter #1 is enclosed in parenthesis ( ) in the output. ...
3
votes
2
answers
443
views
Why does the square bracket not scale up?
I'm using \left [ \right ] to scale the bracket up to the height of the expression inside.
However, it works as expected in the first line, bit not in the remaining two lines. Could you elaborate on ...
1
vote
0
answers
40
views
Roots and spacing: symmetrical brackets [closed]
I have this simple MWE,
\documentclass[a4paper,12pt]{article}
\usepackage[italian]{babel}
\usepackage[utf8]{inputenc}
\usepackage{mathtools,amssymb}
\usepackage{geometry}
\begin{document}
\begin{...
3
votes
1
answer
61
views
Customize right square bracket
Sorry for my bad English.
I used fouriernc font for my document. But the right bracket is not beautiful.
I found a code can customize the right bracket so good but if there is a text beside, they ...