latex setstretch. the previous line will be too large. latex setstretch

 
 the previous line will be too largelatex setstretch Depending on the pointsize, you can set in the preamble setstretch {1

Without babel the output is ok but not when I activate it. Learn how to use the faces feature of the fixme package to avoid the 1. Please consider the following test. Written by Admin space This tutorial will deal with LaTeX spacing: First, we are going to explore the basic macros that LaTeX provides to insert horizontal and vertical space. The extit{appendix} macro can be used to indicate that following chapters are to be numbered as appendices. 2 Answers. online LaTeX editor with autocompletion, highlighting and 400 math symbols. On page 3 you will find the following images: There you can see that. Merged Copy link Contributor. Usage: documentclass[. This command is robust (see protect ). The following is a sample code. 2. Share. Leave a Reply Cancel reply. I only made following changes: 1. report = rmarkdown::render ( knitr_in ("Reports/report. The “max” operator is obtained with the command max and. \documentclass [a5paper, 12pt] {article} ewcommand ewpiece {\vspace {\stretch {1}}} \begin {document} Text \hfill Text2 \par Text \hfill Text \par \hfill King of Denmark’s Galliard ewpiece John Loeillet \hfill Sonate No. 5とかも可能。 I am using setspace package with the fontsize. setstretch{odytextlinespread} % Patch caption line spacing. Tags: Footnotes, Latex, Spacing. 9} for example. Now to the answer: The combination of . – user2478. setstretch {1} and set the distance between items to 10pt through the command. 7} (or some appropriate value) before the % egin{document} command. Inserting \linespread {1. LaTeX ignores \setstretch or changing \baselinestretch in one paragraph. This change % affects setspace's single spacing commands, and LaTeX's footnote and % float environments. Try typing <return> to proceed. But beware things are not as simple as one might think. KR Rainer This change % affects setspace's single spacing commands, and LaTeX's footnote and % float environments. 2倍)。在article中。The recommended way is to do this is by package options or -- in case of custom line spacing -- by the setstretch command which is provided by the package. My current Table of contents read as I INTRODUCTION. 5 line space in the main part of the text, 1 line space in. 0in is strange. LaTeX offers different line spacing options. the minipage is treated as a single line, with the baseline through its center. Written by Admin space This tutorial will deal with LaTeX spacing: First, we are going to explore the basic macros that LaTeX provides to insert horizontal and vertical space. 35} %Set the length of the rubber with the specified elasticity (1. When using setstretch{2}, the line spacing in LaTeX is noticeably larger than the double spacing in MS Word. Insert the instructions clearpagedoublespacing right before section{Introduction}. Other pages:12pt. setstretch {<factor>} Alternatively, the package options singlespacing, onehalfspacing or doublespacing may be used in place of the first three. % Use the file aiptemplate. the \setstretch{baselinestretch amount} command sets a custom spacing (via changes to \baselinestretch)—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; Remove the line. Creating your first LaTeX document; Choosing a LaTeX Compiler; Paragraphs and new lines; Bold, italics and underlining; Lists; Errors; Mathematics. rdelim braces in table misaligned due to setstretch. Here's an example from bk10. I have a problem with my LaTeX document. The sort of scaling factor mirrors the idea of single- and double-spacing but differs from type leading. sty. Here is a version much more flexible that supports tabular, tabular*, array and also longtable (if the relative package is loaded). 1} you need the blank line anyway. . Otherwise just continue, and I'll forget about whatever was undefined. The setspace package implements \setstretch. Table of content. Otherwise just continue, and I'll forget about whatever was undefined. If someone (LaTeX team) can enlighten me as to the % general rule, please do! It would be very pleasant if setspace. 0}left(egin{array}{c. Selecting appropriate line spacing is crucial in order make comprehensible presentations in LaTeX Beamer. 5} % ページ全体の行間を設定 \setstretchコマンドによってページ全体の行間を設定できる。 引数として入れる値は、通常を1としてそれの何倍かの数値。上記の場合は1. 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;9. 4. I am using the book document class to write a thesis, and am required to have the list of figures and tables as double spacing, but any table/figure title that spans two lines needs to be single spacing. You did not explain the code, so please check the formatting, for example if Work is a variable you can better format it with mathit{Work}. 0. For one-and-a-half. or, speaking of setspace package, \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. 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. setstretch {1. For that I loaded a modified version of the setspace. The linking of LaTeX environments and commands to LyX is well documented elsewhere on this website. 3} which increases the baseline skip of a 1. author {Name1} affil {Affiliation1} author {Name2a} author {Name2b} affil {Affiliation 2} (any number of authors can precede an affil command, that will refer to that group of authors). Improve this question. I am using the ACM bibliography style. Please provide a snapshot of your setting or MWE of what you are compiling. Share. The supplied code specifies a 12pt font on a 0pt baseline, the linespread multiplies the requested baseline spacing by 1. How can I change the spacing in my LaTeX document? sepackage{setspace} after your documentclass line. % Normal, bottom of the page, footnotes. We. 1 Answer. To indent subsequent lines of a paragraph, use the TeX command hangindent. Oct 5, 2011 at 20:41. 2. 2} equivalent to 1. %Using BibTeX with article document class. The number can be positive or negative. 14. {setstretch{1. If you have a title on each frame, your generic structure would probably resemble. et un interligne 1,5 :usepackage. Mathematical expressions; Subscripts and superscripts; Brackets and Parentheses; Matrices; Fractions and Binomials; Aligning equations; Operators; Spacing in math. I use setspace to change the spacing in texts. 655}. How do I insert a blank space in LaTeX? Horizontal blank spaces hspace{1cm} Inserts a horizontal space whose length is 1cm. 5}, where the number after. I need the exact 1,5 MS Word like spacing. 8} setlengthparsep{1ex} setlengthitemsep{1ex}} item Item one item Item two item Item three item Four score. In my presentations I'd like to use blocks ( egin {block}…end {block} ). The following is a sample code. You have to make sure that there's an empty line before closing the group, or an explicit \par to ensure that the paragraph building feature can be performed using the newly-specified parameters. \usepackage {setspace} after your \documentclass line. If a different spacing is required then the setstretch{baselinestretch} command can be used in the preamble to set the baselinestretch appropriately. 5} So you can out comment whatever command you want to choose, either setspace or baselinestretch. setstretch{0. I advise you load setspace, use this directive (or setstretch {1. 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. My problem appears when using the following source code: documentclass[11pt]{book} usepackage{graphics} usepackage{graphicx} usepackage[latin1]{inputenc} usepackage{epstopdf} usepackage{epsfig} usepackage{anysize}. This LaTeX template includes a title page, a declaration, an abstract, acknowledgements, table of contents, list of figures/tables, a. my entire preambule. I have some code that currently creates a section title like this: The relevant line in the code which does this is: itleformat {section} [hang] {fontsize {30} {38}selectfontfseries} {color {c1}} {20pt} {egin {tabular} [t] {@ {color {c1}vrule width 3pt}> {hsp}l}#1end {tabular. 1 LaTeX on Pratt Pundit. Undefined control sequence. The algorithmic environment is not a floating environment, you have to use the algorithm wrapper environment. Posted by Trevor Bača at 11:34 AM. 5. Note that it's necessary to . The "em" is a font depending length, frequently as wide as a capital M in the current font. While using minted I can change font size ( Change font size in minted) on each individual place using the fontsize=footnotesize: egin {listing} inputminted [fontsize=footnotesize] {javascript} {file. I use setstretch{1. (While the default behaviour is to apply the hanging indent after the first line, this may be changed with the hangafter command. sty % were suited for document font sizes other than 10, 11 and 12 pt. 08} gives pretty good result). % % GT: Sat 28 Sep 1996: No, I don’t know understand the line spacing % algorithms! If someone (LaTeX team) can enlighten me as to the % general rule, please do! I haven't found any algorithm2e command to do that. usepackage[nodisplayskipstretch]{setspace} setstretch{1. I add also some ways to improve your table, for instance how to make it into filling the whole text width without guessing. They contain paragraph formatting, in the form of par s and stuff like that. tex file (which I have modified a bit by removing lines for. Font size. . I've used setspace to set the line spacing, but placing an additional setstretch command inside the odo command has no effect at all. Trong LaTeX, các đoạn văn thường được căn đều hai bên,. It only takes a minute to sign up. It's not that I call something SBP/PLS. The setspace package source indicates:. It scales aselineskip, and has a default value of 1. if you want to stretch all the letters evenly rather than words you can use: makeatletter defspreadeven#1 {% @tfor ext:=#1do {% exthfill }% } spreadeven {A fox jumped over the lazy dog} madeatother. The number can be positive or negative. Here is a good document on Overleaf: How to change paragraph spacing in LaTeX. You can use the setstretch in multiple places in your document (i. ewcommand {\SetSinglespace} [1] {% \def\setspace@singlespace {#1}% } % Here's the default single line spacing value. Seems algorithmicx package are not deprecated and it makes me more confused. 'Double' line spacing means linespread {2} in LaTeX. I used the setspace package as here, but it also affects the space between line breaks that is not wanted. If someone (LaTeX team) can enlighten me as to the % general rule, please do! It would be very pleasant if setspace. 5). The setspace package implements \setstretch. 1. %To get single-spaced, one-and-half-spaced, and doublespaced effects, you can also use setstretch{1}, setstretch{1. {"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"testfiles","path":"testfiles","contentType":"directory"},{"name":". setspace – Set space between lines. The asme2e. Ce système est mis en œuvre sous forme d’un paquet de macros pour le programme de composition TeX (voir Overview). This can be done easily using the setspace package and \setstretch{} command, as long as one remembers to end the paragraph with \\, as pointed out by user vita001 on the forums of. 25} egin{document} egingroup chapter{First Chapter Heading} setstretch{0. It's pretty marginal squeezing that expression to fit. We will also talk about infinitely stretchable space, one cool tool that can be used, among many things, to align text. I have tried to write clearpage instead, but this gives the same answer. Modified 6 years, 5 months ago. This works! However, the spacing between Parts and Sections is still quite big even when setting setstretch {0}. When array or tabular are started, the current value of aselineskip is multiplied by arraystretch. Now your problem is caused because the template uses listofpublications wrong. \documentclass{book} \usepackage. maketitle. 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. 5 some text some text some text some text some text some text some text some text some text some text some text some text some text. 2. Only. Setstretch Latex Package With Code Examples With this article, we'll look at some examples of Setstretch Latex Package problems in programming. Don’t use unnecessary local definitions that may overlap standard LaTeX commands. It either prints out the wrong page number of the chapter of my sources (Version 1), or it jumps to the wrong page (Version 2). There is another package, called "doublespace" which will usually work exactly the same way as setspace. 5. Don't load setspace. tex. \setstretch {value} sets the value of \baselinestretch to value and triggers an immediate change in \baselineslip caused by \baselinestretch. When a setstretch or derived command such as doublespacing is issued, the normal value of aselineskip is multiplied by the stated aselinestretch. Instead of. This problem is similar to when one writes. Latex中的常用算法块如上所述,使用过程中其它技巧可查询之后进行设置。 上述记录仅用来对latex使用过程中的心得体会进行总结。 个人感悟:写latex一定要静下心,要不然很容易出现低级错误。遇到不会的格式或方法,勤用搜索引擎去寻找答案。These are the recommendations of the setspace package:. This is a template that worked fine a few months ago. egin{center}setstretch{1. without vertical lines, and; with less horizontal lines including better vertical spacing by the rules of package booktabs. 5} if you absolutely want to), as it takes care of footnotes and some other details that \linespread does not take into account. When a setstretch or derived command such as doublespacing is issued, the normal value of aselineskip is multiplied by the stated aselinestretch. For 11 pt, it is \setstretch{1. or, speaking of setspace package, setstretch{1. sty. your h) is simular to marginparwidth. It does increase line spacing in tabular environments as well, which is what I want. Next, load the etoolbox package and issue the instruction AtBeginEnvironment{itemize}{parmedskipsetstretch{1. tex output and a printout of both documents. 0in, inner=1. The first suggestion works fine. It is a switch. 0. Other pages:lmargin=4cm,rmargin=2cm,tmargin=2cm,bmargin=2cm. documentclass [10pt] {article} usepackage {setspace} setstretch {1. LaTeX on its own cannot determine how much to stretch the ordinary line spacing; you have to define that yourself. 1 Answer. Without the line, it is correctly Chapter -> Section -> Subsection ->. can also be caused by forgetting to type an end{table} a couple of lines higher. TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. You used the wrong names for the keywords. Mar 15, 2018 at 0:00. It does increase line spacing in tabular environments as well, which is what I want. ewcommand {\reporttitle} { this is a title with a lot of text bla bla bla} i used. The. I suggest you load the setspace package and issue the instruction setstretch{1. I'm trying to use marginpar and todonotes to make comments in a latex file as to ease the collaboration. TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. You should definitely follow egreg's advice. 可选的 zero-to-four 是一个整数,可以让您软化请求。. Only useful if you are a fan of the grid format and the package limitations are not a problem in your document. In the example I have exaggerated the factors just to make the result more evident. 4} \begin {document} `Curiouser and curiouser!' cried Alice. Btw. egin {dmath} x_ {4} (s) = frac {1}. clo. Could you please tell me how to format it. one option, if you only want to change the spacing between lines in a certain part of your document (like one block of equations) is to use the setspace package, and use the spacing environment like this: egin {spacing} {. STATE strut instruction 1 The command strut is the height of the character " (" but without a width. 2}} But it does nothing useful and generates this warning. Because your given margin (for top, bottom, left and right) is. The trick is that the current factor is stored in \baselinestretch, but we need to ensure it is expanded before calling \setstretch. 3. g. I'm having trouble with adjusting the space between lines. it doesn't have to be a global setting) and it scopes properly (i. This works fine if I don't have a sub-list: However, if there is a sub-list, the item following the sub-list would not be stretched. \setstretch {<factor>} Here the <factor> is related to 1. sty % were suited for document font sizes other than 10, 11 and 12 pt. One is simpler, the other requires a package, but is more flexible. Somehow, this seems to break bookmark structure in PDFs. This acrticle: baselinestretch vs. 5} right before egin{abstract}. The. 8cm. You can define a setrelativestretch command using xfp facilities for the computations with floating points. I've beean able to install it and to compile some pdf files. Other size spacings also available. As you can see in the screenshot below, the space between the first two level-1 items is smaller than the space between the last two. By default, the stuff in these columns is left-aligned, but you can change this as the following shows. 本文の書き方 LaTeX文書の文書クラスとそのオプション、プリアンブルを設定したら、次は文書の本文を書きます。本文は、「¥begin{document}」でdocument環境の始まりを宣言し、「¥end{document}」で終わりを宣言した間に入れます。文書クラスの指定には「コマンド」を使いましたが、本文には「環境. This can be done easily using the setspace package and setstretch {} command, as long as one remembers to end the paragraph with , as. Logout. I have a simple table where I put some braces at the right side. 5in, outer=1. Selecting appropriate line spacing is crucial in order make comprehensible presentations in LaTeX Beamer. LaTeX's Friends BibTeX, biblatex and biber MakeIndex, Nomenclature, Glossaries and Acronyms Conversion Tools Viewers for PDF, PS, and DVI XeTeX Others; LaTeX Distributions Decision Guidance MiKTeX and proTeXt TeX Live and MacTeX Others; LaTeX Editors Decision Guidance AUCTeX Kile LEd LyX Scientific Word/Workplace. e. 241} is 1. will make the text of the whole document double spaced. Viewed 19k times. 5, footnotes to have a line spacing of 1, both within them and between two consecutive footnotes. Introduction. 618} —the strange value of 1. When typeset, note that the vertical bars are too tall. 5 times that of the single line spacing, then you can use. The setspace package was developed before LaTeX2E developed the interface of linespread change. TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. 5 in both main text and footnotes, which is undesirable. documentclass {article} usepackage {tabularx. Yes, you can. 5. Before your \begin {document} command, \doublespacing. I am guessing though, that you want/need double-spacing in your document but. . 25 would lie "between" \singlespacing and \onehalfspacing. 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. aselinestretch scales the value of aselineskip, and it is. I've been experimenting a little and in the end, satisfying solution is that I've declared a negative lineskiplimit for the whole doc (because I have many arabic terms inline with latin text and want those lines too with equal spacing) and then have corrected too tight spacing using package setspace (setstretch {1. different spacing is required then thesetstretch{baselinestretch} com-mand can be used in the preamble to set the baselinestretch appropriately. enewcommand {arraystretch} {2. , extwidth ). setstretchコマンド \setstretch {1. 35}, Programmer Sought, the best programmer technical posts sharing site. 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. Using the setspace package with a 10pt document font, a factor between 1. 4} egin {document} `Curiouser and curiouser!' cried Alice. Depending on the pointsize, you can set in the preamble setstretch {1. It's pretty marginal squeezing that expression to fit. I use setlengthitemsep{fill} to vertically stretch items in an itemize environment. I think you can also move all the style declarations to the preamble, and there is no need to repeat them. The BCOR and DIV value must be set beforehand. Instead, load the setspace package and issue instructions such as \setstretch {1. Of course this is too much. I am defining document class, so it would be best to set default footnote line spacing in it, not in the main document. To change line-spacing in a LaTeX document, either for the document as a whole or for selected parts, it's a good idea to load the setspace package in the preamble. sty). 667}. The remaining space on a page should be given by {dimexpr pagegoal-pagetotal} (computed between paragraphs). Simply setting vspace {-. So you can try to use the following toc. 2. from both places in your document, and place it in the preamble instead (Document --> Settings --> LaTeX preamble), after \usepackage {tikz}. Provides support for setting the spacing between lines in a document. I don't know this `normal' base line skip from Word, but if it's anywhere near to what LaTeX uses, you should be closer with linespread{1. First, in a LaTeX document it's best not to modify low-level TeX commands such as aselineskip directly. Share. Note that I have 2 x ewpage in the code below, but it's only the second of these that creates a problem. Using LaTeX setstretch. 5in,9in}, top=1. LaTeX ignores setstretch or changing aselinestretch in one paragraph. It is a common formatting option used to make documents easier to read and more visually appealing. It had to be brought up to date, not only % because of LaTeX's new color ability, but also because there had % been major changes to this code in LaTeX at least as far back as % March 1992. \documentclass [10pt] {article} \usepackage {setspace} \setstretch {1. % % Note: This version sets a baselinestretch of 2. Then, the spacing beteen lines is such that the subindex of the first line is not too close to the superindex of the second line, whatever the settings of setstretch. I'm using setstretch but I would like it to affect the whole text BUT the abstract. Strangely enough, this is not installed on my TeXlive 2016 system, while the bibliography style is installed. . Since the issue is aggravated by the OP's use of setstretch{2}, instead of adding white space at the top, I would have suggested "cancelling" the unwanted vertical space below the figure by setting setlength{elowcaptionskip}{-aselineskip} addtolength{elowcaptionskip}{1. e. Hot Network Questions What's. This article explores two methods of making changes to various aspects of paragraph spacing: . 1. Synopsis: stretch { number } Produces a rubber length with zero natural length and number times fill units of stretchability (see Lengths ). – Mico. However, I'm still unconvinced if I've used the codes correctly to achieve these settings. Footnotes, figures, and tables will still be singlespaced, however. It only takes a minute to sign up. 95 extheight plus the height of the chapter heading exceeds the value of extheight, thus a blank page is introduced (its standard LaTeX behavior to do this). Local line spacing in LaTeX Beamer. 667}, with slightly different stretch factors if @ptsize happens to be 1 or 2. I am employing LaTeX to draft a scientific manuscript for publication. I know this is being "too particular", but my teacher has a strict requirement and noticed that my spacing is off. } usepackage{setspace} This package (originally based on the doublespace LATEX 2. onehalfspacing. In table with common floating options, the stretch is reset to 1. gitignore","path. If someone (LaTeX team) can enlighten me as to the % general rule, please do! It would be very pleasant if setspace. The setspace package implements setstretch. 35} just after the algorithm environment has begun. therefore, the height between the line preceding the minipage will almost always be too close to the first line of the minipage. The last trick is to rely on @openbib@code as a hook to modify the list parameters that are used to display the. sty % were suited for document font sizes other than 10, 11 and 12 pt. 1 Answer. Introduction. gitignore","path":". The environment name is onehalfspace, not onehalfspacing AND, it is (for a 10pt document) equivalent to \begin{spacing}{1. . Oct 1, 2012 at 10:36. You can locally redefine the spacing used around operators which are (in the standard 10pt setting) hinmuskip=3mu medmuskip=4mu plus 2mu minus 4mu hickmuskip=5mu plus 5mu. quotation. 5. The. 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. I have a problem with my LaTeX document. Posted by Trevor Bača at 11:34 AM. 3. %Undefined control sequence. With all of these suggestions implemented, your MWE might look like this:it is very recommendable to use the package siunitx for all units. 2. It only takes a minute to sign up. – egreg. Sorted by: 1. This package provides the commands doublespacing, onehalfspacing, singlespacing and setstretch {baselinestretch}, which will specify the line spacing for all sections and paragraphs until another command is used. To achieve what you want, it suffices to restore the normal baseline skip through the command. Before your \begin {document} command. 35} latex中algorithm模板为: latex文件中顶端加入的package: 算法块代码: 实际算法结果图示为: 第二种用法: 使用algorithm2e包进行处理 上述代码分别对应两个算法,所获得的算法块分别为: Latex中. You can also adjust the space between lines with the setstretch command from the setspace package. TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. \end {document} The sort of scaling factor mirrors the idea of single- and double-spacing but differs from type leading. 5 g-moll. 75} chapter{Chapter title} label{Chapter1} markboth{Chapter title}{Chapter 1} setstretch{2} It worked fine. – PascalVKooten. 9}} (needs Ctrl-L for the TeX mode. To get single-spaced, one-and-half-spaced, and doublespaced effects, you can also use setstretch{1}, setstretch{1. your b) is simular to headsep. Viewed 19k times. I. documentclass {book} usepackage {graphicx,kantlipsum,setspace} usepackage {caption} captionsetup. Hard to give suggested values without seeing an example. For those reading this, the implication is that in your TeX you need to be careful not to have two newlines before / after your \[equations for them to be considered in the same "paragraph" (see the code in this answer). You can define a \setrelativestretch command using xfp facilities for the computations with floating points. 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. Inside another box would be more difficult, since the outer box height may not be fixed yet. If the suggested commands don't give you fine enough control, you can use setstretch{factor}. 37. Aug 5, 2012 at 20:19. 2. So you could fix it by defining @currsize yourself, such as by. While we can't fix the spacing when Korean isn't the main language, I haven't been able to find a major drawback to using setstretch outside the preamble, plus it improves the appearance of the front matter, so. Package options include singlespacing, onehalfspacing, and doublespacing. Sorted by: 5. g. I configured the path to latex. However, by starting each chapter file with: \setstretch{0. Use of other LaTeX packages are not allowed and will be returned as not ready for publication.