{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
16 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 ...
4
votes
2answers
37 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
35 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 ...
3
votes
1answer
30 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
175 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
45 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
29 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
37 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
50 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
32 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
25 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
57 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 ...
2
votes
3answers
87 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 ...
5
votes
2answers
114 views
+50

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 ...
0
votes
0answers
21 views

How do I increase the gap between a label (under list) and text that follows? Also, is there any way to have more than one word in the label?

In Lyx, when I use "labeling" under "Lists", the first word I type is turned into a label followed by a large space. How do I increase this space between the label and the content? Also, is there any ...
5
votes
1answer
42 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
56 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
26 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 ...
3
votes
2answers
42 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
51 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
82 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
65 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
46 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
55 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
29 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
279 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
59 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
61 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 ...
0
votes
0answers
42 views

Removing vertical space when at the top of a page [on hold]

I have vertical spaces inserted (due to a new paragraph after some commands). When the new page starts with this vertical space, I want to remove the space. How can I do this?
5
votes
1answer
80 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
35 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
45 views

Big gap after figures before text starts again

After I insert a figure (I'm using overleaf), there are several lines of white space before the next paragraph begins that I didn't insert. Is there a way to manually prevent/delete this white space?
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
58 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 ...
3
votes
2answers
25 views

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

I noticed that loading (or not) the cite package changes the spacing after colons in \markboth headings of IEEEtran \documentclass{IEEEtran} %\usepackage{cite} \begin{document} \markboth{: A}{} : A ...
2
votes
1answer
28 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
91 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
19 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
82 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
54 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
18 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
43 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
325 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: ...
3
votes
1answer
42 views

Improving readability of a big table (vertically-centering rows and using space)

This is the first time I make a table with chemistry formulae inside cells. I'm having trouble improving its readability. Questions How do I make all rows vertically centered? How do I remove ...
5
votes
3answers
100 views

I would like bigger parentheses in \pmod

I would like to say a congruence holds modulo a fairly large expression, THING, to be enclosed parenthetically. \left( \mod{THING}\right) seems to result in a large space between the open paren ...
2
votes
1answer
29 views

minipage 15.0pt too wide

Sometimes I have two (or more) figure environments which I want to layout on one page, and put a horizontal rule in the center. To acomplish this, I put a \vfill\hrule\vfill between the two ...
4
votes
1answer
30 views

List Parsing the ascii space character

I have been using the list parsing functionality from etoolbox and I have a weird use case in which I want a space separated list. \usepackage{etoolbox} ...
6
votes
2answers
230 views

How to create a bracket-ing √-Operator?

In formulas involving square roots, I consider the overline rather irritating and would like to create an operator that turns \sqrt{x} into √[x], i.e. the argument is bracket-delimited instead of the ...