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

8
votes
1answer
683 views

Spacing after itemize inside a tabular

I have a problem with the spacing after an itemize inside a tabular. \documentclass[12pt]{article} \usepackage{lipsum} \usepackage[usenames,dvipsnames]{xcolor} \usepackage{framed} ...
4
votes
2answers
97 views

Large image should ocupy all page without blank space around

I'm new to LaTeX and although my supervisor does not use LaTeX, I've decided to do my master thesis in LaTeX. However, I'm having a problem with the images. I have big images generated through R. ...
3
votes
1answer
39 views

gb4e leaves extra space before translation

gb4e leaves extra (unwanted) blank line space between gloss and translation. Same problem as here: Why is the gap between the translation and the last line of the gloss so wide in my interlinear ...
5
votes
1answer
75 views

Strange behavior of subsubsection

I create a questionnaire (Question-Answer). For this purpose I use the pdfcolparallel package. When I type \subsubsection in the first column, a strange vertical line appears before subsubsection and ...
1
vote
0answers
27 views

Setting the space between fixed page header and float text block [duplicate]

I searched for previous answers, but none solves my question about how to set the space between fixed page header and float text block. \headsep changes the position of header, rather than the ...
10
votes
6answers
934 views

A \boxed alternative with nicer spacing?

I like using \boxed to emphasize my answers in homework problem sets. However, whenever I use superscripts/exponents inside the box, the box becomes taller than it seems it should. This causes two ...
1
vote
1answer
48 views

Remove whitespace around an enumeration in a table

I've tried using the enumitem suggestion given on http://stackoverflow.com/questions/4968557/latex-very-compact-itemize, but I still see white space around my enumeration: \documentclass{article} ...
72
votes
4answers
18k views

Vertical space in lists

What is the best way to globally change the amount of vertical space between items in list environments?
2
votes
1answer
787 views

Horizontally align multi-line cell in table

I want to horizontally align two cells with two lines in a table environment, something like this: ------------------- | A long | foo | | | ----| | multiline | bar | ------------------- ...
13
votes
1answer
8k views

How can the margins around a table set to 0pt?

I need to put a table inside another table, and would like to set the outside margins of the inner table to 0pt. How can I do this (in particular for tabularx, but hopefully this would be the same for ...
11
votes
2answers
172 views

How to suppress extra vertical space before/after fancy Verbatim environments?

I am using fancyvrb's DefineVerbatimEnvironment to create differently-styled verbatim environments for user input and output. When two or more of these follow each other, there is extra vertical space ...
4
votes
1answer
54 views

Less whitespace and no indent at the same time using enumerate

I would like to ask the following: I would like to use the theorem environment in my latex code. I also have some definitions and examples and I would like to let these environments look the same. ...
8
votes
3answers
83 views

Spacing for subscripts in mathmode with \textcolor

It is possible to use \textcolor in math-mode; however, it changes the spacing of subscripts. \documentclass{article} \usepackage[usenames]{xcolor} \begin{document} $Y_i$ vs $\textcolor{red}{Y}_i$ vs ...
2
votes
1answer
45 views

Big space between subsection, text and graphics

I have a problem with space between subsection, text and image. I have code: \documentclass[12pt, a4paper]{article} \usepackage[demo]{graphicx} \usepackage{caption} \begin{document} \subsection{Some ...
26
votes
2answers
1k views

What is the proper use of \@ (i.e., backslash-at)?

In this answer, \@ is used after a period and before an \xspace, presumably to indicate that the preceding period (in "etc.") was not sentence-final. In these tips, \@ is used before a period and ...
1
vote
0answers
35 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 ...
0
votes
0answers
41 views

how to remove unwanted space between pages [duplicate]

I am writing a thesis in LaTeX with predefined styles which works fine. However, sometimes, when I finish a sub-section and start writing the new sub-section, LaTeX automatically stretches the text ...
1
vote
1answer
40 views

Remove space below numbers/bullets in itemize/enumerate environments

I am using itemize and enumerate environments and while I have removed the indentation using the enumitem package I also want to remove the space below the numbers/bullets. ...
2
votes
1answer
43 views

How can I reduce top margin in scrlttr2?

i'm having problems searching for the solution. I'm writing a simple letter and I see that top margin is too large. I tried \setlength\topmargin{-50pt} recommended in this answer, but nothing ...
0
votes
1answer
25 views

spacing in list of figures

I would like to fix the spacing between the figure number and the name of the figure as shown in the following image: The list is auto-generated. you can find my LaTeX files in the following link: ...
5
votes
2answers
33 views

get rid of whitespace after postheadhook thmtools

I want to get rid of the stupid white space after the postheadhook \newline (see before asdasd) in the following example: %!TEX TS-program = XeLaTeX %!TEX encoding = UTF-8 Unicode % ...
1
vote
1answer
171 views

Micro-Typography with Luatex

Since I wanted to use Opentype with Latex, I had to go with Luatex and consequently am now missing some features of Microtype (spacing, kerning). (I tried converting my openfonts but failed) Here is ...
1
vote
0answers
31 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 ...
3
votes
2answers
45 views

color environments influence spacing

I would like to mark revised parts of a large document in color, and up to now always used \usepackage{xcolor} \newcommand\rev[1]{\textcolor{red}{#1}} to then do Lorem ipsum dolor \rev{git} amet, ...
1
vote
1answer
33 views

Vertical space before list environment

I use list environments for short text. In myitem environment I define new space between items. How I can reduce vertical space before first item? This space is bigger than between paragraphs. ...
2
votes
3answers
132 views

How to force a text to appear after a table

I have to show a set of four tables: one after another. Each table has almost middle page of information, and I really need them to appear before the next block of text. An example of LaTeX code is ...
4
votes
1answer
34 views

how to flush right in same line?

In the following MWE, how can I have Spring 1985-86 flush right but in the same line as ABC with Bolton 808 flush left but in the following line? Would there also be a way using tables or tabular? ...
3
votes
2answers
113 views

Move array in array down

I have the following code \begin{array}{rl} \textbf{fetcher} : \mathcal{T} &\to \mathcal{T} \\ (P_{\star}, w) &\mapsto \bigcup \limits_{p \in P_{\star}} \left( {\setstretch{1.25} ...
13
votes
3answers
81k views

How to add indentation

I am writing my Thesis report using LaTeX, I need to add indentation because every thing is right but only thing is every new paragraph is starting at initial stage but I need to add some indentation. ...
4
votes
1answer
55 views

Parcolumns: Unbalanced Columns

I'm using parcolumns to help design a resume but it's giving me some trouble by adding lots of extra space in the left and right columns. Code (compile with XeLaTeX): \documentclass[10pt]{article} ...
4
votes
1answer
90 views

very bad underfull hbox

I would like to include a progress bar in my presentation and, when in draft mode, a page number below the progress bar. I have the code to do this, and it looks great, but I get one instance of this ...
9
votes
2answers
5k views

Remove vertical space around align

I need to display math in my report, but is it possible to remove the vertical space around align*? A little example is the following (where I just want the align* to have the same vertical space as ...
3
votes
0answers
49 views

Question about seemingly random indentations after compiling [closed]

So I have been working on a large, 360+ page document, and after working on a few pages of tables, the tables have begun to indent with no apparent reason. Now I don't consider myself a nooby here, ...
4
votes
3answers
88 views

Control line spacing of section headings

I use macro and titlesec package to create custom \section heading. \documentclass[final]{book} \usepackage{lipsum} \usepackage{titlesec} \titlespacing*{\section}{0pt}{1em}{0.3em} \def ...
4
votes
3answers
155 views

Chapters with long descriptive titles

I have document which require me that chapter headings consist of two parts: (1) Chapter number (Chapter 1, Chapter One etc.) or any other text with similar function and (2) descriptive title below ...
4
votes
1answer
315 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 ...
3
votes
1answer
161 views

Using \parbox in Beamer has unwanted effects

I want to change from an itemized list on one slide to an image on the next slide. I tried this with a \parbox with overlay specifications. It works ok when the inner position of the parbox is set to ...
4
votes
1answer
315 views

Spacing issue when using tocloft and fontspec together

I'm using tocloft for creating a List of Equations and I think there's no other way to avoid using this package. However, everytime when tocloft and fontspec from XeLaTeX are used together the ...
7
votes
1answer
47 views

Why does \iow_shipout: introduce typeset whitespace (where \iow_now: does not)?

For my resume, I have an environment that lays out information in two minipages—one for position/education data, one for the environment contents. The class I wrote also produces plain text ...
3
votes
2answers
70 views

Equation incl. number on the same line as theorem environment

I have this: \begin{lemma} \begin{equation} L_b \circ L_a = L_{L_b(a)} \circ L_b. \end{equation} \end{lemma} and I would like the equation to be on the same line as the lemma, with a number ...
3
votes
1answer
67 views

Is there any horizontal skip after which the space character `\ ` is removed automatically?

Let's consider the following TeX macro: \def\theorem#1{Theorem (#1).\enspace} Try to use it: \theorem{Dirac} A simple graph with $n$ vertices\dots Then TeX produces two spaces after "Theorem ...
4
votes
1answer
45 views

IEEEtran: IEEEParstart overlapping letters

I'm creating a IEEEtran document, I noted that if I use: \documentclass[twoside]{IEEEtran} \begin{document} \IEEEPARstart{?`}{Qu\'e} es lo que es tan inusual en la microelectr\'onica?. La respuesta ...
0
votes
0answers
38 views

How can I make the space between figures and text triple space when the space already is double for writing thesis?

How can I make the space between figures and text triple space when the space already is double for writing thesis ? is there anyone can help me? Minimal working example: \documentclass{article} ...
0
votes
0answers
23 views

Subscript and underbraces [duplicate]

I'm trying to draw an under brace below some subscripts. The thing is that, if I do it the normal way, displays just fine, but with the subscripts letter a little big for a subscript. However, if I ...
2
votes
1answer
36 views

Not wanted space before marginpar

At the moment I'm working on a little report. Therefore I had to redefine the \marginpar{} command new because I wanted it in a smaller font-size compared to the 'normal text'. The code I've written ...
5
votes
4answers
173 views

Reduce line height in p type table cells

I need to set a big table and want to compress it in a way that it fits on one page. The table contains a column of type p with text breaking over multiple lines. Now I want to reduce the overall line ...
0
votes
2answers
45 views

increase vertical space between lines

I want to increase the vertical space between each of the lines. I know you can use \arraystretch but i am struggling with the package. here is my source: \documentclass{article} ...
9
votes
1answer
141 views

Acceptable use cases for xspace; When will it fail?

I have used xspace for a long time to take care of adding space after usage of some macros. Usually, it is with a macro to format a word consistently, as in: \documentclass[]{article} ...
2
votes
2answers
44 views

Removing space after section heading after using baselineskip

Basically after setting a large \baselineskip there is now a huge space under my section heading: source: \documentclass[14pt,extrafontsizes]{memoir} \usepackage[margin=10pt,paperwidth=496pt, ...
1
vote
3answers
54 views

Use hfill in array

I want to have two equations, in two lines, the first the most at left, the second, the most at right: equation 1 equation 2 So, the newbie in me try to do \documentclass{article} ...