-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update with all three output' * add in a template.qmd * Add in the extension file * Drop in the assets folder and the ref file * Add my name to the author list * rename to template-output.qmd * Adds missing assets folder * Add aagi logo to latex assets * Correct filename * fix path to resources * add resources for PDF output * fix filepath to AAGI_logo.pdf --------- Co-authored-by: Adam H. Sparks <[email protected]>
- Loading branch information
1 parent
1e493ce
commit 4ceab3d
Showing
28 changed files
with
1,914 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,145 @@ | ||
\documentclass{scrartcl} | ||
|
||
%% Configuration %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
\usepackage{lmodern} | ||
\usepackage{microtype} | ||
\usepackage[title]{appendix} | ||
\usepackage{parskip} | ||
\usepackage{amsmath} | ||
\usepackage{amssymb} | ||
\usepackage{ragged2e} | ||
|
||
% AAGI colours | ||
\usepackage[dvipsnames]{xcolor} | ||
\usepackage{graphicx} | ||
\definecolor{aagiteal}{HTML}{00808b} | ||
\definecolor{aagigreen}{HTML}{b6d438} | ||
\definecolor{aagiblack}{HTML}{414042} | ||
\definecolor{aagiblue}{HTML}{648FD2} | ||
\definecolor{pagenum}{HTML}{7F7F7F} | ||
|
||
% Colour tables + long tables | ||
\usepackage{colortbl} | ||
|
||
\usepackage{longtable} | ||
\setlength{\LTcapwidth}{\textwidth} | ||
|
||
% Figures configuration | ||
\usepackage{caption} | ||
\captionsetup{font={sf}} | ||
\setlength{\fboxsep}{0pt} | ||
|
||
% URL styling | ||
\usepackage{url} | ||
\let\harvardurl\url | ||
|
||
% Tikzpictures/PGFplots (if desired) | ||
%\usepackage{tikz} | ||
%\usepackage{pgfplots} | ||
%\pgfplotsset{compat=newest} | ||
|
||
% Listings for code (if desired) | ||
%\usepackage{inconsolata} | ||
%\usepackage{listings} | ||
%\lstset{% | ||
% basicstyle=\footnotesize\ttfamily, | ||
% keywordstyle=\footnotesize\ttfamily, | ||
% language=R} | ||
|
||
% A fancy coloured box for notes/warnings | ||
\usepackage[most]{tcolorbox} | ||
\newtcolorbox{note}[1][]{% | ||
colback=aagiteal!7, colframe=aagiteal!7, notitle, sharp corners, | ||
borderline west={2pt}{0pt}{aagiblue}, borderline east={2pt}{0pt}{aagiteal}, | ||
enhanced, breakable} | ||
|
||
% Hyperref for links/cross-referencing | ||
\def\sectionautorefname{Section} | ||
\def\subsectionautorefname{Subsection} | ||
\def\appendixautorefname{Appendix} | ||
\def\figureautorefname{Figure} | ||
\def\tableautorefname{Table} | ||
|
||
% Formating the headings | ||
\setkomafont{section}{\color{aagiteal}\huge\bfseries} | ||
\setkomafont{subsection}{\large\bfseries} | ||
\setkomafont{subsubsection}{\normalfont} | ||
\setkomafont{pageheadfoot}{\normalfont} | ||
\setkomafont{title}{\color{aagiteal}\RaggedRight\huge\bfseries} | ||
\addtokomafont{disposition}{\rmfamily} | ||
|
||
% Header and footer | ||
\usepackage[automark]{scrlayer-scrpage} | ||
\clearpairofpagestyles | ||
\ohead{\includegraphics[width=1.8cm, height=0.94cm]{AAGI_logo.pdf}} | ||
\cfoot{\includegraphics{Partners.pdf}\\ | ||
\begin{FlushRight} | ||
\textbf{\pagemark} \textbf{|} \textcolor{pagenum}{Page} | ||
\end{FlushRight} | ||
} | ||
|
||
\newpairofpagestyles[scrheadings]{Title_page}{ | ||
\clearpairofpagestyles | ||
\cfoot{\includegraphics[width=\linewidth]{Partners.pdf}} | ||
} | ||
|
||
%Set the font | ||
\usepackage{fontspec} | ||
\setmainfont{Proxima Nova} | ||
|
||
|
||
%TOC entry formating | ||
\RedeclareSectionCommand[toclinefill=\TOCLineLeaderFill]{section} | ||
\setcounter{secnumdepth}{0} | ||
|
||
$pandoc.tex()$ | ||
|
||
\begin{document} | ||
|
||
\begin{titlepage} | ||
|
||
\thispagestyle{Title_page} | ||
|
||
\vspace*{-2cm} | ||
|
||
\begin{center} | ||
\includegraphics[height=3cm]{AAGI_logo.pdf} | ||
\end{center} | ||
|
||
\vfill | ||
|
||
\rule{\textwidth}{0.5pt} | ||
|
||
\begin{FlushRight} | ||
|
||
\huge | ||
\textcolor{aagiteal}{\textbf{$title$}}\\[6mm] | ||
|
||
\large | ||
{\textbf{$subtitle$}}\\[5mm] | ||
\vspace{2mm} | ||
|
||
\normalsize | ||
\textbf{$for(author)$ | ||
$author$ | ||
$sep$ \\[8mm] | ||
$endfor$}\\[8mm] | ||
|
||
\today | ||
\end{FlushRight} | ||
|
||
\rule{\textwidth}{0.5pt} | ||
|
||
\vfill | ||
|
||
\end{titlepage} | ||
|
||
\newpage | ||
|
||
\tableofcontents | ||
|
||
\newpage | ||
|
||
$body$ | ||
|
||
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
title: AAGIQuarto | ||
author: Adam H. Sparks | ||
version: 1.0.0 | ||
quarto-required: ">=1.4.0" | ||
contributes: | ||
formats: | ||
revealjs: | ||
theme: [default, aagi.scss] | ||
date-format: long | ||
slide-number: true | ||
footer: " " | ||
logo: aagi-logo.svg | ||
title-slide-attributes: | ||
data-background-image: title-slide-main.png | ||
data-background-size: 1050px auto | ||
data-background-position: 50% 85% | ||
highlight-style: breeze |
0
_extensions/aagi/aagi-logo.svg → _extensions/aagi/Revealjs/aagi-logo.svg
100755 → 100644
File renamed without changes
File renamed without changes.
File renamed without changes
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,34 @@ | ||
title: AAGIQuarto | ||
author: Adam H. Sparks | ||
author: Adam H. Sparks and Vinh Thiem Ma | ||
version: 1.0.0 | ||
quarto-required: ">=1.4.0" | ||
contributes: | ||
formats: | ||
revealjs: | ||
theme: [default, aagi.scss] | ||
theme: [default, Revealjs/aagi.scss] | ||
date-format: long | ||
slide-number: true | ||
footer: " " | ||
logo: aagi-logo.svg | ||
title-slide-attributes: | ||
data-background-image: title-slide-main.png | ||
logo: Revealjs/aagi-logo.svg | ||
title-slide-attributes: | ||
data-background-image: Revealjs/title-slide-main.png | ||
data-background-size: 1050px auto | ||
data-background-position: 50% 85% | ||
highlight-style: breeze | ||
pdf: | ||
template: pdf/AAGI_template.tex | ||
format-resources: | ||
- assets/AAGI_logo.pdf | ||
- assets/Partners.pdf | ||
pdf-enginge: xelatex | ||
fig-width: 7 | ||
fig-height: 7 | ||
fontsize: 11pt | ||
geometry: | ||
- top=2.54cm | ||
- bottom=3cm | ||
- right=1.91cm | ||
- includefoot | ||
linkcolor: aagiblue | ||
docx: | ||
reference-doc: Word/AAGI_Word_Style_Template.docx |
Oops, something went wrong.