1
$\begingroup$

I can't understand how I did the piecewise function wrong, I think I've done it exactly like that before. How is the ampersand misplaced?

$\endgroup$
4
$\begingroup$

$$q = \begin{cases} 5x, & \text{ if }55\\ 2x, & \text{ if }41 \end{cases}$$

$$q = \begin{cases} 5x, & \text{ if }55\\ 2x, & \text{ if }41 \end{cases}$$

$\endgroup$
5
  • 2
    $\begingroup$ It looks like you could salvage your formatting by switching changing "start" to "begin". I chose only to include "if" in the argument of \text, because the number are already formatted within the double-dollars. $\endgroup$
    – amWhy
    Sep 29 at 16:06
  • $\begingroup$ Could you elaborate on what the essential difference is? Was the issue that I had dropped down the different lines? Also, I think I replicated this exactly, yet it still shows the same message. $\endgroup$
    – user110391
    Sep 29 at 16:07
  • 1
    $\begingroup$ Aha of course! It was "begin", not "start". Thank you :) $\endgroup$
    – user110391
    Sep 29 at 16:08
  • $\begingroup$ Indeed! Glad to assist! :-) $\endgroup$
    – amWhy
    Sep 29 at 16:10
  • $\begingroup$ As a user of TeX.SE. I would to put \text{ if } 55 instead of \text{ if }55. $\endgroup$
    – Sebastiano
    Oct 3 at 19:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .