Skip to content

Commit 8cd70fa

Browse files
committed
add the coverpage-include-file
#20
1 parent c4b2beb commit 8cd70fa

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

documentation/06-static-files.qmd

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,25 @@ format:
4848
- your_titlepage.tex
4949
```
5050

51-
## Copyright and dedication pages
51+
## Copyright, dedication and other static pages
5252

53-
You can include these as raw tex files. They appear after the title page. The [quarto_titlepages repository](https://github.com/nmfs-opensci/quarto_titlepages) has examples of these pages in the `tex` folder. You can include as many raw tex files for your frontmatter as you need.
53+
You can include the dynamically created title page and cover page along with static pages. In this case the static pages appear after the title page or after the cover page. The [quarto_titlepages repository](https://github.com/nmfs-opensci/quarto_titlepages) has examples of these pages in the `tex` folder. You can include as many raw tex files for your frontmatter as you need.
5454

55+
Here a copyright page appears after the cover page and the dedication and a picture appear after the title page.
5556
```
56-
titlepage-include-file:
57+
format:
58+
titlepage-pdf:
59+
documentclass: scrbook
60+
classoption: ["oneside", "open=any"]
61+
number-sections: true
62+
titlepage: "vline"
63+
coverpage: "otter"
64+
coverpage-include-file:
5765
- tex/copyright.tex
66+
titlepage-include-file:
5867
- tex/dedication.tex
68+
- tex/prettypicture.tex
5969
```
6070

61-
A `\clearpage` command is issued after each tex file is input. To prevent page numbers, use `\thispagestyle{empty}` in the tex file.
71+
A `\clearpage` command is issued after each tex file is input. To prevent page numbers, use `\thispagestyle{empty}` in the static tex files.
6272

0 commit comments

Comments
 (0)