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

2
votes
2answers
284 views

avoid space before \textsuperscript in linebreak

I have a lot of Ca\textsuperscript{2+} in my text. In my editor I use automatic linebreaking to keep the text readable. Now it sometimes happens that lhe line breaks like this: Ca ...
8
votes
1answer
380 views

How to put a hat on a binary operator and maintain spacing

This is maybe easy question. How is the right/good way to put a hat on a binary operator like \otimes? For example a\otimes b vs a\hat\otimes b In the second case it is not typeset as a binary ...
1
vote
1answer
2k views

hspace, stretch and align

I want to align some equations. One equation has some text that I want pushed back to the margin. I tried \begin{align*} \text{Text: } \hspace{\stretch{1}} \text{more text} x^2 &=y\\ ...
13
votes
3answers
885 views

Changing ALL spacing in a TeX document

I'm taking an exam and I'm allowed a two side page with information on it. Naturally I want to put as much as possible on it so: What are all the spaces that I can change to fit as much information ...
2
votes
1answer
678 views

Unwanted space between logo and title in titlepage

I have a problem that I can't resolve. I already did a title page using LaTeX but it contains many spaces between the logo of my school and the name of the school. This is my code please if any person ...
4
votes
1answer
2k views

Tocloft and List of Figures: Get rid of title and begin right at the top

I am using tocloft to create an List of Figures. Now I would like to get rid of title and the list of figure should begin right at the top after the chapter title. I know the following is not a ...
7
votes
1answer
3k views

Reduce spacing in table of contents (beamer)

How can I reduce the spacing between the items of my table of contents in my beamer presentation? Here is my currient LaTeX code: \documentclass{beamer} \usepackage[T1]{fontenc} ...
10
votes
2answers
395 views

Where does whitespace between two consecutive lines come from?

I'm trying to get a "contact sheet" where identically sized boxes are laid out next to each other without any whitespace. As my goal is to use this in a generated document, and as the number of items ...
7
votes
1answer
3k views

Reduce vertical spacing itemize and multicols

I have added code to reduce the spacing before itemize. However, when I use multicols still a lot of extra vertical white space is added (see the space before the subitems). Does anyone know how to ...
6
votes
2answers
160 views

What documentation visually explains the various available commands to control the vertical distance between two lines of text?

I have a title page containing several lines of text, e.g.: Series Title Author Institution I would like to fine-tune the distances between the lines, however, I do not understand which tools ...
8
votes
1answer
1k views

Grouping by chapter in List of Figures and Tables with ClassicThesis

I checked extensively the forum and the net in order to solve this seemingly simple problem, without success. I know that there are a lot of posts regarding this problem, but I was unable to find the ...
4
votes
2answers
2k views

vspace has no effect in parcolumns

I have following template for my resume wherein I am trying to get rid of the space between two education fields (space between two university entries, this causes my resume to go to second page). The ...
9
votes
2answers
1k views

How can i shrink (or expand) the vertical spacing in \stackrel?

I've seen the following command used a lot to make the triangle-equals operator that means "is defined as": \newcommand{\defeq}{\stackrel{\triangle}{=}} However, I don't like how far apart the ...
9
votes
1answer
5k views

Adjust space between displayed equation and the following text

I often have displayed equations in the middle of a paragraph, so that the following text of the equation does not start on a new line but follows with a space. In such situations, I would like to ...
7
votes
2answers
755 views

How can oversets and undersets be allowed to appear over neighboring text?

I am using the \overset and \underset commands in ConTeXt, to place text over other text within a paragraph, e.g.: (animal) (animal) (animal) Bears like to eat fish and ...
8
votes
1answer
858 views

Alignment in the Leftbar Environment. Is Rightbar possible?

In this question I asked about changing the indentation (on the left) in the leftbar environment. I've got things nicely lined up (with the bar outside of the text field), but there is a little bit of ...
9
votes
1answer
378 views

Spacing issue for newenvironment wrapper of equation environment

If I create a custom environment based on the equation environment, I get a spacing issue: the next line of text after my environment closes doesn't start on the left margin. Example code: ...
3
votes
2answers
327 views

List spacing inside a table

Please take a look on the following example: \documentclass[a4paper]{article} \begin{document} \begin{tabular}{ |p{ \textwidth}| } \hline \begin{enumerate} \item Item in a list \end{enumerate} ...
5
votes
2answers
3k views

Creating a title page using \vspace or \vskip

I'm creating a title page and I'm asking if it's more convenient to use \vspace or \vskip to have distance between title, author and other elements in the page.
28
votes
7answers
39k 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} ...
26
votes
2answers
37k views

Vertical spacing of a table cell

I want to tabulate formulas, but I find that the lines of the table cells are too close together, and this is aesthetically unsatisfactory. Example (formulae copied from wikipedia): ...
4
votes
1answer
461 views

Should spaces be placed after every special character input command in ConTeXT?

I am using several special character commands, such as those described at Which symbols need to be escaped in ConTeXt?. I noticed that some, such as \textdollar will not work if they are immediately ...
0
votes
1answer
856 views

How to insert spacing for start of paragraph?

How would I add some spacings starting at the black arrows in the picture below? As in, I am trying to move the text towards the right a bit, like starting a new paragraph. Thanks. ...
7
votes
2answers
285 views

How to choose good values for findent and nindent?

I'm using the lettrine package with the default two-line initials (so that I can use findent and nindent). My problem is typographical rather than TeXnical: how do I choose good values for these ...
4
votes
1answer
729 views

scrlttr2: Increasing the headline space on the 2nd page

How can I increase the space between the headline and the following text on the second page of the scrlttr2 document? \documentclass[ngerman,12pt]{scrlttr2} \usepackage[utf8]{inputenc} ...
6
votes
1answer
6k 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, ...
6
votes
1answer
166 views

Setting vertical spacing between different document elements at the same time

I have the following problem. Let's define three types of document elements: Titles, Paragraphs and Longtables. The problem is to setup vertical spaces between them independently. For example, let's ...
1
vote
0answers
43 views

Title of chapter wanted nearer to the top of the page [duplicate]

Possible Duplicate: Space before chapters and contents Is there any way of getting the title of the chapter closer to the top of the page than the default when using \chapter{blahblah}? I ...
5
votes
1answer
2k views

Overfull \hbox warning for TOC entries when using memoir documentclass

I get Overfull warning for TOC entries when using memoir documentclass. They seem to occur when the page number for chapter title entries (highlighted in bold text) exceeds 2-digits or section page ...
5
votes
1answer
3k views

Table of Contents Spacing

How do I place vertical spacing between the chapter header and the first section entry (report document class). For example, I would like: Chapter 1 Title 1.1 Title 1.2 Title Chapter 2 ...
7
votes
1answer
999 views

How can I eliminate the vertical extra space before and after the proof-environment?

consider the following code: \documentclass{scrartcl} \usepackage[ngerman]{babel} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{graphicx} \usepackage{amsmath} \usepackage{amsthm} ...
4
votes
3answers
3k views

spacing in a description list using enumitem

I found Description list with right alignment of labels while looking for a solution for my own problem. I tried to modify the above solution, but there are a few ugly things I don't know what to do ...
1
vote
1answer
817 views

Prevent empty line after tabular environment

I have a question related to Empty line after a tabular environment. I have a document using package lineno to enumerate lines. The rendered document enumerates a line exactly after any tabular ...
7
votes
3answers
377 views

Defining a phrase containing math and text usable in both math and text mode

I would like to define a phrase once that contains both math and text, and be able to use usable in both math and text mode. For example: \newcommand{\Constraint}{\ensuremath{x \neq 0} \text{ and } ...
0
votes
1answer
235 views

Latex : spacing of Figures inserted as Tables

I have inserted 2 figures into my Latex document as a table, using a mini page, so that they are next to each other. When i turn it into a PDF document, the figures overlap. I would like to be able to ...
8
votes
1answer
538 views

Controlling the subcaption space in memoir

Memoir provides these two declarations to control the vertical space surrounding a subcaption: \tightsubcaptions \loosesubcaptions I was wondering if there is a way to control this spacing more ...
3
votes
3answers
289 views

Correct spacing of indices after hyperref or glossaries commands

I get different spacing in math mode when using some sort of command on a variable and an index. The text below gives what I think is correct spacing (between the variable 'M' and its index): $M_1 ...
3
votes
2answers
1k views

Page breaks after images in figures / minipages

I'm using minipage environments for two images next to each other in a paper. My code looks like this: \begin{figure}[htb] \centering \begin{minipage}{0.5\textwidth} ...
8
votes
1answer
674 views

Choice between asparaitem, compactitem, and itemize

I am writing a conference paper (in lncs). I see people using different itemization styles: asparaitem, compactitem, and itemize. Because the spacing of these environments is somewhat different, I am ...
5
votes
1answer
404 views

What settings for \[x]spaceskip would you suggest for Linux Libertine?

Quite contrary to my own answer here, I think that the default \spaceskip setting for Linux Libertine is rather unfortunate: seemingly, the shrink component is too high (and I end up getting to narrow ...
7
votes
1answer
409 views

Guaranteeing that the vertical space above and below a figure are equal

How do I guarantee that the vertical space above and below a figure (including the caption) are equal? The automatic [h!] placement is not doing this by default. In my particular case, it's leaving ...
8
votes
1answer
153 views

Space characters in text citations after page

I am using biblatex for my citations. To cite I use \citep[123]{author}. This gets (Lastname, 2010, p.____5) Reading the biblatex documentation I am overwhelmed. I found how to compress ranges how ...
6
votes
2answers
267 views

Make sure the spacing of a macro for a binary operator

I define a macro as follows: \newcommand{\abs}[1]{{#1}^{\sharp}} But I realize that $a \abs{\sqcup} b$ is not exactly same as $a \sqcup^\sharp b$: The first one does not leave enough space between ...
21
votes
3answers
71k views

How to insert vertical space between paragraphs [duplicate]

Possible Duplicate: Is there an easy way to have my whole document with a space between paragraphs rather than indentation? Googling didn't give required results. (Many, but not applicable ...
8
votes
2answers
406 views

Custom ToC — Put vspace only below chapters that have sections in them

I’m using the titletoc package in the book class. Currently, my chapter entries are configured like this (I left out the unimportant parameters for simplicity): \titlecontents{chapter}[0pc] ...
6
votes
2answers
323 views

How can I avoid extra whitespace after using a macro before punctuation?

I have a document in which certain frequently-occurring entity names are replaced with macros, e.g.: \newcommand{\entity}{\emph{Name of Entity}} ... Lorem ipsum dolor sit \entity, consequat ...
14
votes
1answer
7k views

Obtaining the default section spacing into the \titlespacing* parameters

I'm using the book class. I want to modify the spacing before and after my sections using the \titlespacing* command. However, before I do that, I want to let its parameters be such that they ...
1
vote
1answer
462 views

How can I produce vertical white space in a table with LuaLaTeX?

How to add a few blank lines without using \vspace? Trying to use \\ always gets me in trouble... Now I'm trying to format a simple lua table in LaTeX for display. I am using a combination of \\ ...
2
votes
2answers
845 views

threeparttable \midrule-sized space

I want to add some space between rows of my threeparttable. One way is to add \midrules, but that adds lines which are visually confusing. Is there a \midspace command? Side question: Is ...
0
votes
0answers
134 views

Problem with spacing after abbreviation [duplicate]

Possible Duplicate: \newcommand and spacing No space following macro without argument I want to use \newabbrev for some abbreviations, but the spacing is off. With \newabbrev, I get ...