It is not{"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"testfiles","path":"testfiles","contentType":"directory"},{"name":". 0pt. The OP comments: The complete example I provided works just fine except an empty page inserted before the table. You always can change the value of parskip each time you need it…. I've tried to use those two commands: setlength {footnotesep} {1pt} % space between footnotes setlength {skipfootins} {1cm} % space. setstretch{1. {"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"testfiles","path":"testfiles","contentType":"directory"},{"name":". Viewed 2k times. 8cm. If you want a part of the text still be single-spaced, include the part in the environment:In this question the author asks how to increase the distance between lines. the setstretch{baselinestretch amount} command sets a custom spacing (via changes to aselinestretch)—it can also be used in the document preamble; the environments singlespace , singlespace* onehalfspace and doublespace allow line spacing to be changed for selected parts of the document’s text;2. Of course this is too much. This article explores two methods of making changes to various aspects of paragraph spacing: . 14. When lipsum paragraphs are output, they contain more than text. %This way, latex tries really hard to place the figure where you want it (I mostly use [h!tb]), stretching the normal rules of type-setting. Undefined control sequence. LaTex Error: File ´' not found. 37. TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. To achieve what you want, it suffices to restore the normal baseline skip through the command. If the width key is set, tabular* is used. I used the setspace package as here, but it also affects the space between line breaks that is not wanted. This problem is similar to when one writes. The left PDF is LaTeX while the right is MS Word. 5} Hugefseries ameJojo parvspace{aselineskip}} % the name of the class %% or onehalfspacing or. Any ideas? Welcome to the LaTeX community! Without an example document “it doesn't work” is a rather vague information. The BCOR and DIV value must be set beforehand. It is a powerful, and free, way to generate professional, dynamic documents. et un interligne 1,5 :usepackage. . %Now, I noticed that the single line spacing in MS Word (which is probably what the authors of the restrictions assumed) is much narrower than the standard line spacing in LaTeX. TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. your table actually has only two rows. Provides support for setting the spacing between lines in a document. setstretch{odytextlinespread} % Patch caption line spacing. LaTeX May 2022 [简体中文] Layout aselineskip 和 aselinestretch aselineskip 是橡胶长度(参见 Lengths )。它给出了行距,即段落中行之间从基线到基线的正常距离。. et un interligne double:usepackage {setspace}doublespacing. LaTeX ignores \setstretch or changing \baselinestretch in one paragraph. Sometimes the line spacing needs to be varied locally. Microsoft Word tells me it should be the former. 35} %Set the length of the rubber with the specified elasticity (1. In the answer I wrote, for instance, this could be achieved by replacing [8pt] with end {align*}end {frame} and, after starting the next frame, inserting egin {align*} immediately before herefore. We love good questions. 这两个命令都很脆弱(参见. 5とかも可能。 I am using setspace package with the fontsize. 10 \setstretch{2 } You're in trouble here. 5ex} (i. Tags: Footnotes, Latex, Spacing. setstretch invokes ormalsize and as you call it in everydisplay it generates the warning (really, an error) LaTeX Font Warning: Command ormalsize invalid in math mode on input line 8. 0}} However, in either way, the row spacing in table is signal spacing and cannot be changed by. Introduction. Note, though, that even if you've set. 'Double' line spacing means \linespread {2} in LaTeX. Mathematical expressions; Subscripts and superscripts; Brackets and Parentheses; Matrices; Fractions and Binomials; Aligning equations; Operators; Spacing in math. Export (png, jpg, gif, svg, pdf) and save & share with note systemModified 6 years ago. Avoiding redefining/custom codes for standard LaTeX command. ?. Latex中的常用算法块如上所述,使用过程中其它技巧可查询之后进行设置。 上述记录仅用来对latex使用过程中的心得体会进行总结。 个人感悟:写latex一定要静下心,要不然很容易出现低级错误。遇到不会的格式或方法,勤用搜索引擎去寻找答案。online LaTeX editor with autocompletion, highlighting and 400 math symbols. if you put it in a group, it only takes effect within that group). However, in my RMD YAML I have output: pdf_document: toc: TRUE toc_depth: 4 fontsize: 12pt linestretch: 1. . I use setstretch{1. tex file you have provided here doesn't contain the necessary command ( ableofcontents) to generate the table of contents and you don't need to use the template. One and half spacing in LaTeX refers to the line spacing between lines of text in a document. 0} The MIT page has more options, including adding different spacing to. 3} to increase line spacing. Viewed 19k times. 7} egin {longtable} { l | l | p {5 cm} } a & b & a small phrase a & b & a small phrase a & b & here is a long sentence which wraps to the. %I haven't found any algorithm2e command to do that. usepackage [nodisplayskipstretch] {setspace} setstretch {1. Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Home; Questions; Tags; Users. doublespacing. " and the item label " [1]" Last edited by cgnieder on Tue Aug 25, 2020 6:53. I have a long document. g. Selecting appropriate line spacing is crucial in order make comprehensible presentations in LaTeX Beamer. Other pages:12pt. That's why you have "about 4pt " between lines of the same bibliography entry. js} end {listing}1 Answer. The default %% spacing with this style option is single spacing. The following is a sample code. Question How to have double-spacing effect in LaTeX? Answer. TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. from both places in your document, and place it in the preamble instead (Document --> Settings --> LaTeX preamble), after usepackage {tikz}. 5} if you absolutely want to), as it takes care of footnotes and some other details that \linespread does not take into account. Keep building a MWE in mind for all future requests. Font size. Especially if you are a "noob to LaTeX" I would recommend not to use TeXnicCenter at all, but something like TeXworks instead which simply works out-of-the-box. different spacing is required then thesetstretch{baselinestretch} com-mand can be used in the preamble to set the baselinestretch appropriately. doublespacing does not correspond to setstretch{2}, as you can see in the package code, probably because of optical effects which depend on the font size. With all of these suggestions implemented, your MWE might look like this:it is very recommendable to use the package siunitx for all units. The heading was still double spaced in the table of contents but the heading spacing is good in the pdf and the rest of the text was double spaced. – egreg. I would like to suggest you take the following approach: Remove the instruction doublespacing from the preamble. TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. \doublespacing does not correspond to \setstretch{2}, as you can see in the package code, probably because of optical effects which depend on the font size. It only takes a minute to sign up. your a) is simular or better part of headheight. 0. You can locally redefine the spacing used around operators which are (in the standard 10pt setting) \thinmuskip=3mu \medmuskip=4mu plus 2mu minus 4mu \thickmuskip=5mu plus 5mu. Introduction. 8} enewcommand{. I need to use the mathtime package with the option cmbold: usepackage [cmbold] {mathtime} MiKTeX database actually identifies mathtime as a regular package and automatically updates and install. 1 Answer. It is not clear what is the intention of everydisplay{setstretch{1. I have found another solution: Use the float-package. You will see that also the rows below will be adjusted if you raise the value of arraystretch, set it for example to 2. online LaTeX editor with autocompletion, highlighting and 400 math symbols. Hello @azetina I've updated my original post. setspace suggests setting \renewcommand {\arraystretch} {1. i want to set the space between the title lines. 6} in your document's preamble. different spacing is required then thesetstretch{baselinestretch} com-mand can be used in the preamble to set the baselinestretch appropriately. I've tried placing it right after it but it doesn't work. You can also set line spacing locally in a clean way as this: documentclass {article} usepackage {longtable} usepackage {setspace} egin {document} egin {spacing} {. But if the tabular is in a figure environment, line spacing is back down to 1. The following MWE may of. (Minimal reproducible example Alternatively, you could start each minted environment with the following options: baselinestretch=1 and fontsize=\footnotesize. If someone (LaTeX team) can enlighten me as to the % general rule, please do! It would be very pleasant if setspace. t. By the way, the linespread = baselineskip * baselinestretch. But this can be easily achieved with the help of the setspace package. 3. Run LaTeX here. 25} How do I reduce spacing between bullets in LaTeX? “reduce space. usepackage {setspace} %singlespacing onehalfspacing %doublespacing %setstretch{1. Posted by Trevor Bača at 11:34 AM. Using the setspace package with a 10pt document font, a factor between 1. If the command is part of a package, make sure you have included the package in your preamble using usepackage {. egin {algorithm} egin {algorithmic} [1] State lines are long so I get line breaks. 3 factor. report = rmarkdown::render ( knitr_in ("Reports/report. } where for a 12pt font, setstretch {1. A solution that worked. Ceci est un manuel de référence officieux pour le système LaTeX2e de préparation de document. I want to increase line spacing between statements in algorithm environment. The style file I am using is as follow: parindent 0. However, when I do this, references are not single-spaced. Improve this question. 1. I've tried placing it right after it but it doesn't work. Only useful if you are a fan of the grid format and the package limitations are not a problem in your document. 5 in both main text and footnotes, which is undesirable. The one and a half, double, and arbitrary % spacing commands are unaltered. So, remove all the \tikzstyle declarations, and instead add. Yes, you can customize the spacing in one and half spacing in LaTeX by using the command setstretch{1. , points, inches, etc. I only made following changes:Addendum to address the OP's follow-up comment: I'm not sure I understand the comment completely, but I believe it asserts that using the spacing environment (provided by the setspace package) with a factor of 1. 661 3 12. The latter works because if you set the main font size to be 12pt, then \footnotesize will switch to a font size that's 2pt smaller; if you want your code to be typeset in 11pt (and the main font size is still 12pt. This is a template that worked fine a few months ago. The “max” operator is obtained with the command max and. can also be caused by forgetting to type an end{table} a couple of lines higher. LaTeX \vspace 命令添加垂直空间。空格的长度可以用 LaTeX 理解的任何术语表示,即点、英寸等。您可以使用 \vspace 命令添加负空格和正空格。 \vspace 命令通常用于在文档的段落、节或其他元素之间添加空格。它还可用于调整页面上元素的位置,例如表格或图形。 to use upper case for the section titles: If you don't want to use the titlesec package, you can redefine the \section command, as implemented in article. latex aipsamp % 2) bibtex aipsamp % 3) latex aipsamp % 4) latex aipsamp % % Use this file as a source of example code for your aip document. the best practice, and recommended, method of using LaTeX packages such as setspace and parskip which provide options and user-level commands to change the spacing of your LaTeX documents;; use of low-level TeX/LaTeX parameter. dmath and alignement. ewcommand{\setstretch}[1]{% \def\baselinestretch{#1}% \@currsize} % GT: Sat 28 Sep 1996: spacing commands and environments modified to % use \setstretch instead of \baselinestretch. It is a common formatting option used to make documents easier to read and more visually appealing. I'm having trouble with adjusting the space between lines. It only takes a minute to sign up. For one-and-a-half spacing, instead use the command. ) 2 posts • Page 1 of 1TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Here's an example from bk10. 0in,bottom=1. I keep seeing code plagued with underset {x ightarrow 0} {lim}, where the simpler. Your equation (2) use abovedisplayshortskip because the line above the equation is very short, so that it is the last but one line above which is important to the eye. Now your problem is caused because the template uses listofpublications wrong. Nov 19, 2013 at 13:05. the main text to have a line spacing of 1. 1em,parsep=0em,partopsep=0em} \setlist*[itemize]{first=\vspace{\baselineskip}\setstretch{1}\vspace{-\baselineskip}} % This undesirably affects the spacing before the list \begin{document} \def. This can be listed here. I would like to define a nice beamer block environment with the following properties. 25} (10pt), 1,213 for 11pt or 1. Yes, you can. hspace {<skip>} is a general horizontal spacing command, that tells TeX to leave that amount of horizontal space. The compiler is having trouble understanding a command you have used. gitignore","path. ewcommand {\SetSinglespace} [1] {% \def\setspace@singlespace {#1}% } % Here's the default single line spacing value. If the line addtocontents{toc}{protectsetcounter{tocdepth}{0}} is included in appendix, the bookmark structure in PDF viewer is Chapter -> Section (but document has more substructure). The linking of LaTeX environments and commands to LyX is well documented elsewhere on this website. I advise you load setspace, use this directive (or setstretch {1. Anybody can ask a question. Other pages:lmargin=4cm,rmargin=2cm,tmargin=2cm,bmargin=2cm. documentclass[12pt]{scrartcl} setlength{parindent}{20pt} usepackage{setspace} showtheparindent setstretch{1. As explanation: onehalfspacing stands for "a half", while spacing doesn't seem limited to the spaces between lines, but more a general use of space. }. 6. If someone (LaTeX team) can enlighten me as to the % general rule, please do! It would be very pleasant if setspace. Line spacing. sty % were suited for document font sizes other than 10, 11 and 12 pt. Ask Question Asked 7 years, 1 month ago. 1 Answer. 2 Answers. I've performed a number of side by side tests with MS Word and LaTeX to determine which arguments of setstretch correspond to the 1. If you want to increase row spacing uniformly in a multiline group of equations without having to type [vertical spacing] at each line break, you can use setstretch (from the setspace package) at the beginning of such an environment. Otherwise, if a. Please look at the documentation of the algorithmicx package. I'm just using the listoftables command, and spacing the document with. However, by starting each chapter file with: \setstretch{0. documentclass [10pt] {article} usepackage {setspace} setstretch {1. Anyway, you probably should load setspace package and use this macro. I use setspace to change the spacing in texts. 0. 5} % ページ全体の行間を設定 \setstretchコマンドによってページ全体の行間を設定できる。 引数として入れる値は、通常を1としてそれの何倍かの数値。上記の場合は1. the best practice, and recommended, method of using LaTeX packages such as setspace and parskip which provide options and user-level commands to change the spacing of your LaTeX documents;; use of low-level TeX/LaTeX parameter. TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. I'm having trouble with adjusting the space between lines. 2. . edited Dec 14, 2022 at 11:52. doublespacing is. 2} usepackage {xcolor} egin {document} lipsum [1] {color {blue}lipsum [2]} lipsum [1] end {document} line-spacing. If someone (LaTeX team) can enlighten me as to the % general rule, please do! It would be very pleasant if setspace. algorithmic, Long lines of code being displayed with sporadic spacing. It is set by @setfontsize, which is called by LaTeX font size commands such as Large, small etc. The journal specifications are that main text be double-spaced ( linespread {2}) and that references and figure/table captions be single-spaced ( linespread {1} ). For things like code listings I can use etoolbox and say AtBeginEnvironment{minted}{setstretch{1}} etc,. Option clash with setspace. 5 times that of the single line spacing, then you can use. The setspace package source indicates:. Then, for setstretch{1. clo which is part of the standard document classes offered by LaTeX (article, report, and book). Finally, do heed the advice already given in the other answers regarding the use the eqnarray environment: don't use eqnarray, use align instead. (I've simplified the answer, to require the use of parbox directive only on the right-hand side of the equations. . however with tabular* (instead of the tabulary) table environment, using macro @ {extracolsep {fill}} and S. quotation. See the code example and the documentation of the fixme package for more details. 5} egin{document} Lorem ipsum dolor sit amet, consectetur adipisicing elit. 数字越高,请求越强烈。. 435} everydisplay=expandafter { heeverydisplaysetstretch {1. 667}. On the other hand, a space saving of 0. Export (png, jpg, gif, svg, pdf) and save & share with note systemI am handing in an assignment that is structured by exercises, rather than sections. Sorted by: 11. I have a problem with my LaTeX document. 5} instead. 10 setstretch{2 } You're in trouble here. So I think the most unobtrusive solution to your problem is replace doublespacing by setstretch{1. My author list consumes several lines. 0in is strange. So, remove all the ikzstyle declarations, and instead add. The document I have to write needs to have a 1,5 line spacing both in normal text and in footnotes. The ewline commands can be removed once the correct keywords are used. 5. \def\beq{\begin{equation}} \ {"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"testfiles","path":"testfiles","contentType":"directory"},{"name":". By default, the stuff in these columns is left-aligned, but you can change this as the following shows. Print it out, preferably on acetate or some other stable transparent medium and. sty % were suited for document font sizes other than 10, 11 and 12 pt. 0}), onehalfspacing, and doublespacing-- as. In my presentations I'd like to use blocks ( egin {block}…end {block} ). Insert the instructions clearpagedoublespacing right before section{Introduction}. 3} The problem is that not all rows contain fractions, and in this cases the white space below and above is too big. the setstretch{baselinestretch amount} command sets a custom spacing (via changes to aselinestretch)—it can also be used in the document preamble; the environments singlespace , singlespace* onehalfspace and doublespace allow line spacing to be changed for selected parts of the document’s text;TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. 1} To change line spacing within the document, the setspace package provides the environments. . This question already has answers here : Minted, setstretch and font size (3 answers) Closed 4 years ago. 5}selectfont . 3 factor. ]{. uct11. %% %% Three environments, singlespace, onehalfspace, and doublespace, %% allow the spacing to be changed within the document. IS&T Contributions I use \setstretch {1. 1 Answer. However, by starting each chapter file with: setstretch{0. I'm using setstretch but I would like it to affect the whole text BUT the abstract. The sort of scaling factor mirrors the idea of single- and double-spacing but differs from type leading. Sorted by: 3. 1 À propos de ce document. As an alternative to suggestion (a) above, consider (a') keep using the align* environments but start using alignment. The setspace package implements \setstretch. I think you can also move all the style declarations to the preamble, and there is no need to repeat them. cls file of our university which is supposed to be 1. 1em,parsep=0em,partopsep=0em} setlist*[itemize]{first=vspace{aselineskip}setstretch{1}vspace{-aselineskip}} %. 0. This article explores two methods of making changes to various aspects of paragraph spacing: . % % GT: Based HEAVILY on original LaTeX (2e) code. 125}lipsum[2]% Line spread between singlespacing and onehalfspacing onehalfspacinglipsum[2. 0} and. 这个命令的好处在于会同时修改数学公式、浮动体等的间距,使之与正文间距适应。 空行. cls file single space is defined as, {\renewcommand {\baselinestretch} {1} double space is defined as, {\renewcommand {\baselinestretch} {2} but one and half spacing is the following: I use \setstretch {1. 3. – PascalVKooten. Thus you want that \arraystretch is set to the reciprocal of \baselinestretch. exe in OptionsCommands and still I get errors compiling any . } usepackage{setspace} This package (originally based on the doublespace LATEX 2. you will need to manually add more space between the. And remove chapter {} as you don't have a heading. 35 to your needs) setstretch {1. 09 style option (package), created by Stephen Page) provides. will make the text of the whole document double spaced. I need to display fractions within a table and it requires to set. Second, if you use the setspace package, use its setstretch command -- or, equivalently, commands such as onehalfspacing or doublespacing-- to organize the line spacing for entire document parts. Don't load setspace. Setstretch Latex Package With Code Examples With this article, we'll look at some examples of Setstretch Latex Package problems in programming. I am using the ACM bibliography style. I am employing LaTeX to draft a scientific manuscript for publication. You can define a \setrelativestretch command using xfp facilities for the computations with floating points. r. sty % were suited for document font sizes other than 10, 11 and 12 pt. 618} and for 12pt, setstretch{1. You could use \vsplit, but for a document like this I believe that visual formatting is better. Unfortunately the answers to that question cannot be adapted to reduce the distance between lines. Modified 6 years, 5 months ago. Just FYI, a table version. % Set up the document documentclass [a4paper, 11pt, oneside] {Thesis} % Use the "Thesis" style,. lim_ {x ightarrow 0}How to put an arabic title in the abstract. tex output and a printout of both documents. Alternatively the spacing can be changed as required with the singlespacing , onehalfspacing, and doublespacing commands. (which most likely is due to my incompetence with setstretch), that the lines are often broken at a bad point and that the lines are not synchronized (sucht that line number one. 5}. I'm using LaTeX for the first time, and I'm having trouble showing the pseudocode for an algorithm. Hot Network Questions What's. The document I have to write needs to have a 1,5 line spacing both in normal text and in footnotes. ago. \setstretch {value} sets the value of \baselinestretch to value and triggers an immediate change in \baselineslip caused by \baselinestretch. When I add fontsize {9} {11}selectfont before egin {tabular}, the rest of the document changes to a smaller point size, and if I add fontsize {9} {11}selectfont after egin {tabular}, only the first cell gets a smaller font size. This article explores two methods of making changes to various aspects of paragraph spacing: . unless you set lineskiplimit to a negative value TeX does not try to honour a 0pt aselineskip (which would cause every line of a paragraph to overprint in the same vertical position). . It's. Next, load the etoolbox package and issue the instruction AtBeginEnvironment{itemize}{parmedskipsetstretch{1. It scales aselineskip, and has a default value of 1. Undefined control sequence. 58\\ Focal. linespread{1. 5} The setspace package also offers macros with fairly descriptive names --singlespacing (equivalent to setstretch {1. Here is what I have: usepackage {algorithm} usepackage [noend] {algpseudocode} egin {algorithm} caption {RSTM vector push\_back operation}label. sty tells me both are wrong. 5} So you can out comment whatever command you want to choose, either setspace or baselinestretch. You forget there are optical illusions. Without the line, it is correctly Chapter -> Section -> Subsection ->. CHAPTER I-INTRODUCTION. There is another package, called "doublespace" which will usually work exactly the same way as setspace. The default %% spacing with this style option is single spacing. I figured out that when I dont use setstretch {1. % 4. 4. 0. Here is an example different from the default: documentclass{article} usepackage{fourier, erewhon} usepackage{caption}. ) vertical-alignment; line-spacing; parskip;. @Stefan: I think you've given an approximation of what the setspace package does with its onehalfspacing option---for 10 pt font size, that is. the commands singlespacing, onehalfspacing and doublespacing can be used in the document preamble, or within the document body to change spacing in part, or all, of your document; the setstretch {baselinestretch amount} command sets a custom spacing (via changes to aselinestretch )—it can also be used in the document preamble;Everything works when I select a . Note this environment cooperates with caption, so you can easily customise captions for this environment. This produces a line at the bottom of= every % page, with ``DRAFT'' in the lower left corner, and the date and time= when % LaTeX was executed in the lower right. 5}par. Latex中的常用算法块如上所述,使用过程中其它技巧可查询之后进行设置。 上述记录仅用来对latex使用过程中的心得体会进行总结。 个人感悟:写latex一定要静下心,要不然很容易出现低级错误。遇到不会的格式或方法,勤用搜索引擎去寻找答案。These are the recommendations of the setspace package:. LaTeX single spaces text by default. sty. Instead of. 5 line space in footnotes but I obtain different result with and without babel. usepackage{setspace} setstretch{1. egin {dmath} x_ {4} (s) = frac {1}. \doublespacing is defined as \setstretch {1. Also there is no problem to use State (when I've commented out For) I've also tried FOR, for but nothings work. The. 7 stretch. Local line spacing in LaTeX Beamer. 'Double' line spacing means linespread {2} in LaTeX. Title page:14pt. odo {setstretch {1. 75} chapter{Chapter title} label{Chapter1} markboth{Chapter title}{Chapter 1} setstretch{2} It worked fine. 15} setenumerate{label=small( oman*)} % Hyperlinks hypersetup{colorlinks=true,pdfnewwindow=true,pdfstartview=FitH,%. I add also some ways to improve your table, for instance how to make it into filling the whole text width without guessing. Signing up takes only a minute. 37. If a different spacing is required then %% the setstretch {baselinestretch} command can be used in the %% preamble to set the baselinestretch appropriately. 1} you need the blank line anyway. Share. Sometimes the line spacing needs to be varied locally. Oct 1, 2012 at 10:36. ! LaTeX Error: Missing egin{document}. To get single-spaced, one-and-half-spaced, and doublespaced effects, you can also use setstretch{1}, setstretch{1. Article suivant. Other size spacings also available. t. In my beamer presentation, I want. (For some users, manual approaches using usepackage{setspace} and setstretch might suffice, but here I asking whether LaTeX can determine how much to stretch line spacing. different spacing is required then thesetstretch{baselinestretch} com-mand can be used in the preamble to set the baselinestretch appropriately. documentclass [10pt] {article} egin {document} `Curiouser and curiouser!' cried Alice. setstretch. tex file (which I have modified a bit by removing lines for. Slightly more space is inserted before footnotes. But when I was going to insert the pseudo code like egin{algorithm} % extsl{}setstretch{1. Change line spacing in Authblk. So, simply carry out (1) and (2), setting the parskip length to stretchable glue, avoiding the need for the parskip package: documentclass {article} %usepackage {parskip} setlength. You don't need setspace for this application. I used the setspace package as here, but it also affects the space between line breaks that is not wanted. \documentclass{book} \usepackage. Sorted by: 5. %Undefined control sequence. Using the \setstretch command.