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.
  1. To insert a normal space, please insert a backslash and then press the "spacebar".
  2. 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.
  3. In addition, LaTex offers you the possibility to insert a break-protected space in text or math mode by typing the command "~".
  4. To insert four or eight spaces in succession, simply type the commands "\quad" or "\qquad" respectively.
  5. 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.

How to force a blank line in LaTex

If you want to insert not only spaces between single words or numbers in LaTex, but whole blank lines between written sentences or paragraphs, you have to force them as well. The fastest way to do this is to use the "\" command. To insert a blank line between two paragraphs, please put the command "\\" at the end of the first sentence and press the "Return" key twice before continuing to write.

By Cott

Does the Nintendo 3DS have Bluetooth? An overview :: Setting default apps - how to do it
USEFUL LINKS