{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
2answers
43 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
130 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
185 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
152 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
140 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
99 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 ...
1
vote
0answers
129 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
40 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
74 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
119 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
195 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
125 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
214 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
91 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
61 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
207 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
78 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
70 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
99 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
73 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
41 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
69 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
218 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 ...
7
votes
2answers
249 views

Align equations with conditions

I am using the following equation with boundary conditions, I would like to position the equation centrally aligned and would like to keep the boundary condition to the right. But the equation is a ...
5
votes
2answers
72 views

removing space after first hline of tabular

How can I either remove the space after the first hline of the right tabular (the second tabular in the following code) or if that is not possible, what kind of value do I have to pass to the ...
3
votes
3answers
139 views

Fit equations as same size of the text fonts

An inline equation is written with the sentence appears, It can be noticed the line spacing has been locally increased for that particular sentence containing the variable E. How to shrink the ...
4
votes
1answer
49 views

Altering vertical space between lines of one breqn (dmath) equation

The breqn documentation says that It also makes it possible to specify different vertical space values for the space between lines of a long, broken equation and the space between separate ...
4
votes
2answers
102 views

Variable column spacing in a table

I have a relatively complex table with quite a few sub headings. I am trying to adjust the column spacing so that the separate "groups" are more visible. Here is a bit of my current table: ...
5
votes
4answers
116 views

Multiple alignment points in equations and no curly brackets for correcting spacing

Consider the following example: \documentclass{article} \usepackage{amsmath} \usepackage{siunitx} \begin{document} \begin{alignat*}{5} &\text{Honning:}\qquad ...
5
votes
2answers
311 views

Unit spacing with siunitx in an equation

I'm just starting to get to grips with the siunitx package, but I've noticed that there seems to be some issues with regards to unit notation spacing in an equation. With siunitx it is possible to ...
5
votes
2answers
125 views

Removing gap above “Chapter X” introduces problems with the text formatting

I am trying to get the page layout of my thesis sorted out. I am using fancyhdr to give me the page number in the top right and chapter name in the top left with a horizontal rule under, and sectsty ...
4
votes
1answer
133 views

Decrease horizontal space in moderncv's cvdoubleitem

When labels are too small, the \cvdoubleitem macro in moderncv creates way too much space between the first description and the second label: \documentclass[11pt,a4paper]{moderncv} ...
4
votes
1answer
243 views

Moderncv: Extra vertical space after cvitem

Extra vertical space is produced after \cvitem and before the next \section. Is there a better way to fix this than to use \vspace*{-6mm}? The problem is shown below, between the "Skills" and ...
4
votes
1answer
75 views

Too much space below figures [duplicate]

I am trying to use graphicx package to include figures. However it seems to leave too much space between the figure and caption. My LaTeX lines are \begin{center} ...
2
votes
1answer
114 views

How to increase space between two columns in moderncv

I was able to increase width of the column but I want to increase the space between \cventry that is date and the contents.
5
votes
3answers
126 views

Proper vertical spacing and pagebreaks in custom environment

I would like to design a simple environment which displays examples. This is what I got so far: \documentclass{article} \usepackage{xcolor} \usepackage{parskip} \usepackage{lipsum} \makeatletter ...
2
votes
1answer
113 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
95 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
73 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. ...
9
votes
2answers
118 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 ...
3
votes
0answers
62 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
334 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
99 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
67 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} ...
11
votes
0answers
96 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
79 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
137 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 ...
1
vote
1answer
119 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
93 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
82 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 ...