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'm trying to create the attached image formulae. But I don't know how to get the double braces to work. This is my attempt with only single brace.

    x(t_n) = \left\{ \begin{array}{l l}
  0      &\quad \mbox{ $n<ns$ or $n>ne$} \\
  x(t_n) &\quad \mbox{ $ns\leq n\leq ne$}
\end{array} \right.

enter image description here

Could someone help me with the second brace? Thanks in advance

share|improve this question
    
This is easier to do with the cases environment than with array. Where did the image come from? –  Charles Stewart Apr 8 '11 at 14:11
    
I did the image in equation editor in MS Word. –  Dan Apr 8 '11 at 14:17
add comment

2 Answers 2

up vote 3 down vote accepted

I would try cases in amsmath.

 \begin{equation}
    x(t_n) = \begin{cases}
        0 \\
        x(t_n) 
    \end{cases}
    \xi(t_n) = \begin{cases}
        0      &n<ns, n>ne \\
        \xi(t_n) &ns\leq n\leq ne$
    \end{cases}
\end{equation}
share|improve this answer
    
This didn't give the middle part of the image. –  Dan Apr 8 '11 at 14:17
    
@Dan -- Oh, I just gave the cases example and thought you could do the rest. Sorry. I added the whole solution. –  Richard Herron Apr 8 '11 at 14:25
    
Thanks so much! –  Dan Apr 8 '11 at 14:44
add comment
\documentclass{minimal} \usepackage{amsmath}
\begin{document}
\[ x(t_n) =\begin{cases} 0\\x(t_n)  \end{cases}\quad
\xi(t_n)=\begin{cases} 0 & \qquad\qquad (n<ns, n>ne) \\
\xi(t_n) & \qquad\qquad (n\leq n\leq ne) 
\end{cases}\]
\end{document}
share|improve this answer
add comment

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.