HOME
> Office programs
> Latex: Change Line Spacing - How To Do It
LaTeX: Change line spacing - how to do it
Particularly in scientific papers or professional documents, you often have to comply with formal requirements. This includes allowing you to set variable line spacing. Although this setting is more complex in LaTeX than in other programs, the result is much more appealing.
This is how you set the line spacing
To make the setting, you need to install in advance to be able to use the line spacing.- To change the line spacing, you need the "setspace" package, which you integrate into the desired document with the command "/usepackage(setspace)".
- This gives you the option to install double, 1.5 times and single line spacing for your document.
- To be able to integrate double line spacing into the document, you need to enter the command "/usepackage(douplespacking)(setspace)".
- If you want 1.5 times spacing, you need to insert "onehalfspace" and for single "singlespace" into the command.
- If you only want a specific section of text to have a different line spacing, you must insert the commands "/begin(singlespace)" and "/end(singlespace)" in the appropriate places.
- If you need a more customized line spacing, you can use the command "/begin(spacing)(x)". Just enter the desired number for the x.