Questions tagged [brackets]
{brackets} is about different brackets, their usage and functionality in (La)TeX.
1,022 questions
8
votes
2
answers
233
views
$\implies$ makes "! Missing } inserted" error
In my tex I have a sentence:
No external torque $\implies$ Angular momentum $L$ is conserved:
After I compile the tex file, it throws out "! Missing } inserted" error. If I delete the $\...
5
votes
1
answer
151
views
Change English parenthesis for Chinese parenthesis in equation numbers
An MWS is as follows.
\documentclass{ctexart}
\usepackage{amsmath}
\makeatletter
%change English parenthesis for Chinese parenthesis
\def\tagform@#1{\maketag@@@{(\ignorespaces#1\unskip\@@italiccorr)}}
...
7
votes
4
answers
372
views
How to produce an effect of bracket below with text?
I want to produce the bracket like this:
\documentclass{article}
\begin{document}
There is a bracket below with text.
\end{document}
2
votes
1
answer
58
views
Square brackets in citations when in parentheses [duplicate]
This is probably a long shot, but I have the following problem: when a bibliographical reference appears within parentheses, my supervisor would like the inner parentheses to be changed to square ...
4
votes
2
answers
192
views
How to Enclose Long Text with a Single-Sized Set of Parentheses?
MWE:
\documentclass[12pt]{article}
\textwidth=3.5in
\begin{document}
\thispagestyle{empty}
\begin{equation}
\left( \frac{A}{B} \right)
\end{equation}
\vspace{35pt}
\noindent How to enclose text ...
2
votes
1
answer
295
views
Fit brackets around a fraction expression
The following code:
\{ \frac{m}{n} \}
creates a fraction that is larger than the brackets:
how do I fit the fraction inside the brackets?
4
votes
2
answers
164
views
tikz-cd: Put brackets/parentheses around one column of diagram?
I would like to put parentheses around one column of a tikz-cd diagram — something like the diagram in the example below, but with the second set of parens around just the left-hand vertical of the ...
1
vote
1
answer
81
views
mtpro2 (MathTime Professional Fonts II) special braces [closed]
Many texts that use the mtpro2 style make braces like this:
(Elementary Number Theory by David Burton, 7th edition). There is also James Munkres' Topology:
I've read all the mtpro2 manuals, but only ...
4
votes
0
answers
103
views
Is there a “big” command for square brackets as large as `\left[ … \right]`?
I have the following LaTeX code (using amsmath and amssymb):
\documentclass[12pt]{article}
\usepackage{amsmath,amssymb}
\begin{document}
\[ \sum_{n=1}^{+\infty} \frac{\left(1 + \sin
\frac{1}{...
6
votes
3
answers
328
views
Bracket covers sum limits using mathclap environment
I have the following code:
\documentclass{article}
\usepackage{mathtools}
\begin{document}
\[S_1 = \frac{1}{2} \left(\sum_{\mathclap{i = n + 1}}^{n + m} a_i t_i \right)\]
\end{document}
And it ...
1
vote
1
answer
73
views
Appropriate style for two limits with two brackets
I wanted to know which of the two styles is more elegant when I have this form
\documentclass{article}
\usepackage{amsmath,amssymb}
\begin{document}
\begin{align}
\lim_{n \to \infty} \bigl( \lim_{x \...
1
vote
2
answers
69
views
bropd and yathesis compatibility
I usually use the bropd package, which provides an automatic way to alternate different kinds of brackets with the \br command. They even automatically change size to accomodate their content. This ...
0
votes
2
answers
108
views
operators/functions with paired parentheses - getting the spacing right
I subscribe to the school of insisting on parenthesizing arguments of functions when describing their application, i.e. never $\sin \myarg$, but rather $\sin (\myarg)$. But actually, that's generally $...
4
votes
1
answer
92
views
latexindent nested brackets in forest / prooftrees with justified end of line
I would like latexindent to format the following code with the brackets nested properly and the just={.*} left justified at the end of the line (like \\ in a tabular).
Original code:
\begin{...
5
votes
2
answers
341
views
Extra space after \left…\right workaround with \vphantom in LaTeX
I want to ensure that brackets grow properly around their contents, so I’ve been using \left...\right together with \vphantom.
For example, I transform a simple expression like (\frac12) into
\left(\...