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

sectioning - \@startsection vertical spacing on top of page

In the MWE below, the beforeskip argument to \@startsection (#4) seems to be ignored if \section occurs on top of a page. This is cool – because no big vertical space is needed here. However, what ...
0
votes
2answers
34 views

Undesired space after “\right)” or “\mright” with splitting the equation

As it was suggested in the discussion in this link (How can I remove space after `\right`?) that we maybe can not go around using \right. \left. \mright) \mleft( together. The example was given as: ...
0
votes
0answers
79 views

How can I remove space after `\right`?

Why is it that after \right), the . placed after it is spaced. It looks disturbing. For example: \begin{equation} \left(x+y=z\right). \end{equation} There exists an automatic slight space between ) ...
1
vote
1answer
14 views

line-spacing problem with ledmac

For some reason, I've got two lines which are too close. Is there anything I can do to get the normal space back? The document class is a book and I'm working with the outdated ledmac (I know I should ...
4
votes
1answer
29 views

Spacing between operators in IEEE document algorithms

I use the IEEE format and the algorithmic package. However, the spacing around binary operators in algorithms is too wide. attached screenshot: using this code: \documentclass{IEEEtran} ...
3
votes
1answer
34 views

Height of singlespaced marginnote in a onehalfspaced document

I have a onehalfspaced document in which I want to put marginal notes that again should be singlespaced. See this example: \documentclass[a4paper,oneside,11pt]{article} ...
3
votes
1answer
19 views

How can I eliminate spurious spacing using datetime with a modified .def?

I am trying to construct a corrected version of dt-welsh.def for use with the datetime package. In part, this is because my existing set up depends on datetime and, in part, it is because datetime2 is ...
0
votes
0answers
23 views

Local spacing of tikz-matrix

I use something like the code below in a document with a spacing fixed in the header. Now I locally want to use a different spacing in a calculation containing 4-5 matrices like the one below. These ...
1
vote
0answers
39 views

Is there a way to insert non-breaking space between words automatically?

Is there a way to convince LaTeX to automatically add tildes in front of one- and two-letter words, numbers and such simple things (in normal mode, not in math mode)? I know there are preprocessors ...
2
votes
1answer
32 views

Spurious white space when adding vertical space to start of the page, in redefinition of \section

As a followup question to Fullwidth section heading in twosided layout I'd also like to inquire about vertical spacing on new pages. The idea is that the top element of the section title starts ...
2
votes
0answers
32 views

Spacing after minipage

I have been playing with the code given by egreg here: How to keep a constant baselineskip when using minipages (or \parboxes)?, and I have almost succeeded in creating a two-column environment with ...
3
votes
1answer
39 views

Fullwidth section heading in twosided layout

I've been trying to achieve a full width chapter/section heading in a twosided layout for a while now. In a previous question: Spurious white space from a page number conditional I have inquired about ...
0
votes
0answers
17 views

Controlling spacing and alignment using Qcircuit

I'm trying to typeset a circuit using Qcircuit and running into some spacing and alignment issues. Here is the portion that is giving me trouble (this will be embedded in a larger diagram): ...
2
votes
5answers
176 views

how to align words?

I have a sentence and I have a word that should go under another specific word in the sentence. Is there a way to do this without using the \hspace option (or using it with another unit of ...
3
votes
2answers
60 views

Adjust vertical spacing between minitoc title and contents

I'm using minitoc and I want to adjust the vertical space between the title and the contents, shown in the image below: Here's my MWE: \documentclass{book} \usepackage{minitoc} \nomtcrule ...
2
votes
1answer
28 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
42 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
33 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
61 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
50 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
39 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
181 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
64 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
31 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), ...
2
votes
1answer
25 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
66 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
35 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 ...
1
vote
2answers
43 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
49 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
217 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
32 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
42 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
47 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
41 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
24 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
24 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
92 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
32 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
35 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
83 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} ...