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

Intertext causes overfull hbox in align* environment

\documentclass{article} \usepackage{mathtools} \begin{document} \begin{align*} a & =b & & \text{if } \begin{dcases*} ...
0
votes
0answers
29 views

Inline listing in ams environment drops space before mathescape

In http://tex.stackexchange.com/a/127018/83257 there is a patch to make inline listings work in math mode. When using this together with listings' mathescape option, the space after a math escape is ...
1
vote
1answer
39 views

Vertically aligning form fields within a table

I would like to vertically align form fields within table rows. The problem I am facing is that other columns within the same row can stretch over multiple lines. Solutions as sketched in form field ...
1
vote
1answer
31 views

Problems with linespacing

users I have some problems with linespacing in my thesis. One page look normal like this: Another page look weird like this: My preamble look like this: ...
0
votes
1answer
60 views

Remove “space symbol” [duplicate]

I'm trying to write: LCD_write_String_to_Buffer("Esperando \nconfiguracion..."); but what I get is: I get like horizontal square brackets. Is there any way to remove all symbols and leave ...
0
votes
1answer
48 views

Excess vertical space around display math

I'm sorry but I cannot produce a minimal compilable example. I use book as a documentclass. When compiling pdfLaTeX I get some very annoying random placed additional vertical space around display ...
3
votes
2answers
37 views

How to remove Double spacing in Table “Cell Wrap”?

Assume I have a text with double spacing. Now to visualize table cell wrap (automated table cell wrap is not possible in Latex as far as I know), I want to space this "cell wrap" with single spacing. ...
3
votes
5answers
180 views

Vertical and horizontal spacing in a two-line equation

I wrote the following: \begin{equation} \begin{array}{lcl} w_{\frac{mn}{m+1}-\rho} & = & m(\dfrac{n-2}{1+\varepsilon_1})(m^{-\frac{mn}{m+1}+\rho}){{n-2} \choose {\frac{mn}{m+1}-\rho}} ^{-1} ...
0
votes
2answers
63 views

Minipages and spacing between \paragraph

I am using \paragraph inside a minipage. Don't know why, but the usual space above \paragraph does not appear. Then I have a small minipage in the \paragraph. Now spacing between \paragraph is ...
2
votes
0answers
13 views

multicol: increase space between columns [duplicate]

How to increase the space between two columns in a multicol? \documentclass{article} \usepackage{lipsum} \usepackage{multicol} \begin{document} \begin{multicols}{2} \lipsum[1-2] \end{multicols} ...
1
vote
0answers
29 views

Problem of backslash and math symbol separating

I am not even sure if this is a Tex problem or a Kile problem. Whenever I edit stuff on my file, there is some paragraph realignment that happens. Sometimes a realignment elsewhere forces the ...
3
votes
3answers
82 views

Hanging brackets in an align environment

I have two formulas in an align environment, and the second one starts with a bracket (this particular example is simplified): \begin{align} & x_\alpha(s) x_\alpha(t) \\ & \left[ x_\alpha(s), ...
1
vote
1answer
18 views

Badbox in bibiliography while using TexnicCenter

I have the following excerpt from my bibliography and it is spaced as expected and produces no problems except for one citation, namely \bibitem{Mulmuley}. \begin{thebibliography}{99} ...
4
votes
3answers
63 views

Uneven spacing using \vspace inside \itemize in beamer

I have a slide that is just an itemize. I am using \vspace{.5cm} to space things out. For some reason between two of the bullets the spacing is larger than the others and I have to use ...
1
vote
0answers
11 views

spacing chapter documentclass report

I think this question has been discussed here but I still haven't found a solution. I am using document class report and there is one thing I am not able to figure out. I have still spacing for ...
1
vote
1answer
33 views

how to remove space between authors initials when using the apalike bibliography style

Suppose my reference looks like the one below: Author, J. M. (2006). Comparing species abundance models. Ecological Modelling, 199(2):153 – 163. How to remove space between the two initials of the ...
0
votes
2answers
39 views

Landscape mode makes landscape page too small

I used the instructions from how-to-change-certain-pages-into-landscape-portrait-mode to create a table with plots in landscape mode. The page is turned , but with the left side up, instead of ...
5
votes
1answer
50 views

List spacing is different inside and outside of minipage

I'm preparing an exam and I want an illustration next to a multiple-choice problem. Usually for this purpose I put the question and/or choices in a multicols environment; however for this particular ...
4
votes
1answer
48 views

mtpro2 SQRT with root index affect the subsequent spacing

I recently installed math professional II font (mtpro2 lite). It works fine except that the SQRT with root index sucks. \[ \sqrt[100]{1000000} = 1000 \quad \sqrt[3]{1000000} = 100 \] \[ ...
3
votes
0answers
32 views

Spacing around figures and tables

At the moment I have the following code in the preamble: \usepackage{float} \floatstyle{plaintop} \restylefloat{table} This puts figure captions below the figure, and table captions above the ...
2
votes
2answers
58 views

Can't get rid of underfull \hboxs

I've been trying to get rid of a bunch of underfull \hbox warnings in my cv. A minimal example of what I am dealing with is as follows: \documentclass{article} \usepackage{calc} ...
11
votes
2answers
215 views

Is `\hspace*` equivalent to `\strut\hspace`?

Is using \hspace* essentially the same as \strut\hspace? The description at \hspace vs. \hspace* seems to suggest that this may be the case, but I was wondering the cases where they might differ.
0
votes
0answers
31 views

Define amount of space after \newline, \\, or \linebreak

How do I define the amount of vertical space there are after all new lines? I am looking for something that works like this: \define{x = 4} blah blah blah blah \\[x pt] blah blah \\[x pt] Where I ...
2
votes
1answer
41 views

No space between rows and columns of subfigures

I have created a 3x3 matrix of figures as follow: \begin{figure} \begin{tabular}{ccc} \includegraphics[scale=0.2]{my_figure} & \includegraphics[scale=0.2]{my_figure} & ...
3
votes
1answer
46 views

Adjusting space when using the “lettre” class

I am quite new in writing letters with LaTeX, and I am wondering whether there is a way to adjust the space between the end of the sender's e-mail address and the subject of the letter (see picture ...
1
vote
2answers
40 views

Tighten spacing in multiple-element subscripts that include primes and uppercase-Greek letters

My MWE compiled with pdfLaTeX: \documentclass[12pt]{article} \usepackage{amsmath} \begin{document} \begin{equation} \frac{ \Gamma_{v'J'\Lambda'} \Gamma_{v'J'\Lambda' \rightarrow\Lambda''} } { ...
0
votes
0answers
19 views

footmisc's bottom option and memoir's footnotes

In order to avoid overstretched inter-paragraph-glue I would like to use footmisc with the bottom option. However it interferes with my footnote setup. See the following example: ...
1
vote
0answers
20 views

Custom line-spacing inside a footnote

I know I can use the following command to set the spacing in footnotes throughout the document to double space: \renewcommand{\footnotelayout}{\doublespacing} But is there a way to allow for custom ...
0
votes
1answer
23 views

Vertical spacing around align in a figure

Math environments like align put vertical space around them, to separate them from the text. This is all well, and if I wanted to change that, I could check this question. However, these environments ...
1
vote
1answer
89 views

Will it stretch? Plumbing the depths of Interline glue

I've gone back to basics to gain a better understanding of how TeX works. One of the things I've been puzzled about is the workings of interline spacing and why ocassionaly (depending on font sizes ...
2
votes
1answer
30 views

No spacing between words in the pseudocode package

I am using the pseudocode package for an algorithm. (Here is the documentation: Pseudo Code Package Documentation) There is no spacing between normal text inside the pseudocode block. I have to ...
0
votes
0answers
34 views

Vertical spacing not working properly

I'm trying to use \bigskip, \medskip, and \smallskip for spacing but they don't do anything. So I tried to use \vspace{bigskipamount}, and I got 2 errors: 1) ! Missing number, treated as zero. 2) ! ...
3
votes
1answer
82 views

Center plot created with pgfplot from matlab

If I have a nice plot in matlab, then I save it as a tikz standalone file matlab2tikz('myimage.tikz','standalone',true) and I create a pdf in my terminal with pdflatex myimage.tikz to include ...
4
votes
2answers
45 views

Odd spacing due to diagonal dots in pmatrix environment

I'm trying to typeset this matrix, but it seems the spacing between the fourth and fifth lines is off, perhaps due to the diagonal dots : Here is my Latex code : \[ \mathrm{Mat}_{\mathcal B}D = ...
4
votes
3answers
102 views

Empty space under a figure

I am getting a significant amount of empty space under the following figure. How do I get rid of it? (I am a new user and I don't know how to post a tex code.) \documentclass{article} ...
10
votes
2answers
264 views

Appending an empty row after every 5 or 10 rows in LaTeX table

I wonder how to append an empty row after every 5 or 10 rows in LaTeX table. Here is my MWE in .Rnw format. Any help will be highly appreciated. Thanks! \documentclass{article} ...
1
vote
1answer
83 views

Why is the space below the numerator different to the space above the denominator?

I've never noticed it before, but LaTeX puts a lot more space between the numerator and the bar than it puts between the bar and the denominator. Now maybe this makes sense for more complicated ...
1
vote
1answer
63 views

customize vertical space of entries and subgroup names in nomenclature

I want customize the vertical space (marked by red lines in the picture) between final entry (M1 big-M parameter) and subgroup name (Variables) , say 20pt? How could I achieve that? Many thanks. ...
0
votes
0answers
36 views

Titles not vertically aligned

I am writing a text using a class file designed by my university. This class file, however, does not allow for lists of symbols, so I am trying to modify it slightly in order to insert one. The class ...
2
votes
1answer
76 views

LaTeX: The Space Between Words [duplicate]

I read the book The Not So Short Introduction to LaTeX, and found this line: LaTeX: Tilde '~' generates a space that cannot be enlarged and... It seems that the tilde make the space smaller when ...
2
votes
2answers
169 views

How can I insert a special character at the end of each sentence?

I tend to write very long sentences. To easily detect sentences that are too long, I would like to make individual sentences stand out more clearly in my compiled latex document. I know that latex has ...
2
votes
1answer
21 views

string of non-breaking spaces spilling into margin

I have a string of expressions that should not be split across lines, so I have placed non-breaking spaces between them. However, they spill over into the margin. How do I fix this? Here is my MWE: ...
2
votes
1answer
44 views

Distinguishing a symbol from a character around it while typesetting

When typesetting the LaTeX in Math mode is it safe to create a space (one carriage return) around a LaTeX symbol to isolate it from the surrounding character instead of enclosing the surrounding ...
2
votes
2answers
45 views

Enforce strict margin boundaries

I submitted my dissertation (> 200 pages), and was told by an editor that there are several pages where a long word (eg. an organic molecule name) or a citation actually extends beyond the right ...
3
votes
3answers
75 views

Stop LaTeX adjusting vertical spacing when fitting more text onto a page

I need to place two pieces of paper side-by-side. Each piece of paper is a printout of a compiled LaTeX document. The second document starts in an identical way to the first, but has more text ...
1
vote
1answer
35 views

Change spacing before chapter title within frontmatter

I am using the report class for my dissertation, which requires 2 inch margin beginning at each chapter. I am using the following command: \titlespacing*{\chapter}{0pt}{2in}{1in} This works fine ...
3
votes
1answer
55 views

Longtable and automatic spacing

I am using the longtable environment in combination with the siunitx package for 3 of my 10 columns. Unfortunately, when compiling the spacing of those three columns is not automatically adjusted. ...
0
votes
3answers
29 views

Table rows | single line | double line | of text not lining up

I have a table with two columns, the width of each column is set. There are cases where the left hand text is one line and the right hand text is two lines. As a result the left hand text is aligned ...
1
vote
1answer
24 views

Spacing in listoffigures with alphabetic chapter

At the end of my document I need a last chapter with seperate numbering for additional data. To do this I changed the chapter number to display an A via \setcounter{chapter}{0} ...
4
votes
2answers
95 views

Odd ToC spacing between item and page number

I'm facing a very odd issue with spacing in my table of contents. For the first 25-30 entries, there is a space between the entry and corresponding page number. Thereafter, the space disappears! ...