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

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
28 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
35 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
48 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
35 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
118 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
34 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
248 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
73 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
65 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
85 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
191 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
51 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
64 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
40 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
67 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
35 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
34 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
80 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
94 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 ...
6
votes
2answers
196 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
56 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
65 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
59 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 ...
2
votes
1answer
59 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 ...
4
votes
2answers
59 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
62 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
98 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 ...
4
votes
1answer
89 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
52 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
60 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
33 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
291 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
80 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
94 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
95 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
40 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
36 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
72 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
42 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
30 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 ...
2
votes
1answer
97 views

How do I do a blank slot in a functor

I want to TeX a blank in the input of a function, to mean that any input can go in there. Specifically, I want to have a tensor product symbol followed by a hyphen -. I have been typing $\otimes -$ ...
2
votes
1answer
38 views

vertical space between paragraphs and `topsep` in \usepackage{enumitem} cancel each other out

I'm using \setlength{\parskip}{\baselineskip} to insert vertical space between the paragraphs in my document. However this create a conflict with my list environments. To solve that I am using the ...
5
votes
1answer
93 views

Remove space in reference in “et al. ,”

I'm using Sharelatex to work on my thesis, and I want to use the natbib package and authordate3 style for my bibliography. For some reason, when referencing a bibliography entry with multiple authors, ...
3
votes
1answer
105 views

Horizontal spacing between subfloats using floatrow and subfig (with fr-subfig support)

I am trying to arrange two rows of sub-figures using subfig and floatrow. The captions are aligned as I wish and the vertical alignment of the objects is also fine. However, I cannot figure out how to ...
2
votes
1answer
20 views

Spacing and embedded calls to \DTLifnullorempty

It seems that embedding calls to \DTLifnullorempty inside one another leads to an extra space for each call to \DTLifnullorempty. Is there a way to prevent this behavior? In particular, I would like ...
2
votes
1answer
50 views

Cant justify text

Let's say we have following code: \documentclass[a4paper,14pt,final,draft]{extreport} \usepackage[left=3cm,top=2.0cm,right=1.5cm,bottom=2.7cm]{geometry} \usepackage{changepage} ...
5
votes
1answer
336 views

How to avoid “space” between each bullets

I am getting an empty row after each bullet and I am looking for a way to avoid an empty row between each line, or at least make the height of that space-row smaller. Here is what I do: ...