Change line spacing for RMD abstract?
问题 Is it possible to change the line spacing for the abstract specified in my YAML header to single space, while leaving the rest of the document in double space? My YAML is below: output: pdf_document number_sections: true title: | | My Title author: - Me header-includes: - \usepackage{setspace}\doublespacing - \usepackage{float} abstract: "My abstract" keywords: "My keywords" date: "`r format(Sys.time(), '%B %d, %Y')`" geometry: margin=1in fontsize: 12pt spacing: double fig_caption: yes indent