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

16
votes
0answers
283 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} ...
11
votes
0answers
166 views

Obtain \badness or glue adjustment for each line

This might be interesting for perfectionists and/or fastidious typesetters who would like to improve the document even further (beyond the beyond the magnificence of a book with zero bad boxes). We ...
7
votes
0answers
526 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 ...
6
votes
0answers
71 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
23 views

Odd vertical space combining footmisc with hang option and bigfoot

Trying to combine the hang option of footmisc with the bigfoot package (later to be used for more footnote registers) I am getting an odd line inserted between the footnotes. If I comment out the ...
4
votes
0answers
126 views

Wrong vertical alignment using mdframed with tight margins

When using the mdframed environment with absolutely tight margins (all set 0pt), there is too much negative vertical space of split md-frames that are placed at the top of a page. To illustrate this, ...
4
votes
0answers
74 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
166 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
45 views

How can I redefine \int to put a negative space after the integral sign, but keep the limits properly set?

I'd like to modify the \int command such that it adds an automatic negative space, e.g. \! after the integral sign. Preferentially, I'd like to be able to not edit any of my code, so cleverly ...
3
votes
0answers
116 views

Changing top margin for second page only? \vspace inserts extra whitespace

I am trying to format a LaTex template for pandoc output from .md to pdf. The document is for lengthy university papers requiring very specific layout. The majority of the paper has 1 in margins all ...
3
votes
0answers
68 views

Fix the footnote separation with bigfoot

I am using the bigfoot package for the footnotes of a critical edition in the verse environment. I have defined two different footnotes (A and B). What I need is to fix the separation between them, ...
3
votes
0answers
60 views

Controlling the space in section numbers

I want to control the space around the dots of the section numbers (and subsection and so on). I think the space sometimes is too small like the one with IV . sometimes to wide, eg when it involves a ...
3
votes
0answers
102 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
132 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
232 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
45 views

How to remove extra space above the figure

This is tex file Thus, speculatively, higher-order antibunching might play a role superior to usual antibunching. Note that such a prominence of higher-order antibunching was discovered for the first ...
2
votes
0answers
33 views

What could make align use so much spacing?

Apologies in advance for not creating a compiling example, but when trying to duplicate just the related code to an empty .tex project, the phenomena does not appear. I have the following code: When ...
2
votes
0answers
21 views

Using `\displaybreak` in `\split` environment

I want to use \displaybreak in \split environment. I tried to use it locally and just before the \begin{equation}...\begin{split} block, but they both didn't work. As far as I searched, there is no ...
2
votes
0answers
80 views

How to create additional space below Section headings followed by Subsections in the Table of Contents

I am preparing my thesis using the apa6 document class. I'm using the tocloft package to format my Table of Contents and List of Figures. In the TOC, I can't figure out how to add space BELOW section ...
2
votes
0answers
122 views

Zero space between bars of the same interval in pgfplots ybar interval plots

I need a bar plot (containing multiple \addplot) with following requirements: ticks between x labels (and, in this respect, my question differs from Adjusting width of ybar interval separator to ...
2
votes
0answers
74 views

Beamer: Extra vertical space with \visible

This is related to How to get rid of height differences in two beamer blocks? I'm curious why overlay commands \visible (and \invisible, \uncover, \onslide) would add an extra vertical space ...
2
votes
0answers
125 views

LOF and LOT customization in memoir

I am attempting to add LOF and LOT to my current document using the memoir class. When I try to remove the spacing above the LOF and LOT titles, I get the "Undefined control sequence. ...
2
votes
0answers
36 views

Troublesome extra space in matrix with ConTeXt

I need to display a column vector in a table and, by doing it, an extra space occurs like an empty extra number. How can I fix this please ? \starttable[|r|l|] \NC $u=\startmatrix 1 \NR ...
2
votes
0answers
203 views

Controlling delimiters in matrices typeset with TiKZ

This question is directly related to Loop Space user's answer to question Broken matrix - gaps in brackets, in which an alternative TiKZ method to amsmath matrix typesetting is provided. The ...
2
votes
0answers
52 views

How to put something on a page without disturbing the main vertical list?

I'd like to put something on an arbitrary place on a page. I'm using \begin{tikzpicture}[remember picture,overlay] ... \end{tikzpicture} inside \nointerlineskip\vbox to 0pt{\vss ...
2
votes
0answers
109 views

text alignment problem in beamer

The text is aligned left even though there is lot of space on right side. Below is my part of tex file. and the output slide is also attached. Please suggest what can I do to correct this. Thanks. ...
2
votes
0answers
56 views

Having the same amount of space with and without multicol when using with titlesec and itemize

I am trying to use multicol and itemize to spread a list over several columns. I am also using titlesec to style my headings. One part of my document uses multicol and the other does not and both have ...
2
votes
0answers
115 views

Multicol and Itemize

I am using the multicol package with itemize. On the left of my two columns, each bullet point is 2 lines long, and on the right side, each bullet point is one line long. Right now, my output is ...
2
votes
0answers
87 views

Non-breaking space in cite style

I am using the .bst file "authordate-3" to create my references, with a citation in the text in the format (author, year). I would like to make the space between author and year a non-breaking space ...
2
votes
0answers
89 views

Typesetting with “odd-shaped” margins

I am considering a poster presentation that I would like to design using nonstandard margin shapes. Current standard essentially puts elements inside a rectangle determined by page size, header and ...
2
votes
0answers
79 views

First line in beamer block ignores abovedisplayskip?

If I use an an align environment within the a beamer block, the \abovedisplayskip is ignored. How can I force that setting? My MWE is \documentclass[t]{beamer} \usecolortheme{rose} ...
2
votes
0answers
107 views

Emulate tabular vertical spacing with parskip package

I would like to emulate the vertical spacing of tabular without using tabular. When the \parskip package is used, using \par leaves too much vertical space, so I thought I'd emulate it with use of a ...
2
votes
0answers
88 views

Identical space around \[ \] and the amsmath environments set to a personnal value

I wish to have the same spaces around the brackets \[ ... \] as the space around the environments align and equation (above and below, short or not) from amsmath, ideally (I set \parskip=1ex), ...
2
votes
0answers
63 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
163 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
150 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
221 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
290 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
94 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
121 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
331 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
20 views

Recommended practice for spacing between “and” and “\ref{}”?

It is widely known that one should insert a non-breaking space ~ between the name of a reference and the reference itself, e.g., As we can see from figure~\ref{fig:foo}, [...] This avoids the word ...
1
vote
0answers
37 views

Space between \hline\hline in `longtable`

I'm trying to use one longtable in my thesis while all others are created with table and tabular environment. I tried to find help visiting this link. But there only one type of table (longtable) is ...
1
vote
0answers
29 views

managing the spaces between the pdf figures in latex document

I was creating a document containing pdf's figures after finishing I have got the following style in my document(((attached picture))), I tried to manage the distance between these figures but when I ...
1
vote
0answers
16 views

Spacing is varying between two mdframed environments with llncs class

Try out the MWE below. If I uncomment the commented line and comment out the previous one, the space between two `mdframed' environments increases drastically. \documentclass{llncs} ...
1
vote
0answers
18 views

How to reduce space between words in gsm package

I used gms package (a special package of AMS, provided for their Graduate Studies in Maths serie) to write a math book. I got a problem with space, and then I want to narrow a line by reduce the ...
1
vote
0answers
30 views

longtabu bottom caption too close

I want to add the longtabu caption bottom of the table. I know this is not good. But I was told to do so. When I do it as in the code sample, the caption comes too close to the table. But after the ...
1
vote
0answers
45 views

List Of Listings Overlapping Text

I'm attempting to generate a list of listings for my dissertation. The university doesn't have a standard LaTeX template, but there is a pretty good one generated sometime ago that does the trick. The ...
1
vote
0answers
85 views

Squeezing a paper into a page limit - with IEEEtran

I'm working on this draft for a submission to some conference which - woe is me - uses IEEEtran. I could rant about that class for days, but never mind right now... the point is, I need to squeeze ...
1
vote
0answers
35 views

Remove vertical space between several chapters in ToC

I would like to remove the vertical space between several (but not all) chapters in my ToC (namely, the literature, the list of symbols, and the index). The following code works in the preamble to ...