10
votes
1answer
189 views

How can I add circles and arrows in linear equation systems?

How can I write a linear equation system that uses circles and arrows to indicate what should be added on each line. This is what I have so far: $S = \begin{cases} x_1+2x_2 - 2x_3 = 1 \\ ...
1
vote
2answers
104 views

Adding a large brace before a body of text

How to write the above using Latex ?
7
votes
2answers
229 views

How to typeset piecewise-defined functions? [duplicate]

I am attempting to write out the basic process for finding the absolute value of some number. In ASCII, this is what I am attempting to write. |X| = { x if x > 0 0 if x = 0 ...
8
votes
1answer
79 views

Mismatching symbol size in cases environment with acronym package

I'm running into trouble using the acronym package when I set math formulas in the cases environment. Looking at the following MWE, you will notice that inside the arccot "gamma" and "p" are smaller ...
4
votes
2answers
139 views

How to make this equations aligned

I have an equation as below, I want text1 and text2, text3 are aligned as well. \begin{equation} \begin{aligned} A &= B \quad \text{text1}\\ C &= \begin{cases} 1 & ...
3
votes
2answers
109 views

Centering an item in cases environment [duplicate]

I wish to center the 1 in the following LaTeX code: \begin{align*} v'(k,\CS)= \begin{cases} \displaystyle\frac{G_{max}(k){-}q_k'(CS)}{G_{max}(k){-}\Gmin(k)} & \text{if }G_{max}(k) {\neq} ...
4
votes
2answers
234 views

How can I typeset determinants of Cramer's rule? [closed]

I want to typeset the determinants of the system $\begin{cases} a_1x+ b_1y = c_1,\\ a_2x+ b_2y = c_2. \end{cases}$ I tried $D=\left| \begin{matrix} {{a}_{1}} & {{b}_{1}} \\ {{a}_{2}} ...
1
vote
0answers
54 views

How to write commands for cases? [duplicate]

For writing cases like a definition of a function having two or more conditions compiled by large braces ({), do I have to use \begin{equation} and \begin{cases} within, or there is some other command ...
5
votes
2answers
95 views

Nested begin-math symbols

I am facing a problem while displaying a mathematical expression. The code looks like this : \textit{$f_{1}$} $\succ$ \textit{$f_{2}$} if $\begin{cases} \textit{dz_{f_{1}}} \supseteq ...
2
votes
2answers
163 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 ...
2
votes
1answer
1k 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 ...
2
votes
1answer
93 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)\\ ...
3
votes
1answer
311 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
234 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
145 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. ...
5
votes
1answer
146 views

How to insert a text between two cases in a multi valued function?

I want to do something similar to this but do not know how: I do know how to write multi-valued functions by using cases or align or whatever but do not know how to achieve a text that is to the ...
16
votes
2answers
787 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 \\ ...
2
votes
1answer
1k 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} $< ...
6
votes
1answer
3k 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
3answers
1k 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?
4
votes
3answers
131 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 ...
0
votes
2answers
393 views

How to denote a logical matrix (mask) as used in image processing?

Updated Below In my thesis, I am discussing an image processing mask, which is a matrix of the same size as some image but with ones where that image meets some criteria and zeroes elsewhere. I am ...
2
votes
1answer
237 views

what are the ways to align conditions in cases

For example, the following is not very nice: [f(x)]_N=\begin{cases} f(x) \text{ if } f(x) \le N, \\ \newline N \text{ if } f(x) \gt N. \end{cases} How can I make it nicer?
9
votes
3answers
2k views

Cases with square brackets

How can I subdivide in cases with square brackets? I mean I want to write: ⌈ 2_i if ... rank (q, l) = | 2_i + 1 if ... ⌊ .... with square brackets, not ...
6
votes
2answers
804 views

Proper punctuation after cases environment

I know that when writing a displayed equation, it's correct to write punctuation before the closing \] as follows: This proves \[ x^2 = 3, \] and it follows that \[ x = \pm\sqrt{3}. \] If I'm using ...