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

0
votes
0answers
4 views

Two large gaps between equations or paragraphs

I am using a specific preamble for my thesis, a preamble which I cannot say I completely understand. Sometimes large gaps appear between paragraphs or between text and math equations although there is ...
0
votes
0answers
14 views

Why <space> is ignored after a block and esc-<space> is not?

My setup: web2cTeX (TeX Live). Consider these two files, which are supposed to produce the same output. --- file1.tex --- \centerline{ab}\ % cd \bye --- file2.tex --- \centerline{ab} % cd \bye ...
0
votes
2answers
42 views

Image covers whole of a column and not at desired location

I am new to Latex and want to insert a figure into my document. I used following commands: \begin{figure}[hbtp] \centering \includegraphics[scale=0.5]{PTS.eps} \caption{Figure PTS} \end{figure} ...
14
votes
0answers
205 views
+50

siunitx disturbs spacing of \, in math with xelatex

In the following example - compiled with XeLaTeX - the spacing of \thinspacing/the value of mu (used by \,) is disturbed if \SI is used in the math before: \documentclass{article} ...
6
votes
2answers
98 views

@{} removing the vertical line for the header row of table

I'd like to remove the horizontal spacing between the text and table lines. I am using @{}, but it removes the vertical line of the table for the first row. Does anyone know why? ...
1
vote
1answer
31 views

Alignment of CV Reference in ModernCV

I'm using the latex template for CV from here CV Template. For reference, I added these lines \newcommand{\cvdoublecolumn}[2]{% \cvline{}{% ...
6
votes
3answers
184 views

I want a really small underbrace

This question is related to, but distinct from Oversized \underbrace's label causes unwanted spacing. My issue isn't with the spacing of the label, but with the size of the underbrace itself. ...
5
votes
1answer
57 views

Why does hanging indent with \everypar mess up table spacing?

I'm trying to add a hanging indent to every paragraph of a particular column of a table: \documentclass{article} \usepackage{array} ...
3
votes
1answer
17 views

unwanted vertical spacing in supertabular with babel

I have a question regarding supertabular and babel. Whenever I'm using different language specifications inside a cell, there is a slight vertical space, which is not there when there is no language ...
3
votes
1answer
37 views

Spacing issue in subfigure/tikzpicture when labelling arcs

I have two simple graphs side by side that align perfectly when the arcs are not labeled, but as soon as I add the labels I get a spacing issue where there is a space between the second figure and its ...
1
vote
0answers
25 views

Problem Using \hfill to Justify Text [duplicate]

I am writing a resume using the scrartcl,currvita, and classicthesis packages. Everything else is fine but I have run into a problem correctly justifying some dates along the right side of the page. ...
4
votes
1answer
58 views

Why is the spacing different after a multiline array environment?

My goal is to get equal line spacing between text and array environments. This mostly works without any modification, except for one case: If the array environment consists of more than one line, the ...
5
votes
2answers
102 views

Left-justified text forced to the right

I am creating a letterhead or other heading to be used at the top of invoices and the like and am having an issue with the spacing of one element: \documentclass[12pt]{article} ...
0
votes
0answers
23 views

How to set a spacing parameter in customized list?

I am using the following code to generate my own list: \newlist{mylist}{itemize}{1} \setlist[mylist]{label=\textbullet} and am not sure how to introduce a spacing parameter there, like something ...
1
vote
1answer
54 views

How to set the spacing before and after of section headings to a fixed value of 1.5cm?

In this code, i want the spacing before and after of my section, subsection, and subsubsection headings to be exactly 1.5cm regardless of the font size or my line spacing. How can i do this? I know ...
1
vote
1answer
37 views

Remove white space from empty nodel label in tikz-qtree?

With empty nodes in tikz-qtree how do I remove the white space where the node label usually appears? In the following example I want to remove the white space for the node under Foot 3. ...
1
vote
0answers
34 views

Zero space between bars of the same interval in pgfplots ybar interval plots

I need a bar plot (containing multiple \addplot) with following requirements: ticks between x labels (and, in this respect, my question differs from Adjusting width of ybar interval separator to ...
0
votes
2answers
82 views

fixing a diagram in Homework Problem Sheet

could someone make this homework problem looks good-looking here is my code \documentclass[12pt]{article} \usepackage[pass]{geometry}% just to show the page margins \usepackage{tikz} ...
2
votes
2answers
46 views

Spacing between equation and text

How do I create a space for this statement: I want to have some space between less than 0 and the for $x^{*} \neq$. This the code that I'm using: Lastly, the comparative static of $x^*$ w.r.t ...
17
votes
4answers
937 views

Todo note steals space

I'm writing a larger document and I use the todonotes package to add reminders. For some reason, when I add a note, the space after the note's insertion point is removed. Here's minimal example: ...
10
votes
2answers
337 views

Trimming whitespace around text (like LTRIM, RTRIM and TRIM)

When working in Excel with text strings, it is convenient to use the LTRIM, RTRIM and TRIM functions which removes white space around text string. What would be an efficient way of duplicating this in ...
1
vote
1answer
50 views

Adjusting spacing around section/subsection titles with koma-script

With the KOMA-script scrreprt class the vertical spacing before and after chapter titles can be adjusted the following way: \renewcommand*{\chapterheadstartvskip}{\vspace*{0cm}} ...
5
votes
1answer
107 views

KOMA script and amsthm: Space lost before and after theorems

I am having a problem similar to this and this, but without using parskip, and only after a recent package update. The MWE \documentclass{scrartcl} \usepackage{amsmath,amsthm} \theoremstyle{plain} ...
3
votes
2answers
42 views

LaTeX: Text/Parbox at bottom of page

I have a problem similar to this question, but slightly more involved. I need for the parbox in my example to always appear at the bottom of the page, regardless of whether TeX places it on a page by ...
12
votes
3answers
227 views

Underbrace changing spacing of operators

I have found that using an \underbrace on a term in an equation causes the spacing of the following terms to be changed, in particular, the + is moved closer to the \dot{m}. This seems to be distinct ...
13
votes
2answers
14k views

Remove vertical space at start of latex document

I have this test file which is supposed to put Hello there. near the top of the page but it does not work in so far as there is still tons of vertical space at top. How can I fix this? ...
0
votes
0answers
19 views

Undesired space before the section title when a figure is inserted after the section title

After I used a template, Latex gives me a lot of white space before the section title because a figure is inserted after the first paragraph of the section. I used [H] as the floating parameter for ...
55
votes
17answers
18k views

Squeezing scientific paper to fit within page limits

I am submitting a paper to a conference that has a limit of 10 pages. I have edited and edited the text, but the paper still fills 11 pages, and I am reluctant to remove anything. What tricks can I ...
9
votes
1answer
273 views

Microtype and word spacing

I'm trying to change the default word spacing for some font. I know 2 ways to do it: setting \fontdimens or \spaceskip. With these approaches and microtype's \textls I get two different results, ...
3
votes
0answers
71 views

Changing top margin for second page only? \vspace inserts extra whitespace

I am trying to format a LaTex template for pandoc output from .md to pdf. The document is for lengthy university papers requiring very specific layout. The majority of the paper has 1 in margins all ...
4
votes
1answer
58 views

xspace leaves space in front of comment

I am confused by the behaviour of \xspace in combination with the \todo command. I didn't expect \xspace to leave a space when I cut off all spaces by a comment sign %. Usually this works as expected, ...
2
votes
1answer
46 views

Arrows to text above and below line

I have been searching for an answer for some time but have not come across a solution. I am taking some notes from a programming course and need to take a line of code and identify each individual ...
4
votes
1answer
37 views

Why the redundant adding and subtracting inside space commands? [duplicate]

Why do some commands like \titlespacing*{\section}{0pt}{5.5mm plus 1mm minus .2mm}{4.3mm plus .2mm} have this strange adding and subtracting for length. I.e. why not write 6.3mm instead of ...
2
votes
0answers
38 views

Beamer: Extra vertical space with \visible

This is related to How to get rid of height differences in two beamer blocks? I'm curious why overlay commands \visible (and \invisible, \uncover, \onslide) would add an extra vertical space ...
2
votes
1answer
27 views

Can tex4ht support square justified text with different line spacings?

Can tex4ht support square justified text and can I specify different line spacings (1, 1.15, 1.5, 2 etc.)? Sloppypar allows me to square justify my paragraphs in a pdf but the html file in a web ...
2
votes
2answers
45 views

Spacing our vertical addition

I am trying to type up some linear algebra notes and I am trying to show the vertical addition of 2 equations. Right now I have \begin{flalign*} && \cancel{6u} + v &= 5 && \\ ...
1
vote
1answer
33 views

How to add some extra spacing between two paragraphs in ConTeXt?

I've set up inter-paragraph spacing for a ConTeXt document but in-between two specific paragraphs, I'd like to have some extra spacing. About 1 inch. In LaTeX I'd use \vspace{1in}. What is the command ...
3
votes
1answer
37 views

Center 3 text elements on one line in latex

I am new to LaTeX and trying to write my first resume. I want to list my contact info and right now I am doing this by using \hfill. The problem is that \hfill equalizes the spacing but I want the ...
7
votes
1answer
171 views

Stretching vertical space to evenly fit a part of the document within minimal number of pages

I typeset a book containing musical pieces using LaTeX and LilyPond (using lilypond-book). Each piece starts in a new page, and can be from less than a single page up to several pages long. I want ...
5
votes
2answers
61 views

Brackets spanning multiple lines in a single column inside table

I would like to typeset round brackets so that they span multiple lines inside a tabular environment, but only for a specific column. In the example below, I would like the brackets to appear around ...
0
votes
0answers
27 views

biblography and spacing

i m adding references in notepad++ and sending a call to the notepad++ by referencing it at bottom of my latex doc. my question is i want that references should be displayed in MLA/APA style. kindly ...
1
vote
0answers
43 views

how to reset spacing, using the package of bu_ece_thesis.sty

I am a new user of SWP 5.5 (Scientific Workplace). I am writing thesis. For simplicity, I directly used the template of "Boston University ECE" (File-new-thesis-Boston University ECE). Now I want to ...
1
vote
1answer
39 views

Classicthesis remove cleardoublepage after part

I am trying to remove the double page break after the start of each part in classicthesis v4.1. I believe I need to modify the following code on lines 376-381 of classicthesis.sty: ...
0
votes
0answers
18 views

sig-alternate.cls generates too much space at page bottom

I am using the ACM tex template sig-alternate.cls downloaded from this page, Option 2: LaTeX2e - Tighter Alternate style. This page provides the minimum working environment, including files in the ...
2
votes
2answers
54 views

How can I format this in lyx?

I'm trying to format a confusion matrix in lyx. I want the data to look like this. a b c d e f g <-- classified as 1 5 10 8 4 2 0 | a = 3 3 ...
5
votes
3answers
168 views

Vertically centering a set of tabbed graphics

I have a lot of different graphics in three versions each. All those versions have a fixed width and I want those three versions to be displayed next to each other. So far, I've used a tabbing ...
0
votes
1answer
35 views

Caption/Space problem in tikz/pgf/subcaptionbox

I plot 4 Graphs with Tikz and use subcaptionbox. Following badnesses occur: (1) There is no space between the caption of the upper figure to the figure below. (2) The second figures (b) caption ...
4
votes
2answers
77 views

Spacing between several superscripts mboxes

I'm getting a small extra space between two superscripts in separate math objects. MVE: \documentclass{article} \begin{document} zz$\mbox{zz}^{\mbox{a,a,}}$$^{\mbox{a,a}}$ \end{document} ...
2
votes
1answer
29 views

Have paragraphs with spacing between them inside “flushleft”

In my LaTeX document, I'd like to have two paragraphs which are separated by some smaller vertical spacing. When I use the following code, this works just as intended, automatically: ...
1
vote
1answer
59 views

Rotated Text in Table Extending into Rows in Lyx

I'm trying to create a table with some rotated text in it, but the rotated text is extending into the rows below the cell, as shown here: Here is what my screen looks like in Lyx: I've tried ...