-
Hello! I need to have 1.5 spacing between lines in my document, but I got inconsisten results with typst: #set text(14pt)
#set par(leading: 1.5em)
#lorem(100) latex: \documentclass[14pt]{extarticle}
\usepackage[a4paper, left=25mm, right=10mm, top=20mm, bottom=20mm]{geometry}
\usepackage{setspace}
\begin{document}
\onehalfspacing
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim aeque doleamus animo, cum corpore dolemus, fieri tamen permagna accessio potest, si aliquod aeternum et infinitum impendere malum nobis opinemur. Quod idem licet transferre in voluptatem, ut postea variari voluptas distinguique possit, augeri amplificarique non possit. At etiam Athenis, ut e patre audiebam facete et urbane Stoicos irridente, statua est in quo a nobis philosophia defensa et collaudata est, cum id, quod maxime placeat, facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et.
\end{document} Clearly, spacing in typst is much larger then spacing in latex or google docs and looks more like double spacing. Thus my question is: what exactly is |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
The leading parameter measures the distance between the bottom-edge of a line and the top-edge of the next. (Though the model may change in the future) |
Beta Was this translation helpful? Give feedback.
-
For 1.5 spacing you probably want a leading of 1.2em |
Beta Was this translation helpful? Give feedback.
The leading parameter measures the distance between the bottom-edge of a line and the top-edge of the next.
(Though the model may change in the future)