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

11
votes
0answers
104 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
188 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, ...
7
votes
0answers
52 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 ...
6
votes
0answers
24 views

Spurious Vertical Space Introduced by multicols (Additional Case)

This seems to be a duplicate of Spurious [?] vertical space introduced by multicols, but the solution from there does not seen to work for me. Basically I want the case of using multicols to not ...
6
votes
0answers
388 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
54 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
58 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
48 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
93 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
31 views

Spacing in labels of a list

I entered the following code in LaTeX: \documentclass{article} \begin{document} \begin{enumerate} \item[[$\Rightarrow$]]necessitiy \item[[$\Leftarrow$]]sufficiency \end{enumerate} \end{document} I ...
3
votes
0answers
53 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
27 views

Changing a macro's output depending on immediate context

I've set up a macro for differential parts as so: \newcommand{\dd}[1]{\,\mathrm{d}#1} which is useful for differentials at the end of integrals because of the space. (I realise the argument ...
3
votes
0answers
77 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
84 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
95 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
153 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
191 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
28 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
38 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
28 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
59 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
35 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
60 views

want to remove space above figure

I am using this code \RequirePackage[demo]{graphicx} % to deal with non-available graphics files \documentclass{beamer} \begin{document} \begin{frame} \frametitle{Title } \begin{columns} ...
2
votes
0answers
49 views

Setting a default horizontal spacing value for math mode

Is there a way to set a default value for the horizontal spacing in LaTeX math mode? I'm constantly writing $foo \; bar \; baz$ Where the \; macro sets the space that I am happy with. Is there a ...
2
votes
0answers
61 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
82 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
50 views

Spacing in list of algorithms within classicthesis template

Consider the following screenshot: Differently than \listoffigures, \listoftables or \lstlistoflistings, the \listofalgorithmes command is adding an extra white space between chapters in the ...
2
votes
0answers
45 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
60 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
85 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
132 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
120 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
121 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
129 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
157 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
179 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
68 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
109 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
88 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
262 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
35 views

Spacing of fractions in TeX Gyre Pagella Math

Using TeX Gyre Pagella Math with xelatex, some objects like \frac12 just seem way too large compared to the rest of the equations. Have a look: In the first line, the numerator looks like it's ...
1
vote
0answers
72 views

Adjust text manually

I'm writing my thesis. I made some appendices with tables. But, I want to adjust some lines of text manually. Some lines should be pass to next page. Is it possible ? Sould I use vspace ? Sorry for ...
1
vote
0answers
59 views

Reducing the space between the \title and the first line of the the abstract in IEEEtran

I am trying to reduce the space between the title and the abstract (the paper have no authors). IEEETran style is being used. I tried the \vspace command but it didn't work, any ideas, ...
1
vote
0answers
47 views

Customize the display of a theorem

I have a theorem for which I do not have a proof. What I mean is that I have a paragraph under it, but I do not want it to start with the word Proof. Instead I want that only the first line of the ...
1
vote
0answers
63 views

Space between Caption and image

i have gone through all answers related to this question. But in my case nothings seems to be working.. I wish to reduce the space between image and caption. But none of the method is working. Here is ...
1
vote
0answers
41 views

how to reduce the space between subfigures with \subfigure

I want to put figures in rows, but the vertical space between sub-images is too large, how can I reduce the space between them? Note: The template uses \usepackage{subfigure}, so it cannot use ...
1
vote
0answers
37 views

Soul package and spacing problems

Similar problems with soul package can be found here and here. But since my problem is simpler than those (even related with spacing) I guess that it could have a simpler solution. The problem ...
1
vote
0answers
25 views

Curious behaviour of vertical space in one and two column document

When I use the first code (in a two-column document) the vertical space between the text and the gather environment is small. When I use the starred version or a one-column document then the space ...
1
vote
0answers
42 views

How to change the default top margin for an invoice?

Here is what I've got: \documentclass{letter} \newcommand*{\BottomLeftX}{1.0in+\hoffset+\oddsidemargin}% ...
1
vote
0answers
42 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 ...