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

4
votes
1answer
721 views

Remove empty line after subesction

I would like to redefine subsections so that there is no empty line afterwards, only a new line, e.g. Subsection name bla bla bla I have tried the \makeatletter \renewcommand{\subsection}{% ...
11
votes
2answers
866 views

Beamer: Strange spacing in references with biblatex apa-style

I stumbled upon these two spacing errors (marked with red numbers): I guess the first space is not really an error, but simply English spacing (\nonfrenchspacing). Can it be turned off (without ...
5
votes
1answer
2k views

Change vertical space between numbered formula in LyX

I have inserted serveral (20) Numbered formulas directly behind eachother in LyX 2.0.3. If I export these formulas to the final version in PDF, there is a large vertical space between the formulas. ...
3
votes
2answers
440 views

Equation Spacing in AMSART

I'm having some small amount of inconsistency with my equation spacing when using the amsart class. I have the following: Paragraph 1 text here. \begin{equation} F_n = F_{n - 1} + F_{n - 2} ...
1
vote
2answers
2k views

~\cite adds space between citation and text

I am trying to add citations to a technical report using ~\cite, so that the result would be text[1]. But instead I get text [1] with a space between the citation and the text. I am using ...
8
votes
2answers
1k views

Remove spaces after a custom definition

As scientific species names should be written in italic, I have adopted a shortcut to do this in LaTex by creating a definition in the preamble: \def\GM{{\it Gadus morhua~}} Then it's easy to call ...
5
votes
1answer
781 views

Swallowed space after \tnote

I'm using threeparttable to add table notes to a tabu tabular*. A common use case is to have a note at the end of a cell. If the note is however not added to a cell's last word, the following space is ...
7
votes
3answers
451 views

How to avoid unbreakable \pmb boxes when typesetting math?

I have a big problem called as a river problem. I'm using the report class defined as: \documentclass[11pt,notitlepage,a4paper,oneside]{report} \usepackage[english]{babel} ...
7
votes
2answers
310 views

Nested use of \xspace to not leave extra space

I have a feeling this is another of my questions that is going to be a "Duh!!" kind of answer, but I can't seem to figure out how to do this properly: I want to put a wrapper around a macro that uses ...
12
votes
2answers
654 views

Vain question about cdot kerning

I'm writing my first "real" paper in Latex, and one of my major pieces of notation involves item-wise multiplying the Nx1 vector \widehat{w} to the Nx1 vector \widehat{S}, and I've been using cdot to ...
5
votes
3answers
458 views

Parenthesis size and white space in equation with long subscripts

I'm writing an equation which contains a relatively long subscritps under a summation, which is just next to a bracket. The code is the following $$\mu_j=\E(X_j)=\E\left( \sum_{i\in ...
4
votes
1answer
151 views

How can I remove a vertical skip added by splittopskip?

The following example splits a box with the setting \splittopskip=2cm. Everything works as expected. However I want to remove the vertical skip add by \splittopskip=2cm some steps later. Is there an ...
2
votes
2answers
159 views

Reduce image vertical spacing with text elements

I'm doing a .cls file and I want to reduce the spacing between the image and the title, the document looks like the following image The code for this, looks like this. \begin{figure}[h] ...
7
votes
1answer
227 views

How can I force pairs of brackets [][] to be closer to each other in \texttt?

\documentclass{article} \begin{document} Normal margin here. Normal margin here. Normal margin here. Normal margin here. Normal margin here. Normal margin here. Normal margin here. Abcdefgh ...
52
votes
4answers
2k views

Why does \vspace, after section heading, sometimes jump/snap in discrete steps?

Well, this is one question that I've had for a long time, and one that always gets me extremely irritated. However, this time I'm even somewhat happy - that I can ask the question at all; and that is ...
3
votes
2answers
194 views

Adding white space under a letter or symbol [duplicate]

Possible Duplicate: Nice-looking p-th roots There is symbol overlap in $\sqrt[a_1]{x}$. Is there a way to increase the vertical position of $a_1$? \documentclass{article} \begin{document} ...
5
votes
1answer
1k views

Setting the upper margin of chapter titles in scrbook

In a scrbook document I need to set the chapter titles close to the upper page margin, without leading number and with a \hrule afterwards. Redefining \chapterheadstartvskip does the trick with the ...
4
votes
2answers
162 views

How to avoid long space when cross-reference name is empty?

When using cleveref one may want to use its macros for making all cross-references, even those where the cross-reference name is empty. The cross-reference name is the name that is appended to a ...
9
votes
3answers
11k views

Spaces between rows and cols in a table - Better ways than mine?

I started using Latex recently and I put together 4 ways of changing the space in a table. Two general ways defining the general space between cols and rows as well as two ways of adding space between ...
6
votes
2answers
980 views

Spacing between figures and texts

I'm having some issues dealing with figures. It happens that when I have a page with some text and then it comes a figure, with H property, who doesn't fits into the same page as the text, the text ...
3
votes
1answer
916 views

Vertical Spacing After Paragraph Heading

I can't manage to control vertical spacing after (and before) paragraph which I've customized. \paragraph{Çatışma} Birden fazla düşman birimin karşılıklı yok etme .... And here is what i used to ...
3
votes
1answer
1k views

Using fleqn option in a new LaTeX class

I am creating a new LaTeX class, necessarily the equations must be aligned to the left so I use the file fleqn.clo in the class code. The problem is that when using the equation environment the result ...
5
votes
1answer
533 views

\textbf has wider space than \bf with own command

How come the \textbf command results in a wider space between words, than the deprecated \bf when using this own command? \documentclass{article} \usepackage{hyperref} \begin{document} ...
0
votes
1answer
209 views

Annoying behaviour of \vspace [duplicate]

Possible Duplicate: Adding vertical space at the start of a page Basically I am making a title page and I want the title to be in the center of the text \documentclass[15pts]{article} ...
10
votes
2answers
7k views

How do I write $\sim$ approximately with the correct spacing?

I would like to use the symbol $\sim$ as "approximately". e.g: \documentclass{minimal} \begin{document} There are $\sim 10^{80}$ atoms in the universe. \end{document} I think that I need to declare ...
4
votes
1answer
199 views

How can I get spacing between paragraphs while also keeping the default indentations?

I'm using the report documentclass, and the paragraph formatting looks something like this with two paragraphs: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam ac odio est. Morbi vel ...
1
vote
1answer
2k views

Vertical space after Bibliography name

I am using Bibtex and need to change (smaller size) between bibliography name and authors names. The document class is report and I am using the natbib package. ...
26
votes
2answers
4k views

How to change default for spacing around binary relations?

In TeX and LaTeX, the math binary relations (like =, \parallel, <, \le ...) have a default (rubber-length) spacing to either side, which is too large for my liking. How can reduce it?
3
votes
1answer
351 views

Which spacing after a semicolon following acronym?

Similar to my previous question, I have a few sentences ending ACRONYM; word. chktex recommends I insert intersentence spacing (ACRONYM\@; word). I can't find a decent reference to explain why an ...
38
votes
1answer
3k views

When should I use intersentence spacing (`\@')?

I've got a sentence that ends on an acronym: blah blah WORD. Next sentence blah Running this through chktex, I'm informed that: Warning 13 in ./file.tex line 9: Intersentence spacing (`\@') ...
1
vote
1answer
327 views

Table/Matrix/Array with no space between cells and all same size

I have several graphics like objects(tikzpictures) I would like to put in a matrix like configuration. I've been using multicols but I can't seem to figure out how to set the cells to all be the same ...
2
votes
1answer
70 views

Table cannot locate itself properly inside the document

Sometimes, table cannot locate itself properly inside my document and I don't know how to fix this. Here is an example: The current page which the table cannot locate itself properly in looks like ...
1
vote
1answer
1k views

currvita - vertical distance between bullters

How to make smaller vertical distance between item bullets in one section only ? \documentclass[a4paper,10pt]{article} \usepackage[TextAligned,NoDate]{currvita} \usepackage{fullpage} \begin{document} ...
3
votes
3answers
1k views

How to distribute space equally for cells?

I have problems with a regression table in my thesis, as LaTeX does not assort cell space equal despite of having stated exact proportions in the code. Here is the relevant code for it: ...
43
votes
2answers
25k views

Vertical Spacing within align environment accounting for fractions

The default vertical spacing within an align environment seems very tight when there are fractions in the lines. I am aware of three manual tweaks that can be applied: Adjust the value \jot. ...
2
votes
1answer
1k views

Change the bottom and top margin of section and subsection

In my current document, section and subsection have too much bottom and top margin. How can I change that globally to be less? I use the document class as book.
4
votes
1answer
2k views

Controlling paragraph spacing in LyX

I'm working on a rather large document for my university using LyX. I have been using the report (KOMA-Script) document class. According to my university's document specification each paragraph ...
14
votes
4answers
4k views

Spacing between triple vertical lines

I would like to create a norm-like operator with 3 verticals bars instead of two. It has to look like $|||\cdot|||$. I would like to know how to decrease the spacing between the vertical bars such ...
3
votes
1answer
2k views

Columns spacing issue

I'm in the middle of a LaTeX battle with table attributes and so far I got to what you see above and the code I post below: \begin{center} \begin{table} \begin{tabular} ...
4
votes
1answer
798 views

How to add spaces between items in TOC

The mini-document \documentclass[12pt,openany,oneside]{book} \usepackage{titletoc} \usepackage{lipsum} \titlecontents{part}[3pc]{\addvspace{3pc}\filcenter} {\sffamily\bfseries PART ...
11
votes
4answers
911 views

How to make a document occupy more pages?

As opposed to this question: Squeezing scientific paper to fit within page limits, I would like to find as many ways to make a document become longer without adding any real text. The motivation for ...
8
votes
2answers
5k views

How do I write something at the end of the slide in beamer? [duplicate]

I have an image, I want to write its source in a very small font size on the last possible line of the slide, ignoring the available space after image \section{SCS} \subsection{SCS} \begin{frame} ...
0
votes
1answer
8k views

Underful hbox badness 10000

A while back I ran across a web page that explained how to avoid this error by not using \\ but hfill or hspace. I can't remember which one or find anything else about it. It was a very simple ...
11
votes
3answers
483 views

Environment that obeys spaces

I need to build one environment that obeys spaces, but not new lines, and also change tabulation into four spaces. I can't use verbatim because I would also like to use macros in my environment.
3
votes
2answers
434 views

biblatex backref – how to add spaces around the dash?

I am using biblatex with backref=true, which generates ranges as e.g. 34–37. How can I make it e.g. 34 – 37? The spaces should be non-breakable. I have tried to redefine \bibrangedash, but with no ...
1
vote
0answers
57 views

Spacing between number and title in List of Tables [duplicate]

Possible Duplicate: How to modify the indentation before sectioning titles in the table of contents? I need to add some space between the number of the table and the title of the table ...
20
votes
3answers
41k views

Reducing spacing after headings

I've searched many sites but I couldn't get any answer. Here is this mystical question: How can i reduce the spacing after headings? Here is my code. \documentclass[12pt,a4paper]{article} ...
3
votes
1answer
467 views

mdframed package + align gives extra vertical space

I think I may have stumbled upon a bug in the mdframed package. I have an mdframed environment with just one align environment inside it. Consider this minimum working example: ...
8
votes
1answer
1k views

Superscripts and bold math

I'm writing the transpose of a matrix that is denoted by a bold capital letter. This looks fine when the matrix is denoted by B, but when the matrix is denoted by A, the transpose superscript is too ...
5
votes
1answer
916 views

One more time: leading before and after block quotes

I'm trying to re-define the quote environment (triggered by csquote's \blockquote) to remove the entire (!) additional leading before and after the quote, to make sure the quotes stays in sync with ...