commit | 87016efe3402fc0300739b1db0177757c788de5f | [log] [tgz] |
---|---|---|
author | Marc Kupietz <kupietz@ids-mannheim.de> | Fri Jun 23 20:10:55 2023 +0200 |
committer | Marc Kupietz <kupietz@ids-mannheim.de> | Fri Jun 23 20:10:55 2023 +0200 |
tree | 02d812b4c694dabcc3a31f0564bef4ad8649a14c | |
parent | 7c3742c3267e57a47b64114af99349da28c0fbf1 [diff] |
Avoid page breaks after headlines and inside figures Change-Id: Ic4a844d36538e8074a09a772a29f6818481788e0
diff --git a/inst/rmarkdown/templates/posterdown_ids/resources/template.html b/inst/rmarkdown/templates/posterdown_ids/resources/template.html index 8be4052..95bef1e 100644 --- a/inst/rmarkdown/templates/posterdown_ids/resources/template.html +++ b/inst/rmarkdown/templates/posterdown_ids/resources/template.html
@@ -303,6 +303,14 @@ } +h1, h2, h3, h4, h5 { + page-break-after: avoid; +} + +table, figure { + page-break-inside: avoid; +} + /* center align leaflet map, from https://stackoverflow.com/questions/52112119/center-leaflet-in-a-rmarkdown-document */ .html-widget {