{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
2answers
54 views

How to avoid a spurious space when combining frame, centering and another environment?

I want to create a special environment in beamer, which combines several environments, one of which is center. However, when using my newly created environment, I get an additional space in comparison ...
2
votes
1answer
78 views

How to insert two white spaces at the beginning of a line

I want to insert two white space at the beginning of a line. How can I do that? I want something like this This is first line This is second line This is third line This is fourth line
2
votes
2answers
649 views

Overfull \hbox (15.0pt too wide)

I have multiple tables which look like this: \begin{tabularx}{\textwidth}{|l|X|l|} \hline \textbf{ID} & \textbf{Description} \\ \hline 336858 & The description \\ \hline \end{tabularx} and ...
1
vote
0answers
26 views

Space between two column minipages [duplicate]

I'm using the OpenFonts version in this repository, which is a resume template for CS majors: https://github.com/deedydas/Deedy-Resume In the resume template, there are two column minipages created, ...
17
votes
1answer
219 views

Spurious Vertical Space Introduced by multicols (Additional Case)

This seems to be a duplicate of Spurious [?] vertical space introduced by multicols, but the solution from there does not seen to work for me. Basically I want the case of using multicols to not ...
0
votes
0answers
17 views

Multiline equations within parentheses [duplicate]

I have two equations which need to be broken into multiple lines. One of the equations has a coeficiente factored out, so that it is of the form X = A(...very long...). The other does not. The ...
1
vote
1answer
81 views

How to reduce spacing between figure and text

I want to reduce spacing between figure and text (not caption) and between paragraphs. I'm using revtex4 package (two column style).
0
votes
3answers
68 views

header rule margin with boxes

I'm creating a document with a box in the header and an other one in the footer. But I would like to have the same space between the bottom of the top box and header rule and between the top of the ...
0
votes
0answers
37 views

Equal spacing between \begin environments, any text based environment and inline maths

I'm creating a document with a lot of \begin...\end environments, single lines of text with or without inline maths and long paragraphs with or without inline maths. The problem I'm having is that ...
2
votes
2answers
88 views

Spacing between poem title and poem text

I'm writing a book of poems using the book class. Most of the poems are pretty short and I'm only putting 1 or 2 poems on each page. The problem I'm having is that latex is putting a large space ...
5
votes
2answers
76 views

boxing the entire page

Sorry if you don't understand me, but English is not my native language. Is it possible to put a frame at x cm from the right and left edges of the page and at y cm from the up and bottom edges of ...
2
votes
3answers
51 views

Adjust spacing between linebreaks

I would like to adjust the spacing between two lines within a gather environment. My MWE is this: \documentclass[]{scrreprt} \usepackage{amsmath} \begin{document} \chapter{Chapter 1} Lorem ipsum ...
1
vote
1answer
102 views

Need Help in formatting my Book - Chapter headings - Headers

I am a Chemical Engineering graduate and I am helping my mentor in typesetting his book. He has given me the text and equations in MS Word and I have to convert the same in LaTeX. I used Adobe ...
3
votes
1answer
39 views

Extra space not wanted at the end of a title page

I did a title page using the titlepage environment and used \vfill between the entries (for instance name, title, date, etc.) so that they would be equally spaced and the whole title page would fill ...
4
votes
1answer
49 views

\setlength not working

I am having trouble with setting space before and after a table. Here is my code for a ten-column table: \begin{tabular}{cccccccccc} \toprule .. .. \bottomrule \end{tabular} As you can see, it ...
8
votes
1answer
128 views

Use non-breaking space after name initials with biblatex macros

I want to enforce biber/biblatex to place non-breaking spaces between initials and last names of authors. Example: \documentclass{article} \usepackage[backend=biber,natbib=true]{biblatex} ...
7
votes
2answers
263 views

Precisely placing a letter on another with tikz

I'm trying to design a logo using tikz although I'm a total beginner. I pretty much would like to show 2 capital letters each with a lowercase letter placed on it's vertical leg. I tried ...
1
vote
0answers
73 views

Spacing of fractions in TeX Gyre Pagella Math

Using TeX Gyre Pagella Math with xelatex, some objects like \frac12 just seem way too large compared to the rest of the equations. Have a look: In the first line, the numerator looks like it's ...
0
votes
0answers
43 views

Too much empty space after “verse” environment due to long footnote

I have a paper in which a section starts with a series of 4 verses (in the verse environment), and the first line following the verse environment has an extremely long footnote. The problem is that ...
2
votes
0answers
40 views

Having the same amount of space with and without multicol when using with titlesec and itemize

I am trying to use multicol and itemize to spread a list over several columns. I am also using titlesec to style my headings. One part of my document uses multicol and the other does not and both have ...
2
votes
1answer
26 views

Start text on second page (without \chapter) at same position as on first page (with \chapter)

This MWE shows what I am trying: % arara: pdflatex \documentclass[oneside]{book} \usepackage{color} \begin{document}% \chapter*{A}% Some text% \clearpage% \vspace*{-1pt}% ...
6
votes
2answers
161 views

Remove padding in table with images

I have a table with 2 small images in each cell. I reduced the horisontal padding with \setlength{\tabcolsep}{0pt} But I still have a white vertical space between a table separation line and images ...
4
votes
1answer
238 views

remove space between paper title and abstract in AAAI

I want to remove the space between the title and abstract (marked as red box in the following pic) to save some space for my paper, I've seen some similar questions and people suggest using /vspace, I ...
4
votes
2answers
39 views

vspace mysteriously being inserted after nested custom environment

I have created my own environment that creates a table using tabu and then puts some vertical space after it, unless my environment is being nested, in which case I want it to skip the vertical space. ...
4
votes
2answers
301 views

LyX is leaving a big gap between paragraphs in the place where float (figure) should be

I just want to ask about why is LyX leaving a big gap between paragraphs surrounding a figure?. Not all paragraphs, but only between those paragraphs where I inserted a float (figure). The figure is ...
0
votes
0answers
39 views

Reduce vertical space between large table and text located above to fit in the same page

I need to fit one portion of text and threeparttable (fixed position in the manuscript) underneath, on a single page but I am not being able to. The table is large and would only fit in one page. One ...
1
vote
1answer
151 views

Space and Position in Cover Letter Title

I attached my code for my cover letter of one job, and the picture of compiled pdf below. Can anyone help me accomplish the following things: How to make my Name show on the left with certain nice ...
3
votes
3answers
92 views

How can I split this equation?

Does anyone know how to split this equation in two lines? \begin{equation*} \iint_S \eta = \iint_S \left[F(x(u,v), y(u,v), z(u,v)) \ \frac{\partial(x,y)}{\partial(u,v)} + G(x(u,v), y(u,v), z(u,v)) \ ...
0
votes
0answers
37 views

Missing space after “ø” \o [duplicate]

I am writing a German text with some Scandinavian names which include characters like ø. In one case the ø is at the end of the word and the following whitespace is ignored. MWE: ...
4
votes
1answer
143 views

Change vertical space in overset

How can I decrease the space in overset? I found this solution online, but it doesn't look quite like the original overset (note I know it is difficult to come up with a solution to handle all cases ...
2
votes
1answer
54 views

Something like \hfill with pstricks and XeTeX

I have a line of text in a pspicture environment and I need to distribute the words in a way like \hfill could do. Here is an image of what I want: I currently have this minimal example ...
5
votes
2answers
82 views

Extra space in command created

Consider the following answer given by @egreg which can be found at http://tex.stackexchange.com/a/111043/10898 Why is an extra 6.799999pt space created when you issue a command like ...
4
votes
0answers
83 views

Wrong vertical alignment using mdframed with tight margins

When using the mdframed environment with absolutely tight margins (all set 0pt), there is too much negative vertical space of split md-frames that are placed at the top of a page. To illustrate this, ...
7
votes
2answers
139 views

Unwanted vertical separation between tcolorboxes

I am trying to make printer labels for the spine of ring binders. The text is designed to be printed on label paper sheets with A4 format, having top and bottom margins of 26.5mm and left/right ...
1
vote
1answer
43 views

Upright text in math mode for chemical elements [duplicate]

I have a line as follows: \documentclass[a4paper]{article} \usepackage{siunitx} \begin{document} {$d_{(O_{1}-Zn/Mg)}(\SI{}{\angstrom})$ \end{document} showing: I don't want the letters to be ...
2
votes
1answer
62 views

Too much vertical space after long section title using titlesec

I'm using titlesec to change the style of my section titles. Sometimes, when the title is long, but just short enough to fit on one line, some extra vertical spaces is add. The following MWE ...
1
vote
1answer
39 views

Fix the value of the vertical space before/after \Large

Is there any way to fix the value of the vertical space before and after {\Large ...} to be 1.0em? Sometimes I use {\Large ...} just after or before a theorem and the theorem spacing requirements seem ...
2
votes
1answer
116 views

Reducing space between first and last name in casual moderncv template

I'm converting my resume into the moderncv casual template. I came across a couple examples of this template in action that I quite liked. However, when I started using it, I noticed the space between ...
6
votes
1answer
63 views

Spacing after first line with titlesec using runin option in titleformat

I'm using the titlesec package to format my (sub)section titles. I'd like to use the runin option in \titleformat to place my subsections titles within the first paragraph of each subsection. However, ...
4
votes
1answer
66 views

equal column spacing in longtable

Does anyone know how to get equal spacing between columns in longtable? My code is attached below. Thanks. Franz \documentclass[12pt,a4paper]{article} \usepackage[latin1]{inputenc} ...
0
votes
0answers
97 views

Page-specific \nomlabelwidth in nomenclature

In order to keep symbols and descriptions in a nomenclature with the nomencl package vertically aligned, \nomlabelwidth has to be set to the maximal symbol width. This has effect on the whole ...
5
votes
2answers
72 views

Default value of the space between rows in a tabular environment

Consider the following MWE. \documentclass[12pt]{report} \usepackage[francais]{babel} \usepackage[utf8]{inputenc} \begin{document} \vspace*{\fill} \begin{tabular}{l} \textbf{« Ah ! comme la ...
2
votes
1answer
63 views

Double vertical spacing : how to fix this?

Consider the following : \documentclass[12pt]{report} \usepackage{amsmath, amssymb, amsthm} \usepackage{lipsum} \usepackage{tikz} \usetikzlibrary{shadows} ...
6
votes
2answers
141 views

phantom wrapper of a word around a shorter one

It would be very handy for me if I could write something like: \phantomwrapper{long word or text that fits in one line}{shorter text} and the phantomwrapper would create just the amount of ...
7
votes
2answers
184 views

How much space is a line, vertically?

How much space is a line, vertically ? E.g. something like "1.5em" ?
4
votes
1answer
50 views

Remove whitespace after item in description

how can I remove the whitespace after the item in the description? Example: this code: \begin{description} \item[First]\footnote{Here goes the footnote} lorem ipsum ... \item[Second], which is my ...
5
votes
1answer
76 views

Redefine \middle| to insert space before and after itself

I want to use \middle| inside of brackets like this. \documentclass{article} \begin{document} \begin{equation} \left\{\frac{1}{n} \middle| n>0\right\} \end{equation} \end{document} ...
7
votes
1answer
117 views

Removing blank space above bibliography items

How do I properly remove the space above bibliography inserted without the respective caption? Please see the screenshot below with the inconsistent spaces being delimited by red lines. Two-column ...
3
votes
1answer
59 views

Indentation of list in a theorem environment

Typically, the body in a theorem environment begins on the same line as the heading. If the text begins with a list, the first line looks a little funny due to the indentation before the label. I'm ...
0
votes
0answers
51 views

Spacing between superscript and left parenthesis

I'm wondering why Latex adds an extra space between a superscript and the left parenthesis as in this case \documentclass{article} \usepackage{amsmath} \let\originalleft\left \let\originalright\right ...