2

This question already has an answer here:

I would like to make a dual and triple equation by using the following notation:

enter image description here

Thank you

marked as duplicate by Mico math-mode Mar 11 '18 at 18:06

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    Hi, welcome. See tex.stackexchange.com/questions/32140/… – Torbjørn T. Mar 11 '18 at 17:55
  • Thank you, but it didn't give me what I need $u_i=$ $\[ \left\{ \begin{array}{ll} 1 & if OR_i \leq r \\ 0 & if if not\\ \end{array} \right. \] – azdoud Mar 11 '18 at 18:36
  • Sir @Mico, you mark my question as had an answer, but it did not give me my need – azdoud Mar 11 '18 at 18:39
  • 2
    \[ .. \] starts math mode, don't put it inside $ ... $, which also starts math mode. It would likely be better to use the cases environment though. And you'll want to use \text{if } and \text{if not}. For example \documentclass{article} \usepackage{amsmath} \begin{document} \[ u_i= \begin{cases} 1 & \text{if } OR_i \leq r \\ 0 & \text{if not} \end{cases} \] \end{document} – Torbjørn T. Mar 11 '18 at 18:42

Browse other questions tagged or ask your own question.