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 [parenthesis]

The tag has no usage guidance.

3
votes
1answer
24 views

Removing outer parenthesis in a diagram

When I try to remove the outer brackets in the following diagram, by removing the first occurrence of \begin{pmatrix} and the last occurrence of \end{pmatrix} I get the error misplaced alignment tab ...
1
vote
1answer
39 views

How to deal with sentence-level parentheses ending equations?

Say you want to make a remark on-the-fly, which involves a formula too big to be put online, but this formula is supposed to end your sentence (as in, for instance, if we let How do you deal with the ...
6
votes
1answer
77 views

Missing space after parenthesis in inline text

\documentclass{book} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{listings} \lstdefinestyle{General} { basicstyle=\small\ttfamily, breaklines=true } \lstset{style=...
1
vote
1answer
65 views

Add parentheses if double superscript

I'd like to set up a macro able to add parenthesis if the argument has already one superscript. It similar to this question, unfortunately the compilation of the following MWE doesn't end… \...
8
votes
4answers
377 views

How to make large brace and parenthesis thinner?

A MWE is as follows: \documentclass{amsart} \begin{document} \Huge We have \[ f(x)= \begin{cases} 2x^{2018}+9&x<2018\\ 3x+2018&x\geq 2018. \end{cases} \] And we also have \[ \left( \begin{...
0
votes
0answers
132 views

Use \( & \) instead of \left( & \right) in align to make parenthesis

I would like to use \( & \) instead of \left( & \right) to make parenthesis adjust size in align. My problem is that \( & \) is already defined as a way to 'start math mode'. So the ...
2
votes
1answer
103 views

\hyperref delimiters, brackets, norms, parenthesis using \left and \right (suspending hyperref)

I would like the norm-symbol \left\| \right\|_p to be linked to its definition, but I don't want its interior (x for example) to be linked. (And of course I want them to adjust their size ...
6
votes
2answers
319 views

How to set superscript for expandable parentheses?

The following code compiled with error: \documentclass{report} \usepackage{chemfig} \begin{document} \schemestart \chemfig{R-C(=[:60]O)-[:-60]O-H} \arrow{<=>} \chemleft[\chemfig{...
2
votes
1answer
107 views

How to use parentheses in non-polymer molecule

I would llike to draw the following molecule in tex using chemfig: I tried in the following way: \chemleft[ \chemfig{HOH_2C-[:-60]P^{+}(-[:-120]HOH_2C)(-[:-60]CH_2OH)-[:60]CH_2OH }\chemright]${}_2$\...
0
votes
0answers
58 views

Is possible to make every “(…)” into “\left(…\right)” over all document? [duplicate]

It is a quite simple question. I use mathematical symbols a lot, so, every time I need to keep typing $\left(...\right)$, or $\left{...\right}$ etc (that sucks :P ). I know I can make a new command ...
8
votes
2answers
4k views

How to remove box outlines around parenthesis/brackets in TexStudio?

As can be seen on the first image there are outlines around the brackets and parenthesis (blue and red colored), on the second picture is shown what happens to these outlines if I move away to another ...
1
vote
0answers
175 views

Nested \( \) and group () [closed]

I am trying to allow programmers using Felix to write some formulas in LaTeX, in such a way they compile correctly, display correctly online using MathJaX, and typeset correctly using pdflatex with ...
13
votes
1answer
1k views

Bracket in math and text

When I write the pair (x,y) with Latex, which way is correct: ($x,y$) or $(x,y)$? Thanks in advance.
1
vote
1answer
57 views

Is there a parenthesis with a size inbetween the default size and that of “\big(”?

I'm using the standard packages - amsmath, amssymb, amsthm. \big( is too big while simply ( is too small. Is there a nice way to get something in between?
2
votes
1answer
85 views

Odd parenthesis spacing in beamer

I'm using Beamer for the first time. \documentclass{beamer} \usepackage{polyglossia} %\usepackage{setspace} %\usepackage{parskip} \usepackage{mathtools} \usepackage{amsfonts} \usepackage{amssymb} \...
3
votes
1answer
355 views

Adjust binomial bracket size to cover stuff inside

When I type a binomial like \documentclass[11pt]{article} \usepackage{amsmath} \begin{document} $\binom{\sqrt{\frac{\frac{1}{2}}{2}}}{2}$ \end{document} the binomial parentheses do not cover the ...
6
votes
3answers
2k views

Math operators with and without parentheses

I have made several math operators in my preamble, but now I want to make a minor change (in the output). I will use the gradient operator as an example in the following. The MWE below shows my ...
2
votes
1answer
633 views

Multiple brackets or parentheses with a text inside

I need to write multiple brackets but not in mathematical mode; i need to write some texts inside, like the picture. I am trying everything but it seems impossible. I tried using package schemata, ...
1
vote
1answer
42 views

Why some parenthesis in my code are bigger than others?

I have written a simple enumeration with some formulas inside. I don't understand why in some items the square parenthesis are bigger than in other items. How can I tell tex to make all of the same ...
2
votes
1answer
247 views

biblatex authoryear-icomp parenthesis in footnotes and textcite

By typing Some text \autocite[88]{A01}. Now Textcite \textcite[88]{A01} I try to achieve the following output: Using this answer, I do get the footnotes right. Unfortunately, there are brackets ...
3
votes
2answers
362 views

Proper style/use of parenthesis

I'm using 'mathpazo' for text and math. One thing I have noticed is that the style of the parentheses in text and math mode are not alike. What would you use? \documentclass{article} \usepackage{...
3
votes
3answers
613 views

Nested fraction parenthesis visualisation

Is there a way to adjust the size of the parentheses in such a way that they automatically adjust to the height of the formula? This seems easy but I cannot find anything on this. With \left( .. \...
5
votes
2answers
409 views

How to reduce the space enclosed in parentheses?

The following lines gives me more space below E^2 inside the parentheses. How to reduce this extra space. Also, the square (2) is above enclosing parentheses. \begin{equation*} \left[\frac{{\left(\...
5
votes
1answer
10k views

Parentheses around a matrix

So this is the code that I have so far: \[ Y = \begin{bmatrix} Y_{1} \\ Y_{2} \\ \vdots \\ Y_{n} \end{bmatrix} = \begin{bmatrix} 42 \\ 33 \\ 75 \\ 28 \\ ...
4
votes
2answers
507 views

auto-resizing parenthesis in math formulas

I am looking for a way to have auto-resizing parenthesis on math mode. In a formula like (a * (b + c)), I'd like the external parenthesis to be a little bigger. Ideally, this would be done without ...
4
votes
1answer
282 views

\left( and \right) with maximum size

I would like to have two macros that mimic \left( and \right), but limits the size of the parenthesis to \Bigl( and \Bigr) (allows smaller sizes), respectively. In the below MWE, one needs to extend ...
1
vote
1answer
504 views

Is there a way to change how latex formats parenthesis in superscript?

I am new here an hereby apologize for any mistakes I might make in posting this. I am also sorry if a similar topic already exists, but I failed to find anything answering this. I am interested ...
0
votes
0answers
103 views

Using left( and right) by default [duplicate]

It is very rare for me to need a parenthesis without \left and \right. Is there a way to redefine the parenthesis () to being treated as if I wrote \left( and \right). Of course, I would need another ...
3
votes
2answers
575 views

Better double parenthesis notation for multiset

In my combinatorics homework I use double parenthesis to represent a multiset. I have referred to all the answers under Multiset notation in LaTeX on how to build such a notation. However, the double ...
3
votes
1answer
1k views

How to deal with underbrace inside parentheses?

I have the following equation: J_\pi(x_0)=\left(\underbrace{g_N(x_N)}_{\mathclap{\substack{\text{Terminal} \\\text{cost}}}}+\underbrace{\sum_{k=0}^{N-1}g_k(x_k,u_k,w_k)}_ {\...
1
vote
1answer
119 views

problem-with-parenthesis-of-equation-label?

I'm new to LaTeX, trying to label an equation by this code: \documentclass[a4paper,12pt,fleqn]{report} \usepackage{xepersian} \usepackage{amsmath} \begin{document} \...
1
vote
1answer
19k views

How do I put a parentheses in text?

I just want to use the ")" symbol without closing the parentheses. I don't really want to use math mode, can I just put it in the text?
2
votes
2answers
186 views

siunitx : forced parenthesis

Is there a way to force siunitx use parenthesis systematically ? I tried bracket-numbers but it's only if : There are certain combinations of numerical input which can be ambiguous. I'd like to ...
7
votes
4answers
553 views

Detect if a macro argument is only one symbol

I define a bunch of functions (or operators, if you like) using a little helper \parens, which adds parens on demand: \newcommand{\parens}[1]{ \ifthenelse{\equal{#1}{}}{}{(#1)} } \newcommand{\fv}[...
1
vote
2answers
662 views

Parenthesis invisible in math mode, using classicthesis(eulermath) with lmodern

I propose to have a look at this MnWE : \documentclass{article} \usepackage[eulermath,nochapters]{classicthesis} \usepackage{lmodern} \begin{document} $$ (x+2)(x-5)$$ \end{document} When ...
3
votes
1answer
483 views

How to get an option for square brackets in \textcite?

Currently in the preamble I have: \usepackage[ backend=biber, style=authoryear, isbn=false, doi=false ]{biblatex} My figures´ code looks like: \begin{figure} \...
3
votes
3answers
617 views

Subscripts after a macro for \left( and \right) parentheses

I'm trying to come up with some macro for round parentheses that looks nicely in both inline and display modes. The constraints are: The macro should behave like \left( \right) in display mode It ...
6
votes
2answers
477 views

Size of parenthesis ( ) in text mode

Is known that you change the sizes of parenthesis in math mode, but in text mode?. For example, I have this situation: (and there is open ball $B(x,\nicefrac{1}{i})$) As you can see the two last ...