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

11
votes
3answers
559 views

Writing a word with the length of another word

Ive got a quick question: How can I create text that has the length (or all the dimensions) of another string? What I mean is: Have latex write TEXT, but let it be printed as having the dimensions of ...
2
votes
4answers
48 views

How to add vertical space before `hline` in `array`

I am trying to format the following table with more space below the horizontal lines. \begin{equation*} \begin{array}{|c|c|c|} \hline i & (266)_i & [266]_i\\[3pt] ...
2
votes
2answers
67 views

How to stop a custom \section macro from adding whitespace to the beginning of a paragraph?

I lifted a \section macro from the TeXbook. \outer\def\section#1{\medbreak\noindent{\bf#1}\smallskip\par\nobreak\noindent} When I use this macro like this: \section{\TeX nical documenation} Blah ...
2
votes
1answer
42 views

space before and after emdashes

I am typing a document in French and I need to automatically get a fine space (unbreakable) after opening emdash and before closing dash. ---\, blahblah\, --- is not very good... How can I do that. ...
2
votes
1answer
44 views

glossaries protect whitespace between text and abbrevation

I'm using the glossaries package for a list of abbreviations. I have a problem when I use the command \gls with an abbreviation for the first time if it's near the end of a line. So e.g. the ...
3
votes
1answer
59 views

Reduce space between title and first section in a modified smfart

I am looking for a hack to reduce the space between the line (that appears after the title) and the title of the first section. At the moment, my code modifies smfart somewhat atrociously as follows: ...
2
votes
1answer
102 views

Horizontal space after =& in aligned environment is too small compared to &=

I ran into a very odd problem, which is illustrated in the following code sample: \documentclass{scrartcl} \usepackage{amsmath} \begin{document} \begin{equation} \begin{aligned} a=&b\times ...
4
votes
1answer
37 views

justify chapter* for southall

I have searched but couldn't find an answer to how to make \chapter*-names be left justified for the chapterstyle southall. The following MWE illustrates the problem. \documentclass{memoir} ...
2
votes
1answer
118 views

ConTeXt: change distance between inmargin bullets and text in bulleted list

Can some kind soul show me how to specify the amount of horizontal space between list symbols (bullets, numbers, etc.) and item text in ConTeXt? Specifically, I'm trying to create a bulleted list in ...
4
votes
1answer
184 views

Make carriage return a blank symbol

I would like that the two following code become equivalent: Code 1 (Prints "a b") \documentclass{report} \begin{document} a b \end{document} Code 2 (Prints "ab") \documentclass{report} ...
5
votes
1answer
76 views

add space between section and subsection in TOC?

Is it possible to create more space before a new section in TOC? I would like more space where the arrows are: I tried using \cftchapafterpnum{\vskip3pt} - but that does not give the effect I'm ...
0
votes
0answers
35 views

Package grffile not working with graphicspath and filename containing spaces

If the image is in the document's directory this works: \usepackage{graphicx} \usepackage{grffile} \begin{document} \input{"image name with spaces"} \end{document} If the image is in a sub ...
4
votes
0answers
54 views

How do I stop \usepackage{graphicx} pushing my whole document down? [duplicate]

After I load the graphics package and create a pdf I get my image to appear perfectly but my page numbers are now basically on the very bottom of every page and the text on each page has shifted down ...
4
votes
3answers
79 views

Fix spacing when using \dot{}

If I type $a \sim b$, I get . However, if I type $a \dot{\sim} b$, I get this and the spacing is gone. Is there a way to regain latex's good spacing mechanism, i.e. add spaces if needed and avoid ...
3
votes
0answers
37 views

When should spaces after full stop be escaped? [duplicate]

Athough discussion on that question is still going on (even if third ways exists), it seems that larger spaces after the end of a sentence is preferable in English. By default, LaTeX puts wider spaces ...
19
votes
2answers
1k views

Why do we need \ldots?

While trying to understand Chapter 12 of Knuth's TeXbook about Glueing, I run into troubles in understanding why \ldots ends up in looking better than .... It seems to me that the usual period . has ...
2
votes
1answer
71 views

Too long vertical lines in table when declarations must remain on distinct lines

I am facing a situation where I am somewhat faced with the modular and conditional assembly of a table which prevents the \begin{} and \end{} definitions from remaining in the same local context. ...
1
vote
1answer
73 views

Wrong space in equation

At my LaTeX file, the space between left and right equation in "Einsetzungsverfahren" is not correct (too big). Thats my file, what did I wrong? \documentclass{article} \usepackage{amsmath} ...
3
votes
1answer
34 views

How to fix inconsistent spacing above tabular environment

I notice that the amount of spacing above tabular changes depending on whether I have one row or more than one row: \documentclass[12pt]{article} \usepackage[english]{babel} \begin{document} Foo ...
2
votes
1answer
39 views

Unwanted blank line in verse environment

I'm having a problem where lines which are almost long enough to cause the verse environment to break a line are creating an unwanted blank line. It seems as if the environment is breaking the line, ...
5
votes
1answer
79 views

tikz - Idiomatic padding

For this TikZ figure, the shorten statements keep the tail of the top-most arrow from colliding with the input node and similarly the head of the bottom-most node from colliding with the output node. ...
4
votes
2answers
62 views

How to prevent \underbrace from overlapping with a \chemfig?

A chemical formula I'm annotating overlaps with an underbrace, unless I use brackets. How can I prevent overlap without placing brackets? MWE: \documentclass{article} \usepackage{chemfig} ...
1
vote
0answers
46 views

How much spacing is left after \end{enumerate}

How much vertical space is left after the enumerate environment and how much space is the default between the items?
3
votes
0answers
85 views

spacing within block and between blocks with list in beamer

I am using beamer blocks in the default theme to delimit "paragraphs" in a frame. When I use a list within a block, the vertical spacing is different compared to the spacing for a block with no list, ...
6
votes
2answers
171 views

Is there a way to make a symbol behave as either mathord or mathrel depending on context?

Symbols denoting equivalence relations are typically used in two ways. They are either binary relation symbols denoting that two elements are equivalent or they appear as ordinary symbols in the ...
1
vote
1answer
37 views

Chapter header spacing, spacing after sections

I am trying to create double spacing throughout this document - after "Chapter 1" and "after Dimension Reduction in Symmetric Spaces", etc. I also want a top margin of an 1 inch. Can anyone tell me ...
1
vote
1answer
71 views

Typesetting Hermann-Mauguin notation correctly

Hermann--Mauguin notation is used to define a naming scheme for three-dimensional space groups (aka crystallographic groups). A list of these groups together with their names can be found here. I ...
1
vote
1answer
57 views

change vertical gap between two paragraphs

I only need to change the white gap between two paragraphs in a particular spot in my thesis. In particular I want to reduce the vertical white space. I know that I can do \\[5pt] to add more space. ...
2
votes
1answer
40 views

how to give more space in acronyms between the abbreviation and the expansion

I like to give more space in acronym between the abbreviation and the expansion CR Collarette Ratio DCAC Discrete Circular Active Contour using acronym package
2
votes
1answer
67 views

Vertical space between Text and figure

If the code is like this: text text text text text.~\cite{sour}\begin{figure}[htbp] \centering \includegraphics[width=0.9\textwidth]{IMG/fig} \caption{Caption.} \label{fig:figlabel} ...
2
votes
1answer
33 views

Flexibly start a new page for proof environment

I would like to redefine my proof environment so that if the content of the proof environment is only, say, 3 lines or fewer, then the entire proof environment will just start on a new page. Here is a ...
3
votes
2answers
99 views

left alignment of multicolumn inserts extra space

how do I get \multicolumn to align left? I always get a small space at the beginning of the row. Here's a code \documentclass[12pt]{article} \usepackage{booktabs} \usepackage{dcolumn} ...
7
votes
1answer
109 views

Problem with interword spacing in LuaLaTeX

I have a problem with LuaLaTeX and interword spacing using fontspec. This is my MWE: \documentclass{article} \usepackage{fontspec} \defaultfontfeatures{Ligatures=TeX, Scale=MatchLowercase} ...
5
votes
1answer
62 views

Larger Space After Section for Math Mode

I am getting a large space after a section when math immediately follows. How can I make this space the same as if text followed? \documentclass{article} \usepackage{amsmath} \begin{document} ...
4
votes
1answer
29 views

Float spacing on float pages

I am writing my thesis, and one of the requirements is that any pages containing only figures or tables must be top-aligned. An additional requirement is that the spacing between consecutive figures ...
2
votes
0answers
36 views

exsheets: how to use skip-below with custom heading

I am using exsheets for making problem sets and worksheets. I made a custom heading, but now skip-below key does not work: \documentclass{article} \usepackage{exsheets} ...
3
votes
2answers
98 views

Better double parenthesis notation for multiset

In my combinatorics homework I use double parenthesis to represent a multiset. I have referred to all the answers under Multiset notation in LaTeX on how to build such a notation. However, the double ...
8
votes
2answers
123 views

makebox with minimum width

I use makebox to create padded texts, however when the text in the box overflows, it overlaps with the following content. To demonstrate, The thing I want is a box that when the text is shorter than ...
2
votes
1answer
42 views

How to set tab in Latex while I do not want orders such 1. 2. 3. etc

Adding tabs or creating my own command In this link there are three programs each of which is having programs for setting tab but they have numbering. 1. Format 2. 3.
2
votes
1answer
58 views

First slide of references in beamer starts one line further down

When I add slides with references at the end of a beamer presentation, the first slide always starts one line further down than the subsequent slides. Why, and how I can prevent it? ...
4
votes
3answers
76 views

Adjusting separation between matrix entries

I have a very large matrix which overflows in the margin. I would like the matrix to fit inside the margins, but I would like to do this without rescaling it, and also without affecting other ...
0
votes
1answer
60 views

LaTeX vertical spacing after numbered paragraphs

I'm relatively new to this forum and LaTeX in general, so please excuse me if I'm duplicating a question, but I can't find a satisfying solution to my problem. I have introduced numbered paragraphs by ...
4
votes
1answer
42 views

How to fixe vertical spacing in multicell text within table / how to insert multicell text in table?

\documentclass{report}[12pt, oneside, a4paper] \usepackage{geometry} \geometry{verbose, tmargin=2.5cm, rmargin=2.5cm, bmargin=2.5cm, lmargin=3.5cm, headsep=0cm} \usepackage{array,booktabs}% ...
0
votes
1answer
55 views

In Latex, I want my caption to be lower relative to my figure. How do I do that?

instead of: Figure 1 I want: -------- Figure 1 How do I manipulate this?
3
votes
2answers
45 views

hyphenation of long words in twocolumn template

I would like to have control on how Latex hyphenates long words. In my example it tries to have a right handed alligment of the paragraph but by doing so it creates big spaces. How do I get rid of ...
1
vote
1answer
46 views

Spacing problem after a list at the beginning of a theorem

In the following example, how (if possible) can one make the line after the fruits be formatted in the same way as the line after the vegetables in a "clean" way without moving the apple to ...
8
votes
3answers
205 views

Smart macro to produce stanzas

I want to typeset a booklet of poetry, in Plain. Thus far I've been able to make TeX obey spaces and lines with the following code: \def\startline{\par\noindent} \obeylines\obeyspaces ...
2
votes
1answer
83 views

Forcing text to go on after figure

i have a problem with the spacing after a figure in my document. Here is the code i use: ...
5
votes
3answers
120 views

Table/Tabular Row Spacing

I'm trying to tex a table with alternating rows. It's working but there is something like a non-colored gap/spacing between the rows, so it looks very weird: Here is the code for the example above: ...
6
votes
2answers
152 views

\underbrace spacing

I am currently using the \underbrace command and would like to center \cdot between the two terms. How can I better format this dot product and also line up the underprice text to the same heights? ...