6

The solution for html_document output does not work for ioslides_presentation output. How can I force a title change at a specific location?

The solution for html_document output produces very strange results.

---
title: | 
  | This is an extremely long title
  | with a desired line break at a 
  | specific location
output: ioslides_presentation
---
Community
  • 1
  • 1
shadow
  • 21,823
  • 4
  • 63
  • 77

1 Answers1

10

Well, I just figured it out myself. You can add html tags to the title, e.g. <br>. This works:

---
title: This is an extremely long <br> title with a <br> desired 
  line break <br> at a specific <br> location
output: ioslides_presentation
---
shadow
  • 21,823
  • 4
  • 63
  • 77
  • I think that is a possibile duplicate of this: http://stackoverflow.com/questions/30537515/split-the-title-onto-multiple-lines/30537573#30537573 – SabDeM Jun 04 '15 at 13:20