{line-spacing} is about adjusting the space between the lines of a document. A popular package is {setspace}.

learn more… | top users | synonyms

4
votes
2answers
277 views

How to use a symbol above a word without a larger linespacing?

Because of the "1" symbol above "test", the space between the first two lines is bigger than between the last two lines. I don't want a bigger interline spacing! How do I solve this? \documentclass[...
4
votes
1answer
307 views

Preventing line break in figure caption

I have the following figure with the corresponding caption: As you can see the caption inappropriately breaks the line, which I want to avoid. Optimally without simply reducing the font size of the ...
4
votes
1answer
233 views

Set line spacing in tcolorbox

My entire document is double spaced. But I want the content in my \tcolorbox to be single spaced. Is this possible? I am not seeing anything in the documentation regarding line spacing.
4
votes
2answers
198 views

keep alignment under enumerate

I would like to keep the indentation for my fraction that appears below my first item however i don't know how to align it if itself is not an item. source code: \documentclass{article} \usepackage[...
4
votes
3answers
4k views

Extreme vertical spacing between lines

How can I fine tune and reduce the vertical spacing of lines so characters from lines above and below are almost pixel-touching each other? Example:
4
votes
1answer
70 views

Line spacing with scandinavian letters

Example tex \documentclass{article} \begin{document} Ylim\"{a}\"{a}r\"{a}isi\"{a} suodatuksia ja ikkunointeja ei tarvita, jos menetelm\"{a} pystyy itsess\"{a}\"{a}n erottelemaan ilmi\"{o}n ep\"{a}...
4
votes
1answer
139 views

Space from line

How can i obtain the correct spacing of the two writings from the line? if you note the upper write is more far from the line... \documentclass[a4paper]{memoir} \RequirePackage[babel=true,...
4
votes
3answers
135 views

How to make existing \strut-based code work with accented letters?

\strut-based solutions assume that heights cannot exceed 8.5 pt and depth - 3.5 pt. But with accented letters this assumption is not true. In the second example the last line is lower than in the ...
4
votes
3answers
270 views

Chapters with long descriptive titles

I have document which require me that chapter headings consist of two parts: (1) Chapter number (Chapter 1, Chapter One etc.) or any other text with similar function and (2) descriptive title below ...
4
votes
2answers
409 views

Lines are not equally spaced in XeLaTeX

I've just move from LaTeX to XeLaTeX, and when I first use it, I found this abnormality : \documentclass[12pt]{article} \usepackage{polyglossia} \XeTeXlinebreaklocale "th_TH" \XeTeXlinebreakskip = ...
4
votes
2answers
236 views

Single-space chapter titles with double-spaced document

I am typesetting a thesis using the book class and need the chapter titles to be single-spaced while the main text must be double-spaced. Inserting \singlespacing before the text in the definition ...
4
votes
2answers
131 views

How to set line-spacing inside environments defined by the mdframed package?

In the code below, how can I apply a \baselineskip=.8cm to the theorem environment? I want to do this somehow in the \mdfdefinestyle or \mdtheorem commands, not in the body every times by hand. Also I ...
4
votes
1answer
716 views

Spacing between paragraph of text and itemize list

My code from TeXworks below outputs a paragraph of text followed by an itemize list followed by another paragraph of text. Each paragraph is double-spaced, and the spacing within the text of each ...
4
votes
2answers
287 views

Change linespacing within marginnote

I am trying to change the linespacing within a marginnote such that it is different from the main document. I have tried all approaches described in Temporarily increase line spacing and Aligning ...
4
votes
1answer
114 views

Less whitespace and no indent at the same time using enumerate

I would like to ask the following: I would like to use the theorem environment in my latex code. I also have some definitions and examples and I would like to let these environments look the same. ...
4
votes
1answer
353 views

Double Spacing and Margins conflicting

I've got \usepackage{setspace}, and I'm having issues with my margins. When I use \doublespacing it adds a blank line before the first line of text on each page. Is there any way to have double ...
4
votes
1answer
406 views

Incorrect line spacing when using \Large in a center environment

When I enclose text with line breaks within a center environment, there is extra space after the first line, but only if the font size has been changed. The following working example prints the same ...
4
votes
2answers
2k views

How to set default line spacing in a .cls file?

I am writing a document class where I want to set the default line spacing to be 1.5. How can I use the setspace package to achieve this? More particularly, where in my .cls file should I mention \...
4
votes
1answer
1k views

Overfull vbox with scrbook and setspacing

The following MWE gives me a lot of badbox warnings Overfull \vbox (1.39674pt too high) has occurred while \output is active [] with always the same value of 1.39674pt. It seems to be related to the ...
4
votes
1answer
684 views

tikz node in text is slightly raised

I have defined the following command: \pgfkeys{tikz/protein/.style={fill=#1,shape=rectangle,rounded corners}} \newcommand{\protein}[2]{ \protect\tikz \protect\node [protein=#1] {\small{#2}};} It ...
4
votes
1answer
64 views

Why depth of \vadjust does not influence interline glue?

Consider the following examples: example1.tex %\input vadjust_hook \def\marginalstar{\strut\vadjust{\kern-\dp\strutbox\specialstar}} \def\specialstar{\vtop to \dp\strutbox{ \baselineskip\dp\...
4
votes
2answers
350 views

How can I keep the baseline for fonts with different sizes on the same line? [XeTeX]

I'd like to create a list of default font sizes. The list should not just include the point values, but the actual LaTeX commands used in achieving those sizes. Problem The baselines are not equal ...
4
votes
3answers
136 views

The \pbox makes the text crowded

The result is as follows: you will see it is too crowded. And the MWE is: \documentclass[12pt,a4paper]{book} \usepackage{fontspec,amsmath} \usepackage{tabularx} \usepackage{pbox} % For multiletter ...
4
votes
1answer
803 views

\vbox with some extra space below

I don't understand why when using \vbox of a certain height, there is some extra space added below it. I'm trying - towards grid typesetting - to put for example graphics in the vbox of a certain ...
4
votes
1answer
7k views

How to add vertical space between two lines of tables

\documentclass[11pt]{article} \usepackage{tabu} \usepackage[inline]{enumitem} \begin{document} \section{abc} \begin{enumerate} \item \begin{enumerate*} \item \begin{tabu}[t]{c|c}...
4
votes
2answers
279 views

acmsmall: accented upper-case characters and line spacing

I am currently using the acmsmall document class. I have noticed that upper-case accented characters such as "Å" and "Ä" will result in uneven line spacing. MWE: \documentclass[prodmode]{acmsmall} \...
4
votes
1answer
48 views

what's wrong with my (smaller) quote environment?

In baseline seems to change automatically I noticed that the baseline in some pieces of text was changing without an obvious request from me to make it change. Barbara Beeton helped me figure out ...
4
votes
2answers
69 views

TeX (not LaTeX) tables, lines, and alignments

Note: I use TeX and not LaTeX. So for many years, I have been using this code to create tables with lines: \def\tablerule{\noalign{\vskip1pt\hrule\vskip1pt}} \vtop to 4truein{ \halign{ \strut\...
4
votes
2answers
94 views

Proper leading around displaystyle fractions

I would like to typeset a fairly complicated fraction in display style surrounded by paragraph text. Here's an MWE. \documentclass{memoir} \usepackage{libertine} \usepackage[libertine]{newtxmath} \...
4
votes
1answer
328 views

Horizontal line for two column

I have \documentclass[twocolumn]{article} \begin{document} \rule{\textwidth}{1pt} \end{document} However, this line crosses the two columns. I just want the line cross the first column.
4
votes
1answer
174 views

Consistent Line Spacing in Customized Titles

I find when I produce titles I get line spacing that depends on whether I have a hanging character ie qypg which dip below the usual base line vs wertuioasdfhklzxcvbnm which don't. This is ...
4
votes
2answers
100 views

Handling spacing between multiple lines of a title text

For my thesis I have a very long title and it spans three lines. The spacing between the lines are coming out to be very less. I tried adding `\smallskip'. This has improved the spacing between first ...
4
votes
2answers
209 views

Sentences alignment error with the lettrine package

I want to align the two starting words in two sentences with each other ('ROM' in the first line with 'may' in the second line) How could I do that? Here is the working code: \usepackage{lettrine} ...
4
votes
1answer
225 views

Flexible leading (space between lines) throughout document

One technique for achieving an even text height, besides LaTeX's default method of allowing extra space between paragraphs, is to adjust the leading by a small amount (on the order of 0.5pt). I've ...
4
votes
2answers
297 views

Question on spacing in the book document class

I have 2 questions regrading the spacing is concerned. 1. How to reduce the space between the heading of the paragraph in the paragraph command and the content? Usually, the space provided is far ...
4
votes
1answer
132 views

Box height intruding into previous line. Why?

I decided I wanted to try my hand at providing a bit curvier answer to A better notation to denote arcs for an American high school textbook than what Werner provided. I also thought it would a good ...
4
votes
2answers
319 views

Custom name & justification, single line spread and “within chapter” numbering of figure captions [closed]

I now know how to add images with captions but still need help how to tweak the captions. \begin{figure}[h] \begin{center} \includegraphics[width=100mm]{01.jpg} \caption*{\textbf{Bild 2.1:} Curtiss ...
4
votes
1answer
134 views

ConTeXt (mkiv) bibliography not respecting \setupinterlinespace[big]

Early in my document I have \setupinterlinespace[big] for double-spacing per course requirements. However, when I do \placepublications[criterium=all], it doesn't seem to respect this. In other words, ...
4
votes
1answer
1k views

Line spacing in supertabular multi lined table cells

I have created a table using the supertabular package with table cells containing from one to four lines of text. In my document I have defined a linespread of 1.5. I also have defined following table ...
4
votes
1answer
342 views

Unwanted double spacing

I have the following LaTeX code: \documentclass[a4paper]{report} \usepackage{color} \usepackage{hyperref} \usepackage[usenames,dvipsnames,table]{xcolor} \newcommand{\ADDRESS}{ \begin{minipage}[t]{0....
4
votes
3answers
2k views

Reduce line spacing in minitoc package

I am using the minitoc package to add chapter TOC's in a thesis. The entire document (including the main table of contents) is doublespaced, but I want the chapter toc's to be single spaced. I specify ...
4
votes
1answer
52 views

Curious about TikZ [remember picture,overlay] spacing

When I use \tikz[remember picture,overlay] there is vertical space inserted wherever the command is used, as in the following: \documentclass{article} \usepackage{tikz} \usepackage{lipsum} \begin{...
4
votes
1answer
58 views

Uniform line spacing in columns

I have 2 columns of text, with most text in regular size, and few paragraphs in smaller size. I'd like to have the line spacing (roughly) uniform - that every line in the left size will match a line ...
4
votes
1answer
42 views

Math symbol taking up too much vertical space

I am using the symbol $\partial_p^{(K,L)}$ in inline mode in several place in my master's thesis and it takes up too much vertical space---so much that the spacing between the line containing the ...
4
votes
1answer
75 views

Why does it appear in english?

I have used the following commands: \begin{proof} \begin{enumerate}[i.] \item \begin{description} \item[Βάση επαγωγής] : Για $m=2$ έχουμε $X_2(a)+\alpha (a)Y_2(a)=(\alpha (a))^2=a\alpha (a)+1$. ...
4
votes
4answers
661 views

Spreading letters evenly across a line from margin to margin

I wish to achieve something that can be easily accomplished by simply pressing this button in Microsoft Word: So that I could make something like this: What I've seen so far on this forum either ...
4
votes
1answer
145 views

Changing titles of chapters and parts from onehalfspaced to single spaced

Is there a simple solution for making the titlename of parts and chapters singlespaced but the text onehalfspaced without having to add \SingleSpace to every titlename. I have found a solution that ...
4
votes
2answers
177 views

\hline does only go half the way I want it to go

If I compile the following code, I get a table that is placed very oddly since LaTeX centers it around the double vertical line between the first and second column. My \hline also goes only to right ...
4
votes
1answer
138 views

Image vs Text Arrangement [duplicate]

When I write a multi-page paper with imported images, I usually try to group the picture with the text referencing it. Sometimes, there is not enough room at the end of the page for the picture, and ...
4
votes
1answer
480 views

How to set vertical spacing in labeling environment

I want to use the labeling environment as provided by the class scrartcl to layout my CV. I would like to condense the whole document a little bit, particularly the lists in the labeling environment. ...