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

12
votes
0answers
141 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
232 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
111 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
464 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
61 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
89 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
63 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
116 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
50 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
36 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
58 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
88 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
90 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
115 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
169 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
26 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
140 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
39 views

LyX: put space between first and second columns of table

When inserting a table in LyX, there's a space between the first and second rows, which I can get rid of by selecting the first row and turning off "bottom line", or selecting the second row and ...
2
votes
0answers
43 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
36 views

Extra vertical space when using align and no numbering

I think I've found a small bug in the way the showonlyrefs=true option in mathtools works. Consider this semi-minimal example: \documentclass[12pt]{article} \usepackage[utf8]{inputenc} % UFT8 - ...
2
votes
0answers
86 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
43 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
69 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
59 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
73 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
48 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
55 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
94 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
85 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
90 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
59 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
62 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
138 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
189 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
138 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
186 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
221 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
84 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
115 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
109 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
288 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
50 views

How to prevent new sections from going to next page or paragraphs in LaTeX

I am working on my two-column article. I notice that often when I use the \section{} command in LATEX, the new section appears in the next column (or even next page), even if the first column or page ...
1
vote
0answers
34 views

phantom command not working in beamer poster template

I am using the Jacobs Landscape beamer poster template, and want to simply add a little phantom space at the beginning of a line within a block, but whatever I have inside the {} prints. The block is ...
1
vote
0answers
20 views

adjust vertical space between horizontal line of the radix in denominator and the horizontal line of the fraction

Even in display math I guess that there is too little space between the top horizontal line of the radix symbol and the horizontal line of a \frac. How can I control that vertical space? I have a ...
1
vote
0answers
23 views

How to change spacing in a template?

I am trying to write a two column biological review using a downloaded template. I had to add few pictures(one column) in between. So to adjust the spacing the template generates spacing in some ...
1
vote
0answers
47 views

large space between section header and content

I'm using an external file to add appendices to my thesis. The external file called (supplement.tex) contains a huge list of figures similar to this. \subsection{Testing} \begin{figure}[H] ...
1
vote
0answers
26 views

A problem with small caps extending only a few words in a footnote

Since \sc command seems to make the whole line after it appear in small caps, I use the following tufte inspired command newthoguht to get around the problem: \providecommand\newthought[1]{% ...
1
vote
0answers
64 views

Spaces are not formatted correctly in url paths when using sphinx package and reStructuredText

I have a problem similar to the one in: Obey spaces with URL package (path command). The obeyspaces option is not working within the pgfplots table column. However, my problem is slightly different ...
1
vote
0answers
40 views

Spacing between words in listings package and emphasizing identifiers

I have written some source code using listings package but is stretching out of the page. This package leaves huge spaces between the words, so is there a way to make them smaller? At least like the ...
1
vote
0answers
101 views

Mimic fonts and spacing of tufte-book class

I am writing a book using memoir class and I want to mimic fonts and spacing of tufte-book class.