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,...