the cases environment is provided by the amsmath package- the mathtools package introduces extensions of it (dcases, etc)
2
votes
2answers
33 views
How to adjust the blank space between the top of the left curly brace and the contents?
I want to type a system of equations delimited by the left curly brace. And I tried using the \left{ with aligned, and cases, and array, and numcases. But there are some difference between the results ...
6
votes
1answer
121 views
Tall curly brace
I would like to put a tall (long) left curly bracket on the left side of the following:
\documentclass[12pt]{article}
\begin{document}
\noindent
c: $\{$1, ..., n$\}$ $\rightarrow$ $\{$1, ..., ...
0
votes
1answer
78 views
Incompatibility of package cases and class revtex4 using MikTex2.8 [closed]
I have found an incompatibility using the packages cases (for example the environment numcases) and the class revtex4, when compiling with MikTex2.8
2
votes
1answer
73 views
How to make dcases environment work in LaTeX
I'm using Kile (kde4) on Mac OS. I can use the cases environment just fine but my version of Kile doesn't have dcases. I'm using Kile via MacPorts. Does anyone know of a way to update my distribution ...
1
vote
1answer
51 views
How to add equation with cases inside the table
I want to include the complicated equation into one of the cells of my table. I am using tabular environment, additionally I have some multirows. I would like to add something like this:
...
4
votes
2answers
32 views
how to align texts in equation cases
I need to make an equation case with text following it. That text should be displayed in the middle of the two cases. This is my code:
\begin{eqnarray}\label{eq13}
a_k =
\begin{cases}
1 & ...
1
vote
0answers
44 views
Cases equation problem - ! Missing { inserted [closed]
I am trying to compile this equation
\beta\_t^i=
\begin{cases}
\overline{\beta}-i\cdot\sigma\_{\beta} & 0\leq i\leq 4\\
0.0 & 5\leq i\leq7
\end{cases}
and I am still ...
2
votes
1answer
34 views
Centering case-defined functions in the middle of the page and centering a figure(diagram)
I have two questions regarding centering:
I am trying to center a case-defined function, say defined as follows:
$f_i(z)=$ \begin{cases}\frac{1}{t}dist (z,\gamma_i ) &\text {if} z\in A_i(t)\\ ...
7
votes
2answers
74 views
cases environment inside an array
LyX is giving a lot of error messages for my Latex code which runs in other places.
\[
\begin{array}{rl}
p_{Y \mid H_1}(y \mid H_1) & = f_X(g^{-1}(y))\left| \dfrac{dg^{-1}(y)}{dy} \right| \\ \\
...
0
votes
0answers
86 views
Numbering equations in cases environment separately
I have a problem with separate numbering of equations. My code is:
\documentclass[10pt,a4paper]{article}
\usepackage{amsmath}
\usepackage[subnum]{cases}
\begin{document}
...
0
votes
1answer
87 views
Producing \right and \left not related [closed]
I used the commands \right and \left to produce an linear systems using array (putting a period immediately after the \right):
\documentclass[a4paper,12pt]{article}
\usepackage{amssymb}
...
2
votes
1answer
67 views
prooftree from bussproofs package inside “cases” environment
I am using bussproofs package to provide some type proofs. According to bussproofs manual, it is impossible to use prooftree inside math mode. However, I would like to insert prooftree in the cases ...
5
votes
3answers
185 views
How can I do this without the cases?
How can I do this without the cases?
$\begin{cases}
\dfrac{\partial u(x,y)}{\partial x}=2x=\dfrac{\partial v(x,y)}{\partial y} \\
\dfrac{\partial u(x,y)}{\partial y}=-2y=- \dfrac{\partial ...
3
votes
1answer
52 views
Error with dcases*
I'm using LaTeX to write up my math notes and have been fairly successful implementing most of the styles I'm trying to figure out. I seem to be having trouble with the environment dcases* though.
...
6
votes
2answers
119 views
How can I align multiple cases environment simultaneously?
In one big align environment, I want to put some cases environments. I would like the alignment of the cases environments to be the same. For example, if I write:
\begin{align}
f(x) &=
...
6
votes
2answers
54 views
Alignment between material inside and outside a cases environment
In the code below, I'd like to make the i=0,\ldots,n. line up, in the output, with the cases in the first part of the definition. Ideally, the full-stop would align with the semicolons and comma.
...
4
votes
1answer
43 views
How do I hang another, right-aligned line in a cases environment?
I've seen these questions, but in my case the equation content is too long to add the text description at the end and it overflows into the margin.
\[
d_i(g_n,\ldots,g_0) =
\begin{cases}
...
5
votes
1answer
103 views
A piecewise function with fractions and without tiny text
I would like to create a piecewise function which includes fractions.
But the solutions I have found so far squish the fractions in to tiny
text that is nearly illegible.
The cases environment ...
4
votes
2answers
121 views
Modify case equation's brace
I was wondering if there is a way to change, case's symbol(curly brace) to two arrows pointing up/left and down/left.
\documentclass[a4paper,11pt]{article}
\usepackage{kerkis}
\usepackage{amsmath}
...
10
votes
3answers
137 views
Aligning cases conditions from multiple nesting levels
\begin{dmath*}
y_{ic}[n] = \begin{dcases}
y_0 + x_0 - x_0 (1 - k_2)^n & k_1 = 0 \\
k_5 + \left( y_0 - k_5 \right) (1 - k_1)^n + \begin{dcases}
...
7
votes
3answers
147 views
How to force alignment of “cases” brackets in an enumerate environment?
I am using the enumitem and amsmath packages to give the recursive definition of the valuation function $\nu$ for classical first order logic. The way I have it set up, the brackets of the cases are ...
7
votes
1answer
88 views
How to control the alignment of the brace in a dcases environment
The following code
\begin{equation}
\begin{dcases}
u = \frac{\sqrt{2}}{2}(i+j)\\
v = k
\end{dcases}
\end{equation}
results in the following display
that I find ...
15
votes
2answers
266 views
How to align nested cases?
Please consider the code bellow:
\begin{align*}
function =
\begin{cases}
case1 &\mbox{if } n = 0 \\
\begin{cases}
case2 &\mbox{if } n = 1 \\
...
1
vote
2answers
65 views
How to make \left\{ and \right. work in an new environment?
I have tried to define a new environment numcases, which just like the cases except tagging the equations as a whole, and
\newenvironment{numcases}{\begin{equation}\left\{\begin{array}{rll}}%
...
1
vote
1answer
119 views
How can I label for a collection of equations? [duplicate]
Possible Duplicate:
Separate labels in cases
I want to label each equation in a collection of equations as in the example below. How can I do this?
5
votes
1answer
286 views
Nodes with cases with TikZ
I need to make something that should look like this (sorry for such low quality of picture)
So I type this but it's doesn't work correctly:
\begin{tikzpicture}
\node (A) at (0,0) {$ \vec{\bf ...
5
votes
2answers
432 views
Case equation without curly brace
I want to have a case equation without the left curly brace. I am using
\documentclass[11pt,a4paper]{article}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsfonts}
\usepackage{amsthm}
...
2
votes
1answer
348 views
Missing $ error in math mode
I have the following LaTeX code (beginning from line 80):
\begin{definition}
$\hat{n}_{v}$ = \begin{cases}
$n_{v}$ & \text{ if } $v \in$ \text{connected component of size} $< ...
8
votes
4answers
159 views
How can I align at relation symbols within a cases environment?
I have used the following code in LaTeX -
\documentclass{article}
\usepackage{amssymb,amsmath}
\begin{document}
\begin{table}[H]
\centering
\begin{tabular}{c|c}
\hline
{ $X=y+z$} & {
...
7
votes
1answer
426 views
Using “cases” inside “equation” gives error[with “amsmath” loaded]
I'm trying to use the cases environment inside an equation environment.
The sample code is quite simple:
\begin{equation*}
X(\omega) = \begin{cases}
1 \text{se $\omega ...
0
votes
0answers
23 views
Latex/Bibtex lowercasing entries in references [duplicate]
Possible Duplicate:
BibTeX loses capitals when creating .bbl file
I have entries like this in my bib file:
@misc{paper,
title = {"My Fancy Paper"},
howpublished = ...
6
votes
1answer
963 views
Problem compiling cases environment [closed]
I am trying to compile a simple cases example, but I'm having trouble with the tabular separator &. Here's my code:
\begin{equation}
f(x) =
\begin{cases}
x + 1 & ...
0
votes
1answer
108 views
Cases environment discontinuous line in brace [closed]
I have the following equation environment with cases:
\documentclass[preview,border=12pt]{standalone}
\usepackage{amsmath}
\begin{document}
\begin{equation*}
\operatorname{atan2}(y,x) := ...
7
votes
1answer
229 views
Why does mathdesign result in a huge 'cases' environment brace in Tufte documents?
I'm getting strange results when I use the cases environment in Tufte-LaTeX documents with the mathdesign package. Instead of
I get
Is there something I can do to get rid of that huge brace?
...
10
votes
3answers
326 views
TeX capacity exceeded while parsing a date string
I'm trying to parse a date (say, a due date) in a DD-MMM-YYYY format, e.g., 06-May-2012 and create macros \dueday, \duemonth, and \dueyear. I use xstring's commands to extract the substrings. Then I ...
3
votes
1answer
105 views
uppercase and mhchem
How do I achieve a proper uppercase including chemical formulas typeset with mhchem, i.e. everything but chemical formulas are capital letters?
MWE:
\documentclass{minimal}
...
4
votes
1answer
372 views
Error using line break in 'cases' environment
I'm trying to display quite a simple 'cases' type equation in Texmakerx, but it appears to be ignoring the \\ and & uses.
\documentclass[journal]{IEEEtran}
\usepackage{graphicx}
...
13
votes
3answers
2k views
How to put a brace on the right, not left, to group cases?
How can I get a brace on the right, not the left, to group cases, using cases? (I know actual cases look better with the brace on the left, but the items I need to group are not literally cases. They ...
4
votes
3answers
206 views
How to right-side annotate a bracketed-together set of items in cases environment?
How to right-side annotate a bracketed-together set of items in the align environment, cases sub-environment?
E.g. how to put an annotation such as "(Fermat)" where the following code would put a ...
6
votes
1answer
928 views
line break inside cases environment
I have an equation using a cases environment, with one case with a long description text:
\begin{eqnarray*}
\begin{cases}
1 \text{too long description of the first case,
not ...
4
votes
4answers
811 views
Aligning conditions in cases environment
I have a piecewise function with three "parts." I would like to have all three conditions aligned at the variable x. How do I achieve that? Here is the code I have so far:
\[
f(x) = \begin{cases}
...
3
votes
3answers
1k views
Clean-Looking Piecewise-Defined Functions
I want to write a clean-looking piecewise defined function.
There's a similar post here: How to write a function (piecewise) with bracket outside?, but I have follow-up questions.
The two options I ...
7
votes
2answers
237 views
list the cases in text
I would like to list some cases which are needed to be consider in text. I didn't find a standard way to do this. There is "case" for math mode, but that is not what I want.
Look the following ...
2
votes
1answer
1k views
\numcases with \tag
I would like to label some cases with specific tags, and was hoping for something like
\begin{numcases}{A = }
\frac{r}{a} & r > a \tag{G} \\
\frac{a}{r} & r < a \tag{H}
\end{numcases}
...
2
votes
1answer
106 views
Separate labels in cases 2
Is there a cases package that lets me label my cases as I want? The cases and subcases environments of the cases package either labels tags with consecutive numbers or not at all. I would like some ...
9
votes
4answers
2k views
Aligning plain `align` and `cases`?
The cases environment works very well for enumerating cases within a large left bracket. I'd like to be able to combine it with the align environment so that equals-signs and conditions also line up:
...
11
votes
3answers
855 views
Separate labels in cases
As much as I have tried, it doesn't seem possible to use separate labels when using a casesconstruction (from the amsmath package).
Ideally, I would like to be able to write something like
...
2
votes
3answers
487 views
Is there a “cases” environment in text mode?
The title says it all: The "cases" environment works only in math mode. Is there an alternative in text mode?
5
votes
1answer
249 views
Right aligned first column in a cases environment
Is there a simple way to obtain a right aligned first column in the cases environment. As far as I can see, mathtools does not add such an option.
(This question might be read as a request for ...
4
votes
3answers
120 views
2 left alignments under cases
I would like to align something under cases as follows:
value1 if condition
value2 line1ofvalue2... otherwise
line2ofvalue2..
line3ofvalue2.
First, there are ...
