Text Formatting ⇒ How do I control spaces between lines?
-
joeschmidt
- Posts: 4
- Joined: Sat Jan 17, 2009 6:34 pm
How do I control spaces between lines?
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Re: How do I control spaces between lines?
Best regards and welcome to the board
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
joeschmidt
- Posts: 4
- Joined: Sat Jan 17, 2009 6:34 pm
Re: How do I control spaces between lines?
I have the following text:
sin(306)=-sin(54)
sin(234)=-sin(54)=-cos(36)
sin(162)=sin(18)
sin(90)=cos(0)
sin\theta - sin(54) - cos(36) + sin(18) + cos(0) = 0
sin18 - sin(54) - cos(36) + sin(18) + cos(0) = 0
However when I turn it into a pdf, it shows up like this.
sin(306)=-sin(54) sin(234)=-sin(54)=-
cos(36) sin(162)=sin(18) sin(90)=cos(0)
sin − sin(54) − cos(36) + sin(18) + cos(0) = 0sin18 − sin(54) − cos(36) +
sin(18) + cos(0) = 0
I cannot get spacing between lines, and I was wondering if it is possible to get spacing by pressing "enter". Basically I want to have the spacing that I put in appear in the project to be in the pdf, so if I press enter 5 times between paragraphs in the project, there will be 5 lines of blank space between those paragraphs in the pdf.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
How do I control spaces between lines?
Code: Select all
\begin{align*}
\sin(306)&=-\sin(54) \\
\sin(234)&=-\sin(54)=-\cos(36) \\
\sin(162)&=\sin(18) \\
\sin(90)&=\cos(0) \\[2\jot]
\sin\theta - \sin(54) - \cos(36) + \sin(18) + \cos(0) &= 0 \\
\sin18 - \sin(54) - \cos(36) + \sin(18) + \cos(0) &= 0
\end{align*}Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10