# Tag Info

## New answers tagged line-spacing

0

The alignment of multiline items is not good, and the numbering should be ‘horizontal’. The tasks package can do all that. Compare: \documentclass[9pt,leqno]{extarticle} \usepackage[showframe]{geometry} \usepackage{mathtools} \usepackage{enumitem} \usepackage{multicol} \usepackage{tasks} \DeclarePairedDelimiter\abs\vert\rvert ...

1

Although I searched the site & online prior to writing this, and even wrote a tentative version of the question to see if the suggested related questions addressed the issue, only once I had written the entire question did a related, in my opinion poorly titled, question pop up, so I'm posting this in hopes that the clearer title and tags will show up ...

2

A flexible baseline skip is generally not considered a good choice. On the other hand, you're already spoiling the typesetting with \linespread{1.2}, so this can't do too much damage anyway. On the other hand, the setting you're trying can't work, let's see why. One has to know that the font parameters are set up, partly, by the macro \size@update that ...

1

With package bidi-atbegshi, this even becomes much easier (you only have to change \AtBeginShipoutUpperLeft in @egreg's code to \AtBeginShipoutUpperRight: \documentclass{article} \usepackage{bidi-atbegshi,picture,xcolor} \usepackage[RTLdocument]{bidi} \AtBeginShipout{% \AtBeginShipoutUpperRight{% {\color{red}% \put(\dimexpr 1in+\oddsidemargin, ...

3

Before \usepackage{arabxetex}, put \PassOptionsToPackage{extrafootnotefeatures}{bidi}

3

To reduce the space between lines, you can invoke \linespread{<x>} in the value passed to the basicstyle key, where <x> is a number smaller than 1, as in this answer by egreg. Don't abuse it, though. \documentclass{article} \usepackage{fontspec} \usepackage{listings} \newfontfamily\listingsfont[Scale=.7]{Menlo} \lstset{frame=single} ...

4

The "fallback"-message is simply an information. And you can avoid the size substitution by loading the package fix-cm. Then fontsize=9.5pt should work fine. You don't get substituation warnings with fontsize=0.96 as the LaTeX-kernel defines \def\fontsubfuzz{.4pt}. So latex will inform you of font substitution only if the size declared in the fd file ...

5

You can use \setlist{before=\singlespacing,after=\doublespacing} Code: \documentclass{article} \usepackage{enumitem} \usepackage{lipsum} \usepackage{setspace} \setlist{before=\singlespacing,after=\doublespacing} \doublespacing \begin{document} \lipsum[1] \begin{enumerate} \item \lipsum[1] \item \lipsum[1] \end{enumerate} \lipsum[1] ...

1

Modifying moderncvstylebanking.sty file itself, is a very very bad idea. Don't do it! Add the following to your preamble: \usepackage{xpatch} \makeatletter \xpatchcmd{\maketitle}{\titlestyle{~|~\@title}}{\par\vskip1ex\titlestyle{\@title}}{}{} \makeatother MWE: \documentclass[12pt,letterpaper,sans]{moderncv} \moderncvstyle{banking} ...

4

Teach memoir to use single spacing in titles: \documentclass[12pt,a4paper,onecolumn,twoside,final]{memoir} \usepackage[english]{babel} \usepackage{lmodern} \usepackage[T1]{fontenc} \usepackage{newcent} \usepackage[utf8]{inputenc} \usepackage[textwidth=14cm,textheight=22cm]{geometry} \usepackage{etoolbox} \usepackage{color} % just for the example ...

0

For anyone in future who comes looking, and as this didn't quite fit in a comment, the spacing between the paragraph and the align can be reduced by using a \vspace with negative spacing after the \singlespacing. Note that there must be a blank line between the preceding paragraph and the \singlespacing otherwise it will make that paragraph single spaced. ...

5

The code {\LARGE Lorem ipsum dolor amet. Sic transit gloria mundi. Fiat Lux. In principio erat verbum.} is followed by \end{document}, which does \par. However, this \par comes after the effect of \LARGE has been undone, so the baselineskip used is what's pertains to \normalsize (and the \lineskip mechanism comes into play). In the \vbox this doesn't ...

9

If a list such as itemize is placed at the start of a minipage its usual vertical spacing before the list is omitted. Adding multicols the way you did it is producing a box around the itemize list just like a minipage and thus the \topsep is not added. Instead what you see is the \multicolsep which is added before and after the multicol environment. In ...

3

How do I double space an entire document? What package should I use? As commented, one option is to use the package setspace: \documentclass{article} \usepackage{setspace} \doublespacing \begin{document} One line\par Another line \end{document} But note that \doublespacing is not equivalent to the double spacing in Word. I explained some ...

Top 50 recent answers are included