LaTeX Latex Equation Help: Aligning "f(x)" & "0

  • Thread starter Thread starter DrCrab
  • Start date Start date
  • Tags Tags
    Latex
AI Thread Summary
The discussion focuses on formatting piecewise functions in LaTeX. The key command identified is \begin{cases}, which allows for proper alignment of equations. Users are directed to a helpful resource on the Wikimedia site for additional guidance on displaying formulas. The conversation emphasizes the importance of aligning the conditions neatly, ensuring clarity in mathematical expressions.
DrCrab
Messages
2
Reaction score
0
Just a quick latex question, does anyone know the command for equations like:

f(x) = x if x < 1
0 if x >= 1

where the x and the 0 line up, and you'd have a large { spread over the options?

Thanks for your help.
 
Last edited by a moderator:
Physics news on Phys.org


That's exactly what I was looking for.

Thanks a lot for your help :)
 

Similar threads

Back
Top