{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
106 views

Raisebox appears to inset 4pt of space to left of object raised?

So, I have been working on writing a package for typesetting "fregean Begriffsschrift". While working on the universal quantifier, I tried raising the semi circular depression in the content stroke, ...
11
votes
2answers
230 views

What is a good way to typeset dot-separated acronyms?

I am trying to find a good appearance for typesetting "C.A.T.A.P.U.L.T.". When I type it as is, it appears to me that P.U.L. are bunched up together while the other letters are well apart. Perhaps ...
8
votes
1answer
336 views

Kerning for arabic digits?

In most fonts, arabic digits have nonproportional width, meaning that 1 and 8 have exactly the same width even if the former has a smaller natural width. This is good for typesetting tables, but in ...
3
votes
1answer
207 views

Headers and footers for listing environment?

What I need to be able to do is apply a header and footer when I use the listings environment. I have a few requirements: The header and footer should be outside the listing itself, i.e. they are ...
0
votes
0answers
39 views

(Badge printing) Why is there a margin in my framebox? [duplicate]

Possible Duplicate: Where are the necessary places to be appended with % to remove unwanted spaces? I am trying to create a LaTeX template for badge printing (for a conference), based on ...
0
votes
2answers
260 views

Using hfill to prevent expansion of text in table environment

I am using inline lists (from the enumitem package) within a table (see Comma-separated list environment) Originally, I had an issue where the inline list would expand horizontally to the width of the ...
6
votes
1answer
3k views

vertical space after algorithm

I am using the usual algorithm package for a paper. However, LaTeX puts too much vspace below algorithms. I have already reduced \floatsep, \textfloatsep and \intextsep but it does not seem to help. ...
0
votes
1answer
149 views

Why have my itemize environments been corrupted and how can I fix the issue? [closed]

I am using the ut-thesis template, and this is what stock bulleted lists look like: \usepackage{enumitem} %... \begin{itemize} \item{I like margin} \item{I like margarine} \end{itemize} ...
9
votes
3answers
1k views

The gap between two double-spaced footnotes is too large. How can I fix

I have to have footnotes double-spaced, but if I use \begin{doublespace} and \end{doublespace} within footnotes, then the gap between two footnotes becomes too wide. Could anybody fix it? ...
5
votes
1answer
650 views

twoside introduces incorrect linespacing at end of section

I have: \documentclass[a4paper,11pt]{report} with no special customisation. In one page, at the end of a section, I have a big figure with two paragraphs of text below it, and these two paragraphs ...
1
vote
1answer
1k views

Adjusting bottom margin

I added the preamble: \usepackage[inner=2.5cm,outer=3cm,bottom=2cm,top=2cm]{geometry} But it produces weird spacings like this: It seems the problem occurs because the bottom margin is forced to ...
9
votes
2answers
9k views

Remove vertical space at start of latex document

I have this test file which is supposed to put Hello there. near the top of the page but it does not work in so far as there is still tons of vertical space at top. How can I fix this? ...
3
votes
1answer
97 views

Flush stacked rotated images

I have a series of images that I would like to line up horizontialy, all scaled to a given height, rotated 90 degrees and exactly flush with respect to each other. For example: ...
6
votes
1answer
168 views

Suggestions for tweaking wide root index

I don't like how the wide mn index of the roots is being displayed and am looking to see how others have handled this problem. I am using the closed square root from the references listed below which ...
2
votes
0answers
523 views

How can I remove the blank space before and after a command [closed]

I create a command, \newcommand{\cmd}{b} but when I use this command a\cmd{}c What I get is a b c but what I want is abc How can I remove two blanks?
4
votes
1answer
201 views

customize space between lines and space to the left in enumeration

I would like to modify the enumeration in such a way that: there is no margin on the left (in the default enumeration, the numbering is indented from the left) there is a vertical space between ...
4
votes
1answer
259 views

Ellipses & Correct Space Factor

I’m trying to use the Unicode ellipsis character (U+2026 ‘…’) in my source files. To this end, I’m looking for an ellipsis macro which I can use with newunicodechar. The trouble is, I’ve noticed, ...
1
vote
0answers
41 views

How can I set the cell margins in a table? [duplicate]

Possible Duplicate: Column padding in tables How can I set (modify the default values) the internal, i.e., top/bottom/left/right, cell margins in a table?
12
votes
2answers
181 views

LaTeX adds an additional blank paragraph after the end of my custom environment

A friend, who is a LaTeX user but isn't very confident with customising it, told me that he would like to be able to put framed paragraphs and framed equations into his documents. So I took it upon ...
3
votes
1answer
456 views

Change the vertical spacing above unnumbered sections headings

How can I change the vertical spacing above the section heading that dont have a number (like for instance the table of contents, the list of figures and the bibliograpy) while keeping the spacing of ...
21
votes
2answers
372 views

When to use \, { } or ~ to prohibit gobbling of a space following a macro

There are various ways to ensure that a space after a macro is not gobbled and wondering how to decide which one to use. Are there cases where it matters which solution is used. ...
3
votes
2answers
186 views

Debugging vertical space on top of page (section inside a custom biblatex cite command)?

Please consider the following MWE, compiled with lualatex test.tex (+ bibtex test + lualatex test.tex): \documentclass[twoside,a4paper]{book} \usepackage{lua-visual-debug} \usepackage{lipsum} ...
6
votes
1answer
2k views

How to remove top margin above \tableofcontents

My contents page would fit on one side, if LateX wouldn't force an automatic whitespace block on top of the table of contents. Is there any way to remove this block and have \tableofcontents start at ...
2
votes
1answer
79 views

How do I force using the blank space before/after a table in a two column env?

I'm using a two column environment, and I placed a table in the left column, as shown in the image: Below it the latex source excerpt used to draw such a table: ...
15
votes
3answers
1k views

en dash and em dash spacing

I've noticed that en dashes and em dashes run into certain numbers and letters, and I don't believe it's standard to use spaces with these. For example, if a 'b' comes before the dash or a '6' comes ...
23
votes
1answer
904 views

When to use a \mbox or a tilde for words that have to stay together

I am new to La Tex and wondering when to use a tilde, or a \mbox? A tilde prohibits a line break and so does \mbox, so when to use one or the other? For example, should I use: \mbox{words to kept ...
3
votes
1answer
257 views

zero-width Quine corners

I would like to create symbol pairs that can be used like quotation marks (spacing-wise) look like Quine corners (roughly: \ulcorner ... \urcorner) or Japanese quotation marks (roughly: \ulcorner ...
6
votes
1answer
836 views

Adjusting Vertical Spacing between a listing and its Caption

I am very new to LaTeX. I am inserting a listing as follows: \lstinputlisting[float=hk, caption=My Caption comes here, captionpos=b, ...
7
votes
1answer
578 views

Aligned pgfplots in beamer frames

I would like to reproduce the design represented in the following picture with Beamer an Pgfplots. Namely, I want the size of plotting area to be always the same size and have the same position ...
17
votes
2answers
387 views

Issues with TeX sub-formula formatting

As generally acknowledged TeX offers superb formatting capabilities for math in an automated fashion. Nevertheless there are some areas with clear deficiencies that one either has to accept or ...
10
votes
1answer
614 views

Chapter heading

I was trying to personalize the chapter and section headings using titlesec for my master thesis using the following code \documentclass{book} \usepackage{tikz} \usepackage{titlesec} ...
2
votes
1answer
353 views

How to remove vertical-line gap on right side of tables when adding space between header and content?

I use the supertabular environment to create a table containing images. I defined that the header should be separated from the content by a single line. Because the first image in table is on the line ...
1
vote
0answers
267 views

\Needspace inside \multline

How to make \Needspace work inside \multline? \displaybreak would be ok, but it doesn't support arbitrary lengths. For example: \documentclass{article} \usepackage{amsmath} \usepackage{needspace} ...
3
votes
1answer
244 views

Section text (without heading) following section number on same line in Memoir

For my purposes I would like to have (free-standing) section numbers in the margins and no section headings---just the section text---immediately following (i.e., on the same line as) the section ...
1
vote
1answer
217 views

Floating lines in align environment

I'm using the align environment to align some equations, and I would like to insert some comments between them. The problem is that I'm using & to align the equals, and because my comments don't ...
11
votes
2answers
447 views

Ignoring space between empty/optional command arguments

(This may be a duplicate, but I could not find an answer among the pile of similar questions...) Suppose we have the following command: % <month> <year> <month> <year> ...
3
votes
1answer
181 views

No page break before a heading, while preserving some vertical space before heading?

How can I prevent a page break before a run-in section heading while preserving vertical spacing before the heading? Based on the suggestion in How to prevent a page break before an itemize list?, I ...
7
votes
1answer
143 views

merge consecutive skips like css

I have a series of figure-like paragraphs generated by a command of mine, and would like to have a minimum amount of vertical space above and below these figure-like paragraphs, but I don't want the ...
2
votes
0answers
287 views

How to have two left margins at different points on one page? [duplicate]

Possible Duplicate: How can I change the margins for only part of the text? I have managed to get what I want with changepage, but was wondering if there is an easier or more elegant way to ...
1
vote
1answer
4k views

how to left-align equations [duplicate]

Possible Duplicate: How to left align a set of equations. I want to write an equation in latex , the code is : \begin{align*} \log (\sigma_{t}(X)) =&\log( \prod_{x \in X} ...
0
votes
1answer
127 views

fancyvrb always creates new page

I'm having trouble using the facyvrb package. I have the following code: \section{My section} \subsection{Subsection} \begin{Verbatim}[frame=single] ...lots of code... \end{Verbatim} However, ...
7
votes
1answer
6k views

Tabular: Underfull \hbox (badness 10000) in paragraph at lines

I read all the questions regarding the error message Underfull \hbox (badness 10000) in paragraph at lines but I am still not sure if my code is correct. The problem is with the tabular of a table. ...
4
votes
1answer
795 views

How can I use \belowcaptionskip with listing?

\documentclass{mwrep} \usepackage{minted} \usepackage{lipsum} % question regarding this code \setlength{\belowcaptionskip}{-10pt} % end \begin{document} \lipsum[1] \begin{listing}[h] ...
6
votes
1answer
110 views

\index after mathmode

I want to create a range index for some part of my document. But when I do the following: \documentclass{article} \makeindex \begin{document} \index{test|(} Some Text \[ 1, 2, 3, 4, 5, ...
13
votes
2answers
17k views

Remove space after figure and before text

I have a figure in my paper (I am using IEEEtran package). After this figure there exists a space between the figure and the text. How can I reduce the size of this white space. To be specific the ...
5
votes
1answer
93 views

Preventing atoms from changing kind

In the example below, the presence of \mycommand changes the first minus sign into a binary operation atom, so that the spacing between - and 1 is increased. \documentclass{article} ...
3
votes
3answers
510 views

Add vertical space into a chapter

I need to add extra vertical space before a particular chapter heading, for example "list of tables". I wanna do this because the space before some of the chapter headings are less than rest of the ...
5
votes
1answer
140 views

A bit larger spread between rows of a 2x2 table

The following is my expression: \begin{equation} \left[ \begin{tabular}{c|c} $y$ & $a_{bc}$ \\ \hline $a_{ab}^T$ & $y$ \end{tabular} \right]. \end{equation} Note ...
4
votes
1answer
436 views

TOC Spacing in Memoir

I am using memoir, and I would like to change the vertical space between entries in my toc. This seems like a simple thing that should have been answered elsewhere, but I can't find anything that ...
1
vote
1answer
758 views

Strange indent using tabular in titlingpage

I need to create a simple problem description page for my thesis. This will also be the title page of the document. I'm using the memoir class. I tried to use the tabular environment to align some ...