Questions tagged [brackets]

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

Filter by
Sorted by
Tagged with
1
vote
2answers
37 views

Adjacent large square brackets with text in tikzpicture

Call me thick but, how do you tweak the code in the answer here so that brackets are adjacent, e.g., one starts at, say, point (0,0) and ends at point (2,0) and the next one goes from (2.5, 0) to (3.5,...
4
votes
1answer
48 views

Fix inconsistent matrix parentheses size in stix2

As the development of stix2 seems inactive, I want to find at least a local fix for this Problem: Parentheses in bigger matrices are too big as in the following example which was compiled from the ...
0
votes
0answers
28 views

Use parentheses from stix2 but keep matrix parentheses

I use newtxmath, but I don't like the parentheses. Like in this question I'd like to replace them with the parentheses from stix2 (or txfonts which has quite similar parentheses). I managed to do ...
0
votes
1answer
39 views

alternative LaTeX-code for round parenthesis ( )

For square brackets one can use \lbrack \rbrack instead of [ ] Is there also an alternative LaTeX command to get normal parentheses (i.e. round brackets) instead of ( and ). Is there a better / more ...
-1
votes
3answers
108 views

Chemical formula - how can I write parentheses?

I want to write the following chemical equation in Latex: I'm trying to put the parentheses in (): \documentclass[fontsize=11pt]{article} \usepackage{braket} \usepackage{pdfpages} \usepackage{...
0
votes
0answers
38 views

What's the proper height for brackets around integrals and summations?

What's the proper height for brackets around integrals and summations? Are there typesetting convetions for these cases? E.g., I have this equation: \documentclass[11pt]{article} \usepackage{amsmath}...
1
vote
1answer
51 views

Brackets with given height

In some very very very restricted cases, "cum grano salis", I'd like to manually adjust some brackets heights. The idea is to have a single macro that accepts an argument with the correct horizontal ...
0
votes
0answers
36 views

Redefining \big, \Big etc. to \left and \right locally, A (quasi) real case example

Lets say I'm reviewing the layout of a paper (I'm not the author) and I have this code: \begin{align} \Delta_s^- &= \frac{|t_s|^2}{2U} \int_{\vec k} \frac{1 }{\omega_U^2} \Bigg[\frac{ h_s(\...
0
votes
0answers
50 views

Can I use \@ifnextchar to redefine \big macro to \left or \right?

This question is relate to Conditionally redefine \big, \bigg, etc. to \left or \right (locally). I'd like to redefine the \big macro respectively to \left, when followed by (, [, and \{, and \right, ...
0
votes
0answers
23 views

The checkboxes for many of the settings are gone making it impossible to adjust some settings

I was wanting to turn off auto-completion of parentheses but can't because there is no checkbox to click. I tried going into the profile and changing the profile setting Editor\Parentheses%...
0
votes
0answers
47 views

Math mode brackets `\[…\]` without centering

I'd like to be able to put math mode in distinguishable opening and closing brackets, like \[...\], instead of $...$, but the problem is, \[...\] seems to be auto-centering the equation. Is there a ...
2
votes
1answer
33 views

Align operators inside big brackets - using alignat*

The obvious alignment would be the = and the + signs, however, I do wish to align the es). alignat* allows me to alternate between right and left alignment, so I can have right alignment before the es ...
2
votes
1answer
38 views

Adding curly bracket in pgfplot

A few days ago, I was trying to draw some graph to illustrate the epsilon-delta of the limit. As I am just starting to learn how to use pgfplots and tikz, I wasn't able to do it myself, nonetheless, I ...
2
votes
1answer
66 views

How do I position horizontally and vertically repeated brackets where text not lined up with centre

I am trying to replicate a diagram in a paywalled article and I'm having problems. It's using repeated curly brackets to demonstrate a hierarchy. But, because the ideas at each level in the hierarchy ...
0
votes
2answers
50 views

Cannot make bigger parentheses with \left \right

I try making my second pair of parenthesis bigger to match the picture using: $$= p+(1-p)\left(1+ \mathbf E [X]\right)$$ Somehow, that doesn't work. Can someone point out my error?
2
votes
1answer
39 views

Increase spacing between custom \left and \prod & \sum

I slightly modified the spacing around \left and \right as described here. \let\originalleft\left \let\originalright\right \renewcommand{\left}{\mathopen{}\mathclose\bgroup\originalleft} \...
1
vote
2answers
53 views

Add space between italic/smallcaps glyph and upright parenthesis

I'm typesetting a document where unavoidably there are upright parentheses in the middle of italic or smallcaps words, like th(is) \textit{th}(\textit{is}) (or the same with \textsc). In only these ...
0
votes
0answers
29 views

numbering parenthesis in lstlisting mode

I am typesetting LISP/Scheme code in latex using the lstlisting package. I would like each opening and closing parentehsis to be be numbered, starting with 1 (and for a balanced sexpr, also ending in ...
3
votes
1answer
103 views

When using vector notation, why do I get double braces around my fractions?

I am trying to format a vector gradient with two fractions in it but unfortunately I get it displayed with double braces around the two fractions. Here's my LaTeX: \nabla f = \left( \begin{pmatrix} \...
1
vote
1answer
58 views

\big parenthesis not much bigger than simple parenthesis in 11pt font [duplicate]

I frequently use simple and larger parenthesis in math mode, like what is shown in the MWE below: \documentclass[11pt,letterpaper,twoside]{book} \usepackage{lmodern} \usepackage{amsmath} \usepackage{...
2
votes
2answers
66 views

Small ceiling brackets

I need to find a way to insert small ceiling brackets in a text, but I don't find any command to do it. I'd need the brackets to look like the ones in the second line around MES and MU.36: I tried ...
0
votes
1answer
35 views

Define new bracket style that works with \big and co?

How to define new brackets that work in conjunction with \big, \Big, \bigg, etc? For example, if I do \newcommand\laangle{\langle|}, then \big is going to affect only the \langle-part in \big\laangle ...
0
votes
0answers
36 views

Default to “matched parenthesis” [duplicate]

I find it very annoying that one needs to explicitly inform TeX about matched parenthesis with \left and \right. Is there a clean and elegant way to make it the default? I guess I should be forced to ...
0
votes
0answers
30 views

Big { bracket for 2 cases of graphics

I want to add a big square bracket { before two graphics which unify them. I tried with align and cases but didn't work. I am using beamer environment and columns: \column{2in} \framebox{\...
2
votes
1answer
37 views

How can I modify the apalike bibliography style to remove parentheses of year?

I am using apalike biblography style, I would like to remove the parentheses from the year, so that the reference should look like: Aggarwal, R., Kearney, C., and Lucey, B. 2012. Gravity and ...
3
votes
1answer
100 views

Shift brackets up for fraction in superscript

The code \documentclass{article} \begin{document} \[ E \left[ e^{\frac{\sigma^2 \lambda^2}{2}} \right] \] \end{document} produces brackets that symmetric(-ish) around the x-height, so they include ...
0
votes
0answers
57 views

How to resize delimiters in arbitrary amount?

I want to define a macro, like This post of @egreg. but it reduces the size of delimiters to "delimiter-height/1.618" (height of tallest delimiter divided by golden ratio) when delimiters are bigger ...
0
votes
0answers
17 views

defining a command for fitted round brackets

I am recently using \left( and \right) too often, so I was wondering if there is already defined macro for a fitted round bracket in any package? Or if someone could help me define such a macro. I was ...
1
vote
0answers
74 views

Periodic Table code not working

Good evening, I wanted to run the following code (it's part of the PSTRICKS Examples list, so you can check it for free) but it does not work. There are two errors, in lines 165 and 390 which I do ...
2
votes
1answer
44 views

Equation split with bracelet over one line

I have a problem getting my equation typed the right way. Following Code: \documentclass[11pt,a4paper,DIV=calc]{scrartcl} \usepackage[autooneside=false,automark,markcase=ignoreuppercase,headsepline,...
2
votes
1answer
27 views

Extra.label within brackets after year in Bibliography

This is a follow up question to Year in bibliography with brackets, where I also took this MWE from. \documentclass[pdftex,a4paper,12pt,german]{book} \usepackage[german,ngerman]{babel} \usepackage[...
5
votes
2answers
163 views

Bourbaki assembly brackets

In the "Theory of Sets" of N. Bourbaki in russian translation I've found that assemblies have very cute brackets. If anyone knows how to produce them? The only similar shape I found is \...
0
votes
1answer
32 views

Straing pair of square brackets “[]” above the list of references

Running the following MWE, I get a pair of square brackets "[]" above the list of references. Why? Here's my MWE: \documentclass[12pt]{article} \usepackage{tikz} \usepackage{url} \usepackage{float} ...
1
vote
1answer
40 views

vim/vimtex editing text in curly braces

What is the fastest way to edit the content of braces in vim. I use the vimtex plugin. I'm looking for a similiar way like 'cit' (change in tag) does for HTML editing. For example: \title{Some ...
0
votes
0answers
26 views

Is it possible to resize the theorem title parenthesis?

I currently am declaring theorems as follows: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \newtheorem{theorem}{Theorem}[section] \begin{document} \begin{theorem}...
4
votes
1answer
35 views

How to get a single left curly bracket that spans an array without a corresponding right closing curly bracket

I am trying to put an array inside a single left curly bracket I can make it work when it is closed by a right curly bracket like so \begingroup\Large \begin{equation*} y_{GxBxP|G[i,j,k|i]} = \left\{...
0
votes
1answer
45 views

Add square brackets around reference numbers

I am using TexStudio with .bib file for writing references. I am using bibliography style as iet. I get the references as shown below: However, I wish to add square brackets around the references ...
0
votes
2answers
39 views

writing an array and group the contents using curly brackets

I want to write down the following equation: my try is this: \documentclass[preview, border=1pt, convert={outext=.png}]{standalone} \usepackage{amsfonts} \usepackage{mathtools} \usepackage{amsmath} \...
1
vote
1answer
37 views

How to Solve Error With Square [] Brackets on New Line in Header

In the table below, if I move the units in the square brackets to the next line in the header (e.g. [mg/g] on a new line), I get an error. However, if I use curved () brackets instead, there is no ...
1
vote
2answers
45 views

color curly braces in listing

I want to change the color of some part of the code in listing. Here is the MWE I have tried: \lstdefinestyle{mystyle} {escapechar=\%} \lstset{style=mystyle} \lstinputlisting{Pro/Code.java} Inside ...
3
votes
1answer
52 views

(Solved, New) Parenthesis while using subfig and autoref

MWE first. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{hyperref} \usepackage[subrefformat=simple,labelformat=simple]{subfig} %\newcommand{\subfigureautorefname}{\...
10
votes
7answers
909 views

Big Bracket for equations

How can I add the big bracket at the side of my equations, just like in the photo? Below is my code for the equations. \begin{align} \frac{dS_d}{dt}&= A + \lambda_dR_d + \sigma_d(1-\gamma_d)E_d -...
0
votes
2answers
94 views

Square brackets with BibLatex in text and bibliography

I have read many related posts regarding the issue of having squared brackets with biblatex. Unfortunately, none have made me fully understand how to compute the squared brackets. I know that biblatex ...
0
votes
2answers
31 views

Problem with small brackets in `case` and `array` environment [closed]

When I write an equation for cases, the brackets do not adapt to size, they remain very small. Previously I solved a problem with the arrow drawings because I am using Spanish babel. I added \...
4
votes
1answer
83 views

Chemfig: Problem setting brackets for polymers

Hy everybody, I am a newbie in LaTeX so I apologize if the question is not so precisely. I try to draw polymers with the Chemfig package. Everything works fine with except the brackets for the ...
0
votes
0answers
25 views

Creating a bracket [] macro for \ref when using hyperref

I've been trying to add brackets around cross-references in a more automatic manner in my recent report, but haven't been able to do so just yet. A simple \newcommand-macro does not seem to work. I've ...
0
votes
0answers
21 views

format specific table rows: elements in parenthesis

How can I format specific rows of a table, placing every element of such rows inside brackets? I have tried adapting the command that I have seen here in this way: \newcommand{\rowparenthesis}[1]{\...
0
votes
0answers
27 views
0
votes
0answers
17 views

Losing a right bracket when using \\ &\quad to split over two lines [duplicate]

I have a long equation, and here I am giving a sample code that illustrates the problem. \begin{equation} \begin{aligned} \left\{ fhfj \right\} \end{aligned} \end{equation} gives me {fhfj} while ...
1
vote
0answers
18 views

Can I make a larger left bracket? [duplicate]

For statements like the one below, I need a large left bracket to precede the array. \Biggr\{ is not big enough. Ideally I could use \left\{ and make the right bracket white, but there doesn't seem ...

1 2 3 4 5 14