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

Space between items in List of Figures/Tables within a chapter

I would like to add some tiny space between items within a chapter in the List of Figures/Tables. It should be compatible with \setlength{\cftbeforechapskip}{Xpt} I'm using for ToC. My code is: ...
0
votes
0answers
71 views

Tabular derivations with bussproofs

I am trying to typeset derivations in the CCG grammar formalism. These are just derivations as in type theory, but with words as the initial premises. I've tried to typeset them using the bussproof ...
3
votes
1answer
68 views

How to get the available space for an image

I want to design a figure (in a external graphics editor, e.g, Illustrator) to exactly fit (without scaling!) the whole available space on an empty page of my document minus the caption of the figure. ...
8
votes
2answers
103 views

Preventing line shrinking with raggedright

Sometimes with \raggedright, if a line is too long, but only slighly so, it will be shrunk instead of broken up. Here is an example: \documentclass{article} \raggedright \begin{document} This is a ...
2
votes
0answers
61 views

Eqnarray vs align environments [duplicate]

I keep reading that \begin{align} is preferred to \begin{eqnarray}. Unfortunately, I can't get align to justify rcl. I'll change between align and eqnarray, and the rightmost column is right ...
13
votes
1answer
314 views

Is there a way to make a “non-selectable” space in LaTeX?

Is there a way to create a horizontal space in LaTeX that is visible to the reader but invisible to the computer when selecting and copying text (using PDFLaTeX)? An example of the problem: When I ...
5
votes
1answer
73 views

Acronyms with same style as LOT?

I use the acronym package with page numbers. Now I would like to have the dots between the acronym and the page number in same style as in the ListofTables: same spacing between the dots and between ...
3
votes
1answer
55 views

Change itemize margin

I am working inside the beamer environement and need to change the margin width for an itemize enveronement. The only way i found to do this is shown below. \begin{minipage}{0.1\linewidth} ...
10
votes
0answers
72 views

siunitx disturbs spacing of \, in math with xelatex

In the following example - compiled with XeLaTeX - the spacing of \thinspacing/the value of mu (used by \,) is disturbed if \SI is used in the math before: \documentclass{article} ...
3
votes
1answer
69 views

How can I make text from the first line align with an image?

I'm writing a letter and I want to use an image as the first letter (A la olde time book Initials). See the below screenshot of what I've thrown together so far. What I would like to do is have the ...
7
votes
1answer
93 views

bold letter or word spacing for text animation

I want to make a text animation movie for my wife for Valentines. My first thought was to use the beamer package and have a different word in bold on each slide. I would then convert the pdf to ...
0
votes
1answer
73 views

\hfill doesnt work on new line

I am using res class to prepare my CV. My code is Secured All-India Rank 2480 in Joint Entrance Examination (JEE) among over $500,000$ applicants\hfill{\em(2010)}\\ Secured 2488th rank in All India ...
2
votes
1answer
67 views

Why does the setspace package change my fancyhdr design?

After hours of debugging, I finally found out that the header of my bibliography's last page is changed by using spacing in the text. Now my world is turned upside down. Please have a look at this ...
3
votes
2answers
51 views

package quotchap vertical space before \chapter*

I use the package quotchap it is very nice. But for the star chapters, if I use quotation, there is no space between quotation and the title of the chapter. I tried, but witout any success, to add ...
0
votes
1answer
69 views

Changing vertical spacing between equations

I'd like to reduce vertical spacing between dmath equations. I don't know how spacing works here. I tried changing line spacing with setspace but to no effect. This is meant to be a formula sheet with ...
1
vote
1answer
40 views

Using parskip with ntheorem in a book

I am writing a mathematical book and would like to use ntheorem for theorems. Also, I would like to use parskip, because I like these styles of paragraphs more. My problem is that as soon as I include ...
1
vote
1answer
157 views

scrartcl and fancyhdr on first page

In relation to this question, I'd like to get a fancy header just on the first page of my scrartcl document (height about 150 pts), but even using \thispagestyle{myfancyhdr} all the following pages ...
0
votes
0answers
37 views

\AtBeginDocument breaks csquotes nesting - or \xspace won't add space

A couple of months ago, I asked this question because xspace wasn't adding whitespace before an active quote. The apparent solution was to add \AtBeginDocument. However, this breaks csquotes nesting ...
9
votes
1answer
118 views

How and whether to fine-tune the vertical placement of a fraction line

This is a question about the aesthetics of mathematical typesetting, as well as a technical question about LaTeX. I'm writing a lot of expressions like this: (\log\frac{p_{i\to j}}{p_{j\to i}} in ...
5
votes
1answer
53 views

How to prevent TeX from stretching glue beyond a given maximum?

Is it possible to define a glue that TeX will not stretch any further than a given limit--under no circumstances? In the following MWE, I want to set a piece of text apart from the rest by half a ...
6
votes
3answers
168 views

Adding vertical space (\vspace) around custom environment

I have document with custom environment myenv which left margin is 4em. \documentclass{book} \usepackage{lipsum} \newenvironment{myenv}{ \setlength{\leftskip}{4em} } \begin{document} \lipsum[1-2] ...
6
votes
3answers
138 views

How to stretch horizontal length

In this paper, Daniel J. Bernstein used horizontally stretched lines (page 7). I was trying to do the same. I saw this question, but none of the answers could produce the desired result. Can anybody ...
1
vote
1answer
62 views

How to eat/gobble all following skips?

Is there a way to gobble all following skips? The opposite is possible with \unskip. I have a custom chapter layout (done in memoir) using tikz, and, for instance, the list of figures uses \addvspace ...
0
votes
0answers
51 views

Large whitespace at Springer journal template

I just downloaded Springer WWWJ template from http://www.editorialmanager.de/pdf/latex/ and after I compiled, there is a huge whitespace on the right. Whitespace was there even if I use the sample ...
7
votes
1answer
146 views

Why does putting a vspace*{0 mm} create vertical spacing?

I am testing a new layout for my invoice. I am trying to put some small vertical spacing before the invoice title. While tesing the vertical spacing, I have spotted a strange behaviour, and reduced it ...
4
votes
1answer
85 views

Changing the Look of Proof

I am using the document class amsbook. I had an issue with my theorems having a good deal of space between the statement of the theorem and the proof. I have a new theorem style: ...
2
votes
1answer
67 views

floatflt - removing extra white space on top

When I include a figure via floatfigure into my text, I can't get it to stick to the top margin of the text body. There is always some white space left. I even tried to look in the package code, but ...
5
votes
1answer
134 views

Tabular in frame: get rid of horizontal spacing

I'm trying to surround a tabular with a thick frame: \setlength\fboxrule{2pt} \setlength{\fboxsep}{0pt} \fcolorbox{black}{gray}{ \begin{tabular}{@{}p{2cm}|p{2cm}@{}} A & B \\ \hline ...
6
votes
2answers
81 views

Getting extra space with this combination of \color and \label

If I type {\bfseries\color{red}Theorem 1. }{\itshape\label{two} This is a test.}, I get too much space between "1." and "This". Here's a file that shows what I mean: \documentclass{article} ...
1
vote
0answers
54 views

Spacing between single line paragraph with lettrine

I'm having the following problem with lettrines and paragraph with a single line : \lettrine[lines=2, loversize=0.15, findent=1em, nindent=0em ]{1}{}% First step. \lettrine[lines=2, loversize=0.15, ...
1
vote
0answers
25 views

Reducing vertical space between heading of Glossaries package [duplicate]

I am using using a custom .sty file which uses report document class. For List of Acronyms, I am using glossaries package. The space after the heading of List of Acronyms and the first acronyms is ...
3
votes
2answers
337 views

Differences in spacings

I noticed that I can use \ to produce a spacing in math environment that seems to me equal to the one produced by \quad. Where is the difference?
5
votes
1answer
84 views

How to prevent \includegraphics from inserting whitespaces / margins (no float)?

I am using \includegraphics from the graphicx package directly with no floating environment like figure. I need the images placed precisely, but something is inserting space automatically. ...
10
votes
2answers
92 views

putting spaces within text block

I have a block of text that I would like to automatically break in blocks of equal length. Something like what \num does with numbers. What I need is a definition for what I called \makeBlocks. The ...
7
votes
2answers
121 views

More aesthetically wrap text in a table?

I have a table that I must fit in one page but have difficulty doing so in any aesthetically pleasing manner. A MWE is pasted below. Are there any suggestions to improve this? Regretfully I haven't ...
11
votes
2answers
150 views

How to get rid of unwanted spaces with \input?

for my project to bring scripting to (Xe)(La)TeX, i need to execute command lines with write18, redirect output to a temporary file, and then insert the produced text using input. i've noticed some ...
4
votes
1answer
203 views

Padding in a minipage

I build a minipage with some background picture: \newsavebox\langscapeSafebox \newenvironment{dsaBoxLandscape}[1][]{% ...
8
votes
3answers
607 views

Desktop wallpaper with black background templates

I want to prepare some cheat sheets to be used as desktop wallpapers. I would like to go for something like this: It has, I think, context highlighting (or maybe just environmental highlighting) a ...
4
votes
2answers
72 views

Table and Longtable environments reproduce different spacing in LOT

I have been using the table and longtable commands quite a lot for my thesis, and I've observed they reproduce different spaces in the list of tables. Here is the MWE: ...
4
votes
1answer
62 views

A horizontal line with the same space-filling behaviour as /hfill?

Is there a command or package which would allow me to draw a line in the largest available space in the way that \hfill fills up the remaining space in a line? i.e., a command to draw a line from the ...
7
votes
1answer
64 views

Reversing the effect of a \newline with the next command?

I'm using the harvard package and the agsm bibliography style. I'm aware that there are alternatives, e.g., natbib plus har2nat, and I will be looking into those in the not-too-distant future, but at ...
1
vote
0answers
31 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 ...
2
votes
1answer
53 views

Adjust spacing in table of content

I am very new to TeX. I have a Latex template for writing a thesis. I'm trying to report only the part of the template that I think are important.. please tell me if I'm omitting something! I am ...
7
votes
1answer
152 views

Gratuitous vertical space with nested list environments given a certain line length

In the following MWE the simple addition of ":" causes some extra vertical spacing to appear before the nested enumerate environment, despite the fact that adding ":" does not cause the text to split ...
0
votes
0answers
37 views

How do I adjust the width of a grid column?

I've tried looking up the code and couldn't find something that allows me to adjust the width of a column. I want to make the width larger (in the vertical direction). This is what I have so far: ...
2
votes
2answers
42 views

spacing between \paragraph{} and next chars

Is it possible to make a new line between the text of \paragraph{} and the next characters ? I've tried this, but nothing have changed. \paragraph{Raffinement du cas d'utilisation \og Rechercher \fg} ...
5
votes
3answers
82 views

reducing spaces in TOC titles

Is it possible to manage that space in this following TOC defined in the picture between alphabets and related titles to make smaller, please ? Knowing that the definition of these titles is ...
1
vote
2answers
112 views

how to cancel a space?

I'm trying to cancel the space made by \item using \hspace{0cm} but this haven't work. Any suggestion please ? \begingroup \setlength{\LTleft}{-20cm plus -1fill} \setlength{\LTright}{\LTleft} ...
1
vote
0answers
30 views

Starting a theorem or a proof with an equation and vertical spacing

Is it bad practice to begin the statement of a theorem or of a proof with an equation? If it is acceptable, what is your opinion on the resulting spacing in the three cases, in the code below? In the ...
6
votes
2answers
62 views

Use of optional argument stretch in \parbox

I'm having some difficulty on how to use the "stretch" optional argument of \parbox. Is it supposed to equally interspace lines of text inside a box of determined size? If I code it like: ...