Questions tagged [spacing]

{spacing} is about both horizontal and vertical white space, e.g. space between letters or words, or space between paragraphs. For adjusting the space between the lines of a document, use {line-spacing} or -- if your question is specifically about the package of the same name -- {setspace}.

{spacing} is about both horizontal and vertical white space, e.g. space between letters or words, or space between paragraphs.

Examples of spacing commands are \hspace, \vspace, and ~, but there are many more.

For adjusting the space between the lines of a document, use .

There's also the setspace package. It provides double spacing and one-half spacing, but also arbitrary spacing which can be restricted to environments. If your question is specifically about this package, use .

7956 questions
911
votes
1 answer

What commands are there for horizontal spacing?

I know that \: in LaTeX produces a space when rendered. Are there any alternatives, because my LaTeX renderer doesn't support \: (it renders it as text), and there is no help / FAQ that I can find.
Zerium
  • 12,559
145
votes
3 answers

Large negative spaces

I know about \! which creates a thin negative space but is there any native command for large negative spaces (like quad or qquad for positive spaces) ?
vanna
  • 1,675
106
votes
7 answers

Using the \tab Command

I have seen several cases of people using the \tab command to insert a specific amount of space between objects (as opposed to the \hfill command which uses any remaining space). However, I have never been able to get \tab to work. Are there any…
101
votes
17 answers

Squeezing scientific paper to fit within page limits

I am submitting a paper to a conference that has a limit of 10 pages. I have edited and edited the text, but the paper still fills 11 pages, and I am reluctant to remove anything. What tricks can I use to make the paper fit in 10 pages? I know…
Vebjorn Ljosa
  • 22,437
  • 17
  • 43
  • 32
94
votes
1 answer

What is glue stretching?

I had a question about dynamic vspaces (Dynamic vspace depending on text height) and there was a hint I should use a stretchable glue. Searching with Google didn't give me a helpful answer. I would be glad, if someone can explain it and give me a…
CSchulz
  • 1,915
56
votes
5 answers

How to shorten/shrink spaces between words?

My objective is to fit more words within one line. In order to show what I mean, I will exaggerate the word spacing here: Pretend this is a normal line in the document: Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Since I…
Level1Coder
  • 7,029
52
votes
1 answer

taking unncessary space after e.g. or i.e.

Possible Duplicate: Is a period after an abbreviation the same as an end of sentence period? Hi, I often use the abbreviations e.g. and i.e. when writing. The period after these abbreviations makes LaTeX to think that it's an end of a sentence…
48
votes
5 answers

What is the right way to use the `\!` spacing command?

I have noticed that I hardly ever use the \negthinspace command \!. This is because I don't know how to use it properly (I do use other spacing commands quite a bit, because I can better understand the guidelines of when they might be useful).…
48
votes
3 answers

Two consecutive spaces

When using some other editors, when you type two spaces with your space bar, two spaces are effectively displayed. This is not the case in LaTeX (btw, that's not the case on these websites ;) ). My question is barely simple I guess, but I didn't…
user23710
  • 1,491
47
votes
3 answers

Why does latex stretch small sections across the whole page vertically?

I'm writing my bachelor-thesis and have a couple of small sub-sub-sections explaining conversions, like in the following \subsubsection*{Assignment} This document only explains non-compound assignments. The other kind, i.e \texttt{a += b}, is…
46
votes
5 answers

How can I force a \hspace at the beginning of a line?

My code is this: \setlength{\parindent}{0ex} \texttt{ x\hspace{1ex}\hspace{1ex}\hspace{1ex}y \newline \hspace{1ex}\hspace{1ex}\hspace{1ex}\hspace{1ex}y } What I'd like to see is: x y y What I actually see is: x y y I've tried various…
DavidT
  • 707
40
votes
3 answers

Fill space created by \phantom with other text

I am looking for a command I am pretty certain to have used before but which I cannot recall (and I did search for it): I want to create (horizontal) space of some length, e.g. created using \phantom{text}, with some other (shorter) text. It should…
Bernd
  • 1,785
31
votes
1 answer

When to use a \mbox or a tilde for words that have to stay together

I am new to La Tex and wondering when to use a tilde, or a \mbox? A tilde prohibits a line break and so does \mbox, so when to use one or the other? For example, should I use: \mbox{words to kept together} or, words~to~be~kept~together
Leena
  • 521
30
votes
2 answers

Exhaustive list of use cases for the interword space \␣

The Guide to LaTeX (4e) states that \␣ is a "[n]ormal space between words after a command without arguments or after a period that is not the end of a sentence" (p. 467). For the former case (\somecommand\ nextword), there is {} (\somecommand{}…
27
votes
2 answers

How to change the interword spacing?

I'm trying to enlarge the interword spacing, because with ITC Kabel's default spacing it's sometimes hard to decide where is the space between two words. I read the manual of the microtype package, and I did some trying, without success. For example…
deeenes
  • 1,269
1
2 3
44 45