Tagged Questions

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

7
votes
1answer
469 views

Aligning on plus sign (as well as decimal sign) in tabular environments using numprint

Is it a bug in the numprint package .. or maybe a missing feature? I can't align on the plus/minus sign in tabular environments, padding numbers with spaces. \documentclass{article} ...
7
votes
2answers
887 views

Formatting of \bigwedge in display math mode

I posted an answer on math.se here and in there I used double dollar mode. Now in that mode, I had \bigwedge^ \hspace{1mm} k V but upon rendering it looks weird like How can I bring the k ...
6
votes
3answers
144 views

Getting rid of space after \vpageref

I want to use \vpageref and have a comma right after it. The problem is that a space is inserted even though I defined \reftextcurrent to be {}. In the example below I could fix this by adding the [] ...
10
votes
1answer
2k views

How do I set \itemsep to rubber length?

I know that I can set \itemsep to any length like this, \setlength{\itemsep}{0pt} But if I want to set \itemsep to a rubber length (e.g. \bigskip), how do I do this? \setlength{\itemsep}{\bigskip} ...
8
votes
1answer
376 views

Can I assume that the \ht+\dp of a strutbox == \baselineskip?

In Context, as long as the interline space is set through the proper interface, it is safe to assume that (tex.box.strutbox.height + tex.box.strutbox.depth) == tex.baselineskip.width. This relation is ...
25
votes
1answer
10k views

How to typeset a “small” non-breaking space

I can use ~ to produce a non-breaking space. But it is too large for me, and I would like a non-breaking space of the size of \, for example. Is it possible ?
6
votes
1answer
107 views

xspace doesn’t handle \,

When using a macro ending with an \xspace followed by a small space \, xspace inserts an extra (normal) space. \documentclass[parskip=half]{scrartcl} \usepackage{xspace} ...
16
votes
1answer
10k views

difference between \vspace and \vspace* for negative arguments

Is there ever a difference between \vspace{...} and \vspace*{...} if a negative argument is supplied? Most importantly, does the choice of which macro to use have an influence on page breaking ...
1
vote
1answer
198 views

Misplaced supertabular at the bottom of a page

I want to write a table which is too long to fit in the middle of a page. So I thought of using supertabular. My code is \documentclass[11pt]{article} \usepackage{supertabular} \begin{document} ...
3
votes
2answers
218 views

How is possible to set interline inside this block of code?

Have this code that generate an aside section: \RequirePackage[absolute,overlay]{textpos} \setlength{\TPHorizModule}{1cm} \setlength{\TPVertModule}{1cm} \newenvironment{aside}{% ...
1
vote
1answer
165 views

Optimize Wrapfigure's output

I am including a wrapfigure in my document. My code is \documentclass[11pt]{article} \usepackage{wrapfigure} \usepackage{graphicx} \begin{document} \begin{wrapfigure}{l}{60mm} % \begin{center} ...
10
votes
4answers
195 views

A line of text with proper positioning but consuming no space?

Welcome to part 4 in a series of questions about me trying to improve my crazy layout! I'm using tabu to create a table with a central heading, and two small blocks of text on the left and right ...
2
votes
1answer
339 views

how to remove the linebreak after one bibitem in article+bibtex environment

I recently encountered the following problem. Here is a sample of tex file I used \documentclass{article} ... \begin{document} ... \bibliography{mybib} \bibliographystyle{plain} \end{document} ...
8
votes
1answer
348 views

Identical vertical spacing between paragraphs of different textsize

Something that happens to me very often is that I change the size of certain formula-like material (something close to but not identical to pseudocode in my case) but get inconsistent vertical ...
8
votes
1answer
293 views

hangindent + wrapfig = bad spacing?

I am using the wrapfig package in order to place some text on the right side of my paragraph: \documentclass{article} \usepackage{wrapfig} \begin{document} \begin{wrapfigure}{r}{0pt} ...
2
votes
1answer
261 views

\addvspace after \section in memoir always adds all its space

Knowing about \addvspace I wrote my own environment that adds a minimum space before and after it. But using memoir, if a \section precedes it, \addvspace always adds all its space to the space that ...
2
votes
1answer
125 views

Theorem Spacing in Lists

I was wondering how I can change the spacing in my lists when I start my list off with a theorem environment. An example of this is that I have my list using the enumitem package with my code: ...
14
votes
1answer
1k views

adaptive \ldots with no (“…”) spacing

Due to the typographic traditions I'm used to, I prefer my \ldots to have no spacing in between, ideally exactly the same amount as in text. In math mode I would like to write things like \(1, 2, ...
8
votes
2answers
392 views

How to append code to a section?

In my scrartcl document I want to change the spacing between sections and the first paragraph. Since I am using the parskip package, the parskip is set to a non-zero value. The \section command uses ...
4
votes
1answer
556 views

How to set figure - caption spacing individually in a floatrow environment?

In the preamble I use : \usepackage[labelformat=empty]{caption} \usepackage[heightadjust=all,floatrowsep=none,captionskip=3pt]{floatrow} With this package I'm able to put two figures horizontally ...
4
votes
1answer
274 views

Decrease the space between two type of footnotes

I’m using two types of footnotes in my document, but when I use the two types in the same page, the space between the two blocks is too large (the paper size small, so it is problematic). Is there a ...
19
votes
2answers
538 views

Too much space before digit “1”

In many fonts, the digit 1 contains a lot of empty space on its left side. Maybe this is desirable inside a number like 512, but it looks wrong to me when the 1 appears at the beginning of a word, as ...
8
votes
1answer
256 views

How to disable plus and minus (flexible space)

I am modifying a thesis template for graduate students at my university and would like to improve our class file to better meet the graduate school's desires. The lady that must ok the format of a ...
12
votes
1answer
352 views

Parallel flowcharts: conjoined nodes, arrow routing and alignment

Transitioning from GraphViz to TikZ is hurting my brain... My task is to generate flowcharts of the following variety: In particular, I need a method to position nodes that share borders ...
3
votes
2answers
85 views

How can I produce 3 centered columns, with the middle one fitting the width of its content?

How can I produce a document similar to this, but cause the middle column to take up only as much space as it needs (rather than explicitly specifying a width), such that as much space as possible is ...
3
votes
1answer
146 views

amsproc class, formating \cite command

Using \documentclass{amsproc}, \bibliographystyle{amsplain}. With \cite{A,B} one gets something like [1, 2]. I would like to decrease the space (for example to thinspace) between 1, and 2. I would ...
2
votes
1answer
198 views

Interword Spacing in XeTeX is not functioning (Fontdimen)

in Default Lyx PDF output, (I presumed it is pdflatex), I used fontdimen2/3/4 to control the interword space, stretch and shrink. In a project, I had to use XeTeX for a particular font. However, the ...
8
votes
1answer
745 views

Spacing after itemize inside a tabular

I have a problem with the spacing after an itemize inside a tabular. \documentclass[12pt]{article} \usepackage{lipsum} \usepackage[usenames,dvipsnames]{xcolor} \usepackage{framed} ...
3
votes
1answer
5k views

Add four images on a beamer frame

What is the best way to add four images on a beamer frame? I am using \documentclass[slidestop,compress,11pt,xcolor=dvipsnames]{beamer} \usefonttheme[onlymath]{serif} \definecolor{LHCblue}{RGB}{4, ...
1
vote
1answer
728 views

Increase Spacing in an algorithm

Please, how can i increase spacing in an algorithm, between instruction 1 et instruction 2 ? \usepackage{algorithm} \usepackage{algorithmic} \begin{document} \begin{algorithm}[H] \caption{My ...
3
votes
0answers
3k views

Optimised visualisation of top circles in beamer [closed]

I am making a presentation in Beamer. I am using smoothbars as an outer theme. However I am having a problem when a section has many frames, as indicated in the following image ...
6
votes
1answer
736 views

Subscript spacing in equation

I have a document, where I want to use $\tau_{ff}$. If this is rendered it looks like a space is inserted between the two f's. $\tau_{rl}$ looks fine ... Where does this additional space come from ...
4
votes
1answer
280 views

canonical units for defining white space in a beamer presentation?

When using \hspace and \vspace, I often run into a decision of which units to use. In many examples I see the use of ex, cm, mm, pt, in, and so on. I also use .1\textwidth or .1\textheight. I wonder ...
6
votes
1answer
194 views

biblatex: space after modified bibnamedash when followed by “ed.”

I have run into a problem concerning spacing after bibnamedash and was hoping to find help here. I have modified \bibnamedash with \renewcommand{\bibnamedash}{\rule[3pt]{3em}{.6pt}} to get a 3-em ...
7
votes
1answer
428 views

Trying to use symbols withing the number in the siunitx package

I'm trying to use the following with siunitx: \omega_x = \SI{100\pi}{rad.s^{-1}} But it comes out wrong. There is a space placed between 10 and 0π, as if π was actually a digit rather than a ...
5
votes
2answers
1k views

Remove space before colorbox

I've made the command \newcommand{\pink}[1]{\colorbox{red!20}{#1}} to highlight in pink. It works fine for words and sentences, but if I want to highlight a subpart of a word, e.g. laugh\pink{ing} ...
4
votes
1answer
3k views

Image on top of another one in Beamer

I am trying to place an image on top of another in beamer. I am using \documentclass[slidestop,compress,mathserif,12pt,xcolor=dvipsnames]{beamer} \graphicspath{{images/}} ...
5
votes
3answers
2k views

Side by Side matrices

How can I get matrices that are side by side? Currently I have the following: \[ \begin{pmatrix}[ccc|c] 1&2&0&0\\ -1&1&2&0\\ 1&0&1&5\\ 0&-2&1&4 ...
3
votes
1answer
188 views

Citing in mla style using & adjusting authortitle-ticomp (and not biblatex-mla)

MLA without biblatex-mla I'd like to set a document conforming to the MLA style. As I was recommended elsewhere, I don't want to do this with biblatex-mla, but instead use the more robust styles that ...
6
votes
2answers
586 views

How can I change the whitespace above and below center?

Is it possible to control the space above and below center, e.g. the way it can be controlled above and below math display? In other words, is there an equivalent to, say, ...
1
vote
1answer
355 views

Cannot achieve nice spacing in list items in beamer

I am trying to achieve the best spacing between items in a beamer presentation. I am using \documentclass[slidestop,compress,mathserif,12pt,xcolor=dvipsnames]{beamer} \graphicspath{{images/}} ...
4
votes
1answer
223 views

Wrong vertical spacing under roots

I have no clue why the left root is way too high compared to the right one, whilst they are identical. Is there a way to set the vertical spacing under the root ? Tried \vphantom, but this didn't do ...
4
votes
1answer
214 views

Whitespace before \cite that ends a sentence or a paragraph

If I summarize content from another source, I'll use \cite to reference the author. In natural sciences it seems to be standard to use \cite at the end of the sentence or paragraph that containts ...
5
votes
0answers
49 views

How to put a blank space having dimensions equal to some text [duplicate]

Possible Duplicate: How to replace a large block of text by an empty block of the same size? A friend of mine is preparing some teaching materials. In the version for the lecturer there ...
6
votes
1answer
237 views

\vspace inside a command to add space between paragraphs but not before sections

I'm using a custom command to typeset some phrases and I need to put some vertical space between them. Unfortunately, this adds vertical space also before section and subsection headings. As I have ...
108
votes
1answer
108k views

What commands are there for horizontal spacing?

I know that \: in LaTeX produces a space when rendered. Are there any alternatives, because my LaTeX renderer doesn't support \: (it renders it as text), and there is no help / FAQ that I can find.
2
votes
3answers
394 views

Need help to adjust horizontal spaces in a table

I am making a table but i am not able to adjust it. Here is a screen shot. i have used following tex code \begin{table}[ht] \centering \begin{tabular}{c c c c c c c} \hline\hline Methods ...
0
votes
1answer
229 views

Chapter titles distance

I am using the titlesec package to adjust the chapter titles/headings of my text. Yet, I have trouble with the resulting distance between these new titles and the body of the text. Namely, the ...
0
votes
0answers
34 views

Commands defining espacement around floats [duplicate]

Possible Duplicate: How to define different spaces below float and non float listing? What are the commands that define the espacement before and after a float? I use the \captionof ...
0
votes
1answer
824 views

Convert my CV to LaTeX: how to stretch text blocks vertically to fill page and color the headings

I am trying to convert my CV below to latex. Currently I have manually created it in Inkscape. I have already managed to get the headings and footers right: Code: \usepackage{xcolor} ...