HOME
> Office programs
> Latex: Force Spaces - This Is How It Works
LaTex: Force spaces - this is how it works
If you use LaTex, inserting spaces is only possible by command. The program offers you a wide range of commands for this, with which you can force normal, short or break-protected spaces. Read also how to force the insertion of whole blank lines.
Forcing: How to insert spaces in LaTex
Unlike other text programs, LaTex lets you insert one space at a time. If you enter several spaces in a row, the program will interpret them as one space. To insert several spaces nevertheless, you must force them.- To insert a normal space, please insert a backslash and then press the "spacebar".
- If you only want to add a short space to your text, please type a comma, a semicolon or a colon directly after the backslash.
- In addition, LaTex offers you the possibility to insert a break-protected space in text or math mode by typing the command "~".
- To insert four or eight spaces in succession, simply type the commands "\quad" or "\qquad" respectively.
- If you want to determine the length of the inserted space yourself, use the command "\hspace{"length"}" and replace "length" with a number for the desired space length.