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

5
votes
2answers
239 views

beamer, \vfill and itemize

I would like to place, in some frames, a text, on the bottom right of a beamer slide. I created a command which places this text by \vfill\hfill. In a normal class (as article), it works perfectly. ...
3
votes
3answers
97 views

Unwanted space between lines

I was reading an article I wrote and I noticed unwanted spaced between lines. One such example is: I have highlighted the relevant section in red. As you can see, there is a bigger space between ...
7
votes
4answers
817 views

A \boxed alternative with minimal spacing?

The following code comes from this post. The problem is that I would like a way to automate the size of the box so as to be very small with a few of spacing, but the following solution doesn't work ...
2
votes
1answer
16 views

Change parskip in eledmac

When I try to adjust parskip in eledmac, it only takes effect when the paragraph starts with a label. For example: %!TEX TS-program = xelatex \documentclass{scrartcl} \usepackage{libertine} ...
4
votes
2answers
2k views

How to reduce Program-Listing line spacing in LyX

Using LyX 2.06. I have a standard document with 1.5 line spacing, but I want my program listings to use 1.0 line spacing. Is there a simple way to do this?
0
votes
0answers
42 views

How can I slightly offset each character to acheive a movable-type letterpress look?

The lines of text in traditionally printed books aren't perfectly straight due to "wiggle room" between characters in the printing press. Can I create this effect with Latex? I'm fine with an ugly ...
3
votes
2answers
46 views

too much space for align if I use double space

I'm using a Latex template. They provide the following command for double space %% To produce output with the desired line spacing, the argument of %% \spacing should be multiplied by 5/6 = 0.8333, ...
7
votes
2answers
121 views

In which way have fake spaces made it to actual use?

I skimmed the abstracts of TUG 2014 and stumbled over "Fake spaces" with pdfTeX -- the best of both worlds by Ross Moore. The abstract says: With the 2014 version of TeX Live, new primitives are ...
3
votes
1answer
28 views

spacing between Japanese words (xelatex) [duplicate]

I'm working with Xelatex 3.14159265-2.6-0.99991 (TeX Live 2014/Arch Linux), compiling my .tex file and getting a simple .pdf file. I'm stuck on the following problem, occuring in a simple Japanese ...
6
votes
2answers
83 views

spacing in tikz

I'm trying to typeset the naturality property of the cap product, I'm hoping to achieve something like this: but the best I can do is something like this: \begin{equation*} \begin{tikzcd} ...
3
votes
0answers
38 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 ...
0
votes
0answers
26 views

how to reduce a gap between words in a title of bibliography and a dot over the bibliography numbering

I am writing a scientific paper using IEEE journal Latex template \documentclass{IEEEtran} \usepackage{comment} \usepackage{color} \usepackage{float} \usepackage{graphicx} \usepackage{ulem} ...
3
votes
1answer
32 views

Absolute Value of Horizontal Spacing in Numcases

I am interested in the absolute value of the horizontal spacing which is automatically assigned by numcases before an alignment point. For instance, what is the spacing after the comma and before ...
4
votes
1answer
102 views

Spacing after KOMA \section in multicol environment

I'm writing a two column paper using the KOMA scrartcl class and the multicol package. However, I start with a one column header, title and nomenclature section which take up most of my first page. In ...
1
vote
2answers
264 views

Where does this space come from?

Using colored text inside a minipage results in less vertical space being appended after the text compared to normal text. Strangely, this only occurs when the minipage is top-aligned. In the other ...
5
votes
2answers
166 views

How to adjust given lines automatically

Some of you may know the FlipBeamertheme by Phillip Tanedo (http://www.physics.uci.edu/~tanedo/files/code/FlipBeamerTemplate.pdf) I like the style of it's title. Tanedo used a picture: All three ...
90
votes
7answers
103k views

Column and row padding in tables

How do you guys go about controlling column padding in tables? Update To clarify, I'm looking for a way to control both vertical and horizontal padding. So, if I had a simple table like in the ...
8
votes
2answers
72 views

Why does the spacing in math mode change when the text of a tikz node is centered?

Given two nodes with same content, for example $a = 1$, the spacing is different depending on the text alignment of the respective node, i.e. when the text is centered, the spacing is greater. The ...
1
vote
1answer
75 views

Classicthesis remove cleardoublepage after part [closed]

I am trying to remove the double page break after the start of each part in classicthesis v4.1. I believe I need to modify the following code on lines 376-381 of classicthesis.sty: ...
1
vote
1answer
15 views

Adjusting horizontal spacing for the \hat and \vec symbols relative to the argument of \vec,\hat

I've done some intrusive changes using the unicode-math package to still use a font of my liking, a font which is not supported by TeX out-of-the-box. Passing more options to unicode-math causes it to ...
27
votes
7answers
34k views

Inserting a small vertical space in a table

Is there a way that I can insert a small space in a table? When I use a superscript, the number touches the \hline. \documentclass[9pt,letterpaper]{article} \usepackage{helvet} ...
3
votes
2answers
86 views

Customizing clean thesis

I am using the thesis template http://cleanthesis.der-ric.de/. In this template, there is no paragraph by default. As explained in Getting back the paragraph in cleanThesis?, the paragraph can be ...
5
votes
1answer
762 views

How to switch between horizontal and vertical modes?

I've got some complex code giving me an error: ! You can't use '\vadjust' in vertical mode. So I presume I need to switch to the horizontal mode. I've found this question, "What are vertical and ...
8
votes
2answers
85 views

Problem with subcaption spacing

When using the subcaption package to place tables1 side-by-side, the spacing between a table and its subtable caption is too small if the table caption is placed above the tables and the subtable ...
2
votes
1answer
65 views

Remove horizontal space from align and equation globally

I want to cram as many equations that I can in align environment. I was able to set the margins to zero and remove the space before and after the equations. Se below example code. However, currently ...
4
votes
1answer
36 views

Decrease spacing before chapter title in mwrep class

I thought it will be a piece of cake - I started with titlesec, but it ended up with: Non standard sectioning command detected(titlesec) Using default spacing and no format. Then I started ...
4
votes
2answers
42 views

Why does cite influence the spacing after colons in the IEEEtran \markboth header?

Update: This has been solved in cite v5.5. I noticed that loading (or not) the cite package changes the spacing after colons in \markboth headings of IEEEtran \documentclass{IEEEtran} ...
1
vote
1answer
29 views

Stopping a line break in list

I am writing a memo style document for my job that has to be formatted in a very specific manner, often without regard to good typesetting practices. I am relatively new to Latex, so I am having some ...
0
votes
1answer
57 views

Change font spacing and size of bibunits \putbib

In the following example I would like to force my references section to be typeset in a smaller font with single (more condensed) spacing. My commands (a spacing environment call and a font small ...
4
votes
1answer
60 views

Mysterious Vertical Space After Theorem/Proof Environments

I have defined my own theorem style to have 0pt above and 0pt below. For simplicity I have also set all other relevant spacings to 0pt. However, when I use a theorem or proof environment I get some ...
3
votes
1answer
281 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 ...
1
vote
1answer
29 views

Removing white space beside images

I'm trying to display a bunch of images side by side. Originally I wanted them on the same line, but I got them to fit by putting 2 on the next line. I'd like to make the pictures bigger but the white ...
1
vote
1answer
25 views

How to fix the spaces of superscript text

I'm trying to typeset an old bible which has all the verses superscripted. I created a command that produces a superscript number corresponding to the verse number, and then this is increased by one. ...
2
votes
1answer
61 views

How to remove vertical space before list in table cell?

I want to get very compact lists in table cells, but there is still a vertical space before the first list item (see screenshot below). How can I remove this vertical space? LaTeX code for example ...
1
vote
3answers
39 views

Additional space in p-type column swallowed by other cell

I want to add extra vertical space after table rows on a row per row basis. Consider the following MWE: \documentclass{article} \begin{document} \begin{tabular}{p{3cm}p{5cm}} Here... ...
6
votes
2answers
196 views

Artificially improving default TeX algo results for balancing interword spacing

I'm trying to build rectangular paragraphs. That is, paragraphs which are both left as well as right aligned. For large paragraphs I can tell TeX I'd like a rectangular end result. Consider the below ...
1
vote
1answer
35 views

Why are the skip lengths ignored in align?

I created a new command \mathloose that stretches the spacing in an equation by suitably adjusting \thinmuskip \medmuskip and \thickmuskip lengths. The command works just fine in \[ \] and \( \) but ...
0
votes
0answers
28 views

Chapter topmargin suddenly broken?

I just transfered a latex project to my new laptop and started compiling...everything is fine except the topmargin of chapters, it seems to be zero? I tried to change it with: ...
3
votes
2answers
48 views

Adding horizontal labeled horizontal arrows in multicol environment

I have attached a picture of what I am attempting to create. The issue is, when trying to do this in Latex, I am messing up my spacing. I want to add a bold black arrow between the top two tables and ...
3
votes
1answer
35 views

Should \mathrm work in \gather* environment?

I am trying to use \mathrm in gather* environment, but the result is text without any spaces. How can I correct that, please? \documentclass{article} \usepackage{amsmath} \begin{document} ...
3
votes
3answers
118 views

How to add extra space inside of a table

I wrote a simple table with this commands: \begin{table}[h] \centering \begin{tabular}{| c | c |} \hline\hline \multicolumn{1}{ |c| }{Parametro} & \multicolumn{1}{ c| }{Espressione} \\ \hline ...
1
vote
1answer
34 views

First word hyphenation in parbox with strut

I've a problem with parbox spacing in combination with hyphenation. What I like to achieve is setting parboxes in a tabular-like way as key value pairs. So I have two parboxes with a given width per ...
6
votes
1answer
5k views

Adjust bottom margin of a listing environment

I use the following settings for code listings. \usepackage{listings} \usepackage{textcomp} \lstset{language=Java, keywordstyle=\color{RoyalBlue}, basicstyle=\scriptsize\ttfamily, ...
9
votes
3answers
12k views

Random unwanted space between paragraphs

I generate LaTeX code from XML for a book I'm writing, using pdflatex (Version 3.1415926-1.40.10 (Web2C 2009)) and memoir. Very infrequently, there appears to be an extra blank line between two ...
2
votes
3answers
100 views

Eliminating whitespace around characters within TikZ nodes

I want to "glue together" single characters in TikZ by putting each character in a node and placing them next to each other. However even with inner sep=0 and outer sep=0 there remains a space. The ...
0
votes
1answer
62 views

\vspace next page

I'd just like to add some vertical padding between two bits of text and \vspace{Xcm} works fine for this; however, if the text is at the end of the page, \vspace{Xcm} does not carry onto the next ...
12
votes
4answers
16k views

Space before chapters and contents

I am using LaTeX to write my dissertation, and I have realised that on the table of contents and on every chapter page, LaTeX leaves a lot of empty space. What I mean is that lets say in the page ...
9
votes
3answers
247 views

One single colored letter inside \spacedallcaps

I want to change the color of a single letter inside a custom \spacedallcaps command. This command makes the specified text uppercase and changes the letter spacing. When I introduce a ...
9
votes
1answer
618 views

ignoring vertical space due to underbraces in cases environment

In the following formula, I would like to change the rendering such that the lower end of the "cases" brace looks as if there were no underbraces. Is that possible? I already tried \smash and negative ...
5
votes
2answers
73 views

Trouble with spacing between section title and equations

I am trying to create a formula sheet so I only have section titles and equations in my documents. I am having trouble with the spacing between my section header and the equations that I want as the ...