title: Decrease vertical space between align environment and text content in RMarkdown
body: <p>I am writing rmarkdown pdf documents with equations (using mac, knitr, pdf-latex). The problem I have is that rmarkdown is automatically creating a large blank gap of 2-3 lines between the preceding text and the equation. How do I get rid of this gap?</p>
  
  <p>Sample rmarkdown doc below.</p>
  
  <pre><code>---
  title: "No More Gaps"
  author: "Llew Mills"
  date: "16th of September 2016"
  output: pdf_document
  header-includes:
  - \setlength{\mathindent}{0pt}
  linestretch: 1.3
  toc: yes
  classoption: fleqn
  ---
  
  Some text to illustrate the gap. I still want there to be a decent line spacing between lines of text, but I would like a much smaller gap between the equations and the preceding text.
  \begingroup\Large
  \begin{align*}
  Y_{ij} &amp;= \pi_{0i} + \pi_{1i}TIME_{ij} + \pi_{2i}(0) + \varepsilon_{ij}\\
  &amp;= \pi_{0i} + \pi_{1i}TIME_{ij} + \varepsilon_{ij}
  \end{align*}
  \endgroup
  
  Can anyone help with this problem?
  </code></pre>