Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [spacing]

{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}.

4
votes
2answers
48 views

Even numbers of \circ causes weird spacing

I noticed when trying to make a string of 6 \circ symbols that the last one is closer to the one beside it than the rest of them, after playing with it for a while it looks like an even number (...
0
votes
0answers
25 views

How to mark the space between words

I would like to make the space between words of a text "more visible". Is there a way to colorize the word-space in a text?
1
vote
2answers
29 views

Gradient notation spacing

I'd like to notate 'gradient of L with respect to a_f' which I can do with \nabla_{\mathbf{a}_f} \mathcal{L} and it looks like this: Look at all that space between the nabla and the L! Is there a way ...
0
votes
0answers
28 views

excess space in new paragraph

Here is tiny example of my problem \documentclass[12pt]{article} \usepackage[english]{babel} \usepackage[TS1, T2A]{fontenc} \usepackage[utf8]{inputenc} \usepackage{pscyr} \usepackage[left=2cm,right=...
0
votes
1answer
25 views

Table of Contents Spacing/Indentation

I need help formatting my Table of Contents. All my sections have a roman numeral numbering system that I would like to keep but it does not space it right in the Table of Contents. I also prefer the ...
0
votes
0answers
5 views

Glossaries increase vertical spacing without affecting the rest of the document

I need to increase the vertical spacing between the glossary entries. I found this solution: How to increase vertical spacing between entries when using glossaries long style? The problem is that if ...
0
votes
0answers
27 views

huge space between two paragraphs in latex double column

Actually, I am writing a paper in a journal format, which is a double column, I have finished writing, but there is a lot of things which are not aligned properly, how to overcome this. And also the ...
2
votes
1answer
50 views

Adjust spacing between preceded superscript and base

Depending on the letter in the base there is space to the preceded superscript. Letters like T, W, Y use ink in the top left corner, so there is no space, but when using I, D, E, ... (these letters ...
1
vote
2answers
43 views

Remove space between bracket and array environment

Sorry for my bad English. How can I removing space between bracket and array environment and obtained results as used cases environment. Thank you very much! I use code \[\left\{\begin{array}{l} ...
0
votes
0answers
27 views

Automatically arranging multiple figures on one page without wasting space

In short I am looking for a way to fit as many figures on one page as possible and I would want Latex to automatically arrange them for me as compact as possible. Can that be done or do I need to ...
0
votes
1answer
14 views

How do I insert an empty line/space inside tabular environment (with empty columns)?

I have a tabular environment, where I want to separate "paragraphs" with empty lines or spaces. The paragraphs have one major title on the left whereas the column on the right has several lines. Here ...
1
vote
1answer
17 views

Vertical lines connecting in latex tables - agujournal2018 cls

I am using the agujournal2018 cls files (available here). To make it easier while I am drafting, I want lines in tables. How can I make the vertical lines and horizontal lines connect in tables? I ...
2
votes
1answer
28 views

Incorrect horizontal spacing in cases mode

Consider the following MWE: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} \begin{cases} \mathrm{L}^{3a}\mathrm{L}^{2b}\mathrm{L}^{c}&=\mathrm{L}^1 \\ ...
2
votes
1answer
38 views

Avoid vertical spaces before figure to fill the page

I'm writing a latex document which contains a table. This table is doesn't fit the actual page so it's placed in the next page. The problem is that vertical spaces are added automatically in the ...
1
vote
1answer
36 views

How do I “unlink” the rows in one column from the rows in another column?

MWE \documentclass{article} \usepackage{multirow} \pagestyle{empty} \usepackage[left=1.25in, top=1in, right=0.85in, bottom=1in]{geometry} \usepackage[thinlines]{easytable} \begin{document} \begin{...
0
votes
2answers
55 views

RedeclareSectionCommand, beforeskip not working

I am trying to have sections have space before them using \RedeclareSectionCommand. beforeskip will work for this, but I also want the section to start on a new page and when I put it onto a new page,...
1
vote
0answers
20 views

skipping a line using amsthm package in a corollary [duplicate]

\documentclass[11pt, a4paper]{report} \usepackage{bm} \usepackage{amsfonts, graphicx, verbatim, amsmath,amssymb, amsthm} \usepackage{color} \usepackage{array} \usepackage{...
1
vote
1answer
20 views

Unwanted space before commas in ModernCV

I am having some trouble to remove some space before commas. For example, I have the following two definitions: \newcommand*{\cvshortentry}[7][.25em]{} \renewcommand*{\cvshortentry}[7][.25em]{% \...
7
votes
3answers
403 views

Spacing around \tilde{=}

How can I get proper spacing when using tilde over operator symbols? \begin{align*} x &= y\\ x &\tilde{=} b \end{align*} Yields: But I would like the tilde version to have the same kind of ...
0
votes
2answers
21 views

set a right margin to epigraph

\documentclass{report} \usepackage{epigraph} \setlength{\epigraphrule}{0pt} \setlength\epigraphwidth{.65\textwidth} \begin{document} \epigraph{\itshape Si l'univers était vide, on s'éviterait bien des ...
1
vote
2answers
47 views

how is it possible to do the space character not like rectangle

How can we do this type of space? Maybe with \textvisiblespace, but how can I customize it?
1
vote
1answer
37 views

manyind index unwanted space before comma

I get an unwanted space after every index keyword when using the manyind package. I don't understand what am I doing wrong since when I try to compile the manyind documentation, the index turns out ...
1
vote
1answer
46 views

How do align intertext with math instead of an awkward space? [duplicate]

When you use the \intertext in the \align* environment with the amsmath package, it has a small vertical space between the displayed text and equation even though it is still coded on the same line as ...
2
votes
1answer
18 views

Adding spacing in mathtools' `set` command

In the mathtools documentation, page 27, a command \Set* (along with \Set) is defined to stretch according to the large input inside: \providecommand\given{} \newcommand\SetSymbol[1][]{ \...
1
vote
1answer
37 views

~/cite : Is the Tie Actully Recommended? [duplicate]

When making citations, I've seen both styles: with the tie/non-breaking space (~\cite{refnm}) and without it (\cite{refnm}). There are a few questions & answers on this topic in the more general ...
0
votes
0answers
25 views

How to add indented TOC entry using \addcontentsline?

I am trying to manually add several subsections to my table of contents. How do I do this? When I use \addcontentsline the entries appear as sections (with no indent), not subsections. Specifically, ...
1
vote
0answers
57 views

why is the qed symbol a line or two below when using enumerate in the proofs?

\documentclass[11pt, a4paper]{report} % \usepackage{eurosym}% you probably don't need this (most fonts have euro) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%...
1
vote
2answers
29 views

Why does amsthm break down in my document?

I've written an unfinished document and was advised to use the amsthm package for proofs etc, however when using it, it removed all the spacing between definitions and theorems, why is this the case? ...
3
votes
2answers
47 views

Mysterious vertical space when using \newcommand with expex

Ok, so here's some code that shows off the problem i'm having: \documentclass[10pt,letterpaper]{article} \usepackage{expex} \newcommand{\gloss}[3]{\ex[numoffset=2em,aboveglftskip=0pt] \begingl \gla #...
5
votes
2answers
180 views

How to “delete” space between Author and semicolon in bibtex

i created my Bibliographie, but i got unwanted spaces between autor and semicolon like that: Author1[space1];[space2]author2;[...] And i want it like that: Author1;[space2]author2;[...] Here is ...
2
votes
2answers
117 views

intertext / shortintertext with revtex gives large spurious spacing

I am in the situation of using \intertext/\shortintertext with the Revtex document class, but it seems there are some spacing issues. Consider: \documentclass[aps,prl,reprint]{revtex4-1} % \...
3
votes
3answers
169 views

Integral with fraction and square root produces wrong vertical alignment

This code produces an ankward vertical alignment which involves the integral symbol and the fraction with the square root at the denominator. Why? How can I fix this? \documentclass[a4paper]{article} ...
1
vote
1answer
56 views

Italic correction in own quote commands from csquotes

I'm using the csquotes package and defined (with the help of this forum) three additional quotation commands for quoting ancient sources. However, the italics correction seems to be missing. It's ...
1
vote
1answer
32 views

How to remove space preceeding list in non-zero parskip environment?

How can I get space between paragraphs, which I want in a raggedright document with block paragraphs, and avoid extra space before a list that is not preceeded by whitespace? If I set topsep=-\...
2
votes
1answer
30 views

New command for multiple subsection

I am writing an university report and I have to answer to a series of topics divided in points. I'd like to obtain a header like this 1.1.a,b,c. I have written this command to generate a single ...
3
votes
1answer
37 views

tcolorbox: parbox=false AND hyphenationfix=true

I want the text in a {tcolorbox} to exhibit the same paragraph style as the main body. As far as I know (as per the first reference) this requires using \RestoreParskip: \newcommand*{\RestoreParskip}{...
1
vote
2answers
58 views

MusiXTeX within LaTeX does not insert space before first note

to make my problem visible, I have created following simple file: \documentclass[a4paper,12pt]{article} \usepackage{musixtex} \setlength{\parindent}{0em} \begin{document} \begin{music} \startpiece \...
2
votes
1answer
30 views

Form: How to put Form-Fields perfectly into multicolumn-cells?

I have a follow-up question about: Form: How to put Form-Fields perfectly into table cells? If I use a multicolumn, the calculation method breaks down again. What do I have to do differently? \...
9
votes
1answer
57 views

align* has extra leading vertical space in mdframed

The problem Inside an mdframed environment, placing align* at the start of the environment produces extra vertical space above, whereas using \[\] instead does not create as much vertical space. ...
2
votes
1answer
47 views

Paragraph Spacing in the IEEEtran class using LaTeX

I am trying to correct a spacing requirement for an IEEE conference. I am using the IEEEtran class. I only want to change the spacing of a regular paragraph and not the spacing after a subsection. ...
2
votes
1answer
67 views

how to remove spaces from algorithm and align nicely algorithm

I want to remove the spaces between the "and" and the if clauses in the following code: \documentclass[conference]{IEEEtran} \IEEEoverridecommandlockouts \usepackage{cite} \usepackage{...
1
vote
2answers
28 views

Memoir TOC default spacing for part numbers

Taking the following minimum working example: \documentclass{memoir} \begin{document} \tableofcontents \part{first part} \chapter{first chapter} \part{second part} \chapter{second chapter} \part{...
1
vote
1answer
44 views

Linespacing changes at inline math with superscript

I am using a latex template where the vertical linespacing is increased whenever there is an inline math expression that contains superscripts. Subscripts are fine. I find this to be annoying. Is ...
6
votes
4answers
266 views

How to put “+” and “x” after \hline in tabular, and reducing space?

I want to write "+" and "x" after \hline, and I want reducing the space between number and number. From this become This is my code \documentclass[a4paper,12pt,oneside]{letter} \usepackage[left=2....
0
votes
1answer
50 views

Environment definition adds vertical space above

I already have found the solution to define a new environment without the additional space above the paragraph. But why does the "vanilla" way of defining this not work? Pictures MWE \documentclass[...
4
votes
2answers
82 views

Center a title inside a table

my problem is about this code: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[spanish]{babel} \usepackage{array} \newcolumntype{L}{>{\raggedright\arraybackslash}p{.4\linewidth}} \...
4
votes
1answer
53 views

Increase the space between text and the horizontal line in a table

I have a problem with my table. Here's my code: \documentclass{article} \usepackage{eurosym} \usepackage{enumerate} \usepackage{fancyhdr} \usepackage[utf8]{inputenc} \usepackage{graphicx} \usepackage[...
3
votes
1answer
34 views

How to generalize \dotfill with a stretch factor?

\stretch{someFactor} is a generalization of the rubber-space command \hfill in the sense that \hfill is the special case \stretch{1.0}. (I'm actually more interested in the starred version \hspace*{\...
0
votes
0answers
23 views

How to properly have chapters in a thesis [duplicate]

EDITED: \documentclass[11pt, a4paper]{report} % \usepackage{eurosym}% you probably don't need this (most fonts have euro) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%...
2
votes
1answer
42 views

Footnote marks always under the rule in koma script

I'm trying to modify the standard appearance of the footnote mark in the KOMA-Script class scrbook. The behavior should be similar to the behavior in Microsoft Word. So the footnote numbers are left ...