Questions tagged [brackets]
{brackets} is about different brackets, their usage and functionality in (La)TeX.
800
questions
0
votes
1
answer
51
views
Spacing and brackets [duplicate]
I know this is a duplicate but I can't find the original post.
Square brackets do not display with the correct spacing around = or \cong.
For example :
$[0,1[ \cong [a,b[ \hspace{5ex} ]0,1] \cong ]a,b]...
0
votes
1
answer
38
views
Disable the size changing of \vec
I would like to use this macro :
\newcommand{\norm}[1]{\left\lVert #1 \right\rVert}
But doing
\norm{\vec F}
\lVert \vec F \Rvert
Yields to this
Obviously \vec is changing the "size" of ...
1
vote
1
answer
38
views
text mode native big parens
Continuing https://tex.stackexchange.com/a/674616, can we get big text-mode round parens for
[pdf]latex, or
{xe|lua}latex
natively (i.e., without scaling/stretching as in https://tex.stackexchange....
0
votes
1
answer
56
views
Making *all* brackets scalable in a LaTeX document [duplicate]
It is possible to have a pair of brackets adjust to their content by typing \left and \right before the respective brackets, whether they're round, square or curly, or even if they're special brackets ...
1
vote
1
answer
31
views
right brackets for two common equations
I'm using right brackets for two common equations but I cannot align them:
The result is the following
Thanks for your help!
Best,
Rubén
\begin{equation}
\begin{split}
&y_e=Y_e e^{i(k_e x-\...
8
votes
2
answers
378
views
Square curly bracket symbol
I would like to create "square-curly bracket" delimiters, somehow looking as in this question. I came up with the code below, which produces some good results, but has also some ...
4
votes
2
answers
112
views
Wacky Behaviour for \csdef
I am using \csdef{} to define a meaning to a given open/close bracket:
\csdef{Bracket Meaning \CsToStr{\lvert}}{Left |}
\csdef{Bracket Meaning \CsToStr{\rvert}}{Right |}
\csdef{Bracket Meaning \...
0
votes
1
answer
28
views
How to create multi-line inside the bracket
something like this: How to create mulitl-line inside the bracket
2
votes
2
answers
149
views
How do I draw big square brackets around forest nodes?
I'd like to write node features between big square brackets in a tree (I use forest), as in the example below. What function could I use?
0
votes
0
answers
40
views
Biblatex blue hypertext citation with \cite and \textcite [duplicate]
I am writing to you because I have a small problem with latex.
I would like to ensure that the citations in the text of my documents are hypertext links (in blue) leading to the bibliography. The ...
2
votes
2
answers
155
views
using left and right raises missing $
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\title{hello}
\author{Jamesk}
\date{Jan 2023}
\begin{document}
\maketitle
\section*{introduction}
Lets define etities, ...
0
votes
0
answers
7
views
Citations: from AUTHOR (YEAR : PAGE) to (AUTHOR [YEAR : PAGE] )
I'm writing an essay using \usepackage[backend=bibtex, style=authoryear-icomp]{biblatex} and \DeclareFieldFormat{postnote}{#1} \DeclareFieldFormat{multipostnote}{#1} \renewcommand\postnotedelim{\...
2
votes
1
answer
38
views
Turn parenthesis
I would like to turn the parenthesis around in the following code:
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{decorations.pathreplacing,calc,tikzmark}
\begin{document}
\hfill\tikzmark{...
1
vote
1
answer
37
views
Help!! I don't know why the right bigg bracket is not encapsulating everything while the left worked [duplicate]
\documentclass[a4paper, openany, oneside, 12pt]{report}
\usepackage{makecell}
\begin{document}
\begin{adjustbox}{width = 1 \textwidth}
\large
\begin{tabular}{c|c|c|c}
\hline $(2,1, 1)$:= $1^1 2^2$ &...
1
vote
1
answer
67
views
Right bigg bracket
How can I do the right bracket like that of the left hand side?
0
votes
0
answers
17
views
How to use a big right bracket inside a \makecell package of a table [duplicate]
How to force the left bracket to encapsulate the whole values just like the left one
1
vote
1
answer
68
views
How do I get only two dots using \ldots
I tried searching how to obtain only two dots with \ldots, but could not find it online. My aim is to achieve [a..b] to represent an interval of integers.
0
votes
2
answers
48
views
\equationautorefname not working (hyperref package)
It's one hour that I'm trying to change the name of reference from "Equation 1" to "(eq.1)". I found the following code
\usepackage{hyperref}
\def\equationautorefname~#1\null{...
0
votes
1
answer
104
views
align equations with curly bracket
I 'm trying to align "=", but I have problem with the curly brackets.
I tried this code:
\documentclass{article}
\usepackage{amsmath}
\usepackage{mathtools}
\begin{document}
% amsmath
\...
1
vote
3
answers
94
views
How to bracket the four corners of a letter?
How do I make what is in this picture.
2
votes
2
answers
139
views
LaTeX uneven bracket
LaTeX has a command that automatically formats bracket (or parentheses, ...) to the size of what's inside them. For example :
\left\{\sum_{n\in\N}f_n(x)\right\}
Yields $\left{\sum_{n\in\N}f_n(x)\...
0
votes
0
answers
35
views
How to enable brackets "()", "[]" and "{}" autocompletion in WinEdt editor?
I want brackets auto-completion in LaTeX. For example, when I typed (, I want ) appear automatically. There was a post very similar, and I tried like Ulrike Fischer answered: go to the ActiveStrings....
6
votes
2
answers
246
views
Custom \big command
I have a lot of equations with double parenthesis and I want the outside one to be bigger. I've been using:
\big(w(B)\big)
which gives me this result
But my obsession was killing me, I didn't like ...
4
votes
2
answers
212
views
Spacing of parentheses in pmatrix
Commonly, we type matrices as \begin{pmatrix} ... \end{pmatrix}. However, pmatrix is restricted to at most 10 columns. If the matrix has more, we get an error ! Extra alignment tab has been changed to ...
0
votes
1
answer
32
views
How to correctly set round brackets size in small caps font?
Let us consider my code:
\documentclass{article}
\usepackage[intlimits]{amsmath}
\usepackage[T1]{fontenc}
\usepackage{pifont} % for dingbats
\usepackage{erewhon}% extension of Utopia,
\usepackage[...
0
votes
1
answer
52
views
Parentheses in text mode around multiple lines
I would like to enclose multiple lines of text (not in math mode) around parentheses (like in the image). How could i do that?
2
votes
3
answers
591
views
How to make vector length look better?
How to make it look better:
Code:
$$\left|\overrightarrow{a}-\overrightarrow{b}\right|^2=\left|\overrightarrow{a}\right|^2+\left|\overrightarrow{b}\right|^2-2\left|\overrightarrow{a}\right|\left|\...
1
vote
1
answer
59
views
Problem with double integration
I was trying to type a double integral as follows:
\documentclass{article}
\begin{document}
\[
x=x_0+\int_{t_0}^{t} u_0 +\frac{1}{m} \int_{t_0}^{t} F(t) \,dt \,dt
\]
\end{document}
I would like ...
3
votes
2
answers
136
views
poorly sized square brackets due to equation over two lines -- how to equate their sizes?
Consider the following:
\documentclass[12pt,a4paper,oneside]{book}
\usepackage{amsfonts, graphicx, verbatim, mathtools,amssymb, amsthm, mathrsfs,amsmath}
\begin{document}
\begin{align*}
M_3&=\frac{...
2
votes
1
answer
431
views
How do you typeset "banana" brackets?
I'm looking to place an equation between so called "banana" brackets, that look like the ones in this question.
How can I do that?
1
vote
1
answer
64
views
ArabLuaTeX brackets and empty line
Here's a strange behaviour when using square brackets, only in the {arab} environment when an empty line precedes the brackets.
This is how the problem output looks
It happens only with square ...
5
votes
1
answer
287
views
Why I get brackets different in the size?
I typed
\begin{gather*}
\frac1{1-x}\sum_{n=1}^\infty\left[H_n^3-3H_nH_n^{(2)}+2H_n^{(3)}-\left(H_n-
\frac1n\right)^3\right.\\
\left.+3\left(H_n-\frac1n\right)\left(H_{n}^{(2)}-\frac1{n^2}\right)-2\...
4
votes
2
answers
257
views
Define a command with arguments that have a behaviour if called without arguments
It is possible to define a command like \Sign that would work the following way?
\Sign do \mathsf{Sign}
\Sign{foo} do \mathsf{Sign}\left(foo\right)
I specifically want this for functions: the ...
1
vote
1
answer
66
views
How to get hat enclosed in parenthesis
How can I define a command that would put hat with parenthesis over its argument? The command has to work in a math mode. I know that question is very similar to this one but I did not manage to ...
0
votes
1
answer
35
views
Adjust space in front of opening bracket
How can I globally reduce the space in front of the opening bracket, i.e. between M and [? I have to set the brackets with \left[ and \right]. I know that I individually can insert a negative space by ...
0
votes
1
answer
55
views
How can I correctly indicate a math notation inside parentheses in text?
I want to indicate a mathematical notation inside parentheses to define meaning like job (j).
Here, I observe that paranthesis inside and outside of dollar sign differs from each other. I get lost, ...
1
vote
0
answers
32
views
Vector arrow over b is bad when closing parenthesis
I've noticed that a vector arrow over the letter b is always very bad looking when b is followed by a closing parenthesis. It looks that this is a unavoidable uglyness... someone got some clue about ...
0
votes
0
answers
43
views
Chemfig polymer brackets without compiling twice
I'm working on the following picture:
\documentclass{standalone}
\usepackage{tikz}
\usepackage{chemfig}
\begin{document}
\schemestart
n \quad \chemfig{C(-[3]H)(-[5]H)=C(-[1]H)(-[7]H)}
\...
10
votes
1
answer
395
views
lbrack, rbrack vs [ and ]
Question: What's the difference between \left\lbrack1,2,3\right\rbrack and \left[1,2,3\right]? Why would I use one versus the other?
I recently started using mathlive, a WYSIWYG LaTeX editor, for a ...
0
votes
1
answer
34
views
in-text citation: How to get (Text, Citation) in one bracket
I am trying to get the following:
....United States of America (USA, Example et al., 2017).
So I would like to have an abbreviation as normal text and a citation within one bracket unfortunately I ...
1
vote
0
answers
45
views
Is there some trick to check for unbalanced parentheses? [duplicate]
Good evening!
I was just about to hand in my master's thesis, when I realized that I had a case of $(...(...)$ in a formula. As a consequence, I would be very interested to find similar instances of ...
3
votes
0
answers
54
views
Diminishing size of nested brackets
I'm writing in a notation that uses lots of nested brackets, e.g. [[], [[]], [[], []]]
This easily gets difficult to read and is a lot more readable when written like $\Bigl[ \bigl[ \bigr], \bigl[ [], ...
0
votes
0
answers
25
views
How do I control position of horizontal curly bracket in Latex [duplicate]
I am writing an equation using mathjax in Quarto (Windows 10 environment, uses TinyTeX, is based on TexLive) but do not know how to control the position of the horizontal curly brackets. What I want ...
0
votes
2
answers
177
views
Tables side by side with big curly brackets
I'm trying to re-create the following design in LaTex:
How could I do it?
1
vote
1
answer
73
views
is there a way in preamble to modify/reduce the white space between letter followed by closed parenthesis ( and )?
For me, I think Latex puts too much space between the function name and its arguments when using \left( and \right) compared to just ( and ). I'd like to get same space as with the second case.
The ...
1
vote
1
answer
65
views
How do I cite both name and year in parentheses in sn-jnl?
I want to cite the name and year of publication in parentheses in sn-jnl. However, the various options that I have tried return an index number in brackets only:
\documentclass[pdflatex,sn-mathphys]{...
0
votes
0
answers
83
views
Bracket in the shape of a horse bow
I'm wondering how to make a bracket that looks a bit like "(" and ")" but with the middle part curving inwards a bit. The result should look like a horse bow. This is not to be ...
4
votes
3
answers
150
views
Columns with a Right Parenthesis
I want to arrange my frame as shown in the attached figure. However, despite the idea, I don't know how to do that. Please help me out.
The left and right columns need not be framed. I used frames ...
1
vote
2
answers
56
views
Math mode: square bracket strange behaviour
Can you see as the content is not aligned with square brackets?
\documentclass[12pt]{article}
\usepackage{amsmath}
\begin{document}
\[
\left[ \dfrac{1}{\dfrac{\mathrm{L}^3}{\mathrm{t}}} \right]
\]
\...
0
votes
0
answers
39
views
Brackets and circumflex in TikZ coordinate calculations [duplicate]
What's the difference between
\draw[domain=-3:2] plot(\x,{-0.07*(\x)^4+1.51*(\x)^3-9.58*(\x)^2+23.94*(\x)-17.59});
and
\draw[domain=-3:2] plot(\x,{-0.07*\x^4+1.51*\x^3-9.58*\x^2+23.94*\x-17.59});
?
...