{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
148 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 ...
3
votes
2answers
87 views

Bad Bottom Spacing For Equation After Section

As shown below the bottom spacing after the first equation is smaller than it should be to look right. I know I could manually add space, but is there a way to fix this automatically? I do know I ...
4
votes
4answers
142 views

How to horizontally align two or more random places of a document?

I would like to find a way to horizontally align any two or more random places of my document (but probably on the same page or not too far from each other). It's a bit like the second column of a ...
4
votes
1answer
18 views

tex4ht discards added spaces

tex4ht discards the added spaces in this document when converting to .odt format (pdflatex file && mk4ht oolatex file). Is there a way to write spacing commands that tex4ht will preserve? ...
0
votes
0answers
41 views

How to remove unwanted vertical space between paragraphs in Classicthesis LyX Version

I am using the latest Lyx version of classicthesis: classicthesis-LyX-v4.2_biblatex_bibtex8. It seems that whenever there is a section or subsection, subsubsection title as a first line in the next ...
0
votes
0answers
27 views

Long Math equations cause unwanted vertical paragraph spaces in the previous page in Classicthesis LyX version

This issue is identified as the cause for my previous question about unwanted space. In short, since the equation is about 1/3 pages long, it causes stretching in paragraphs and consequently leaves ...
11
votes
1answer
819 views

How to colour \hrule

I am trying to display a coloured \hrule. This discussion implies wrapping the \hrule in a \textcolor should do, but that adds an ugly extra vertical space above the \hrule. Other questions on ...
3
votes
2answers
47 views

Strange blockarray vertical spacing

My first question here... Typesetting the code \documentclass{beamer} \usepackage{blkarray} \begin{document} \begin{equation} \begin{blockarray}{[ccc]} 1 & 2 \\ 3 & 4 \\ 5 ...
3
votes
1answer
69 views

How do I set the word spacing when using a specific font with fontspec?

I have a custom font that I use, but the words are always too close together. Can I fix this so that whenever this font is used, the spacing is the same? Something in em or similar would be great. I'm ...
2
votes
2answers
38 views

Why is \setlength ineffective inside a tabular environment?

Why is \setlength ineffective inside a tabular environment? Here is an MWE: \documentclass{article} \newlength{\globallength} \newlength{\locallength} \begin{document} ...
1
vote
1answer
82 views

How to remove unwanted spaces above and below equations in classicthesis in LyX

I am using latest LyX version of classicthesis template. When I import the latex code converted by word-to-latex into LyX, there are unwanted space above and below each equation (usually two extra ...
4
votes
0answers
72 views

Getting negative vspace to behave

My TeX code (including parameters in command definitions) that creates lyrics sheets and chord sheets of songs is generated dynamically by other code accessing database data and processing it line by ...
0
votes
0answers
29 views

Increase ntheorem break style spacing between header and body text

I just noticed that, when using the break style, the spacing between the header and the body of an ntheorem environment does not stretch according to the height of the immediate text, even though the ...
13
votes
2answers
14k views

Beamer: Removing headline and its space on a single frame (for plan), but keeping the footline

There is now 4 hours that I'm Googling to found a solution to my problem but it's still impossible! Here is the situation: I have some frames in a presentation using the Warsaw theme, on the first ...
1
vote
2answers
38 views

Overfull and underfull boxes when using twoside documents and fancy headers

I am facing some problems with underfull vbox and overfull hbox while \output is active. When I am using the document class like: \documentclass[a4paper, 12pt]{report}, I got no messages about any ...
3
votes
1answer
30 views

How to remove indentation and vertical spaces in list in a table?

I am trying to make a CV and there is a section where I want to list the projects I have done with bullets, so I use itemize list inside a tabularx environment like this: ...
1
vote
1answer
37 views

Make column widths of multiple matrix columns equal

I have some gauss matrices in an align* environment, like this: \documentclass{article} \usepackage{amsmath} \usepackage{gauss} \newcommand{\BAR}{% \hspace{-\arraycolsep}% \strut\vrule % the ...
0
votes
1answer
36 views

Incorrect vertical white space between paragraphs due to figure

When inserting a figure in my latex document at a position where the figure cannot be placed precisely (e.g. at the bottom of a page in the pdf document), Latex nevertheless inserts white space ...
2
votes
1answer
37 views

Modifying the enumerate spacing

I often type \itemsep1pt \parskip0pt \parsep0pt after every instance of \begin{enumerate} to adhere to the spacing of the rest of the document. How can I define a new environment that keeps all ...
0
votes
1answer
41 views

word spacing in fraction [duplicate]

I want to have 2 separate words in a fraction (numerator & denominator), however, LaTeX would keep them together with no space. I'm using the amsmath package. And this is the line of the code: ...
3
votes
1answer
231 views

Spacing between multiple choice question in examdesign documentclass

Is there a way to control the spacing between multiple choice questions using the examdesign documentclass? So far I've only been able to do it by manually adding space after the last alternative, but ...
7
votes
3answers
884 views

how to eliminate the horizontal spacing of the frame in the framed package?

I'm using the framed package and I found it difficult to adjust the width of a frame to adapt to the current environment, e.g. if I use a shaded environment within the enumerate environment, I will ...
0
votes
1answer
61 views

Modifying spacing in the list of figures

I am having difficulties with some line spacing in my list of figures. I am writing a thesis and the requirements for the list of figures table is to have double spacing between entries. If an entry ...
1
vote
0answers
21 views

Latex, moving specific parts of texts to column / forcing not to skip to new page

probably a stupid question, but something I haven't really been able to find a solution to. I've been working on a project and I can't seem to be able to get it to display how I want. Is there any way ...
2
votes
2answers
131 views

Unwanted space around punctuation in copied & pasted listing

When I compile the .tex file below into .pdf using rubber -d mwe.tex and try to copy & paste the contents of the listing, I get spaces around . characters that were not present in the original ...
2
votes
1answer
50 views

Spacing: Align vs. Equation

Can anybody explain where the extra spacing comes from when using an align instead of a equation? And does anybody know how to remove it? \documentclass{article} \usepackage{amsmath} ...
0
votes
1answer
28 views

Distinguish \columnsep for twocolumn and wrapfigure

As far as I understand, the length \columnsep is used both for the gap between columns in a twocolumn document and for the space around a wrapfigure. How can I change the space between columns, but ...
6
votes
1answer
47 views

Keep babel's automatic spacing in \newcommand

In French, there's a narrow non-breaking space before ":". These are automatically added by the babel package, of course. However, I noticed something strange: the following macro ...
2
votes
1answer
51 views

Single spacing in todonotes with Elsarticle Class

I would like to know how I can use single spacing (\singlespacing) in todonotes, considering Elsarticle Class, because I always get an error message about paragraph? Following a minimal example: ...
0
votes
0answers
19 views

Squeezing inter-paragraph space with the ACM proceedings document class

I'm using the ACM proceedings SP document class for a conference submission. I'm noticing that the inter-paragraphs vertical space is quite large (I don't mean \paragraph's, just paragraphs). Now, in ...
19
votes
2answers
40k views

Inserting a specific number of blank lines

I'm new to LaTeX and trying to format my Honors Thesis, which has very specific formatting rules to prepare the manuscript for publication. For instance, on the Abstract page, I am required to place 3 ...
3
votes
1answer
28 views

Tabular row spacing

first my code for creating the table: \documentclass{report} \usepackage{booktabs} \usepackage{multirow} \begin{document} \begin{table}[!ht] \begin{tabular}{lccc} \textbf{Cases} & ...
2
votes
1answer
31 views

Aligning at top- Minipage

I referred the previous questions on aligning at the top when using a minipage. However, still could not solve the problem. I am guessing that there is some other problem in my code. The reduced ...
11
votes
5answers
427 views

Bump right-aligned text to next line iff no room

I a chat discussion it was suggested that \hspace*{\fill} (with a space before it to allow for a line break) was sufficient to always get the text following aligned to the right. And indeed, it is ...
7
votes
0answers
78 views

Why equation Recognizes section Above While aligned Does Not

I am placing equations either right after section headings, right before them or both. I know that this is not advised, but I do believe in my context it looks better. One interesting thing I noticed ...
0
votes
0answers
25 views

Double spacing, not in titles [duplicate]

I aim to write paragraphs with double spaces lines, so I decided to use the setspace package : \usepackage{setspace} \doublespacing But the result is that even in titles, figures, nearly ...
0
votes
0answers
20 views

How do I insert a space that is the same width as another element (e.g. a minus sign?) [duplicate]

I have a rotational transform equation that I want to typeset $$\begin{bmatrix}x_d \cr x_q\end{bmatrix} = \begin{bmatrix}+\cos \theta_e & \sin \theta_e \cr -\sin \theta_e & ...
6
votes
4answers
2k views

Chords & lyrics, songbook

I'd like to make something like a songbook - just chords and lyrics. I have found several packages, but I also wanted to improve my TeXing skills by making my own commands/environmnets etc. Now I am ...
1
vote
0answers
34 views

Count Characters without Spaces

I'm writing my BSc thesis right now in LaTeX using texmaker. The maximum amount of characters (without spaces) for the thesis is 70'000. Is there a decent way to count this? Copy-pasting it into Word ...
0
votes
2answers
77 views

wrapfigure at the bottom - no white space below wrapfigure

I want to place some figures at the left or right side of my book resulting into a reduced column width for the text. So I am using wrapfigure environment with number of narrow lines of 40. By this ...
2
votes
1answer
41 views

Tabular with prescribed width and options

My purpose is to reproduce this document : I want to create a tabular, but I want the first column to be, for example, of 6 centimeters in width. Other point : sometimes I need a lot of room in a ...
1
vote
1answer
58 views

Unsatisfying visualization - Tick labels touching each other

On the bottom right part of the added picture you see that the x and y tick labels are almost touching each other. Which isn't really beautiful in my opinion. Are there any good solutions of this ...
2
votes
2answers
89 views

Making a text box replace a \vspace

I have an enumerate list that has it's items separated by a \vspace {1 in}. Each \item is a question that needs to be answered within that space, and, I want to create a "possible answers sheet", ...
3
votes
1answer
62 views

How to get uniform spacing between paragraphs across several pages?

I am using \flushbottom to get pages of equal height. When I now insert a tcolorbox which is set to be unbreakable such that a page break becomes necessary, only the spaces between paragraphs on the ...
2
votes
1answer
31 views

Why does combining arrays and \left/\right cause alignment?

The following MWE is rendered as shown below: \documentclass{article} \begin{document} \begin{array}[t]{@{}l@{}} \left[\int abc\right]\\ \left[abc\right] \end{array} \end{document} Why ...
2
votes
1answer
173 views

Different positions of headers and footers in different pages

I could not figured out why I'm getting different positions of headers and footers in different pages (please see MWE below). Any help in this regard will be highly appreciated. Thanks ...
1
vote
0answers
24 views

Space ending at a pre-set position

I will start by saying that defining the problem I would like to solve is not really easy...I guess it could be called 'Tabular without tabular environment' but the best description is IMHO the ...
8
votes
2answers
332 views

Inconsistent superscript placement in $q_x^{n_x} q_y^{n_y}$

As part of a document, I am typesetting the objects q_x^{n_x} and q_y^{n_y} right next to each other, as \frac{ q_x^{n_x} q_y^{n_y} }{2} It bugs me that the n_y gets displayed at a different ...
13
votes
4answers
2k views

Add asterisk after labels in enumerate

I would like to add an asterisk after certain labels in the enumerate environment. So for example \documentclass{article} \begin{document} \begin{enumerate} \item Kuttel \item* Daddeldu ...
2
votes
1answer
29 views

Wrap part title in part's page with titleformat

I am using titleformat to make some adjustments in the part's page and I want to wrap the title in half, to be centered as a text, but on the right side of the page. Any ideas? This is my code ...