I have used MAC OS X Grapher to create this equation:
\begin{equation}
\mbox{C}skip\left( \; d\; \right)\; =\; \left\{\begin{array}{cc} 1+\mbox{C}m\cdot \left( Lm-d-1 \right), & if\; Rm\; =\; 1 \\ \frac{1+\mbox{C}m-Rm-\mbox{C}m\cdot Rm^{Lm-d-1}}{1-Rm}, & Otherwise \end{array}\right
\end{equation}
I should be something like this:

But when I've tried to add the code in my latex file it doesn't work, I got some errors.
Can you help me please ?



dcases*frommathtools– Andrew Swann Jul 03 '15 at 07:23\textforC_{\text{skip}}as soon a this is used in an italic context this will be wrong. – daleif Jul 03 '15 at 08:21\textnormalthe only reasonable alternative, see question "Difference between various methods for producing text in math mode". Italic context with math is dead ugly. – Heiko Oberdiek Jul 03 '15 at 09:09\textup, shorter? – daleif Jul 03 '15 at 09:16\textupis family sensitive. Then you would have typewriter in a\ttfamilycontext. – Heiko Oberdiek Jul 03 '15 at 09:37