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
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
30 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,437
2 votes
1 answer
80 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{...
Alezig's user avatar
  • 303
5 votes
2 answers
123 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} \...
Alezig's user avatar
  • 303
0 votes
0 answers
27 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
67 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
14 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
17 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
  • 481
9 votes
4 answers
314 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,485
1 vote
1 answer
36 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
912 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 ...
Alezig's user avatar
  • 303
2 votes
1 answer
65 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 { ...
Alezig's user avatar
  • 303
1 vote
1 answer
54 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}\...
Alezig's user avatar
  • 303
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
  • 439
6 votes
1 answer
229 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
  • 161
5 votes
1 answer
417 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
  • 641
0 votes
0 answers
23 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
338 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
77 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
346 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
83 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
40 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,437
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
  • 443
2 votes
2 answers
31 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
  • 925
1 vote
1 answer
78 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
170 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
28 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,485
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
227 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
64 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
43 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
40 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
130 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
93 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
83 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
81 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
42 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
165 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
466 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
131 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
2 votes
2 answers
204 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?
Tom's user avatar
  • 137
0 votes
0 answers
42 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 ...
Eliot Wendling's user avatar
2 votes
2 answers
170 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, ...
james2471993's user avatar
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{\...
sparxy's user avatar
  • 1
2 votes
1 answer
43 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{...
HelloEveryone's user avatar
1 vote
1 answer
43 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$ &...
Memristor's user avatar
1 vote
1 answer
77 views

Right bigg bracket

How can I do the right bracket like that of the left hand side?
Memristor's user avatar

1
2 3 4 5
17