Stack Exchange Network

Stack Exchange network consists of 175 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}.

3
votes
0answers
22 views

Unwanted space after footnote mark

I want to remove the small space after footnote mark (it especially visible before punctuation marks). MWE \documentclass{article} \begin{document} Text\footnote{first}. Text\footnote{second} ...
0
votes
0answers
25 views

Sudden double space in ShareLatex

I'm writing a book and sometimes I just have some double space between paragraphs. I don't know how to fix it. My book code concerning the chapter format is: \makeatletter \renewcommand{\@chapapp}{}...
1
vote
1answer
31 views

Weird spacing between caption and table with floatrow package

What I would like to do : put table captions directly above my tables without space between the caption and the table Here is what I get : I am using the floatrow, subfig and caption package and I ...
0
votes
1answer
22 views

Make space between table and section even to text and section

Good evening, I know that I can reduce the space that is inserted with a new table with \vspace*{-10pt}. But how to make it exactly even to the normal space between a \section or \subsection and the ...
0
votes
0answers
15 views

Spacing of a macro similar to \sin [duplicate]

I want to create a macro \dom (for domain) that behaves similarly to \sin in the sense that it has spacing \, if it is followed by a letter such as in \dom a and that is has no spacing if followed by ...
1
vote
1answer
29 views

spacing in equations

I need to make this formula This is what I have so far: \Delta(x)=\left\{ \begin{array}{ll} 1 \mathrm{if} x>0\\ -1 \mathrm{if} x<0 (1)\\ ...
0
votes
2answers
31 views

Remove white space at the start of new section in latex

Using this code: \RequirePackage[l2tabu,orthodox]{nag} \documentclass[12pt,letterpaper,nofootinbib,notitlepage,tightenlines]{revtex4-1} \linespread{2} \usepackage[letterpaper,margin=1in,bottom=1in]{...
0
votes
0answers
22 views

Why vertical spacing discrepancy with parskip for paragraph command?

I have a LaTeX document that contains something similar to the code below. When I compile with pdflatex on Windows and Linux, there is extra vertical space just before the \paragraph command on the ...
0
votes
1answer
26 views

Use of spaces between elements

I was working on my own document template for the first time and I came up with a question that I couldn't find the answer online. I was writing spaces between elements (see example beneath) but I ...
0
votes
1answer
35 views

How to format spacing between reference key and reference text in Bibtex? [duplicate]

I want to increase the spacing between the reference key and the text in my bibliography as shown in the picture below: I'm using Bibtex. Any suggestions? Thanks in advance!
1
vote
2answers
23 views

Reducing horizontal space in math mode align

The following code aligns everything just the way I want -- and I can be much too picky -- except that the horizontal space to the last column is too wide. How can I make it narrower? \begin{align*} ...
0
votes
0answers
22 views

Is there a way to give vertical space before the title of section when it is on the top of the page?

\documentclass[a4paper,12pt]{article} %twoside yaz iki taraflı için \usepackage[top=2.5 cm, bottom=2.5 cm, left=4 cm, right=2.5 cm]{geometry} \usepackage[turkish,shorthands=:!]{babel} \usepackage[...
0
votes
2answers
35 views

Spacing the itemize content

Is there any way to change horizontal align for the itemize? I tried to use \hspace{-0.5cm}{\begin{itemize}...}, however, it did not work.
0
votes
1answer
37 views

Space between \paragraph{} and text [duplicate]

how do I put the text on a new row under a paragraph? My code is the following: \paragraph{Title} Some text, Some text, Some text, Some text, Some text. Right now It ends up like: Title Some text, ...
1
vote
0answers
16 views

The vertical spacing before the title of TOC is inconsistent with the normal section title

I use the tocloft package to customize the format of TOC and the ctex package to support Chinese typesetting and to customize the section title format. Everything works well. But I find that the ...
2
votes
1answer
17 views

vertical space in center mode in latex

\begin{center} \Huge{\bf\vspace{6.5cm} ABSTRACT} \end{center} \vspace{3 cm} %%%%%%%% Write the abstract of your project %%%%%%%%%%%%% Coding Theory plays an important role in ...
0
votes
0answers
19 views

Managing spacing correctly in `report` class

I am writing a long document using the report class. The format must be size A4, with a left-hand margin 4 cm., font size 12 and one-and-a-half spacing. So my .tex in minimal form would like this. ...
1
vote
0answers
39 views

How can I change bibliograpy spacing?

Here's my WME \documentclass[a4paper,12pt]{article} \usepackage[top=2.5 cm, bottom=2.5 cm, left=4 cm, right=2.5 cm]{geometry} \usepackage[turkish,shorthands=:!]{babel} \usepackage[backend=biber, ...
0
votes
0answers
18 views

Having trouble with caption spacing in a minipage

I have a minipage with 2 figures side by side, but there is no white space between the captions of the respective figures. How can I fix this? Here is what I have: \begin{figure} \begin{minipage}{...
7
votes
2answers
70 views

Single-spaced comments in changes package with double-spaced document

I'm using the changes package for comments. Is it possible to get the comments to be single-spaced, even if the document itself is double-spaced? MWE: \documentclass{article} \usepackage{changes} \...
2
votes
1answer
34 views

Reduce the following space

\documentclass{article} \newtheorem{theorem}{Theorem}[section] \newtheorem{proposition}{Proposition}[section] \usepackage{tikz-cd} \begin{document} \begin{proposition} The following diagram.... \...
1
vote
1answer
8 views

scrlttr2: change vertical spacing before signature

How do I change the vertical spacing before the signature in scrlttr2 without editing lco files? Per the KOMA-Script documentation, \@setplength{sigbeforevskip}{length} seems to do what I need, but \@...
0
votes
1answer
24 views

Adjust space above for only one align

In my document I have many align environments which look great as they are. Now I have one starting on a new page and because of the space above it looks weird compared to other pages because the ...
2
votes
1answer
42 views

Weird spacing with awesome-cv

For some reason, there seems to be an abnormal indentation under the 'Interests' category. 'Skills' uses the same definition as 'Interests', but as you can see, the weird indentation is not there. I ...
2
votes
2answers
43 views

Anonymous division in memoir with small caps

I want to create "anonymous divisions" -- breaks in the text that do not have their own section titles. I'm using the memoir class, and it provides \plainbreak{} and \fancybreak{} for this purpose. ...
2
votes
1answer
27 views

How to fix space between two consecutive equations

My tags are follows: \documentclass{book} \usepackage{amsmath} \begin{document} \begin{align} a+b&=c\\ d+e&=f \end{align} \end{document} In this, I need to fix the space between two ...
0
votes
1answer
59 views

Too much spacing before each new page

As the picture shows, at the top there is too much spacing: I think it has to do with the following code, I already tried to change all the numbers given (.5ex etc.) but it is just the space in ...
0
votes
0answers
33 views

Can I set inter word space and letter space for Awesome CV?

I was using the template Awesome CV (https://www.overleaf.com/latex/templates/awesome-cv/dfnvtnhzhhbm). However, the spacing between letters or words are too narrow. I was wondering if there is a way ...
2
votes
1answer
51 views

Figure numbers overlapping text in LOF (list of figures)

I'm getting overlap of the numbering of my figures in the LOF (list of figures) into the figure text like shown below. I know there are other questions about this but this only happens to my figures ...
0
votes
0answers
60 views

ToC header & footer horizontal line; and spacing in bibliography

I pretty new to LaTeX. Currently working on a few slides, but I have two problems I can't really figure out how to solve. 1) I would like to have a horizontal line in the header and footer for every ...
5
votes
5answers
222 views

How in the world do I place line of text EVENLY between two horizontal tikz lines?

Vertical spacing is killing me lately. First I had to learn how to get rid of automatically-generated vertical-spacing after center environment because it was off (\partopsep+\topsep), then I had to ...
0
votes
1answer
29 views

Adjust spacing between list of tables and the title of each table

I am working on my thesis formatting (in report documentclass). I used "tocloft" package to adjust the fontsize of the toc, lot and lof. I was wondering how to adjust the spacing between list of ...
2
votes
1answer
56 views

Avoid big spaces in latex after using $

I am using $ signs yto italicize some text in my paper. \documentclass[conference]{IEEEtran} \begin{document} Hence, even though both 1-$doPly$ and 2-$doPly$ declare to call the interface $...
2
votes
2answers
87 views

How to get rid of (or make even) vertical space above and below math mode (`\[…\]` and `\begin{equation}`)?

I have difficulty removing spaces (or making them even, or setting them to custom values) above and below vertical math mode. This is a re-write of the previous question whose code contained hrule's ...
2
votes
2answers
42 views

Why vertical-space generated between `center` environments is always `10pt` (regardless of font size) and why it requires `\vspace{-20pt}` to remove?

First confusion I have is that space generated between center environments is always 10pt regardless of global font size. Because interline spacing should depend on the font size but in this case it ...
2
votes
2answers
36 views

non-breaking, normal-sized space after period

I know that a backslash will produce a normal-sized space after a period i.e.\ like this and I know that a tilde will produce a non-breaking space, as in Figure~1. What if I want a non-breaking space ...
0
votes
0answers
19 views

bmatrix brackets too tall when using package setspacing and setting \doublespacing [duplicate]

Is there a way to get the brackets of the matrices to ignore the spacing that I set up for the paper? There is just a little too much space at the top of each matrix when using \doublespacing. I would ...
1
vote
2answers
48 views

How to remove space before \chapter

I am trying to customize the chapter style in the report class : Remove the blank page generated between chapter : Done with the etoolbox package : \patchcmd{\chapter}{\if@openright\cleardoublepage\...
0
votes
0answers
16 views

Recursive renew environment using algorithm2e for captions underneath

Putting captions below I am trying to implement putting a caption underneath the algorithm environment when using algorithm2e based on this solution. However, unlike the quoted solution I don't wish ...
4
votes
2answers
135 views

Reducing the white spacing

\documentclass[11pt, a4paper]{report} \usepackage{bm} \usepackage{amsfonts, graphicx, verbatim, mathtools,amssymb, amsthm, mathrsfs} \usepackage{color} \usepackage{array} \...
13
votes
3answers
653 views

How to get the width for a math symbol to align the rows of a table?

I try to align the letters b,d,t exactly vertically stacked. But the \neg symbol has unkown width. What is it and how to find it out in general? Numerous spacings exist, but whats the exact one? \...
3
votes
2answers
141 views

In a Latex Table, how can I automatically resize cell heights to account for superscripts?

I have the following table created using the H command from the float package. The main problem below is that the exponents are too close to the top of the cell. Is there a way to increase the cell-...
0
votes
1answer
52 views

Wrap equation inside table and remove blank space below and above a longtable

I am making a longtable in which one table contains long equations.... Q1. My first question is to how to fit those equations in limited space,,I already used the \begin{split} and \begin{align}..But ...
2
votes
2answers
67 views

Punctuation spacing at the end of equation, align or $$

In writing equations, I use to end with commas, dots and whatsoever punctuation separated by a \quad spacer... \begin{equation} sin(x)+cos(x)=a\quad, \end{equation} Since I am going to write ...
0
votes
1answer
39 views

Inner Spacing within Footer (fancyhdr)

How can I create exactly the following spaces/distances? Margin from bottom to footerrule: 22mm Distance from footerule to text: 5mm Distance from Footerrule to top of footertext: 7mm Current state: ...
0
votes
0answers
12 views

Spacing between the different environments

I want to separate more clearly the different theorems, definitions, examples, ... So I need the space between these different environments to be bigger than space between paragraphs. Is there a ...
0
votes
0answers
14 views

Spacing around subsections in amsart

Is there a way to adjust a spacing for subsections? I am working with the document class amsart and I want to add the same spacing around each new subsection. Thanks in advance!
1
vote
1answer
35 views

How can I have the appropriate distance between two theorems?

I have the following LaTeX script: \documentclass[11pt,b5paper,twoside]{book} \usepackage[parfill]{parskip} \usepackage[thmmarks]{ntheorem} \usepackage[T1]{fontenc} \usepackage{geometry} \usepackage{...
2
votes
0answers
48 views

LuaLaTeX and \binom [closed]

When compiling the following MWE with lualatex, \documentclass{scrartcl} \usepackage{amsmath} \begin{document} \[\binom{5}{3}\] \end{document} the numbers inside the binomial coefficient are not ...
0
votes
1answer
25 views

Prevent LaTeX from spacing header from text to fill up the page

(New to LaTeX, so please answer in detail and with examples) I am trying to write a report, and at one part I have a list of questions I need to propose. However, whenever I try to add the list, the ...