{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
28 views

Line with a \hbox is overflowing right margin, why?

Let's say I have a hbox inside a paragraph like this: Do you like me? \hfill\hbox{\quad$\bigcirc$ Yes\quad$\bigcirc$ No}. If the text of the question is longer than this "Do you like me?", the line ...
2
votes
2answers
70 views

How to reset the space between the label and the content of the item

As described above, I need to enlarge the space between the label and the content of the item of the section of Table of content (\l@part to be exact). and I typed the command ...
3
votes
2answers
39 views

spacing between symbols in math mode

The following code will \begingroup \everymath{\displaystyle} \scriptsize $XXXXXXX(XXXX(A,B,C),XXXX(D,E,F)) \leftarrow XXXXXX(A,B,C) \wedge XXXXXX(D,E,F) \wedge XXXXX(XX(A,B),XX(D,E)) \wedge ...
1
vote
0answers
45 views

Conditional spacing based on length of chapter title

In LaTeX, (or possibly XeLaTeX), how can one achieve the following: A double spacing a 1- or 2-line chapter title, and single spacing under a 3- or more-line chapter title. A triple space ...
7
votes
2answers
226 views

Typography: floating vs inline illustrations

I understand the use and purpose of floats containing figures and tables. It makes a lot of sense if you think about the overall aesthetics of the page. However I find the graphical distance between ...
10
votes
1answer
90 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 ...
6
votes
2answers
95 views

Standalone: unique page per equation without white space

I'd like to create a document with several formulas and each formula is supposed to stand alone on a page. Here is an example: \documentclass[preview,varwidth ,multi,border=1pt]{standalone} ...
1
vote
1answer
83 views

Is there any possibility of decreasing extra space before the equation when line nearly breaks in the following?

\documentclass[11pt,a4paper]{article} \usepackage{blindtext} \usepackage{amsmath} \begin{document} Preliminary Theorem 1.1.2. If $(\lambda_1,...,\lambda_n)$, $(\mu_1,...,\mu_n)$, and $(k_1,...,k_n)$ ...
3
votes
1answer
106 views

Line spacing in ToC, LoF, and LoT

I am currently writing my thesis in Latex and the thesis is supposed to be double spaced, so I have used the \doublespacing command in my latex file. The problem: Chapter or Section Titles, Figure ...
3
votes
2answers
45 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 ...
0
votes
2answers
35 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
1answer
119 views

Formatting figures on a single page without leaving space at the bottom

When Using 6 figures in a single page, I am forced to make figures small. But, this arrangement leaves a lot of empty space at the bottom. How to enlarge image without having to move them to different ...
2
votes
1answer
75 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
69 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 ...
5
votes
2answers
66 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 ...
1
vote
0answers
24 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, ...
13
votes
2answers
62k views

Adding tabs or creating my own command

I have a problem adding tabs and I can't use a tabular environments (like tabular or tabbing) because I can't mix it with enumerate environments. Is there a way to add a simgle tab like in any text ...
0
votes
0answers
15 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
47 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
0answers
30 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
47 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 ...
0
votes
1answer
106 views

Vertical space in TOC (references entry)

The references entry has a vertical space in the TOC page, something like that How could I remove this space and make the references section just like a chapter in the TOC?? I'm using the memoir ...
2
votes
3answers
150 views

Space after comma in units package

I have a problem with using the units package. In my thesis I used it sometimes in math environment, sometimes not. Now I realized that there is an addition space after the comma in math mode. I think ...
2
votes
2answers
147 views

Vertical space between matrices

I am writing some lecture notes in Econometrics and I want your advice on how to insert some vertical space between two matrices so the result will be easier to follow. Here is the minimal example: ...
0
votes
0answers
56 views

Strange spacing of inline math formular within center [closed]

I am creating my own document class and recognized a strange behavior: When I put an inline formular into a center environment, there is some additional space around operators/relations. There are no ...
8
votes
1answer
87 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} ...
2
votes
3answers
39 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 ...
3
votes
2answers
87 views

LaTeX table of contents header spacing

Here is my issue. The code below, which I found on a pdf devoted to memoir class title pages, compiles to form this: Unfortunately, the Table of Contents is a bit too low for my liking. I'm hoping ...
20
votes
3answers
2k views

biblatex: Putting thin spaces between initials

This question led to a new feature in a package: biblatex Robert Bringhurst, The Elements of Typographic Style, rule 2.1.5 states "Add little or no space within strings of initials." If ...
1
vote
1answer
68 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 ...
7
votes
2answers
225 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 ...
3
votes
1answer
30 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
28 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 ...
0
votes
0answers
38 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 ...
4
votes
3answers
193 views

First column of multicol lower than the rest

Using the multicol package, I get a layout like this: I would like all columns to be aligned properly. I have tried using tables and arrays, but they won't allow my equations to be numbered. (I need ...
1
vote
0answers
37 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 ...
4
votes
2answers
91 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 ...
2
votes
0answers
28 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
24 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
103 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 ...
1
vote
2answers
109 views

Itemize and alignment of text

I would like to look my text like this: \item Parameter and the text should continue at the same "tab space" \item Variable so it looks like this Can seem to find an easy way to do this. ...
4
votes
1answer
81 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 ...
9
votes
1answer
2k views

Blank lines in align environment

Is there a way to insert a blank line between two equations in align environment? From what I understand a blank line is interpreted as \par and \par is not allowed in align. Can I disable this ...
8
votes
2answers
299 views

Set indentation of choice in exam documentclass

I want to create an multiple choices question with this indenting format 1. ######## A. ### B. ### C. ### 2. ######## ######## A. ### B. ### C. ### The choices have same ...
15
votes
3answers
4k views

Phantom spaces in listings (pdf)

I have a problem with SQL code in a PDF document. For code representation I'm using the listings package. Everything works perfect until I copy-paste that code from the created PDF document. I get ...
4
votes
2answers
34 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. ...
0
votes
0answers
32 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
59 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 ...
32
votes
3answers
1k views

Removing the spaces between words

Is there any way to remove spaces from in between the words in a text? Something like \RemoveSpaces{This is my sentence.} which will be converted to Thisismysentence.
6
votes
1answer
138 views

Keywords with spaces in Listings

I want spaced keywords in listings (that is, keyword, with spaces in between). Now, there are some questions in this site already answered, like this one, where the official answer is that “it is not ...