inbo / INBOmd

An R package with a collection of RMarkdown styles and templates. Elaborate examples are available at https://github.com/inbo/INBOmd_examples
https://inbo.github.io/INBOmd
GNU General Public License v3.0
11 stars 2 forks source link

inbo_rapport: long subsection titles run off page #47

Closed florisvdh closed 5 years ago

florisvdh commented 5 years ago

Long subsection titles run off the page instead of wrap to a new line.

ThierryO commented 5 years ago

The problem occurs in underlined titles that contain Markdown syntax or quotes. The problem is a 'feature' of the ulem LaTeX package. There is, AFAIK, currently no solution. There are a few workarounds:

  1. Don't underline titles. This would be a solution (and not a workaround) but is it not allowed by merkenbeleid Vlaanderen :-(
  2. Use short titles
  3. Don't use offending syntax
  4. Manually add \break at the locations where you want the line to break.

I'll put a section on this in the inbomd_examples

florisvdh commented 5 years ago

Thanks for the considerations!