Skip to content

Commit 0ea03f4

Browse files
committed
add coverpage-include-file
1 parent 8cd70fa commit 0ea03f4

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

example.pdf

-33 Bytes
Binary file not shown.

example.qmd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,9 @@ format:
4141
NOAA Fisheries OpenSci\
4242
Tools for Open Science\
4343
[https://github.com/nmfs-opensci](https://github.com/nmfs-opensci)\
44-
titlepage-include-file:
44+
coverpage-include-file:
4545
- tex/copyright.tex
46+
titlepage-include-file:
4647
- tex/dedication.tex
4748
coverpage: "great-wave"
4849
keep-tex: true

example.tex

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@
9595
\newcommand{\CSLRightInline}[1]{\parbox[t]{\linewidth - \csllabelwidth}{#1}\break}
9696
\newcommand{\CSLIndent}[1]{\hspace{\cslhangindent}#1}
9797

98+
% delete. this is for the example w CZ diacritics
99+
\usepackage{babel}
100+
\babelprovide[import]{czech}
98101
\makeatletter
99102
\makeatother
100103
\makeatletter
@@ -269,6 +272,9 @@
269272
\end{tikzpicture}
270273
\clearpage
271274
\restoregeometry
275+
\input{tex/copyright.tex}
276+
\clearpage
277+
272278
%%% TITLE PAGE START
273279

274280
% Set up alignment commands
@@ -444,15 +450,13 @@
444450
\restoregeometry
445451
%%% TITLE PAGE END
446452

447-
\input{tex/copyright.tex}
448-
\clearpage
449453
\input{tex/dedication.tex}
450454
\clearpage
451455
\end{titlepage}
452456
\setcounter{page}{1}
453457
\end{frontmatter}
454458

455-
%%%%% end titlepage extension code\ifdefined\Shaded\renewenvironment{Shaded}{\begin{tcolorbox}[boxrule=0pt, interior hidden, enhanced, borderline west={3pt}{0pt}{shadecolor}, breakable, frame hidden, sharp corners]}{\end{tcolorbox}}\fi
459+
%%%%% end titlepage extension code\ifdefined\Shaded\renewenvironment{Shaded}{\begin{tcolorbox}[enhanced, interior hidden, breakable, borderline west={3pt}{0pt}{shadecolor}, sharp corners, boxrule=0pt, frame hidden]}{\end{tcolorbox}}\fi
456460

457461
\renewcommand*\contentsname{Table of contents}
458462
{

0 commit comments

Comments
 (0)