diff --git a/LICENSE b/LICENSE
deleted file mode 100644
index c2bab37..0000000
--- a/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-MIT License
-
-Copyright (c) 2022 quarto-journals
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
diff --git a/README.md b/README.md
index 810401e..ff4e041 100644
--- a/README.md
+++ b/README.md
@@ -1,53 +1,17 @@
-# Article Format Template (AFT)
+# tpcquarto: html factsheet template
-
-> Template for creating a new journal article format for Quarto.
->
-> This repository is a [Github Repository Template](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template) that you should use as a starter to create a new extension format. Click on the "Use this template" button at the top !
->
-> See information about how-to use this repo template inside the template file or its rendered version at
+This repo is forked from [quarto-journals/article-format-template](https://github.com/quarto-journals/article-format-template)
-
+In its current iteration this only supports an html version of a TPC factsheet. To create a PDF, open the HTML file in your browser and "print" to PDF.
-This is a Quarto template that assists you in creating a manuscript for Article Format Template journals. You can learn more about ...
+In order to use this template, run the following in your terminal
-## Creating a New Article
-
-You can use this as a template to create an article for an AFT journal. To do this, use the following command:
-
-```bash
-quarto use template quarto-journals/article-format-template
```
-
-This will install the extension and create an example qmd file and bibiography that you can use as a starting place for your article.
-
-## Installation For Existing Document
-
-You may also use this format with an existing Quarto project or document. From the quarto project or document directory, run the following command to install this format:
-
-```bash
-quarto add quarto-journals/article-format-template
+quarto add nikhitaairi/tpcquarto
```
-## Usage
-
-To use the format, you can use the format names `aft-pdf` and `aft-html`. For example:
-
-```bash
-quarto render article.qmd --to aft-pdf
+Then in the heading of your qmd file, set your format accordingly:
```
-
-or in your document yaml
-
-```yaml
format:
- pdf: default
- aft-pdf:
- keep-tex: true
-```
-
-You can view a preview of the rendered template at .
-
-## Format Options
-
-This format does not have specific format option. Include documentation of such option otherwise. See for an example.
+ tpc-html: default
+```
\ No newline at end of file
diff --git a/_extensions/aft/_extension.yml b/_extensions/aft/_extension.yml
deleted file mode 100644
index 67c767a..0000000
--- a/_extensions/aft/_extension.yml
+++ /dev/null
@@ -1,48 +0,0 @@
-title: Article Format Template
-author: Christophe Dervieux
-version: 0.2.0
-quarto-required: ">= 1.7.24"
-contributes:
- formats:
- common:
- # define below YAML configuration common to all formats
- filters:
- # You can include here Lua filters from your extension format
- - color-text.lua
- shortcodes:
- # You can include here Lua filters defining shortcodes from your extension
- - shortcodes.lua
- knitr:
- opts_chunk:
- echo: false
- pdf:
- # define default configuration for the pdf version of your format
- documentclass: aft
- colorlinks: true
- urlcolor: red
- fig-width: 6.5
- fig-height: 4.5
- # This format use a bst file with natbib
- biblio-style: te
- cite-method: natbib
- # Set this below (`biblio-config: false`) if your cls already load a bst file
- # biblio-config: false
- # Content to add in header that your format is using
- header-includes: |
- \usepackage{orcidlink}
- \definecolor{mypink}{RGB}{219, 48, 122}
- template-partials:
- # Add here the partials your format is using
- - "partials/title.tex"
- - "partials/_authors.tex"
- format-resources:
- # Add here the resources required for the PDF rendering
- - aft.cls
- - te.bst
- html:
- # define default configuration for the html version of your format
- number-sections: true
- toc: true
- theme: custom.scss
- # Use a CSL file to style (https://www.zotero.org/styles/)
- csl: https://www.zotero.org/styles/journal-of-institutional-and-theoretical-economics
diff --git a/_extensions/aft/aft.cls b/_extensions/aft/aft.cls
deleted file mode 100644
index d3c6498..0000000
--- a/_extensions/aft/aft.cls
+++ /dev/null
@@ -1,644 +0,0 @@
-%%
-%% This is file `article.cls',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% classes.dtx (with options: `article')
-%%
-%% This is a generated file.
-%%
-%% The source is maintained by the LaTeX Project team and bug
-%% reports for it can be opened at https://latex-project.org/bugs.html
-%% (but please observe conditions on bug reports sent to that address!)
-%%
-%%
-%% Copyright (C) 1993-2022
-%% The LaTeX Project and any individual authors listed elsewhere
-%% in this file.
-%%
-%% This file was generated from file(s) of the LaTeX base system.
-%% --------------------------------------------------------------
-%%
-%% It may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, either version 1.3c
-%% of this license or (at your option) any later version.
-%% The latest version of this license is in
-%% https://www.latex-project.org/lppl.txt
-%% and version 1.3c or later is part of all distributions of LaTeX
-%% version 2008 or later.
-%%
-%% This file has the LPPL maintenance status "maintained".
-%%
-%% This file may only be distributed together with a copy of the LaTeX
-%% base system. You may however distribute the LaTeX base system without
-%% such generated files.
-%%
-%% The list of all files belonging to the LaTeX base distribution is
-%% given in the file `manifest.txt'. See also `legal.txt' for additional
-%% information.
-%%
-%% The list of derived (unpacked) files belonging to the distribution
-%% and covered by LPPL is defined by the unpacking scripts (with
-%% extension .ins) which are part of the distribution.
-\NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesClass{article}
- [2021/10/04 v1.4n
- Standard LaTeX document class]
-\newcommand\@ptsize{}
-\newif\if@restonecol
-\newif\if@titlepage
-\@titlepagefalse
-\if@compatibility\else
- \DeclareOption{a4paper}
- {\setlength\paperheight {297mm}%
- \setlength\paperwidth {210mm}}
- \DeclareOption{a5paper}
- {\setlength\paperheight {210mm}%
- \setlength\paperwidth {148mm}}
- \DeclareOption{b5paper}
- {\setlength\paperheight {250mm}%
- \setlength\paperwidth {176mm}}
- \DeclareOption{letterpaper}
- {\setlength\paperheight {11in}%
- \setlength\paperwidth {8.5in}}
- \DeclareOption{legalpaper}
- {\setlength\paperheight {14in}%
- \setlength\paperwidth {8.5in}}
- \DeclareOption{executivepaper}
- {\setlength\paperheight {10.5in}%
- \setlength\paperwidth {7.25in}}
- \DeclareOption{landscape}
- {\setlength\@tempdima {\paperheight}%
- \setlength\paperheight {\paperwidth}%
- \setlength\paperwidth {\@tempdima}}
-\fi
-\if@compatibility
- \renewcommand\@ptsize{0}
-\else
- \DeclareOption{10pt}{\renewcommand\@ptsize{0}}
-\fi
-\DeclareOption{11pt}{\renewcommand\@ptsize{1}}
-\DeclareOption{12pt}{\renewcommand\@ptsize{2}}
-\if@compatibility\else
- \DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse}
-\fi
-\DeclareOption{twoside}{\@twosidetrue \@mparswitchtrue}
-\DeclareOption{draft}{\setlength\overfullrule{5pt}}
-\if@compatibility\else
- \DeclareOption{final}{\setlength\overfullrule{0pt}}
-\fi
-\DeclareOption{titlepage}{\@titlepagetrue}
-\if@compatibility\else
- \DeclareOption{notitlepage}{\@titlepagefalse}
-\fi
-\if@compatibility\else
- \DeclareOption{onecolumn}{\@twocolumnfalse}
-\fi
-\DeclareOption{twocolumn}{\@twocolumntrue}
-\DeclareOption{leqno}{\input{leqno.clo}}
-\DeclareOption{fleqn}{\input{fleqn.clo}}
-\DeclareOption{openbib}{%
- \AtEndOfPackage{%
- \renewcommand\@openbib@code{%
- \advance\leftmargin\bibindent
- \itemindent -\bibindent
- \listparindent \itemindent
- \parsep \z@
- }%
- \renewcommand\newblock{\par}}%
-}
-\ExecuteOptions{letterpaper,10pt,oneside,onecolumn,final}
-\ProcessOptions
-\input{size1\@ptsize.clo}
-\setlength\lineskip{1\p@}
-\setlength\normallineskip{1\p@}
-\renewcommand\baselinestretch{}
-\setlength\parskip{0\p@ \@plus \p@}
-\@lowpenalty 51
-\@medpenalty 151
-\@highpenalty 301
-\setcounter{topnumber}{2}
-\renewcommand\topfraction{.7}
-\setcounter{bottomnumber}{1}
-\renewcommand\bottomfraction{.3}
-\setcounter{totalnumber}{3}
-\renewcommand\textfraction{.2}
-\renewcommand\floatpagefraction{.5}
-\setcounter{dbltopnumber}{2}
-\renewcommand\dbltopfraction{.7}
-\renewcommand\dblfloatpagefraction{.5}
-\if@twoside
- \def\ps@headings{%
- \let\@oddfoot\@empty\let\@evenfoot\@empty
- \def\@evenhead{\thepage\hfil\slshape\leftmark}%
- \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
- \let\@mkboth\markboth
- \def\sectionmark##1{%
- \markboth {\MakeUppercase{%
- \ifnum \c@secnumdepth >\z@
- \thesection\quad
- \fi
- ##1}}{}}%
- \def\subsectionmark##1{%
- \markright {%
- \ifnum \c@secnumdepth >\@ne
- \thesubsection\quad
- \fi
- ##1}}}
-\else
- \def\ps@headings{%
- \let\@oddfoot\@empty
- \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
- \let\@mkboth\markboth
- \def\sectionmark##1{%
- \markright {\MakeUppercase{%
- \ifnum \c@secnumdepth >\m@ne
- \thesection\quad
- \fi
- ##1}}}}
-\fi
-\def\ps@myheadings{%
- \let\@oddfoot\@empty\let\@evenfoot\@empty
- \def\@evenhead{\thepage\hfil\slshape\leftmark}%
- \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
- \let\@mkboth\@gobbletwo
- \let\sectionmark\@gobble
- \let\subsectionmark\@gobble
- }
-\if@titlepage
- \newcommand\maketitle{\begin{titlepage}%
- \let\footnotesize\small
- \let\footnoterule\relax
- \let \footnote \thanks
- \null\vfil
- \vskip 60\p@
- \begin{center}%
- {\LARGE \@title \par}%
- \vskip 3em%
- {\large
- \lineskip .75em%
- \begin{tabular}[t]{c}%
- \@author
- \end{tabular}\par}%
- \vskip 1.5em%
- {\large \@date \par}% % Set date in \large size.
- \end{center}\par
- \@thanks
- \vfil\null
- \end{titlepage}%
- \setcounter{footnote}{0}%
- \global\let\thanks\relax
- \global\let\maketitle\relax
- \global\let\@thanks\@empty
- \global\let\@author\@empty
- \global\let\@date\@empty
- \global\let\@title\@empty
- \global\let\title\relax
- \global\let\author\relax
- \global\let\date\relax
- \global\let\and\relax
- }
-\else
- \newcommand\maketitle{\par
- \begingroup
- \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
- \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
- \long\def\@makefntext##1{\parindent 1em\noindent
- \hb@xt@1.8em{%
- \hss\@textsuperscript{\normalfont\@thefnmark}}##1}%
- \if@twocolumn
- \ifnum \col@number=\@ne
- \@maketitle
- \else
- \twocolumn[\@maketitle]%
- \fi
- \else
- \newpage
- \global\@topnum\z@ % Prevents figures from going at top of page.
- \@maketitle
- \fi
- \thispagestyle{plain}\@thanks
- \endgroup
- \setcounter{footnote}{0}%
- \global\let\thanks\relax
- \global\let\maketitle\relax
- \global\let\@maketitle\relax
- \global\let\@thanks\@empty
- \global\let\@author\@empty
- \global\let\@date\@empty
- \global\let\@title\@empty
- \global\let\title\relax
- \global\let\author\relax
- \global\let\date\relax
- \global\let\and\relax
- }
-\def\@maketitle{%
- \newpage
- \null
- \vskip 2em%
- \begin{center}%
- \let \footnote \thanks
- {\LARGE \@title \par}%
- \vskip 1.5em%
- {\large
- \lineskip .5em%
- \begin{tabular}[t]{c}%
- \@author
- \end{tabular}\par}%
- \vskip 1em%
- {\large \@date}%
- \end{center}%
- \par
- \vskip 1.5em}
-\fi
-\setcounter{secnumdepth}{3}
-\newcounter {part}
-\newcounter {section}
-\newcounter {subsection}[section]
-\newcounter {subsubsection}[subsection]
-\newcounter {paragraph}[subsubsection]
-\newcounter {subparagraph}[paragraph]
-\renewcommand \thepart {\@Roman\c@part}
-\renewcommand \thesection {\@arabic\c@section}
-\renewcommand\thesubsection {\thesection.\@arabic\c@subsection}
-\renewcommand\thesubsubsection{\thesubsection.\@arabic\c@subsubsection}
-\renewcommand\theparagraph {\thesubsubsection.\@arabic\c@paragraph}
-\renewcommand\thesubparagraph {\theparagraph.\@arabic\c@subparagraph}
-\newcommand\part{%
- \if@noskipsec \leavevmode \fi
- \par
- \addvspace{4ex}%
- \@afterindentfalse
- \secdef\@part\@spart}
-
-\def\@part[#1]#2{%
- \ifnum \c@secnumdepth >\m@ne
- \refstepcounter{part}%
- \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}%
- \else
- \addcontentsline{toc}{part}{#1}%
- \fi
- {\parindent \z@ \raggedright
- \interlinepenalty \@M
- \normalfont
- \ifnum \c@secnumdepth >\m@ne
- \Large\bfseries \partname\nobreakspace\thepart
- \par\nobreak
- \fi
- \huge \bfseries #2%
- \markboth{}{}\par}%
- \nobreak
- \vskip 3ex
- \@afterheading}
-\def\@spart#1{%
- {\parindent \z@ \raggedright
- \interlinepenalty \@M
- \normalfont
- \huge \bfseries #1\par}%
- \nobreak
- \vskip 3ex
- \@afterheading}
-\newcommand\section{\@startsection {section}{1}{\z@}%
- {-3.5ex \@plus -1ex \@minus -.2ex}%
- {2.3ex \@plus.2ex}%
- {\normalfont\Large\bfseries}}
-\newcommand\subsection{\@startsection{subsection}{2}{\z@}%
- {-3.25ex\@plus -1ex \@minus -.2ex}%
- {1.5ex \@plus .2ex}%
- {\normalfont\large\bfseries}}
-\newcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
- {-3.25ex\@plus -1ex \@minus -.2ex}%
- {1.5ex \@plus .2ex}%
- {\normalfont\normalsize\bfseries}}
-\newcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
- {3.25ex \@plus1ex \@minus.2ex}%
- {-1em}%
- {\normalfont\normalsize\bfseries}}
-\newcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
- {3.25ex \@plus1ex \@minus .2ex}%
- {-1em}%
- {\normalfont\normalsize\bfseries}}
-\if@twocolumn
- \setlength\leftmargini {2em}
-\else
- \setlength\leftmargini {2.5em}
-\fi
-\leftmargin \leftmargini
-\setlength\leftmarginii {2.2em}
-\setlength\leftmarginiii {1.87em}
-\setlength\leftmarginiv {1.7em}
-\if@twocolumn
- \setlength\leftmarginv {.5em}
- \setlength\leftmarginvi {.5em}
-\else
- \setlength\leftmarginv {1em}
- \setlength\leftmarginvi {1em}
-\fi
-\setlength \labelsep {.5em}
-\setlength \labelwidth{\leftmargini}
-\addtolength\labelwidth{-\labelsep}
-\@beginparpenalty -\@lowpenalty
-\@endparpenalty -\@lowpenalty
-\@itempenalty -\@lowpenalty
-\renewcommand\theenumi{\@arabic\c@enumi}
-\renewcommand\theenumii{\@alph\c@enumii}
-\renewcommand\theenumiii{\@roman\c@enumiii}
-\renewcommand\theenumiv{\@Alph\c@enumiv}
-\newcommand\labelenumi{\theenumi.}
-\newcommand\labelenumii{(\theenumii)}
-\newcommand\labelenumiii{\theenumiii.}
-\newcommand\labelenumiv{\theenumiv.}
-\renewcommand\p@enumii{\theenumi}
-\renewcommand\p@enumiii{\theenumi(\theenumii)}
-\renewcommand\p@enumiv{\p@enumiii\theenumiii}
-\newcommand\labelitemi {\labelitemfont \textbullet}
-\newcommand\labelitemii {\labelitemfont \bfseries \textendash}
-\newcommand\labelitemiii{\labelitemfont \textasteriskcentered}
-\newcommand\labelitemiv {\labelitemfont \textperiodcentered}
-\newcommand\labelitemfont{\normalfont}
-\newenvironment{description}
- {\list{}{\labelwidth\z@ \itemindent-\leftmargin
- \let\makelabel\descriptionlabel}}
- {\endlist}
-\newcommand*\descriptionlabel[1]{\hspace\labelsep
- \normalfont\bfseries #1}
-\if@titlepage
- \newenvironment{abstract}{%
- \titlepage
- \null\vfil
- \@beginparpenalty\@lowpenalty
- \begin{center}%
- \bfseries \abstractname
- \@endparpenalty\@M
- \end{center}}%
- {\par\vfil\null\endtitlepage}
-\else
- \newenvironment{abstract}{%
- \if@twocolumn
- \section*{\abstractname}%
- \else
- \small
- \begin{center}%
- {\bfseries \abstractname\vspace{-.5em}\vspace{\z@}}%
- \end{center}%
- \quotation
- \fi}
- {\if@twocolumn\else\endquotation\fi}
-\fi
-\newenvironment{verse}
- {\let\\\@centercr
- \list{}{\itemsep \z@
- \itemindent -1.5em%
- \listparindent\itemindent
- \rightmargin \leftmargin
- \advance\leftmargin 1.5em}%
- \item\relax}
- {\endlist}
-\newenvironment{quotation}
- {\list{}{\listparindent 1.5em%
- \itemindent \listparindent
- \rightmargin \leftmargin
- \parsep \z@ \@plus\p@}%
- \item\relax}
- {\endlist}
-\newenvironment{quote}
- {\list{}{\rightmargin\leftmargin}%
- \item\relax}
- {\endlist}
-\if@compatibility
- \newenvironment{titlepage}
- {%
- \if@twocolumn
- \@restonecoltrue\onecolumn
- \else
- \@restonecolfalse\newpage
- \fi
- \thispagestyle{empty}%
- \setcounter{page}\z@
- }%
- {\if@restonecol\twocolumn \else \newpage \fi
- }
-\else
- \newenvironment{titlepage}
- {%
- \if@twocolumn
- \@restonecoltrue\onecolumn
- \else
- \@restonecolfalse\newpage
- \fi
- \thispagestyle{empty}%
- \setcounter{page}\@ne
- }%
- {\if@restonecol\twocolumn \else \newpage \fi
- \if@twoside\else
- \setcounter{page}\@ne
- \fi
- }
-\fi
-\newcommand\appendix{\par
- \setcounter{section}{0}%
- \setcounter{subsection}{0}%
- \gdef\thesection{\@Alph\c@section}}
-\setlength\arraycolsep{5\p@}
-\setlength\tabcolsep{6\p@}
-\setlength\arrayrulewidth{.4\p@}
-\setlength\doublerulesep{2\p@}
-\setlength\tabbingsep{\labelsep}
-\skip\@mpfootins = \skip\footins
-\setlength\fboxsep{3\p@}
-\setlength\fboxrule{.4\p@}
-\renewcommand \theequation {\@arabic\c@equation}
-\newcounter{figure}
-\renewcommand \thefigure {\@arabic\c@figure}
-\def\fps@figure{tbp}
-\def\ftype@figure{1}
-\def\ext@figure{lof}
-\def\fnum@figure{\figurename\nobreakspace\thefigure}
-\newenvironment{figure}
- {\@float{figure}}
- {\end@float}
-\newenvironment{figure*}
- {\@dblfloat{figure}}
- {\end@dblfloat}
-\newcounter{table}
-\renewcommand\thetable{\@arabic\c@table}
-\def\fps@table{tbp}
-\def\ftype@table{2}
-\def\ext@table{lot}
-\def\fnum@table{\tablename\nobreakspace\thetable}
-\newenvironment{table}
- {\@float{table}}
- {\end@float}
-\newenvironment{table*}
- {\@dblfloat{table}}
- {\end@dblfloat}
-\newlength\abovecaptionskip
-\newlength\belowcaptionskip
-\setlength\abovecaptionskip{10\p@}
-\setlength\belowcaptionskip{0\p@}
-\long\def\@makecaption#1#2{%
- \vskip\abovecaptionskip
- \sbox\@tempboxa{#1: #2}%
- \ifdim \wd\@tempboxa >\hsize
- #1: #2\par
- \else
- \global \@minipagefalse
- \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
- \fi
- \vskip\belowcaptionskip}
-\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
-\DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
-\DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
-\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
-\DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
-\DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
-\DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
-\DeclareRobustCommand*\cal{\@fontswitch\relax\mathcal}
-\DeclareRobustCommand*\mit{\@fontswitch\relax\mathnormal}
-\newcommand\@pnumwidth{1.55em}
-\newcommand\@tocrmarg{2.55em}
-\newcommand\@dotsep{4.5}
-\setcounter{tocdepth}{3}
-\newcommand\tableofcontents{%
- \section*{\contentsname
- \@mkboth{%
- \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}%
- \@starttoc{toc}%
- }
-\newcommand*\l@part[2]{%
- \ifnum \c@tocdepth >-2\relax
- \addpenalty\@secpenalty
- \addvspace{2.25em \@plus\p@}%
- \setlength\@tempdima{3em}%
- \begingroup
- \parindent \z@ \rightskip \@pnumwidth
- \parfillskip -\@pnumwidth
- {\leavevmode
- \large \bfseries #1\hfil
- \hb@xt@\@pnumwidth{\hss #2%
- \kern-\p@\kern\p@}}\par
- \nobreak
- \if@compatibility
- \global\@nobreaktrue
- \everypar{\global\@nobreakfalse\everypar{}}%
- \fi
- \endgroup
- \fi}
-\newcommand*\l@section[2]{%
- \ifnum \c@tocdepth >\z@
- \addpenalty\@secpenalty
- \addvspace{1.0em \@plus\p@}%
- \setlength\@tempdima{1.5em}%
- \begingroup
- \parindent \z@ \rightskip \@pnumwidth
- \parfillskip -\@pnumwidth
- \leavevmode \bfseries
- \advance\leftskip\@tempdima
- \hskip -\leftskip
- #1\nobreak\hfil
- \nobreak\hb@xt@\@pnumwidth{\hss #2%
- \kern-\p@\kern\p@}\par
- \endgroup
- \fi}
-\newcommand*\l@subsection{\@dottedtocline{2}{1.5em}{2.3em}}
-\newcommand*\l@subsubsection{\@dottedtocline{3}{3.8em}{3.2em}}
-\newcommand*\l@paragraph{\@dottedtocline{4}{7.0em}{4.1em}}
-\newcommand*\l@subparagraph{\@dottedtocline{5}{10em}{5em}}
-\newcommand\listoffigures{%
- \section*{\listfigurename}%
- \@mkboth{\MakeUppercase\listfigurename}%
- {\MakeUppercase\listfigurename}%
- \@starttoc{lof}%
- }
-\newcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
-\newcommand\listoftables{%
- \section*{\listtablename}%
- \@mkboth{%
- \MakeUppercase\listtablename}%
- {\MakeUppercase\listtablename}%
- \@starttoc{lot}%
- }
-\let\l@table\l@figure
-\newdimen\bibindent
-\setlength\bibindent{1.5em}
-\newenvironment{thebibliography}[1]
- {\section*{\refname}%
- \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}%
- \list{\@biblabel{\@arabic\c@enumiv}}%
- {\settowidth\labelwidth{\@biblabel{#1}}%
- \leftmargin\labelwidth
- \advance\leftmargin\labelsep
- \@openbib@code
- \usecounter{enumiv}%
- \let\p@enumiv\@empty
- \renewcommand\theenumiv{\@arabic\c@enumiv}}%
- \sloppy
- \clubpenalty4000
- \@clubpenalty \clubpenalty
- \widowpenalty4000%
- \sfcode`\.\@m}
- {\def\@noitemerr
- {\@latex@warning{Empty `thebibliography' environment}}%
- \endlist}
-\newcommand\newblock{\hskip .11em\@plus.33em\@minus.07em}
-\let\@openbib@code\@empty
-\newenvironment{theindex}
- {\if@twocolumn
- \@restonecolfalse
- \else
- \@restonecoltrue
- \fi
- \twocolumn[\section*{\indexname}]%
- \@mkboth{\MakeUppercase\indexname}%
- {\MakeUppercase\indexname}%
- \thispagestyle{plain}\parindent\z@
- \parskip\z@ \@plus .3\p@\relax
- \columnseprule \z@
- \columnsep 35\p@
- \let\item\@idxitem}
- {\if@restonecol\onecolumn\else\clearpage\fi}
-\newcommand\@idxitem{\par\hangindent 40\p@}
-\newcommand\subitem{\@idxitem \hspace*{20\p@}}
-\newcommand\subsubitem{\@idxitem \hspace*{30\p@}}
-\newcommand\indexspace{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
-\renewcommand\footnoterule{%
- \kern-3\p@
- \hrule\@width.4\columnwidth
- \kern2.6\p@}
-\newcommand\@makefntext[1]{%
- \parindent 1em%
- \noindent
- \hb@xt@1.8em{\hss\@makefnmark}#1}
-\newcommand\contentsname{Contents}
-\newcommand\listfigurename{List of Figures}
-\newcommand\listtablename{List of Tables}
-\newcommand\refname{References}
-\newcommand\indexname{Index}
-\newcommand\figurename{Figure}
-\newcommand\tablename{Table}
-\newcommand\partname{Part}
-\newcommand\appendixname{Appendix}
-\newcommand\abstractname{Abstract}
-\def\today{\ifcase\month\or
- January\or February\or March\or April\or May\or June\or
- July\or August\or September\or October\or November\or December\fi
- \space\number\day, \number\year}
-\setlength\columnsep{10\p@}
-\setlength\columnseprule{0\p@}
-\pagestyle{plain}
-\pagenumbering{arabic}
-\if@twoside
-\else
- \raggedbottom
-\fi
-\if@twocolumn
- \twocolumn
- \sloppy
- \flushbottom
-\else
- \onecolumn
-\fi
-\endinput
-%%
-%% End of file `article.cls'.
diff --git a/_extensions/aft/color-text.lua b/_extensions/aft/color-text.lua
deleted file mode 100644
index 0517060..0000000
--- a/_extensions/aft/color-text.lua
+++ /dev/null
@@ -1,46 +0,0 @@
---[[
- If you extension format needs some special processing, include a Lua filter to be used in addition of Quarto built-in ones.
- Quarto exports utils function that can be used in all filters. See
- https://github.com/quarto-dev/quarto-cli/blob/main/src/resources/pandoc/datadir/init.lua#L1522-L1576
-]]--
-
--- Example: allow to color words by using a span attribute.
--- This filter will use the correct syntax depending on the format
-color_span = function(el)
- color = el.attributes['color']
- -- if no color attribute, return unchange
- if color == nil then return el end
-
- -- transform to
- if quarto.doc.isFormat("html") then
- -- remove color attributes
- el.attributes['color'] = nil
- -- use style attribute instead
- el.classes:insert('color-' .. color )
- -- return full span element
- return el
- elseif quarto.doc.isFormat("pdf") then
- -- remove color attributes
- el.attributes['color'] = nil
- -- encapsulate in latex code
- table.insert(
- el.content, 1,
- pandoc.RawInline('latex', '\\textcolor{'..color..'}{')
- )
- table.insert(
- el.content,
- pandoc.RawInline('latex', '}')
- )
- -- returns only span content
- return el.content
- else
- -- for other format return unchanged
- return el
- end
-end
-
-return {
- {
- Span = color_span
- }
-}
\ No newline at end of file
diff --git a/_extensions/aft/custom.scss b/_extensions/aft/custom.scss
deleted file mode 100644
index c121602..0000000
--- a/_extensions/aft/custom.scss
+++ /dev/null
@@ -1,7 +0,0 @@
-/*-- scss:defaults --*/
-$pink: rgb(219, 48, 122);
-
-/*-- scss:rules --*/
-.color-mypink {
- color: $pink;
-}
\ No newline at end of file
diff --git a/_extensions/aft/partials/_authors.tex b/_extensions/aft/partials/_authors.tex
deleted file mode 100644
index 67d6653..0000000
--- a/_extensions/aft/partials/_authors.tex
+++ /dev/null
@@ -1,10 +0,0 @@
-$-- You can use as many custom partials as you need. Convention is to prefix name with '_'
-$-- It can be useful to use such template to split some template parts in smaller pieces, which is easier to reuse.
-$-- This '_custom.tex' is used on 'title.tex' as example.
-$-- See other existing format in quarto-journals/ organisation.
-$-- %%%% TODO %%%%%
-$-- Use it if you need to insert content at this specific place of the main Pandoc's template. Otherwise, remove it.
-$-- Here we are using it to format the authors part of the template.
-$-- %%%%%%%%%%%%%%%
-
-$it.name.literal$$if(it.orcid)$~\orcidlink{$it.orcid$}$endif$$for(it.affiliations)$\\$it.name$$endfor$\\$if(it.email)$\href{mailto:$it.email$}{$it.email$}$endif$
diff --git a/_extensions/aft/partials/after-body.tex b/_extensions/aft/partials/after-body.tex
deleted file mode 100644
index 9e3ef6b..0000000
--- a/_extensions/aft/partials/after-body.tex
+++ /dev/null
@@ -1,4 +0,0 @@
-$-- Placed at the end of the body, after 'include-after' content
-$-- %%%% TODO %%%%%
-$-- Use it if you need to insert content at this specific place of the main Pandoc's template. Otherwise, remove it.
-$-- %%%%%%%%%%%%%%%
\ No newline at end of file
diff --git a/_extensions/aft/partials/after-header-includes.latex b/_extensions/aft/partials/after-header-includes.latex
deleted file mode 100644
index 4dbc678..0000000
--- a/_extensions/aft/partials/after-header-includes.latex
+++ /dev/null
@@ -1,16 +0,0 @@
-$-- This is a Pandoc's partial.
-$-- Implements some features like bookmark, links as note and verbatim in note feature from Pandoc.
-$--
-$-- %%%% TODO %%%%%
-$-- Customize is needed, otherwise remove this partials to use Quarto default one
-$-- %%%%%%%%%%%%%%%%
-\usepackage{bookmark}
-\IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available
-\urlstyle{$if(urlstyle)$$urlstyle$$else$same$endif$}
-$if(links-as-notes)$
-% Make links footnotes instead of hotlinks:
-\DeclareRobustCommand{\href}[2]{#2\footnote{\url{#1}}}
-$endif$
-$if(verbatim-in-note)$
-\VerbatimFootnotes % allow verbatim text in footnotes
-$endif$
diff --git a/_extensions/aft/partials/babel-lang.tex b/_extensions/aft/partials/babel-lang.tex
deleted file mode 100644
index bea61e1..0000000
--- a/_extensions/aft/partials/babel-lang.tex
+++ /dev/null
@@ -1,31 +0,0 @@
-$-- Implements Babel language support.
-$--
-$-- %%%% TODO %%%%%
-$-- Customize is needed, otherwise remove this partials to use Quarto default one
-$-- %%%%%%%%%%%%%%%%
-$if(lang)$
-\ifLuaTeX
-\usepackage[bidi=basic$for(babeloptions)$,$babeloptions$$endfor$]{babel}
-\else
-\usepackage[bidi=default$for(babeloptions)$,$babeloptions$$endfor$]{babel}
-\fi
-$if(babel-lang)$
-$if(mainfont)$
-\ifPDFTeX
-\else
-\babelfont{rm}[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$$if(mainfontfallback)$,RawFeature={fallback=mainfontfallback}$endif$]{$mainfont$}
-\fi
-$endif$
-$endif$
-$for(babelfonts/pairs)$
-\babelfont[$babelfonts.key$]{rm}{$babelfonts.value$}
-$endfor$
-% get rid of language-specific shorthands (see #6817):
-\let\LanguageShortHands\languageshorthands
-\def\languageshorthands#1{}
-$if(selnolig-langs)$
-\ifLuaTeX
- \usepackage[$for(selnolig-langs)$$it$$sep$,$endfor$]{selnolig} % disable illegal ligatures
-\fi
-$endif$
-$endif$
\ No newline at end of file
diff --git a/_extensions/aft/partials/before-bib.tex b/_extensions/aft/partials/before-bib.tex
deleted file mode 100644
index 41d1898..0000000
--- a/_extensions/aft/partials/before-bib.tex
+++ /dev/null
@@ -1,4 +0,0 @@
-$-- Placed after the content of the document, but before the bibliography.
-$-- %%%% TODO %%%%%
-$-- Use it if you need to insert content at this specific place of the main Pandoc's template. Otherwise, remove it.
-$-- %%%%%%%%%%%%%%%
\ No newline at end of file
diff --git a/_extensions/aft/partials/before-body.tex b/_extensions/aft/partials/before-body.tex
deleted file mode 100644
index b30dfe5..0000000
--- a/_extensions/aft/partials/before-body.tex
+++ /dev/null
@@ -1,16 +0,0 @@
-$-- Implements the frontmatter, title page, and abstract.
-$--
-$-- %%%% TODO %%%%%
-$-- Customize is needed, otherwise remove this partials to use Quarto default one
-$-- %%%%%%%%%%%%%%%%
-$if(has-frontmatter)$
-\frontmatter
-$endif$
-$if(title)$
-\maketitle
-$if(abstract)$
-\begin{abstract}
-$abstract$
-\end{abstract}
-$endif$
-$endif$
diff --git a/_extensions/aft/partials/before-title.tex b/_extensions/aft/partials/before-title.tex
deleted file mode 100644
index c8b12d2..0000000
--- a/_extensions/aft/partials/before-title.tex
+++ /dev/null
@@ -1,6 +0,0 @@
-$-- This partial will appear in the document premable just before the title block,
-$-- allowing further customization of the document preamble.
-$--
-$-- %%%% TODO %%%%%
-$-- Customize is needed, otherwise remove this partials to use Quarto default one
-$-- %%%%%%%%%%%%%%%%
\ No newline at end of file
diff --git a/_extensions/aft/partials/biblio-config.tex b/_extensions/aft/partials/biblio-config.tex
deleted file mode 100644
index cff4683..0000000
--- a/_extensions/aft/partials/biblio-config.tex
+++ /dev/null
@@ -1,21 +0,0 @@
-$-- Implements bibliography support support for natbib and biblatex
-$--
-$-- %%%% TODO %%%%%
-$-- Customize is needed, otherwise remove this partials to use Quarto default one.
-$-- Instead of providing an empty one if your format does not need those insertion, set `biblio-config: false` in YAML configuration.
-$-- %%%%%%%%%%%%%%%%
-
-$-- biblio-config: false will not emit the bibliography configuration.
-$-- This is useful if the bibliography configuration is already handled by a class file, for example.
-$if(biblio-config)$ $-- <-- QUARTO ONLY VARIABLE
-$if(natbib)$
-\usepackage[$natbiboptions$]{natbib}
-\bibliographystyle{$if(biblio-style)$$biblio-style$$else$plainnat$endif$}
-$endif$
-$if(biblatex)$
-\usepackage[$if(biblio-style)$style=$biblio-style$,$endif$$for(biblatexoptions)$$biblatexoptions$$sep$,$endfor$]{biblatex}
-$for(bibliography)$
-\addbibresource{$bibliography$}
-$endfor$
-$endif$
-$endif$
\ No newline at end of file
diff --git a/_extensions/aft/partials/biblio.tex b/_extensions/aft/partials/biblio.tex
deleted file mode 100644
index 052f1b1..0000000
--- a/_extensions/aft/partials/biblio.tex
+++ /dev/null
@@ -1,24 +0,0 @@
-$-- Necessary content to creates the bibliography.
-$-- Bibliography style is defined in the main template. Use `biblio-style` YAML key to customize the .bst file for natbib.
-$-- If your CLS file already define a style file, then set `biblio-config: false` to deactivate the main template configuration, otherwise there could be a conflict.
-$--
-$-- %%%% TODO %%%%%
-$-- Customize is needed, otherwise remove this partials to use Quarto default one.
-$-- %%%%%%%%%%%%%%%%
-$if(natbib)$
-$if(bibliography)$
-$if(biblio-title)$
-$if(has-chapters)$
-\renewcommand\bibname{$biblio-title$}
-$else$
-\renewcommand\refname{$biblio-title$}
-$endif$
-$endif$
-\bibliography{$for(bibliography)$$bibliography$$sep$,$endfor$}
-
-$endif$
-$endif$
-$if(biblatex)$
-\printbibliography$if(biblio-title)$[title=$biblio-title$]$endif$
-
-$endif$
\ No newline at end of file
diff --git a/_extensions/aft/partials/citations.tex b/_extensions/aft/partials/citations.tex
deleted file mode 100644
index 5210841..0000000
--- a/_extensions/aft/partials/citations.tex
+++ /dev/null
@@ -1,40 +0,0 @@
-$-- When using CSL references, provides configuration and commands for outputing the bibliography.
-$--
-$-- %%%% TODO %%%%%
-$-- Remove this partials to use Quarto default one unless you really need to tweak it
-$-- %%%%%%%%%%%%%%%%
-$if(csl-refs)$
-% definitions for citeproc citations
-\NewDocumentCommand\citeproctext{}{}
-\NewDocumentCommand\citeproc{mm}{%
- \begingroup\def\citeproctext{#2}\cite{#1}\endgroup}
-\makeatletter
- % allow citations to break across lines
- \let\@cite@ofmt\@firstofone
- % avoid brackets around text for \cite:
- \def\@biblabel#1{}
- \def\@cite#1#2{{#1\if@tempswa , #2\fi}}
-\makeatother
-\newlength{\cslhangindent}
-\setlength{\cslhangindent}{1.5em}
-\newlength{\csllabelwidth}
-\setlength{\csllabelwidth}{3em}
-\newenvironment{CSLReferences}[2] % #1 hanging-indent, #2 entry-spacing
- {\begin{list}{}{%
- \setlength{\itemindent}{0pt}
- \setlength{\leftmargin}{0pt}
- \setlength{\parsep}{0pt}
- % turn on hanging indent if param 1 is 1
- \ifodd #1
- \setlength{\leftmargin}{\cslhangindent}
- \setlength{\itemindent}{-1\cslhangindent}
- \fi
- % set entry spacing
- \setlength{\itemsep}{#2\baselineskip}}}
- {\end{list}}
-\usepackage{calc}
-\newcommand{\CSLBlock}[1]{\hfill\break\parbox[t]{\linewidth}{\strut\ignorespaces#1\strut}}
-\newcommand{\CSLLeftMargin}[1]{\parbox[t]{\csllabelwidth}{\strut#1\strut}}
-\newcommand{\CSLRightInline}[1]{\parbox[t]{\linewidth - \csllabelwidth}{\strut#1\strut}}
-\newcommand{\CSLIndent}[1]{\hspace{\cslhangindent}#1}
-$endif$
diff --git a/_extensions/aft/partials/common.latex b/_extensions/aft/partials/common.latex
deleted file mode 100644
index 87fa5af..0000000
--- a/_extensions/aft/partials/common.latex
+++ /dev/null
@@ -1,72 +0,0 @@
-$-- This partial is a Pandoc's partial. It provides support for most of Pandoc's feature
-$-- and it uses multiple partials from Quarto's template partials logic.
-$--
-$-- %%%% TODO %%%%%
-$-- Customize is needed, otherwise remove this partials to use Quarto default one.
-$-- See also the partials used below to customize only part of the template.
-$-- %%%%%%%%%%%%%%%%
-$if(linestretch)$
-\usepackage{setspace}
-$endif$
-$--
-$-- paragraph formatting
-$--
-$if(indent)$
-$else$
-\makeatletter
-\@ifundefined{KOMAClassName}{% if non-KOMA class
- \IfFileExists{parskip.sty}{%
- \usepackage{parskip}
- }{% else
- \setlength{\parindent}{0pt}
- \setlength{\parskip}{6pt plus 2pt minus 1pt}}
-}{% if KOMA class
- \KOMAoptions{parskip=half}}
-\makeatother
-$endif$
-$if(beamer)$
-$else$
-$if(block-headings)$
-% Make \paragraph and \subparagraph free-standing
-\makeatletter
-\ifx\paragraph\undefined\else
- \let\oldparagraph\paragraph
- \renewcommand{\paragraph}{
- \@ifstar
- \xxxParagraphStar
- \xxxParagraphNoStar
- }
- \newcommand{\xxxParagraphStar}[1]{\oldparagraph*{#1}\mbox{}}
- \newcommand{\xxxParagraphNoStar}[1]{\oldparagraph{#1}\mbox{}}
-\fi
-\ifx\subparagraph\undefined\else
- \let\oldsubparagraph\subparagraph
- \renewcommand{\subparagraph}{
- \@ifstar
- \xxxSubParagraphStar
- \xxxSubParagraphNoStar
- }
- \newcommand{\xxxSubParagraphStar}[1]{\oldsubparagraph*{#1}\mbox{}}
- \newcommand{\xxxSubParagraphNoStar}[1]{\oldsubparagraph{#1}\mbox{}}
-\fi
-\makeatother
-$endif$
-$endif$
-$--
-$-- verbatim in notes
-$--
-$if(verbatim-in-note)$
-\usepackage{fancyvrb}
-$endif$
-$-- highlighting
-$if(listings)$
-\usepackage{listings}
-\newcommand{\passthrough}[1]{#1}
-\lstset{defaultdialect=[5.3]Lua}
-\lstset{defaultdialect=[x86masm]Assembler}
-$endif$
-$if(lhs)$
-\lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{}
-$endif$
-
-$pandoc.tex()$
diff --git a/_extensions/aft/partials/doc-class.tex b/_extensions/aft/partials/doc-class.tex
deleted file mode 100644
index e09cf94..0000000
--- a/_extensions/aft/partials/doc-class.tex
+++ /dev/null
@@ -1,26 +0,0 @@
-$-- Contains the document class declaration and options.
-$-- By default we provide the identical document class that Pandoc provides, implementing many features.
-$-- If provide this partial in your format, you will need to either implement support for the usaul document class options in addition to other one
-$-- or be aware that pandoc supported options (e.g. font-size, paper-size, classoption, etc) will not be supported in your format.
-$--
-$-- %%%% TODO %%%%%
-$-- Customize is needed, otherwise remove this partials to use Quarto default one
-$-- %%%%%%%%%%%%%%%%
-
-\documentclass[
-$for(babel-otherlangs)$
- $babel-otherlangs$,
-$endfor$
-$if(babel-lang)$
- $babel-lang$,
-$endif$
-$if(fontsize)$
- $fontsize$,
-$endif$
-$if(papersize)$
- $papersize$paper,
-$endif$
-$for(classoption)$
- $classoption$$sep$,
-$endfor$
-]{$documentclass$}
\ No newline at end of file
diff --git a/_extensions/aft/partials/font-settings.latex b/_extensions/aft/partials/font-settings.latex
deleted file mode 100644
index e2527c0..0000000
--- a/_extensions/aft/partials/font-settings.latex
+++ /dev/null
@@ -1,110 +0,0 @@
-$-- This is a Pandoc's partial.
-$-- Implements support for fonts
-$--
-$-- %%%% TODO %%%%%
-$-- Customize is needed, otherwise remove this partials to use Quarto default one
-$-- %%%%%%%%%%%%%%%%
-
-$-- User font settings (must come after default font and Beamer theme)
-$if(fontfamily)$
-\usepackage[$for(fontfamilyoptions)$$fontfamilyoptions$$sep$,$endfor$]{$fontfamily$}
-$endif$
-\ifPDFTeX\else
- % xetex/luatex font selection
-$if(mainfont)$
-$if(mainfontfallback)$
- \ifLuaTeX
- \usepackage{luaotfload}
- \directlua{luaotfload.add_fallback("mainfontfallback",{
- $for(mainfontfallback)$"$mainfontfallback$"$sep$,$endfor$
- })}
- \fi
-$endif$
- \setmainfont[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$$if(mainfontfallback)$,RawFeature={fallback=mainfontfallback}$endif$]{$mainfont$}
-$endif$
-$if(sansfont)$
-$if(sansfontfallback)$
- \ifLuaTeX
- \usepackage{luaotfload}
- \directlua{luaotfload.add_fallback("sansfontfallback",{
- $for(sansfontfallback)$"$sansfontfallback$"$sep$,$endfor$
- })}
- \fi
-$endif$
- \setsansfont[$for(sansfontoptions)$$sansfontoptions$$sep$,$endfor$$if(sansfontfallback)$,RawFeature={fallback=sansfontfallback}$endif$]{$sansfont$}
-$endif$
-$if(monofont)$
-$if(monofontfallback)$
- \ifLuaTeX
- \usepackage{luaotfload}
- \directlua{luaotfload.add_fallback("monofontfallback",{
- $for(monofontfallback)$"$monofontfallback$"$sep$,$endfor$
- })}
- \fi
-$endif$
- \setmonofont[$for(monofontoptions)$$monofontoptions$$sep$,$endfor$$if(monofontfallback)$,RawFeature={fallback=monofontfallback}$endif$]{$monofont$}
-$endif$
-$for(fontfamilies)$
- \newfontfamily{$fontfamilies.name$}[$for(fontfamilies.options)$$fontfamilies.options$$sep$,$endfor$]{$fontfamilies.font$}
-$endfor$
-$if(mathfont)$
-$if(mathspec)$
- \ifXeTeX
- \setmathfont(Digits,Latin,Greek)[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$}
- \else
- \setmathfont[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$}
- \fi
-$else$
- \setmathfont[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$}
-$endif$
-$endif$
-$if(CJKmainfont)$
- \ifXeTeX
- \usepackage{xeCJK}
- \setCJKmainfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmainfont$}
-$if(CJKsansfont)$
- \setCJKsansfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKsansfont$}
-$endif$
-$if(CJKmonofont)$
- \setCJKmonofont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmonofont$}
-$endif$
- \fi
-$endif$
-$if(luatexjapresetoptions)$
- \ifLuaTeX
- \usepackage[$for(luatexjapresetoptions)$$luatexjapresetoptions$$sep$,$endfor$]{luatexja-preset}
- \fi
-$endif$
-$if(CJKmainfont)$
- \ifLuaTeX
- \usepackage[$for(luatexjafontspecoptions)$$luatexjafontspecoptions$$sep$,$endfor$]{luatexja-fontspec}
- \setmainjfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmainfont$}
- \fi
-$endif$
-\fi
-$if(zero-width-non-joiner)$
-%% Support for zero-width non-joiner characters.
-\makeatletter
-\def\zerowidthnonjoiner{%
- % Prevent ligatures and adjust kerning, but still support hyphenating.
- \texorpdfstring{%
- \TextOrMath{\nobreak\discretionary{-}{}{\kern.03em}%
- \ifvmode\else\nobreak\hskip\z@skip\fi}{}%
- }{}%
-}
-\makeatother
-\ifPDFTeX
- \DeclareUnicodeCharacter{200C}{\zerowidthnonjoiner}
-\else
- \catcode`^^^^200c=\active
- \protected\def ^^^^200c{\zerowidthnonjoiner}
-\fi
-%% End of ZWNJ support
-$endif$
-% Use upquote if available, for straight quotes in verbatim environments
-\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
-\IfFileExists{microtype.sty}{% use microtype if available
- \usepackage[$for(microtypeoptions)$$microtypeoptions$$sep$,$endfor$]{microtype}
- \UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
-}{}
-
diff --git a/_extensions/aft/partials/fonts.latex b/_extensions/aft/partials/fonts.latex
deleted file mode 100644
index 4e16080..0000000
--- a/_extensions/aft/partials/fonts.latex
+++ /dev/null
@@ -1,29 +0,0 @@
-$-- This is a Pandoc's partial.
-$-- Implements font loading.
-$--
-$-- %%%% TODO %%%%%
-$-- Customize is needed, otherwise remove this partials to use Quarto default one
-$-- %%%%%%%%%%%%%%%%
-\usepackage{iftex}
-\ifPDFTeX
- \usepackage[$if(fontenc)$$fontenc$$else$T1$endif$]{fontenc}
- \usepackage[utf8]{inputenc}
- \usepackage{textcomp} % provide euro and other symbols
-\else % if luatex or xetex
-$if(mathspec)$
- \ifXeTeX
- \usepackage{mathspec} % this also loads fontspec
- \else
- \usepackage{unicode-math} % this also loads fontspec
- \fi
-$else$
- \usepackage{unicode-math} % this also loads fontspec
-$endif$
- \defaultfontfeatures{Scale=MatchLowercase}$-- must come before Beamer theme
- \defaultfontfeatures[\rmfamily]{Ligatures=TeX,Scale=1}
-\fi
-$if(fontfamily)$
-$else$
-$-- Set default font before Beamer theme so the theme can override it
-\usepackage{lmodern}
-$endif$
diff --git a/_extensions/aft/partials/graphics.tex b/_extensions/aft/partials/graphics.tex
deleted file mode 100644
index 7dbda74..0000000
--- a/_extensions/aft/partials/graphics.tex
+++ /dev/null
@@ -1,22 +0,0 @@
-$-- Provides image scaling and placement configuration.
-$--
-$-- %%%% TODO %%%%%
-$-- Customize is needed, otherwise remove this partials to use Quarto default one
-$-- %%%%%%%%%%%%%%%%
-$if(graphics)$
-\usepackage{graphicx}
-\makeatletter
-\newsavebox\pandoc@box
-\newcommand*\pandocbounded[1]{% scales image to fit in text height/width
- \sbox\pandoc@box{#1}%
- \Gscale@div\@tempa{\textheight}{\dimexpr\ht\pandoc@box+\dp\pandoc@box\relax}%
- \Gscale@div\@tempb{\linewidth}{\wd\pandoc@box}%
- \ifdim\@tempb\p@<\@tempa\p@\let\@tempa\@tempb\fi% select the smaller of both
- \ifdim\@tempa\p@<\p@\scalebox{\@tempa}{\usebox\pandoc@box}%
- \else\usebox{\pandoc@box}%
- \fi%
-}
-% Set default figure placement to htbp
-\def\fps@figure{htbp}
-\makeatother
-$endif$
diff --git a/_extensions/aft/partials/hypersetup.latex b/_extensions/aft/partials/hypersetup.latex
deleted file mode 100644
index 920d76b..0000000
--- a/_extensions/aft/partials/hypersetup.latex
+++ /dev/null
@@ -1,36 +0,0 @@
-$-- This is a Pandoc's partial.
-$-- Implements hyperref setup.
-$--
-$-- %%%% TODO %%%%%
-$-- Customize is needed, otherwise remove this partials to use Quarto default one
-$-- %%%%%%%%%%%%%%%%
-\hypersetup{
-$if(title-meta)$
- pdftitle={$title-meta$},
-$endif$
-$if(author-meta)$
- pdfauthor={$author-meta$},
-$endif$
-$if(lang)$
- pdflang={$lang$},
-$endif$
-$if(subject)$
- pdfsubject={$subject$},
-$endif$
-$if(keywords)$
- pdfkeywords={$for(keywords)$$keywords$$sep$, $endfor$},
-$endif$
-$if(colorlinks)$
- colorlinks=true,
- linkcolor={$if(linkcolor)$$linkcolor$$else$Maroon$endif$},
- filecolor={$if(filecolor)$$filecolor$$else$Maroon$endif$},
- citecolor={$if(citecolor)$$citecolor$$else$Blue$endif$},
- urlcolor={$if(urlcolor)$$urlcolor$$else$Blue$endif$},
-$else$
-$if(boxlinks)$
-$else$
- hidelinks,
-$endif$
-$endif$
- pdfcreator={LaTeX via pandoc}}
-
diff --git a/_extensions/aft/partials/pandoc.tex b/_extensions/aft/partials/pandoc.tex
deleted file mode 100644
index 0542cec..0000000
--- a/_extensions/aft/partials/pandoc.tex
+++ /dev/null
@@ -1,99 +0,0 @@
-
-$-- This includes various configurations directly or through other partials.
-$-- In general, this partial will not be included in your custom template, unless you may know that certain capabilities will not be needed,
-$-- so you can tweak this partial to remove one of the included partial usage that is not needed
-
-$-- %%%% TODO %%%%%
-$-- Customize is needed, otherwise remove this partials to use Quarto default one.
-$-- Customize one of the called partial directly instead to tweak a specific feature
-$-- %%%%%%%%%%%%%%%%
-
-$-- Required to use Pandoc highlighting feature
-$if(highlighting-macros)$
-$highlighting-macros$
-$endif$
-
-$tables.tex()$
-$graphics.tex()$
-$if(svg)$
-\usepackage{svg}
-$endif$
-
-$--
-$-- strikeout/underline
-$--
-$if(strikeout)$
-\ifLuaTeX
- \usepackage{luacolor}
- \usepackage[soul]{lua-ul}
-\else
- \usepackage{soul}
-$if(beamer)$
- \makeatletter
- \let\HL\hl
- \renewcommand\hl{% fix for beamer highlighting
- \let\set@color\beamerorig@set@color
- \let\reset@color\beamerorig@reset@color
- \HL}
- \makeatother
-$endif$
-$if(CJKmainfont)$
- \ifXeTeX
- % soul's \st doesn't work for CJK:
- \usepackage{xeCJKfntef}
- \renewcommand{\st}[1]{\sout{#1}}
- \fi
-$endif$
-\fi
-$endif$
-
-$citations.tex()$
-
-$babel-lang.tex()$
-
-$--
-$-- pagestyle
-$--
-$if(pagestyle)$
-\pagestyle{$pagestyle$}
-$endif$
-
-$--
-$-- prevent overfull lines
-$--
-\setlength{\emergencystretch}{3em} % prevent overfull lines
-
-$tightlist.tex()$
-
-$--
-$-- subfigure support
-$--
-$if(subfigure)$
-\usepackage{subcaption}
-$endif$
-
-$--
-$-- text direction support for pdftex
-$--
-$if(dir)$
-\ifPDFTeX
- \TeXXeTstate=1
- \newcommand{\RL}[1]{\beginR #1\endR}
- \newcommand{\LR}[1]{\beginL #1\endL}
- \newenvironment{RTL}{\beginR}{\endR}
- \newenvironment{LTR}{\beginL}{\endL}
-\fi
-$endif$
-
-$biblio-config.tex()$
-
-$--
-$-- csquotes
-$--
-$if(csquotes)$
-\usepackage[$for(csquotesoptions)$$csquotesoptions$$sep$,$endfor$]{csquotes}
-$endif$
-
-$for(header-includes)$
-$header-includes$
-$endfor$
diff --git a/_extensions/aft/partials/passoptions.latex b/_extensions/aft/partials/passoptions.latex
deleted file mode 100644
index c50f5d2..0000000
--- a/_extensions/aft/partials/passoptions.latex
+++ /dev/null
@@ -1,15 +0,0 @@
-$-- This is a Pandoc's partial.
-$-- Implements pre document setup to be able to pass options to packages before they are loaded.
-$--
-$-- %%%% TODO %%%%%
-$-- Customize is needed, otherwise remove this partials to use Quarto default one.
-$-- %%%%%%%%%%%%%%%%
-% Options for packages loaded elsewhere
-\PassOptionsToPackage{unicode$for(hyperrefoptions)$,$hyperrefoptions$$endfor$}{hyperref}
-\PassOptionsToPackage{hyphens}{url}
-$if(colorlinks)$
-\PassOptionsToPackage{dvipsnames,svgnames,x11names}{xcolor}
-$endif$
-$if(CJKmainfont)$
-\PassOptionsToPackage{space}{xeCJK}
-$endif$
diff --git a/_extensions/aft/partials/tables.tex b/_extensions/aft/partials/tables.tex
deleted file mode 100644
index 11b9399..0000000
--- a/_extensions/aft/partials/tables.tex
+++ /dev/null
@@ -1,28 +0,0 @@
-$-- Provides configuration for the output of tables, table captioning, and footnotes within tables.
-$--
-$-- %%%% TODO %%%%%
-$-- Customize is needed, otherwise remove this partials to use Quarto default one
-$-- %%%%%%%%%%%%%%%%
-$if(tables)$
-\usepackage{longtable,booktabs,array}
-$if(multirow)$
-\usepackage{multirow}
-$endif$
-\usepackage{calc} % for calculating minipage widths
-$if(beamer)$
-\usepackage{caption}
-% Make caption package work with longtable
-\makeatletter
-\def\fnum@table{\tablename~\thetable}
-\makeatother
-$else$
-% Correct order of tables after \paragraph or \subparagraph
-\usepackage{etoolbox}
-\makeatletter
-\patchcmd\longtable{\par}{\if@noskipsec\mbox{}\fi\par}{}{}
-\makeatother
-% Allow footnotes in longtable head/foot
-\IfFileExists{footnotehyper.sty}{\usepackage{footnotehyper}}{\usepackage{footnote}}
-\makesavenoteenv{longtable}
-$endif$
-$endif$
diff --git a/_extensions/aft/partials/tightlist.tex b/_extensions/aft/partials/tightlist.tex
deleted file mode 100644
index 28a73d3..0000000
--- a/_extensions/aft/partials/tightlist.tex
+++ /dev/null
@@ -1,7 +0,0 @@
-$-- Provides the tight list command required by Pandoc
-$--
-$-- %%%% TODO %%%%%
-$-- Remove this partials to use Quarto default one unless you really need to tweak the tighlist command
-$-- %%%%%%%%%%%%%%%%
-\providecommand{\tightlist}{%
- \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
\ No newline at end of file
diff --git a/_extensions/aft/partials/title.tex b/_extensions/aft/partials/title.tex
deleted file mode 100644
index 6b69038..0000000
--- a/_extensions/aft/partials/title.tex
+++ /dev/null
@@ -1,23 +0,0 @@
-$-- Provides configuration of document metadata for writing the title block.
-$-- Note that in addition to these templates and partials, Quarto will also make normalized authors and affiliations data available to the template,
-$-- making is easy to write custom title blocks against a standard schema.
-$--
-$-- %%%% TODO %%%%%
-$-- Customize is needed, like below for printing the authors. Otherwise remove this partials to use Quarto default one.
-$-- %%%%%%%%%%%%%%%%
-
-$if(title)$
-\title{$title$$if(thanks)$\thanks{$thanks$}$endif$}
-$endif$
-$if(subtitle)$
-\usepackage{etoolbox}
-\makeatletter
-\providecommand{\subtitle}[1]{% add subtitle to \maketitle
- \apptocmd{\@title}{\par {\large #1 \par}}{}{}
-}
-\makeatother
-\subtitle{$subtitle$}
-$endif$
-$-- This supports Quarto's authors normalization
-\author{$for(authors)$$it.name.literal$$sep$ \and $endfor$}
-\date{$date$}
\ No newline at end of file
diff --git a/_extensions/aft/partials/toc.tex b/_extensions/aft/partials/toc.tex
deleted file mode 100644
index 7cac596..0000000
--- a/_extensions/aft/partials/toc.tex
+++ /dev/null
@@ -1,23 +0,0 @@
-$-- Creates the table of contents, list of figures, and list of tables.
-$--
-$-- %%%% TODO %%%%%
-$-- Customize is needed, otherwise remove this partials to use Quarto default one
-$-- %%%%%%%%%%%%%%%%
-$if(toc)$
-$if(toc-title)$
-\renewcommand*\contentsname{$toc-title$}
-$endif$
-{
-$if(colorlinks)$
-\hypersetup{linkcolor=$if(toccolor)$$toccolor$$else$$endif$}
-$endif$
-\setcounter{tocdepth}{$toc-depth$}
-\tableofcontents
-}
-$endif$
-$if(lof)$
-\listoffigures
-$endif$
-$if(lot)$
-\listoftables
-$endif$
\ No newline at end of file
diff --git a/_extensions/aft/shortcodes.lua b/_extensions/aft/shortcodes.lua
deleted file mode 100644
index 007540d..0000000
--- a/_extensions/aft/shortcodes.lua
+++ /dev/null
@@ -1,17 +0,0 @@
---[[
- This file defines the shortcodes that your extension will make available
- https://quarto.org/docs/authoring/shortcodes.html#custom-shortcodes
- Quarto exports utils function that can be used in all filters. See
- https://github.com/quarto-dev/quarto-cli/blob/main/src/resources/pandoc/datadir/init.lua#L1522-L1576
-]]--
-
--- Example shortcode that provides a nicely formatted 'LaTeX' string
-function latex()
- if quarto.doc.isFormat("pdf") then
- return pandoc.RawBlock('tex', '{\\LaTeX}')
- elseif quarto.doc.isFormat("html") then
- return pandoc.Math('InlineMath', "\\LaTeX")
- else
- return pandoc.Span('LaTeX')
- end
-end
\ No newline at end of file
diff --git a/_extensions/aft/te.bst b/_extensions/aft/te.bst
deleted file mode 100644
index 1562be6..0000000
--- a/_extensions/aft/te.bst
+++ /dev/null
@@ -1,1517 +0,0 @@
-%%
-%% This is file `te.bst',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% merlin.mbs (with options: `ay,nat,annote,nm-revv1,jnrlst,keyxyr,dt-beg,yr-par,note-yr,tit-qq,vnum-x,volp-com,num-xser,bkpg-x,edby-par,edbyy,blk-tit,blknt,ppx,ed,xedn,url,url-blk,nfss')
-%%
-%% AND then the placement of 'edition' was manually changed (to put
-%% it after the book title, not after the publisher). [MJO 2007-5-19]
-%%
-%% ----------------------------------------
-%% *** BibTeX style file for Theoretical Economics ***
- % ===============================================================
- % IMPORTANT NOTICE:
- % This bibliographic style (bst) file has been generated from one or
- % more master bibliographic style (mbs) files, listed above.
- %
- % This generated file can be redistributed and/or modified under the terms
- % of the LaTeX Project Public License Distributed from CTAN
- % archives in directory macros/latex/base/lppl.txt; either
- % version 1 of the License, or any later version.
- % ===============================================================
- % Name and version information of the main mbs file:
- % \ProvidesFile{merlin.mbs}[2005/10/17 4.14 (PWD, AO, DPC)]
- % For use with BibTeX version 0.99a or later
- %-------------------------------------------------------------------
- % This bibliography style file is intended for texts in ENGLISH
- % This is an author-year citation style bibliography. As such, it is
- % non-standard LaTeX, and requires a special package file to function properly.
- % Such a package is natbib.sty by Patrick W. Daly
- % The form of the \bibitem entries is
- % \bibitem[Jones et al.(1990)]{key}...
- % \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
- % The essential feature is that the label (the part in brackets) consists
- % of the author names, as they should appear in the citation, with the year
- % in parentheses following. There must be no space before the opening
- % parenthesis!
- % With natbib v5.3, a full list of authors may also follow the year.
- % In natbib.sty, it is possible to define the type of enclosures that is
- % really wanted (brackets or parentheses), but in either case, there must
- % be parentheses in the label.
- % The \cite command functions as follows:
- % \citet{key} ==>> Jones et al. (1990)
- % \citet*{key} ==>> Jones, Baker, and Smith (1990)
- % \citep{key} ==>> (Jones et al., 1990)
- % \citep*{key} ==>> (Jones, Baker, and Smith, 1990)
- % \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2)
- % \citep[e.g.][]{key} ==>> (e.g. Jones et al., 1990)
- % \citep[e.g.][p. 32]{key} ==>> (e.g. Jones et al., p. 32)
- % \citeauthor{key} ==>> Jones et al.
- % \citeauthor*{key} ==>> Jones, Baker, and Smith
- % \citeyear{key} ==>> 1990
- %---------------------------------------------------------------------
-
-ENTRY
- { address
- annote
- author
- booktitle
- chapter
- edition
- editor
- eid
- howpublished
- institution
- journal
- key
- month
- note
- number
- organization
- pages
- publisher
- school
- series
- title
- type
- url
- volume
- year
- }
- {}
- { label extra.label sort.label short.list }
-INTEGERS { output.state before.all mid.sentence after.sentence after.block }
-FUNCTION {init.state.consts}
-{ #0 'before.all :=
- #1 'mid.sentence :=
- #2 'after.sentence :=
- #3 'after.block :=
-}
-STRINGS { s t}
-FUNCTION {output.nonnull}
-{ 's :=
- output.state mid.sentence =
- { ", " * write$ }
- { output.state after.block =
- { add.period$ write$
- newline$
- "\newblock " write$
- }
- { output.state before.all =
- 'write$
- { add.period$ " " * write$ }
- if$
- }
- if$
- mid.sentence 'output.state :=
- }
- if$
- s
-}
-FUNCTION {output}
-{ duplicate$ empty$
- 'pop$
- 'output.nonnull
- if$
-}
-FUNCTION {output.check}
-{ 't :=
- duplicate$ empty$
- { pop$ "empty " t * " in " * cite$ * warning$ }
- 'output.nonnull
- if$
-}
-FUNCTION {fin.entry}
-{ add.period$
- write$
- newline$
- annote missing$
- { "\bibAnnoteFile{" cite$ * "}" * write$ newline$ }
- { "\bibAnnote{" cite$ * "}{" * annote * "}" * write$ newline$
- }
- if$
-}
-
-FUNCTION {new.block}
-{ output.state before.all =
- 'skip$
- { after.block 'output.state := }
- if$
-}
-FUNCTION {new.sentence}
-{ output.state after.block =
- 'skip$
- { output.state before.all =
- 'skip$
- { after.sentence 'output.state := }
- if$
- }
- if$
-}
-FUNCTION {add.blank}
-{ " " * before.all 'output.state :=
-}
-
-FUNCTION {date.block}
-{
- skip$
-}
-
-FUNCTION {not}
-{ { #0 }
- { #1 }
- if$
-}
-FUNCTION {and}
-{ 'skip$
- { pop$ #0 }
- if$
-}
-FUNCTION {or}
-{ { pop$ #1 }
- 'skip$
- if$
-}
-FUNCTION {non.stop}
-{ duplicate$
- "}" * add.period$
- #-1 #1 substring$ "." =
-}
-
-FUNCTION {new.block.checkb}
-{ empty$
- swap$ empty$
- and
- 'skip$
- 'new.block
- if$
-}
-FUNCTION {field.or.null}
-{ duplicate$ empty$
- { pop$ "" }
- 'skip$
- if$
-}
-FUNCTION {emphasize}
-{ duplicate$ empty$
- { pop$ "" }
- { "\emph{" swap$ * "}" * }
- if$
-}
-FUNCTION {tie.or.space.prefix}
-{ duplicate$ text.length$ #3 <
- { "~" }
- { " " }
- if$
- swap$
-}
-
-FUNCTION {capitalize}
-{ "u" change.case$ "t" change.case$ }
-
-FUNCTION {space.word}
-{ " " swap$ * " " * }
- % Here are the language-specific definitions for explicit words.
- % Each function has a name bbl.xxx where xxx is the English word.
- % The language selected here is ENGLISH
-FUNCTION {bbl.and}
-{ "and"}
-
-FUNCTION {bbl.etal}
-{ "et~al." }
-
-FUNCTION {bbl.editors}
-{ "eds." }
-
-FUNCTION {bbl.editor}
-{ "ed." }
-
-FUNCTION {bbl.edby}
-{ "edited by" }
-
-FUNCTION {bbl.edition}
-{ "edition" }
-
-FUNCTION {bbl.volume}
-{ "volume" }
-
-FUNCTION {bbl.of}
-{ "of" }
-
-FUNCTION {bbl.number}
-{ "number" }
-
-FUNCTION {bbl.nr}
-{ "no." }
-
-FUNCTION {bbl.in}
-{ "in" }
-
-FUNCTION {bbl.pages}
-{ "" }
-
-FUNCTION {bbl.page}
-{ "" }
-
-FUNCTION {bbl.chapter}
-{ "chapter" }
-
-FUNCTION {bbl.techrep}
-{ "Technical Report" }
-
-FUNCTION {bbl.mthesis}
-{ "Master's thesis" }
-
-FUNCTION {bbl.phdthesis}
-{ "Ph.D. thesis" }
-
-MACRO {jan} {"January"}
-
-MACRO {feb} {"February"}
-
-MACRO {mar} {"March"}
-
-MACRO {apr} {"April"}
-
-MACRO {may} {"May"}
-
-MACRO {jun} {"June"}
-
-MACRO {jul} {"July"}
-
-MACRO {aug} {"August"}
-
-MACRO {sep} {"September"}
-
-MACRO {oct} {"October"}
-
-MACRO {nov} {"November"}
-
-MACRO {dec} {"December"}
-
-MACRO {acmcs} {"ACM Computing Surveys"}
-
-MACRO {acta} {"Acta Informatica"}
-
-MACRO {cacm} {"Communications of the ACM"}
-
-MACRO {ibmjrd} {"IBM Journal of Research and Development"}
-
-MACRO {ibmsj} {"IBM Systems Journal"}
-
-MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
-
-MACRO {ieeetc} {"IEEE Transactions on Computers"}
-
-MACRO {ieeetcad}
- {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
-
-MACRO {ipl} {"Information Processing Letters"}
-
-MACRO {jacm} {"Journal of the ACM"}
-
-MACRO {jcss} {"Journal of Computer and System Sciences"}
-
-MACRO {scp} {"Science of Computer Programming"}
-
-MACRO {sicomp} {"SIAM Journal on Computing"}
-
-MACRO {tocs} {"ACM Transactions on Computer Systems"}
-
-MACRO {tods} {"ACM Transactions on Database Systems"}
-
-MACRO {tog} {"ACM Transactions on Graphics"}
-
-MACRO {toms} {"ACM Transactions on Mathematical Software"}
-
-MACRO {toois} {"ACM Transactions on Office Information Systems"}
-
-MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
-
-MACRO {tcs} {"Theoretical Computer Science"}
-FUNCTION {bibinfo.check}
-{ swap$
- duplicate$ missing$
- {
- pop$ pop$
- ""
- }
- { duplicate$ empty$
- {
- swap$ pop$
- }
- { swap$
- pop$
- }
- if$
- }
- if$
-}
-FUNCTION {bibinfo.warn}
-{ swap$
- duplicate$ missing$
- {
- swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
- ""
- }
- { duplicate$ empty$
- {
- swap$ "empty " swap$ * " in " * cite$ * warning$
- }
- { swap$
- pop$
- }
- if$
- }
- if$
-}
-FUNCTION {format.url}
-{ url empty$
- { "" }
- { "\urlprefix\url{" url * "}" * }
- if$
-}
-
-STRINGS { bibinfo}
-INTEGERS { nameptr namesleft numnames }
-
-FUNCTION {format.names}
-{ 'bibinfo :=
- duplicate$ empty$ 'skip$ {
- 's :=
- "" 't :=
- #1 'nameptr :=
- s num.names$ 'numnames :=
- numnames 'namesleft :=
- { namesleft #0 > }
- { s nameptr
- duplicate$ #1 >
- { "{ff~}{vv~}{ll}{, jj}" }
- { "{vv~}{ll}{, ff}{, jj}" }
- if$
- format.name$
- bibinfo bibinfo.check
- 't :=
- nameptr #1 >
- {
- namesleft #1 >
- { ", " * t * }
- {
- s nameptr "{ll}" format.name$ duplicate$ "others" =
- { 't := }
- { pop$ }
- if$
- numnames #2 >
- { "," * }
- 'skip$
- if$
- t "others" =
- {
- " " * bbl.etal *
- }
- {
- bbl.and
- space.word * t *
- }
- if$
- }
- if$
- }
- 't
- if$
- nameptr #1 + 'nameptr :=
- namesleft #1 - 'namesleft :=
- }
- while$
- } if$
-}
-FUNCTION {format.names.ed}
-{
- 'bibinfo :=
- duplicate$ empty$ 'skip$ {
- 's :=
- "" 't :=
- #1 'nameptr :=
- s num.names$ 'numnames :=
- numnames 'namesleft :=
- { namesleft #0 > }
- { s nameptr
- "{ff~}{vv~}{ll}{, jj}"
- format.name$
- bibinfo bibinfo.check
- 't :=
- nameptr #1 >
- {
- namesleft #1 >
- { ", " * t * }
- {
- s nameptr "{ll}" format.name$ duplicate$ "others" =
- { 't := }
- { pop$ }
- if$
- numnames #2 >
- { "," * }
- 'skip$
- if$
- t "others" =
- {
-
- " " * bbl.etal *
- }
- {
- bbl.and
- space.word * t *
- }
- if$
- }
- if$
- }
- 't
- if$
- nameptr #1 + 'nameptr :=
- namesleft #1 - 'namesleft :=
- }
- while$
- } if$
-}
-FUNCTION {format.key}
-{ empty$
- { key field.or.null }
- { "" }
- if$
-}
-
-FUNCTION {format.authors}
-{ author "author" format.names
-}
-FUNCTION {get.bbl.editor}
-{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
-
-FUNCTION {format.editors}
-{ editor "editor" format.names duplicate$ empty$ 'skip$
- {
- "," *
- " " *
- get.bbl.editor
- *
- }
- if$
-}
-FUNCTION {format.note}
-{
- note empty$
- { "" }
- { note #1 #1 substring$
- duplicate$ "{" =
- 'skip$
- { output.state mid.sentence =
- { "l" }
- { "u" }
- if$
- change.case$
- }
- if$
- note #2 global.max$ substring$ * "note" bibinfo.check
- }
- if$
-}
-
-FUNCTION {format.title}
-{ title
- duplicate$ empty$ 'skip$
- { "t" change.case$ }
- if$
- "title" bibinfo.check
- duplicate$ empty$ 'skip$
- {
- "\enquote{" swap$ *
- add.period$ "}" *
- }
- if$
-}
-FUNCTION {format.full.names}
-{'s :=
- "" 't :=
- #1 'nameptr :=
- s num.names$ 'numnames :=
- numnames 'namesleft :=
- { namesleft #0 > }
- { s nameptr
- "{vv~}{ll}" format.name$
- 't :=
- nameptr #1 >
- {
- namesleft #1 >
- { ", " * t * }
- {
- s nameptr "{ll}" format.name$ duplicate$ "others" =
- { 't := }
- { pop$ }
- if$
- t "others" =
- {
- " " * bbl.etal *
- }
- {
- numnames #2 >
- { "," * }
- 'skip$
- if$
- bbl.and
- space.word * t *
- }
- if$
- }
- if$
- }
- 't
- if$
- nameptr #1 + 'nameptr :=
- namesleft #1 - 'namesleft :=
- }
- while$
-}
-
-FUNCTION {author.editor.key.full}
-{ author empty$
- { editor empty$
- { key empty$
- { cite$ #1 #3 substring$ }
- 'key
- if$
- }
- { editor format.full.names }
- if$
- }
- { author format.full.names }
- if$
-}
-
-FUNCTION {author.key.full}
-{ author empty$
- { key empty$
- { cite$ #1 #3 substring$ }
- 'key
- if$
- }
- { author format.full.names }
- if$
-}
-
-FUNCTION {editor.key.full}
-{ editor empty$
- { key empty$
- { cite$ #1 #3 substring$ }
- 'key
- if$
- }
- { editor format.full.names }
- if$
-}
-
-FUNCTION {make.full.names}
-{ type$ "book" =
- type$ "inbook" =
- or
- 'author.editor.key.full
- { type$ "proceedings" =
- 'editor.key.full
- 'author.key.full
- if$
- }
- if$
-}
-
-FUNCTION {output.bibitem}
-{ newline$
- "\bibitem[{" write$
- label write$
- ")" make.full.names duplicate$ short.list =
- { pop$ }
- { * }
- if$
- "}]{" * write$
- cite$ write$
- "}" write$
- newline$
- ""
- before.all 'output.state :=
-}
-
-FUNCTION {n.dashify}
-{
- 't :=
- ""
- { t empty$ not }
- { t #1 #1 substring$ "-" =
- { t #1 #2 substring$ "--" = not
- { "--" *
- t #2 global.max$ substring$ 't :=
- }
- { { t #1 #1 substring$ "-" = }
- { "-" *
- t #2 global.max$ substring$ 't :=
- }
- while$
- }
- if$
- }
- { t #1 #1 substring$ *
- t #2 global.max$ substring$ 't :=
- }
- if$
- }
- while$
-}
-
-FUNCTION {word.in}
-{ bbl.in capitalize
- " " * }
-
-FUNCTION {format.date}
-{ year "year" bibinfo.check duplicate$ empty$
- {
- "empty year in " cite$ * "; set to ????" * warning$
- pop$ "????"
- }
- 'skip$
- if$
- extra.label *
- before.all 'output.state :=
- " (" swap$ * ")" *
-}
-FUNCTION {format.btitle}
-{ title "title" bibinfo.check
- duplicate$ empty$ 'skip$
- {
- emphasize
- }
- if$
-}
-FUNCTION {either.or.check}
-{ empty$
- 'pop$
- { "can't use both " swap$ * " fields in " * cite$ * warning$ }
- if$
-}
-FUNCTION {format.bvolume}
-{ volume empty$
- { "" }
- { bbl.volume volume tie.or.space.prefix
- "volume" bibinfo.check * *
- series "series" bibinfo.check
- duplicate$ empty$ 'pop$
- { swap$ bbl.of space.word * swap$
- emphasize * }
- if$
- "volume and number" number either.or.check
- }
- if$
-}
-FUNCTION {format.number.series}
-{ volume empty$
- { number empty$
- { series field.or.null }
- { series empty$
- { number "number" bibinfo.check }
- { output.state mid.sentence =
- { bbl.number }
- { bbl.number capitalize }
- if$
- number tie.or.space.prefix "number" bibinfo.check * *
- bbl.in space.word *
- series "series" bibinfo.check *
- }
- if$
- }
- if$
- }
- { "" }
- if$
-}
-
-FUNCTION {format.edition}
-{ edition duplicate$ empty$ 'skip$
- {
- output.state mid.sentence =
- { "l" }
- { "t" }
- if$ change.case$
- "edition" bibinfo.check
- " " * bbl.edition *
- }
- if$
-}
-INTEGERS { multiresult }
-FUNCTION {multi.page.check}
-{ 't :=
- #0 'multiresult :=
- { multiresult not
- t empty$ not
- and
- }
- { t #1 #1 substring$
- duplicate$ "-" =
- swap$ duplicate$ "," =
- swap$ "+" =
- or or
- { #1 'multiresult := }
- { t #2 global.max$ substring$ 't := }
- if$
- }
- while$
- multiresult
-}
-FUNCTION {format.pages}
-{ pages duplicate$ empty$ 'skip$
- { duplicate$ multi.page.check
- {
- n.dashify
- }
- {
- }
- if$
- "pages" bibinfo.check
- }
- if$
-}
-FUNCTION {format.journal.pages}
-{ pages duplicate$ empty$ 'pop$
- { swap$ duplicate$ empty$
- { pop$ pop$ format.pages }
- {
- ", " *
- swap$
- n.dashify
- "pages" bibinfo.check
- *
- }
- if$
- }
- if$
-}
-FUNCTION {format.journal.eid}
-{ eid "eid" bibinfo.check
- duplicate$ empty$ 'pop$
- { swap$ duplicate$ empty$ 'skip$
- {
- ", " *
- }
- if$
- swap$ *
- }
- if$
-}
-FUNCTION {format.vol.num.pages}
-{ volume field.or.null
- duplicate$ empty$ 'skip$
- {
- "volume" bibinfo.check
- }
- if$
- eid empty$
- { format.journal.pages }
- { format.journal.eid }
- if$
-}
-
-FUNCTION {format.chapter.pages}
-{ chapter empty$
- 'format.pages
- { type empty$
- { bbl.chapter }
- { type "l" change.case$
- "type" bibinfo.check
- }
- if$
- chapter tie.or.space.prefix
- "chapter" bibinfo.check
- * *
- pages empty$
- 'skip$
- { ", " * format.pages * }
- if$
- }
- if$
-}
-
-FUNCTION {format.booktitle}
-{
- booktitle "booktitle" bibinfo.check
- emphasize
-}
-FUNCTION {format.in.ed.booktitle}
-{ format.booktitle duplicate$ empty$ 'skip$
- {
- editor "editor" format.names.ed duplicate$ empty$ 'pop$
- {
- get.bbl.editor
- swap$ "," *
- " " * swap$ *
- "(" swap$ * ")" *
- swap$
- " " * swap$
- * }
- if$
- word.in swap$ *
- }
- if$
-}
-FUNCTION {format.thesis.type}
-{ type duplicate$ empty$
- 'pop$
- { swap$ pop$
- "t" change.case$ "type" bibinfo.check
- }
- if$
-}
-FUNCTION {format.tr.number}
-{ number "number" bibinfo.check
- type duplicate$ empty$
- { pop$ bbl.techrep }
- 'skip$
- if$
- "type" bibinfo.check
- swap$ duplicate$ empty$
- { pop$ "t" change.case$ }
- { tie.or.space.prefix * * }
- if$
-}
-FUNCTION {format.article.crossref}
-{
- word.in
- " \cite{" * crossref * "}" *
-}
-FUNCTION {format.book.crossref}
-{ volume duplicate$ empty$
- { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
- pop$ word.in
- }
- { bbl.volume
- capitalize
- swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
- }
- if$
- " \cite{" * crossref * "}" *
-}
-FUNCTION {format.incoll.inproc.crossref}
-{
- word.in
- " \cite{" * crossref * "}" *
-}
-FUNCTION {format.org.or.pub}
-{ 't :=
- ""
- address empty$ t empty$ and
- 'skip$
- {
- t empty$
- { address "address" bibinfo.check *
- }
- { t *
- address empty$
- 'skip$
- { ", " * address "address" bibinfo.check * }
- if$
- }
- if$
- }
- if$
-}
-FUNCTION {format.publisher.address}
-{ publisher "publisher" bibinfo.warn format.org.or.pub
-}
-
-FUNCTION {format.organization.address}
-{ organization "organization" bibinfo.check format.org.or.pub
-}
-
-FUNCTION {article}
-{ output.bibitem
- format.authors "author" output.check
- author format.key output
- format.date "year" output.check
- date.block
- format.title "title" output.check
- new.sentence
- crossref missing$
- {
- journal
- "journal" bibinfo.check
- emphasize
- "journal" output.check
- format.vol.num.pages output
- }
- { format.article.crossref output.nonnull
- format.pages output
- }
- if$
- format.url output
- new.sentence
- format.note output
- fin.entry
-}
-FUNCTION {book}
-{ output.bibitem
- author empty$
- { format.editors "author and editor" output.check
- editor format.key output
- }
- { format.authors output.nonnull
- crossref missing$
- { "author and editor" editor either.or.check }
- 'skip$
- if$
- }
- if$
- format.date "year" output.check
- date.block
- format.btitle "title" output.check
- format.edition output
- crossref missing$
- { format.bvolume output
- new.sentence
- format.number.series output
- format.publisher.address output
- }
- {
- new.sentence
- format.book.crossref output.nonnull
- }
- if$
- format.url output
- new.sentence
- format.note output
- fin.entry
-}
-FUNCTION {booklet}
-{ output.bibitem
- format.authors output
- author format.key output
- format.date "year" output.check
- date.block
- format.title "title" output.check
- new.sentence
- howpublished "howpublished" bibinfo.check output
- address "address" bibinfo.check output
- format.url output
- new.sentence
- format.note output
- fin.entry
-}
-
-FUNCTION {inbook}
-{ output.bibitem
- author empty$
- { format.editors "author and editor" output.check
- editor format.key output
- }
- { format.authors output.nonnull
- crossref missing$
- { "author and editor" editor either.or.check }
- 'skip$
- if$
- }
- if$
- format.date "year" output.check
- date.block
- format.btitle "title" output.check
- format.edition output
- crossref missing$
- {
- format.bvolume output
- format.chapter.pages "chapter and pages" output.check
- new.sentence
- format.number.series output
- format.publisher.address output
- }
- {
- format.chapter.pages "chapter and pages" output.check
- new.sentence
- format.book.crossref output.nonnull
- }
- if$
- format.url output
- new.sentence
- format.note output
- fin.entry
-}
-
-FUNCTION {incollection}
-{ output.bibitem
- format.authors "author" output.check
- author format.key output
- format.date "year" output.check
- date.block
- format.title "title" output.check
- new.sentence
- crossref missing$
- { format.in.ed.booktitle "booktitle" output.check
- format.bvolume output
- format.number.series output
- format.edition output
- format.chapter.pages output
- format.publisher.address output
- }
- { format.incoll.inproc.crossref output.nonnull
- format.chapter.pages output
- }
- if$
- format.url output
- new.sentence
- format.note output
- fin.entry
-}
-FUNCTION {inproceedings}
-{ output.bibitem
- format.authors "author" output.check
- author format.key output
- format.date "year" output.check
- date.block
- format.title "title" output.check
- new.sentence
- crossref missing$
- { format.in.ed.booktitle "booktitle" output.check
- format.bvolume output
- format.number.series output
- format.pages output
- publisher empty$
- { format.organization.address output }
- { organization "organization" bibinfo.check output
- format.publisher.address output
- }
- if$
- }
- { format.incoll.inproc.crossref output.nonnull
- format.pages output
- }
- if$
- format.url output
- new.sentence
- format.note output
- fin.entry
-}
-FUNCTION {conference} { inproceedings }
-FUNCTION {manual}
-{ output.bibitem
- format.authors output
- author format.key output
- format.date "year" output.check
- date.block
- format.btitle "title" output.check
- format.edition output
- new.sentence
- organization "organization" bibinfo.check output
- address "address" bibinfo.check output
- format.url output
- new.sentence
- format.note output
- fin.entry
-}
-
-FUNCTION {mastersthesis}
-{ output.bibitem
- format.authors "author" output.check
- author format.key output
- format.date "year" output.check
- date.block
- format.btitle
- "title" output.check
- new.sentence
- bbl.mthesis format.thesis.type output.nonnull
- school "school" bibinfo.warn output
- address "address" bibinfo.check output
- format.url output
- new.sentence
- format.note output
- fin.entry
-}
-
-FUNCTION {misc}
-{ output.bibitem
- format.authors output
- author format.key output
- format.date "year" output.check
- date.block
- format.title output
- new.sentence
- howpublished "howpublished" bibinfo.check output
- format.url output
- new.sentence
- format.note output
- fin.entry
-}
-FUNCTION {phdthesis}
-{ output.bibitem
- format.authors "author" output.check
- author format.key output
- format.date "year" output.check
- date.block
- format.btitle
- "title" output.check
- new.sentence
- bbl.phdthesis format.thesis.type output.nonnull
- school "school" bibinfo.warn output
- address "address" bibinfo.check output
- format.url output
- new.sentence
- format.note output
- fin.entry
-}
-
-FUNCTION {proceedings}
-{ output.bibitem
- format.editors output
- editor format.key output
- format.date "year" output.check
- date.block
- format.btitle "title" output.check
- format.bvolume output
- format.number.series output
- publisher empty$
- { format.organization.address output }
- { organization "organization" bibinfo.check output
- format.publisher.address output
- }
- if$
- format.url output
- new.sentence
- format.note output
- fin.entry
-}
-
-FUNCTION {techreport}
-{ output.bibitem
- format.authors "author" output.check
- author format.key output
- format.date "year" output.check
- date.block
- format.title
- "title" output.check
- new.sentence
- format.tr.number output.nonnull
- institution "institution" bibinfo.warn output
- address "address" bibinfo.check output
- format.url output
- new.sentence
- format.note output
- fin.entry
-}
-
-FUNCTION {unpublished}
-{ output.bibitem
- format.authors "author" output.check
- author format.key output
- format.date "year" output.check
- date.block
- format.title "title" output.check
- format.url output
- new.sentence
- format.note "note" output.check
- fin.entry
-}
-
-FUNCTION {default.type} { misc }
-READ
-FUNCTION {sortify}
-{ purify$
- "l" change.case$
-}
-INTEGERS { len }
-FUNCTION {chop.word}
-{ 's :=
- 'len :=
- s #1 len substring$ =
- { s len #1 + global.max$ substring$ }
- 's
- if$
-}
-FUNCTION {format.lab.names}
-{ 's :=
- "" 't :=
- s #1 "{vv~}{ll}" format.name$
- s num.names$ duplicate$
- #2 >
- { pop$
- " " * bbl.etal *
- }
- { #2 <
- 'skip$
- { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
- {
- " " * bbl.etal *
- }
- { bbl.and space.word * s #2 "{vv~}{ll}" format.name$
- * }
- if$
- }
- if$
- }
- if$
-}
-
-FUNCTION {author.key.label}
-{ author empty$
- { key empty$
- { cite$ #1 #3 substring$ }
- 'key
- if$
- }
- { author format.lab.names }
- if$
-}
-
-FUNCTION {author.editor.key.label}
-{ author empty$
- { editor empty$
- { key empty$
- { cite$ #1 #3 substring$ }
- 'key
- if$
- }
- { editor format.lab.names }
- if$
- }
- { author format.lab.names }
- if$
-}
-
-FUNCTION {editor.key.label}
-{ editor empty$
- { key empty$
- { cite$ #1 #3 substring$ }
- 'key
- if$
- }
- { editor format.lab.names }
- if$
-}
-
-FUNCTION {calc.short.authors}
-{ type$ "book" =
- type$ "inbook" =
- or
- 'author.editor.key.label
- { type$ "proceedings" =
- 'editor.key.label
- 'author.key.label
- if$
- }
- if$
- 'short.list :=
-}
-
-FUNCTION {calc.label}
-{ calc.short.authors
- short.list
- "("
- *
- year duplicate$ empty$
- short.list key field.or.null = or
- { pop$ "" }
- 'skip$
- if$
- *
- 'label :=
-}
-
-FUNCTION {sort.format.names}
-{ 's :=
- #1 'nameptr :=
- ""
- s num.names$ 'numnames :=
- numnames 'namesleft :=
- { namesleft #0 > }
- { s nameptr
- "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}"
- format.name$ 't :=
- nameptr #1 >
- {
- " " *
- namesleft #1 = t "others" = and
- { "zzzzz" * }
- { t sortify * }
- if$
- }
- { t sortify * }
- if$
- nameptr #1 + 'nameptr :=
- namesleft #1 - 'namesleft :=
- }
- while$
-}
-
-FUNCTION {sort.format.title}
-{ 't :=
- "A " #2
- "An " #3
- "The " #4 t chop.word
- chop.word
- chop.word
- sortify
- #1 global.max$ substring$
-}
-FUNCTION {author.sort}
-{ author empty$
- { key empty$
- { "to sort, need author or key in " cite$ * warning$
- ""
- }
- { key sortify }
- if$
- }
- { author sort.format.names }
- if$
-}
-FUNCTION {author.editor.sort}
-{ author empty$
- { editor empty$
- { key empty$
- { "to sort, need author, editor, or key in " cite$ * warning$
- ""
- }
- { key sortify }
- if$
- }
- { editor sort.format.names }
- if$
- }
- { author sort.format.names }
- if$
-}
-FUNCTION {editor.sort}
-{ editor empty$
- { key empty$
- { "to sort, need editor or key in " cite$ * warning$
- ""
- }
- { key sortify }
- if$
- }
- { editor sort.format.names }
- if$
-}
-FUNCTION {presort}
-{ calc.label
- label sortify
- " "
- *
- type$ "book" =
- type$ "inbook" =
- or
- 'author.editor.sort
- { type$ "proceedings" =
- 'editor.sort
- 'author.sort
- if$
- }
- if$
- #1 entry.max$ substring$
- 'sort.label :=
- sort.label
- *
- " "
- *
- title field.or.null
- sort.format.title
- *
- #1 entry.max$ substring$
- 'sort.key$ :=
-}
-
-ITERATE {presort}
-SORT
-STRINGS { last.label next.extra }
-INTEGERS { last.extra.num number.label }
-FUNCTION {initialize.extra.label.stuff}
-{ #0 int.to.chr$ 'last.label :=
- "" 'next.extra :=
- #0 'last.extra.num :=
- #0 'number.label :=
-}
-FUNCTION {forward.pass}
-{ last.label label =
- { last.extra.num #1 + 'last.extra.num :=
- last.extra.num int.to.chr$ 'extra.label :=
- }
- { "a" chr.to.int$ 'last.extra.num :=
- "" 'extra.label :=
- label 'last.label :=
- }
- if$
- number.label #1 + 'number.label :=
-}
-FUNCTION {reverse.pass}
-{ next.extra "b" =
- { "a" 'extra.label := }
- 'skip$
- if$
- extra.label 'next.extra :=
- extra.label
- duplicate$ empty$
- 'skip$
- { "{\natexlab{" swap$ * "}}" * }
- if$
- 'extra.label :=
- label extra.label * 'label :=
-}
-EXECUTE {initialize.extra.label.stuff}
-ITERATE {forward.pass}
-REVERSE {reverse.pass}
-FUNCTION {bib.sort.order}
-{ sort.label
- " "
- *
- year field.or.null sortify
- *
- " "
- *
- title field.or.null
- sort.format.title
- *
- #1 entry.max$ substring$
- 'sort.key$ :=
-}
-ITERATE {bib.sort.order}
-SORT
-FUNCTION {begin.bib}
-{ preamble$ empty$
- 'skip$
- { preamble$ write$ newline$ }
- if$
- "\begin{thebibliography}{" number.label int.to.str$ * "}" *
- write$ newline$
- "\newcommand{\enquote}[1]{``#1''}"
- write$ newline$
- "\providecommand{\natexlab}[1]{#1}"
- write$ newline$
- "\providecommand{\url}[1]{\texttt{#1}}"
- write$ newline$
- "\providecommand{\urlprefix}{URL }"
- write$ newline$
- "\providecommand{\bibAnnoteFile}[1]{%"
- write$ newline$
- " \IfFileExists{#1}{\begin{quotation}\noindent\textsc{Key:} #1\\"
- write$ newline$
- " \textsc{Annotation:}\ \input{#1}\end{quotation}}{}}"
- write$ newline$
- "\providecommand{\bibAnnote}[2]{%"
- write$ newline$
- " \begin{quotation}\noindent\textsc{Key:} #1\\"
- write$ newline$
- " \textsc{Annotation:}\ #2\end{quotation}}"
- write$ newline$
-}
-EXECUTE {begin.bib}
-EXECUTE {init.state.consts}
-ITERATE {call.type$}
-FUNCTION {end.bib}
-{ newline$
- "\end{thebibliography}" write$ newline$
-}
-EXECUTE {end.bib}
-%% End of customized bst file
-%%
-%% End of file `te.bst'.
diff --git a/_extensions/tpc/_extension.yml b/_extensions/tpc/_extension.yml
new file mode 100644
index 0000000..4b02f32
--- /dev/null
+++ b/_extensions/tpc/_extension.yml
@@ -0,0 +1,19 @@
+title: My Fact Sheet
+author: Your Name
+version: 1.0.0
+contributes:
+ formats:
+ html:
+ theme: [default, factsheet.scss]
+ embed-resources: true
+ template-partials:
+ - partials/title-block.html # custom header/banner
+ filters:
+ - factsheet.lua
+ toc: false
+ pdf:
+ documentclass: article
+ template: factsheet.tex
+ filters:
+ - factsheet.lua
+ keep-tex: false
\ No newline at end of file
diff --git a/_extensions/tpc/factsheet.lua b/_extensions/tpc/factsheet.lua
new file mode 100644
index 0000000..554a9a1
--- /dev/null
+++ b/_extensions/tpc/factsheet.lua
@@ -0,0 +1,41 @@
+function Div(el)
+ -- Two-column layout
+ if el.classes:includes("two-col") then
+ if FORMAT:match("html") then
+ el.attributes["style"] = "display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;"
+ return el
+ elseif FORMAT:match("latex") then
+ return {
+ pandoc.RawBlock("latex", "\\begin{multicols}{2}"),
+ el,
+ pandoc.RawBlock("latex", "\\end{multicols}")
+ }
+ end
+ end
+
+ -- Colored boxes
+ for _, box in ipairs({"box-teal", "box-deepblue", "box-light"}) do
+ if el.classes:includes(box) then
+ if FORMAT:match("latex") then
+ return {
+ pandoc.RawBlock("latex", "\\begin{" .. box .. "}"),
+ el,
+ pandoc.RawBlock("latex", "\\end{" .. box .. "}")
+ }
+ end
+ end
+ end
+
+ -- Sidebar
+ if el.classes:includes("sidebar") then
+ if FORMAT:match("latex") then
+ return {
+ pandoc.RawBlock("latex", "\\begin{sidebarbox}"),
+ el,
+ pandoc.RawBlock("latex", "\\end{sidebarbox}")
+ }
+ end
+ end
+
+ return el
+end
\ No newline at end of file
diff --git a/_extensions/tpc/factsheet.scss b/_extensions/tpc/factsheet.scss
new file mode 100644
index 0000000..69500e7
--- /dev/null
+++ b/_extensions/tpc/factsheet.scss
@@ -0,0 +1,340 @@
+/*-- scss:defaults --*/
+$deepblue: rgb(23, 74, 124);
+$teal: rgb(0, 139, 176);
+$poppy: rgb(240, 87, 62);
+$lightgray: rgb(188, 190, 192);
+$darkgray: rgb(92,88,89);
+$black: rgb(0, 0, 0);
+$font-family-sans-serif: "Avenir TPC", sans-serif;
+
+/*-- scss:rules --*/
+
+@font-face {
+ font-family: "Avenir TPC";
+ src: url("_extensions/tpc/fonts/AvenirTPC-Regular.woff2") format("woff2");
+ font-weight: 400;
+}
+@font-face {
+ font-family: "Avenir TPC";
+ src: url("_extensions/tpc/fonts/AvenirTPC-Bold.woff2") format("woff2");
+ font-weight: 700;
+ font-style: normal;
+}
+@font-face {
+ font-family: "Avenir TPC";
+ src: url("_extensions/tpc/fonts/AvenirTPC-BoldItalic.woff2") format("woff2");
+ font-weight: 700;
+ font-style: italic;
+}
+@font-face {
+ font-family: "Avenir TPC";
+ src: url("_extensions/tpc/fonts/AvenirTPC-Italic.woff2") format("woff2");
+ font-weight: 400;
+ font-style: italic;
+}
+
+/* title block */
+.factsheet-header {
+ color: black;
+ padding: 1.5rem 2rem;
+ display: flex;
+ align-items: center;
+ gap: 1.5rem;
+}
+.factsheet-header img.logo {
+ height: 60px;
+ width: auto;
+ max-width: 200px;
+}
+.factsheet-header .title {
+ font-weight: 700;
+ text-transform: uppercase;
+ font-size: 1.2rem;
+ color: black;
+}
+.factsheet-header .authors {
+ font-weight: 400;
+ font-size: 0.8rem;
+ color: $lightgray;
+ margin-top: 0.25rem;
+}
+.factsheet-header .date {
+ font-weight: 400;
+ font-size: 0.8rem;
+ color: $lightgray;
+ margin-top: 0.25rem;
+}
+
+h1 {
+ margin-top: 1.5rem;
+ margin-bottom: 0.5rem;
+ color: $deepblue;
+ font-weight: 700;
+ text-transform: uppercase;
+ font-size: 1rem;
+/* border-bottom: 2px solid $teal;*/ /* optional: underline effect */
+ border-bottom: none;
+ padding-bottom: 0.25rem;
+}
+
+h2 {
+ border-bottom: none;
+ padding: 0rem;
+}
+/* Two-column layout */
+.two-col {
+ display: grid;
+ grid-template-columns: 1fr 1fr;
+ gap: 1.5rem;
+ margin: 1rem 0;
+}
+
+/*-- scss:defaults --*/
+$deepblue: rgb(23, 74, 124);
+$teal: rgb(0, 139, 176);
+$poppy: rgb(240, 87, 62);
+$lightgray: rgb(188, 190, 192);
+$darkgray: rgb(92,88,89);
+$black: rgb(0, 0, 0);
+$font-family-sans-serif: "Avenir TPC", sans-serif;
+
+/*-- scss:rules --*/
+
+@font-face {
+ font-family: "Avenir TPC";
+ src: url("_extensions/tpc/fonts/AvenirTPC-Regular.woff2") format("woff2");
+ font-weight: 400;
+}
+@font-face {
+ font-family: "Avenir TPC";
+ src: url("_extensions/tpc/fonts/AvenirTPC-Bold.woff2") format("woff2");
+ font-weight: 700;
+ font-style: normal;
+}
+@font-face {
+ font-family: "Avenir TPC";
+ src: url("_extensions/tpc/fonts/AvenirTPC-BoldItalic.woff2") format("woff2");
+ font-weight: 700;
+ font-style: italic;
+}
+@font-face {
+ font-family: "Avenir TPC";
+ src: url("_extensions/tpc/fonts/AvenirTPC-Italic.woff2") format("woff2");
+ font-weight: 400;
+ font-style: italic;
+}
+
+/* title block */
+.factsheet-header {
+ color: black;
+ padding: 1.5rem 2rem;
+ display: flex;
+ align-items: center;
+ gap: 1.5rem;
+}
+.factsheet-header img.logo {
+ height: 60px;
+ width: auto;
+ max-width: 200px;
+}
+.factsheet-header .title {
+ font-weight: 700;
+ text-transform: uppercase;
+ font-size: 1.2rem;
+ color: black;
+}
+.factsheet-header .authors {
+ font-weight: 400;
+ font-size: 0.8rem;
+ color: $lightgray;
+ margin-top: 0.25rem;
+}
+.factsheet-header .date {
+ font-weight: 400;
+ font-size: 0.8rem;
+ color: $lightgray;
+ margin-top: 0.25rem;
+}
+
+h1 {
+ /* margin-top: 1.5rem;*/
+ margin-bottom: 0.5rem;
+ color: $black;
+ font-weight: 700;
+ font-size: 1.4rem;
+ text-transform: none;
+/* border-bottom: 2px solid $teal;*/ /* optional: underline effect */
+ border-bottom: none;
+ padding-bottom: 0.25rem;
+}
+
+h2 {
+ color: $deepblue;
+ font-weight: 700;
+ text-transform: uppercase;
+ font-size: 1rem;
+ border-bottom: none;
+}
+/* Two-column layout */
+.two-col {
+ display: grid;
+ grid-template-columns: 1fr 1fr;
+ gap: 1.5rem;
+ margin: 1rem 0;
+}
+
+.figure-label {
+ font-weight: 700;
+ font-size: 0.8rem;
+ color: $poppy;
+}
+
+/* Sidebar layout */
+.sidebar-layout {
+ margin: 1rem 0;
+}
+
+.sidebar-text {
+ font-weight: 400;
+ font-size: 0.8rem;
+ color: black;
+}
+.sidebar-box {
+ float: left;
+ width: 30%;
+ margin-top: 0rem;
+ margin-right: 1.5rem;
+ margin-left: 0rem;
+ padding: 0rem 1.2rem;
+ border-radius: 0px;
+ border-right: 1px solid $black; /* shows on wide screens */
+}
+
+@media (max-width: 768px) {
+ .sidebar-box {
+ float: none;
+ width: 100%;
+ margin-right: 0;
+ margin-top: 1rem;
+ padding: 1rem 1.2rem;
+ border: none;
+ border-top: 4px solid $teal;
+ border-bottom: 4px solid $teal;
+ border-radius: 0;
+ }
+}
+
+/* Colored section boxes */
+.box-teal {
+ background-color: $teal;
+ color: white;
+ padding: 1rem 1.2rem;
+ border-radius: 4px;
+ margin-bottom: 1rem;
+}
+.box-deepblue {
+ background-color: $deepblue;
+ color: white;
+ padding: 1rem 1.2rem;
+ border-radius: 4px;
+}
+.box-light {
+ background-color: lighten($lightgray, 15%);
+ padding: 1rem 1.2rem;
+ border-radius: 4px;
+}
+
+/* Sidebar callout */
+.note-box {
+ border-left: 4px solid $poppy;
+ background: lighten($lightgray, 15%);
+ padding: 0.8rem 1rem;
+ font-size: 0.9rem;
+}
+
+/* Tables */
+table {
+ width: 100%;
+ border-collapse: collapse;
+ font-size: 0.9rem;
+ thead tr {
+ border-bottom: 1px solid $teal;
+ background-color: transparent !important; // override Bootstrap
+ color: $black !important;
+ }
+ th {
+ background-color: transparent !important; // some Bootstrap versions target th directly
+ color: $black !important;
+ }
+ tbody tr:nth-child(odd),
+ tbody tr:nth-child(even) {
+ background-color: transparent !important; // remove alternating rows
+ }
+ th, td { padding: 0.5rem 0.75rem; text-align: left; }
+}
+
+#quarto-margin-sidebar {
+ position: fixed;
+ bottom: 1rem;
+ right: 1rem;
+ top: auto; /* override Quarto's default top positioning */
+ width: auto;
+ font-size: 0.8rem;
+}
+
+/* Colored section boxes */
+.box-teal {
+ background-color: $teal;
+ color: white;
+ padding: 1rem 1.2rem;
+ border-radius: 4px;
+ margin-bottom: 1rem;
+}
+.box-deepblue {
+ background-color: $deepblue;
+ color: white;
+ padding: 1rem 1.2rem;
+ border-radius: 4px;
+}
+.box-light {
+ background-color: lighten($lightgray, 15%);
+ padding: 1rem 1.2rem;
+ border-radius: 4px;
+}
+
+/* Sidebar callout */
+.note-box {
+ border-left: 4px solid $poppy;
+ background: lighten($lightgray, 15%);
+ padding: 0.8rem 1rem;
+ font-size: 0.9rem;
+}
+
+/* Tables */
+table {
+ width: 100%;
+ border-collapse: collapse;
+ font-size: 0.9rem;
+
+ thead tr {
+ background-color: $deepblue;
+ color: white;
+ }
+ th, td { padding: 0.5rem 0.75rem; text-align: left; }
+ tbody tr:nth-child(even) { background-color: lighten($lightgray, 12%); }
+}
+
+#quarto-margin-sidebar {
+ width: 0;
+ display:none;
+}
+
+#quarto-content {
+ max-width: 100%;
+ padding-left: 2rem;
+ padding-right: 2rem;
+}
+
+.page-columns {
+ grid-template-columns: 1fr !important;
+}
\ No newline at end of file
diff --git a/_extensions/tpc/fonts/AvenirTPC-Bold.ttf b/_extensions/tpc/fonts/AvenirTPC-Bold.ttf
new file mode 100644
index 0000000..1b195b9
Binary files /dev/null and b/_extensions/tpc/fonts/AvenirTPC-Bold.ttf differ
diff --git a/_extensions/tpc/fonts/AvenirTPC-Bold.woff2 b/_extensions/tpc/fonts/AvenirTPC-Bold.woff2
new file mode 100644
index 0000000..8c0032d
Binary files /dev/null and b/_extensions/tpc/fonts/AvenirTPC-Bold.woff2 differ
diff --git a/_extensions/tpc/fonts/AvenirTPC-BoldItalic.ttf b/_extensions/tpc/fonts/AvenirTPC-BoldItalic.ttf
new file mode 100644
index 0000000..99c9745
Binary files /dev/null and b/_extensions/tpc/fonts/AvenirTPC-BoldItalic.ttf differ
diff --git a/_extensions/tpc/fonts/AvenirTPC-BoldItalic.woff2 b/_extensions/tpc/fonts/AvenirTPC-BoldItalic.woff2
new file mode 100644
index 0000000..2d3676a
Binary files /dev/null and b/_extensions/tpc/fonts/AvenirTPC-BoldItalic.woff2 differ
diff --git a/_extensions/tpc/fonts/AvenirTPC-Italic.ttf b/_extensions/tpc/fonts/AvenirTPC-Italic.ttf
new file mode 100644
index 0000000..906f1ec
Binary files /dev/null and b/_extensions/tpc/fonts/AvenirTPC-Italic.ttf differ
diff --git a/_extensions/tpc/fonts/AvenirTPC-Italic.woff2 b/_extensions/tpc/fonts/AvenirTPC-Italic.woff2
new file mode 100644
index 0000000..5c2d728
Binary files /dev/null and b/_extensions/tpc/fonts/AvenirTPC-Italic.woff2 differ
diff --git a/_extensions/tpc/fonts/AvenirTPC-Regular.ttf b/_extensions/tpc/fonts/AvenirTPC-Regular.ttf
new file mode 100644
index 0000000..0275cbd
Binary files /dev/null and b/_extensions/tpc/fonts/AvenirTPC-Regular.ttf differ
diff --git a/_extensions/tpc/fonts/AvenirTPC-Regular.woff2 b/_extensions/tpc/fonts/AvenirTPC-Regular.woff2
new file mode 100644
index 0000000..e9b54ff
Binary files /dev/null and b/_extensions/tpc/fonts/AvenirTPC-Regular.woff2 differ
diff --git a/_extensions/tpc/logo-wide.png b/_extensions/tpc/logo-wide.png
new file mode 100644
index 0000000..934ec92
Binary files /dev/null and b/_extensions/tpc/logo-wide.png differ
diff --git a/_extensions/tpc/logo.png b/_extensions/tpc/logo.png
new file mode 100644
index 0000000..c37c08b
Binary files /dev/null and b/_extensions/tpc/logo.png differ
diff --git a/_extensions/tpc/partials/title-block.html b/_extensions/tpc/partials/title-block.html
new file mode 100644
index 0000000..a902756
--- /dev/null
+++ b/_extensions/tpc/partials/title-block.html
@@ -0,0 +1,19 @@
+
\ No newline at end of file
diff --git a/bibliography.bib b/bibliography.bib
deleted file mode 100644
index 0f5e817..0000000
--- a/bibliography.bib
+++ /dev/null
@@ -1,8 +0,0 @@
-@book{CameronTrivedi2013,
- author = {A. Colin Cameron and Pravin K. Trivedi},
- title = {Regression Analysis of Count Data},
- year = {2013},
- edition = {2nd},
- publisher = {Cambridge University Press},
- address = {Cambridge}
-}
\ No newline at end of file
diff --git a/man/figures/hex_tpcquarto.png b/man/figures/hex_tpcquarto.png
new file mode 100644
index 0000000..543cb64
Binary files /dev/null and b/man/figures/hex_tpcquarto.png differ
diff --git a/style-guide/README.md b/style-guide/README.md
deleted file mode 100644
index a8e94b8..0000000
--- a/style-guide/README.md
+++ /dev/null
@@ -1,5 +0,0 @@
-# Style Guide for the Article Journal
-
-**TODO**: Place in this folder the style guide and other original resources useful for the template creation or template usage.
-
-`style-guide` folder is by default added to `.quartoignore` so that it is not downloaded to user project when the format extension is installed with quarto.
\ No newline at end of file
diff --git a/template.html b/template.html
new file mode 100644
index 0000000..8116457
--- /dev/null
+++ b/template.html
@@ -0,0 +1,2665 @@
+
+
+
+
+
+
+
+
+
+
+
+TAX POLICY CENTER TARIFF MODEL
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/template.qmd b/template.qmd
index e782141..9249f0c 100644
--- a/template.qmd
+++ b/template.qmd
@@ -1,181 +1,82 @@
---
-title: "Demo aft format to use as template"
-format:
- aft-pdf:
- keep-tex: true
- aft-html: default
+title: "TAX POLICY CENTER TARIFF MODEL"
+subtitle: "Modeling tariff impacts at the state level and beyond (optional)"
+date: "February 29, 2028"
author:
- - name: John Doe
- affiliations:
- - name: Dummy org
- department: Cool Dep
- address: Somewhere
- city: Magic city
- country: best one
- postal-code: 9999
- - Demo Journal
- orcid: 0000-0000-0000-0000
- email: JD@example.org
- url: https://example.org/
- - name: his friend
- affiliations:
- - Another Affiliation
-abstract: |
- This document is only a demo explaining how to use the template.
-keywords: [template, demo]
-reference-section-title: References
-bibliography: bibliography.bib
+ - name: "Author name here (optional)"
+format:
+ tpc-html: default
---
-## Introduction {#sec-intro}
-
-This is a dummy example only for the purpose to use this repo as a template starter for creating new formats. For this `article-format-template` we call our dummy article `aft`.
-
-This quarto extension format supports PDF and HTML outputs. `quarto-journals` is aiming at porting existing {{< latex >}} template from journals to be used with quarto. PDF format is what require the most work to fit the journals guideline, but Quarto offer a nice rendering for HTML output too. This demo format template only use basic HTML format without any customization for now.
-
-## About Quarto Extensions formats And Quarto Journals Article
-
-First, please get familiar with the following resources:
-
-- [Creating Formats](https://quarto.org/docs/extensions/formats.html) in Quarto as part of the [Extensions](https://quarto.org/docs/extensions/) mechanism.
-- [Journals Articles](https://quarto.org/docs/journals/) for Quarto.
-
-## Structure of this repository
-
-Everything for the extensions is in `_extensions`. See Quarto doc for details.
-
-- In `partials`, you'll find the `.tex` partials that can be used and should be removed or tweaked,s
-
-- Your extension can make shortcodes and lua filters available. This document shows the effect of the one provided in the `aft` format.
-
-- `aft` format sets some defaults which are different from `pdf` or `html`, link setting links to URL in read inside PDF output.
-
-Source repository for this template format can found on [Github](https://github.com/quarto-journals/article-format-template)
-
-
-### `_extensions\aft`
-
-In this folder you'll find everything that defines the extensions which could be installed using `quarto install extension` or be part of the template when using `quarto use template`
-
-Format Metadata
- ~ This is in `_extension.yml` is where all the metadata about the format are defined so that Quarto knows what to use.
- Adapt this file for you own template.
-
-Partials
- ~ In `partials`, there are the `.tex` files that will be used as Pandoc's template. We provide here all the partials supported by Quarto and custom one for this format. Quarto allows to provide partials to ease the process of tweaking the default latex Pandoc's template and keeping it up to date.
- This template repo contains all the relevant partials that you can use with Quarto _as example_. We only tweaked `title.tex` to show the usage of a custom partials called `_custom.tex`.
- **Only keep the partials that you need to tweak for the format you are creating**
-
- If you need to completely change the default template (i.g customizing partials is not enough), then you need to provide your own template to Pandoc based on [`template.tex`](https://github.com/quarto-dev/quarto-cli/blob/main/src/resources/formats/pdf/pandoc/template.tex) and also using partials or not. This can be provided using the `template` YAML key in `_extension.yml` for Quarto to use it.
-
- This is considered advanced configuration as it will be harder to maintain than only using partials but could be required for some specific format. Be aware that this may lead to loose some Pandoc or Quarto features tied to default `template.tex` content if you remove some specific parts.
-
-Lua Filters
- ~ Most of the time, custom formats will need Lua filters to provide specific features like cross format supports or provides custom shortcodes through the Quarto extension mechanism. Those filters will be available to the user and could be used in the custom formats (according to `_extensions` metadata).
- We have provided two examples:
-
- - `color-text.lua`, a Lua filter used to add color to inline text for PDF and HTML outputs using the same Markdown syntax
- - `shorcodes.lua`, a Lua filter which follow [Quarto custom shortcodes](https://quarto.org/docs/authoring/shortcodes.html#custom-shortcodes) guidelines to provide a `{{< LaTeX >}}` shortcode to nicely print LaTeX in PDF and HTML.
-
- **Remove or replace with your own Lua filters**
-
-Format resources
-
- ~ Resources required by the format needs to be available. We have provided two examples:
-
- - `te.bst` is a biblio style file for demo. It has been downloaded from https://www.economics.utoronto.ca/osborne/latex/TEBST.HTM (http://econtheory.org/technical/te.bst) - Licence [LPPL](https://www.latex-project.org/lppl/)
- - `aft.cls` is a dummy class file for this example format. It is a copy of official `article.cls`, the one provided in LaTeX installation (i.e at `kpsewhich article.cls`) and renamed as example (Licence LaTeX Project Public License)
- - `custom.scss` is a style file to have a custom theme for our HTML format so that our Lua filter feature `color-tex.lua` works.
-
- Those files are referenced within the `_extension.yml` to be used with our example format.
-
- **Remove and replace with your own resources**
-
-`.quartoignore`
-
- ~ Sometimes it is useful to have some files only needed for reference or for development. They should be available in the source repository but not downloaded to the user when `quarto use template` is used.
-
- **Use `.quartoignore` to register such file and folder (one file or folder per line)**
-
-`style-guide` folder
-
- ~ For `quarto-journals` format, use `style-guide` folder to include any documentation and resourced used for format creation, like a journal style guide or original `.tex` template. This folder is already added in `.quartoignore` in this example repo.
-
- **Remove, rename or add to this folder**
-
-`template.qmd`
-
- ~ This file is the template document that shows how to use the custom format. It will be downloaded with other resource by `quarto use template`, and even offered to be renamed if the name `template.qmd` is used.
- This file will usually use the custom format (here `aft-pdf` and `aft-html`) and show how to use the template. When you'll copy this template, you should be able to render this document to the demo format.
+::: {.sidebar-layout}
- **Adapt this file to provide a suitable template for your custom format**
+::: {.sidebar-box}
-Other files
+::: {.sidebar-text}
- ~ Other files are needed by the template and are usually user provided - they are not part of the custom format.
+TPC's tariff model analyzes the impact of tariff on household incomes at the **national and state levels.**
- Here `bibliography.bib` is here to demo the usage of the bst file from the custom format.
+___
- **Remove this file and provide a suitable one for your template**
+TPC's model handles day-to-day variations in effective tariff rates for every good from every country. Our model uses **120 million** distinct tariff rates each year, and **10 billion** tariff rates for a 10-year revenue estimate.
-{{< pagebreak >}}
+___
+Optional sidebar content here — key facts, definitions, or callout information. Add a horizontal line in between chunks like so.
-## Checklist: Creating a custom format
+:::
-Here is the checklist to help you know what to modify:
+:::
-- Read the resources mentioned at the top,
-- Use this template repo to create a new repository for your format (Click on "Use this template" to create new github repo)
-- Once you are acquainted with the content, remove the resources that are there only as example (see above)
-- Update README by replacing `aft` and `Article Format Template` mentions for your journal format
-- Keep only the template partials that you need to tweak, and add custom ones if needed
-- Add any Lua filters for shortcodes and other that would be useful to create the expected output format
-- Add any external resource your format will need, and that should be part of the extension format that will be downloaded,
-- Check `_extension.yml` is updated correctly
-- Modify the skeleton `template.qmd` to your format and add any required resources to be downloaded to user.
-- Check `.quartoignore` is updated which everything that should not be downloaded.
-- Publish a demo of you format to github pages of the repo by using `quarto publish` command
+::: {.main-content}
-## Demo of some features found in this demo journal template
+The Tax Policy Center's tariff model is the most sophisticated model housed outside of a government agency. In addition to total tariff revenues, we estimate impacts on household incomes, businesses, and the broader economy.[^1]
-### Shortcode demo {#sec-shortcode}
+[^1]: You can add a footnote this way.
-PDF are rendered using {{< latex >}} but it is best if one can use a Markdown syntax for cross format support.
+Our team is equipped to help state and local governments and stakeholders assess the impact of tariffs on their regional economies.
-`{{< latex >}}` used in source is a shortcode syntax where the shortcode is included in the extension folder `_extensions`
+# Here's what header 1 looks like
+## Main Content: here's what header2 looks like
+The main body of your fact sheet goes here. It takes up two thirds of the page on wide
+screens, and full width on mobile. Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
-### Code chunk {#sec-chunks}
+::: {.figure-label}
-This format hide chunks by default as option has been set in `_extension.yml` file.
+FIGURE 1
-```{r}
-#| prompt: true
-# Loading some data but this chunk won't be shown.
-data("quine", package = "MASS")
-```
+:::
-But you can set `echo` option to `true` locally in the chunk
+::: {.two-col}
-```{r}
-#| echo: true
-m_pois <- glm(Days ~ (Eth + Sex + Age + Lrn)^2, data = quine, family = poisson)
-summary(m_pois)
-```
+::: {.col}
+Column #1 content here
+:::
-### Text color {#sec-summary}
+::: {.col}
+Column #2 content here
+:::
-Our format makes applying color on inline text possible using the `[content]{color=}` syntax. Let's see an example.
+:::
-Here we are using a special feature of our format which is the coloring because [pink is a **nice** color]{color=mypink}.
+::: {.box-deepblue}
+### Another Stat
+Supporting detail or context. box-teal is another option
+:::
+
+
+## Data Summary
-This is possible thanks to the Lua Filter included in the custom extension format.
+| Category | Value | Change |
+|----------|-------|--------|
+| Item A | 1,234 | +5% |
+| Item B | 567 | -2% |
-### Using references {.unnumbered}
+::: {.note-box}
+**Note:** This callout box highlights important caveats or supplementary information.
+:::
-I did not read this book [@CameronTrivedi2013] but it must be interesting.
+:::
-Differences between `aft-html` and `aft-pdf`:
+:::
-* For the HTML format, we are using Pandoc citeproc to include the bibliography. Here `reference-section-title` controls the title for the chapter that will be used.
-* For the PDF format, `natbib` is used by default and the bibliography is included with a title by the LaTeX template.
\ No newline at end of file