{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)

3
votes
1answer
43 views

leave blank space where author information will appear

Consider a snippet of text, the author information, that needs to be hidden for review. To allow organizing the space I would like to have a placeholder which uses up as much space as the author ...
1
vote
1answer
47 views

Formatting my basic tex report with specific spacing and font settings

Ok so I am configuring the settings of my tex file before starting my (mathematical) report and am going through my basic template and removing all packages I don't need and believe I have the very ...
7
votes
1answer
116 views

How do you remove a space before a citation in LaTeX?

I have something like \documentclass{article} \usepackage{cite} \begin{document} Blah Blah (\cite{All14}) \bibliography{Ref} \bibliographystyle{alpha} \end{document} But LaTeX keeps placing a ...
1
vote
1answer
29 views

Centering causes change in spacing

For some reason when I center the text on my page the spacing to go from single to double. Using the latest LyX I have the following text written in standard. Line 1 Line 2 Line 3 Line 4 When I ...
2
votes
2answers
94 views

Vertical space between matrices

I am writing some lecture notes in Econometrics and I want your advice on how to insert some vertical space between two matrices so the result will be easier to follow. Here is the minimal example: ...
3
votes
1answer
39 views

Latex text on both sides

I don't wanna use 64x \space to achieve my goal. I was tryin to \begin{flushleft} and \begin{flushright} bo it attempts with new line. I wanna make something like this, where arrows shows distance ...
1
vote
2answers
55 views

How to make the space under footnotes disappear?

How do I make the space under footnotes disappear? And to space over the footnote's bar? Code: \documentclass[12pt,french]{report} \usepackage{mathptmx} \usepackage{helvet} \usepackage{courier} ...
0
votes
0answers
34 views

Spacing around thm environments when parskip is changed

I am a beginner with LaTeX and have this probably tyro problem - when I use asmthmpackage environments in combination with \parskip, the (vertical) spacing above and below theorems, definitions, etc ...
2
votes
1answer
43 views

Minitoc numeration overlaps with subsection titles

I have long minitoc numeration depth \setcounter{minitocdepth}{3}. I have a problem with it: \documentclass{report} \usepackage{newcent} \usepackage{minitoc} \setcounter{tocdepth}{1} ...
9
votes
1answer
124 views

How to float something right even if it wraps down a line?

I have a situation where I have some data in section headings (and sometimes normal paragraphs} that needs to be: floated right not split across lines I was able to accomplish this for most cases ...
4
votes
1answer
91 views

Subfigure space adjustment — \subfigcapskip and \subfigtopskip

I want to adjust the space in a subfigure environment. Specifically, using \subfigcapskip to increase the space between the subfigure and subcaption, and using \subfigtopskip to reduce the space on ...
2
votes
1answer
24 views

Extra space (or missing) after a ref with a second digit in a bibitem

I create my bibliography as follows but after the 10nth Ref i have an extra space on the first line or a missing space on the following lines. Any idea on how to fix this? Thank you! ...
1
vote
1answer
50 views

Wrong vertical spaces using bibentry within beamer

I would like to give some references using the bibentry package in a beamer presentation. But sometimes, e.g. if the list of authors spans over multiple lines, there is a wrong vertical space in the ...
0
votes
0answers
15 views

how to use special letters in bib file properly? [duplicate]

Some author's name contains special characters like "ł" in Szałowski. The latex code for "ł" is \l. But if I write the name in bib file as Sza\l owski, the the name contained in the output pdf's ...
9
votes
1answer
108 views

Why does amsmath define \mspace? \mskip seems fine and simple enough

amsmath.sty defines \mspace as follows: \newcommand{\mspace}[1]{\mskip#1\relax} What is the purpose of this definition? amsmath.pdf says that \mspace is the "equivalent of \hspace for math mode ...
0
votes
0answers
27 views

Write $ in latex in the final pdf file [duplicate]

Dear i'm writing a code on latex with codes retrieved from R. As you may know, the symbol $ is inserte in R statistical software. At the same time it is used to represent equations in $. This is the ...
3
votes
1answer
58 views

How can I ignore spaces after todo items?

Consider the following (xpatch-fu from http://tex.stackexchange.com/a/68741/17423) \documentclass{article} \usepackage[marginpar]{todo} \usepackage{xpatch} \makeatletter ...
5
votes
2answers
82 views

Best way to deal with overfull inline listings

I am typesetting inline code listings using the listings package. Since I'm using C# syntax, oftentimes listings contain long words (type names/variable names). Since words in listings won't be ...
1
vote
2answers
133 views

How to remove white space above and below Tikz figure

I used GMS package to write a maths book, and used Tikz code genrated by Geogebra to draw the image. The problem is there are too much white space above and below Tikz figure, as in the following ...
4
votes
2answers
68 views

Underfull \hbox severe issues

I relaize this has been posted before but I just can't understand the nature of the problem, I hope some of you can help me with this. This is my code from line 99-174. Compiler errors are below the ...
5
votes
2answers
122 views

Manually break lines like auto-breaking in lstlisting

I would like to decide where the long line should break, but with actions pre-/postbreak and without advancing in line numbering. I've tried that one: \documentclass{article} \usepackage{color, ...
5
votes
0answers
46 views

Hightlight specfic digits within siunix's \num

I would like to highlight specific digits in a number. Since the number is large I would like to use \num{} from the siunitx package. Of course I can do it manually as in the MWE below, but was ...
5
votes
1answer
57 views

Correcting (removing) adjustwidth's vertical spacing

Consider the following example that uses changepage's adjustwidth to set a single paragraph at 80% of the text width (on the left). Compare this to the use of \parshape (on the right): ...
3
votes
1answer
47 views

Make a command start new line in a list if it is not currently at the end of another list

I am trying to typeset a structured proof as demonstrated by Leslie Lamport in his paper How to Write a 21st Century Proof. In particular, I am trying to typeset Figure 3 (shown below). My code and ...
2
votes
0answers
25 views

TOC: Distance between title and text [duplicate]

Original Question In scrreprt the distance between title and content of a TOC is larger than the distance between a regular chapter title and the text body. Does this make sense in terms of ...
7
votes
1answer
69 views

Fixate document length to n pages

I often find myself squeezing documents to meet ensure the final document is below some set length. I often do this by cutting whitespace, enlarging pages by a line height, etc., and of course by ...
3
votes
2answers
63 views

vertical spacing between subfloat

I am using subfig package. Is it possible to reduce the spacing between two sufloats one below the other? I couldn't find anything in the documentation.
2
votes
2answers
40 views

Regarding groupnotation and spacing [duplicate]

(G, *) is certainly an acceptable notation for a group. However, I prefer the notation . As you can see, the distance between the letters and brackets are uncomfortably long. Is there a way to shorten ...
2
votes
2answers
76 views

Minipage make different space between tables

I have the following problem. I use a minipage to show two table next to each other. As you can see in the figure the first two rows of the tables are okay, but the thrid has a problem with the ...
3
votes
1answer
105 views

Figure overlaps Table

When placing a table then a figure, the figure overlaps half the table.. Here is what the tex looks like: \begin{table}[h] ...
3
votes
2answers
147 views

Getting less space in “$V$,”

If I think there's too much space between the $V$ and the , in $V$,, what's the best way to reduce it? It seems safe to use \kern and not safe to use \hspace, since if you use \hspace the line might ...
7
votes
1answer
120 views

Automatic line breaking and \hfill

I work on a CV and I would like to write some content (e.g. conference information) on the left side of the page and a date on the right side of the page. Because the content on the left side might ...
4
votes
1answer
75 views

Adding Non-breaking space after single character in text mode

Is it possible in LaTeX (2e) to create macro or other processing command that will add non-breaking space after single character in text mode? Example: A new example here will add a "tilde", after ...
0
votes
0answers
93 views

Change paragraph spacing without messing up the rest of the document

If I use \setlength{\parskip}{1cm plus4mm minus3mm} Or change the lengh of parskip in anyway, it not only changes the space between paragraphs, but also the space before and after equations, the ...
3
votes
1answer
39 views

Why does inserting a space with {} only work some of the time?

I was just trying to customize my footnotes and noticed some strange (to me, at least) behavior. Usually, if I'm inserting a one-character white space I'll simply insert a pair of empty curly braces ...
3
votes
0answers
61 views

How can I obtain the same vertical space between the chapter number and the chapter title?

How can I obtain the same vertical space between the chapter number and the chapter title for all chapters? The space between the chapter number and the chapter title reduces when the title goes on ...
8
votes
2answers
108 views

Defining the minimal amount of space around an operator

How do I define the minimal (and possibly maximal) amount of horizontal space around an operator? Something similar to wrapping the operator with \,s. Here's a picture: And a minimal example ...
3
votes
2answers
135 views

Uneven space between bibliography entries using flushend

I'm having problems with uneven spacing between bibliography entries. As seen in the attached screenshot, the space between entry 4 and 5 is much smaller than the rest of the distances. This makes the ...
13
votes
1answer
113 views

How can we detect that we are right after display math mode? (for vertical spacing)

I need a "\smartmedskip" feature/macro in plain TeX which is in usual identical to \medskip, however, if we are right after display math mode, then it should be just "disabled", i.e. it should then ...
5
votes
1answer
126 views

Fixing vertical spacing after \captionof as a custom caption

I'm trying to get a single caption after two columns of code. For two columns, parcolumns is the only method I've found that allows a page break in the middle and is my current favorite. Using ...
10
votes
1answer
84 views

How to automatically put a space after the first parenthesis in f(x) g(y)?

When I write \documentclass{article} \usepackage{mathtools} \DeclarePairedDelimiter\p{\lparen}{\rparen} \begin{document} \[ w = \int f\p*{x} g\p*{\frac{y}{2}} h\p*{z}\ dx \] ...
4
votes
1answer
58 views

Why do the braces in f{\left(x\right)} affect the output? [duplicate]

Why does f\left(x\right) result in more space before the ( than f{\left(x\right)}? i.e. Why does putting extra braces suppress the space?
5
votes
2answers
136 views

Spurious [?] vertical space introduced by multicols

In the example below, you'll notice, in the first box, a slight spurious vertical space before the text actually starts, and probably introduced by multicols. Do you know how to get rid of it? ...
4
votes
1answer
63 views

Double slashes close together with resizing

I basically want this symbol, but I want it to resize properly: While X/\mkern-6mu/H looks good, when I try to resize using \biggl, then the horizontal space between the two slashes becomes very ...
3
votes
1answer
55 views

Unwanted extra lines appearing in bibliography

When I compiled a very lengthy paper with a lengthy bibliography, I noticed that at some places in the bibliography, an extra line had been entered between entries: I tried to cut down the document ...
5
votes
1answer
84 views

ConTeXt: Font change shifts column content

Background I would like to place balanced itemized lists inside a two-column layout. Problem Changing the font affects the balanced layout; the fonts are: Chivo Gentium Basic Code The ...
3
votes
1answer
52 views

Automatic non-breakable spaces?

Very often I have to manually add non-breakable spaces to make things look better. For instance: see~\cite{Bla98} for all~$x$ see Section~\ref{sect:bla} It looks specific enough so that it could ...
5
votes
1answer
37 views

Using \newcommand to format numbers/strings according to a pattern [duplicate]

I'm an aspiring LaTeX user and have so far managed the first steps and created my first few documents. Coming from a programming background I've been wondering how you could use \newcommand to create ...
3
votes
1answer
56 views

Spacing text in table cells

How do I to space these two cells on this way? And not on this way: Code: \begingroup \setlength{\LTleft}{-20cm plus -1fill} \setlength{\LTright}{\LTleft} ...
4
votes
2answers
80 views

Spacing between subfigure and subcaption

Consider the code below. I'm attempting to add space between the subfigures and their respective captions by modifying subfigcapskip (I've also tried skip, aboveskip, and captionskip), but I'm not ...