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

2
votes
3answers
53 views

Add vertical space between \hline and the row consisting of only \multicolumn (without using \midrule)

I want to add vertical space between \hline's and the rows consisting of only \multicolumn. I do not want to use \midrule. The answers in this question do not work in case of \multicolumn. Here is ...
4
votes
1answer
71 views

Spacing bars in ybar

I have several problems with this diagram: I am trying to create a template plot that I can use several times with different amount of bars. To simplify that I would like to define a fix bar width ...
2
votes
1answer
26 views

LTXtable space to text

I would like to include a long table into my document which crosses several pages. That’s why I use ltxtable. The table looks good to me but unfortunately there is a bigger space to the headline ...
2
votes
1answer
19 views

gb4e center example text

I'm writing an article with several short example sentences. The document as a whole would look better if my example sentences were horizontally centered rather than left-aligned. Of course, I still ...
0
votes
0answers
15 views

Using {align} for equations affecting titlespacing settings

I have adjusted the whitespace around my section headings by using the following code: \titleformat{\section}[display]{\color{black}\normalfont\sffamily\bfseries\large}{}{0cm}{\numb} ...
1
vote
3answers
47 views

Aligning definition of a function that maps into a function space

I'm writing a proof that the dual of l^p is l^q, and in that process, I define a function from l^q to (l^p)*. My current function definition looks like this: \begin{align*} ...
2
votes
1answer
38 views

\hfil in math mode [duplicate]

\documentclass[a4paper]{report} \begin{document} \[\phantom{\ast}\hfil a\hfil\ast\] As you can see, the \verb"\hfil"s get ignored… or at least the one on the right does. But if I swap \verb"\phantom" ...
2
votes
2answers
51 views

itemize in table without excess space

I am trying to create a list of bullet points in a tabular environment. When I use itemize, the line separating different jobs on my cv is no longer separated. When I manually use cdot however, the ...
1
vote
2answers
98 views

How to set horizontal space for tabular

Below is item in tabular. Using tabular text gets out of the page. In-order to get rid of this. I tried with \\. But doesn't help. It's not aligned. Can anyone help me to get the below Below ...
2
votes
2answers
82 views

Beamer-Warsaw: Reduced No. of subsections in title

I give a lecture with 10 section and maybe 5-10 subsections. Using Warsaw-Theme would make the available space to small. Ist there a way to make it show: only the last section, momentary section ...
1
vote
1answer
64 views

Reducing space between columns manually

I'm working on a table in report documentclass. Here's some of my code below: \documentclass[12pt]{report} \usepackage[table]{xcolor} \setlength{\arrayrulewidth}{1mm} ...
2
votes
0answers
40 views

How to put something on a page without disturbing the main vertical list?

I'd like to put something on an arbitrary place on a page. I'm using \begin{tikzpicture}[remember picture,overlay] ... \end{tikzpicture} inside \nointerlineskip\vbox to 0pt{\vss ...
1
vote
2answers
33 views

Vertical spaces in htlatex \ScriptEnv

I am using htlatex to generate the HTML version of book and I am having problems with vertical spacing. I have configured an environment like this: \ScriptEnv{tawny} ...
1
vote
1answer
45 views

Visually appealing subscripts with `\intercal`

From this discussion (What is the best symbol for vector/matrix transpose?) I like to use \intercal for matrix/vector tranpose symbol. However, when subscripts get involved it gets ugly: MWE: ...
0
votes
0answers
106 views

document with string having ff and fi converting to null or empty characters

I have a small document with string starting with ff and fi and they are converting to null or empty characters.. Doing HTML looks good but when I convert to latex it shows empty characters. I'm on ...
3
votes
1answer
64 views

Smaller vertical space between repeated environments

I have a new environment that is defined with addvspace at the beginning and end. This works fine if it is surrounded by text. Now, I want this space to be smaller (smallskipamount) between these ...
4
votes
4answers
63 views

Unwanted space before hyphen in longtable

I have a minor typesetting problem inside the longtable environment. I am writing my CV and I need to write a list of skills inside a table cell. Since I'd like to keep the document length down to ...
2
votes
2answers
67 views

How to add a percent symbol in table column along with vertical and horizontal cell padding?

I want to create a similar table as in image. I don't know how to customize table border thickness and color scheme as in picture to achieve the desired output. Code: How many rows should i span 4 or ...
2
votes
1answer
50 views

Massive gap between text when I force my figures to appear where I wanted it to be in a two-column report

I want the text to fill up the massive gap shown in the picture below: This is to code I used: \usepackage{graphicx} \usepackage{caption} \usepackage{subcaption} \usepackage{float} ...
1
vote
1answer
43 views

Spacing words in a line to be justified on left and right side

I am writing a resume, and at the top header of the document I am displaying my email, phone number, and address. Each field is separated by a bullet, and I am wondering if it is possible to adjust ...
3
votes
2answers
48 views

Problem with \tabular \tabularx and \multicolumn

I am trying to write the following "gothic" table but I have many troubles with equally distributed spacing and size of the text. I try the following with tabular: \begin{table} ...
6
votes
3answers
65 views

Separation between caption and subcaption

Consider the following MWE \documentclass{article} \usepackage{caption} \usepackage{subcaption} \begin{document} \begin{figure} \begin{subfigure}[t]{.5\linewidth} \centering \rule{3cm}{3cm} ...
2
votes
1answer
37 views

htlatex inserting environment in verbatim

I want to get htlatex to put some text into my HTML file verbatim. The problem is that it keeps redo-ing my spacing. So, for example, I use a cf.cfg like this. \Preamble{html} \ConfigureEnv{tawny} ...
1
vote
1answer
38 views

How to obtain even space between variables in math mode?

When I combine numbers and several variables in an equation, the spacing between the numbers and variables are not even. What is the correct way to display the equation? The red box highlight the ...
4
votes
2answers
70 views

How do I control vertical line spacing under \settabs in plain TeX?

Consider the following example. \settabs \+ \hskip 4.5 in & \cr \+ Silahkan masuk & Come in, please! \cr \+ Silahkan duduk & Sit down, please! \cr \+ Silahkan berdiri & Stand up, ...
1
vote
1answer
60 views

Line break after lstlisting not working

I just started working with Latex so this may sound like a very nooby question. I put some code in a lstlisting and after that I want to add some blank line and then the "Define the bla bla" line. ...
2
votes
1answer
57 views

How to fully justify tabular columns

I would like a tabular environment with fully justified columns. I my best guess of how to make this happen is to use a tabularx environment (so the tabular knows how wide to be) and then put \hilll ...
3
votes
2answers
81 views

How to prevent the orphan word of paragraphs

Currently, I have a paragraph in my article shown as following picture: the orphan word MAS. at the end of the paragraph takes a single line. But somehow, there was one typeset which successfully ...
3
votes
1answer
55 views

How to define the indentation for the second line of a multiline item with custom label?

I have a multicolumn list and I am a little limited in vertical space, for that reason I used the property leftmargin=* of itemize to get rid of some of the white space between the custom label and ...
4
votes
2answers
103 views

How to achieve multicolumn item lists with independent content?

I need three item lists next to each other, with a centered heading for each list. Using the multicol-package doesn't seem to fit my needs as it doesn't allow me to fill my columns independently, does ...
6
votes
1answer
52 views

Add vertical spacing into list of figures for each section (scrartcl)

I have found several posts and questions from people wanting to remove the vertical spacing automatically added to the list of figures, but my problem is (exactly) the opposite: I'm using the ...
19
votes
1answer
795 views

What does the tilde character (~) do in math mode?

What effect does the tilde character ~ have in math mode? Is it the same non-breaking space that it is in text mode? Is it bad style to use ~ in math mode? I've seen it used in some examples but ...
5
votes
1answer
83 views

Spurious leading horizontal space with \multicolumn in tabular

When I use a \multicolumn within a tabular (or tabularx) there seems to be additional horizontal spacing added at the beginning of the column even though the left alignment was specified for ...
3
votes
3answers
112 views

Automatic spacing of symbols

I'm curious how to automatically get a bit of spacing around symbols that are written together. Let us assume we have symbols A and B that represent some abstract objects. We define commands \A and ...
2
votes
1answer
70 views

multicol list spacing before and after section titles

How can I get consistent spacing before and after an itemize environment inside a multicols environment when the list is immediately after or immediately before the start of a section? The list in ...
5
votes
2answers
86 views

Math operator always in textstyle

I would like to define a macro that expands to the same symbol as \sum but using the inline style (\textstyle) even when used in a displayed environment. Here's what I got: ...
5
votes
1answer
56 views

Weird spacing with mdframed

I'm using mdframed to make a framed theorem environment but I'm having some trouble with the spacing below the theorem. This is my MWE: \documentclass{article} \usepackage{amsmath} ...
3
votes
2answers
43 views

Wider vertical space with some tables (those causing overfull \hboxes?)

With the following code: \documentclass[a4paper]{report} \usepackage{lipsum} \begin{document} a \begin{center} \begin{tabular}{|c|c|c|} \hline Ord & Esplicito (Adam-Bashforth) & Implicito ...
3
votes
1answer
158 views

Are most TeX fonts other than Computer Modern optimized for \frenchspacing?

I assume that when Don Knuth created his Computer Modern fonts, he optimized them, at least in his opinion, for \nonfrenchspacing. But since almost all books that aren't created with TeX have no extra ...
2
votes
0answers
32 views

Extra vertical space when using align and no numbering

I think I've found a small bug in the way the showonlyrefs=true option in mathtools works. Consider this semi-minimal example: \documentclass[12pt]{article} \usepackage[utf8]{inputenc} % UFT8 - ...
0
votes
1answer
53 views

Making ToC page numbers flushleft, and not flush right

My ToC has all page numbers appear just next to the entry heading. This works fine when the page numbers are small; however, with four small roman numerals the page number meets the entry heading. It ...
3
votes
1answer
47 views

Avoid space preceding a reference

I use \vref{something} to reference to figures. As long as this is in regular text everything is fine. But When I surround this with brackets like this (\vref{something}) then is the result is a ...
2
votes
1answer
46 views

Align environment creates extra vertical space

I'm typing a very large document (a thesis) and at some point align environment produces abnormally large vertical space before and after equation. I double-checked that it is neither in the beginning ...
0
votes
1answer
53 views

Suppress vertical space after `\printindex`

In \documentclass{book}, \printindex shunts the first two columns of my index down the page leaving white space that I don't need. What is the name of this space so that I can reset it to zero? In ...
2
votes
2answers
37 views

Add space between \hline and superscript without affecting any other spacing

I want to add space between \hline and A^T without affecting any other spacing. Here is MWE: \documentclass{article} \begin{document} \begin{tabular}{l} \hline $\begin{array}{c}a\leftarrow A^Tb ...
0
votes
0answers
36 views

How to increase vertical spacing when plotting multiple figures?

I have three .tikz files converted from matlab. And I want to plot them together. Here is a MWE: \documentclass[11pt]{article} \usepackage{pgfplots, pgfplotstable} \pgfplotsset{scaled y ticks=false} ...
3
votes
2answers
58 views

How to remove space after the description label and add after the whole description?

I have the following tex source: Lorem ipsum dolor Lorem ipsum dolorLorem ipsum dolorLorem ipsum dolorLorem ipsum dolorLorem ipsum dolorLorem ipsum dolorLorem ipsum dolorLorem ipsum dolorLorem ...
3
votes
1answer
32 views

Problems with centering a figure

I have a problem with centering a figure. At first I have set for 12 pt and the figures were centered. Then I put 10 pt and all the figures shifted to right. How can I solve this problem? Here is ...
5
votes
2answers
55 views

How can I decrease the vertical space under an environment in a custom command?

I'd like to manipulate the vertical space under a custom command I defined. How can I do that? (all these years and I actually have never looked into this before...) Picture MWE ...
2
votes
1answer
41 views

Table Environment with Surrounding Spaces like Normal Paragraph

Around a tabular environment, LaTeX produces different vertical spaces than a normal paragraph. There are some answers here in LaTeX Stack Exchange that advise setting \intextsep, but I see no ...