Questions tagged [brackets]
{brackets} is about different brackets, their usage and functionality in (La)TeX.
867
questions
2
votes
2
answers
128
views
Correcting improper use of \left and \right in multi-line LaTeX equations
As a copy editor, my job involves optimizing the layout of scientific articles written by authors directly in LaTeX to ensure they conform to the styles of the journals I work for.
A common issue I ...
2
votes
2
answers
74
views
Exclamation point inside brackets in bib entry prevents period
I have a bib entry with a typo at the end of its title. I indicate this with [sic!]. This prevents, however, a period from being printed after the title, cf. the MWE below. Without the exclamation ...
0
votes
2
answers
46
views
How to remove outer brackets so that they are not double-lined?
I have the following code:
\documentclass[11pt,reqno]{article}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{tabstackengine}
\usepackage{amsthm}
\usepackage{stmaryrd}
\usepackage{latexsym}
\...
1
vote
1
answer
42
views
"Fancy" math font with double brackets [duplicate]
how do I achieve this Val[[e]]p in LaTeX?
like the fancy V with the double brackets of e? I tried \textrm{Val}[\,[e_1]\,]\rho but it's not quite the same. Thank you!
14
votes
2
answers
2k
views
Is it bad style to write x^2, 2^\frac{1}{2} and 2^\sqrt{2}?
Is it considered bad style to write:
x^2, 2^\frac{1}{2} and 2^\sqrt{2} (without curly brackets around the superscript)
instead of:
x^{2}, 2^{\frac{1}{2}} and 2^{\sqrt{2}}?
The same for subscripts.
3
votes
0
answers
116
views
Incorrect matrix bracket height with `unicode-math`
I need to use the package unicode-math in my document, but this makes the height of the brackets in the matrix look too short. (The matrices of order 2 seem to be normal, though.) I have tried various ...
2
votes
1
answer
71
views
How to put equations inside brackets and define their labels?
I am trying to group equations and reference them inside brackets, I tried using \label but it doesn't work, I tried split:
\[
\begin{cases}
\begin{split}
\prob_1 \Big[\mathrm{Inf}_{A,1}^{...
1
vote
0
answers
29
views
Why does the margin difference occur when \arrow is placed in curly brackets?
X \leftarrow Y {\leftarrow} Z:
X \mapsto Y {\mapsto} Z:
Why is there such a difference? Which one is more recommended?
0
votes
1
answer
47
views
Making parentheses in the simplest way possible
I looked at some community posts asnwering how to use brackets in chemfig, but it was only for their specific case and looked very overcomplicated for what I´m trying to do.
Here is a picture of what ...
0
votes
0
answers
49
views
How can I get the citations inside my \supercite command in one set of square brackets instead of split up in two? [duplicate]
I would like to have my (supercited) citations, if I cite more than one, inside the same set of square brackets. It works if I use the "normal" cite, but not with using \supercite. When ...
0
votes
2
answers
75
views
Auto sized bracketing with Math Operators
I noticed that $$\exp(\frac12), \exp\{\frac12\}, \exp[\frac12]$$ are all (at least visually) equivalent to $$\exp\left(\frac12\right), \exp\left\{\frac12\right\}, \exp\left[\frac12\right]$$
The same ...
1
vote
0
answers
59
views
Strange result in \left \middle \right
the code \left(1_Q\middle|\right) gives the result shown below. Shouldn't the construction \left, \middle, \right produce the parentheses and the vertical bar of the same height?
0
votes
1
answer
24
views
Error in reproducing tex on sentence bracketing in gb4e [duplicate]
There is an error occurred when I tried to reproduce a tex document to produce sentence bracketing in gb4e.
This is the tex document, courtesy of Alan Munn:
\documentclass{article}
\usepackage{gb4e}
\...
0
votes
0
answers
45
views
Use text mode brackets in math mode
I would like to have the same style of brackets in the text mode and the math mode. I use the mathptmx package for the font (Please do tell if there's a better substitute for Times).
As seen from the ...
0
votes
1
answer
38
views
Bracket in `description` item throws error [duplicate]
Closing bracket in math mode causes error in description item and leaves a space in text mode. What can I do?
This gives error
\documentclass{article}
\begin{document}
\begin{description}
\item[$[0,...
1
vote
1
answer
34
views
Right square bracket in symlist
I am trying to produce a symlist with [xy] in the left hand column. If I use \item[$(xy)$], I get (xy) in the left column but if I want [xy] and use \item[$[xy]$] I get an error message
! Extra }, or ...
2
votes
1
answer
59
views
Adaptive parentheses in the definition of a command: how to avoid odd space
I'm trying to improve a command with adaptive parentheses, but I don't know how to avoid an unexpected blank space between the operator and the first parenthesis.
I already had a problem with this ...
1
vote
1
answer
45
views
How to resize an array in math environment
This is my code:
$$
\mathcal{P}_{\left\{ \resizebox{0.02\textwidth}{!}{$\displaystyle
\begin{array}{l}
\mathcal{B} \\
\mathcal{F}
\end{array}$} \right\}}
\Psi\left(\vec{r}_{1}, \vec{r}_{2}, \ldots, \...
0
votes
1
answer
62
views
How to increase the effect of \bigl / \bigr with unicode-math
I am writing in fontsize 12pt and use lualatex (LuaHBTeX, Version 1.16.0 (TeX Live 2023)). Additionally I use the unicode-math package.
Consider the following MWE:
\documentclass[12pt]{article}
\...
1
vote
1
answer
21
views
Font-weight of scaled square bracket delimiters in Beamer
In my beamer documents, the square bracket delimiters have a visibly more heavy vertical line when unscaled compared to their scaled versions, where the vertical line is thinner. Other delimiters are ...
3
votes
1
answer
66
views
Referring to selected linguex sub-examples without parentheses
This is a follow up to the question (and the answer) here.
I have the same issue as OP, in that I cannot use parentheses around example numbers that are placed within parentheses in the text. Unlike ...
2
votes
3
answers
181
views
How to put big brackets around minipage
I have this bit in my document and I would like to put big brackets on either side to show it is not part of the main development. However, I have no idea how to do such a thing. Any help is welcomed.
...
1
vote
1
answer
33
views
How to make appear right expectation symbol on second line of a splitted equation into align environment
Here below the rendering of Latex code snippet : I can't get to make display the right expectation symbol ( \right> ) on the second line of a splitted equations (on both eq(3) and eq(4))
\noindent ...
0
votes
0
answers
28
views
Using the font joylide, can I stretch curly bracket and rotate?
Can I make my curly bracket so it will be under the whole ax^2?
% !TeX TS-program = lualatex
\documentclass[border=0cm,beamer,crop]{standalone}
\usepackage{pgfplots,tikz}
\pgfplotsset{compat=1.18}
\...
1
vote
0
answers
43
views
Brackets next to subsections [duplicate]
I created a long list using itemize, minipages and sections/subsections...
Now, I would like to replace the subsection text by a bracket that is placed next to the equations of each subsection. See ...
2
votes
1
answer
62
views
How to represent norm (Vert) that changes size based on the inside, in LyX?
When using the standard brackets, such as [ { ( |, I write ctrl-| and get two | surrounding an expression. If that expression's height changes (fractions could cause that), then the brackets grows as ...
0
votes
1
answer
66
views
Brackets on a line
I am trying to replicate a figure like the following. But I haven't found the way to draw a line between the brackets or to align the arrow with that line.
Any help would be most welcome :)
Thanks in ...
2
votes
3
answers
133
views
Conditional macros
Goal: I would like to have a macro that substitutes different commands depending in whether in displayed math mode or not. In particular, it should generate fixed-size angular brackets in text lines, \...
4
votes
1
answer
268
views
Slim big parentheses (around a matrix)
When typesetting formulas with matrices, I have a difficulty choosing between parentheses and brackets. The usual parentheses look too wide, waste horizontal space, and do not highlight the matrix ...
2
votes
1
answer
132
views
Systeme package wihtout curly bracket [duplicate]
Is it possibile to use systeme package without to have the curly bracket like the example below?
\documentclass[a4paper,12pt]{article}
\usepackage{amsmath}
\usepackage{newtxtext,newtxmath}
\...
1
vote
0
answers
78
views
Bracket with multiple lines [closed]
The errors of my codes with feedback: Missing $ inserted
\documentclass{article}
\usepackage{amsmath}
\begin{document}
$[x_0: x_1: x_2]\mapsto$
\begin{cases}
$[x_0: x_1]$ & \text{ ...
0
votes
0
answers
112
views
Math Mode Brackets
Has anyone noticed that in math mode, the brackets do not scale? As in, they all remain the same size and looks somewhat unprofessional and cluttered. I cannot use the \[ \] method because I need the ...
4
votes
2
answers
149
views
Problem with parentheses and mathastext
I'll motivate my problem quickly: I make flashcards on my computer using latex, and am in need of certain formatting for this. I've wanted a. computer-readable unified look, which uses non-slanted ...
3
votes
2
answers
98
views
Add large brace next to table (Beamer): Description included
I created the following table:
\begin{columns}[c]
\begin{column}{7.5cm}
\begin{table}[ht]
\small
\centering
\caption{Test table}
\begin{tabular}{ll}
\midrule
A &$a \sim \qty{e6}{m}$\\
B &$b \...
4
votes
1
answer
87
views
Align numbers with group separator in parentheses
I would like to align numbers using the siunitx package. And, as some of the numbers are in parentheses, I looked in section 9.9 of the documentation, where I get the impression that the code below ...
2
votes
1
answer
120
views
How to insert equal height brackets on both sides while wrapping a new line?
I'd like to input a long equation, so I had to cut it into two lines. But, there's a couple of {} at the start of the first line of the equation and the end of the second line of the equation, and the ...
8
votes
3
answers
473
views
How to place a curly brace to the right of several lines in an align environment?
\documentclass[a4paper]{article}
\usepackage{derivative}
\begin{document}
\begin{align*}
\{q_a,q_b\} &= 0 = \{p_a,p_b\} \\
\{q_a,p_b\} &= \delta_{ab} \\
\{q_a,F\} &= \pdv{F}{...
0
votes
2
answers
191
views
delimeter not extending enough in relation to the denominator of a major fraction containing itself an extensible delimeter and a minor fraction
I have the following MWE:
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align}
A1 &= \left\{\frac{1}{2\omega} \right. \\
& \enspace \left. \left[\frac{z_{v}^2}{...
0
votes
0
answers
17
views
nested \left \right paranthesis math formula doesn't work [duplicate]
This is the formula
\begin{align}
a_i &= \dfrac{1}{\phi_{i-1}(\lambda_i)}\bigg(\dfrac{c_{i-2}^2}{b_{i-2}^2}\phi_{i-1}(\lambda_i) + \left(b_{i-1}^2 - \dfrac{a_{i-1}c_{i-1}^2}{b_{i-2}^2}\...
0
votes
0
answers
57
views
Replace syntax brackets by visible brackets
General overview
I have a BibTeX entry of the document I am working on itself, and I put this deffinition in a variable to be able to use it everywhere I whant. The goal is to print on the document ...
2
votes
1
answer
115
views
How to make a matrix with \llparenthesis and \rrparenthesis?
I have the following document:
\documentclass{article}
\usepackage{ stmaryrd }
\usepackage{amsmath}
\begin{document}
$\left\llparenthesis\!\!\!\left\llparenthesis\!
\begin{matrix}
1\\2\\3
\end{...
5
votes
2
answers
155
views
What are all the possible codes for the matrix \llbracket, \rrbracket and \llparenthesis,\rrparenthesis?
1. I am interested in the matrix:
To make this matrix, I am using the following code (the full document):
\documentclass{article}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{stmaryrd}
\...
0
votes
0
answers
45
views
Making command to add \left and \right to brackets that are within an equation block (within $$)
Just wondering if there is a way to replace the brackets - '(' and ')' within equations with '\left(' and '\right)' but not replace the brackets within general text.
For example, in the body of a ...
2
votes
1
answer
144
views
DeclareMathOperator with auto scaling parentheses
Using the "physics" package, there's a nice behavior where if you write
\usepackage{physics}
\begin{document}
\[
\arctan(\frac{1}{\sqrt{3}})
\]
\end{document}
The parentheses will ...
0
votes
0
answers
25
views
argument of \XC@define@lor has and extra } cannot find the extra please help
\documentclass[12pt, addpoints]{exam}
%Load packages to use within the document
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{setspace}
\usepackage{layout}
\usepackage{graphics}
\usepackage{...
0
votes
0
answers
19
views
Conflict between "\left \right" brackets and "align" [duplicate]
In the following example, I would like to align the two equations where there are the symbols of "integral", but I get an error if I place the "&" sign (of the "align"...
9
votes
4
answers
357
views
Index position of $(x_{i})_{i\in I}$ vs $\left(x_{i}\right)_{i\in I}$
It seems that the basic syntax
(x_{i})_{i\in I}
leads to a different index position than
\left(x_{i}\right)_{i\in I}
Specificically, the lower index in the last example has a bigger vertical offset. ...
1
vote
1
answer
49
views
Change spacing in a fraction with parentheses?
I have the exponential function that I wrote as:
\begin{equation}
e^{\left(\frac{R_G^2\cdot q^2}{3}\right)}
\end{equation}
which appears as:
and I don't like the spacing in particular the ...
8
votes
4
answers
929
views
What are all the possible codes for {{A\\B}}?
I am interested in the matrix:
To make this matrix, I am using the following code:
$\left\{\!\!\!\left\{\begin{array}{l} A \\ B \end{array}\right\}\!\!\!\right\}$
What are other possible codes to ...
2
votes
1
answer
73
views
Where should the missing {} be?
When I write down the equation, an error appears that {} is missing:
A^{\overline^{\overline{B}}} = C
Latex generates the equation correctly in pdf, but it reports this error.
Error:
Missing { ...