Improve spacing between table and footer
At present there is quite a small gap between the table and a footer in LaTeX table. Superscript asterisk for example overlaps the table bottomrule. This fixes the issue.
diff --git a/R/footnote.R b/R/footnote.R
index 01f0c57..59478c3 100644
--- a/R/footnote.R
+++ b/R/footnote.R
@@ -339,11 +339,11 @@
}
if (!ft_chunk) {
footnote_text <- paste0(
- '\\\\multicolumn{', ncol, '}{l}{', footnote_text, '}\\\\\\\\'
+ '\\\\multicolumn{', ncol, '}{l}{\\\\rule{0pt}{1em}', footnote_text, '}\\\\\\\\'
)
} else {
footnote_text <- paste0(
- '\\\\multicolumn{', ncol, '}{l}{',
+ '\\\\multicolumn{', ncol, '}{l}{\\\\rule{0pt}{1em}',
paste0(footnote_text, collapse = " "),
'}\\\\\\\\'
)