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
131
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}
\...