{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
0answers
39 views

Define text box so that it consumes the rest of the page

I have several images stacked on top of each other for a title page. An MWE \documentclass{report} \usepackage[paper = letterpaper]{geometry} \usepackage{tikz} \usepackage{pgf} \usepackage{mdframed} ...
1
vote
1answer
29 views

For programming a command: emit \newline iff we are within a paragraph

Short version: I am defining an environment: \newenvironment{myenv}{\begin{trivlist}\item}{HERE something\end{trivlist}} Now at the point marked with "HERE", I need a "conditional newline" doing ...
0
votes
0answers
14 views

I'm creating a bibliography page on latex and it compiles two blank pages in between references. How can I fix it?

This is the code: \nocite{*} \let\cleardoublepage\clearpage \bibliographystyle{abbrv} \bibliography{ref} [![pg 2][2]][2]
1
vote
2answers
51 views

Space between text and its following figure

How can I make some space between the text and its following figure? (Only once and not for the whole document).
31
votes
4answers
49k views

Remove space after figure and before text

I have a figure in my paper (I am using IEEEtran package). After this figure there exists a space between the figure and the text. How can I reduce the size of this white space. To be specific the ...
0
votes
0answers
8 views

Reducing the width between the section space [duplicate]

I came up with a minimum MWE to explain my predicament. I wish to reduce the space in between the sections as demarcated below: \documentstyle[12pt]{article} \setlength{\oddsidemargin}{0in} \...
0
votes
1answer
25 views

Decrease vertical space between cventries

This must be easy for you, but I am quite unable to get it right. Here is my code: \cvsection{Education} \begin{cventries} \cventry {B.S. in Computer Science and Engineering} % Degree {POSTECH(...
19
votes
4answers
41k views

Adjusting space between array rows and columns

\documentclass[english]{article} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \usepackage{babel} \begin{document} % ... \[ \begin{array}{ccccc} x(1) & = & \frac{x(0)}{1} & = &...
4
votes
2answers
170 views

\vspace* (star) moves text above it

\documentclass{article} \begin{document} aaa \vspace*{100cm} bbb \end{document} I would expect aaa to be placed at page one, then to see 100cm of white space (distributed over many pages) and ...
4
votes
3answers
164 views

How to reduce the spacing in chemical symbols?

Currently, if want to write a chemical symbol, for example, ${}^{239}Np$, this is what I type in: {}^{239}Np. The result: But it looks bad, I feel as if the "N" and "p" should be closer, or a ...
3
votes
1answer
44 views

Spacing for weighted limits

I'm naively trying to typeset a weighted limit using \varprojlim ^W F, but the output I get is the one on the right instead of the one on the left below. How to fix this?
1
vote
0answers
43 views

Removing the blank space after a definition (or something)?

already I researched a lot about it, but found nothing. Could you help me remove this white space to be between intem 3 and paragraph ("Quando não ....."). I thank you
3
votes
1answer
52 views

Widths of columns do not sum up to totalwidth of the columns environment

On a beamerposter I am embedding a few blocks within columns. My issue now is that their widths do not seem to add up correctly. In particular If I have two columns 10cm wide, the whole thing will be ...
0
votes
1answer
60 views

\nopagebreak in longtable results in undesired negative vertical space

System: XeTeX Version 3.14159265-2.6-0.99992 (TeX Live 2015/W32TeX). MWE (with a grid superimposed to help visualizing the issue): \documentclass[12pt]{book} \usepackage[top=72pt,left=72pt,bottom=...
8
votes
1answer
41 views

Unbalanced spacing with braces in mtpro2

The code $\LEFTRIGHT\{\}{S_n}$ produces whereras the code $\left\{ S_n \right\}$ produces . Is this a bug or feature? As the content in the braces grow larger, the visual effect of the unbalance ...
2
votes
2answers
38 views

Table columns merging when using fixed size

I'm writing a table that's too wide for the page, so I tried using a fixed width for the columns, but when I do that two columns merge into one: And a MWE: \documentclass[a4paper]{abntex2} \...
4
votes
2answers
60 views

How to force vertical space in tex4ht? \bigskip and \vspace have no effect

I am generating lots of tables one after the other, and noticed the tables in HTML generated by tex4ht are touching each others, and wanted to have some vertical white space between them to separate ...
0
votes
1answer
19 views

push contents of top-left cell little downward?

I am going through different tutorials and Q&A, but no luck yet. I am new to Latex, and hence not aware of many packages, and not sure why some change is not coming into effect. Currently, I have ...
5
votes
2answers
356 views

Three very clearly separated elements on a single line

I have three short bits of text that I want to put on a single line, in a centered way; more precisely: I want the first bit to be "left justified", i.e. to start at the leftmost part of the line. I ...
0
votes
1answer
139 views

Manipulating Documentclass thesis in latex

I am writing my thesis in the following documentclass \documentclass[11p, topenright, twoside, openright, plainfootsepline, headsepline, ...
2
votes
1answer
52 views

Change Title Spacing

I am currently trying to fulfill the layout requirements of my university, which request vertical spacing of 24pt before and 12pt after section titles. I am using the titlesec package, but every time ...
5
votes
0answers
37 views

Spacing between titles depending existence of subsection

By normative control standarts, spacing between title of a section and one of a subsection (similarly for subsection/subsubsection) must have length 0.8 cm and spacing between any title and a text ...
93
votes
2answers
21k views

Is a period after an abbreviation the same as an end of sentence period?

Does latex do anything special with periods? If so, is there a way to differentiate end-of-sentence periods from periods indicating abbreviation?
1
vote
1answer
26 views

Achieving local `@fptop` within a custom float

I would like the following policy: The top of figure and table page-floats should be 15% down the page (and ideally able to move higher if the figure is more than 85% of text height). A custom ...
1
vote
0answers
31 views

How to make columns start with a space to the header?

I am making a document with two columns. I am trying to make both of the columns start a distance below the header on the first page. Any help will be appreciated. \documentclass{article} \usepackage{...
1
vote
1answer
60 views

newcommand titlespacing

To generate space between \section i am using \titlespacing*{\section}{0cm}{1cm}{0.5cm}, doing the same for subsection. Is it possible to generate titlespacing between own commands? I need three blank ...
3
votes
1answer
61 views

Space between caption and \bottomrule

I have more of a cosmetic sort of problem. Normally the vertical space between the \bottomrule and the caption looks like this: But with the code I use, some tables look like this: I use the ...
1
vote
0answers
62 views

Big blanks in document, why? [duplicate]

The following code uses a command \unit which is defined as: \newcommand{\unit}[1]{\pagebreak \section{Unit: #1}} A unit is therefore just a section that starts on a new page. \unit{How to use a ...
1
vote
1answer
44 views

newcommand defined on multiple lines creates extra white space

When I define a \newcommand over multiple lines, I get unwanted white space in my output. How do I make it so I can write a long command, but still make it readable, without getting the extra white ...
0
votes
0answers
32 views

Tabular Cell Vertical Centering: \hline

I find that \hline skews vertical centering. What can be done such that cells are symmetrical when using hlines between rows.
6
votes
3answers
33k views

Using the \tab Command

I have seen several cases of people using the \tab command to insert a specific amount of space between objects (as opposed to the \hfill command which uses any remaining space). However, I have ...
1
vote
1answer
55 views

baseline seems to change automatically [closed]

I don't have a MWE, since this appeared on the bottom of page 12 of a document I'm working on (by surprise). I'm just wondering if anyone will recognize what's going on. It looks to me as though the ...
4
votes
1answer
54 views

Mysterious blank space appears in text when align evironment followed by figure environment

When using an align environment and subsequently a figure environment in Latex code in the resulting pdf appears suddenly a blank space where in code the figure environment resides. Why does this ...
0
votes
0answers
30 views

Border spacing in fancy header

I am using the 'fancyhdr' package. I have both text and images (one in header one in footer). There seems to be some padding / spacing around the text and images. I cannot see where this is coming ...
3
votes
0answers
67 views

Remove most bottom space of tabular (or tikz-picture?)

I'm trying to add a table-like structure left of a ganttchart. It appeared to me that labeling every bar with its own tabular of fixed column-width would be the easiest and I got quite close to what I ...
2
votes
1answer
33 views

\newcommand trailing space with tocloft

I have had to add a 'List of Supplementary Materials' to my current document using the tocloft package. I currently have the following code in my preamble: \usepackage[titles]{tocloft} % Create Table ...
2
votes
2answers
42 views

How to ensure that content within a column vector do not touch? [duplicate]

I have some variables defined in a column vector written in mathmode in the usual way $\begin{bmatrix} \dfrac{1}{i} \\ \dfrac{1}{j} \end{bmatrix}$ However, the result shows that they are almost ...
4
votes
1answer
78 views

Spacing between tikz picture and text

In my document I have several tikz pictures (in different sizes) with explanation next to the tikz picture. To put some text at the side of the picture I use a \parbox{}. My document looks like this ...
0
votes
0answers
36 views

I am loosing vertical space befor and after minipage/parbox/vbox within a list

I have a two column list. Some of the items are supposed to be grouped by a huge brace so I am trying to use minipage or parbox or vbox to group them, however I am loosing the vertical space between ...
4
votes
2answers
78 views

What is the correct way to stack two coffins so that the vertical spacing between their contents is as it would be if they were set in one coffin?

Consider the following Minimal Working Example (MWE): \documentclass{article} \usepackage{xcoffins,kantlipsum} \begin{document} \NewCoffin \MyCoffin \NewCoffin \YourCoffin \SetVerticalCoffin \...
1
vote
2answers
106 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 ...
1
vote
2answers
62 views

How to change spacing after section in Table of Contents?

How to change the spacings on picture? Here is my MWE: \documentclass[floatsubsection,equationsubsection,14pt,nocolumnsxix]{eskdtext} \usepackage[T1,T2A]{fontenc} \usepackage[cp1251]{inputenc} \...
2
votes
1answer
39 views

Make multiline list items line up horizontally

I'm trying to make a list in which each item has multiple lines, and I want the items to line up horizontally, like this: 1. this is the 2. and this is first item in the second item ...
4
votes
1answer
2k views

\hfill doesnt work on new line

I am using res class to prepare my CV. My code is Secured All-India Rank 2480 in Joint Entrance Examination (JEE) among over $500,000$ applicants\hfill{\em(2010)}\\ Secured 2488th rank in All India ...
1
vote
1answer
51 views

Issue with Chapters Being Included in List of Figures

I was editing a table of contents earlier this week and, thanks to this forum, was able to get most of the formatting down. This post is still about the table of contents, but now it is in regards to ...
0
votes
0answers
66 views

Large space between fraction bar and numerator containing \sum with subscript in display style

EDIT: I updated the picture to highlight what I meant. Notice the extra space between the two red lines in the left-most fraction. I'm not sure if that extra space was reserved for letters with a ...
3
votes
2answers
24 views

Making \vfill work with footmisc package

I had some trouble getting my footnotes to stick to the bottom of the page, so I used: \usepackage[hang,bottom]{footmisc}. This solved the problem, but for one part of my document I want to place a ...
167
votes
8answers
196k views

Column and row padding in tables

How do you guys go about controlling column padding in tables? Update To clarify, I'm looking for a way to control both vertical and horizontal padding. So, if I had a simple table like in the ...
6
votes
1answer
77 views

How to automatically remove additional space introduced by primes of left superscripts?

I need to use left superscripts. I know that there are packages as mathtools, tensor and leftidx. But they all suffer from the same typographical problem. If I typeset a left superscript and this ...
2
votes
1answer
72 views

Remove Leading Dots in Part of Table of Contents

I am currently struggling with a few table of contents issues on LaTeX. I am trying to remove the leading dots on just one part of the table of contents, creating a consistent double-spacing ...