# Make a Piecewise function in TraditionalForm [closed]

How can I input a Piecewise function like in TraditionalForm output?

I want something like this:

Piecewise[{{1, x > 0}, {0, x == 0}, {-1, x < 0}}] // TraditionalForm


But as an Input instead of an Output.

Simply entering a brace ({) followed by a Matrix or Table after it doesn't work.

-
How about Esc+pw+ESC –  HyperGroups May 27 at 13:45
It's right there in the Piecewise details section reference.wolfram.com/mathematica/ref/Piecewise.html –  bill s May 27 at 13:46
@HyperGroups typing Ctrl+, after this gives you grid boxes you can fill in. Such templates often live in the Classroom Assistant, this one lives under the Typesetting section. –  Martin John Hadley May 27 at 13:48
@bills I think you should make an answer. There is not much more to add to it. –  Ali May 27 at 17:07
In the details section of the help file for Piecewise, there are instructions: