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

Spacing Discrepancy

I'm trying to create a precise spacing in a document, but am having issues. Despite the fact that I've requested an indent of 1.2cm, the two lines do not line up properly, as expected. What am I doing ...
2
votes
1answer
123 views

How to add space in math mode after a line break

I want to be able to add some space at the beginning of a new line - in math mode. What I have now is this: What I'm aiming for is this: I tried \hspace but it seems to be ignored when there's ...
1
vote
1answer
314 views

Adding space in ToC between the part number and part title

I am running into some formatting trouble with memoir and the \part commands. In the table of contents, as the number of parts add up, the space between the part number, i.e. "III" and the part ...
5
votes
2answers
346 views

Spacing around longer function argument's parentheses

The line i(x,y,z,t) = \delta(x-\ell_x(z)) \delta(y-\ell_y(z)) \hat{\imath}(\xi(z),t) produces (for my eyes, at least) too little space between the successive function calls. It is difficult to ...
4
votes
1answer
215 views

Why doesn't adding space in a renewcommand work?

I was looking for a way to add some spacing after quantifiers and found the answer thanks to Best practice for typesetting quantifiers?. The following MWE works perfectly: \documentclass[]{article} \...
7
votes
1answer
254 views

Auto indent second line of text after “carriage return.”

I'm writing a how-to chapter for citing texts in various bibliographic formats. I need to define an environment where the second (and any subsequent) lines will be indented an arbitrary length. I can'...
5
votes
4answers
251 views

A command like `\hspace` calculating the distance from the beginning of the line

I would like to place several blocks of text in one line, but fixing their positions by distances from the beginning of the line. For example (1.2pt from beginning) cat (2.1pt from beginning) dog (2....
3
votes
2answers
190 views

How may I write 'and generally' and the second equation on one line?

Please note that the two equations ought to be aligned; the text and generally should be flush left, but the second equation should be centred. \documentclass{article} \usepackage{mathtools} \...
5
votes
1answer
124 views

What's the best way to typeset this space between table halves?

I've typeset the following table: As you can see, I've split the table horizontally because it makes the data fit better on a letter-sized sheet of paper. This way, the table can easily float at ...
1
vote
0answers
199 views

Spaces are not formatted correctly in url paths when using sphinx package and reStructuredText

I have a problem similar to the one in: Obey spaces with URL package (path command). The obeyspaces option is not working within the pgfplots table column. However, my problem is slightly different ...
4
votes
2answers
195 views

Controlling vertical space in displayed math mode

Apparently \hspace works inside displayed math mode to move formulas horizontally, but it seems that \vspace is ignored when I want to moved them vertically. I would like to control the vertical ...
2
votes
0answers
337 views

Controlling delimiters in matrices typeset with TiKZ

This question is directly related to Loop Space user's answer to question Broken matrix - gaps in brackets, in which an alternative TiKZ method to amsmath matrix typesetting is provided. The ...
3
votes
1answer
100 views

spacing from calculator package

I'm trying to include images and overlay them with their width and height info in mm. I save the image to a box and then use the calculator package to calculate the mm width and height of that box. ...
1
vote
0answers
19 views

Problem with spacing above some, but not all, “\paragraph” headers [duplicate]

I am writing a text using \paragraph, and I am completely baffled as to why the 1st paragraph has no space between it and the above text whereas the 2nd does! If I add one more paragraph after the 2nd,...
1
vote
0answers
61 views

Spacing between words in listings package and emphasizing identifiers

I have written some source code using listings package but is stretching out of the page. This package leaves huge spaces between the words, so is there a way to make them smaller? At least like the ...
4
votes
1answer
156 views

How to change the space between text in footnotes?

I have a little problem with the space between the margin of the page and the text in the footnotes when I use footnote in the title with \maketitle as an example \documentclass[12pt,twocolumn]{...
3
votes
1answer
253 views

Prevent “extreme” interword space stretch in multi-line title

The titles of my thesis are typeset in boxes where the text is justified, except for the last line, which is right aliged (from here): % Justify all lines in paragraph, except last line right ...
5
votes
2answers
266 views

Caption Formatting

How do I format the caption spacing: ![enter image description here][1] \begin{figure}[h] \centering \begin{minipage}{.5\textwidth} \centering \includegraphics[width=2in, height=2.5in] {JAR} ...
1
vote
2answers
130 views

How to add space before and after paragraph?

I have text in this structure (simplified): \paragraph{\textbf{\uv{Main question is.... ?}}} Main question is divided into three subquestions.... \paragraph{Sub question 1.} Sub question 1..... ...
2
votes
1answer
228 views

How to reduce vertical space between two line in IEEEeqnarray?

How can I lift the second line higher so that there is not a large space between the first line and the second line? \documentclass{article} \usepackage{amsmath} \usepackage{mathtools} % for \...
3
votes
1answer
102 views

Enter 2 by n matrix (permutation notation) as inline math without taking up much space [duplicate]

I need to use something that looks like a 2 by n matrix as inline math. How can I achieve this without it pushing the lines apart? Example: \left(\begin{array}{cccc} 1 & 2 & \dots & N \\...
0
votes
0answers
198 views

Trouble controlling vertical spacing for easylist

I am trying to get more control over the vertical spacing when using an easylist. The MWE code below, gives me the following output. Two questions: I'd like to reduce vertical spacing after each ...
2
votes
1answer
92 views

how to stop “\newpage” in \chapter

I'm using a memoir style. This one to be exact. \documentclass{memoir} \let\STARTCODE\relax \let\STOPCODE\relax \STARTCODE \usepackage{fourier} % or what ever \usepackage[scaled=.92]{helvet}%. ...
3
votes
2answers
386 views

How to redefine “\ ” (that is “<backslash> <space>”)?

In (La)TeX, is there a way to redefine the command \  (that is "<backslash> <space>")? I have lots of texts where \  is used as non-breakable space after "." characters like in ...
4
votes
1answer
197 views

Balancing out paragraph indentation after one- and two-digit paragraph numbers

I'm using a custom command and environment I found on this site for numbering paragraphs. I have my document set up the way I like it, except for the spacing after the number. I'd like to have the ...
4
votes
1answer
131 views

settowidth in substack

I am aware of Align in Substack, but I am trying another solution and would like to understand why it is not working: \documentclass{article}% \usepackage{amsmath}% \newlength{\mylength}% \newcommand{...
2
votes
1answer
149 views

Different behavior of setlength and settowidth

In this example, I would expect all "MMM" to be well-aligned to each other. But they aren't: \documentclass{article}% \usepackage{amsmath}% \newcommand{\before}{mmm}% \newcommand{\after}{MMM}% \...
3
votes
2answers
175 views

How to give some text an equation number

I want to be able to write the following in LaTeX We make the further assumption that \begin{equation} \label{eqn:assumption} There is a bounded linear operator $B:X\to X^*$ such that $B^*=B$...
6
votes
2answers
207 views

New command adding extra space

I'm having a problem with a command with empty output adding an extra space. I have a large document that needed a number of corrections. To highlight the text added and removed for easier review, I ...
6
votes
1answer
16k views

how to typeset empty inner product

I want to typeset the following in TeX (without the arguments). < , > I know that I can accomplish this by doing \langle , \rangle As an example I want to write something like the follwing: ...
3
votes
2answers
119 views

Fix the footnote separation with bigfoot

I am using the bigfoot package for the footnotes of a critical edition in the verse environment. I have defined two different footnotes (A and B). What I need is to fix the separation between them, i....
3
votes
1answer
363 views

Problem with vertical spacing of equations in itemize after the first \item

I found one similar thread here (Removing strange vertical space after first (customized) \item), but I still could not resolve my problem. Please help. Description of the problem: I used beamer ...
2
votes
2answers
395 views

How may I reduce horizontal space between the two equations of the following?

The spacing is too much; I want some space between the equations, but not as much space as of the following. I would appreciate if someone could provide me with a coherent answer. \documentclass[...
1
vote
2answers
73 views

Disable indentation within a section [closed]

I want the text inside a \section{} tag to be unindented, how do I accomplish this? I have tried \noindent and \parindent0pt{text} and neither one seems to affect the text inside a section.
5
votes
1answer
126 views

vspace gets extremely large

I'm just writing my bachelor thesis and i got into some problems with vspace. To seperate definitions, theorems and so on, from the rest of the text i defined the following environment: \...
2
votes
1answer
349 views

LyX: put space between first and second columns of table

When inserting a table in LyX, there's a space between the first and second rows, which I can get rid of by selecting the first row and turning off "bottom line", or selecting the second row and ...
4
votes
1answer
139 views

Smashed strut in tabu environment causes too much extra vertical space

Problem I have a tabu table where the text in one column is larger than the text in the rest of the table. To avoid the text to come to close to the top rule I insert a strut (where the bottom has ...
3
votes
1answer
109 views

Beamer: TOC in block

For stylistic reasons (I have everything in blocks), I'd like to have my TOC in a block too, but without having to typset it manually for all sections. I was surprised that the standard tikz TOC ...
2
votes
1answer
299 views

Controlling vertical space in embedded tabu environment

When using embedded tabu environments I have difficulties having different vertical space in the outer and inner tables. Consider these simple embedded tabu tables: \documentclass[a4paper]{article} \...
2
votes
1answer
287 views

\vfill to make even space in double column tabular

I have a long, thin table with titled sections. It didn't fit on one page so I split it in two parts of roughly equal length and but these in a another tabular environment. I am happy with the design ...
3
votes
1answer
916 views

Blank space between paragraphs

I am trying to learn how to use Texmaker (just for the record, I don't know a single thing about programming or Latex) and I am having some difficulty to create space between paragraphs or between ...
3
votes
1answer
119 views

Custumize TOC only for the appendix part

I am currently writing in article class and I would like to do something really specific in my toc. Currently it looks like this: I got the phrase "Appendices" in there by using \...
11
votes
1answer
357 views

How to get information about remaining free space?

following scenario: I want to automatically generate a newsletter with some small articles, which is working fine. (I am generating LaTeX-code with data from a small database). But now I want to ...
4
votes
1answer
248 views

Print immediately before first word of paragraph, without altering its first line indentation?

Although my case can be generalised, perhaps it would be clearer if I describe a specific example. I need to print a digit as a subscript, immediately to the left of the first line of each paragraph, ...
3
votes
1answer
185 views

Reduce spacing between the top and chapter title

I'm using this template - http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/ThesisStyle1.1/ I'm trying to change the space between the chapter title and the top of the page. I want to reduce it a ...
4
votes
1answer
62 views

Why is the space underneath my theorems not showing up?

I styled my amsthm theorems with mdframed. I tried to add some space before and underneath my theorems with skipabove and skipbelow as stated here on page 6. \documentclass{article} \usepackage{...
0
votes
1answer
726 views

Spacing in entrylist moves the adjacent block

Small question here. I'm using a template which I'm not to familiar with, and kind of newbie to. So the part of the code I'm having trouble with \begin{entrylist} \entry {RELAP \\ SIMPLER \\ XX ...
4
votes
1answer
105 views

Spacing/Kerning of footnotes before and after punctation

I would like to change the space/kerning between footnotes and punctations. Please see my MWE for explanation. MWE: \documentclass [] {scrbook} \begin{document} \setcounter{footnote}{70} A sentence ...
2
votes
1answer
513 views

Controlling the spaces between paragraphs

In the IEEE latex package, I see that the paragraph spacing is set to zero (.cls file) % Controls the spacing between paragraphs in lists. % IEEE does not increase spacing before or after paragraphs ...
4
votes
1answer
805 views

Wrong (too much) vertical space above \vdots in small matrix

If one uses \vdots in a smallmatrix-environment the vertical spacing above the dots is too large. It is the same spacing as in a normally sized matrix-environment. Minimal working example: \...