0

Using R and knitr, I want to break a title into two lines. I used to be able to do this with "\n", but this is not working now.

---
title: "DeKAF Cross Sectional Study:\nAnalysis of ptc, C4d, and DSA"

author: "L.G. Hunsicker"

date: '`r format(Sys.time(), "%d %B, %Y")`'
output: 
  pdf_document:  
  fig_width: 6
  fig_height: 4
  keep_tex:  true
---

produces:

DeKAF Cross Sectional Study Analysis of ptc, C4d, and
DSA

L.G. Hunsicker

27 August, 2017

Any idea how to split a quoted line now? Larry Hunsicker

lmo
  • 37,904
  • 9
  • 56
  • 69
Larry Hunsicker
  • 406
  • 5
  • 12

0 Answers0