Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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}

\begin{document}
    \begin{equation}
    \begin{cases}
    \frac{I}{Z}=12+\frac{7}{Z}[eV] & ,Z<13 \\
    \frac{I}{Z}=9.76+58.8Z^{-1.19}[eV] & ,Z\geq13  \\
    \end{cases}
    \end{equation}
\end{document}

which is perfect for my case, except for the big, left curly brace!

share|improve this question
    
I wasn't aware of that...So I will do so for the answers that really worked. Thank you! –  Thanos Sep 17 '12 at 14:31
    
For those that didn't you should comment to the answerers so it can be fixed. –  Werner Sep 17 '12 at 16:37

2 Answers 2

up vote 8 down vote accepted

You may better use aligned:

\documentclass[11pt,a4paper]{article}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsthm}

\begin{document}
\begin{equation}
\begin{aligned}
  \frac{I}{Z} &= 12+\frac{7}{Z}\;[eV],     && Z<13 \\
  \frac{I}{Z} &= 9.76+58.8Z^{-1.19}\;[eV], && Z\geq13
\end{aligned}
\end{equation}
\end{document}

enter image description here

share|improve this answer
    
I see the difference...You are right...The size is much better in that case! Thank you!!! –  Thanos Sep 17 '12 at 14:29

Then use a regular array:

enter image description here

\documentclass{article}
\begin{document}
\begin{equation}
  \renewcommand{\arraystretch}{1.3}
  \begin{array}{ll}
    \frac{I}{Z}=12+\frac{7}{Z}[eV], & Z<13 \\
    \frac{I}{Z}=9.76+58.8Z^{-1.19}[eV], & Z\geq13
  \end{array}
\end{equation}
\end{document}

The alignment specification of {ll} inserts the contents left-aligned in both columns, while a redefinition of \arraystretch adds some vertical padding to each row. See Column padding in tables.

Since each element inside an array is set in \textstyle, fractions are smaller than usual by default. Adding \displaystyle will increase the fraction presentation, similar to amsmath's \dfrac.

share|improve this answer
    
Yeap, you are absolutely right...!!!Thank you very much! –  Thanos Sep 17 '12 at 14:19
1  
@Werner -- i really think the \` at the end of the last line of the array` is a bad idea. i know it was in the original question, so i should probably comment it there, but this comment will get to you more reliably, as well as to the op. –  barbara beeton Sep 21 '12 at 20:58

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.