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

spaces in references in pdf view

I am using book document when I view my work on pdf, some of references looks like this with spaces. how to avoid them? Can I change "bibliography" to "references"?
1
vote
1answer
39 views

Remove top space from lstlisting inside tabular

I have the following problem. lstlisting seems to add an extra space before and after the code. Is there a way to remove it ? I would like to remove the blank spaces before and after the code : "...
2
votes
1answer
35 views

Turn off the effect that the space between words are expanded to fit the columns

Currently I have the my draft of poster as below: \documentclass[a2]{sciposter} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{enumitem} \usepackage{amssymb} \usepackage{graphicx} \...
0
votes
0answers
29 views

Header / Footer space on indexes

I really tried to find the answer by using google. The problem is that I don't know how to properly express my question. On the first Page of my Index I have way more space in the header and way to ...
1
vote
1answer
49 views

Have new lines after paragraphs but not after headings in LaTex?

I wish to follow the convention of marking paragraph breaks with a line break as opposed to the LaTex default of an indent. However I do not wish to have a new line after section headings. Previous ...
1
vote
0answers
50 views

Distance between header and text

I'm having a big problem with my Latex document. I've never used Latex before but till now it's going fine. So here is my problem: the distance between the text and the headline is too large, but ...
3
votes
0answers
45 views

Remove spaces between various elements

I am trying to remove the space between the elements that I show in the following image. The space I talk about is denoted by the gray line (that line is not produced by LaTeX, it is merely a way to ...
1
vote
1answer
40 views

Vertical space between chapter number and chapter title using sectsty

I am using sectsty to format my chapter titles, but I want the vertical space between Chapter # and Chapter Title gone, and I can't find a way to do it without losing the styles applied by sectsty. ...
2
votes
2answers
42 views

Vertical space before new section on new page begins

How can you create vertical space before a new section on a new page begins? Using vspace or bigskip does not work. Example: \vspace{5mm} \section{Section 1} Some text \subsection{Section 1.1}
2
votes
1answer
41 views

Spacing around CJK text with ucharclasses package

I'm modifying a .sty file that's used with documents that includes Latin, Arabic and Japanese text intermingled without specific markup. I am using xeCJK to identify the Japanese text and ...
7
votes
4answers
193 views

Creating a right aligned signature block

I would like to create a signature block for the title page of my dissertation. A requirement is that the block must be aligned with the right side of the page. Within the block itself, everything ...
3
votes
0answers
36 views

Defining an 'optional' description list environment

I'm trying to create a variant of the description environment that coerces any present description to be on the next line. I can't seem to get the vertical spacing right when there's no description ...
4
votes
2answers
206 views

What's the space between paragraphs?

\documentclass{article} \usepackage{lipsum} \begin{document} \paragraph{First paragraph} \lipsum[4] \paragraph{Second paragraph} \lipsum[4] \end{document} What is, and what sets, the space between ...
1
vote
1answer
64 views

Different margins for odd and even number pages

According to my institute guidelines Ii have to do the following in my thesis: Left margin: 1.25" (to ensure sufficient space for binding), Right mar- gin: 1" Caution: For front and back ...
4
votes
2answers
82 views

avoid space after thousands separator in math mode

In math mode, LaTeX inserts a small space after a comma. This looks nice in $a,b,c$, for example. But I don't like the way it looks when using a comma as a thousands separator, e.g., $x = 100,000$. (...
1
vote
1answer
26 views

Spacing of \tilde{\otimes} [duplicate]

How can I make the spacing of the two symbols, \otimes and \tildeotimes, identical? \documentclass{article} \usepackage{amsmath} \DeclareMathOperator{\tildeotimes}{\tilde{\otimes}} \begin{document} ...
3
votes
2answers
53 views

Spacing is off with convenience command

I want to define a command called \ksp{} that looks like this: \newcommand*{\ksp}{K_{sp}} However, this function gives an error if it's not invoked in math mode. See example here. \documentclass{...
1
vote
2answers
46 views

minipage 6 figures avoid mixing figures horizontally

I looked deeply in here and I couldn't solve my problem. I have 6 figures which I want to separate each other with enough space for avoiding mix it. I have 2 figures, below another two and below ...
2
votes
1answer
139 views

Modify arraystretch for a single row in table

I need to display fractions within a table and it requires to set \renewcommand{\arraystretch}{2.3} The problem is that not all rows contain fractions, and in this cases the white space below and ...
2
votes
2answers
49 views

How to add a space between a title and the dotted leader?

I need to put some horizontal space between a title (of chapter, section, subsection, etc.) and the dotted leader, as it is marked in the given figure by red rectangles. The space should be ...
2
votes
2answers
54 views

Indentation and lacking space when using gb4e with minipages

The normal behavior of a gb4e example environment is seen in (1) in the MWE below. But when I want two examples side by side, using minipage, the example is indented, and there is no space before or ...
4
votes
4answers
82 views

Vertical spacing of \underset and other tweaks

please consider following code: \documentclass[a4paper]{article} \usepackage{ngerman} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amssymb} \newcommand{\uunderline}[1]{\underline{\...
0
votes
2answers
21 views

interword spacing latex in a table

I have a table with words separated by commas. Latex puts additional spaces in between these words which look a bit odd. \begin{table*}[!tb] \begin{center} \begin{scriptsize} \begin{tabular} {|p{0....
0
votes
1answer
68 views

Sub caption of table produces large white gap

For tables I need a caption above, and sub captions beneath the table, to define all abbreviations used in the tables. The solution I'm using so far results in a large white space after the table/ ...
3
votes
1answer
165 views

Why does declaring a command in-document produce horizontal space?

I'm really confused about why there is some extra horizontal space that appears before the second "Test" on my second line: \documentclass[12pt]{article} \usepackage[english]{babel} \begin{document} ...
3
votes
1answer
42 views

Left-right spacing of parentheses with DeclarePairedDelimiter

I know that \big and similar commands cause an incorrect spacing between the delimiter and their contents, and they should be replaced with \bigl and so on. I've defined some commands with \...
1
vote
0answers
57 views

LyX Spacing after = sign in \align

My question is the same as this question, but in the context of LyX. The solution for that question was to put the & before = sign. I manually implemented this tweak in LyX, by changing the raw ...
1
vote
1answer
65 views

How to change spaces before and after sections and chapters

I am using this documentclass with option [twoside,12pt] and this MWE: \documentclass[twoside,12pt]{Classes/aesm_edspia1} \usepackage[latin1]{inputenc} \usepackage[english,french]{babel} \usepackage[...
1
vote
2answers
30 views

Remove subsubsection numbering and remove the blank space when underlining

My question refers to removing the blank space in front of the subsubsections when disabling the numbering. Concerning the way to disable the subsubsections numbering, there is no problem, this is ...
1
vote
1answer
49 views

Space between the footnote mark

I would like to increase the minimum space between a footnote mark and the preceding text. Furthermore, I would like to decrease the minimum space between the footnote mark and the following text. He ...
3
votes
0answers
93 views

How to add prefix to section names and create space in table of contents

I would like to add the prefix "Appendix" to appendix sections such that it appears in a table of contents. However, whenever I add this prefix using the \renewcommand command, the table of contents ...
1
vote
1answer
42 views

Customizing Memoir Class's \fancybreak

In response to No indentation after empty line @jon supplied the following \fancybreak macro lifted from memoir.cls: \makeatletter \newcommand{\fancybreak}{\@ifstar{\@sfbreak}{\@fbreak}} \newcommand{\...
1
vote
2answers
172 views

vspace not working after linebreak

For this minimal example \documentclass{article} \begin{document} \noindent Hallo \\ How \\ Are \\ \vspace{15cm}You? \end{document} There is no vertical space created between the word Are and You. ...
1
vote
0answers
35 views

Avoid empty line after quote environment when last element in footnote

Is there any way to redefined the quote environment (or the list environment in general) so that it does not issue an empty new line. I need to have block quotes in footnotes and the extra empty line ...
2
votes
0answers
39 views

Extra vertical space in minimal class

I am trying to get two pieces of text to align vertically. While I could probably do this with boxes, minipages, or a table, I was trying to adjust the alignment with \vspace (somewhat as a learning ...
3
votes
2answers
92 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
1answer
23 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
34 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 ...
0
votes
0answers
92 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 ...
3
votes
2answers
72 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 &...
4
votes
4answers
149 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 ...
3
votes
1answer
71 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 ...
3
votes
2answers
57 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} \setlength{\globallength}{10pt}%...
4
votes
0answers
122 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
32 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 ...
1
vote
2answers
40 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
45 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: \begin{tabularx}{\linewidth}{...
1
vote
1answer
42 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
46 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 ...
1
vote
1answer
144 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 ...