«   2025/05   »
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
05-18 05:18
Archives
Recent Posts
관리 메뉴

My Archive

LaTeX 줄바꿈 코드 본문

잡동사니/LATEX

LaTeX 줄바꿈 코드

빛나는 전구 2023. 9. 22. 14:00

Programming, Pixabay

길이가 기다란 수식 줄바꿈 입력 방법입니다.

Overleaf , Aligning equations with amsmath

$$p(x) = 3x^{6} + 14x^{5}y + 590 x^{4}y^{2} + 19 x^{3}y^{3} - 12x^{2}y^{4} - 12 xy^{5} + 2y^{6} - a^{3}b^{3}$$

이렇게 기다린 식을 한 줄 내려서 입력하는 방법입니다.

$$\begin{multline*} p(x) = 3x^{6} + 14x^{5}y + 590 x^{4}y^{2} + 19x^{3}y^{3} \\ -12x^{2}y^{4} - 12xy^{5} + 2y^{6} = a^{3}b^{3} \end{multline*}$$

다만 자연스럽게 줄이 내려가는 게 아니라 너무 떨어진다는 점이 단점.

줄 간격을 조절하는 방법도 알아봐야 할 듯 합니다.

https://www.overleaf.com/learn/latex/Aligning_equations_with_amsmath

 

Aligning equations with amsmath - Overleaf, Online LaTeX Editor

An online LaTeX editor that’s easy to use. No installation, real-time collaboration, version control, hundreds of LaTeX templates, and more.

www.overleaf.com

 

줄바꿈 코드 입니다.

\begin{aligned}A & = B +C\\ & = D + E + F\\ & = G \end{aligned}

 

$$\begin{aligned}A & = B +C\\ & = D + E + F\\ & = G \end{aligned}$$

Stack overflow, How can I have linebreaks in my long LaTeX equations?

https://stackoverflow.com/questions/2860145/how-can-i-have-linebreaks-in-my-long-latex-equations

 

How can I have linebreaks in my long LaTeX equations?

My equation is very long. How do I get it to continue on the next line rather than go off the page?

stackoverflow.com

 

변수와 변수 사이 간격 조절은 

\,을 사용하면 됩니다.

$$dx dy dz$$

$$dx\, dy\, dz$$

 

 

'잡동사니 > LATEX' 카테고리의 다른 글

LaTeX under-brace 입력하는 방법  (0) 2023.09.21
LaTeX 행렬 입력하는 법  (0) 2023.09.20
티스토리 LATEX 입력 코드  (0) 2023.04.24
Comments