Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [parentheses]

{parentheses} are a kind of {delimiter} used for supplementary information in text and clarifying precedence of operations in math.

1
vote
1answer
32 views

pgfplots: Are parentheses mandatory in axis environments?

Assumed we have this little code snippet: \begin{tikzpicture} \begin{axis}[ date coordinates in = x, table/col sep = semicolon, date ZERO ...
4
votes
1answer
29 views

How to increase the vertical offset of exponent terms with increasing size of parentheses?

I want to be able to write the following expression: But have not been able to do so, since all I can get is: I do not use the fraction of P/E, but rather just the psi. Can you help? EDIT: After ...
3
votes
2answers
118 views

How can I get cleveref to surround references with parentheses automatically?

I use cleveref for in-document references, and find it to be clever. However, I typically want to refer to figures (for example) within parentheses. What I do now is this \usepackage{cleveref} ... X ...
5
votes
1answer
72 views

Parentheses between \big and \Big

Is there a way to create parentheses in math mode that have an extension between that of the commands \big (too small) and \Big (too big)? The amsmath package documentation defines the delimiters in ...
3
votes
1answer
39 views

Add parentheses if double superscript or double subscript

I've already got an answer for Add parentheses if double superscript. I want to go a step further as proposed below. However lualatex complains of “missing $” when using the e{_}-type argument… \...
1
vote
2answers
15 views

Problem redefining hat accent in eulerpx

I want to use eulerpx with the alternative hat accent provided by eulervm (via the euler-hat-accent option). To this end, I copied the relevant commands from eulervm.sty (see also this answer). The ...
0
votes
0answers
16 views

inverting fraction comes out different size [duplicate]

I think I get why the two parentheses/fractions here are not the same size: \left(\frac{3}{p}\right)\left(\frac{p}{3}\right) Screenshot from Mathjax website: Presumably something about the baseline ...
4
votes
1answer
75 views

Kerning with parentheses

Given the MWE below, one can see that the spacing around the parentheses is rather awkward. The opening parenthesis is too close to \cos and \sin, and too far away from the \omega. The closing ...
3
votes
1answer
65 views

Citing twice the same paper in LaTeX (with Biber)

I'm using LaTeX to write my Masters thesis, and I have some issue with the bibliography. I'm using Biber and the style bath. I have a paper (for now, but will probably have more in the same case) ...
5
votes
3answers
562 views

How to align numbers in parentheses

This code aligns the 4 and the -3 roughly centered, i.e., the 4 is centered above the -3. I would like the 4 and the 3 to be perfectly vertically aligned, with the negative sign out to the left and ...
0
votes
1answer
61 views

Big Parenthesis in Latex

So you know how this code: $(\frac{1}{2})$ produces small parenthesis. How would I get bigger parenthesis?
0
votes
1answer
23 views

In-prose bracket styling

For stylistic reasons, I would like to ensure that parentheses use different characters for each level of nesting: ([{}]). I would like this to be upheld in the main body (as well as citations, ...
1
vote
1answer
42 views

How to typeset ``…(e.g. Equation 6)` using cleveref?

I use the cleveref package to produce equation references like Figure 3 and Equation (12). The parentheses for equation references are fine most of the time, but it seems silly when the reference is ...
2
votes
1answer
72 views

smallmatrix between brackets `[]` instead of parentheses `()`

I'm trying to write a math cheat sheet and have to write matrix in a compact way. I saw a very nice piece of answer there. What I want to do know is to set the matrix in brackets [] instead of ...
1
vote
1answer
27 views

Error showing “ ! Missing delimiter (. inserted).” when I am using \bigg

This code is bringing an error: We get, $g\begin{pmatrix}r&0\\0&1/r\end{pmatrix}=\bigg\( g\begin{pmatrix}r&0\\0&1/r\end{pmatrix}\bigg\)^{-1}\Rightarrow g\begin{pmatrix}r&0\\0&...
4
votes
0answers
84 views

Correct Typography: Should Parentheses have same Height as Exponent Numbers or not? [closed]

Which behavior has the correct typography: Should parentheses/brackets have the same height as exponent numbers or not? Example no. 1: [ \si{\square\meter} ] Example no. 2: \left[ \si{\square\...
3
votes
1answer
68 views

Spacing *inside* \left and \right

The simple formula \[ \left(\sum_{k=0}^\infty a_k\right) \] produces an irksome, asymmetrical hiccup. The left paren is just a hair too close to the subscript of the summation and the right paren is ...
14
votes
1answer
233 views

Thickness of Brackets and Parentheses

I try to make all the brackets and parentheses to have the same thickness. Normally, the thickness of brackets and parentheses depends on how many lines of array and thing you will have inside them. ...
-1
votes
1answer
46 views

How to write two rows clip [duplicate]

how can I please write this? I can't find the right name to find it in instructions. Thank you.
11
votes
1answer
148 views

Is there a LuaLaTeX solution to adjust superscript kerning on large delimiters?

Superscripts can sit very far from large parentheses, more for some fonts than others. I am seeking a Lua-based solution to adjust the kerning of math superscripts on delimiters. Here is an example ...
11
votes
3answers
3k views

How can I define a command that uses round parentheses around its arguments?

I defined a command for probability distributions, for example: \usepackage{amsmath} \usepackage{xstring} \DeclarePairedDelimiterX{\RoundBrackets}[1]{(}{)}{#1} \newcommand{\p}[1]{\RoundBrackets{\...
3
votes
1answer
86 views

Inverted parentheses in RTL text in LuaLaTeX

I want to typeset Hebrew (RTL) text (either within LTR paragraphs or in its own RTL paragraphs) in LuaLaTeX. I manage to do this well with XeLaTeX using the bidi package, but when I use LuaLaTeX’s ...
2
votes
1answer
66 views

Size of brackets containing subscripts with descender

When placing a_j in \left(...\right), the dynamic parentheses scale to bigl(...bigr). How can I tell LaTeX to treat subscript j (and J, f, g, p, q, y) as if it had no descender? I'm using LyX which ...
0
votes
1answer
242 views

How to remove parentheses from article year for numeric-comp style (biblatex)

I am using numeric-comp style. But the year for article has parentheses whereas year for 'incollection' and 'inproceedings' do not. I am a beginner at LaTeX and would like to remove the parentheses ...
4
votes
1answer
33 views

Add parenthesis () around counter, remove period from Example

I have a hard time formatting my text in Latex. I am trying to add parenthesis to my counters. This should be a working example: \documentclass[paper]{paper} \usepackage[ngerman]{babel} \usepackage{...
1
vote
1answer
86 views

Formatted references: How to put “Year of publication” in round parentheses rather than square brackets

Currently my reference appear in the References Aggarwal, C. C. [2015], Data Mining: The Textbook, Springer Publishing Company, Incorporated. Han, J. [2005], Data Mining: Concepts and ...
0
votes
0answers
39 views

Remove Parenthesis from text at the end of a table

How do I remove the automatic parenthesis of the text at the end of my table? \documentclass[a4paper]{article} \usepackage[left=35mm,top=26mm,right=26mm,bottom=15mm]{geometry} \usepackage[hmargin=2....
2
votes
2answers
79 views

Round parentheses in math mode when using kpfonts

I am trying to write a simple equation that contains fractions, square roots and parentheses. However the output is ugly I'd say I tried reducing the space on the nominator using a user-defined ...
2
votes
2answers
232 views

How to adjust parenthesis thickness without changing the font?

I use kpfonts, and equations like \left(\frac{1}{2}\right) or\left[\frac{1}{2}\right] produce thick parentheses etc. that look very heavy compared to the rest of the text. Is it possible to make them ...
0
votes
0answers
22 views

Is there any way to automatically scale matching parentheses by default? [duplicate]

I tend to use \left( and \right) (and its cousins) all over the place. Is there a way to make this automatic scaling the default behavior in math mode? On the very rare occasions that I don't want ...
5
votes
3answers
203 views

Same spacing around “\middle|” as around “\mid”

I need to write some equations that contain something like (A | B). I could write \left( A \middle| \right), but this changes spacing around external parentheses, as expained in many topics like this....
16
votes
1answer
1k views

Which way of using parentheses looks better?

I feel like the parentheses look strange here: \begin{equation} uv=4\left(\frac{a}{2}\right)^2\left(\frac{b}{2}\right)^2= 4\left(\frac{s}{2}\right)^2\left(\frac{t}{2}\right)^2 \end{equation} Do ...
0
votes
0answers
167 views

Bigger Parentheses And Brackets When Nested

Is there any way to have parentheses and brackets that get bigger when "nested"? For example, normally parentheses and brackets work like in the first case shown in the picture, but I would like to ...
1
vote
1answer
66 views

How to make LaTeX treating words with parentheses like a normal word?

In my text, I use (un)conditional (s. here if you wonder why), which causes the text to exceed the right margin - the text is no longer justified. In minimal working example below, I used (UGLY) ...
0
votes
0answers
35 views

How do I get a more compact version of `\left(`, `\right)` and friends? [duplicate]

In math mode, specifying auto-scaled parentheses/brackets/braces stands in the way due to the long commands, degrading readability. Is there an alternative which can be read easier? Is there any ...
3
votes
1answer
162 views

Doubled parentheses, braces, brackets and angles

I need some doubled versions of the standard parentheses, namely parentheses, braces, brackets and angles. They should be scalable and the output should look roughly like this: \documentclass[border=...
1
vote
1answer
52 views

Image in math mode causes too-large parentheses

My image is correctly cropped, but when I place it between left( and right), LaTeX seems to create a space twice as high as needed and place the image in the upper half. Example (I'm using beamer but ...
0
votes
1answer
35 views

sublabel parenthesis changed to mathmode using subfig.sty

My code follows: \documentclass{book} \usepackage{graphicx} \usepackage{subfig}% \captionsetup[subfloat]{% font=normalsize,labelformat=parens,labelsep=space} \begin{document} \begin{figure} \...
1
vote
1answer
77 views

Parentheses around tikzpicture add blank space

I want to add parentheses around a tikzpicture. This post give a simple solution. However, in my case it doesn't work well. As shown by the following MWE, parentheses add a blank space at the top of ...
1
vote
1answer
66 views

Braces/parentheses don't display as expected

I have the following code \documentclass{article} \begin{document} \Bigg\{ \big( \big( i,j \big) \big (i+1,j \big) \big) \\ \big(i,j\big)\big(i,j+1\big)\big) \Bigg\} \end{document} after the ...
0
votes
0answers
306 views

Remove double parenthesis from subfigure caption

I am using subfigure in a memoir environment. I would like to know how to remove the double parenthesis from the caption of the subfigures: Here the code I am using (MWE): \begin{figure}[h!] \...
1
vote
1answer
63 views

Change the parentheses for other symbol in the first appearance of an acronym with acro package

in the acro package the first appearance of the acronym is something like: deoxyribonucleic acid (DNA) I would like to know if there is a way to change the parentheses for -, or , to do something ...
2
votes
1answer
130 views

How to adjust the parentheses size in acro package?

I'm using the acro package for my acronyms. Some of these acronyms are mathematics and chemical formulas. The acro package put the acronym in the text using first the long form and then, between ...
1
vote
2answers
221 views

Adaptive parentheses at equations [duplicate]

Is there a command that adapts automatically the size of the parentheses at the terms of the equations? For example, in my ocasion I used \Big( but it's seems not enough. I think could be more ...
3
votes
0answers
141 views

Disabling autocompletion of `\(\)` in TeXstudio

I am using TeXstudio 2.12.6 QT 5.9.1, and have the Auto Complete Parentheses in Special options turned on. In general, it automatically 'closes' the brackets / braces for the following combinations: (...
2
votes
3answers
136 views

Matching other characters to \left[ and \right]

I have the following command for conditional expectations \documentclass{article} \newcommand{\E}[2]{E\left[ #1 \:|\: #2 \right]} \begin{document} \[ \E{\sum_{i=1}^N x_n}{Y} \] \end{document} The ...
4
votes
1answer
118 views

XeLaTeX: How to get rid of extra space added before closing parenthesis of \binom

Code: \documentclass[border=1mm]{standalone} \usepackage[alignedleftspaceno]{amsmath} \begin{document} $\begin{aligned}\binom{1}{2}\end{aligned}$ $\binom{1}{2}$ \end{document} Output (red line is ...
1
vote
2answers
496 views

Wish to use parentheses as ordinary symbols in an “S” column

Could you please tell me how to use parentheses -- ( and ) -- as ordinary symbols in a table that uses the S column type of the siunitx package? I want to have in the "cells" some point estimates, ...
1
vote
1answer
90 views

Version of \left and \right that ignores subscripts and superscripts

How can I define a macro (or macros) that works in an automatic way like the primitives \left and \right, but does not consider the space below or above operators like \sum or \bigcup? This modified ...
1
vote
1answer
84 views

Outputting effective size of \left(…\right) parentheses

I am trying to get rid of \left( and \right) in my document while maintaining the mostly appropriate size of parentheses. However, there are maybe a couple dozen (or more) occurrences, and I would ...