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.

4
votes
1answer
63 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
57 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
553 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
55 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
21 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
36 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
60 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
18 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
75 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
66 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 ...
13
votes
0answers
163 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
37 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
140 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
81 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
56 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
159 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
31 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
72 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
36 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
71 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
220 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
194 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
136 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
58 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
41 views

Package for scaling up the parentheses [duplicate]

Is there any package in latex that automatically scaled up the ordinary parentheses like () not \right( \left) (or brackets or braces or any combination of them)?
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
145 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
51 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
67 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
64 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
278 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
58 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
89 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
178 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
138 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
130 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
116 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
424 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
89 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
73 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 ...
5
votes
2answers
452 views

Typesetting Hoare triples - padding

I'm trying to typeset a Hoare triple, which is used for reasoning about program correctness. In the text I'm referring to, they look something like this: I'm aware the stmaryrd package includes ...
1
vote
1answer
476 views

No space with after parenthesis, but needed

While running chktex, I get this error Warning 36 in file.tex line 2062: You should put a space after parenthesis. pen(s) I am writing the word pen but I am adding an s in parentheses as an option ...
1
vote
0answers
95 views

longtable parenthesis

I need to add a mathematical text at the left of a longtable. For example U_d=leftparenthesis (longtable here) rightparenthesis How do we add the text "Ud =" at the left of a longtable and how do ...
3
votes
0answers
149 views

unicode-math with XeLaTeX \left( and \right) not rendered correctly

I'm using XeLaTeX (XeTeX 3.14159265-2.6-0.99992 (TeX Live 2015)) on OS X Sierra, compiling to a PDF through rubber \documentclass[letterpaper, 11pt]{article} \usepackage{geometry} \usepackage{amsmath}...
4
votes
1answer
311 views

Put year into parentheses using biblatex-chicago

I want to use the biblatex-chicago style and want to put the year into parentheses. Therefore I followed the solution from this post: parenthesis around year However, it seems that this just works ...
2
votes
1answer
68 views

Parentheses with automatically increasing heights [duplicate]

To reflect the way I draw math by hand, and because I find this more readable, I would like to have \left and \right (or a custom pair of commands) render parentheses‐like symbols with an increasing ...