{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
1answer
321 views

Absolute position and pagebreak

I need to generate random text and if random text = \textheight, break page automatically and start new page with the rest of the text in the same textblock environment. I read many articles, but the ...
7
votes
1answer
412 views

Minimal distance in dotfill

I'm generating an index with dotfills, such that my ind looks like this (extract): \item\raggedright l\IeC {\`e}pre\dotfill \transform{21} \item\raggedright libre arbitre\dotfill \transform{1} ...
4
votes
3answers
720 views

Space after \textquotedblright

I am trying to put a text in "" using \textquotedblleft and \textquotedblright. It works perfectly fine except it does not put ANY space after \textquotedblright. In other words, BEFORE ...
6
votes
1answer
243 views

Variable Caption spacing for `tikzpicture` and `tabular`

The \abovecaptionskip option gives different results with tikzpicture and tabular. MWE: \documentclass{report} \usepackage{tikz} % \begin{document} ...
8
votes
1answer
310 views

Punctuation spacing after long exponents

When typesetting equations with long exponents or high-numbered footnotes right before punctuation marks, the result is a rather awkward large space between the last letter and the punctuation mark: ...
10
votes
5answers
1k views

parenthesis around underbrace too big

I have the problem that I want to have an equation with underbrace but the surrounding parenthesis shall not include the underbrace, i.e. should have the size as if the underbrace wasn't there. Here ...
53
votes
2answers
2k views

Drawbacks of xspace

I'm certain I have read that xspace can cause more problems than it solves. But I cannot find anything to that effect either on this site or the web. Are there any drawbacks or risks associated with ...
6
votes
1answer
87 views

Command analogous to \afterpage, but for lines instead of pages

Sometimes I would like to tell latex to do something after it finishes the line currently being typeset. For example, one might want to use the command \needspace{4\baselineskip} (assuming the ...
5
votes
1answer
249 views

Using savetrees with LuaLaTeX

Apparently I can't use savetrees with lualatex - is there another way to expand the writable area to the whole page (for US-letter currently, I think other people are interested in A4)? I get this ...
9
votes
1answer
2k views

Increase vertical spacing in bibliography using biblatex with bibtex backend

I'm rather new to the whole TeX experience and try to make a template to use for my masters thesis. Everything has been smooth except getting the references/bibliography right. I've spent numerous ...
12
votes
1answer
3k views

Correct way to typset esssup (essential supremum)

What is the correct way to typeset essential supremum, with the limits underneath the operator? My first try was \operatorname{ess}\sup\limits_{x\in[0, 1]}, but this puts the x\in[0, 1] under the sup ...
4
votes
2answers
823 views

Problem with line spacing

I Googled a bit but could not solve the following situation: Basically LaTeX for some reason decides to make spacing between lines bigger than usual in the first part of my text (between the main- and ...
3
votes
1answer
295 views

Adding spaces inside a math expression

I want to my statement to say u = g in Omega. I tried coding $$u=g in \Omega$$, but this results in no spaces around the word 'in'. How can I insert them?
3
votes
1answer
177 views

Spurious blank space when loading a datatool database

I am getting spurious blank spaces inserted upon loading a dtltool db. The MWE below produces links to all the image files named with a prefix the same as the .tex file: But if I comment out the ...
5
votes
1answer
197 views

Line spacing not matching on second page of two-column checklist

I'm trying to make a half-sheet (letter-size paper) checklist with two columns using LaTeX. I set the page size to 8.5x5.5 inches, used fancyheader to put the title at the top of pages, defined a ...
14
votes
6answers
9k views

How should imaginary numbers be typeset?

I've never had to typeset complex numbers before and I'm finding that I'm uncertain about what best-practices are. My question is really about typesetting just i. (Hence my title referring to ...
18
votes
1answer
13k views

How to remove the whitespace BEFORE itemize/enumerate?

I'm somewhat of a LaTeX noob, and this is driving me completely nuts. When I type \documentclass{article} \usepackage{enumitem} \begin{document} Some text \begin{itemize}[noitemsep] ...
3
votes
2answers
892 views

How do I eliminate extra vertical space between the title and the first section heading?

When I use the amsart class with a lot of in-text figures, I find that the section headings do not stand out quite as much as I would like. Thus, I have taken to adding the following to my preamble, ...
2
votes
1answer
163 views

Empty sections cannot be broken, making page look stretched out

This is almost duplicate to question Random unwanted space between paragraphs but I don't even use \par. I'm using pdflatex to compile a .tex file. As I wrote my text I noticed a sudden change in how ...
3
votes
2answers
806 views

Increase spacing in closing of cover letter in moderncv

Using the moderncv package, how do I increase the spacing between the closing and the name after the closing i.e. increasing the space between "Yours faithfully" and "John Doe" in this picture This ...
5
votes
2answers
264 views

Getting the interlinear spacing correct within a paragraph when using minipages

Let me start by saying that this is very similar to a previously posted question, How to keep a constant baselineskip when using minipages (or \parboxes)?, for which egreg gave a very nice solution. ...
11
votes
1answer
313 views

A zero \parskip and an unusual \paragraph result in overlapping paragraphs

I'm trying to debug a class provided by some journal. From times to times, the text appears completely garbled, or does not appear at all (I believe it is printed somewhere but probably out of the ...
0
votes
0answers
73 views

Problem With Spacing and Quotation [duplicate]

Possible Duplicate: How to modify spacing around quotation environment? I am using \begin{quote} text \end{quote} to provide quotation in a .tex document. However, once the document is ...
5
votes
2answers
1k views

Good format for homeworks in LyX

I am using LyX to type in my homework solutions, but I don't like my format. The homework itself is in the format of questions 1,2,... and each question has sub-questions: 1.1,1.2,... etc In the ...
6
votes
2answers
3k views

Vertical aligning text and vertical height of rows in longtable environment

I have now been working on fixing this problem for some time and I have read through some forums on the Internet and tried different things, but I can't solve this problem. I am looking to have some ...
4
votes
1answer
169 views

Table columns with widths set by m{} appear to be incorrect

I am using R and Sweave to produce tables for a report, and one of the generated tables is not playing nicely with the m{} definition of column width. The .tex file produced by R/Sweave has the ...
7
votes
1answer
838 views

How to change space around theorem environments?

Is there a way to change the vertical space before/after theorem environments, without defining a new theorem style? I'm using amsthm package to define my new theorem environments.
10
votes
3answers
3k views

How to change dot spacing in \dotfill?

I'm using the \dotfill command in a nomenclature to add units at the end of each line. Here is the code I'm using: \usepackage[refpage]{nomencl} \newcommand{\nomunit}[1]{% ...
1
vote
1answer
382 views

Chapter title placement

How can I delete the white space between the chapter's title and the beginning of the page? That is, how to place a chapter's title the higher possible? I am using the book class.
8
votes
2answers
336 views

How can I remove leading and trailing spaces from a macro argument?

Consider this minimal working example: \documentclass[a4paper]{amsart} \usepackage{tikz} \tikzset{graph/.style = {every node/.style = { draw, shape = ...
3
votes
0answers
36 views

first line of section/subsection has no indentation [duplicate]

Possible Duplicate: How can I indent the paragraphs which follow a heading? \tableofcontents \pagestyle{empty} \newpage \section{intro} ...
2
votes
1answer
352 views

tableofcontents too large

I would like to insert \tableofcontents[currentsection] in my presentation. Unfortunately I have not so many sections, so the space between the "items" is too much. I don't wont to change the ...
3
votes
1answer
6k views

Increase height of fancyhdr header

How would one increase the height of the \fancyhead{} so that the text in the main body, doesn't collide with the title? I have the following MWE: \documentclass[a4paper,10pt,oneside]{article} ...
3
votes
1answer
76 views

Reducing sign interspace in slightly too wide equations

Some equations are sometimes slightly too wide. One way is to manually add \! commands wherever it seems relevant in the equation. Is there an automatic alternative to: x\!=\!y\!+\!z
1
vote
0answers
452 views

remove blank space before image [closed]

When I insert a figure, there is some blank space before it that Latex adds it. How do I remove it? \headerbox{Poster Box 1}{name=box1,column=1, below=box2}{ \begin{minipage}{20em} ...
1
vote
2answers
616 views

add blank space before image

I'm drawing two images, one on top and one in the bottom, and I want them to be aligned. One of them has some extra blank space one its left side, so I need to realign it manually: ...
4
votes
1answer
205 views

Extra space after new command using xparse

I was trying to write a macro that could take either one of two arguments and produce different outputs for both cases. For that, I used to package xparse. Here is the macro I wrote: ...
1
vote
1answer
1k views

titlesec - set top margin for the appendix and bibliography

A while ago I was helped using titlesec to format the chapter title for my thesis. Today a reviewer says that the appendix and the bibliography need 1in top margin. How do I do it? Thanks. ...
3
votes
1answer
87 views

Add spacing before and after `\hline` in an array in an equation

I'm trying to add a little bit of space before and after the \hline in this matrix: \documentclass[a4paper,journal]{IEEEtran} \usepackage[cmex10]{amsmath} \interdisplaylinepenalty=2500 ...
4
votes
2answers
537 views

Text block near image

I'm creating a photo address book for the community. Near the photo there are 3 text blocks 1. Names, 2. Address/phone/email and 3. native place). I want each of this blocks to be at top, center and ...
2
votes
1answer
193 views

CJK spacing suddenly no longer works

I have been using CJK script in my documents successfully for some time, but today it suddenly stopped working properly. I did update some packages through TeX Live today, and recently I reinstalled a ...
2
votes
2answers
463 views

change space to only a part of the document [duplicate]

Possible Duplicate: Change line spacing of a page and size police inside the document I created a document using book class and set the space using \usepackage{setspace} \onehalfspacing ...
0
votes
0answers
47 views

Table margins and paddings [duplicate]

Possible Duplicate: Column padding in tables How do I adjust the padding in a table, meaning the distance between cell content and cell border? And how do I allow normal text flow so line ...
1
vote
1answer
599 views

Footline colobox spacing problems in Beamer?

I've been trying to customize the footline in a beamer template but when I added a fourth box, the spacing went wacko. Here's my template: \DeclareOptionBeamer{compress}{\beamer@compresstrue} ...
2
votes
1answer
460 views

I am using Lyx to edit my document and would like to reduce the spacing between subsections

I am using floats throughout the text perhaps this messes with spacing. It seems such an easy thing to adjust, yet I find no answer.
4
votes
3answers
2k views

itemize without line feed

When I write a document with \usepackage[french]{babel} my \begin{itemize} \end{itemize} list begin with '-' before each item and no extra line feed before each item. But when I don't use this package ...
1
vote
1answer
158 views

How to modfiy spacing for inline math?

I want to reduce spacing between operators in inline math. If I add the follwing lines to the peamble it affects both inline and display math modes. \thinmuskip=0mu \medmuskip=0mu \thickmuskip=0mu ...
6
votes
2answers
486 views

Keeping the distance between mathematical symbols consistent?

In order to make text flushed both left and right, latex adjusts the distance between words, and to a lesser extent, the distance between characters within a word. This is good, however it also ...
6
votes
1answer
304 views

How to remove space from mathematical formulas?

This almost looks like what I would like to have but the space between, for example, $f_1($ and $v_1$ is too large. How can I fix this? I got this with \begin{equation} ...
4
votes
1answer
472 views

Extra spacing and right align

I am working on a list of courses that I have taken. The following code: Math 100--Trivialities \hfill Professor Jane Doe \begin{flushright} Grade: A \end{flushright} produces Notice that there ...