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

Decrease spacing before chapter title in mwrep class

I thought it will be a piece of cake - I started with titlesec, but it ended up with: Non standard sectioning command detected(titlesec) Using default spacing and no format. Then I started ...
1
vote
1answer
31 views

Stopping a line break in list

I am writing a memo style document for my job that has to be formatted in a very specific manner, often without regard to good typesetting practices. I am relatively new to Latex, so I am having some ...
4
votes
1answer
124 views

Mysterious Vertical Space After Theorem/Proof Environments

I have defined my own theorem style to have 0pt above and 0pt below. For simplicity I have also set all other relevant spacings to 0pt. However, when I use a theorem or proof environment I get some ...
1
vote
1answer
43 views

How to fix the spaces of superscript text

I'm trying to typeset an old bible which has all the verses superscripted. I created a command that produces a superscript number corresponding to the verse number, and then this is increased by one. ...
1
vote
1answer
45 views

Removing white space beside images

I'm trying to display a bunch of images side by side. Originally I wanted them on the same line, but I got them to fit by putting 2 on the next line. I'd like to make the pictures bigger but the white ...
2
votes
1answer
91 views

How to remove vertical space before list in table cell?

I want to get very compact lists in table cells, but there is still a vertical space before the first list item (see screenshot below). How can I remove this vertical space? LaTeX code for example ...
0
votes
1answer
82 views

Change font spacing and size of bibunits \putbib

In the following example I would like to force my references section to be typeset in a smaller font with single (more condensed) spacing. My commands (a spacing environment call and a font small ...
1
vote
3answers
39 views

Additional space in p-type column swallowed by other cell

I want to add extra vertical space after table rows on a row per row basis. Consider the following MWE: \documentclass{article} \begin{document} \begin{tabular}{p{3cm}p{5cm}} Here... ...
0
votes
0answers
29 views

Chapter topmargin suddenly broken?

I just transfered a latex project to my new laptop and started compiling...everything is fine except the topmargin of chapters, it seems to be zero? I tried to change it with: ...
1
vote
1answer
45 views

Why are the skip lengths ignored in align?

I created a new command \mathloose that stretches the spacing in an equation by suitably adjusting \thinmuskip \medmuskip and \thickmuskip lengths. The command works just fine in \[ \] and \( \) but ...
3
votes
2answers
58 views

Adding horizontal labeled horizontal arrows in multicol environment

I have attached a picture of what I am attempting to create. The issue is, when trying to do this in Latex, I am messing up my spacing. I want to add a bold black arrow between the top two tables and ...
3
votes
1answer
44 views

Should \mathrm work in \gather* environment?

I am trying to use \mathrm in gather* environment, but the result is text without any spaces. How can I correct that, please? \documentclass{article} \usepackage{amsmath} \begin{document} ...
3
votes
3answers
145 views

How to add extra space inside of a table

I wrote a simple table with this commands: \begin{table}[h] \centering \begin{tabular}{| c | c |} \hline\hline \multicolumn{1}{ |c| }{Parametro} & \multicolumn{1}{ c| }{Espressione} \\ \hline ...
1
vote
1answer
45 views

First word hyphenation in parbox with strut

I've a problem with parbox spacing in combination with hyphenation. What I like to achieve is setting parboxes in a tabular-like way as key value pairs. So I have two parboxes with a given width per ...
9
votes
3answers
317 views

One single colored letter inside \spacedallcaps

I want to change the color of a single letter inside a custom \spacedallcaps command. This command makes the specified text uppercase and changes the letter spacing. When I introduce a ...
5
votes
2answers
99 views

Trouble with spacing between section title and equations

I am trying to create a formula sheet so I only have section titles and equations in my documents. I am having trouble with the spacing between my section header and the equations that I want as the ...
2
votes
1answer
92 views

Remove horizontal space from align and equation globally

I want to cram as many equations that I can in align environment. I was able to set the margins to zero and remove the space before and after the equations. Se below example code. However, currently ...
8
votes
2answers
143 views

Problem with subcaption spacing

When using the subcaption package to place tables1 side-by-side, the spacing between a table and its subtable caption is too small if the table caption is placed above the tables and the subtable ...
1
vote
0answers
12 views

two column style, text crossing middle [duplicate]

In my paper I wish to go for a two column style to "save pages" (there is an artificial limit of 8 pages, yet even by the prof said silliness of "prepared to wear glasses as long as it looks good"). ...
9
votes
1answer
213 views

\, does not work outside math mode in plain TeX

I read in several answers here that in LaTeX, \, works just like \thinspace outside math mode. However, that is not the case for plain TeX. $ printf '%s\n' 'a\,b\bye' > example.tex $ pdftex ...
3
votes
1answer
61 views

having trouble with indenting in an enumerate environment

This is my first time using tex to format an assignment, and I am having immense trouble making this work. \documentclass[12pt,a4paper,sans]{article} \usepackage[utf8]{inputenc} ...
2
votes
1answer
88 views

Creating figure with multiple images

how to create a figure of ( 4 x 4 ) images ? how can I manage the spaces between raws and colomns?
4
votes
1answer
45 views

How to Specify the space left of a table?

In my project I am using the xtab package. \usepackage{xtab} \begin{document} \def\hsa{\hspace{0.03in}} \def\hsb{\hspace{0.05in}} \def\hsc{\hspace{1.01in}} \def\hsd{\hspace{0in}} ...
4
votes
1answer
168 views

Spacing between paragraph of text and itemize list

My code from TeXworks below outputs a paragraph of text followed by an itemize list followed by another paragraph of text. Each paragraph is double-spaced, and the spacing within the text of each ...
1
vote
1answer
43 views

Spacing betwen centered text and prose

I have some left-aligned text followed by some centered text followed by a section of left-aligned prose. How do I make the space between the line of left-aligned text and the centered text (and then ...
1
vote
1answer
39 views

Adjust line spacing after new line

I would like to adjust the line spacing under a section when I add a new line. \setlength{\parskip}{} does not work because it only changes the spaces between sections, not between newlines (\\). ...
1
vote
2answers
97 views

Space between footnote marks and the text of the footnotes

I am new with LaTex and I would like to be able to reproduce the format I usually use for the footnotes (with MS Word or OpenOffice) in LaTeX. My footnotes look like in the following example: To ...
3
votes
3answers
106 views

Equation spacing and aligning

Can anyone help me to properly align my formula in my equation-environment. I do not manage to make a space between them, to align them that the colons are over each other, and that the smaller ...
7
votes
2answers
206 views

Artificially improving default TeX algo results for balancing interword spacing

I'm trying to build rectangular paragraphs. That is, paragraphs which are both left as well as right aligned. For large paragraphs I can tell TeX I'd like a rectangular end result. Consider the below ...
2
votes
1answer
83 views

Is there any way to have more than one word in the label in LyX?

In LyX, when I use "labeling" under "Lists", the first word I type is turned into a label followed by a large space. Is there any way to have more than one word as the label. LyX isn't allowing me to ...
5
votes
1answer
113 views

Text in Tikz node not respecting baselineskip

I'm trying to include a few lines of text in a Tikz drawing, using a custom font size. However, when defining a font size, the baselineskip is only respected for the first line. See the minimal ...
2
votes
1answer
60 views

Beginner: Problem with formatting

\documentclass{article} \begin{document} 1.The sequence \{a_n\} verconges to a if for all \epsilon > 0 \end{document}^ Output: 1.The sequence {a n }vercongestoaifforall? > 0 I don't know ...
3
votes
1answer
115 views

Spacing between multiple choice question in examdesign documentclass

Is there a way to control the spacing between multiple choice questions using the examdesign documentclass? So far I've only been able to do it by manually adding space after the last alternative, but ...
5
votes
2answers
76 views

Extra space after self-defined environment [duplicate]

I defined a new environment eq to simplify the equation, \newenvironment{eq}{\begin{equation}}{\end{equation} It works, but it seems that there is a extra space at the end of the environment, which ...
2
votes
1answer
77 views

White space between upper and lower subfigure

I am working on a paper right now. In this paper I have some figures, I am using subfigures for creating a page with two figures beside each other and one (bigger) figure beneath it. It is all clear ...
5
votes
2answers
118 views

Making bibliography \flushbottom in book class

I am using the book class and have a long bibliography (using Biblatex) at the end of each chapter. When there is a long reference around where a page break occurs, the whole reference shifts to the ...
5
votes
1answer
192 views

Vertical spacing between parboxes

I'm using \parbox for creating a flexible table-like structure of paragraphs as in the following minimal working example: \documentclass[a4paper]{scrartcl} \usepackage{polyglossia} % ...
3
votes
1answer
74 views

Spacing of text within a table cell

I am inserting the following text inside the cell of a table \documentclass[a4paper]{book} \usepackage[latin1]{inputenc} \usepackage[pdftex, final]{graphicx} \usepackage[francais]{babel} ...
2
votes
2answers
68 views

new command definition brings extra space

Sorry for my original example code can not relect exactly what I mean. I have made a new one. I am trying to define a new command, but it seems some unwanted extra spaces are generated together. ...
1
vote
1answer
44 views

Custom spacing in aligned environment

How can I add an arbitrary horizontal spacing in an aligned environment? \hspace{} and \qquad don't work. \usepackage[utf8]{inputenc} %\usepackage[latin1]{inputenc} %Zeichencodierung ...
4
votes
1answer
307 views

How Can I Find the Length of a Space in TeX?

I have implemented the horrific document \documentclass{article} \newcommand{\testspace}[1]{\hspace*{\fill}\(\vert\)\hspace*{\fill}\\ \null\space\(\vert\)\hspace*{3.3pt ...
6
votes
1answer
105 views

Command to fill paragraph with repeated text (alignment/spacing problem)

I am trying to define a command \todopar[dummy]{msg} that fills a paragraph with dummy repeated a number of times and msg typeset centered in the paragraph. The end result should look like this ...
6
votes
2answers
148 views

gb4e: vertical alignment when using brackets

\documentclass{article} \usepackage{gb4e} \begin{document} \begin{exe} \ex \gll m-itoetra \lb{PP, ADJC}amin' ilay trano mena] izahay. \\ \textsc{pres-}live \qquad \qquad in that house ...
5
votes
1answer
117 views

Why does \noindent have such an effect on \rlap and \llap.?

Without \noindent, \rlap and \llap seem to move down by \baselineskip every time. Is this deliberate? \documentclass{article} \usepackage{xcolor} \begin{document} \color{red} ...
2
votes
1answer
45 views

How to right-align text in a grammar environment?

Using the grammar environment of the syntax package, I cannot find a way to right-align text in my syntax definition: \documentclass{article} \usepackage{syntax} \begin{document} \begin{grammar} ...
0
votes
0answers
37 views

Problem with \begin{align} [duplicate]

I am using \begin{align} in my paper. Hence unwanted gaps are being created to accomodate the whole \begin{align} content in one page. how to prevent it ?
1
vote
1answer
77 views

Positioning and spacing of tables

I'm new to LaTeX and I already know that my question seems too stupid. Actually I'm writing a text as follows: The exact dimensions of the system are listed in Table……\\ \begin{tabular}{|c|c|} ...
0
votes
0answers
46 views

LaTeX preproceessor

My document is generated from a large sum of data out of a database. The data consists of figures and captions. To generate each page properly I would need to know the height of each figure and ...
4
votes
2answers
66 views

Why does cite influence the spacing after colons in the IEEEtran \markboth header?

Update: This has been solved in cite v5.5. I noticed that loading (or not) the cite package changes the spacing after colons in \markboth headings of IEEEtran \documentclass{IEEEtran} ...
2
votes
1answer
34 views

Uniform spacing around headings with special case of `\usepackage{enumitem}’ and `\baselineskip`

This question is a follow-up question to my question here. @karlkoeller's answer fully answered my question. However in my document I have some places where the itemized list is placed directly after ...