So the fonts used were not always the size requested (but \baselineskip was always exactly as requested) this explains why the effects are more apparent at some sizes. Simply add usepackage{parskip} to your preamble above the command that changes the length. 2. Advice from the parskip package: The parskip package advises that directly modifying parskip can “result in vertical spaces in unexpected places” (within a LaTeX document). Other than that, your code contains a single paragraph for TeX. Therefore, in addition to option parskip, the KOMA-Script classes provide their own interface with the command setparsizes to adjust the three choices of paragraph markup. setlength {parskip} {0pt} % additional skip between paragraphs. Share. I can use: setlength {parskip} {aselineskip} setlength {parindent} {0pt} But this messes up the rest of the document as it also increases the spacing after chapters, sections, sub-sections, and sub-sub-sections. If I use the package parskip with something like setlength {parskip} {5mm} it adjusts parskip not only between text paragraphs, but also between text and e. 39995pt and parskip: 14. Sorted by: 83. \end {description} If you also want to indent the entire Example block you can use labelindent. You may also set it per-environment. That command addtobeamertemplate is very useful for many kinds of modifications. How can I just add a vertical space between paragraphs of text?3. g. If you would like to align the text in LaTeX paragraphs with the middle of your page, you can use the command /begin {center} and /end {center}. oindent This is a new paragraph without indent. documentclass [12pt,a4paper] {article} usepackage {amsmath} usepackage {amsthm} usepackage {amssymb} I don't feel it's so good because the first paragraph has no indent but the second does. 1. The origin of the issue seems to be that bookdown makes use of the parskip package by default. 3cm. i see what you mean. Simply changing parskip and parindent leaves a layout that is untidy; this package (though it is no. 4. Oct 21, 2016 at 8:41. Solved my problem! Within the LaTeX I had in my Jupyter notebook, I was using egin{align} and end{align} in order to have some equations I made line up nicely with their equal signs all stacked. Compare these two settings of the same text. – barbara beeton. Feb 27, 2014 at 16:56. 79. 1 Answer. vspace is a LaTeX command and vskip is a TeX command. e. In KOMAscript, you may redeclare the sectioning commands individually to revert (decrease) the added space. This is a really long sentence as an example. Use setlength {parskip} {0pt} setlength {itemsep} {0pt plus 1pt} after egin {itemize} And for the space after the list, use vspace. 1 Answer. TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. – Michael P1. Aparently, since you are asking to decrease the skip. The following article explains. In the preamble you can still set \parskip by using "hard" lengths ( pt, mm,. 0138 inch or 0. The parskip package attempts to fix spacing issues that might arise from changes to the value of parskip —such as within table of contents and list environments. (Usually, I use aggedbottom to assure this, but in this case. 2. Share. Quoting the documentation : With the package option indent it is possible to explicitly set the paragraph indentation. the reason there is no vertical space -- or even a line break -- if you don't include par is that the vspace doesn't take effect until there is. The package can be used with any document class at any size. Unless the exact value of font size is very important, you can use the features of the caption package. Use. A negative vspace doesn't work, since parskip 's spacing can stretch. ). documentclass {article} egin {document} egin {tabular} [t] {| p {100pt. Or no parskip at all. This answer and the name of the environment suggests it should keep its contents on the same page, however it doesn't, as this MWE demonstrates: documentclass {article} usepackage {lipsum} usepackage {parskip} egin {document} lipsum [4-8] egin {samepage} foo bar end {samepage} end {document} This breaks the page between. A first example. Learn more about TeamsEnclose the section in question within a group. 1 Answer. documentclass {article} usepackage {showframe} %% just for demo setlength {parindent} {2em} egin {document} A hspace* {2em}A end {document} You can find the meaning of quad by. The commands like aselineskip, aselinestretch, linespread come in handy in controlling the interline spacing. It will give an extra empty line between the two lines. 3ex} Without natbib, you can set parskip and itemsep to zero (they are responsible for the vertical space). 2k 7 172 265. sty, rename it as myparskip. As noted by Ralf Stuber in the comments of this answer, indent: true should disable parskip. 37 % % parskip) even if the list is preceded by a blank line 38 partopsep=z@ 39 fi 5. documentclass{article}. If you allow arbitrary stretch then you can get very ragged text which can usually be improved by restricting the raggedness. setlengthparskip {0pt} in the same scope to suppress vertical skip. The other replies address vertical space between paragraphs. Advice from the parskip package: The parskip package advises that directly modifying \parskip can “result in vertical spaces in unexpected places” (within a LaTeX document). It allows full control over margins etc. Controls the amount of horizontal space inserted at the end of the last line of a paragraph. As the OP states correctly, opsep + parskip is added before and after each itemize. Although LaTeX provides a solution for that, it's better to load enumitem for even more flexibility. e-TeX provides glueexpr, which allows to add glue specifications:LaTeX & Maths: amsmath and amssymb packages. It is set in various places in LaTeX, most notably all font size commands end up executing. TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. The other replies address vertical space between paragraphs. I read that if one uses the parskip package then there is no need to add \par\bigskip to separate paragraphs; it is enough to move the new sentence to new line with Enter. The following compilable example shows (a) that both \parskip and \bigskipamount are rubber lengths by default and (b) that adding two rubber lengths produces, sure enough, another rubber length. You don't have to manually typeout the ewline command. Try this example with and without the parskip package: documentclass {report} %usepackage {parskip} usepackage {lipsum} egin {document} lipsum [2] lipsum [2] end {document} only loading the packages you actually need instead of just loading. This is the first paragraph. More detailed information, and further examples, can be found in the articles Text alignment and Paragraph formatting. For whatever reason, wrapping the itemize in a minipage will strike all the vertical spacing before and after it (including the mystical spacing that can't be removed by adjusting opsep, partopsep, and parskip ) screenshot. The parskip package Frank Mittelbach March 14, 2021 Abstract The parskip package helps in implementing paragraph layouts where the paragraphs are separated by a vertical space instead of (or in addition to) indenting them. If you look in one of these files, you'll see that parindent and parskip are both set to zero inside a minipage ( @parboxrestore is called from. documentclass[12pt]{article} usepackage[margin = 0. If you don't want any indent, anywhere in your document, add \setlength {\parindent} {0pt} in your document preamble. To incorporate this solution into a LyX paragraph style, i used the following:inputenc can be used to tell LaTeX about the input encoding of your document (the input encoding controls how characters are saved by your computer). But ok, so addvspace doesn't work but vspace does. e. For example: \\ [2in] This will put an extra 2-inch space between the two lines. Peter Grill. LaTeX Font Warning: Size substitutions with differences (Font) up to 5. 1. There is a fairly typical layout style in technical manual in which headings are numbered and left justified. A simple. To ensure you have two paragraphs, you need a blank line between both. The problem I have is that the spacing between the paragraphs are too large. It produces the following Paragraph Layout: Zero Parindent and non-zero Parskip. The latter depends on the circumstances, namely, on whether the list was or was not started. 1 Answer. As others noted, that is really isn't how LaTeX is supposed to be used. I've tried to create a new environment using minipage, which has the same vertical space between paragraphs as would be there when not using the minipage. minted internally uses the Verbatim environment from the fancyvrb package. \setlength{\parskip} {\baselineskip} A similar behavior is provided by the parskip package, zero parindent and non-zero parskip. Jan 12, 2012 at 12:15. 3. 1 Answer. In the olden days LaTeX only really supported ASCII input, then support for 8bit encodings was added via inputenc. (It also patches a few commands to avoid additional excessive space, so. After the package declaration in your preamble (after documentclass {udthesis} and before egin{document}) of your main LaTeX UDThesis file (e. Packaged on: 03/17/2021 21:11:14. Simply changing \parskip and \parindent leaves a layout that is untidy; this package (though it is no substitute for a properly-designed class) helps alleviate this untidiness. As for the spacing, you can use itlespacing from the titlesec package to change the spacing. The basic problem is that parskip gets used all over the place. Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers. Preliminary remark: If you want to change the spacing between paragraphs, use the parskip package or a KOMA-Script -classs - simply changing the parskip length may have adverse affects. 1. 24. A negative vspace doesn't work, since parskip 's. Just load the parskip package and don't change the parskip and parindent lengths manually. The space between paragraphs is controlled by parskip, you can set that length to medskipamount (the length of medskip ). the space is needed to separate the heading from the text try with the intended use paragraph {my. g. I'm having trouble creating proper paragraph presentation, and in particular my when I create paragraphs with \paragraph {}lorem ipsum LaTeX ignores the \parskip and \parindent settings. See the documentation for more details - and see the comment of egreg below. Option 2: Introduce additional vertical space: [12pt] To achieve this for every paragraph, look at the parskip package . It only takes a minute to sign up. Lamport’s book lists various parameters for the layout of list (things like opsep , itemsep and parsep ), but fails to mention that they’re set automatically within the standard (LaTeX-defined) lists. vspace is the road to ruin. Put the following code in the preamble: makeatletter def hm@space@setup {% hm@preskip=parskip hm@postskip=0pt } makeatother. Add a comment. 49f (0. 1 extwidth coerces this to a dimen, discarding any plus and minus components, so you can add a new plus component. Lengths are units of distance relative to some document elements. Is there a way to do so? Currently, if I use usepackage[indent = 20pt]{parskip}, the setting. you have extra space because you force a line break and then also break a paragraph. The package can be used with any document class at any size. egin{document} Here's a paragraph with regular indentation. Sorted by: 7. The parskip package attempts to fix spacing issues that might arise from changes to the value of parskip —such as within table of contents and list environments. The memoir package contains its own version of /parskip which over rules an separate package calls. It only takes a minute to sign up. documentclass [parskip = half+] {scrartcl} usepackage {sectsty} usepackage {lipsum} egin {document} subsection* {This subsection title should fit in a single line but. setlength {parskip} {0pt} % additional skip between paragraphs. \parskip=0pt plus 1pt \parindent=15pt. Unfortunately, when I set it back to zero points, the lines in the two columns are no longer—necessarily—level. LaTeX Error: Unknown option `skip=10ptplus1pt' for package `parskip'. We can achieve that using the parskip package. tex) you need to comment out this package by putting a % in front of it: %\usepackage{parskip} add the following lines: \setlength{\parskip}{6pt} gb4e - Linguistic tools 3. I'm working on fixing the first link. The default for the book and article classes is 12pt plus 4pt minus 4pt . Here, I take parskip. Share. In the template there is an option to include "parskip" (minimal example here) documentclass [ 11pt, % The default document font size, options: 10pt, 11pt, 12pt doublespacing, % Single line spacing, alternatives: onehalfspacing or doublespacing parskip % Uncomment to add space between paragraphs ] So I uncommented it (I can. Between every entry I wish to have the vertical spacing of one parskip like it is used in normal text (example: spacing between university and department). pdf <<Your Asymptote code here. In this post I tell you how to insert formulas. The second half of this makebox[ extwidth]{sentence should be centered. If want to go for a ready made solution for controlling line spacing, packages like setspace come in quite handy (built-in. Follow. Since 2018-08-24, parskip package has an indent option. As markdown automatically loads approximately every package but the kitchen sink, it also loads the geometry package. Add a comment. I want to disable parskip for that section only). Advice from the parskip package: The parskip package advises that directly modifying parskip can “result in vertical spaces in unexpected places” (within a LaTeX document). This is a really long sentence as an example. TeX provides a set of basic commands controlling the way a paragraphs are typeset. First, go to Options, then Configure TeXstudio from the menu. How do I add blank lines between paragraphs? It is considered bad practice to put \\ at the end of a paragraph to force extra spacing between paragraphs. In the preamble you can still set parskip by using "hard" lengths ( pt, mm,. I have found a possible solution by using captionof so it still appears in the list of listings. The float environments are figure and table. @user41063 Try some variant of this to see if it will solve your problem mentioned in comments under Answer1. 5cm, right=2cm, top=2cm] {geometry} usepackage {fontspec}setmainfont [] {Arial} and do xelatex. I have tried the setlength {parskip} {0. e. Hi hiryu! hiryu wrote: Can someone explain to me what does the option parfill in the parskip package actually do? Originally, it's 0pt plus 1fil. I have also tried aggedbottom but neither does that work. Improve this answer. Example (direct quote): <command> is the sectioning command to be redefined, i. The parskip package attempts to fix spacing issues that might arise from changes to the value of \parskip —such as within table of contents and list environments. Since many LaTeX actions are only executed at the end of a paragraph, the seeming small difference in syntax can have a profound appearance on. by raising this value, you avoid that a paragraph ends almost flush right. I have a way of making them both the same: setlength {parskip} {6pt} setlength {parindent} {parskip} But that looks a bit odd. if you want any help you should provide a full but minimal example that others can copy and test as is. Spreading lines with a factor of 1. To revert this try with. If I don't use \linespread {1. After that it is easy to control the vertical spaces between the elements. In your set-up there is a parskip before the minipage and once the minipage starts there is an abovedisplayskip at the top each set of equations. 5ex. Remove the space between each paragraphs in Latex, 1 Answer. The default settings from apa6. When I use setlength {parskip} {aselineskip} with linespread {1. parskip sometimes pagebreaks last line. 0pt plus 1. This is done to save token space ( p@ is one token, pt are two), which was important in earlier (La)TeX versions. } This is a really long sentence as an example. Advice from the parskip package: The parskip package advises that directly modifying parskip can “result in vertical spaces in unexpected places” (within a LaTeX document). I was wondering if there was a cleaner way to do it. 2. Viewed 12k times. I'm working on fixing the first link. The text then is indented about 1cm so that it appears as if there is a larger left margin, and the numbers from the headings extending into this margin. parskip – Layout with zero parindent, non-zero parskip. 3ex minus 0. The default %% spacing with this style option is single spacing. parskip: Extra vertical space inserted between paragraphs. flushright adds some extra vertical spacing ( opsep, standard value 8pt plus 2pt minus 4t, but set to 0pt by the parskip package), but this on its own is not as dramitic as what you were seeing, unless the contents are overwide. By this option, i. 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. By default, LaTeX does not leave any extra space between paragraphs, so parskip has a natural length of zero in most document classes. This is a MS Word template that I must use for my project report. The subsection title in the following document should fit in a single line. I am trying to reduce the `itemsep', `parskip' and `parsep' spacing within each instance of the `exe' and `xlist' environment. Change (remove) indentation. And. Here is a paragraph. Incidentally, overriding the parindent with your 30pt setting is a perfectly valid form of coding, though there are some who argue from a stylistic viewpoint. Barbara's answer is correct; a change to parskip will be local within the quote environment. If a different spacing is required then %% the setstretch {baselinestretch} command can be used in the %% preamble to set the baselinestretch appropriately. 9 “I want my sub-floats to be ordered by column rather than by row, how do I do that. \setlist {nosep,topsep=-\parskip} to offset that space globally. space between paragraphs is determined by parskip. TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. 7k 15 175 313. Remove them and you get: documentclass{article} ewenvironment{eparskip} {% parindent0pt setlength{parskip}{1em}% }{% par vspace{1em} } egin{document} egin{eparskip} The paragraphs in this block will have. paragraph is a 4th level section heading and should only be used in the sequence section. )Viewed 542 times. \setlength\parindent {2cm} (or whatever value you want) also most likely you will want. In the documentation of the implementation, the following formula for the spaces is given: <topskip> = opsep + partopsep + parskip <botskip> = opsep + partopsep. @egreg, I quite like how it looks with both the indentation and paragraph skip. We can achieve that using the parskip package. 1. This article explores two methods of making changes to various aspects of paragraph spacing: . e. L'espace entre les paragraphes peut être remplacé par un alinéa en début de paragraphe, ce qui permet de marquer la séparation entre ces derniers. cls. (If it is, see Old answer below. 62 chapter {Test} A number should have been here; I inserted `0'. 1. Also xaselineskip can be changed for x em or x pt. e. 2. Two lines of text, separated with an empty line --> LaTeX will start a new paragraph. 4em for both) thickness=hdimi defines the thickness of the bars (defaut value is 0. KOMA-Script aversatileLATEX2ε bundle Note: This document is a translation of the German KOMA-Script manual. Since 2018-08-24, parskip package has an indent option. parfillskip is inserted at the end of a paragraph. Follow. The standard report and article classes use the default placement [tbp]. Introduction. 1. For posterity, here is a link to the most up-to-date LaTeX default template:With LaTeX from 2018/04/01 you even do not need to load inputenc with option utf8 (but the outdated Overleaf installation still needs it). The plus 1. As you see specifying plus or minus of 0pt is harmless but. It only takes a minute to sign up. Check this. main. Improve this answer. This is useful on pages in complex documents where not every page may be. documentclass {article} usepackage {parskip} egin {document} This is a line This is also a line end {document} Which produces. \setlength{\parskip}{12pt plus 0pt minus 0pt} in LaTeX, or in this case, more simply as \setlength{\parskip}{12pt} which sets \parskip to be a flexible "glue" length with natural length 12pt and can shrink to 12pt-0pt and stretch to 12pt+0pt to pad out a page to the required height. To start a new paragraph in LATEX, you can leave a blank line in between as stated in the above example. I am using parskip package in my document to get spacing between paragraphs. If you use a different font then to set \parindent to 1 em matching that font, put \AtBeginDocument{\setlength{\parindent}{1em}} in the preamble. It is advised to add some glue-stretch that can be used if necessary (this is what plus 0. Here is a possible solution. One approach is to use a custom list; all the altered formatting including margins can span multiple pages. 3k). 27 inch, that means about 0. Size on disk: 408. Assuming you are writing an article or other simple document, just use this: \documentclass[paper=a4,parskip=full]{scrartcl} Then experiment with parksip=half or parskip=full+ and see whether your document looks better. However, LaTeX’s mode of operation is quite different to many other document-production applications you may have used, such as Microsoft Word or LibreOffice Writer: those “WYSIWYG” tools provide users with an interactive page into. The simple-minded approach to zero paragraph indentation is thus: setlength{parindent} {0pt} setlength{parskip} {aselineskip} and in the very simplest text, it’s a fine solution. With regard to the question at hand: It is also possible to change left-hand and right-hand indentation. This is a bit of a strange one, but I want to be able to base the values of parskip and parindent on the other (so I can change one and it will change both). 1 Answer. So use setlength {parindent} {2em}. You may or may not want to additionally set parindent to zero. One common style is to have no indents for paragraphs, but instead to have a ‘blank line’ between them. Im trying to format a twocolumn article document with some twocolumn spanning graphics, small tables etc. 31. Similarly, the indentation of the first line of a new paragraph is controlled by the length parindent which, by default, is 20pt for the article and book classes. There may be some friendly LaTeX users willing to create a MWE for you, but they must guess which packages, libraries, etc. Highest score (default) Date modified (newest first) Date created (oldest first) You can coerce aselineskip to be a <dimen> by multiplying it by 1 and then adding the stretch and shrink components: setlength {parskip} {1aselineskip plus 2pt minus 1pt} or use glueexpr:When writing documents in TeX/LaTeX, it is important to understand how the TeX engine “thinks”. Saves the old indent value and restores it after loading the parskip package. , and latex does not recognize it as a. And if you want to use any other size of spacing,. 5} the lines are not spreading as expected. aselineskip is a tex primitive, so it is always defined to be something (well unless someone goes letaselineskip@undefined but even then the underlying register still has a value even if it is not accessible. Chapter is pretty easy, as you see from my example. In this case you shouldn't use the parskip package, but add to the class the corresponding option. , between two paragraphs without changing parskip value like this: documentclass. For instance, with. 0pt plus 1. 2 TOCs and similar lists Within a table of contents or a list of gures we don’t want any additional vertical spacing just because the individual lines in such a list are implemented as one-line paragraphs. 7: Ordinary paragraphs. In either case, this is a two-paragraph document and quite different from. using egin{split} and end{split}) from amsmath. 2 extwidth. It moreover temporarily redefines par and everypar (which is inserted at the start of every paragraph) to reset the original values (and themselves). yes, but sometimes the fight is too much to handle. None of them seem to change the spacing between chunks of text, R-code, or R-output. Here is the. 5} the lines are not spreading as expected. For example, compare the. which means that a paragraph is marked with indentation. documentclass [12pt] {article} usepackage {parskip} usepackage {kantlipsum} usepackage {enumitem} ewcounter {question. Share. The problem is that amsthm sets hm@preskip to opsep, which is zeroed by parskip. will allow setting any line spacing. to your document preamble. wrapfig can take an optional line height argument: egin{wrapfigure}[line-height]{r}{width} where line-height is a positive. Abbreviation Value pt a point is approximately 1/72. Let's start with an example which typesets two centred paragraphs by writing them inside a center. The parskip package attempts to fix spacing issues that might arise from changes to the value of parskip —such as within table of contents and list environments. 14. Is wrong for two separate reasons. 13. If you want to remove the spacing globally for every list in your document just. To set the skip before or after a heading level use. To completely eliminate that space without changing \parskip, you can use. Mar 18, 2016 at 16:39. Emacs: Turn off indentation when doing a paragraph fill in LaTeX mode. e. setlengthparindent {2cm} (or whatever value you want) also most likely you will want. Creating your first LaTeX document; Choosing a LaTeX Compiler; Paragraphs and new lines; Bold, italics and underlining; Lists; Errors; Mathematics. Using parskip with parfill option also works in the box (and not just ``out of the box'';-). Sorted by: 3. 1. The way to set the default parskip may be the following: documentclass{beamer} %usetheme{CambridgeUS} usepackage[english]{babel} parskip=20pt egin{document} egin{frame} Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et. In the document body, don't use parskip but a blank line to separate. rivlist aggedleftitem elax. What is latex Stack Exchange? TeX – LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. tex section. parfillskip is a TeX primitive controlling the amount of space on the final line of each paragraph. ) I can create section, subsection, subsubsection and even part commands with no problem. The accepted answer is not up to date as mentioned in the comments. (If you can't figure out why I needed to see a number, look up `weird error' in the index to The TeXbook. SX. By using addtobeamertemplate you can set parskip for each block environment: It works with your minimal example. However, if you want the new lines between the. By default it produces the following paragraph layout: Zero. Option 1: Add a non-breaking space between the line terminators: \\~\\. Stack Exchange Network. but you probably would like to put this command after the opening {} so as not to indent this as well. The book by Leslie Lamport, LaTeX: a document preparation system (1994) has a figure like the one you asked for on page 113, which explains, among other things, that the vertical space at the bottom of a list is always the same as the space at the top. By default, as far as I know, there is no spacing between paragraphs in Latex (I'm using Overleaf). (These values are set before LaTeX calls ormalfont so em is derived from the default font, Computer Modern. 1 it is explained how to set a nonzero \parskip, but I'd like, first, to quote from the manual: 3. 47 kB. Advice from the parskip package: The parskip package advises that directly modifying parskip can “result in vertical spaces in unexpected places” (within a LaTeX document). ) I think 99% of LaTeX docs probably never use the \paragraph{} section command. The parskip package attempts to fix spacing issues that might arise from changes to the value of \parskip —such as within table of contents and list environments. When you want to reset your margins, you write estoregeometry. 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. 3. Advice from the parskip package: The parskip package advises that directly modifying \parskip can “result in vertical spaces in unexpected places” (within a LaTeX document). 1,063 11 11 silver badges 23 23 bronze badges. 2in1 Answer. 2. This command "AtBeginDocument {% setlength {parskip} {aselineskip plus 2pt}% }" apart from having the desired effect is ALSO creating a balnk page at the start with "2pt. You can try the following codes before egin {document}: setlength {parskip} {xaselineskip}%set space between paragraphs. For more information on the parskip package, see this Overleaf article: The parskip. To set the skip before or after a heading level use. Nov 21, 2019 at 12:34. 1 Answer 1. Seems logic –The parskip value is extra space added in between one paragraph and another, so here you're adding 1 point of space extra between paragraphs. package. My actual purpose is to set line spacing 1. 66 patchcmd tl@part@ii. You set it (with “rubber” values) using something like: setlength{parskip}{1cm plus4mm minus3mm} The defualt value of parskipis class dependent. When using the shaded style, thmtools loads the shadethm package, and wrap the theorem with the shadebox environment of the shadethm package. Here there are two options to produce the shadowed box, one using mdframed, and the other one with tcolorbox: documentclass[parskip]{scrartcl} usepackage[most. Using the option nosep will remove all vertical spacing, but it will keep the parskip before and after. Just as a note: The document classes in KOMA-script provide a class option ( parskip) for this. What I have so far is: usepackage{1. The only workaround I found is using \\ instead of a paragraph, but that feels wrong. @zyy a blank line is reported as par so if you change the definiton of par you change the definition of blank lines. captionof adds some vertical spacing above and below to prevent the caption to be to near to the figure/table. Add the command. 2. If I don't use linespread {1. What is L a T e X?.