Tagged Questions

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

Completely hide bullet when using itemize

When using the following command \begin{itemize} \item[] foo \item[] bar \end{itemize} I guess the margins around the bullets are still visible, and thus my items seem to be indented. How can I ...
0
votes
0answers
28 views

\vspace next page

I'd just like to add some vertical padding between two bits of text and \vspace{Xcm} works fine for this; however, if the text is at the end of the page, \vspace{Xcm} does not carry onto the next ...
5
votes
2answers
49 views

Acro: Adjusting the spacing after \acl if the long form has italic shape

I am using the acro package to manage my acronyms. Some of the terms are set in italic. When using \acl, the spacing after the term does not get adjusted. Minimal example: ...
5
votes
2answers
36 views

How to add more space underneath and above a horizontal line in tabu?

I'm having the following table in my document: \documentclass[12pt]{article} \usepackage{tabu} \begin{document} \[ \begin{tabu} {c | c c c c c c} \firsthline f & a_{11} & ...
3
votes
1answer
181 views

Christmas List / Catalog

I'm fairly new to LaTeX, and I thought a fun project would be to create a Christmas list that looks like a shopping catalog. Something like this: How would I go about this? Any good templates or ...
3
votes
1answer
101 views

Why does not `\spaceskip` work inside a TikZ node?

In my document, I need to increase \spaceskip in order to inject more space between words to make them more readable. However, the setting does not seem to apply to text that's inside a TikZ node: ...
0
votes
1answer
39 views

Inconsistent “vertical” spacing occurring throughout whole document with disappearing QED symbol

I am typesetting class notes in TeXstudio for myself. Although I have typeset formulas before using LaTeX code, it's my first time putting a whole LaTeX document together, so I suppose some of the ...
0
votes
0answers
34 views

Remove space after figures

I used the below command in the latex. The problem is I have very annoying large spaces after and before figures. Any help? \begin{figure}[H] \belowcaptionskip = -20pt \begin{center} ...
6
votes
1answer
23 views

\pstSetAbsoluteOrigin Adds Space Before Section

As soon as I execute \pstSetAbsoluteOrigin a space is been added before the section. Is this normal, am I doing something wrong? I would expect the position of the first section no to be influenced ...
4
votes
1answer
92 views

How can I customise the amount of horizontal space that follows line numbers?

I'd like to increase the amount of horizontal space that after comes each line number in my algorithm (typeset with algpseudocode). Because algorithmicx in general, and algpseudocode in particular, ...
7
votes
2answers
173 views

Purpose of “control space”

I could not find enough information on Google about control space (\). What is the purpose of it? Where should it be used?
3
votes
2answers
45 views

Starting text a set distance from the margin

I want to break some lines in a document into 3 sections such that the first letter of each section is always directly below the other, slightly like a table, but I don't want to use the table ...
1
vote
1answer
33 views

How to edit `\makeletterclosing` to insert graphic of signature

I am using this popular formal letter template from Latextemplates.com. However, at the end it uses the command \makeletterclosing to print the closing message (something along the lines of "thank you ...
0
votes
0answers
19 views

A problem with small caps extending only a few words in a footnote

Since \sc command seems to make the whole line after it appear in small caps, I use the following tufte inspired command newthoguht to get around the problem: \providecommand\newthought[1]{% ...
5
votes
3answers
133 views

Fill space created by \phantom with other text

I am looking for a command I am pretty certain to have used before but which I cannot recall (and I did search for it): I want to create (horizontal) space of some length, e.g. created using ...
2
votes
1answer
38 views

Can't get two equations to align using eqnarray

I'm trying to align two equations using eqnarray. Sample: \documentclass{article} \begin{document} \subsubsection*{\begin{center}Variance equations\end{center}} \begin{eqnarray} \mu = ...
2
votes
0answers
25 views

Troublesome extra space in matrix with ConTeXt

I need to display a column vector in a table and, by doing it, an extra space occurs like an empty extra number. How can I fix this please ? \starttable[|r|l|] \NC $u=\startmatrix 1 \NR ...
0
votes
0answers
18 views

Change spacing above and below chapter [duplicate]

I have following document: \documentclass[final]{book} \usepackage{lipsum} \usepackage{titlesec} \titlespacing{\chapter}{0pt}{0pt}{0pt} \begin{document} \chapter*{Chapter One} \lipsum{1-5} ...
2
votes
2answers
63 views

Overline over a symbol with an index

For example, if I want to write a closure of a set, which is denoted A_1, should I use $\overline{A_1}$ or $\overline A_1$ (or something completely different)? For me, the more logical choice seems ...
4
votes
1answer
53 views

Is there a way to reduce the gap between double hlines (\hline\hline) in the tabular environment?

\documentclass{article} \begin{document} \begin{tabular}{c | c} cell 1,1 & cell 1,2\\ \hline\hline cell 2,1 & cell 2,2\\ \end{tabular} \end{document} I would like to reduce ...
2
votes
1answer
44 views

Underfull \hbox (badness 10000) in paragraph error

I have the following source code to display a information in a specific format: \newcommand{\headerrow}[2] { \begin{tabular*}{\linewidth}{l@{\extracolsep{\fill}}r} #1 & #2 ...
0
votes
0answers
22 views

Insert a breaking (not no-breaking) space after text provided through macro [duplicate]

Is there a way to force lualatex to insert a single space that is not no-breaking? Why I ask: In my documents I have to refer to certain standards, program names or other oddities quite regularly. ...
3
votes
1answer
46 views

Vertical space every third row in a table

I have the following code to put an extra space (a carriage return) after every second row. How can I edit the code to put the extra space after every third row instead? \documentclass[12pt]{article} ...
3
votes
0answers
80 views

How to reduce the gap at the begining of chapter 1?

\documentclass[a4paper,12pt]{mnnit} \usepackage{graphicx,times,epsfig,amsmath} \usepackage[Sonny]{myfancy} \usepackage{fancyhdr} \setcounter{secnumdepth}{5} \usepackage{float} \usepackage{subfig} ...
1
vote
2answers
69 views

Different horizontal (!) spacing of delimiters with `\left`, `\bigl`, `\Bigl`,

I use \arrowvert as a middle delimiter. For example in the definition of sets, i.e. \lbrace x \arrowvert x < a \rbrace. Moreover, I try to avoid \left, \right and \middle but use the AMSmath macros ...
4
votes
2answers
71 views

beamer, \vfill and itemize

I would like to place, in some frames, a texte, on the bottom right of a beamer slide. I have made a command which place this text by \vfill\hfill. In a normal class (as article), it works perfectly. ...
5
votes
1answer
33 views

longtable sometimes starts new page when we are near the top of the page

Most of the time longtable does exactly what is required, but sometimes it starts a new page when it is near the top of the page and there is plenty of space for the entire table on the current page. ...
2
votes
1answer
52 views

How do you center a statement and italicise it without making it a theorem?

I want to have a statement in my proof with an implication sign in it, I want it centred and italicised and I want it numbered. (1) How do you do this? \documentclass[a4paper,10pt]{article} ...
4
votes
4answers
128 views

Make uppercase letter have same width as number in math mode?

I want to have \[ \begin{array}{c} \phantom{+} \, 39A_{12} \\ \underline{+ \, 488_{12}} \\ \phantom{+} \, 866_{12} \end{array} \] but the spacing looks awkward with the "A". Is there a way to get ...
3
votes
1answer
62 views

ConTeXt: How to enforce spacing below a columnsetspan?

I'm using columnsets with floating columnsetspans, and I would like to enforce a small amount of vertical space below a columnsetspan and the following text, outside the frame. Here are some example ...
3
votes
1answer
111 views

LaTeX doesn't like my \hspace

Using TeXShop, I get complaints when LaTeXing the following code: \beq \mathrm{Cosmic\; ray\; } p + \mathrm{Nucleus} \longrightarrow \pi + \dots \eeq \vspace{-.30 cm} \hspace{6.05 cm} $ ...
4
votes
1answer
31 views

\vfil and \hfil don't push text to the ends of the box (in article class)

\documentclass{article} \usepackage{showframe} \begin{document} Top \vfil Bottom \end{document} This yields the following (header and footer excluded): From what I've read, \vfil (on its own) ...
2
votes
2answers
112 views

Is it possible to see the exact measurements LaTeX is working with?

This started from a specific question (see below), but now I'm wondering more generally: is there a way to view the exact measurements LaTeX is working with? That is: how much space is there in the ...
5
votes
2answers
166 views

When does blank space count?

I suppose this is too general of a question, but why does \underbar{word} give different answer from \underbar{ word} and then additional blanks do not count \underbar{ word}
2
votes
1answer
65 views

Kerning on the boundary between mathmode and textmode

Consider the following code: If $x ∈ X$, then $y ∈ Y$.. When it is rendered by TeX, the space between “X” and “,” and similary between “Y” and “.” seems to be too big. Is there any problem with ...
5
votes
2answers
115 views

Extra distance in tabular in LaTeX

I want to make a table in LaTeX and I wrote the following program: \documentclass[]{article} \usepackage{graphicx} \begin{document} \begin{tabular}{|c|c|c|c} \hline ‬ & $\gamma_n$ & ...
1
vote
1answer
28 views

Vfill after a table does not work

I have a table at the top and would like to place the title at the page mid - or place it with vspace. But it doesn't work. Here is my code and my problem is on line 17 (the vfill do nothing). ...
4
votes
1answer
48 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
54 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 ...
0
votes
1answer
24 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 ...
4
votes
2answers
200 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
108 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
112 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 ...
4
votes
4answers
114 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 ...
3
votes
2answers
179 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
61 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
57 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
35 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
128 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
37 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. ...