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

0
votes
1answer
47 views

word spacing in fraction [duplicate]

I want to have 2 separate words in a fraction (numerator & denominator), however, LaTeX would keep them together with no space. I'm using the amsmath package. And this is the line of the code: \...
1
vote
0answers
22 views

Latex, moving specific parts of texts to column / forcing not to skip to new page

probably a stupid question, but something I haven't really been able to find a solution to. I've been working on a project and I can't seem to be able to get it to display how I want. Is there any way ...
2
votes
1answer
54 views

Spacing: Align vs. Equation

Can anybody explain where the extra spacing comes from when using an align instead of a equation? And does anybody know how to remove it? \documentclass{article} \usepackage{amsmath} \usepackage{...
0
votes
1answer
38 views

Distinguish \columnsep for twocolumn and wrapfigure

As far as I understand, the length \columnsep is used both for the gap between columns in a twocolumn document and for the space around a wrapfigure. How can I change the space between columns, but ...
6
votes
1answer
49 views

Keep babel's automatic spacing in \newcommand

In French, there's a narrow non-breaking space before ":". These are automatically added by the babel package, of course. However, I noticed something strange: the following macro \newcommand{\abc}{...
0
votes
1answer
91 views

Modifying spacing in the list of figures

I am having difficulties with some line spacing in my list of figures. I am writing a thesis and the requirements for the list of figures table is to have double spacing between entries. If an entry ...
0
votes
0answers
22 views

Squeezing inter-paragraph space with the ACM proceedings document class

I'm using the ACM proceedings SP document class for a conference submission. I'm noticing that the inter-paragraphs vertical space is quite large (I don't mean \paragraph's, just paragraphs). Now, in ...
2
votes
1answer
60 views

How do I get a space or line break between paragraphs rather than an indent? Parskip is not working [closed]

So when I first started out with my file I had gaps between paragraphs and no indent, as I was using the parskip package as listed below in my pre amble. At some point for a reason unbeknown to me ...
3
votes
1answer
34 views

Tabular row spacing

first my code for creating the table: \documentclass{report} \usepackage{booktabs} \usepackage{multirow} \begin{document} \begin{table}[!ht] \begin{tabular}{lccc} \textbf{Cases} & \textbf{...
2
votes
1answer
38 views

Aligning at top- Minipage

I referred the previous questions on aligning at the top when using a minipage. However, still could not solve the problem. I am guessing that there is some other problem in my code. The reduced ...
0
votes
0answers
25 views

Double spacing, not in titles [duplicate]

I aim to write paragraphs with double spaces lines, so I decided to use the setspace package : \usepackage{setspace} \doublespacing But the result is that even in titles, figures, nearly ...
0
votes
0answers
20 views

How do I insert a space that is the same width as another element (e.g. a minus sign?) [duplicate]

I have a rotational transform equation that I want to typeset $$\begin{bmatrix}x_d \cr x_q\end{bmatrix} = \begin{bmatrix}+\cos \theta_e & \sin \theta_e \cr -\sin \theta_e & \...
7
votes
0answers
81 views

Why equation Recognizes section Above While aligned Does Not

I am placing equations either right after section headings, right before them or both. I know that this is not advised, but I do believe in my context it looks better. One interesting thing I noticed ...
1
vote
0answers
37 views

Count Characters without Spaces [duplicate]

I'm writing my BSc thesis right now in LaTeX using texmaker. The maximum amount of characters (without spaces) for the thesis is 70'000. Is there a decent way to count this? Copy-pasting it into Word ...
2
votes
1answer
65 views

Single spacing in todonotes with Elsarticle Class

I would like to know how I can use single spacing (\singlespacing) in todonotes, considering Elsarticle Class, because I always get an error message about paragraph? Following a minimal example: %!...
2
votes
1answer
47 views

Tabular with prescribed width and options

My purpose is to reproduce this document : I want to create a tabular, but I want the first column to be, for example, of 6 centimeters in width. Other point : sometimes I need a lot of room in a ...
2
votes
2answers
103 views

Making a text box replace a \vspace

I have an enumerate list that has it's items separated by a \vspace {1 in}. Each \item is a question that needs to be answered within that space, and, I want to create a "possible answers sheet", ...
3
votes
1answer
79 views

How to get uniform spacing between paragraphs across several pages?

I am using \flushbottom to get pages of equal height. When I now insert a tcolorbox which is set to be unbreakable such that a page break becomes necessary, only the spaces between paragraphs on the ...
1
vote
1answer
62 views

Unsatisfying visualization - Tick labels touching each other

On the bottom right part of the added picture you see that the x and y tick labels are almost touching each other. Which isn't really beautiful in my opinion. Are there any good solutions of this ...
2
votes
1answer
31 views

Why does combining arrays and \left/\right cause alignment?

The following MWE is rendered as shown below: \documentclass{article} \begin{document} \begin{array}[t]{@{}l@{}} \left[\int abc\right]\\ \left[abc\right] \end{array} \end{document} Why aren'...
1
vote
0answers
25 views

Space ending at a pre-set position

I will start by saying that defining the problem I would like to solve is not really easy...I guess it could be called 'Tabular without tabular environment' but the best description is IMHO the ...
8
votes
2answers
340 views

Inconsistent superscript placement in $q_x^{n_x} q_y^{n_y}$

As part of a document, I am typesetting the objects q_x^{n_x} and q_y^{n_y} right next to each other, as \frac{ q_x^{n_x} q_y^{n_y} }{2} It bugs me that the n_y gets displayed at a different ...
2
votes
1answer
33 views

Wrap part title in part's page with titleformat

I am using titleformat to make some adjustments in the part's page and I want to wrap the title in half, to be centered as a text, but on the right side of the page. Any ideas? This is my code \...
2
votes
1answer
47 views

Skip after the label of inline description environment

I'd like to turn a paragraph containing several “subparagraps” into an equivalent inline list. See the following code. \documentclass{article} \usepackage{amsthm} \usepackage{enumitem} % \usepackage{...
0
votes
1answer
41 views

Remove white space before a single chapter

I've searched this sites for similar questions, but can only find answers that remove the space for every chapter, whereas I only want it removed in one chapter. The MWE is quite minimal :) \...
3
votes
2answers
61 views

Encode into an `enumerate` environment (Version 2)

From the following code, a selection from a multiple-choice test is rendered. The four problems should be enumerated as 1.), 9.), 16.), and 25.). How do I do that with an enumerate environment? I ...
1
vote
1answer
57 views

Custom spacing of figure

I'd like to custom place a figure beside some text. I tried two approaches. First, I placed the text with tabbings in one minipage and the figure in a second minipage...and both minipages into a ...
5
votes
2answers
110 views

Create a blank space the same size as text, equations etc

I would like to create a space in my document the same size (height and width) of a certain set of text. (For context, it will compile the TEXT when I want solutions and SPACE when I only want the ...
14
votes
3answers
976 views

How to create these nice operators?

I'm trying to typeset a paper in Haskell, and I want to typeset these operators: I'm talking about <*>, <$> and <$. I've seen these before in articles about Haskell. Is there a ...
2
votes
1answer
178 views

Different positions of headers and footers in different pages

I could not figured out why I'm getting different positions of headers and footers in different pages (please see MWE below). Any help in this regard will be highly appreciated. Thanks \documentclass[...
2
votes
2answers
28 views

text in align-environment

Is there a way to coordinate the space here? \documentclass[a4paper, 12pt, oneside, titlepage]{scrbook} \usepackage{amsmath} \usepackage{amssymb} \usepackage{colortbl} \begin{document} \begin{...
3
votes
1answer
70 views

Justify text when using a tabular environment

I'm using \documentclass[10pt,twocolumn]{article} \usepackage{hhline} \usepackage[left=1cm,right=1cm,top=1cm,bottom=2cm]{geometry} \addtolength{\columnsep}{0.4cm} \addtolength{\textwidth}{\...
2
votes
1answer
62 views

Specific chapter page formatting

I bought a recent math book, and it was clearly made using TeX. Here's an example from the chapter page: I wanted to reproduce this chapter style for other texts I'm working on (same fonts, sizes, ...
0
votes
0answers
28 views

Italic correction after a reference

It seems that italic correction doesn't work after a \ref. I wanted to name a variant of a theorem with a prime, and this causes a problem if there's a reference in italic mode. Here's a simple ...
1
vote
2answers
68 views

Too much white space above png figure after latex-dvi-pdf compilation

I have searched the other question here extensively as the problem of spacing seems to re-occur often, but still have not found the solution to my specific problem: I have way to much white space ...
5
votes
2answers
125 views

Inter-sentence space without a period?

How can I insert an inter-sentence space without using a period? I can easily get an inter-word space via \␣ (backslash followed by a space), or ~ if I don't want line breaking. Is there something ...
6
votes
1answer
76 views

How to automatically remove additional space introduced by primes of left superscripts?

I need to use left superscripts. I know that there are packages as mathtools, tensor and leftidx. But they all suffer from the same typographical problem. If I typeset a left superscript and this ...
4
votes
1answer
138 views

Highlight Text with Background Color

I try to highlight text with \texttt font and background color (somehow like the highlighting on StackExchange: this). I tried with a colorbox, but the problem is that it doesn't support line breaks, ...
0
votes
1answer
35 views

Non-breakable space in chapter name

How could I move last word in following example to the next row without making \newline (which will also effect ToC)? I need non-breakable space, however ~ doesn't work here at all. Thank you. \...
1
vote
1answer
52 views

To insert a blank space between two paragraphs, should I use medskip and vphantom?

There are at least 2 ways to insert a vertical white space between two paragraphs: medskip and vphantom. Which one should be preferred for example for spacing paragraphs in "The Chaos" poem?
1
vote
1answer
28 views

Move two captions to the top and to the left respectively

I have two captions in the following table: \begin{table}[!htbp] \caption{Stuff Stuff Stufff.} \begin{tabular}{l |l l| l} \hline & aaaaaaa & aaaaaaa & aaaaaaaa \\ \hline bbbbbbb & ...
0
votes
1answer
28 views

Enumitem Vertical Spaces: Control top and bottom vertical spaces seperately

I am trying to customize the vertical spacing in description environment. A global setting such as: \setlist[description]{% topsep=10pt } adjusts the vertical spacing both “before” and “after” ...
0
votes
0answers
26 views

Avoid the insertion of spaces when using newlines in latex source code

I have a problem with some Latex code that I need to write. In this code, I am putting elements into a table using a macro. This Macro also does some magic with the content it is inserting into the ...
2
votes
1answer
59 views

add a space in \addcontentsline command for list of equations

This is a follow-up question to Creating List of Equations. I think the spacing issue happened when the equation number is greater than 9 (shown in the image). I tried to add a space with \vspace and ...
0
votes
0answers
39 views

How to avoid vertical space between header and paragraph

How to avoid the space between the text continuous from previous paragraph and header? I have shown the picture of my document. please help on this issue... The image shows the unnecessary space by ...
1
vote
2answers
46 views

Force text between part and chapter to be on the next page after the part title

I have not found a better title sorry. I have a document (book class) in which I have something like : \part{MyPart} The brief introduction of my part, where I present the three chapters I will ...
2
votes
1answer
47 views

Row spacing ignored between nested tabulars

In a tabular environment, \\[<spacing>] does not always insert the requested spacing between rows containing themselves tabulars. For instance, the two horizontal lines should not be aligned ...
1
vote
1answer
40 views

Extra inter-line spacing in a tabular environment (Version 2)

I have a table that is typeset using a tabular environment. (I want to keep it in a tabular environment.) The inter-line spacing in each table is determined by \\[1.2\normalbaselineskip]. What ...
7
votes
1answer
498 views

How can I make a “really zero-height” box?

In my document I need to show some labels in draft mode. But they should have zero height and depth (the purpose is not to affect on resulting text: all exept labels should be the same in both draft ...
3
votes
4answers
238 views

Auto-indent the second line of a paragraph

When working with numbered lists with long content, I get outputs like this: However, I would like to produce an output like where "z" and "planes" are aligned with the word "Giving". Using ...