Tagged Questions

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

6
votes
1answer
55 views

Stretchable glue in (script)scriptstyle (subscripts, superscripts, fractions)

If $a+b$ appears in a paragraph, the spacing around + will depend on how stretched/compressed the line is. If ${a+b}$ is used, then the formula will have its natural width regardless of how ...
2
votes
3answers
290 views

Sane spacing after min max

The default definitions of \min and \max insert basically no space after them, which looks really awful when stating optimisation problems, etc., in display equations. I could not figure out any way ...
3
votes
1answer
63 views

Footnote moves up by one \par

What is the problem with this minimal example: \documentclass{report} \usepackage{zref-abspage} \makeatletter \newcounter{footdir@label} \newtoks\footdir@toks \newcommand*{\footdir@temp}[3]{% ...
0
votes
1answer
93 views

How can I add in the missing space when the first use of an acronym is plural?

I'm using the glossaries package and defining my acronyms like this: \newacronym{led}{LED}{Light Emitting Diode} I'm then using the acronyms in my document with either \gls{led} or \glspl{led} ...
4
votes
1answer
73 views

Reducing Vertical Margin List of Equations

I am trying to add a List of Equations to my dissertation that matches the style of the list of tables and list of figures. I am very close but am hung up on the last step. How can I reduce the ...
2
votes
0answers
58 views

Multicol and Itemize

I am using the multicol package with itemize. On the left of my two columns, each bullet point is 2 lines long, and on the right side, each bullet point is one line long. Right now, my output is ...
2
votes
3answers
109 views

How to prevent a page break before an itemize or enumerate list? (continued)

My question is essentially the same as How to prevent a page break before an itemize list?. First, I don't undestand how the proposed solution (\par\nobreak\@afterheading) works. Why doesn't just ...
4
votes
1answer
101 views

Table caption spacing in dissertation

Style requirements for a dissertation require a single-spaced caption but with a double space between the table number and caption like so: Table 1. Table caption goes here, and is single ...
4
votes
1answer
44 views

spacing problem for more than three algorithms in one page

I use algorithm and algpseudocode package. Problem is, when I tried to start the fourth procedure\function, the fourth one starts in the middle of the next page instead of right below to the third ...
3
votes
2answers
94 views

Correct spacing when using aligned in cases

I have problems getting the spacing right when using aligned in a cases environment. The following illustrates my problem: \documentclass{article} \usepackage{amsmath} \begin{document} $$ ...
2
votes
0answers
47 views

Non-breaking space in cite style

I am using the .bst file "authordate-3" to create my references, with a citation in the text in the format (author, year). I would like to make the space between author and year a non-breaking space ...
5
votes
2answers
165 views

Enumerate: only indent numbers

I want to make the enumerate environment look like this: 1. First item [...] [first item continued] 2. Second item [...] That is, the text should look like normal body text except with ...
1
vote
0answers
73 views

Adjust text manually [closed]

I'm writing my thesis. I made some appendices with tables. But, I want to adjust some lines of text manually. Some lines should be pass to next page. Is it possible ? Sould I use vspace ? Sorry for ...
1
vote
0answers
109 views

Reducing the space between the \title and the first line of the the abstract in IEEEtran

I am trying to reduce the space between the title and the abstract (the paper have no authors). IEEETran style is being used. I tried the \vspace command but it didn't work, any ideas, ...
7
votes
0answers
95 views

Obtain \badness or glue adjustment for each line

This might be interesting for perfectionists and/or fastidious typesetters who would like to improve the document even further (beyond the beyond the magnificence of a book with zero bad boxes). We ...
0
votes
0answers
28 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) ...
3
votes
1answer
60 views

Need space between footrule and footnote

I'm formatting a dissertation and need a small, vertical space after my footrule before the start of my first footnote, but no space between the footnotes which follow. I've tried the following ...
1
vote
2answers
111 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. ...
5
votes
3answers
111 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
54 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
126 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 ...
3
votes
1answer
54 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
87 views

How to obtain a justified 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 ...
2
votes
1answer
44 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
68 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
71 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 ...
2
votes
1answer
89 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* ...
2
votes
1answer
73 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 ...
1
vote
2answers
63 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} ...
3
votes
1answer
87 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
86 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 ...
5
votes
2answers
119 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.
4
votes
1answer
91 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 ...
2
votes
1answer
55 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 ...
1
vote
0answers
28 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 ...
3
votes
4answers
85 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 ...
8
votes
1answer
194 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
43 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 ...
0
votes
0answers
60 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 ...
2
votes
2answers
64 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
51 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
70 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
88 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 ...
3
votes
2answers
165 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 ...
5
votes
2answers
251 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
33 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: ...
1
vote
1answer
203 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) % ...
2
votes
1answer
103 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
80 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
290 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 ...