aboutsummaryrefslogtreecommitdiff
path: root/structure/book
diff options
context:
space:
mode:
Diffstat (limited to 'structure/book')
-rw-r--r--structure/book/en/00-preamble.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/structure/book/en/00-preamble.md b/structure/book/en/00-preamble.md
index 8746e47..4c15c09 100644
--- a/structure/book/en/00-preamble.md
+++ b/structure/book/en/00-preamble.md
@@ -59,5 +59,8 @@ if (knitr::is_html_output()) {
```{r echo=FALSE, results='asis'}
if (knitr::is_latex_output()) {
# Your code here
+ # By default, it outputs nothing.
+ # An empty code block would return the string 'NULL' to LaTeX, which would then be printed.
+ cat('')
}
```