Skip to content

Commit

Permalink
fix class options for scrbook
Browse files Browse the repository at this point in the history
  • Loading branch information
eeholmes committed Sep 9, 2022
1 parent 320748f commit dce952b
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 4 deletions.
Binary file modified examples/dynamic/article.pdf
Binary file not shown.
6 changes: 5 additions & 1 deletion examples/dynamic/article.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,17 @@ author:
- name: University of Washington
department: School of Aquatic and Fishery Sciences
email: [email protected]
- name: Mickaël Canouil
affiliations:
- name: Institut Pasteur de Lille
address: Lille, France
abstract: "[quarto_titlepages](https://nmfs-opensci.github.io/quarto_titlepages): GitHub repo with template partials for use with [Quarto](https://quarto.org/) for adding custom cover pages and title pages to your PDF books or articles. Documentation included for using the provided templates or modifying to create your own."
cover: images/nmfs-opensci-logo.png
editor: source
format:
pdf:
documentclass: scrbook
classoption: ["onepage", "openany"]
classoption: ["oneside", "open=any"]
number-sections: true
template-partials:
- "before-body.tex"
Expand Down
4 changes: 2 additions & 2 deletions examples/static/_titlepage.tex
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@
% Logo
%------------------------------------------------

%\vfill\vfill
%\includegraphics[width=0.2\textwidth]{placeholder.jpg}\\[1cm] % Include a department/university logo - this will require the graphicx package
\vfill\vfill
\includegraphics[width=0.2\textwidth]{logo.png}\\[1cm] %this will require the graphicx package

%----------------------------------------------------------------------------------------

Expand Down
Binary file modified examples/static/article.pdf
Binary file not shown.
3 changes: 2 additions & 1 deletion examples/static/article.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ editor: source
format:
pdf:
documentclass: scrbook
classoption: ["onepage", "openany"]
classoption: ["oneside", "open=any"]
number-sections: false
template-partials:
- "before-body.tex"
- "_titlepage.tex"
Expand Down
1 change: 1 addition & 0 deletions examples/static/in-header.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

\usepackage[utf8]{inputenc} % Required for inputting international characters
\usepackage[T1]{fontenc} % Output font encoding for international characters
\usepackage{graphicx}



Expand Down

0 comments on commit dce952b

Please sign in to comment.