수식입력

    LaTex / / 2024. 4. 8. 09:11
    반응형
    Method Special Characteristics Usage
    $....$ None In-line math
    \begin{equation} \end{equation} Goes to a newline and center equation with labe Equations
    \[ ....\] Goes to a newline and center equation Equations with no label

     

     

    예를 들어 $$....$$는 \[ ....\]와 동등한 방법으로 수학 모드로 들어갈 수 있지만, 지금은 후자를 더 선호합니다

     

     

    \documentclass{article}
    \usepackage{amsmath}
    \begin{document}
    \begin{equation}
    	(x+3)(x+2)=x^2+5x+6\notag\\
    	\geq x^2
    \end{equation}
    \begin{gather}
    	(x+3)(x+2)=x^2+5x+6\notag\\
    	\geq x^2
    \end{gather}
    \begin{align}
    	(x+3)(x+2)&=x^2+5x+6\notag\\
    	&\geq x^2
    \end{align}
    \end{document}

     

     

    \begin{equation} \label{eq1}
    \begin{split}
    A & = \frac{\pi r^2}{2} \\
     & = \frac{1}{2} \pi r^2
    \end{split}
    \end{equation

     

     

    \begin{align*} 
    2x - 5y &=  8 \\ 
    3x + 9y &=  -12
    \end{align*}

     

     

     

    \begin{align*}
    x&=y           &  w &=z              &  a&=b+c\\
    2x&=-y         &  3w&=\frac{1}{2}z   &  a&=b\\
    -4 + 5x&=2+y   &  w+2&=-1+w          &  ab&=cb
    \end{align*}

     

     

     

    \begin{gather*} 
    2x - 5y =  8 \\ 
    3x^2 + 9y =  3a + c
    \end{gather*}

    반응형
    • 네이버 블러그 공유하기
    • 네이버 밴드에 공유하기
    • 페이스북 공유하기
    • 카카오스토리 공유하기