At first I was using \linespread{2}
but my research told me to use the package setspace
. I did this and everything is fine however in align*
environments, my equations get double spaced also which makes it visually unappealing. I tried two options
\usepackage{setspace}
\doublespacing
%\displayskipstretch %to avoid stretching math formula
\abovedisplayshortskip=0pt
\belowdisplayshortskip=0pt
\abovedisplayskip=0pt
\belowdisplayskip=0pt
which doesn't do anything.
I then tried writing \singlespace
right before my align environment. This works however there's a very big gap between paragraph and align – see picture. (Note that this happens in the above case also). I would preferably like a single, 1.2, or 1.3 spacing in between equations and doublespace in "text mode"
edit: after viewing the pdf again, I am okay with the double space (again I would prefer single). However the whitespace between the paragraph and the align is very visually unappealing
Best Answer
For anyone in future who comes looking, and as this didn't quite fit in a comment, the spacing between the paragraph and the align can be reduced by using a
\vspace
with negative spacing after the\singlespacing
. Note that there must be a blank line between the preceding paragraph and the\singlespacing
otherwise it will make that paragraph single spaced.By using
I was able to get reasonable results.