Skip to main content

Questions tagged [cases]

The {cases} environment is provided by the {amsmath} package to typeset cases in math. The {mathtools} package introduces extensions, e.g. the cases* and dcases environments.

1 vote
0 answers
18 views

Using "cases" inside of cryptocode pseudocodeblock [duplicate]

I'm trying to use "cases" (from the amsmath package) inside of a "pseudocodeblock" (from the cryptocode package). However, this causes errors, apparently because of a clash between ...
Huck Bennett's user avatar
1 vote
2 answers
45 views

Horizontal Alignment Spacing in Cases Environment

I want to typeset some piecewise equations in MathJax and align the inequality symbols in the piecewise conditions. Using the cases environment and adding more ampersands does somewhat align the parts ...
Lawton's user avatar
  • 135
3 votes
1 answer
42 views

How to remove colored boxes from cases environment in beamer

When used in beamer, the following code draws these awful looking boxes over the cases. How can I remove these so it looks normal? \documentclass[10pt,xcolor={table,dvipsnames},t]{beamer} \usetheme{...
SescoMath's user avatar
  • 207
0 votes
1 answer
32 views

Cases inside a corollary

I do not like that the cases (items 1 and 2) are not no the same vertical axis. I would like to move the 1 to the axis where 2 is on. \begin{corollary}[Измеримость и мера декартово произведения ...
Maroon Racoon's user avatar
1 vote
1 answer
62 views

Space for the cases/matrix environment and use of \dfrac into \[...\]

I have this MWE: \documentclass[a4paper,12pt]{article} \usepackage{mathtools,amssymb} \begin{document} \[ \begin{cases} \frac{\partial f}{\partial x} =& 2x(1 - y)=0 \iff x = 0 \quad \text{o} \...
Sebastiano's user avatar
  • 56.7k
1 vote
2 answers
34 views

Problem when using cases environment in pgfplots legend

I noticed that if I use cases from package amsmath in a pgfplots legend, the legend box does not contain the whole text. See the MWE. \documentclass{standalone} \usepackage{amsmath} \usepackage{...
Manuel Du 's user avatar
1 vote
2 answers
26 views

Centrally Aligned Equation on left part of cases

I'm trying to get the following in my file but the best I can do is by using cases but that doesn't work that well S_{\sigma}(v,c) = \begin{cases} w \in V \mid &\text{there exists a path an ...
total dependent random choice's user avatar
4 votes
2 answers
59 views

Align both equations and condition statements between case environments

I have two cases environments below one another, which I would like to align around the = sign (which I could do), but also that the conditional statements be aligned across systems. More specifically,...
orpr0's user avatar
  • 43
3 votes
1 answer
119 views

How do I use subnumcases correctly?

I have been trying to use subnumcases to get numbers for each line of a picewise defined expression, and using labels to be able to easly refer to them later with links but I keep getting the ...
Felipe Dilho's user avatar
2 votes
2 answers
97 views

Central alignment of equation with numcases [closed]

I have the latex code for an equation with numcases \begin{numcases} {a =} bbbbbbbbbbb, \\ ccccccccccc, \end{numcases} which gives the result how to get the whole equation aligned centrally, ...
Nigel1's user avatar
  • 189
0 votes
0 answers
40 views

how to write the following equations [duplicate]

I am currently working on including the following equation in my writing: I attempted to express it as follows, but my attempt produced a very different result $y = f(x) = \{\dfrac{-\dfrac{\pi}{4} (-\...
Jihyun's user avatar
  • 103
1 vote
0 answers
78 views

Bracket with multiple lines [closed]

The errors of my codes with feedback: Missing $ inserted \documentclass{article} \usepackage{amsmath} \begin{document} $[x_0: x_1: x_2]\mapsto$ \begin{cases} $[x_0: x_1]$ & \text{ ...
Un petit mensonges's user avatar
2 votes
2 answers
110 views

Consistent vertical spacing in cases environment with multirow cases

I'm having trouble figuring out how to achieve some sort of consistency when I work with vertical spacing in cases environments where the cases themselves have multiple rows. In the second version of ...
Fredrik P's user avatar
  • 1,428
6 votes
3 answers
348 views

Big right brace in enumerate environment

I'm trying to do a cases environment with a brace on the right using the classic trick \left. \begin{aligned} ... \end{aligned} \right\} but the particularity is that I'm in an enumerate environment ...
IsaKEKW's user avatar
  • 547
3 votes
1 answer
73 views

Custom alignment with long equation and cases

\documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} x &= 1 & y &= 233 & z &= 3 \\ a &= 4 & c &= 5 & d &= 6 \\ &...
Simon's user avatar
  • 517

15 30 50 per page
1
2 3 4 5
35