Skip to main content

All Questions

Tagged with
3 votes
2 answers
130 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
3 votes
2 answers
275 views

How to create a simple vertical vector with several vertical curly braces outside the square bracket?

I could not code a vertical vector with several vertical curly braces outside the square bracket of the vector. The best thing I have obtained so far is by using rcases from mathtools package that ...
Reza's user avatar
  • 63
8 votes
1 answer
200 views

\mathopen<size><bracket> vs. \mathopen{<size><bracket>}

If we look at the definitions of \bigl and \bigr, we find \def\bigl{\mathopen\big} \def\bigr{\mathclose\big} In other words, \bigl<bracket> is equivalent to \mathopen\big<bracket>. And ...
Gaussler's user avatar
  • 12.9k
2 votes
2 answers
463 views

Big floor brackets size around fraction with small denominator

i'm having issues with bracket formatting around fractions. For example, this code : \documentclass{article} \usepackage{mathtools} \DeclarePairedDelimiter\floor{\lfloor}{\rfloor} \begin{document} ...
UnderscorePoY's user avatar
4 votes
1 answer
127 views

Added whitespace when putting brackets around fractions with splitfrac

I'm using splitfrac from mathtools to break up a particularly long line in the numerator of a fraction. When I put brackets around the fraction, however, they leave a line of whitespace in the ...
SamBrev's user avatar
  • 43
4 votes
3 answers
1k views

Matrix in double-struck square bracket style

We can use \llbracket \rrbracket using the \usepackage{stmaryrd} to generate double bracket. My question is: how we can generate a matrix with double bracket (in the same style as the \llbracket \...
Amin's user avatar
  • 956
2 votes
1 answer
808 views

Double-struck parentheses

We can use \llbracket and \rrbracket (provided by the stmaryrd package) to generate double brackets. My questions are: how we can generate double-struck parentheses in the same style as the single-...
Amin's user avatar
  • 956
0 votes
1 answer
99 views

How to define a bracket function that allows line breaking and auto-adjusts size?

I want to define a bracket function that allows line breaking and auto-adjusts the size of the bracket like the normal method did. By normal method I mean using \left\{\right\}. According to this ...
Turgon's user avatar
  • 167
0 votes
1 answer
142 views

How to typeset \left \right parenthesis in LuaLaTeX in 2019?

With pdflatex I often used \left( and \right) to scale the parenthesis of a function as in \[\exp\left(\frac{a}{b}\right) \] But this method was not perfect, because the code is difficult to read ...
Jonas Stein's user avatar
  • 8,949
5 votes
1 answer
1k views

Customizing square brackets

I am trying to modify LaTeX's brackets (\cases) to make something like the one on the left: I could only find code for square box and brackets (\cases), but not for this particular variant on any ...
user37891's user avatar
  • 197
2 votes
1 answer
1k 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=...
user avatar
1 vote
2 answers
763 views

Adding brackets above/below and left/right of array matrix

I'm trying to add brackets to portions of a matrix, like so: where the arrowed bars are replaced with brackets, and the red bar would be moved to the bottom. If it helps, here's the portion I have ...
Brad Flynn's user avatar
2 votes
1 answer
14k views

Using the underset command in AMS

I seem to get an error with the following code and I do not know why. This is the first time I have used the \underset_ command whereas I used to use the \limits_ command. However when I tried to use ...
cameron's user avatar
  • 71
20 votes
2 answers
20k views

Easily change behavior of \DeclarePairedDelimiter [duplicate]

After seeing the answer to this question I realized that I preferred the way of working of Juan A. Navarro's answer: I.e., \DeclarePairedDelimiter{\parens}{\lparen}{\rparen} from mathtools is a great ...
Manuel's user avatar
  • 27.2k
5 votes
3 answers
1k views

Parenthesis size and white space in equation with long subscripts

I'm writing an equation which contains a relatively long subscritps under a summation, which is just next to a bracket. The code is the following $$\mu_j=\E(X_j)=\E\left( \sum_{i\in Pa(X_j)}\...
Manuele's user avatar
  • 131