Questions tagged [brackets]

{brackets} is about different brackets, their usage and functionality in (La)TeX.

Filter by
Sorted by
Tagged with
0 votes
0 answers
79 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 ...
Zach Czajkowski's user avatar
4 votes
2 answers
97 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 ...
studying mathematics 's user avatar
3 votes
2 answers
81 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 \...
Sylvia's user avatar
  • 151
4 votes
1 answer
73 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 ...
Fredrik P's user avatar
  • 1,386
2 votes
1 answer
81 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 ...
Axia's user avatar
  • 69
8 votes
3 answers
446 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}{...
Crob's user avatar
  • 91
-1 votes
2 answers
108 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}{...
Euclides's user avatar
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}\...
M a m a D's user avatar
  • 191
0 votes
0 answers
42 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 ...
fauve's user avatar
  • 2,457
2 votes
1 answer
91 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{...
Alezigl's user avatar
  • 343
5 votes
2 answers
136 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} \...
Alezigl's user avatar
  • 343
0 votes
0 answers
28 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 ...
Joshua Then's user avatar
2 votes
1 answer
84 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 ...
Justin Murante's user avatar
0 votes
0 answers
17 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{...
Joshua Clements Sci-Tek's user avatar
0 votes
0 answers
18 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"...
Ommo's user avatar
  • 537
9 votes
4 answers
328 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. ...
shuhalo's user avatar
  • 2,505
1 vote
1 answer
42 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 ...
HyperQ's user avatar
  • 13
8 votes
4 answers
922 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 ...
Alezigl's user avatar
  • 343
2 votes
1 answer
67 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 { ...
Alezigl's user avatar
  • 343
1 vote
1 answer
61 views

How to make a matrix with \llfloor and \rrfloor and how to make smaller distance between two curly brackets?

I am working on brackets. 1) I want to make a smaller distance between curly brackets like this $\{\!\!\{A, B\}\!\!\}$ in equation \begin{equation} \left\{\left\{\begin{array}{l} A \\ B \end{array}\...
Alezigl's user avatar
  • 343
1 vote
0 answers
79 views

Newtxmath: superfluous space in “ℤ)” [duplicate]

Using TeX Live 2023 as of 2023-08-23 (also as of 2023-08-25), feeding pdflatex with \documentclass{article} \pagestyle{empty} \usepackage{newtxmath}% v1.723, 2023/07/30 \begin{document}% The matrix ...
AlMa0's user avatar
  • 479
5 votes
1 answer
235 views

Parenthesis sizing within macro

I have a macro that typesets its arguments inside a set of parentheses \left(...\right). For simplicity, let's say it's \newcommand{\func}[1]{ \ensuremath{ f \left( #1 \right) } } Sometimes, the ...
avid's user avatar
  • 151
5 votes
1 answer
425 views

How can I color just the outside \left and \right brackets?

\documentclass{article} \usepackage{amsmath} \usepackage{xcolor} \begin{document} \[ \left( \frac{-b \pm \sqrt{b^2 - 4ac}}{\textcolor{red}{2a}} \right) \] \end{document} Above I have a simple ...
K Split X's user avatar
  • 671
0 votes
0 answers
27 views

How to draw graphs with arrows, points, and curly brackets

I am trying to learn how to use tikz package to draw these two graphs, but I don't know how to start. Could anyone help show how to this kind of graphs? Thanks.
Kelvin Hu's user avatar
3 votes
3 answers
339 views

Drawing complex nested brackets, horizontally curled

I wanted to input those nested brackets in this pattern on a portrait-oriented page, which means they are supposed to be upright: Any idea how to implement this? UPDATE: I actually lost hope in doing ...
Stefan Bock's user avatar
5 votes
1 answer
85 views

Writing a tex package for better auto brackets

The automatic brackets sizing provided by \left ... \right really often produces too large brackets. I want some package that for a given formula finds the right bracket size selected from \big, \Big, ...
Nicolas's user avatar
  • 59
5 votes
2 answers
365 views

How to put square brackets inside a table?

Assuming I have a table like this, \documentclass{article} \usepackage{amsmath} % for "\text" macro \newcommand{\smbullet}{{\scriptscriptstyle\bullet}} \begin{document} \begin{table*}[!htb] \...
Yetkin Pulcu's user avatar
3 votes
1 answer
108 views

\left. and \right. delimiter is not working

I wanted to make one long equation over two lines, since the right hand side was very big, and tried to surround the entire right hand side with {} brackets, but failed to do so with the following ...
ArkanineOkhotsk's user avatar
0 votes
0 answers
44 views

Bold round/first brackets

In the springer undergraduate lecture series, the books have very nice bold round/first brackets. Like the following How do I get this type of bold round brackets in LaTeX?
Faber Bosch's user avatar
0 votes
0 answers
23 views

Get verbatim file content into exif data trought hyperref

The goal I have the following external main.bib file containing: @book{fauve2023TheSuperBook, title = {The Super Book}, author = {Fauve}, publisher = {MadPublisher}, year = {3 June 2023} } I ...
fauve's user avatar
  • 2,457
1 vote
1 answer
48 views

Supposed missing brackets

I don't understand Overleaf's two complaints with the following code. It says that it has inserted a missing { and a missing }. Would someone please explain? %%%%% Preamble %%% Document class, ...
Noah J's user avatar
  • 483
2 votes
2 answers
36 views

book and algorithm2e chapter name containing square brackets

Here a minimal example: \documentclass{book} \usepackage{algorithm2e} \begin{document} \chapter{Test [broken]} \chapter[]{Test [not broken]} \end{document} which produces for me: I am using ...
Arne's user avatar
  • 945
1 vote
1 answer
88 views

How can I do a table with curly braces on the side?

I need to recreate this structure as seen in the image.
Cherry's user avatar
  • 41
3 votes
2 answers
195 views

Double brackets {{ }} [duplicate]

How to type the double bracket '{{b, a}}' in tex just as the picture below?
W. mu's user avatar
  • 133
0 votes
0 answers
29 views

How to define new fully-functional math brackets in Latex?

How do I create mathematics paired delimiters such as $()$ or $\langle \rangle$ that satisfy all the functionality of those standard delimiters (by which I mean fully functional)? In particular, I ...
shuhalo's user avatar
  • 2,505
0 votes
0 answers
25 views

Large curly bracket on the left of alignat environment [duplicate]

I have read this post Need left large curly bracket that allows alignment in align environment and known the cases environment. Now I have an align environment and hope that there is a large curly ...
Little_Ye233's user avatar
5 votes
2 answers
240 views

Multi-line equations in 'aligned' environment with ampersand (&) inside \left-\right parenthesis

I know how to use the ampersand in align and aligned environments to write multi-line equations. In this case I need to use \left[ and \right] to contain an expression on the first line, and I want ...
Simone's user avatar
  • 51
2 votes
2 answers
70 views

cancelto goes outside of the brackets

Here is a simple equation: \begin{equation} \delta\psi=c\left(\int a\delta b dR+\cancelto{O^2(a)}{\int b\delta a dR} \right) \end{equation} and the cancelto part goes ouside of the right bracket. ...
yangyang's user avatar
  • 199
1 vote
1 answer
44 views

Signs outside brackets in the chemfig environment

I'm using chemfig environment inside Latex and I have a big molecule inside brackets. I need to put a plus sign outside the brackets. \chemleft( \chemfig{*6(---=--)} \chemright) (The plus sign must be ...
Juan Michalowski's user avatar
1 vote
1 answer
43 views

Nested parenthesis - acronym package

I am using the acronym package for translations but I am facing nested parenthesis problems. The code: \usepackage[printonlyused, withpage]{acronym} \acro{RTS}{Real-Time Systems} Sistemas de ...
jamilev's user avatar
  • 13
4 votes
1 answer
145 views

How to insert right curly bracket for several lines of text (no math)?

I have a text in a tcolorbox for some part of it I want to give some explanations. Please see MWE below. I have some questions (please feel free to answer anyone of them, not all): How can I insert a ...
miltos's user avatar
  • 2,450
3 votes
2 answers
98 views

How to combine two lines into one line using closing brackets in a case environment with 3 lines?

For example, in LaTeX, I have three conditions in one "cases" environment. Then I could get a new condition from the combination of the first and the second conditions, so I want to use a ...
Hao Ren's user avatar
  • 33
0 votes
1 answer
89 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]...
Flowt's user avatar
  • 181
2 votes
3 answers
85 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 ...
Nolord's user avatar
  • 111
1 vote
1 answer
46 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....
user avatar
0 votes
1 answer
250 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 ...
GPWR's user avatar
  • 267
1 vote
1 answer
34 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-\...
Rubén Picó's user avatar
8 votes
2 answers
500 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 ...
Watson's user avatar
  • 870
5 votes
2 answers
133 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 \...
Peter Grill's user avatar
0 votes
1 answer
35 views

How to create multi-line inside the bracket

something like this: How to create mulitl-line inside the bracket
Nish's user avatar
  • 125

1
2 3 4 5
17