{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)

10
votes
0answers
72 views

siunitx disturbs spacing of \, in math with xelatex

In the following example - compiled with XeLaTeX - the spacing of \thinspacing/the value of mu (used by \,) is disturbed if \SI is used in the math before: \documentclass{article} ...
8
votes
0answers
143 views

Microtype and word spacing

I'm trying to change the default word spacing for some font. I know 2 ways to do it: setting \fontdimens or \spaceskip. With these approaches and microtype's \textls I get two different results, ...
6
votes
0answers
333 views

proper alignment of pdfpages import in memoir typeblock

Finding the solution to Setting up pdfpages with memoir? turned out not to be as simple as adding the right layout parameter as an offset. The first finding was that if a twoside documentclass is ...
5
votes
0answers
46 views

Hightlight specfic digits within siunix's \num

I would like to highlight specific digits in a number. Since the number is large I would like to use \num{} from the siunitx package. Of course I can do it manually as in the MWE below, but was ...
4
votes
0answers
30 views

Why does a linebreak in minipage flow this to the next page?

I am using zwpagelayout (see this question) but if I put a minipage with a line or paragraph break, I get weird two-page output. \documentclass{article} ...
4
votes
0answers
79 views

longtable package: Stretch height of last row on page

Consider the following code \documentclass[a4paper]{article} \usepackage{longtable} \usepackage{lipsum} \begin{document} \begin{longtable}{|p{5cm}|} \hline \lipsum[5] \\\hline ...
3
votes
0answers
60 views

How can I obtain the same vertical space between the chapter number and the chapter title?

How can I obtain the same vertical space between the chapter number and the chapter title for all chapters? The space between the chapter number and the chapter title reduces when the title goes on ...
3
votes
0answers
73 views

floatrow - remove whitespace beneath figure

I have a page layout with exactly 40 text lines and some small pictures to distribute throughout the text. When I arrange 2 pictures at the page bottom in a row via floatrow and specify their height ...
3
votes
0answers
68 views

Frenchspacing not working in footnote

I have \footnote{\textit{Difesa della povera gente}, in: \textit{L’attesa}, p. 81; cfr. \textit{Ero disoccupato e mi hai trovato lavoro}, in: Giovagnoli, \textit{op. cit.}, pp. 232--233.}. which ...
3
votes
0answers
50 views

Strange behavior of subsubsection

I create a questionnaire (Question-Answer). For this purpose I use the pdfcolparallel package. When I type \subsubsection in the first column, a strange vertical line appears before subsubsection and ...
3
votes
0answers
93 views

Appropriate indentation for first item starting in the same line as previous text

I use the following code \newlist{longmainenum}{enumerate}{1} \setlist[longmainenum]{label={(\alph*)},font=\bfseries, align=left, leftmargin=0pt,labelsep=0pt, labelwidth=1.9em, ...
3
votes
0answers
144 views

Color Gradient between block and blocktitle leave a white line

![The color gradient between the block title and block body in beamer leaves a small white line to the far left of where the color-gradient bar used to be I used these four lines at the beginning of ...
3
votes
0answers
169 views

Beamer ToC: vertical spacing compressed when making ToC in columns environment

I am trying to adapt the Beamer table of content to my needs. I use the columns environment to change the lay-out of frames with a lot of white space. This works fine in most cases, but when I use it ...
2
votes
0answers
25 views

Cancel the use of \baselineskip when at the top of page

I've defined a macro \myaddress which prints my address at the end of a document, cf. Simplify how I write my address in documents. That macro includes the use of \vspace{\baselineskip} to separate it ...
2
votes
0answers
56 views

Problem with the table of contents

I am writing a work about logarithms and in the table of contents I am confronted with this problem: There is no space between the number of the sub sub-subsection and the title: 2.3.10.1 Função ...
2
votes
0answers
73 views

aboveglftskip in expex linguistic glosses

First of all I am not an expert in using LaTeX, I just started a few months back. I am using MiKTeX with the expex package for glossed linguistic examples. If we take a look at a glossed example, we ...
2
votes
0answers
101 views

Using the correct amount of space around unit symbols

This is from an old package I developed back in 2003. The idea was to cover international system units (SI) and other type of units, roughly following guidelines from that document. Units should ...
2
votes
0answers
104 views

How can I customise the table of contents like so?

I face a problem of spacing between items in my table of contents. This is what I have at the moment: I would like to change a few things: I want to put table of content in center I want to put ...
2
votes
0answers
75 views

Remove space below section in memoir

I'm growing tired of the extra space below \section and \subsection in the memoir class - it's way too big. How can I remove it - like one use \vspace{-20pt}$. This must be done for all \section and ...
2
votes
0answers
118 views

Unwanted extra vertical spacing with tikz: is it a bug?

I am writing an environment to format its content in a box with a background and that can be split across pages. I am using a splitting algorithm similar to the one used in the boites package. I want ...
2
votes
0answers
110 views

Reduce gap between a figure and a paragraph

I put 2 figures side by side as follows: \begin{figure} \centering \subfigure[a long sentence a]{% \includegraphics[width=0.23\textwidth]{figures/cells_time_23h29.eps}} \subfigure[a long ...
2
votes
0answers
146 views

How to customize a brief table of contents generated from tocloft and shorttoc into one page?

I am writing a book with over 20 chapters using LaTex. I generated the detailed Table of Contents with the package tocloft, and a brief TOC with shorttoc. Right now, the brief TOC has two pages but I ...
2
votes
0answers
60 views

Change spacing for lists in LyX through template

I want to change the vertical spacing of a list in my resume. I am using the moderncv style file through LyX in Ubuntu 12.04. One of the list environments defined in the moderncv is Computer ...
2
votes
0answers
91 views

Using \parbox in Beamer has unwanted effects

I want to change from an itemized list on one slide to an image on the next slide. I tried this with a \parbox with overlay specifications. It works ok when the inner position of the parbox is set to ...
2
votes
0answers
97 views

ConTeXt: Set mixedcolumns maximum height for vertical rule

Background Looking to ensure that the height of a vertical rule for the first page of a section is the same as the subsequent sections. Code Minimum working example to illustrate the issue: ...
2
votes
0answers
75 views

Customizing pgfuml (distances)

I'm using pgfuml to create some sequence diagrams. As you can already see in the examples on the pgf-uml Homepage, diagramms get very crammed if you insert many descriptions. Text and arrows overlap ...
2
votes
0answers
298 views

Spacing & sizing with libertine and newtxmath

I'm using the following setup for the Libertine font: \documentclass{article} \usepackage[T1]{fontenc} \usepackage[lining]{libertine} \usepackage[libertine, cmintegrals]{newtxmath} \begin{document} ...
1
vote
0answers
17 views

Reduce space below an algorithm

I am using the algorithm package for my algorithms in the paper. I find that the space below the algorithm is very large after generating a PDF, so I want to shrink the space. Firstly, I come to add ...
1
vote
0answers
31 views

Beamer, philex and \hfill

I'm using the package philex for linguistic examples, and I try to put a textual element at the end of the line (right centered). I tried to use the \hfillcommand, but as the MWE will show you, it ...
1
vote
0answers
60 views

Spacing between single line paragraph with lettrine

I'm having the following problem with lettrines and paragraph with a single line : \lettrine[lines=2, loversize=0.15, findent=1em, nindent=0em ]{1}{}% First step. \lettrine[lines=2, loversize=0.15, ...
1
vote
0answers
31 views

Why does \iow_shipout: introduce typeset whitespace (where \iow_now: does not)?

For my resume, I have an environment that lays out information in two minipages—one for position/education data, one for the environment contents. The class I wrote also produces plain text ...
1
vote
0answers
30 views

Starting a theorem or a proof with an equation and vertical spacing

Is it bad practice to begin the statement of a theorem or of a proof with an equation? If it is acceptable, what is your opinion on the resulting spacing in the three cases, in the code below? In the ...
1
vote
0answers
58 views

The spacing of `\to`

Let's say I use \def\searrow{\mathbin{\text{\rotatebox[origin=c]{-33}{$\to$}}}} instead of the \searrow. But \mathbin doesn't seem to provide the spacing that \to has; what should it be? Other ...
1
vote
0answers
63 views

Overall formatting in LyX

I could not find a previous question that dealt with this topic, and much of the guidance is one-off. I am creating a paper and I want the text to be double spaced but not section headings, the ...
1
vote
0answers
56 views

Extra spacing before an equation when line nearly breaks

I am having difficulty with producing an MWE, but let me describe the issue. I have a large document with tons of equations and run into issues with spacing. Most of the time it is fine, everything ...
1
vote
0answers
57 views

Too much space in the section

My problem is the next, I have too much space to finish a \section and start the other section the code is: ...ropagaci\'on, as\'i solamente la luz que sea paralela al eje de polarizaci\'on ...
1
vote
0answers
63 views

Vertical spaces around display math

(First of all, I know that \[ \] should be used instead of $$ $$ and I do it.) I'd like to know about the vertical spacing around math display blocks. According to texdef -t latex \[ we have \[: ...
1
vote
0answers
39 views

titleformat deviation from specified vertical space

I have specified using titleformat (titlesec) the distances around different headings. This works fine, however sometimes, LaTeX deviates from the specified spaces, presumably to better fill up the ...
1
vote
0answers
36 views

Edit Customize Change Justification rules to solve losse lines in tight columns or spaces

I'm working on a table and have a column (column 3) which is about 5 cm wide (specifically set) where I'd like text to be justified. However, due to the tight column, the paragraph style (in combo ...
1
vote
0answers
44 views

How to have a wrapfigure not always be below section heading

I have noticed that wrapfigs always place themselves under a section heading, with quite a bit of white space. This often leads to my wrapfig captions being below the bottom margin and the white space ...
1
vote
0answers
48 views

Spacing by language in jurabib bibliography

Note that I am still using jurabib because it interacts very well with LyX. I can use the citation button (\cite) and thanks to jurabib's "citefull" feature I still get full citations in footnotes. ...
1
vote
0answers
45 views

marginfix package interferes with title element vertical placement in memoir

Possibly in other classes as well. Typeset the below and everything is bunched up at the top of the page: \documentclass{memoir} \usepackage{marginfix} ...
1
vote
0answers
101 views

Configure CV in LyX

I would like to ask help in configuring my CV in LyX. I am using moderncv style with LyX in Ubuntu 12.04. I shall say that I have found a close solution to my problem in this post on blank spaces, ...
1
vote
0answers
85 views

Spacing within a box, relative to the page

I am attempting to place a textbox precisely 75mm from the top edge of a page (to correspond with a cut-out on the cover). On printing this out, I noticed I was getting positioning problems, so got ...
1
vote
0answers
75 views

How to define vertical spacing around subcaptions

I want to increase the spacing between my (sub)figures and their respective captions. Unfortunately, all things tried (skip or margin options in e.g. \captionsetup, vspaces) didn't have any effect. ...
1
vote
0answers
244 views

Free space in bar-chart with empty entries

I would like to plot some data set with the ybar option of pgfplot. But not all entries are nonzero. The zero entries waste space between the bars and when the plot gets crowed it is not clear anymore ...
1
vote
0answers
75 views

Spacing in Dirac's ket vector

I have defined myself a \ket which does \left| #1 \right\rangle. For a state with two numbers, say n and m, one writes, on paper, |a b>. What kind of distance should I use to separate those ...
1
vote
0answers
253 views

\Needspace inside \multline

How to make \Needspace work inside \multline? \displaybreak would be ok, but it doesn't support arbitrary lengths. For example: \documentclass{article} \usepackage{amsmath} \usepackage{needspace} ...
0
votes
0answers
25 views

Titles directly below a float is causing spacings below the float to increase

I'm using \begin{figure}... \end{figure} with memoir class, and if there is a title (\section, \subsection, \subsubsection) right below the figure, the spacing below the figure is greatly increased. ...
0
votes
0answers
33 views

Formatting Follow Along Handouts for My Class

I am having issues with the \only<|handout:0> command, specifically with the resizing of blocks on my beamer slides for my students to use as guided notes for my lecture. I want to keep the ...