Skip to content

Commit

Permalink
add coverpage-include-file
Browse files Browse the repository at this point in the history
  • Loading branch information
eeholmes committed Oct 22, 2022
1 parent 8cd70fa commit 0ea03f4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
Binary file modified example.pdf
Binary file not shown.
3 changes: 2 additions & 1 deletion example.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@ format:
NOAA Fisheries OpenSci\
Tools for Open Science\
[https://github.com/nmfs-opensci](https://github.com/nmfs-opensci)\
titlepage-include-file:
coverpage-include-file:
- tex/copyright.tex
titlepage-include-file:
- tex/dedication.tex
coverpage: "great-wave"
keep-tex: true
Expand Down
10 changes: 7 additions & 3 deletions example.tex
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@
\newcommand{\CSLRightInline}[1]{\parbox[t]{\linewidth - \csllabelwidth}{#1}\break}
\newcommand{\CSLIndent}[1]{\hspace{\cslhangindent}#1}

% delete. this is for the example w CZ diacritics
\usepackage{babel}
\babelprovide[import]{czech}
\makeatletter
\makeatother
\makeatletter
Expand Down Expand Up @@ -269,6 +272,9 @@
\end{tikzpicture}
\clearpage
\restoregeometry
\input{tex/copyright.tex}
\clearpage

%%% TITLE PAGE START

% Set up alignment commands
Expand Down Expand Up @@ -444,15 +450,13 @@
\restoregeometry
%%% TITLE PAGE END

\input{tex/copyright.tex}
\clearpage
\input{tex/dedication.tex}
\clearpage
\end{titlepage}
\setcounter{page}{1}
\end{frontmatter}

%%%%% 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
%%%%% 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

\renewcommand*\contentsname{Table of contents}
{
Expand Down

0 comments on commit 0ea03f4

Please sign in to comment.