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

4
votes
1answer
48 views

how to add blank space before colon in figure caption

my thesis template is using caption package for figure captions and when i added figure like this \begin{figure}[h] \centering ...
4
votes
2answers
114 views

Too high footer on (custom) title page in scrartcl

I wanna have custom title page in my document created with scrartcl class. I'm using titlepage environment (which I believe sets thispagestyle=empty). Still I have rather high footer: just as in ...
1
vote
1answer
34 views

Avoid table overlaying with another column in IEEEtran

I am trying to create a table which is occupying end to end in the IEEEtran paper. If the table comes in the first column, then the text on the right column overwrite the remaining columns of the ...
3
votes
2answers
108 views

How to save space displaying “max x \in [a,b]”?

I just create a summary for usage in my exam and there are a lot of information worth to be on this summary page. k=1,...,n below max is a waste of space (I have more than 10 of these wasted lines ...
2
votes
3answers
52 views

How to control space after a \makebox

This MWE is part of an exam. Before each question I put a box in the left margin that includes the question number and the max score. For this MWE only, I changed the \makebox into a \framebox to ...
5
votes
1answer
216 views

How to allow for some space between introduced Programming Code and text

I'm using the following ( the latex code is not from my authorship, I just used one from a question I asked here a long time ago.) \documentclass[12pt,a4paper]{book} \usepackage{graphicx} ...
6
votes
1answer
238 views

French spacing for semicolon in math mode

When writting mathematics in a french document, you should use the semicolon instead of the comma to separate the coordinate of a vector or a point (for example). The problem is that in math mode, ...
1
vote
3answers
91 views

How do I add a space at the beginning of each line

I am a beginner with TeX. I am trying to put a few spaces at the beginning of the line. Or a tab, whatever would work. But whatever I try it just puts space on the first line. My questions: How do I ...
1
vote
1answer
44 views

I want vertical space between my picture and paragraph, both horizontal and vertical spaces needed

{get rid of the graphics if needed] Can anyone show me how this can properly be written? How should I use paragraph? I'm honestly lost \documentclass[12pt]{article} ...
0
votes
1answer
46 views

Make `enumerate` start from a new line [duplicate]

I'd like to put enumerate on a new line, but cannot use \newline because there is no line to end! Here is the code: \newtheorem*{quoz}{Teoremi del quoziente} \begin{quoz} % \newline here does not ...
0
votes
0answers
17 views

Impact of enclosing lines with curly brackets [duplicate]

When I compile the following (almost identical) two pieces of code, there is much more vertical space between both words in the first example than in the second example: % Much space between the ...
2
votes
1answer
65 views

Horizontal spacing in “align” mode

I write gamma symbol with indices in normal math mode as follows; \documentclass[12pt]{article} \usepackage{amsmath} \begin{document} $$ \Gamma^{\alpha} \\ _{\mu \nu} $$ \end{document} This is ...
3
votes
1answer
108 views

Spacing rules for operatorname

When does extra space get inserted by \operatorname? In the example below it appears extra spacing is inserted in the second and third case, but not the first. Why? \documentclass{report} ...
5
votes
1answer
82 views

Some extra space in references IEEE

I have write this code (a simple citation): \noindent to an acceptable level of approximation. Alternatively, some authors~\cite{roussas1997course} simply require that: And used this command, for ...
3
votes
1answer
38 views

operatorname and mathbin spacing

It seems like operators (e.g. \sin) don't mix nicely with binary operations (e.g. \circ). An example: \documentclass{article} \usepackage{amsmath} \begin{document} $\sin \circ f$ $\mathrm{sin} ...
12
votes
1answer
140 views

LaTeX Beamer: Define \itemsep globally

In LaTeX Beamer, I'm trying to set \itemsep globally. I've already tried the following, but it doesn't work: \documentclass[14pt]{beamer} \setbeamertemplate{itemize/enumerate body ...
6
votes
1answer
111 views

Undesired spacing before \sqrt[n]{x}, proper way to fix?

This code \documentclass{article} \usepackage{amsmath} \begin{document} \[ J(\sqrt[n]{x}) \] \end{document} compiles into this: The spacing after the opening parentheses is ugly. What's the ...
3
votes
1answer
20 views

Less spacing at the end of equation lines using Split environment

Does anyone know why in the equation produced by the following code, the plus signs at the end of the first and second lines have less space on their left sides compared to the other plus signs? and ...
1
vote
1answer
40 views

Removing top space of itemize inside a multicolumn

My previous question was tagged as duplicate, yet the solution given in the link does not solve my problem. I am trying to suppress the blank space on the top of the itemize environment. I tried to ...
2
votes
1answer
65 views

figure 2 for Crossed Ladders Problem

I'd like to draw triangle like the following: but using the following code which produces: The code must represent the structure of the triangle, like that: ...
3
votes
1answer
57 views

figure 1 for Crossed Ladders Problem

i would like creat report for the solution of that problem http://math.stackexchange.com/questions/1124801/crossed-ladders-problem so i need to create some figurs with latex to make solution more ...
2
votes
0answers
46 views

Itemize and multicolumn : top space despite topsep being set to 0pt [duplicate]

Please consider the following MWE : \documentclass{article} \usepackage{longtable} \usepackage{booktabs} \usepackage{enumitem} \usepackage{array} % Thanks daleif ! \makeatletter ...
4
votes
2answers
64 views

change delimiter (slash) size in math mode

I use the division sign, together with an underscore and smash: $\underline{\smash{X/P}}$ The result is the following: How can I reduce the lower part of the slash, so it does not suppress the ...
4
votes
3answers
127 views

Align bullet points in two side-by-side itemized lists

I'm trying to create two side-by-side bullet point lists in a document, where each point lines up with the corresponding point in the other list, even when one of the points has multiple lines. So ...
0
votes
0answers
36 views

Too large gaps between equations or paragraphs [duplicate]

I am using a specific preamble for my thesis, a preamble which I cannot say I completely understand. Sometimes large gaps appear between paragraphs or between text and math equations although there is ...
3
votes
1answer
42 views

Why <space> is ignored after a block and esc-<space> is not?

My setup: web2cTeX (TeX Live). Consider these two files, which are supposed to produce the same output. --- file1.tex --- \centerline{ab}\ % cd \bye --- file2.tex --- \centerline{ab} % cd \bye ...
0
votes
2answers
49 views

Image covers whole of a column and not at desired location

I am new to Latex and want to insert a figure into my document. I used following commands: \begin{figure}[hbtp] \centering \includegraphics[scale=0.5]{PTS.eps} \caption{Figure PTS} \end{figure} ...
6
votes
2answers
127 views

@{} removing the vertical line for the header row of table

I'd like to remove the horizontal spacing between the text and table lines. I am using @{}, but it removes the vertical line of the table for the first row. Does anyone know why? ...
6
votes
3answers
199 views

I want a really small underbrace

This question is related to, but distinct from Oversized \underbrace's label causes unwanted spacing. My issue isn't with the spacing of the label, but with the size of the underbrace itself. ...
5
votes
1answer
72 views

Why does hanging indent with \everypar mess up table spacing?

I'm trying to add a hanging indent to every paragraph of a particular column of a table: \documentclass{article} \usepackage{array} ...
3
votes
1answer
21 views

unwanted vertical spacing in supertabular with babel

I have a question regarding supertabular and babel. Whenever I'm using different language specifications inside a cell, there is a slight vertical space, which is not there when there is no language ...
1
vote
1answer
55 views

Alignment of CV Reference in ModernCV

I'm using the latex template for CV from here CV Template. For reference, I added these lines \newcommand{\cvdoublecolumn}[2]{% \cvline{}{% ...
1
vote
0answers
25 views

Problem Using \hfill to Justify Text [duplicate]

I am writing a resume using the scrartcl,currvita, and classicthesis packages. Everything else is fine but I have run into a problem correctly justifying some dates along the right side of the page. ...
4
votes
1answer
60 views

Why is the spacing different after a multiline array environment?

My goal is to get equal line spacing between text and array environments. This mostly works without any modification, except for one case: If the array environment consists of more than one line, the ...
5
votes
2answers
112 views

Left-justified text forced to the right

I am creating a letterhead or other heading to be used at the top of invoices and the like and am having an issue with the spacing of one element: \documentclass[12pt]{article} ...
0
votes
1answer
35 views

How to set a spacing parameter in customized list?

I am using the following code to generate my own list: \newlist{mylist}{itemize}{1} \setlist[mylist]{label=\textbullet} and am not sure how to introduce a spacing parameter there, like something ...
1
vote
1answer
58 views

How to set the spacing before and after of section headings to a fixed value of 1.5cm?

In this code, i want the spacing before and after of my section, subsection, and subsubsection headings to be exactly 1.5cm regardless of the font size or my line spacing. How can i do this? I know ...
3
votes
1answer
43 views

Spacing issue in subfigure/tikzpicture when labelling arcs

I have two simple graphs side by side that align perfectly when the arcs are not labeled, but as soon as I add the labels I get a spacing issue where there is a space between the second figure and its ...
1
vote
1answer
59 views

Remove white space from empty nodel label in tikz-qtree?

With empty nodes in tikz-qtree how do I remove the white space where the node label usually appears? In the following example I want to remove the white space for the node under Foot 3. ...
1
vote
0answers
51 views

Zero space between bars of the same interval in pgfplots ybar interval plots

I need a bar plot (containing multiple \addplot) with following requirements: ticks between x labels (and, in this respect, my question differs from Adjusting width of ybar interval separator to ...
2
votes
2answers
49 views

Spacing between equation and text

How do I create a space for this statement: I want to have some space between less than 0 and the for $x^{*} \neq$. This the code that I'm using: Lastly, the comparative static of $x^*$ w.r.t ...
0
votes
2answers
132 views

fixing a diagram in Homework Problem Sheet

could someone make this homework problem looks good-looking here is my code \documentclass[12pt]{article} \usepackage[pass]{geometry}% just to show the page margins \usepackage{tikz} ...
3
votes
2answers
64 views

LaTeX: Text/Parbox at bottom of page

I have a problem similar to this question, but slightly more involved. I need for the parbox in my example to always appear at the bottom of the page, regardless of whether TeX places it on a page by ...
0
votes
0answers
26 views

Undesired space before the section title when a figure is inserted after the section title

After I used a template, Latex gives me a lot of white space before the section title because a figure is inserted after the first paragraph of the section. I used [H] as the floating parameter for ...
12
votes
3answers
244 views

Underbrace changing spacing of operators

I have found that using an \underbrace on a term in an equation causes the spacing of the following terms to be changed, in particular, the + is moved closer to the \dot{m}. This seems to be distinct ...
4
votes
1answer
68 views

xspace leaves space in front of comment

I am confused by the behaviour of \xspace in combination with the \todo command. I didn't expect \xspace to leave a space when I cut off all spaces by a comment sign %. Usually this works as expected, ...
2
votes
1answer
56 views

Arrows to text above and below line

I have been searching for an answer for some time but have not come across a solution. I am taking some notes from a programming course and need to take a line of code and identify each individual ...
4
votes
1answer
42 views

Why the redundant adding and subtracting inside space commands? [duplicate]

Why do some commands like \titlespacing*{\section}{0pt}{5.5mm plus 1mm minus .2mm}{4.3mm plus .2mm} have this strange adding and subtracting for length. I.e. why not write 6.3mm instead of ...
3
votes
0answers
89 views

Changing top margin for second page only? \vspace inserts extra whitespace

I am trying to format a LaTex template for pandoc output from .md to pdf. The document is for lengthy university papers requiring very specific layout. The majority of the paper has 1 in margins all ...
2
votes
1answer
99 views

Adjusting spacing around section/subsection titles with koma-script

With the KOMA-script scrreprt class the vertical spacing before and after chapter titles can be adjusted the following way: \renewcommand*{\chapterheadstartvskip}{\vspace*{0cm}} ...