{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}.

learn more… | top users | synonyms (2)

9
votes
3answers
3k views

Bibliography spacing with BibLaTeX (and two columns)

I need to fine tune the distances marked as A, B, C and D in the figure below. Any suggestions? In particular, I would like B=0pt, and the other three to be small. I am using BibLaTeX and two ...
4
votes
2answers
276 views

A problem about \xxxdisplayskip

I try to decrease the \abovedisplayskip and \belowdisplayskip to 3pt for save paper while equation including "large" math formulas has less sep between surrounding text than "normal" math formulas, ...
4
votes
2answers
445 views

How to expand summation notation on both sides of equal sign

I think you get what I am trying to do, but I dont know how to align the equal signs the entire way down and still have the vertical ellipses. Assume $\displaystyle \sum_{i=1}^{n}\alpha _{i}^{i}=\...
3
votes
1answer
2k views

Subfloating images with same margins left/middle/right

Currently I have the following code: \begin{figure}[htb] \centering \subfloat[htb][left]{\fcolorbox{plotBord}{plotPadd}{\includegraphics[scale=0.3]{figs/bla1.png}}} \hfill \subfloat[htb][right]{\...
11
votes
4answers
22k views

Avoid large spaces between text and equations

I use the options \renewcommand{\baselinestretch}{1.25} \setlength{\parskip}{0pt} \setlength{\parindent}{0pt} in the preamble of my document and most of the time the document looks like intended. ...
5
votes
3answers
4k views

An equation skip problem — amsmath package and \above/belowdisplayskip

I have been puzzled by a problem about math equation skip for days. I set the \lineskiplimit, \lineskip, \abovedisplayskip and others length macros before and after equations all to zero, but there ...
3
votes
2answers
497 views

I want to fill all the space between paragraphs on a page with a grid(graphic)

I took an example from another answer to a similar question (How to define a figure size so that is consume the rest of a page?). On a page of an exam paper I want the following: Question ...
19
votes
3answers
8k views

How can I make vfill to work without adding any text before?

Using \vfill between two texts works: \newpage bla \vfill blabla but it doesn't work if there is no text before it: \newpage \vfill blabla How can this be achieved?
7
votes
1answer
1k views

Math mode accents and spacing

I'm using accents to produce a variant of the \in operator but when I place an accent on it, as in \tilde{\in}, I get spacing that is different from \in, see the example and the image below. My ...
1
vote
0answers
270 views

global vertical space of items & subitems in beamer [duplicate]

Possible Duplicate: length between nested lists Possible duplicate: length between nested lists In order to better distinguish groups of notions, I'd like to be able to control the ...
16
votes
2answers
6k views

Reduce linespread between \item globally

Because of a page limit for a report, I would like to decrease the linespread between individual \items. I know this is generally not a good idea, but I really need the space. How can I achieve this ...
15
votes
4answers
2k views

Add asterisk after labels in enumerate

I would like to add an asterisk after certain labels in the enumerate environment. So for example \documentclass{article} \begin{document} \begin{enumerate} \item Kuttel \item* Daddeldu \end{...
2
votes
1answer
456 views

How to create a table with equally-spaced rows?

Several years ago I succeeded to create a table below. But now I forgot. Maybe I used a \rule with zero width. Is there another smart method to accomplish this mission? I used longtable to make the ...
28
votes
3answers
22k views

Should I put a space between a number and its unit?

No too much more to say. \( 2.63\si\ohm \) looks odd. But it might be the correct way. \( 2.64\,\si\ohm \) looks much better IMO. What about the \,? Sould it be bigger, smaller or there is no really ...
5
votes
1answer
1k views

Proper spaces with verbatim

there is following code: \begin{verbatim} pc:~$ ls folder1 Documents folder2 New Folder folder3 folder4444 Downloads folder5 Pictures ...
12
votes
1answer
7k views

Too much space after sections when I change parskip

I changed the parident and parskip of my document. But now there is a huge empty space after the sections. How can I reduce the space after a section? \documentclass[12pt,a4paper]{scrartcl} \begin{...
2
votes
1answer
881 views

Spaces within a set of tuples

I want to have a set of tuples spaced with ":". I tried the following: $\{1:1, 1:0, 0:1, 2:1, 1:2, 2:2\}$ but in the output, there is a space between the number and the colon. How can I get rid of ...
12
votes
3answers
6k views

Length between nested lists in beamer

How do I adjust the length between nested lists? For example, in the following, I would like to adjust the distance where it states "distance here" \begin{itemize} \item one %% distance here ...
2
votes
4answers
1k views

Dynamic stretching of text

For the needs of a running title (in header), I would like the text of a running title (in header) to be stretched over the page. So far, I stretch it manually (using LetterSpace and WordSpace in ...
4
votes
2answers
677 views

Space after lettrine

When using the lettrine package, there are often additional spaces after the small caps: It can get even bigger than that actually. It seems to me that this is because lettrine uses an mbox to ...
9
votes
2answers
4k views

Reduce white space before and after multicols environment

I wonder how to reduce the vertical space before and after a multicols environment. I have something like below \begin{multicols}{3} { \begin{equation}\sum F_x = 0\end{equation} \begin{...
6
votes
3answers
1k views

Removing a backslash “\” when passing arguments to newcommand

Consider the following minimal example: \documentclass{article} \usepackage{glossaries} \makeglossaries \newcommand{\NewS}[4]{ % Q1: How can I use argument #1 without the backslash in the ...
1
vote
1answer
203 views

weird spacing with \, and and babel

When using XeLaTeX and babel "francais", I sometimes get weird spacing: e.g. \, makes a wider space than the regular space (see what happens on the second line here). \documentclass[12pt,a4paper]{...
4
votes
3answers
4k views

Longtables and caption: spacing problem

I have been using the \longtable environment and I have an issue with the captions. All captions appear at the bottom of each part of the table, which is the result I wanted. However, there is a quite ...
5
votes
1answer
1k views

Spacing after footnote superscript

I'm writing my thesis for my Computer Science degree. I have a lot of footnotes and my advisor has told me to remove the spacing generated by the superscript of the footnote. This footnotes are ...
1
vote
1answer
368 views

Help understanding/debugging spacing around headings (and other places)

I am trying to get my headings set up to meet my university's thesis formatting requirement. I'm using the titlesec package because it has the ability to suppress the spacing before the second heading ...
5
votes
1answer
1k views

KOMA Script footer line height

How to increase footer text distance from the separator line so that it looks like header? You can see the distance from footer text to line is less than header....
3
votes
1answer
233 views

Reduce vertical space at the bottom of a 'ruled' 'newfloat'

I have defined a custom float using the newfloat command from the float package. My custom float uses the ruled style, defined in the same package. This is a minimal example of what I'm doing: \...
3
votes
1answer
196 views

Pushing indices into inter-column spacing in tables automatically.

I have a table that is very slightly to wide for the page. It contains table notes \tnote{} and these are what made my table too wide. Now I recall from the documentation of one of several packages ...
33
votes
4answers
8k views

Using display style fraction in a matrix environment

I'd like use the \dfrac command in a bmatrix environment as follows: \documentclass{article} \usepackage{amsmath} \begin{document} \[ \begin{bmatrix} \dfrac{\partial f}{\partial x} \\ \dfrac{\...
12
votes
2answers
1k views

Spaces width between the words

What is the width of the spaces between the words (by default) that LaTeX uses for text formatting?
4
votes
1answer
437 views

Why doesn't math \fontdimen's work with XeTeX?

Why doesn't the \fontdimen-command change anything with XeTeX? \input pgffor \def\chfndims#1{\foreach\dim in{13,...,19}{\fontdimen\dim#1=20pt}} \font\mymathfn="XITS Math:script=math" at 10pt \...
4
votes
2answers
922 views

Reduce space between Sinput and Soutput

I'm using Sweave in the book document class, and I'm getting really huge spacing between Sinput and Soutput evironments. \documentclass[11pt]{book} \usepackage{Sweave} \usepackage{boxedminipage} \...
1
vote
1answer
422 views

Using \jot crashes \intertext’s spacing

As mentioned in Intertext vertical spacing, there seems to be some inconsistencies in spacing around AMS’ macro \intertext, even without changing the length of \jot. But if I’m using a longer \jot to ...
5
votes
2answers
303 views

Adjust settings that determine when sections should start on a new page/column

I'm using titlesec in a two column environment, and sometimes my sections start on a new page or the second column, and leave blocks of white space at the bottom of the previous page/column. I am ...
3
votes
3answers
970 views

Reduce Space Between Characters in New Command

I'm not satisfied with the new command I've made. My code: \newcommand{\ps}[2]{\mbox{P}_{#1}\left(#2\right)} $\ps{Y}{y}$ %example My problem is that there's too much space between the subscripted Y ...
19
votes
2answers
2k views

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, ...
7
votes
1answer
2k views

Titlesec: remove space after empty margin section

I'm using titlesec to assign some custom formatting to my sections. In particular I want to use margin \section's, so that the title section is typeset on the left margin, and the text of that section ...
2
votes
1answer
135 views

Overhead captions with short final line in combination with a relativly thin float look unpleasant

I'm using the caption package and have a relatively small table with a caption above with a short final line. In the the case of the equation environment, it will spot this and move the equation up if ...
3
votes
1answer
420 views

Add vertical spacing between epigraphs

I am writing a thesis and would like to add some vertical spacing between epigraphs inside a \begin{epigraphs} environment at the start of my chapters. MWE: \documentclass{report} \usepackage{...
37
votes
2answers
7k views

How can I put more space between bibliography entries (biblatex)

My bibliography (made with biblatex) has all items close to each other. I would like to introduce some space between them, e.g. half a line. How can I do this?
5
votes
1answer
80 views

Removing whitespaces caused by separate source files

I have an article which consists of multiple files, a main file with following section includes: \include{Introduction} \include{ProposedProtocol} \include{Comparison} \include{FutureWork} \include{...
4
votes
1answer
944 views

I had a problem with spacing of tabular columns combined with \multicolumn. I found an inelegant solution. Perhaps someone knows of a better one?

Consider a table with several columns. Three consecutive columns are thin. These three thin columns have a long \multicolumn{c}{3}{??} heading over them. If nothing is done to specify how these should ...
3
votes
2answers
627 views

why does \hspace{0pt} produce a space at the beginning of the paragraph together with \marginpar?

Similar situation as in Align marginpar with beginning of paragraph. Basically I need to align the margin note to the beginning of the paragraph, and I'm putting the \marginpar command before the ...
5
votes
3answers
6k views

Underlining a whole line with a short text in its beginning

I would like to underline a whole line with a single word in the beginning of the line. I tried \underline{\textsc{HOMEWORK}\hrulefill}} but this underlines only the word ``HOMEWORK'', leaving the ...
6
votes
3answers
714 views

What is an elegant way to insert a skip between two paragraphs?

From time to time I want to insert a skip between two specific paragraphs (at the end of a thought). My first shot was to simply insert a \vspace but the indentation still bothered me. So what I came ...
1
vote
1answer
196 views

Why chapter label below the section label on new page even if by setting same spacing before title (use titlesec package)?

\documentclass{book} \usepackage[margin=0pt,papersize={50pt,70pt}]{geometry} \usepackage{titlesec} \titleformat{\chapter}{\Huge\bfseries}{}{0em}{} \titleformat{\section}{\Huge\bfseries}{}{0em}{} \...
6
votes
2answers
148 views

Start a line at X column

How can I write a line of text at a given column? I'm using a monospace font and I have interest in how can I can specify a column number to start from there. For example: Line started at column zero ...
7
votes
3answers
2k views

Extra space above boxed multi-line equation

Well, this question is not new. It was asked back in 2007 in texhax, and answered at the same time. However, I couldn't apply the patch as mentioned in the answer, so I decided to ask it here. ...
7
votes
1answer
162 views

Can maths adornments know the “type” of their contents?

By "maths adornments" I mean things like \widehat (from the ams) and their ilk. Perhaps the following best illustrates what I mean: Code to reproduce: \documentclass{standalone} \usepackage{...