## LaTeX forum ⇒ Math & Science ⇒ displaying cases based formula Topic is solved

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
huu2014
Posts: 6
Joined: Fri Feb 21, 2014 1:45 pm

### displaying cases based formula

Hello,
Good day,
I am writing a cases based formula. However, only the bracket symbol is display, not the whole formula. is there specific latex package for greek letters?

using:
ubuntu 14.04
Latex 2016
RStudio 1.01.

# Latex packages
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{latexsym}

$\begin{cases} F(y) = \frac{x^{(\lambda)} - 1}{(\lambda)} \text{if \lambda \neq 0;} \\ \log(x) \text{if \lambda \eq 0}\end{cases}$

Please, can any one give me hint?.

Tags:

Johannes_B
Site Moderator
Posts: 3665
Joined: Thu Nov 01, 2012 4:08 pm
I'm not sure, but i thik you want the following?
\documentclass{article}\usepackage{mathtools}\begin{document}$F(y) = \begin{cases} \frac{x^{(\lambda)} - 1}{(\lambda)} &\text{if } \lambda \neq 0; \\ \log(x) &\text{if } \lambda = 0 \end{cases}$\end{document}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

huu2014
Posts: 6
Joined: Fri Feb 21, 2014 1:45 pm
Johannes_B,
Thanks a lot. it worked.