Skip to content

Commit b9da447

Browse files
committed
used the float package to hold figure position
1 parent efc4fbe commit b9da447

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pdf/index.Rmd

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ knit: "bookdown::render_book"
66
documentclass: krantz
77
classoption:
88
- krantz2
9+
header-includes:
10+
- \usepackage{float}
911
bibliography: [references.bib]
1012
biblio-style: plainnat
1113
link-citations: yes
@@ -20,5 +22,11 @@ github-repo: UBC-DSCI/introduction-to-datascience
2022
cover-image: img/chapter_overview.jpg
2123
---
2224

25+
```{r setup-pdf, include=FALSE}
26+
knitr::opts_chunk$set(fig.pos = "H",
27+
out.extra = "")
28+
29+
```
30+
2331
```{r preface, child="preface-text.Rmd"}
2432
```

0 commit comments

Comments
 (0)