Latex

[Latex] 수식모드에서 case 만들고 싶을 때
Latex으로 수식을 작성하다보면 옆에 큰 중괄호가 있으면서 우측에 케이스를 나누고 싶을 때가 있다. $K = \begin{cases} -1 & \text{if }t\leq 0 \\ 1 & \text{if }t>0 \end{cases}$ 그럴 때는 위와 같은 latex 문법을 적용하면 $K = \begin{cases} -1 & \text{if }t\leq 0 \\ 1 & \text{if }t>0 \end{cases}$ 처럼 case 표현이 가능하다.