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

Options to allow for more vertical stretching possibilities

I'm writing my PhD thesis and am using the document class scrbook (with the twosides option), which uses the \flushbottom command as default. This means that my text (which contains a lot of formulas) ...
5
votes
3answers
106 views

Adding a hrule between hboxes decreases their vertical distance

Using pdftex. Given two sample programs test0.tex \vbox{ \hbox{X} \hbox{Y} } \bye test1.tex \vbox{ \hbox{X} \hrule \hbox{Y} } \bye gives the following outputs. test0.png test1.png So, ...
1
vote
1answer
45 views

Spacing around a table

I am trying to set all spacings around and within a tabular environment to be equivalent with standard paragraph text. The table heading and the table should have no indentation. I placed comments ...
6
votes
2answers
81 views

Writing “Proof of . . .” cleanly in svjour3

Perhaps I am spoiled by amsthm, but I rather like being able to freely rename the proof environment, especially when there are intervening statements. For example: Example 1: nice behavior ...
2
votes
1answer
74 views

How to reduce the gap between the header and the figure in Latex

Please help me reduce the gap between the figure and the header in my code. I tried using position specifiers like h! or H but those take the figure on to the header slightly. I tried using vspace* ...
3
votes
1answer
36 views

skipbelow does not work for combination of mdframed and thmtools

I am trying to alter the space below a theorem box, which is created using thmtools and mdframed. \documentclass{scrartcl} % % \usepackage{amsthm} \usepackage{thmtools} \usepackage{mdframed} % ...
3
votes
2answers
64 views

How to obtain a justyfied paragraph with correct word-spacing in tabular environment?

I'm trying to obtain a tabular with three columns of text vertically aligned on top (using array package and p{'width'}), but I can't figure how to obtain a regular spacing between words, like a ...
4
votes
2answers
118 views

Why does horizontal space after ampersand becomes less?

Why does the space after the equals sign becomes less if I use the lower code, i.e., if I put ampersand after equals sign? \begin{align*} A&=B \end{align*} \begin{align*} A=&B \end{align*}
2
votes
1answer
40 views

How to reduce space before \paragraph

I am using \documentclass[11pt]{article} and I would like to reduce the space very slightly that is put in before each \paragraph{Some text}. A MWE. \documentclass[11pt]{article} \begin{document} ...
1
vote
2answers
61 views

Shrinking the text in verbatim mode [duplicate]

I need to deal with loads of code lines in verbatim mode and append them to the appendix. That is, I may not need to show them in a fancy way but I want them to occupy least amount of space. As you ...
2
votes
0answers
59 views

Typesetting with “odd-shaped” margins

I am considering a poster presentation that I would like to design using nonstandard margin shapes. Current standard essentially puts elements inside a rectangle determined by page size, header and ...
1
vote
2answers
54 views

Change space style using listings package

I'd like to make all space characters in the code gray. Is there an easy way to do this? Is there something like spacestyle (I've commented it)? \documentclass[a4paper, 10pt]{book} ...
2
votes
1answer
51 views

Unwanted vertical space/glue between consecutive custom \section macro calls

I am using XeTeX. I need to redefine the \section and \subsection commands in order to use some macros which don't behave well with the titlesec and/or sectsty packages. I found some code to do ...
3
votes
1answer
67 views

tcblistof, book class and vertical spacing

It deals with the displaying of the tcblistof feature with the package tcolorbox, which differs from the classic \listoffigures when used with the book class. In the example below (with tcolorbox v ...
1
vote
1answer
70 views

Justifying text and removing unwanted space

Using LaTeX text justification, sometimes the output tend to have more space in order to be justified from right and left as shown in the following picture. Between the Dr. and Lloyd is more space ...
4
votes
2answers
84 views

Spacing problem at List of Figures

I use Lyx 2.1, document class : Report. My problem is that the titles of figures are written on the numbers at List of Figures.
2
votes
1answer
49 views

Adjust parameters of resumed lists

When an enumitem list is resumed there is some additional vertical space that is applied as can be seen in the difference in the vertical alignment of the 2nd item: I assume this is related to ...
4
votes
1answer
76 views

Detect actual start of text

I have conditional which is sometimes suppressed, and if it gets typeset needs to be noted. If the conditional text begins with an environment which adds vertical space prior to the actual start of ...
4
votes
2answers
769 views

Solfa style music notation (Carnatic)

I'm looking for a way to typeset Carnatic (Indian) music. The notation system is textual, similar to solfa, with some symbols like comma, semi-colon and | for durations, and bar lines. Fine control ...
3
votes
4answers
70 views

line spacing among paragraphs and displaymath issue

Currently, I am writing an academic paper in latex and facing some issues. It might be due my lack of expertise in Latex or ignorance of some tricks or tweaks. Currently there are two issues i am ...
1
vote
0answers
27 views

different spacing aroung equal sign for display/text mode [duplicate]

as I wanted to increase the space surrounding the = sign in my equations, I changed the thickmuskip length in the preamble \setlength{\thickmuskip}{14mu} It works fine, and I like the result in ...
6
votes
1answer
3k views

How to remove top margin above \tableofcontents

My contents page would fit on one side, if LateX wouldn't force an automatic whitespace block on top of the table of contents. Is there any way to remove this block and have \tableofcontents start at ...
3
votes
2answers
149 views

How can I improve the look of my table? (no white space, nice font size, and not going off the end of page)

I just want a nice plot but I try different things and sometimes it goes of the page, or there is white space (like now). I would like adequate spacing between lines and varying font heights. Here ...
8
votes
1answer
193 views

How to eliminate the gaps before and after \frac{}{}?

The macro \frac add a gap (approx 1.2pt) before and after the whole fraction. You could compare \[\frac{1}{1}\frac{1}{1}\frac{1}{1}\frac{1}{1}\frac{1}{1}\frac{1}{1}\frac{1}{1}\frac{1}{1}\] and ...
0
votes
0answers
49 views

Section spacing suddenly dynamic

I'm using LaTex in combination with MikTex and just recently introduced the fancyhdr package to my thesis. For some reason, when using the \subsection or \subsubsection commands I sometimes get the ...
0
votes
0answers
41 views

remove space in latex

I am using the following sample for creating a poster in write latex. http://www.latextemplates.com/template/jacobs-landscape-poster However, in the space above results, I have some extra space left ...
2
votes
2answers
41 views

No space between three-digit table number and title in List of Tables (KOMA-script) [duplicate]

I have KOMA script report in LyX (2.0.6 on Mac OS X 10.9.3) where there are more than 100 tables per chapter. For all the tables with more than thee digits (numbered chapter number dot table number) ...
1
vote
0answers
47 views

Customize the display of a theorem

I have a theorem for which I do not have a proof. What I mean is that I have a paragraph under it, but I do not want it to start with the word Proof. Instead I want that only the first line of the ...
3
votes
1answer
63 views

The text-equation space in two equations is extremely different; even though I left no blank lines

I am introducing this text and equation: Con la energía del punto cero pasa una cosa muy similar: utilizando la ecuación \ref{E_ZPE}, y sustituyendo las tres frecuencias $\nu _{i}$ experimentales ...
3
votes
1answer
66 views

Avoiding extra vertical space between groups of equation environments

I need to write a long list of numbered equations. I know that I could use the environments gather or align, but either with the gather environment I cannot have any alignment or with the align ...
1
vote
3answers
98 views

Spacing problem between equation and surrounding text

I want to insert formula in text and I used equation as shown: \documentclass{article} \usepackage{amsmath} \begin{document} So, $\rho : G \rightarrow GL(n,\mathbb{F})$ is representation if and ...
1
vote
1answer
49 views

`helvet` and `moveleft` in resume

I have several questions about the following code: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Medium Length Graduate Curriculum Vitae % LaTeX Template % Version 1.1 (9/12/12) % ...
5
votes
2answers
223 views

(La)TeX equivalent of MS Word's “Don't add space between paragraphs of the same style”

I'm using a quote environment to add some references at the beginning of sections with two custom commands. If I have more than one reference, the \list nature of the environment automatically adds ...
1
vote
1answer
21 views

Vertical spacing around lhs2TeX code block in floats

How do I get the appropriate vertical space around a \begin{code}/\end{code} or \begin{spec}/\end{spec} in a figure? Here is a basic example with fancyhdr added to show the top of the page: ...
3
votes
2answers
2k views

changing spacing of caption

I'm creating a figure using LyX. I would like the spacing of the caption below the figure to be 1.3. Is there an easy way to accomplish this? Setting the spacing to 1.3 for the entire document using ...
2
votes
1answer
72 views

Classicthesis chapter title formatting

How can I modify ClassicThesis to format chapter headings with the word "Chapter" followed by the roman numeral chapter number, a verticle space, and the chapter title? As many know, the default looks ...
2
votes
1answer
42 views

How to set the distance between figures with subcaption

How I can control the distance between figures without modify the width? For example suppose I have 3 images of width 0.20\linewidth. If I add another image of width 0.20\linewidth it will fit on the ...
16
votes
1answer
274 views

Semantics of negative glues

This question is about the semantics of glues like 0pt plus -1fill, where the coefficient in front of the fill is negative. The following minimal example shows my attempt to figure this out ...
26
votes
3answers
1k views

Mathematical description of TeX's infinite numbers?

TeX has things like infinitely stretchable spaces and infinitely bad penalties. Since Knuth is Knuth, I assume these are a carefully thought-out implementation of some well defined non-Archimedean ...
1
vote
0answers
63 views

Space between Caption and image

i have gone through all answers related to this question. But in my case nothings seems to be working.. I wish to reduce the space between image and caption. But none of the method is working. Here is ...
2
votes
1answer
93 views

Vertical space between caption and main text

I am trying to adjust the vertical space between my captions and the main body of text below it. It is likely to be packages interfering with each other, but I am not sure which. Herbert suggested ...
1
vote
2answers
161 views

Problems with fractions in a square root [closed]

whenever i have a fraction inside a square root, the square root symbol drops down below the line and intercepts whatever is on the next line. I think the package savetrees may be causing the ...
8
votes
1answer
56 views

Spacing behavior changes with empheq

If I replace an align* environment with the empheq environment (of align* flavor) the spacing behavior changes: With empheq the spacing depends on the amount of text in the last line of the previous ...
4
votes
1answer
67 views

Change document-wide interletter, interword and interline spacing

According to the 2012 paper Extra-large letter spacing improves reading in dyslexia, some spacing adjustments could make reading easier for dyslexic people, namely Add 2.5pt to interletter space 3 ...
3
votes
0answers
31 views

Spacing in labels of a list

I entered the following code in LaTeX: \documentclass{article} \begin{document} \begin{enumerate} \item[[$\Rightarrow$]]necessitiy \item[[$\Leftarrow$]]sufficiency \end{enumerate} \end{document} I ...
3
votes
1answer
52 views

In an avm, can the horizontal space between the brackets be set manually?

I've created a simple attribute-value matrix using a custom style file avm.sty which is explained here. However, it is so narrow that the right bracket overlaps with the text. ...
2
votes
0answers
31 views

lstlistings messes up spacing before subsequent section headings [duplicate]

I'm typesetting a grammar specification for a programming language, which leads to many short snippets of grammar and example code interleaved in the document text. The issue I observe is that an ...
1
vote
1answer
39 views

Pulling up the whole text body

I want to pull up the whole text body nearer to the header so that I can have some spacing below. Please suggest how to do this. I am using the following coding - \pagenumbering{arabic} ...
4
votes
2answers
93 views

tab is not working in latex

I am new in the world of latex . At this time , now I am writing thesis . I want to have tabs in tex document . For this purpose , I have written the following code . \hspace{2cm}$ \mathbf{a_{11}x_1 ...
2
votes
1answer
48 views

Can I use microtype (or something else) to 'amend' a ligature's spacing?

Say I have the following source: \documentclass{article} \usepackage{xparse} \ExplSyntaxOn \NewDocumentCommand \Dash { } { \leavevmode \unskip \nobreak \hspace{\halfspace} \textemdash ...