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

Filter by
Sorted by
Tagged with
0
votes
1answer
23 views

Problem using vspace with tables

I have a problem using \vspace in Latex, because there is a wide vertical space between tables and paragraphs. I decided to use \vspace{-4mm} but it didn't have a big effect on the vertical spacing. ...
3
votes
1answer
46 views

Remove space around tikzpictures

I need to create a document in which pages are horizontal and each of them contains eight rectangles that take exactly and all the paper size. After some tries I came up with a code like this MWE: \...
0
votes
1answer
12 views

style modification glossaries-extra.sty help

My codes are follows: \documentclass{book} \usepackage[acronym]{glossaries-extra} \newglossaryentry{valid} { name={valid}, description={An argument is valid just in case its premises provide ...
3
votes
3answers
24 views

Modified align environment changes position of equation number

How can I change the align environment (or create a new environment based on align) so that the alignment in the columns of the equation is not rlrlrl… but rrcll while at the same time keeping the ...
-1
votes
0answers
47 views

How to avoid starting a new page [duplicate]

Currently, I have a page with 4 lines and the footnote right underneath it. Then the rest of the page are empty until a figure on the next page. How can I avoid this? I want the figure continue with ...
0
votes
1answer
24 views

Table of Contents Title Overlapping Header

I'm trying to get the Table of Contents title to sit correctly on the contents page. All other section titles are formatting correctly but for some reason the Table of Contents title sits over the ...
0
votes
0answers
15 views

Separating groups of bars in horizontal bar chart

I want to evaluate one property for different materials, that are separated in 6 groups. To do that, I want to make a horizontal bar chart. I have coded the chart, creating a dummy scale in order to ...
0
votes
0answers
24 views

How to remove leading spaces before and after verbatim inside a table cell?

MWE: \documentclass{article} \usepackage{array,etoolbox,lipsum} \makeatletter \preto{\@verbatim}{\topsep=0pt \partopsep=0pt} \makeatother \begin{document} \begin{table}[ht] \begin{tabular}{>{\...
1
vote
2answers
28 views

Adjust vertical spacing in multi column bullet points

I am trying to reduce the vertical space between this multi-column list and the text above and below it. It is for my resume. I have tried using: \setlength\itemsep{-.5em} However, it ends up moving ...
0
votes
2answers
27 views

Bullet points in Table - Reducing the space between rows

I want to convert an Excel table which contains some bullets to a LaTeX table; for that purpose, I used the Excel2Latex plugin. When I pasted the (produced by the Plugin) code to Overleaf, I noticed ...
0
votes
0answers
45 views

How to add space before word? [duplicate]

I want to write text like this, where the word circumference should come under the word When.
0
votes
0answers
36 views

Space between text and begin{align}

As you can see below, when I use \begin{align} \end{align}, the space before the equation is bigger than the space after the equation. I want both spaces to be like the second space after the ...
2
votes
1answer
31 views

filling a vertical space in beginning of paragraph

I tried the following \linespread{1.3} \documentclass[12pt]{report} \begin{document} \paragraph{Title Detection Computing} \vspace{5mm} Cloud smart alert correlation in Azure Security Center (...
1
vote
2answers
46 views

Auto wrap broken words without hyphens, zero all stretch/shrink inter-word intra-word glues in fully justified paragraph

(1) Recently I have been researching a lot of fonts, have come across a range of type specimens where designers have deliberately disabled hyphenation (as a stylistic effect) while allowing words to ...
0
votes
1answer
60 views

what is the meaning of 0pt 0pt in titlesection

I was reading a question here Reduce gap between section and subsection heading I read following \titlespacing\subsubsection{0pt}{0pt}{0pt} in the code so I want to know what is meant by 0pt and what ...
0
votes
0answers
54 views

Why doesn't microtype increase tracking for non-small caps?

Originally, I faced the following problem: In my document, I have lots of products with each of the factors having lots of sub- and superscripts attached, so I wondered whether spacing out the factors ...
0
votes
1answer
49 views

Increase space between numerations and info in bibliography

I'm currently learning about LaTeX. Regarding the bibliography I wanted to keep it as simple as possible. I tried biblatex and it worked, but I would have had to modify a lot, because all of the ...
4
votes
2answers
108 views

Align list ignoring negative sign of the first number in items

I am currently using enumitem and made an environment for my lists in a document. It is the following: \newenvironment{alternativas}[1][0] { \begin{enumerate}[label={\Alph*)}, itemsep=#1cm, ...
2
votes
2answers
31 views

Auto adjust item separation for equal spacing

I am currently using enumitem and made an environment for my lists in a document. It is the following: \newenvironment{alternativas}[1][0] { \begin{enumerate}[label={\Alph*)}, itemsep=#1cm, ...
2
votes
1answer
33 views

How to correct the appearance of the captions

I followed a tutorial I saw on this website, but the captions don't look right because they are too long. This is the code I used: \begin{figure}[h] \centering \begin{minipage}{.5\textwidth} \...
0
votes
0answers
26 views

Space inserted before and after custom command

I created a custom command to be used for printing sizes. For easier checking the commands options I use a custom 'switch' environment. Sadly there is always a space before and after the inserted ...
1
vote
0answers
50 views

Phantom does not work without protected keyword in xdef [duplicate]

I'm trying to align labels, but it seems that space has a different width then digits are. \documentclass[tikz, border=0.5]{standalone} \usepackage{tikz} \makeatletter \newcommand*\bigcdot{\...
3
votes
1answer
73 views

Cases vs. Array environments

I would like to completely understand all the differences between using the amsmath environment cases and using the array environment to write functions with cases. Here is my current understanding ...
2
votes
1answer
47 views

Problem with my LaTeX code not compiling

i'm having problem compiling my LaTeX code. Recently i'm learning LaTeX to start writing my homework.The errors are: runaway argument?, Missing $ inserted. \documentclass{article} \usepackage[utf8]{...
5
votes
2answers
55 views

Too much horizontal space in an alignat environment

I'm having a bit too much horizontal space in this MWE, and want a normal spacing: \documentclass[11pt,letterpaper,twoside]{book} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[total={6in,...
1
vote
1answer
30 views

PGFPlots x/yshift doesn't allow negative number?

I have been trying to shift the x axis label in the axis environment down. With not much success... For some reason when I enter xlabel style={yshift=-1.5em} the whole thing doesn't even compile and ...
0
votes
2answers
51 views

Renewing table of contents distances breaks boldface for page numbers of sections and of titles

It seems like a simple problem but it is not clear how to fix it. Consider this \renewcommand{\thesection}{\arabic{section} ABCXYZ} ... \tableofcontents \section{The title of the section} will ...
0
votes
1answer
26 views

Align all text in bullet

How do I remove the spacing before the first line of text in each bullet? \documentclass[letterpaper,11pt]{article} \usepackage{latexsym} \usepackage[empty]{fullpage} \usepackage{titlesec} \...
0
votes
1answer
36 views

How does one insert a line or jagged lines with the text in front of it?

For example, the overlay of the exercises found in Exo7's pdfs are situated in front of a jagged line usually, I would like to know how to get the text to be exactly in front of the line I'm creating. ...
1
vote
2answers
39 views

enumitem: Get rid of extra space between label and content in inline list

I use \setlist{wide} with the package enumitem to unindent a subsequent line in an item in vertical (normal) lists. This no indentation rule is a publisher guideline that I cannot change. The problem ...
2
votes
1answer
33 views

Space too log between cal letter and index

The code ${\cal T\!}_{\!j}$ produces the output : and as you can see, the space between the two characters is too large. How can I reduce this space ? \documentclass{article} \usepackage{fourier} \...
3
votes
1answer
38 views

Increase space between images using tikz

My codes are follows: \documentclass{book} \usepackage{tcolorbox} \usepackage{tikz} \usetikzlibrary{calc,trees,positioning,arrows,fit,shapes,calc} \usepackage{tikz-cd} \tcbuselibrary{skins,xparse} \...
1
vote
1answer
22 views

List of algorithms, formatting

I have the following MWE with \listoffigures and \listofalgorithms. In the output, the list of figures are grouped based on the chapter they are in. However, when I add list of algorithms with the ...
0
votes
0answers
21 views

Turn off double spacing

I want a specific section of the document to double space. So I do \usepackage{setspace} \doublespacing But this is applied on the entire document. How can I turnoff double spacing and resume ...
2
votes
1answer
39 views

Why does \extracolsep{\fill} not fill?

When using \extracolsep{\fill} to stretch out a sparse table to the full text width, inserting multicolumns whose text is “too long” breaks the filling. Naïvely I would have expected the second row ...
1
vote
1answer
25 views

How can I have extra space for x axis in this line plot?

I am trying to construct a line plot as follows. I need extra space for the symbolic x axis so that I can add notation $\tau=\bar{Y}{1,1}-\bar{Y}{1,0}$ next to the brace. is there anyway to do this? ...
5
votes
3answers
776 views

Spacing of math symbols to the left of a letter and between two letters

I am a little annoyed with the inconsistency of the spacing of some math symbols like + and - when they appear to the left of a letter (or symbol) and when they appear between two letters (or symbols),...
0
votes
0answers
20 views

How can I line up hfill lines with the psvectorian using fancy header?

I have been playing with the header on this document and I finally got the psvectorian to sit where I want it but it does not line up with the hfill line. I have looked through some other code and the ...
0
votes
0answers
27 views

LaTex tightemize bulletpoint indent for multilines

I would like to indent the bulletpoints of "THIS IS RUNSUBSECTION" to have equal spacing with the "COMPILER" subsection. I am using tightemize which I believe is a part of the fancyhdr package. Can ...
0
votes
1answer
23 views

How to remove white space between text and table?

I am trying to place a table immediately below some text but Latex keeps putting it either above or at the bottom if the page. I have using FloatBarrier but it has no effect. Removing the t option ...
0
votes
0answers
30 views

How to avoid table floating above the section text?

Following the answer of Mico to bring both tables in single page by reducing space between items. Code \documentclass{article} \usepackage{layout} \usepackage{tabularx,ragged2e} \usepackage{...
0
votes
0answers
23 views

Section number without section name on page

This gives me a large heading that says "something", and updates the numbering: \begin{document} \section{something} \end{document} This gives me a heading without updating the numbering: \begin{...
0
votes
0answers
27 views

Remove line break after section

When I write \section{something} on latex, it takes up a lot of space on the page, and has some whitespace above and below it. How do I remove said whitespace?
1
vote
1answer
36 views

how to reduce margins on left side in report

I want to generate a pdf with my thesis when I compile the things to generated pdf. What I see is that on left side a lot of space is left. I am not clear in latex how do we reduce the margins on ...
11
votes
3answers
798 views

Ugly matrices to fix

I'm having difficulties in setting four square matrices, one on top of each other. They need to have the same size, i.e the same width for aesthetical reasons. Currently,they are very ugly, as shown ...
0
votes
2answers
29 views

Space between text and upper line in mdframed [duplicate]

I am using the following code: \documentclass[11pt,a4paper,twoside]{book} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[english]{babel} \usepackage{mdframed} \theoremstyle{...
2
votes
1answer
41 views

Using email in CV makes an additional space

When I am writing my CV, when I use \email to show my email there is an additional space. Could you please help me to fix it? Part of code: \documentclass[12pt]{moderncv} \moderncvstyle{...
1
vote
2answers
58 views

Create a dialogue

I am a beginner in Latex. This is my problem. I would like to type set a dialogue between three characters. I found the dialogue environment but it does not exactly cope with what I expect. The ...
1
vote
2answers
46 views

Extra space on the left of Forest tree

I made a wide tree with Forest and I want use resizebox to scale it down to match the text length. I noticed that the space on the left of the tree is oddly bigger, specially if compared to the space ...
6
votes
1answer
68 views

Row vector with equal spacing

In this MWE the alignment of the last element in the tuple is not nice. How can I get the spacing for the last element at the same size as the others? The description "n+1" may overlap the comma from ...

1
2 3 4 5
126