{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}.
0
votes
1answer
17 views
Bibliography vertical shift with apsrev style due to empty line [closed]
I have found the following issue when using bibliography, in particular the style option apsrev. Compare the .pdf output of the following code,
\documentclass[twocolumn]{revtex4}
...
5
votes
1answer
82 views
Why isn't diagrams.sty compatible with LuaTeX
I am trying to debug the problem with Paul Taylor's diagrams.sty (not in TeX Live or MiKTeX, but available from CTAN).
Minimal example:
\documentclass{article}
\usepackage{diagrams}
...
0
votes
2answers
27 views
No spacing between enumerated items with \usepackage{enumerate}
I use this code now:
\documentclass[11pt]{article}
\usepackage{enumerate}
\begin{document}
\begin{enumerate}
\item a
\item b
\item c
\end{enumerate}
\end{document}
I want to decrease the line ...
1
vote
1answer
31 views
Spacing depending on optional subscripts and superscripts
I am totally new to LaTeX (use it for 2 days), so I am sorry if this has already been asked, but I spent the last 6 hours searching for a solution, but to no avail. (I stumbled upon a package xpeek ...
2
votes
1answer
25 views
Extraneous empty line within memoir's list environment (for very tight lists) if used with memoir's Spacing environment (for single-spacing)
In order to typeset lists with very tight interline spacing, I normally define my own tightlist using memoir's list environment.
Even though my definition (see shortly) (1) ensures that all vertical ...
3
votes
1answer
27 views
Problems with the lstlisting environment (margin and white line)
Consider the following example:
\documentclass{article}
\usepackage{listings}
\usepackage{color}
\begin{document}
\definecolor{light-gray}{gray}{0.95}
\lstset{columns=fullflexible, ...
7
votes
1answer
35 views
Change text color in table, preserve ability
I'm having difficulty creating a new command for \rowstyle that allows me to color the text of different rows in a table and preserve my ability to space out the columns and not induce space between ...
8
votes
1answer
82 views
Usage of LaTeX macro \space (compared with \␣)
Occasionally I find that internal package code contains the macro \space (defined as \def\space{ } by LaTeX). The most-taught way to produce "explicit" spaces in paragraph text is to use \␣, and I ...
5
votes
2answers
50 views
How give space text in math mode?
I have a problem about space text in math mode , and i have minimal working anwers like this following from Microsoft Word :
But, since i use LaTeX dont space text in math mode, like this following ...
4
votes
1answer
30 views
Custom \special command causes unwanted whitespace
For a custom application we use DVI as an intermediate format and feed it to a converter. Our converter needs a "hint" to locate the beginning of a \section in the DVI file. Therefore, we modified ...
0
votes
0answers
21 views
Table of Contents section numbers overlap titles, Sphinx Documentation Generator
I'm attempting to use the Sphinx Documentation Generator to generate a large PDF document with a lot of deeply nested sections with long title(API documentation). I'm not very knowledgeable on LaTeX.
...
1
vote
0answers
52 views
Free space in bar-chart with empty entries
I would like to plot some data set with the ybar option of pgfplot.
But not all entries are nonzero.
The zero entries waste space between the bars and when the plot gets crowed it is not clear anymore ...
2
votes
1answer
35 views
Adding space after a line in ToC
I have been trying to determine way to add space after a section or chapter line in my table of contents. tocloft allows me to add spacing before lines but not after, and this leads to spacing issues ...
3
votes
1answer
43 views
Vertically align characters raised with \stackrel
I learned from Stefan's reply to Putting a character above another character to use \stackrel in math mode to do just that. I'm using that right now to mark segments of a word as having a high (H) or ...
3
votes
0answers
59 views
acronym - tabular — weird spacing while using \ac
I'm currently writing a Lab-Report, using a lot of acronyms and tables.
What I have so far looks like this:
\documentclass{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
...
0
votes
1answer
29 views
Conditional spacing in ToC column headers
Sorry in advance for this being such a specific question, but I'm at my wits end with this problem.
My university has odd formatting requirements for dissertations (I know, don't they all). In ...
3
votes
2answers
43 views
Longtable with multicolumn and parbox spacing issues
I've been trying to build a "complex" table of a certain size but I still have some problems with the spacing. As you can see in the attached pictures, some lines overlap the table row dividers, other ...
4
votes
1answer
55 views
Consistent distance between bar plot groups of different sizes
I'm trying to make a bar plot where i always have one single bar paired against multiple bars. Two problems arise -- first, the first bar is assumed to have 6 other bar buddies and gets pushed to the ...
1
vote
1answer
44 views
Space in while printing but not viewing PDF [closed]
I am trying to write in a IEEETran class of latex. I have a very strange problem.
The minimum stripped code is as follows -
\documentclass[conference]{IEEEtran}
\def \b {\beta~}
...
2
votes
1answer
41 views
Space between underline and contents
Does anybody know how to increase the space between underline and contents?
I am trying to use the template for my thesis, here is the .sty file for header.
%UHEAD.STY If this is included after ...
7
votes
2answers
51 views
An environment for two-way rules in category theory
I want to typeset some category-theoretic calculations involving adjunctions (sometimes called two-way rules).
In short, they look approximately like this (MWE):
\documentclass[a4paper]{article}
...
34
votes
3answers
666 views
Meaning of \quad
Many LaTeX command names have some 'justification'.
For example the commands \cup and \cap have a straightforward meaning.
However, I couldn't find a meaning for the commands \quad and \qquad. Is it ...
3
votes
2answers
45 views
Odd spacing of two column tables & lists
I have an issue with the spacing of the first multiple choice question in my MWE. I have NO idea what is going on. I have run into issues of this sort before, but it was because of improper line ...
5
votes
1answer
59 views
Sub and superscript on the left
I want to do something like this:
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align*}
Hom_{K\cap {}_a^bK}
\end{align*}
\end{document}
But there seems that the _a^b is ...
4
votes
2answers
52 views
Insufficient width for chapter numbers in ToC
I'm trying to format my thesis, and I copied the formatting stuff from a friend who finished her thesis last year. Unfortunately, she only had two chapters and then subsections. I have more chapters, ...
3
votes
1answer
63 views
vertical spacing on enumitem
In the example below I want the enumerate list to essentially be ``inline'' with the word Example from the example environment. It works perfectly with text or enumerate* (inline list), but I cannot ...
2
votes
3answers
73 views
Formatting an equation
\begin{align} \frac{1}{2} (1-\varepsilon^2)\left(\partial_\tau \phi\right)^2
= \frac{1}{2} \left(1-\epsilon ^2\right) \left(
-\frac{S \epsilon \sin\tau }{\sqrt{\lambda }}
-\frac{\text{g2} S^2 ...
1
vote
0answers
45 views
Spacing in Dirac's ket vector
I have defined myself a \ket which does \left| #1 \right\rangle. For a state with two numbers, say n and m, one writes, on paper, |a b>. What kind of distance should I use to separate those ...
3
votes
1answer
49 views
Spacing in the table of contents - change row
I need to change the spacing between the changes in a row. 6pt Spacing must be between
- 2.2 and 2.2.1
- 2.3 and 2.2.2.
Use the comment
\renewcommand\cftsubsubsecafterpnum{\vskip6pt}
...
4
votes
0answers
44 views
Strange vertical space before the caption of a longtable with KOMA-Script classes when xcolor is loaded
When using one of the main KOMA-Script classes — scrartcl, scrreprt, scrbook but not scrlttr2 —, the vertical position of the caption in a longtable environment changes when one loads or unloads the ...
0
votes
0answers
43 views
Weird word spacing in latex [duplicate]
Why is it so weird spacing like this in LaTeX, how can I remove it? I also noticed that LaTeX auto-shortens words like easily becomes eas-ily.
Look at the screenshot below:
The code is:
the ...
0
votes
1answer
26 views
Add whitespace after header and remove page number
I am writing a short document which I need to fit all on 1 page. I am trying to squeeze everything on there, and because I'm short of space, I wanted my name and title just to be a header right at the ...
9
votes
3answers
101 views
non-invasive kerning/spacing modification: what options are there?
Once in a while, you may want to (1) adjust or create a kerning pair (or, better yet, kerning class) in a font, or (2) adjust a particular glyph's sidebearings.
examples of scenario (1) would include ...
2
votes
2answers
46 views
How to create space at the bottom of a the 1st page only
How should I add space at the bottom of a particular page? I want to create a space at bottom of 1st page and it should not followed for other pages. Suppose I want the last four line to go to the ...
2
votes
1answer
43 views
Eliminate overfull hbox warning for mdframed frame that goes into margin
I like my mdframed frames to go into the margin, so that the text is not effected, by using a negative leftmargin and rightmargin. However this results in an
Overfull \hbox (0.43031pt too wide) ...
4
votes
1answer
55 views
Writing a letter in ConTeXt, formatting issues
I'm writing a letter to someone, using ConTeXt. I'm running into some formatting issues. The following is the code I have, and the PDF output. There are two things that I'd like to fix.
...
4
votes
2answers
51 views
Spacing after itemize (without parskip package)
This piece of code seemed to be working fine for a long time, until I try to remove the parskip package. Without this package, it seems that I need to include two hacks:
Add a ...
9
votes
2answers
122 views
Why is there extra space after (:) in \texttt{}
Whenever I type a space after a colon (:) in a \texttt{} command I end up with extra space — here is a minimal example:
\documentclass[12pt]{article}
\thispagestyle{empty}
\begin{document}
...
1
vote
1answer
57 views
\par\bigskip and the parskip package
I read that if one uses the parskip package then there is no need to add \par\bigskip to separate paragraphs; it is enough to move the new sentence to new line with Enter. That's true but at some ...
4
votes
1answer
55 views
How can I control the horizontal space between minipages?
I'm trying to place two mini pages next to each other, one with text, one with an image. But my code has them spaced really far apart. How can I bring them together horizontally. I've tried \hspace ...
3
votes
0answers
83 views
Latex randomly skips a line (or not)
Consider the following example:
\documentclass{article}
\RequirePackage{amsthm}
\usepackage{lipsum}
\RequirePackage[framemethod=tikz]{mdframed}
\mdfdefinestyle{proof}{
skipabove = ...
9
votes
1answer
93 views
How to stop LaTeX from forcing single line paragraphs on two lines
I have a document containing some short paragraphs which would fit on a single line using normal spacing. When typesetting those paragraphs LaTex apparently tries hard to stretch those lines (the ...
6
votes
0answers
59 views
Vertical space between 2 subsequent headers (of chapters, sections, etc)
I'm writing a LaTeX class for my bachelor's thesis. My university's standard says that there should be a space after headers:
2cm if there's text after the header
1.3cm if there's another header ...
9
votes
0answers
76 views
Drawbacks of redefining math accents with extra leading {}?
As I discovered through the non-bug latex/4253, TeX has a (mis)feature whereby it ignores braces around a \mathaccent construction: ${a_b}_c$ works, but ${\tilde a_b}_c$ fails with a "Double ...
7
votes
3answers
71 views
Force inline-type superscript for display equations (but display-type subscript)
I am trying to create a macro \jjoin for a mathematical operator which roughly produces the following behaviour:
Inline: \bigvee^{(J)}, subscript (typically i \in I) goes in the usual position (as in ...
1
vote
2answers
53 views
Way too much extra space in my tables
I'm new to making tables and I'm having a problem with them taking up way too much of my page.
\begin{table}[ht]
\centering
\caption{Table F8: Fertility Rates by Generation and Marriage Type}
...
5
votes
3answers
74 views
xelatex + frenchb introduce extra spaces before some characters in lstlisting blocks
When using babel 'frenchb' with xelatex, spaces are introduced before colons and other characters. This is great for prose, but this is also being applied to code snippets. This yields an unacceptable ...
0
votes
0answers
16 views
Too much space between author and year in apacite citations
Does anyone else feel that there's too much whitespace between author and year in the following example (note the red brackets)? Or is it proper standard and just annoys me because I'm not used to it?
...
0
votes
0answers
50 views
Listings with mdframed and figure: horizontal spacing messed up [closed]
Somehow, my combination of the listings package, mdframed and a figure environment seems to mess up the horizontal spacing of a following section (same for subsection etc) header: in the following ...
9
votes
1answer
181 views
Indentation of sections and paragraphs to show hierarchy [duplicate]
I am having troubles with the format of a work that I'm doing. The default output of LaTeX looks like:
1.1. Section A
Latex latex latex latex.
1.1.1. Subsection A-1
Latex latex latex ...


