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.
  1. To change the line spacing, you need the "setspace" package, which you integrate into the desired document with the command "/usepackage(setspace)".
  2. This gives you the option to install double, 1.5 times and single line spacing for your document.
  3. To be able to integrate double line spacing into the document, you need to enter the command "/usepackage(douplespacking)(setspace)".
  4. If you want 1.5 times spacing, you need to insert "onehalfspace" and for single "singlespace" into the command.
  5. 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.
  6. If you need a more customized line spacing, you can use the command "/begin(spacing)(x)". Just enter the desired number for the x.

Help for getting started

Even if you are just starting to work with LaTeX, then typing the many commands can have a negative impact on your writing flow. That's why you can do the setting of the format at the end. Since latex is much easier and more effective at formatting, you won't be at a disadvantage.

By Rayner Turkowski

Google Inbox: Add more email accounts :: LinkedIn cover photo: How to change the background
USEFUL LINKS