14. 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. I have found another solution: Use the float-package. The template uses setstretch {1. 5} most likely means that the Thesis document class loads and makes use of the setspace package. 1. Follow edited May 12, 2011 at 16:23. 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. For one-and-a-half spacing, instead use the command. The imsart class is for submissions to some journal, so you shouldn't monkey with the spacing they want. %% %% Three environments, singlespace, onehalfspace, and doublespace, %% allow the spacing to be changed. Don't manipulate the low-level command aselinestretch directly. TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. I have no idea where it goes wrong. CHAPTER I-INTRODUCTION. Introduction. to . 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 if you just need to modify the toc, you may use just the toc. I want to increase line spacing between statements in algorithm environment. 7pt over three lines doesn't seem worth the pain, but you're the final judge. I've tried placing it right after it but it doesn't work. sty ! letlatex@xfloat=@xfloat def@xfloat #1[#2]{% latex@xfloat #1[#2]% defaselinestretch{setspace@singlespace. If someone (LaTeX team) can enlighten me as to the % general rule, please do! It would be very pleasant if setspace. From the basics to create a given vertical and horizontal space simply giving LaTeX the dimension of that space, to the more advanced use of infinitely stretchable space. This uses the LaTeX kernel @tfor to iterate over all the letters and add hfill between them. 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. If a different spacing is required then the setstretch{baselinestretch} command can be used in the preamble to set the baselinestretch appropriately. What should I add to preamble to achieve that? documentclass{article} usepackage[nodisplayskipstretch]{setspace} setstretch{1. hangindent =0. There are two different ways to change line spacing in LaTeX. :- ( However, since it has been deleted I'll try to answer it on my own: With caption package the font size of the caption could be set with captionsetup {font=scriptsize}: documentclass [12pt,a4paper] {book} usepackage {algorithm. ! LaTeX Error: Missing \begin{document}. \def\beq{\begin{equation}} \ {"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"testfiles","path":"testfiles","contentType":"directory"},{"name":". The compiler is having trouble understanding a command you have used. cls; here's an example of such a redefinition to obtain section titles using small caps: documentclass {article} makeatletter enewcommandsection {@startsection {section} {1} {z@}% {-3. Creating your first LaTeX document; Choosing a LaTeX Compiler; Paragraphs and new lines; Bold, italics and underlining; Lists; Errors; Mathematics. In the example I have exaggerated the factors just to make the result more evident. Also, you answer adds a center environment that I didn't have in my question. \documentclass{book} \usepackage. Viewed 2k times. –. This problem is similar to when one writes. Viewed 11k times. (It is a quirk of LaTeX that you can use normal commands also as environments. % Set up the document documentclass [a4paper, 11pt, oneside] {Thesis} % Use the "Thesis" style,. Jun 27, 2020 at 7:15. It only takes a minute to sign up. Instead, load the setspace package and issue instructions such as setstretch {1. % Normal, bottom of the page, footnotes. 0} showtheparindent > 20. LaTeX on its own cannot determine how much to stretch the ordinary line spacing; you have to define that yourself. The right way to influence the interline distance is via aselinestretch. I suggest you load the setspace package and issue the instruction setstretch{1. t. setstretch {<factor>} Here the <factor> is related to 1. Print it out, preferably on acetate or some other stable transparent medium and. 5}. LaTeX ignores setstretch or changing aselinestretch in one paragraph. doublespacing. 3. 5}. Use of other LaTeX packages are not allowed and will be returned as not ready for publication. 0}} in the preamble. 0in,,headheight=0pt,headsep=0pt,centering]{geometry}. – Bernard. \setstretch {<factor>} Alternatively, the package options singlespacing, onehalfspacing or doublespacing may be used in place of the first three. It is set by @setfontsize, which is called by LaTeX font size commands such as Large, small etc. 5 spacing with 12pt. 可选的 zero-to-four 是一个整数,可以让您软化请求。. Other pages:Double. 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. Here is a good document on Overleaf: How to change paragraph spacing in LaTeX. TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. That's why applying lettrine to the beginning of a quotation has the effect of carrying over the. 5 in both main text and footnotes, which is undesirable. 37. 基本距离: 在Latex中有个值aselineskip 表示基本距离。每个字号都对应一个自然的基本距离(为字号的1. The syntax for this command is setstretch {baselinestretch} Horizontal space: Horizontal space is automatically flexible in LaTeX so that LaTeX can achieve justification. Share. Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Home; Questions; Tags; Users. therefore, the height between the line preceding the minipage will almost always be too close to the first line of the minipage. But when I was going to insert the pseudo code like egin{algorithm} % extsl{}setstretch{1. Otherwise, if a. If you insert the directive setstretch{1. Posted by Trevor Bača at 11:34 AM. 8}. This Thesis LaTeX template is an ideal starting point for writing your PhD thesis, masters dissertation or final year project. I can tweak it manually with something like [-2ex]. 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. (Minimal reproducible example Alternatively, you could start each minted environment with the following options: baselinestretch=1 and fontsize=\footnotesize. sty % were suited for document font sizes other than 10, 11 and 12 pt. . 5} and setstretch{2} respectively. The setspace package was developed before LaTeX2E developed the interface of linespread change. algorithmicx. 5). in LaTeX, LaTeX – formatting. 25} (10pt), 1,213 for 11pt or 1. Here's an example code: The result is, to my taste, to much spacing between the text "Let z1 and z2. My current Table of contents read as I INTRODUCTION. I'm just using the listoftables command, and spacing the document with. I. KR. TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Hot Network Questions What's. I'm using setstretch but I would like it to affect the whole text BUT the abstract. setstretch alters this number by the <factor>,. 5 stretch for margin notes in LaTeX documents. different spacing is required then thesetstretch{baselinestretch} com-mand can be used in the preamble to set the baselinestretch appropriately. from both places in your document, and place it in the preamble instead (Document --> Settings --> LaTeX preamble), after \usepackage {tikz}. You can decrease the number to any value you need. It is light, it is compatible with most standard LaTeX distros, it is professional, and, IMO, it looks great. Selecting appropriate line spacing is crucial in order make comprehensible presentations in LaTeX Beamer. 1 Answer. The current plans include: Software choice , Including the installation. `Curiouser and curiouser!' cried Alice. It only takes a minute to sign up. setstretch {1. 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. So, remove all the ikzstyle declarations, and instead add. If a different spacing is required [than singlespacing, onehalfspacing, or doublespacing] then the setstretch{baselinestretch} command can be used in the preamble to set the baselinestretch appropriately. 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. setstretch {<factor>} Alternatively, the package options singlespacing, onehalfspacing or doublespacing may be used in place of the first three. 2. ef aselinestretch {#1}@currsize" If I run it in report class it works fine. setstretch and todonotes. For that I loaded a modified version of the setspace. 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} {. You simply need to enter the following code in the preamble of your LaTeX file: usepackage{footmisc} enewcommand{footnotelayout}{setstretch{2}} Posted October 15, 2020. Export (png, jpg, gif, svg, pdf) and save & share with note systemModified 6 years ago. . Simply setting vspace {-. Rmd"), output_file = "report. On the other hand, you don't need underset for your case, as already suggested. It only takes a minute to sign up. See the code example and the documentation of the fixme package for more details. which is followed by. I'd further suggest that you run. – Mico. the previous line will be too large. setspace provides 4 commands intended for use in the preamble: singlespacing. 25} egin{document} egingroup chapter{First Chapter Heading} setstretch{0. 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. 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. % % Note: This version sets a baselinestretch of 2. Namely, for the default 10pt size, it uses \setstretch{1. 1 Answer. \doublespacing. to the preamble. The new LaTeX package incorporates updated versions of the following ACM templates: o ACM Journals: ACM Small, ACM Large, ACM and TOG (also for SIGGRAPH authors publishing in TOG). The whole document will be double-spaced including bibliography. You can manually set the title that appears in the TOC like this: section [Lorem ipsum] {Lorem ipsum dolor sit amet} That way the "long title" appears on the section itself, and the "short title" appears in the TOC. %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. %I haven't found any algorithm2e command to do that. I'm trying to use marginpar and todonotes to make comments in a latex file as to ease the collaboration. Note this environment cooperates with caption, so you can easily customise captions for this environment. Introduction. In my beamer presentation, I want. 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. With all of these suggestions implemented, your MWE might look like this:it is very recommendable to use the package siunitx for all units. 516. 9 extwidth?LaTeX Error: Not in outer par mode. 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. 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. 0} immediately after AtBeginEnvironment{longtable}{small, single-spacing will be in force automatically for all longtable environments. Signing up takes only a minute. 9} for example. setstretch{1. Provides support for setting the spacing between lines in a document. Usage: documentclass[. Local Definitions are allowed but special fonts and characters are not allowed. The indentation of the other paragraphs can be changed with this command. Please consider the following test. For a particular group of text I am using \fontsize and setting to a size(say 8pt) different from the document fontsize(say 12pt) but the spacing between the text is still being rendered with respect to the document’s fontsize hence I am using \setstretch which gives me a spacing of 0 but sets the fontsize back to the document fontsize. . 5} If you want your line-spacing calculation to be based on that of Microsoft Word, then you should know that in MS Word “single line spacing” depends on the typeface/font. 25 would lie "between" \singlespacing and \onehalfspacing. 1. 0in is strange. I've beean able to install it and to compile some pdf files. . However, it interacts poorly with some graphics packages. 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. Local line spacing in LaTeX Beamer. A solution that worked. Alternatively the spacing can be changed as required with the \singlespacing , \onehalfspacing, and \doublespacing commands. Thus, I sought out an alternative approach, and came up with egin{spacing}{1. 2 Answers. 0} and. TeX uses one baseline skip for all lines in a paragraph, using the value in force when it scans the end of paragraph. How do I insert a blank space in LaTeX? Horizontal blank spaces hspace{1cm} Inserts a horizontal space whose length is 1cm. I'm having trouble with adjusting the space between lines. How to setstretch relative to the previous call? 2 setstretch resets parindent in koma-script. 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. The second issue relates to the lipsum [] material commonly used in MWEs. l. The asme2e. The. tex instead. cls file of our university which is supposed to be 1. The “max” operator is obtained with the command max and. I suggest that you (a) replace the first two align* environments with gather* environments and (b) start using alignment points in the aligned environment (and place a oindent directive before the aligned environment). % % 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 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. Footnotes, figures, and tables will still be singlespaced, however. If someone (LaTeX team) can enlighten me as to the % general rule, please do! It would be very pleasant if setspace. One is simpler, the other requires a package, but is more flexible. It only takes a minute to sign up. The default %% spacing with this style option is single spacing. Question How to have double-spacing effect in LaTeX? Answer. Article suivant. However, I'm still unconvinced if I've used the codes correctly to achieve these settings. It only takes a minute to sign up. 3} to increase line spacing. I know that, generally, the preferred way of achieving. Type H <return> for immediate help. 1 Answer. the minipage is treated as a single line, with the baseline through its center. Trong LaTeX, các đoạn văn thường được căn đều hai bên,. 3. It's pretty marginal squeezing that expression to fit. 5} \ Stack Exchange Network Stack Exchange network consists of 183 Q&A communities including Stack Overflow , the largest, most trusted online community for developers to learn, share their knowledge, and build their careers. So you can try to use the following toc. 3. `Curiouser and curiouser!' cried Alice. Excellent, works like a charm! That was actually the first time I ever used lipsum, it seems to be the standard for these kinds of questions. When array or tabular are started, the current value of \baselineskip is multiplied by \arraystretch. There was already a good answer to this question, it's not clear to me why it has been deleted. 618} and for 12pt, \setstretch{1. 0 is the default. Creating your first LaTeX document; Choosing a LaTeX Compiler; Paragraphs and new lines; Bold, italics and underlining; Lists; Errors; Mathematics. documentclass {article} usepackage {tabularx. documentclass [10pt] {article} egin {document} `Curiouser and curiouser!' cried Alice. setstretchコマンド \setstretch {1. 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. This article explores two methods of making changes to various aspects of paragraph spacing: . your b) is simular to headsep. Skip to content. a) it is always centered on the slide (horizontally) b) it is only slightly longer than its content. sty. if you put it in a group, it only takes effect within that group). I have tried to write clearpage instead, but this gives the same answer. will make the text of the whole document double spaced. The spacing in equations can be managed by changing arraystretch. Using LaTeX setstretch. Depending on the pointsize, you can set in the preamble setstretch {1. Im trying to alter the colors on my section, subsection and subsubsection. 3} which increases the baseline skip of a 1. I would like to reduce the line spacing for some sentences of a paragraph, for example, the blue color sentences as below, how should I do? documentclass {article} usepackage {setspace,lipsum} setstretch {1. It only takes a minute to sign up. 1 Answer. We will also talk about infinitely stretchable space, one cool tool that can be used, among many things, to align text. If the width key is set, tabular* is used. and on drake plan. This article explores two methods of making changes to various aspects of paragraph spacing: . 667spacing algorithm used in latex have problems in the process, use setstretch {1. r. How do I get MS Word style single line spacing in LaTeX? I tried singlespacing, setstretch {1} and linespread {1} but the line-spacing stays too wide. 1 I am trying to put a list inside a table, using p aragraph mode, but the space between the items is too wide, so I was thinking about using the setstretch {} command. Synopsis: stretch { number } Produces a rubber length with zero natural length and number times fill units of stretchability (see Lengths ). . (In partcular this requires the slightly unnatural empty line/ \par before \end {doublespacing. 5} if you absolutely want to), as it takes care of footnotes and some other details that linespread does not take into account. setstretch{odytextlinespread} % Patch caption line spacing. 2}, but it will affect all my tabular. documentclass [10pt] {article} usepackage {setspace} setstretch {1. 数字越高,请求越强烈。. Improve this answer. I want to have my tables fill the entire width of the page (i. LaTeX is so flexible that we will actually only skim the surface, as you can have much more control over the presentation of your document if you wish. To get single-spaced, one-and-half-spaced, and doublespaced effects, you can also use setstretch{1}, setstretch{1. According to this . your a) is simular or better part of headheight. LaTeX offers different line spacing options. If you use the named bibliography style, you must also use the named package: usepackage {named}. sty). different spacing is required then thesetstretch{baselinestretch} com-mand can be used in the preamble to set the baselinestretch appropriately. 25} before your \begin {document} command, and after the \usepackage {setspace} line. 一般来说,最终决定两条 baseline 之间的 linespace 距离的,是 LaTeX 的宏 aselineskip 之中。也就是说,这个长度值,将会是一般情况下的两条 baseline 之间的. 'Double' line spacing means linespread {2} in LaTeX. soooosig • 3 yr. 1. My original code is: \documentclass{article} \usepackage{mathtools} \usepackage{setspace} \setstretch{1. Keep building a MWE in mind for all future requests. caption {Offine Algorithm}label {alg:offline} in your code to remove the horizontal space before the caption. set a custom spacing with setstretch {. Type H <return> for immediate help. Posted by Trevor Bača at 11:34 AM. In the following code, I use linespread {2} in the first frame, instead of doubling the line space , it increases the space between math equation and the text. Now to the answer: The combination of . Now, load amsmath. You can play with th keys of enumitem, and if you want to change line spacing within item, use setstretch: documentclass [11pt,BCOR8mm,final,a4paper] {scrbook} usepackage {enumitem, setspace, lipsum} egin {document} lipsum [11] egin {itemize} [nosep] item Christopher Columbus was born in. odo {setstretch {1. First, in a LaTeX document it's best not to modify low-level TeX commands such as aselineskip directly. You should definitely follow egreg's advice. 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. Btw, if you load mathtools, you don't have to load amsmath. Viewed 19k times. Try typing <return> to proceed. If the suggested commands don't give you fine enough control, you can use setstretch{factor}. 1em,parsep=0em,partopsep=0em} setlist*[itemize]{first=vspace{aselineskip}setstretch{1}vspace{-aselineskip}} %. 2. I tried several ways for doublespacing in Beamer but none of them are working. You will see that also the rows below will be adjusted if you raise the value of \arraystretch, set it for example to 2. 1 Answer. 5 g-moll. 6 and for one-and-a-half spacing 1. (In word, font size 10pt, single spacing gets 12pt baseline skip; double spacing gets 24pt) setspace. If a different spacing is required then %% the \setstretch {baselinestretch} command can be used in the %% preamble to set the baselinestretch appropriately. I am working on a document which requires for a very small portion of the text, that the spacing between the lines be increased. To double space a LaTeX document, you should include the line. Somehow, this seems to break bookmark structure in PDFs. LaTeX single spaces text by default. LaTeX ignores \setstretch or changing \baselinestretch in one paragraph. You can use the setstretch in multiple places in your document (i. Sorted by: 4. To double space a LaTeX document, you should include the line. Merged Copy link Contributor. sty % were suited for document font sizes other than 10, 11 and 12 pt. hspace {<skip>} is a general horizontal spacing command, that tells TeX to leave that amount of horizontal space. If a different spacing is required then %% the setstretch {baselinestretch} command can be used in the %% preamble to set the baselinestretch appropriately. You can also set line spacing locally in a clean way as this: documentclass {article} usepackage {longtable} usepackage {setspace} egin {document} egin {spacing} {. 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). Is there a drawback to using setstretch outside the preamble? 5 vbox append: Insufficient line spacing between last line of first vbox, and first line of second vbox. The. 1 À propos de ce document. 1} you need the blank line anyway. 1. The following example uses \setstretch {1. LaTeX Basics. It only takes a minute to sign up. Any ideas? Welcome to the LaTeX community! Without an example document “it doesn't work” is a rather vague information. t. 5 --- this text has a line stretch of 1. The. Sorted by: 5. setspace suggests setting \renewcommand {\arraystretch} {1. I'm using a LaTeX template (provided by ASME) to write a conference paper. Note onehalf spacing is not exactly linespread {1. And, instead of using the traditional linespread {<factor>} to modify the spacing, use setstretch {<factor>} from. LateX is a Tex based typesetting system and collection of macros for document compilation and. 667}. You can achieve this effect globally by declaring it in the preamble. Other pages:lmargin=4cm,rmargin=2cm,tmargin=2cm,bmargin=2cm. 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}. or, speaking of setspace package, setstretch{1. But, as for verbatim I need it to be 1. Comments. 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. 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;Remove the line. 0} inside the group had. Most probably one has to use setstretch{x} with some experimental value x, found out by direct comparison on screen with MS Word and *. If the command is part of a package, make sure you have included the package in your preamble using usepackage {. How to set all titles levels of a document following strict. I have a simple table where I put some braces at the right side. 35} just after the algorithm environment has begun. , extwidth ). it should use. I attempted to use the setspace package with the command setstretch, but this only seems to work in the case where the stretch factor is >1, so I. 667}. 5}Instead, I suggest you load the setspace package and issue various setstretch{xx} directives, where "xx" is a stretch or shrinkage factor; a value of 1. Tags: Footnotes, Latex, Spacing. Option clash with setspace. 667 produces line spacing that's different from using the command setstretch{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. 661 3 12. , points, inches, etc. \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. Article class sets by default the bibliography name as a section*; it is replaced with subsubsection to appear smaller. . 5. It scales aselineskip, and has a default value of 1. 1. Selecting appropriate line spacing is crucial in order make comprehensible presentations in LaTeX Beamer. You must be logged in to post a. Your code has par in the wrong place: it should be before the closing brace limiting the scope of iny. On way is simply to adjust for the changed baseline: \documentclass{article} \usepackage[T1]{fontenc} \usepackage{setspace} \usepackage{enumitem} \setstretch{2} \setlist[itemize]{topsep=. It is a powerful, and free, way to generate professional, dynamic documents. For 11 pt, it is setstretch{1. ewcommand{\setstretch}[1]{% \def\baselinestretch{#1}% \@currsize} % GT: Sat 28 Sep 1996: spacing commands and environments modified to % use \setstretch instead of \baselinestretch. 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. for example SIrange {15} {30} {celsius} instead 15 -- 30 extdegree C. can also be caused by forgetting to type an end{table} a couple of lines higher. Finally, do heed the advice already given in the other answers regarding the use the eqnarray environment: don't use eqnarray, use align instead. 3} to increase line spacing. 3. See the LaTeX manual or LaTeX Companion for explanation. (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. The package parskip does three things: (1) sets a zero parindent, (2) sets a non-zero parskip, and (3) adjusts the skips between list items to parindent. ) An example follows. You can also adjust the space between lines with the setstretch command from the setspace package. The aim is to put an equation inside the block and use the block as a highlighter for this equation. (Normally this would of course be detected by a egin{table} on line xxx followed by end{document} error, but in my case the large number of outer par mode errors caused an emergency stop before getting there. 1 Answer. So something like. there are errors in the code: at the end of rows remove the & before \\. egin{singlespace} end{singlespace} setstretch{1.