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

1
vote
1answer
10 views

How to customize blank space between chapter title and text in gsm

I use gsm packages from AMS to write my book. Overall, the package is beautiful and works well. There is only one problem, that is the vertical space between the header and the chapter title & the ...
1
vote
1answer
28 views

Height chapter number or height chapter name in memoir

I use memoir class. I want add some vertical space before chapter name or chapter number. I got that with \beforechapskip command, but this way add a fixed vertical space for all chapters. There are ...
2
votes
2answers
35 views

Caption away from the figure

I have made a block diagram using the \framebox command. A large white space exists between the caption and bottom of the figure. How can I reduce it? Code: \begin{figure*}[!t] ...
4
votes
1answer
38 views

Creating a Blank space - Formula sheet

This is my first time here and I'm also quite new to latex, but I've managed (with the help from a template I found online) to make this nice three column formula sheet. My problem is that i need ...
3
votes
1answer
31 views

How to define d in integral expression for \int \dif x f(x) notation

There seems to be some consensus about defining \dif like this: \newcommand{\dif}{\mathop{}\!\mathrm{d}} Should I \mathrm the d in my integrals?, What is the difference of \mathop, \operatorname ...
2
votes
1answer
15 views

No Vertical Spacing in Multicols

I just started using LaTeX this week. So currently, I am making exam-type files. I use the \itemsep=\fill option to make sure that there is a vertical space in between each \item. However, when I use ...
0
votes
0answers
10 views

Problems with acronym shortcuts (package: glossaries) [duplicate]

I am using the glossaries package to generate a nice list of acronyms. For often used acronyms I defined some shortcuts, e.g. \newcommand{\myshortcut}{\acrshort{myacronym}}. The acronym myacronym has ...
0
votes
1answer
24 views

Page setup in memoir class

I have been using the memoir class based template for sometime. All this while I have been having a problem with the top margin of the document. Following is the pagestyle code ...
0
votes
1answer
23 views

How do I fix vertical spacing between tables?

I have a document with about 50 tables in it. If one of the tables goes over the page, LaTeX automatically sends that table to the next page. The issue is that LaTeX increases the spacing between ...
0
votes
1answer
32 views

Increase spacing between item

I am using: Automatically itemize a paragraph to automatically create \item for my bullets and I was wondering how I would go about setting the spacing between each bullet point. The default for ...
0
votes
1answer
24 views

Reduce floating table vertical space in [H] environment

My document contains 5 parts vertically. "Header" Contains three minibox placed horizontally. Gap filled with \hfill. Giant row One. Table envoironment, [H] used to located the table. Giant row ...
1
vote
2answers
29 views

How can I reduce the space above the title of a single chapter

I am using a thesis template. And now my abstract is override 1 single page. I found the space before the chapter title is quite large. However, I just want to reduce such a space in the abstract ...
2
votes
0answers
45 views

How to remove extra space above the figure

This is tex file Thus, speculatively, higher-order antibunching might play a role superior to usual antibunching. Note that such a prominence of higher-order antibunching was discovered for the first ...
1
vote
0answers
20 views

Recommended practice for spacing between “and” and “\ref{}”?

It is widely known that one should insert a non-breaking space ~ between the name of a reference and the reference itself, e.g., As we can see from figure~\ref{fig:foo}, [...] This avoids the word ...
2
votes
1answer
27 views

What are the disandvantages for using a rule to define an \hspace-like command?

In the LaTeX2e source code \hspace and its star version are defined with \hskips. I have defined an alternative version using rules. I cannot see any obvious disantvantages of this approach other than ...
1
vote
0answers
38 views

Space between \hline\hline in `longtable`

I'm trying to use one longtable in my thesis while all others are created with table and tabular environment. I tried to find help visiting this link. But there only one type of table (longtable) is ...
4
votes
1answer
42 views

Typesetting a vertical box with as its top anchor the baseline of the first line in the vertical box

Introduction Since my real use case is obviously somewhat more complex than the problem presented in the MWE, I'll explain the use case first so that you can judge whether my approach is the correct ...
1
vote
0answers
29 views

managing the spaces between the pdf figures in latex document

I was creating a document containing pdf's figures after finishing I have got the following style in my document(((attached picture))), I tried to manage the distance between these figures but when I ...
0
votes
0answers
20 views

' and ^t to the left of a letter [duplicate]

There are times where I want, say, a superscript $t$ to the left of another letter to denote, say, the transpose of a matrix. Or, I might want to decorate a letter on the left with a prime, $'$, ...
2
votes
1answer
32 views

Problem with \vfill within enumerate and multicols

I am trying to make a large list of exercises with multicols and enumerate the thing is that when I just use enumerate and vfill there is no problem vfill does the work but when I use multicols vfill ...
1
vote
1answer
23 views

Automaticaly add paragraph spacing only between two textual paragraphs

I can use: \setlength{\parskip}{\baselineskip} \setlength{\parindent}{0pt} But this messes up the rest of the document as it also increases the spacing after chapters, sections, sub-sections, and ...
2
votes
3answers
40 views

alignat adds extra spacing

I want to achieve the following, except without the weird extra indentation before c. Also, what's with the lack of spacing between = and b, as well as between + and d? Is there a better way to fix ...
2
votes
2answers
35 views

How to space columns evenly in a table with multicolumns?

A hopefully very simple question. Why does the multicolumn in my example below screw up the spacing between the columns below? Obviously I would want columns A, B, and C to be spaced evenly (as they ...
4
votes
2answers
99 views

Align numbers on decimal point in tabular except for the column title

I am trying to align some numbers in a tabular on the decimal point. I have been using the dcolumn option but given that my column title is a year, it aligns also the year on the decimal point, which ...
2
votes
2answers
29 views

How can I reduce the space around alltt environment blocks?

How can I reduce the space around all alltt environment blocks? \documentclass{article} \usepackage{alltt} \begin{document} Test1 \begin{alltt} some code \end{alltt} Test2 \end{document} This ...
5
votes
1answer
61 views

Reflowing marginpars typeset using pdfsavepos

I'm trying to typeset marginpars more accurately on the correct side of the page using a solution based on pdfsavepos by David Carlisle. (The code below is a slight alteration of it.) I got most of ...
4
votes
1answer
81 views

Run a shell script (with parameters) from a PDF generated by LaTeX

I want to have a link in my PDF generated by pdflatex which executes a shell script, and this part works great. The problem I am running into is that I need the link in the PDF to be able to pass ...
10
votes
1answer
184 views

how to display upright letters in math mode without manually creating space?

\documentclass[11pt,a4paper]{article} \title{Title} \author{Author} \begin{document} \maketitle $\{ n \mid n\ \mbox{is\ even} \}$ \end{document} Since it is a relatively rare occasion for me to ...
6
votes
3answers
198 views

Align square root symbols in equation

I have the following equation in my tex document: \documentclass{article} \begin{document} \begin{equation} x_{ij} = \frac{ \sum_{t}{e_i(t)e_j(t)} } { ...
1
vote
1answer
28 views

tightly packed tables in a page

I have many tables that I want to squeeze in one page. The output of my current code shows lot of space between two tables. I want to reduce the space between the tables as small as possible and want ...
4
votes
1answer
28 views

Spurious white space from a page number conditional

In the example below I've introduced a page number conditional \ifnum\c@page=1\relax\else.... The page number conditional (in this case) checks for page number 1 and does nothing if the condition is ...
4
votes
1answer
32 views

mydots and linewrapping,

Can someone help me improve upon this command? \def\mydots{\leavevmode\xleaders\hbox to 0.40em{\hfil.\hfil}\hfill\kern0pt} I have been using his to fill space between raggedright and ragged left ...
1
vote
2answers
46 views

Change space between title and text in \paragraph command

I am wondering if there is a way to remove the space that comes between the title and the text when using the \paragraph command. I am working on my thesis, and have gotten it proof read by someone ...
2
votes
2answers
72 views

Disable \tabulinesep for some rows with tabu package

The \tabulinesep parameter with tabu package provide good paddings for tables with variant heights. But when using it with diagbox package, the paddings cause problem. \documentclass{article} ...
3
votes
3answers
92 views

Is there a cleaner way to get the proper spacing in this alignedat?

Here's an excerpt from an equation that I'm typesetting. The output is correct and looks how I want it to look. Here's the MWE that generates this output: \documentclass{article} ...
6
votes
2answers
53 views

Extra spacing before and after gb4e examples

I am using the gb4e package. When I have a list of examples, there is a large skip after the prose and before the first enumerated item. I do not want that skip there; instead, I want there to be ...
4
votes
1answer
39 views

Aligning two tables side by side and adjusting spacing

I read the similar question here, but I cannot manage to adjust the spacing correctly. Following the answers in the linked question, I wrote this: \documentclass[a4paper]{article} \usepackage{float} ...
1
vote
1answer
37 views

Removing white space in text after the image moves

I'm writing a thesis and have about 80 figures. The text leads up to the figure with a single line space: ....text text text text. \begin{figure}[h] .... \end{figure} More text, and so on... My ...
1
vote
2answers
39 views

Large space between text and equations when I \begin{equation}

When I do this, there is a large space between the text and the equations. I was wondering if there was a way to solve this. I am using amsmath. Thanks a lot \textbf{Solution} \begin{center} ...
1
vote
1answer
39 views

Vertical space on top and bottom of inserted image not being equal with vfill?

I have a title page, which used a \vfill from the middle of the page, to push a line of text to the bottom. I inserted an image in this page, and wanted it place in the middle (vertically) between ...
3
votes
1answer
17 views

How do I adjust the inter footnote space in paragraphed footnotes in memoir class?

I would like to reduce the space between paragraphed footnotes in memoir. Example: \documentclass{memoir} \paragraphfootnotes \begin{document} \footnote{A footnote.}\footnote{How do I get this ...
2
votes
0answers
33 views

What could make align use so much spacing?

Apologies in advance for not creating a compiling example, but when trying to duplicate just the related code to an empty .tex project, the phenomena does not appear. I have the following code: When ...
2
votes
0answers
22 views

Using `\displaybreak` in `\split` environment

I want to use \displaybreak in \split environment. I tried to use it locally and just before the \begin{equation}...\begin{split} block, but they both didn't work. As far as I searched, there is no ...
0
votes
1answer
40 views

Multicols{3} problem - how to reduce space between columns?

I want to reduce the space between columns in multicols I use \setlength{\columnsep}{<space>} but it reduces the space between the 2nd column and the 3rd column only How to make it reduce the ...
4
votes
0answers
23 views

Odd vertical space combining footmisc with hang option and bigfoot

Trying to combine the hang option of footmisc with the bigfoot package (later to be used for more footnote registers) I am getting an odd line inserted between the footnotes. If I comment out the ...
3
votes
3answers
37 views

How to add space around all inline equations, adjusting for punctuation

The answer to this question explains how to add space around inline equations, but it doesn't account for punctuation. You can see what I mean in the picture below. Is there a way to put the space ...
1
vote
1answer
27 views

Large Brackets Make Line Breaks too Small

\documentclass[10pt,letterpaper]{article} \usepackage[utf8]{inputenc} \usepackage{mathtools} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{parskip} ...
3
votes
2answers
36 views

Space before colon in beamer captions

As you can see below, LaTeX is formatting my captions like this: Figure : caption, while I would like them to be Figure: caption, without a space before colon. Here's a MWE: \documentclass{beamer} ...
1
vote
0answers
16 views

Spacing is varying between two mdframed environments with llncs class

Try out the MWE below. If I uncomment the commented line and comment out the previous one, the space between two `mdframed' environments increases drastically. \documentclass{llncs} ...
2
votes
2answers
50 views

Inconsistent vertical spacing using section headers

Last week I read a short paper on LaTeX and now I'm writing my first document. I've googled and fixed most problems but this one I haven't found any working answer to. It's for a math assignment and I ...