Initial commit
This commit is contained in:
commit
0581281524
200 changed files with 9070 additions and 0 deletions
|
@ -0,0 +1,95 @@
|
|||
$if(false)$
|
||||
% This sectrion defines the author block and affiliation blocks
|
||||
% based on the author and affiliation theme
|
||||
$endif$
|
||||
\newcommand{\authorstyle}[1]{{$if(titlepage-theme.author-fontsize)$\fontsize{$titlepage-theme.author-fontsize$}{$titlepage-theme.author-spacing$}\selectfont
|
||||
$endif$$for(titlepage-theme.author-fontstyle)$\$titlepage-theme.author-fontstyle${$endfor$#1$for(titlepage-theme.author-fontstyle)$}$endfor$}}
|
||||
|
||||
\newcommand{\affiliationstyle}[1]{{$if(titlepage-theme.affiliation-fontsize)$\fontsize{$titlepage-theme.affiliation-fontsize$}{$titlepage-theme.affiliation-spacing$}\selectfont
|
||||
$endif$$for(titlepage-theme.affiliation-fontstyle)$\$titlepage-theme.affiliation-fontstyle${$endfor$#1$for(titlepage-theme.affiliation-fontstyle)$}$endfor$}}
|
||||
|
||||
$if(titlepage-style-code.author.none)$
|
||||
\newcommand{\titlepageauthorblock}{}
|
||||
$endif$
|
||||
$if(titlepage-style-code.author.plain)$
|
||||
\newcommand{\titlepageauthorblock}{
|
||||
$if(titlepage-theme.author-color)$\textcolor{$titlepage-theme.author-color$}$endif${\authorstyle{$for(by-author)$\nohyphens{$by-author.name.literal$}$sep$$titlepage-theme.author-sep$$if(titlepage-theme.author-space-between)$~\\ \vspace{$titlepage-theme.author-space-between$}$endif$$endfor$\\}}
|
||||
}
|
||||
$endif$
|
||||
$if(titlepage-style-code.author.plain-with-and)$
|
||||
\newcommand{\titlepageauthorblock}{
|
||||
$if(titlepage-theme.author-color)$\textcolor{$titlepage-theme.author-color$}$endif${\authorstyle{$if(by-author/allbutlast)$$for(by-author/allbutlast)$\nohyphens{$by-author.name.literal$}$sep$$titlepage-theme.author-sep$ $if(titlepage-theme.author-space-between)$~\\ \vspace{$titlepage-theme.author-space-between$}$endif$$endfor$$for(by-author/last)$ and \nohyphens{$by-author.name.literal$}$endfor$$else$$for(by-author/last)$\nohyphens{$by-author.name.literal$}$if(titlepage-theme.author-space-between)$~\\ \vspace{$titlepage-theme.author-space-between$}$endif$$endfor$$endif$}}
|
||||
}
|
||||
$endif$
|
||||
$if(titlepage-style-code.author.superscript)$
|
||||
\newcommand{\titlepageauthorblock}{
|
||||
$if(titlepage-theme.author-color)$\textcolor{$titlepage-theme.author-color$}$endif${\authorstyle{$for(by-author)$\nohyphens{$by-author.name.literal$}$for(by-author.affiliations)${\textsuperscript{$it.number$}}$sep${\textsuperscript{,}}$endfor$$if(by-author.email)$$if(by-author.affiliations)$\textsuperscript{,}$endif${\textsuperscript{*}}$endif$$sep$$titlepage-theme.author-sep$ $if(titlepage-theme.author-space-between)$~\\ \vspace{$titlepage-theme.author-space-between$}$endif$$endfor$}}
|
||||
}
|
||||
$endif$
|
||||
$if(titlepage-style-code.author.superscript-with-and)$
|
||||
\newcommand{\titlepageauthorblock}{
|
||||
$if(titlepage-theme.author-color)$\textcolor{$titlepage-theme.author-color$}$endif${\authorstyle{$if(by-author/allbutlast)$$for(by-author/allbutlast)$\nohyphens{$by-author.name.literal$}$for(by-author.affiliations)${\textsuperscript{$it.number$}}$sep$\textsuperscript{,}$endfor$$if(by-author.email)$$if(by-author.affiliations)$\textsuperscript{,}$endif${\textsuperscript{*}}$endif$$sep$$titlepage-theme.author-sep$ $if(titlepage-theme.author-space-between)$~\\ \vspace{$titlepage-theme.author-space-between$}$endif$$endfor$$for(by-author/last)$ and $if(titlepage-theme.author-space-between)$~\\ \vspace{$titlepage-theme.author-space-between$}$endif$\nohyphens{$by-author.name.literal$}$for(by-author.affiliations)${\textsuperscript{$it.number$}}$sep$\textsuperscript{,}$endfor$$if(by-author.email)$$if(by-author.affiliations)$\textsuperscript{,}$endif${\textsuperscript{*}}$endif$$endfor$$else$$for(by-author/last)$\nohyphens{$by-author.name.literal$}$for(by-author.affiliations)${\textsuperscript{$it.number$}}$sep$\textsuperscript{,}$endfor$$if(by-author.email)$$if(by-author.affiliations)$\textsuperscript{,}$endif${\textsuperscript{,*}}$endif$$endfor$$endif$}}}
|
||||
$endif$
|
||||
$if(titlepage-style-code.author.author-address)$
|
||||
\newcommand{\titlepageauthorblock}{
|
||||
$if(titlepage-theme.author-color)$\textcolor{$titlepage-theme.author-color$}$endif${\authorstyle{
|
||||
$for(by-author)$$by-author.name.literal$$if(by-author.affiliations)$$titlepage-theme.affiliation-sep$$for(by-author.affiliations)$$by-author.affiliations.name$$if(by-author.affiliations.department)$$titlepage-theme.affiliation-sep$$by-author.affiliations.department$$endif$$if(by-author.affiliations.address)$$titlepage-theme.affiliation-sep$$for(by-author.affiliations.address)$$by-author.affiliations.address$$sep$$titlepage-theme.affiliation-sep$$endfor$$endif$$sep$$titlepage-theme.affiliation-sep$$endfor$$endif$$if(by-author.email)$$titlepage-theme.affiliation-sep$$by-author.email$$endif$$sep$\\
|
||||
$if(titlepage-theme.author-space-between)$\vspace{$titlepage-theme.author-space-between$}$endif$$endfor$}}}
|
||||
$endif$
|
||||
$if(titlepage-style-code.author.two-column)$
|
||||
\newcommand{\titlepageauthorblock}{
|
||||
\newlength{\miniA}
|
||||
\setlength{\miniA}{0pt}
|
||||
\newlength{\namelen}
|
||||
$for(by-author)$\settowidth{\namelen}{$by-author.name.literal$}\setlength{\miniA}{\maxof{\miniA}{\namelen}}$endfor$
|
||||
\setlength{\miniA}{\miniA+0.05\textwidth}
|
||||
\newlength{\miniB}
|
||||
\setlength{\miniB}{0.99\textwidth - \miniA}
|
||||
\begin{minipage}{\miniA}
|
||||
\begin{flushleft}
|
||||
$if(titlepage-theme.author-color)$\textcolor{$titlepage-theme.author-color$}$endif${\authorstyle{$for(by-author)$$by-author.name.literal$$sep$\\ $if(titlepage-theme.author-space-between)$
|
||||
\vspace{$titlepage-theme.author-space-between$}$endif$$endfor$}}
|
||||
\end{flushleft}
|
||||
\end{minipage}
|
||||
\begin{minipage}{\miniB}
|
||||
\begin{flushright}
|
||||
$if(titlepage-theme.affiliation-color)$\textcolor{$titlepage-theme.affiliation-color$}$endif${\affiliationstyle{$for(by-author)$$for(by-author.affiliations/first)$$by-author.affiliations.name$
|
||||
$endfor$$sep$\\
|
||||
$if(titlepage-theme.affiliation-space-between)$\vspace{$titlepage-theme.affiliation-space-between$}
|
||||
$endif$$endfor$\\}}
|
||||
\end{flushright}
|
||||
\end{minipage}}
|
||||
$endif$
|
||||
|
||||
$if(titlepage-style-code.affiliation.none)$
|
||||
\newcommand{\titlepageaffiliationblock}{}
|
||||
$endif$
|
||||
$if(titlepage-style-code.affiliation.numbered-list)$
|
||||
\newcommand{\titlepageaffiliationblock}{
|
||||
\hangindent=1em
|
||||
\hangafter=1
|
||||
\affiliationstyle{$for(by-affiliation)${$it.number$}.~$if(by-affiliation.name)$$it.name$$endif$$if(by-affiliation.department)$$if(by-affiliation.name)$$titlepage-theme.affiliation-sep$$endif$$it.department$$endif$$if(by-affiliation.address)$$if(by-affiliation.name)$$titlepage-theme.affiliation-sep$$else$$if(by-affiliation.department)$$titlepage-theme.affiliation-sep$$endif$$endif$$it.address$$endif$%
|
||||
$sep$\par\hangindent=1em\hangafter=1$if(titlepage-theme.affiliation-space-between)$
|
||||
\vspace{$titlepage-theme.affiliation-space-between$}$endif$
|
||||
$endfor$
|
||||
}}
|
||||
$endif$
|
||||
$if(titlepage-style-code.affiliation.numbered-list-with-correspondence)$
|
||||
\newcommand{\titlepageaffiliationblock}{
|
||||
\hangindent=1em
|
||||
\hangafter=1
|
||||
{\affiliationstyle{
|
||||
$for(by-affiliation)${$it.number$}.~$if(by-affiliation.name)$$it.name$$endif$$if(by-affiliation.department)$$if(by-affiliation.name)$$titlepage-theme.affiliation-sep$$endif$$it.department$$endif$$if(by-affiliation.address)$$if(by-affiliation.name)$$titlepage-theme.affiliation-sep$$else$$if(by-affiliation.department)$$titlepage-theme.affiliation-sep$$endif$$endif$$it.address$$endif$
|
||||
$sep$\par\hangindent=1em\hangafter=1$if(titlepage-theme.affiliation-space-between)$
|
||||
\vspace{$titlepage-theme.affiliation-space-between$}$endif$
|
||||
$endfor$
|
||||
|
||||
\vspace{1\baselineskip}
|
||||
$if(author)$
|
||||
$for(by-author)$
|
||||
$if(by-author.email)$
|
||||
* \textit{Correspondence:}~$by-author.name.literal$~$by-author.email$
|
||||
$endif$$endfor$$endif$
|
||||
}}
|
||||
}
|
||||
$endif$
|
121
_extensions/nmfs-opensci/titlepage/_coverpage.tex
Normal file
121
_extensions/nmfs-opensci/titlepage/_coverpage.tex
Normal file
|
@ -0,0 +1,121 @@
|
|||
% This is a combination of Pandoc templating and LaTeX
|
||||
% Pandoc templating https://pandoc.org/MANUAL.html#templates
|
||||
% See the README for help
|
||||
|
||||
\thispagestyle{empty}
|
||||
|
||||
$if(coverpage-geometry)$
|
||||
\newgeometry{$for(coverpage-geometry)$$coverpage-geometry$$sep$,$endfor$}
|
||||
$else$
|
||||
\newgeometry{top=-100in}
|
||||
$endif$
|
||||
|
||||
% Page color
|
||||
$if(coverpage-theme.page-html-color)$
|
||||
\definecolor{pgcolor}{HTML}{$coverpage-theme.page-html-color$}
|
||||
\pagecolor{pgcolor}\afterpage{\nopagecolor}
|
||||
$endif$
|
||||
|
||||
\newcommand{\coverauthorstyle}[1]{{$if(coverpage-theme.author-fontsize)$\fontsize{$coverpage-theme.author-fontsize$}{$coverpage-theme.author-spacing$}\selectfont
|
||||
$endif$$for(coverpage-theme.author-fontstyle)$\$coverpage-theme.author-fontstyle${$endfor$#1$for(coverpage-theme.author-fontstyle)$}$endfor$}}
|
||||
|
||||
\begin{tikzpicture}[remember picture, overlay, inner sep=0pt, outer sep=0pt]
|
||||
|
||||
$if(coverpage-bg-image)$
|
||||
\tikzfading[name=fadeout, inner color=transparent!0,outer color=transparent!100]
|
||||
\tikzfading[name=fadein, inner color=transparent!100,outer color=transparent!0]
|
||||
\node[$if(coverpage-theme.bg-image-fading)$ scope fading=$coverpage-theme.bg-image-fading$, $endif$anchor=south west$if(coverpage-theme.bg-image-rotate)$, rotate=$coverpage-theme.bg-image-rotate$$endif$$if(coverpage-theme.bg-image-opacity)$, opacity=$coverpage-theme.bg-image-opacity$$endif$] at ($$(current page.south west)+($if(coverpage-theme.bg-image-left)$$coverpage-theme.bg-image-left$$else$0cm$endif$, $if(coverpage-theme.bg-image-bottom)$$coverpage-theme.bg-image-bottom$$else$0cm$endif$)$$) {
|
||||
\includegraphics[width=$coverpage-theme.bg-image-size$, keepaspectratio]{$coverpage-bg-image$}};
|
||||
$endif$
|
||||
|
||||
$if(coverpage-style-code.title.plain)$
|
||||
$if(coverpage-title)$
|
||||
% Title
|
||||
\newcommand{\titlelocationleft}{$coverpage-theme.title-left$}
|
||||
\newcommand{\titlelocationbottom}{$coverpage-theme.title-bottom$}
|
||||
\newcommand{\titlealign}{$coverpage-theme.title-align$}
|
||||
|
||||
\begin{scope}{%
|
||||
$if(coverpage-theme.title-fontsize)$\fontsize{$coverpage-theme.title-fontsize$}{$coverpage-theme.title-spacing$}\selectfont
|
||||
$endif$$if(coverpage-theme.title-fontfamily)$\coverpagetitlefont
|
||||
$endif$\node[anchor=$coverpage-theme.title-anchor$, align=$coverpage-theme.title-align$, rotate=$coverpage-theme.title-rotate$] (Title1) at ($$(current page.south west)+(\titlelocationleft,\titlelocationbottom)$$) [text width = $coverpage-theme.title-width$$if(coverpage-theme.title-node-spec)$, $coverpage-theme.title-node-spec$$endif$] {$if(coverpage-theme.title-color)$\textcolor{$coverpage-theme.title-color$}$endif${$for(coverpage-theme.title-fontstyle)$\$coverpage-theme.title-fontstyle${$endfor$\nohyphens{$coverpage-title$}$for(coverpage-theme.title-fontstyle)$}$endfor$}};
|
||||
}
|
||||
\end{scope}
|
||||
$endif$
|
||||
$endif$
|
||||
$if(coverpage-style-code.author.plain)$
|
||||
$if(coverpage-author)$
|
||||
|
||||
% Author
|
||||
\newcommand{\authorlocationleft}{$coverpage-theme.author-left$}
|
||||
\newcommand{\authorlocationbottom}{$coverpage-theme.author-bottom$}
|
||||
\newcommand{\authoralign}{$coverpage-theme.author-align$}
|
||||
|
||||
\begin{scope}
|
||||
{%
|
||||
$if(coverpage-theme.author-fontsize)$\fontsize{$coverpage-theme.author-fontsize$}{$coverpage-theme.author-spacing$}\selectfont
|
||||
$endif$$if(coverpage-theme.author-fontfamily)$\coverpageauthorfont
|
||||
$endif$\node[anchor=$coverpage-theme.author-anchor$, align=$coverpage-theme.author-align$, rotate=$coverpage-theme.author-rotate$] (Author1) at ($$(current page.south west)+(\authorlocationleft,\authorlocationbottom)$$) [text width = $coverpage-theme.author-width$$if(coverpage-theme.author-node-spec)$, $coverpage-theme.author-node-spec$$endif$] {
|
||||
$if(coverpage-theme.author-color)$\textcolor{$coverpage-theme.author-color$}$endif$\coverauthorstyle{$for(coverpage-author)$$coverpage-author$$sep$$coverpage-theme.author-sep$$endfor$\\}};
|
||||
}
|
||||
\end{scope}
|
||||
$endif$
|
||||
$endif$
|
||||
$if(coverpage-style-code.header.plain)$
|
||||
$if(coverpage-header)$
|
||||
|
||||
% Header
|
||||
\newcommand{\headerlocationleft}{$coverpage-theme.header-left$}
|
||||
\newcommand{\headerlocationbottom}{$coverpage-theme.header-bottom$}
|
||||
\newcommand{\headerlocationalign}{$coverpage-theme.header-align$}
|
||||
|
||||
\begin{scope}
|
||||
{%
|
||||
$if(coverpage-theme.header-fontsize)$\fontsize{$coverpage-theme.header-fontsize$}{$coverpage-theme.header-spacing$}\selectfont
|
||||
$endif$ $if(coverpage-theme.header-fontfamily)$\coverpageheaderfont
|
||||
$endif$\node[anchor=$coverpage-theme.header-anchor$, align=$coverpage-theme.header-align$, rotate=$coverpage-theme.header-rotate$] (Header1) at %
|
||||
($$(current page.south west)+(\headerlocationleft,\headerlocationbottom)$$) [text width = $coverpage-theme.header-width$$if(coverpage-theme.header-node-spec)$, $coverpage-theme.header-node-spec$$endif$] {$if(coverpage-theme.header-color)$\textcolor{$coverpage-theme.header-color$}$endif${$for(coverpage-theme.header-fontstyle)$\$coverpage-theme.header-fontstyle${$endfor$\nohyphens{$coverpage-header$}$for(coverpage-theme.header-fontstyle)$}$endfor$}};
|
||||
}
|
||||
\end{scope}
|
||||
$endif$
|
||||
$endif$
|
||||
$if(coverpage-style-code.footer.plain)$
|
||||
$if(coverpage-footer)$
|
||||
|
||||
% Footer
|
||||
\newcommand{\footerlocationleft}{$coverpage-theme.footer-left$}
|
||||
\newcommand{\footerlocationbottom}{$coverpage-theme.footer-bottom$}
|
||||
\newcommand{\footerlocationalign}{$coverpage-theme.footer-align$}
|
||||
|
||||
\begin{scope}
|
||||
{%
|
||||
$if(coverpage-theme.footer-fontsize)$\fontsize{$coverpage-theme.footer-fontsize$}{$coverpage-theme.footer-spacing$}\selectfont
|
||||
$endif$ $if(coverpage-theme.footer-fontfamily)$\coverpagefooterfont
|
||||
$endif$\node[anchor=$coverpage-theme.footer-anchor$, align=$coverpage-theme.footer-align$, rotate=$coverpage-theme.footer-rotate$] (Footer1) at %
|
||||
($$(current page.south west)+(\footerlocationleft,\footerlocationbottom)$$) [text width = $coverpage-theme.footer-width$$if(coverpage-theme.footer-node-spec)$, $coverpage-theme.footer-node-spec$$endif$] {$if(coverpage-theme.footer-color)$\textcolor{$coverpage-theme.footer-color$}$endif${$for(coverpage-theme.footer-fontstyle)$\$coverpage-theme.footer-fontstyle${$endfor$\nohyphens{$coverpage-footer$}$for(coverpage-theme.footer-fontstyle)$}$endfor$}};
|
||||
}
|
||||
\end{scope}
|
||||
$endif$
|
||||
$endif$
|
||||
$if(coverpage-style-code.date.plain)$
|
||||
$if(coverpage-date)$
|
||||
|
||||
% Date
|
||||
\newcommand{\datelocationleft}{$coverpage-theme.date-left$}
|
||||
\newcommand{\datelocationbottom}{$coverpage-theme.date-bottom$}
|
||||
\newcommand{\datelocationalign}{$coverpage-theme.date-align$}
|
||||
|
||||
\begin{scope}
|
||||
{%
|
||||
$if(coverpage-theme.date-fontsize)$\fontsize{$coverpage-theme.date-fontsize$}{$coverpage-theme.date-spacing$}\selectfont
|
||||
$endif$ $if(coverpage-theme.date-fontfamily)$\coverpagedatefont
|
||||
$endif$\node[anchor=$coverpage-theme.date-anchor$, align=$coverpage-theme.date-align$, rotate=$coverpage-theme.date-rotate$] (Date1) at %
|
||||
($$(current page.south west)+(\datelocationleft,\datelocationbottom)$$) [text width = $coverpage-theme.date-width$$if(coverpage-theme.date-node-spec)$, $coverpage-theme.date-node-spec$$endif$] {$if(coverpage-theme.date-color)$\textcolor{$coverpage-theme.date-color$}$endif${$for(coverpage-theme.date-fontstyle)$\$coverpage-theme.date-fontstyle${$endfor$\nohyphens{$coverpage-date$}$for(coverpage-theme.date-fontstyle)$}$endfor$}};
|
||||
}
|
||||
\end{scope}
|
||||
$endif$
|
||||
$endif$
|
||||
|
||||
\end{tikzpicture}
|
||||
\clearpage
|
||||
\restoregeometry
|
20
_extensions/nmfs-opensci/titlepage/_extension.yml
Normal file
20
_extensions/nmfs-opensci/titlepage/_extension.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
title: titlepage
|
||||
author: Eli Holmes
|
||||
quarto-required: ">=1.1.0"
|
||||
version: 3.3.8
|
||||
contributes:
|
||||
format:
|
||||
pdf:
|
||||
filters:
|
||||
- titlepage-theme.lua
|
||||
- coverpage-theme.lua
|
||||
template-partials:
|
||||
- "_coverpage.tex"
|
||||
- "_author-affiliation-themes.tex"
|
||||
- "_header-footer-date-themes.tex"
|
||||
- "_title-themes.tex"
|
||||
- "_titlepage.tex"
|
||||
- "before-body.tex"
|
||||
- "pandoc.tex"
|
||||
format-resources:
|
||||
- "fonts/qualitype/opentype/QTDublinIrish.otf"
|
|
@ -0,0 +1,156 @@
|
|||
\newcommand{\headerstyled}{%
|
||||
{$if(titlepage-theme.header-fontsize)$\fontsize{$titlepage-theme.header-fontsize$}{$titlepage-theme.header-spacing$}\selectfont
|
||||
$endif$$for(titlepage-theme.header-fontstyle)$\$titlepage-theme.header-fontstyle${$endfor$$titlepage-header$$for(titlepage-theme.header-fontstyle)$}$endfor$}
|
||||
}
|
||||
\newcommand{\footerstyled}{%
|
||||
{$if(titlepage-theme.footer-fontsize)$\fontsize{$titlepage-theme.footer-fontsize$}{$titlepage-theme.footer-spacing$}\selectfont
|
||||
$endif$$for(titlepage-theme.footer-fontstyle)$\$titlepage-theme.footer-fontstyle${$endfor$$titlepage-footer$$for(titlepage-theme.footer-fontstyle)$}$endfor$}
|
||||
}
|
||||
\newcommand{\datestyled}{%
|
||||
{$if(titlepage-theme.date-fontsize)$\fontsize{$titlepage-theme.date-fontsize$}{$titlepage-theme.date-spacing$}\selectfont
|
||||
$endif$$for(titlepage-theme.date-fontstyle)$\$titlepage-theme.date-fontstyle${$endfor$$date$$for(titlepage-theme.date-fontstyle)$}$endfor$}
|
||||
}
|
||||
|
||||
$if(titlepage-style-code.header.none)$
|
||||
\newcommand{\titlepageheaderblock}{}
|
||||
$endif$
|
||||
|
||||
$if(titlepage-style-code.header.plain)$
|
||||
\newcommand{\titlepageheaderblock}{\headerstyled}
|
||||
$endif$
|
||||
$if(titlepage-style-code.header.colorbox)$
|
||||
\newcommand{\titlepageheaderblock}{
|
||||
{\setlength{\fboxrule}{$if(titlepage-theme.header-colorbox-borderwidth)$$titlepage-theme.header-colorbox-borderwidth$$else$0pt$endif$}
|
||||
\fcolorbox{$if(titlepage-theme.header-colorbox-bordercolor)$$titlepage-theme.header-colorbox-bordercolor$$else$black$endif$}{$if(titlepage-theme.header-colorbox-fill)$$titlepage-theme.header-colorbox-fill$$else$cyan$endif$}{
|
||||
\parbox[t]{0.90\minipagewidth}{ % Outer full width box
|
||||
\parbox[t]{0.85\minipagewidth}{ % Inner box for inner right text margin
|
||||
$if(titlepage-theme.header-align)$\titlepageheaderalign$else$$if(titlepage-theme.page-align)$\titlepagepagealign$endif$$endif$
|
||||
\vspace{0.7cm}
|
||||
|
||||
\headerstyled
|
||||
|
||||
\vspace{0.7cm}
|
||||
}} % end of parboxes
|
||||
} % fcolorbox
|
||||
} % ensure fbox set is restricted
|
||||
}
|
||||
$endif$
|
||||
$if(titlepage-style-code.header.doublelinewide)$
|
||||
\newcommand{\titlepageheaderblock}{
|
||||
\rule{\textwidth}{0.4pt} % Thin horizontal rule
|
||||
\vspace{0.1\textheight} % Whitespace between the top rules and title
|
||||
|
||||
\headerstyled
|
||||
|
||||
\vspace{0.025\textheight}
|
||||
\rule{0.3\textwidth}{0.4pt} % Short horizontal rule under the title
|
||||
}
|
||||
$endif$
|
||||
$if(titlepage-style-code.header.doublelinetight)$
|
||||
\newcommand{\titlepageheaderblock}{
|
||||
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}
|
||||
|
||||
\HRule\\[0.4cm]
|
||||
|
||||
\headerstyled
|
||||
|
||||
\HRule\\
|
||||
}
|
||||
$endif$
|
||||
|
||||
$if(titlepage-style-code.footer.none)$
|
||||
\newcommand{\titlepagefooterblock}{}
|
||||
$endif$
|
||||
$if(titlepage-style-code.footer.plain)$
|
||||
\newcommand{\titlepagefooterblock}{
|
||||
\footerstyled
|
||||
}
|
||||
$endif$
|
||||
$if(titlepage-style-code.footer.colorbox)$
|
||||
\newcommand{\titlepagefooterblock}{
|
||||
{\setlength{\fboxrule}{$if(titlepage-theme.footer-colorbox-borderwidth)$$titlepage-theme.footer-colorbox-borderwidth$$else$0pt$endif$}
|
||||
\fcolorbox{$if(titlepage-theme.footer-colorbox-bordercolor)$$titlepage-theme.footer-colorbox-bordercolor$$else$black$endif$}{$if(titlepage-theme.footer-colorbox-fill)$$titlepage-theme.footer-colorbox-fill$$else$cyan$endif$}{
|
||||
\parbox[t]{0.90\minipagewidth}{ % Outer full width box
|
||||
\parbox[t]{0.85\minipagewidth}{ % Inner box for inner right text margin
|
||||
$if(titlepage-theme.footer-align)$\titlepagefooteralign$else$$if(titlepage-theme.page-align)$\titlepagepagealign$endif$$endif$
|
||||
\vspace{0.7cm}
|
||||
|
||||
\footerstyled
|
||||
|
||||
\vspace{0.7cm}
|
||||
}} % end of parboxes
|
||||
} % fcolorbox
|
||||
} % ensure fbox set is restricted
|
||||
}
|
||||
$endif$
|
||||
$if(titlepage-style-code.footer.doublelinewide)$
|
||||
\newcommand{\titlepagefooterblock}{
|
||||
\rule{\textwidth}{0.4pt} % Thin horizontal rule
|
||||
\vspace{0.1\textheight} % Whitespace between the top rules and title
|
||||
|
||||
\footerstyled
|
||||
|
||||
\vspace{0.025\textheight}
|
||||
\rule{0.3\textwidth}{0.4pt} % Short horizontal rule under the title
|
||||
}
|
||||
$endif$
|
||||
$if(titlepage-style-code.footer.doublelinetight)$
|
||||
\newcommand{\titlepagefooterblock}{
|
||||
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}
|
||||
|
||||
\HRule\\[0.4cm]
|
||||
|
||||
\footerstyled
|
||||
|
||||
\HRule\\
|
||||
}
|
||||
$endif$
|
||||
|
||||
$if(titlepage-style-code.date.none)$
|
||||
\newcommand{\titlepagedateblock}{}
|
||||
$endif$
|
||||
$if(titlepage-style-code.date.plain)$
|
||||
\newcommand{\titlepagedateblock}{
|
||||
\datestyled
|
||||
}
|
||||
$endif$
|
||||
$if(titlepage-style-code.date.colorbox)$
|
||||
\newcommand{\titlepagedateblock}{
|
||||
{\setlength{\fboxrule}{$if(titlepage-theme.date-colorbox-borderwidth)$$titlepage-theme.date-colorbox-borderwidth$$else$0pt$endif$}
|
||||
\fcolorbox{$if(titlepage-theme.date-colorbox-bordercolor)$$titlepage-theme.date-colorbox-bordercolor$$else$black$endif$}{$if(titlepage-theme.date-colorbox-fill)$$titlepage-theme.date-colorbox-fill$$else$cyan$endif$}{
|
||||
\parbox[t]{0.90\minipagewidth}{ % Outer full width box
|
||||
\parbox[t]{0.85\minipagewidth}{ % Inner box for inner right text margin
|
||||
$if(titlepage-theme.date-align)$\titlepagedatealign$else$$if(titlepage-theme.page-align)$\titlepagepagealign$endif$$endif$
|
||||
\vspace{0.7cm}
|
||||
|
||||
\datestyled
|
||||
|
||||
\vspace{0.7cm}
|
||||
}} % end of parboxes
|
||||
} % fcolorbox
|
||||
} % ensure fbox set is restricted
|
||||
}
|
||||
$endif$
|
||||
$if(titlepage-style-code.date.doublelinewide)$
|
||||
\newcommand{\titlepagedateblock}{
|
||||
\rule{\textwidth}{0.4pt} % Thin horizontal rule
|
||||
\vspace{0.1\textheight} % Whitespace between the top rules and title
|
||||
|
||||
\datestyled
|
||||
|
||||
\vspace{0.025\textheight}
|
||||
\rule{0.3\textwidth}{0.4pt} % Short horizontal rule under the title
|
||||
}
|
||||
$endif$
|
||||
$if(titlepage-style-code.date.doublelinetight)$
|
||||
\newcommand{\titlepagedateblock}{
|
||||
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}
|
||||
|
||||
\HRule\\[0.4cm]
|
||||
|
||||
\datestyled
|
||||
|
||||
\HRule\\
|
||||
}
|
||||
$endif$
|
||||
|
68
_extensions/nmfs-opensci/titlepage/_title-themes.tex
Normal file
68
_extensions/nmfs-opensci/titlepage/_title-themes.tex
Normal file
|
@ -0,0 +1,68 @@
|
|||
$if(false)$
|
||||
% This file defines the author block and affiliation block
|
||||
% based on the author and affiliation theme
|
||||
% none, plain, colorbox, doublelined
|
||||
$endif$
|
||||
|
||||
\newcommand{\titleandsubtitle}{
|
||||
% Title and subtitle
|
||||
$if(title)$
|
||||
{$if(titlepage-theme.title-fontsize)$\fontsize{$titlepage-theme.title-fontsize$}{$titlepage-theme.title-spacing$}\selectfont
|
||||
$endif$$if(titlepage-theme.title-color)$\textcolor{$titlepage-theme.title-color$}$endif${$for(titlepage-theme.title-fontstyle)$\$titlepage-theme.title-fontstyle${$endfor$\nohyphens{$title$}$for(titlepage-theme.title-fontstyle)$}$endfor$}\par
|
||||
}%
|
||||
$endif$
|
||||
$if(subtitle)$
|
||||
|
||||
\vspace{\betweentitlesubtitle}
|
||||
{
|
||||
$if(titlepage-theme.subtitle-fontsize)$\fontsize{$titlepage-theme.subtitle-fontsize$}{$titlepage-theme.subtitle-spacing$}\selectfont
|
||||
$endif$$if(titlepage-theme.subtitle-color)$\textcolor{$titlepage-theme.subtitle-color$}$endif${$for(titlepage-theme.subtitle-fontstyle)$\$titlepage-theme.subtitle-fontstyle${$endfor$\nohyphens{$subtitle$}$for(titlepage-theme.subtitle-fontstyle)$}$endfor$}\par
|
||||
}$endif$}
|
||||
$--
|
||||
$if(titlepage-style-code.title.none)$
|
||||
\newcommand{\titlepagetitleblock}{}$endif$
|
||||
$--
|
||||
$if(titlepage-style-code.title.plain)$
|
||||
\newcommand{\titlepagetitleblock}{
|
||||
\titleandsubtitle
|
||||
}
|
||||
$endif$
|
||||
$--
|
||||
$if(titlepage-style-code.title.colorbox)$
|
||||
\newcommand{\titlepagetitleblock}{
|
||||
{\setlength{\fboxrule}{$if(titlepage-theme.title-colorbox-borderwidth)$$titlepage-theme.title-colorbox-borderwidth$$else$0pt$endif$}
|
||||
\fcolorbox{$if(titlepage-theme.title-colorbox-bordercolor)$$titlepage-theme.title-colorbox-bordercolor$$else$black$endif$}{$if(titlepage-theme.title-colorbox-fill)$$titlepage-theme.title-colorbox-fill$$else$cyan$endif$}{
|
||||
\parbox[t]{0.90\minipagewidth}{ % Outer full width box
|
||||
\parbox[t]{0.85\minipagewidth}{ % Inner box for inner right text margin
|
||||
$if(titlepage-theme.title-align)$\titlepagetitlealign$else$$if(titlepage-theme.page-align)$\titlepagepagealign$endif$$endif$
|
||||
\vspace{0.7cm}
|
||||
|
||||
\titleandsubtitle
|
||||
|
||||
\vspace{0.7cm}
|
||||
}} % end of parboxes
|
||||
} % fcolorbox
|
||||
} % ensure fbox set is restricted
|
||||
}$endif$
|
||||
$--
|
||||
$if(titlepage-style-code.title.doublelinewide)$
|
||||
\newcommand{\titlepagetitleblock}{
|
||||
\rule{\textwidth}{0.4pt} % Thin horizontal rule
|
||||
\vspace{0.025\textheight} % Whitespace between the top rules and title
|
||||
|
||||
\titleandsubtitle
|
||||
|
||||
\vspace{0.025\textheight}
|
||||
\rule{0.3\textwidth}{0.4pt} % Short horizontal rule under the title
|
||||
}$endif$
|
||||
$--
|
||||
$if(titlepage-style-code.title.doublelinetight)$
|
||||
\newcommand{\titlepagetitleblock}{
|
||||
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}
|
||||
|
||||
\HRule\\[0.4cm]
|
||||
|
||||
\titleandsubtitle
|
||||
|
||||
\HRule\\
|
||||
}$endif$
|
213
_extensions/nmfs-opensci/titlepage/_titlepage.tex
Normal file
213
_extensions/nmfs-opensci/titlepage/_titlepage.tex
Normal file
|
@ -0,0 +1,213 @@
|
|||
%%% TITLE PAGE START
|
||||
|
||||
% Set up alignment commands
|
||||
$if(titlepage-theme.page-align)$
|
||||
%Page
|
||||
\newcommand{\titlepagepagealign}{
|
||||
\ifthenelse{\equal{$titlepage-theme.page-align$}{right}}{\raggedleft}{}
|
||||
\ifthenelse{\equal{$titlepage-theme.page-align$}{center}}{\centering}{}
|
||||
\ifthenelse{\equal{$titlepage-theme.page-align$}{left}}{\raggedright}{}
|
||||
}
|
||||
$endif$
|
||||
$if(titlepage-theme.title-align)$
|
||||
%% Titles
|
||||
\newcommand{\titlepagetitlealign}{
|
||||
\ifthenelse{\equal{$titlepage-theme.title-align$}{right}}{\raggedleft}{}
|
||||
\ifthenelse{\equal{$titlepage-theme.title-align$}{center}}{\centering}{}
|
||||
\ifthenelse{\equal{$titlepage-theme.title-align$}{left}}{\raggedright}{}
|
||||
\ifthenelse{\equal{$titlepage-theme.title-align$}{spread}}{\makebox[\linewidth][s]}{}
|
||||
}
|
||||
$endif$
|
||||
$if(titlepage-theme.author-align)$
|
||||
%Author
|
||||
\newcommand{\titlepageauthoralign}{
|
||||
\ifthenelse{\equal{$titlepage-theme.author-align$}{right}}{\raggedleft}{}
|
||||
\ifthenelse{\equal{$titlepage-theme.author-align$}{center}}{\centering}{}
|
||||
\ifthenelse{\equal{$titlepage-theme.author-align$}{left}}{\raggedright}{}
|
||||
\ifthenelse{\equal{$titlepage-theme.author-align$}{spread}}{\makebox[\linewidth][s]}{}
|
||||
}
|
||||
$endif$
|
||||
$if(titlepage-theme.affiliation-align)$
|
||||
%Affiliation
|
||||
\newcommand{\titlepageaffiliationalign}{
|
||||
\ifthenelse{\equal{$titlepage-theme.affiliation-align$}{right}}{\raggedleft}{}
|
||||
\ifthenelse{\equal{$titlepage-theme.affiliation-align$}{center}}{\centering}{}
|
||||
\ifthenelse{\equal{$titlepage-theme.affiliation-align$}{left}}{\raggedright}{}
|
||||
\ifthenelse{\equal{$titlepage-theme.affiliation-align$}{spread}}{\makebox[\linewidth][s]}{}
|
||||
}
|
||||
$endif$
|
||||
$if(titlepage-theme.footer-align)$
|
||||
%Footer
|
||||
\newcommand{\titlepagefooteralign}{
|
||||
\ifthenelse{\equal{$titlepage-theme.footer-align$}{right}}{\raggedleft}{}
|
||||
\ifthenelse{\equal{$titlepage-theme.footer-align$}{center}}{\centering}{}
|
||||
\ifthenelse{\equal{$titlepage-theme.footer-align$}{left}}{\raggedright}{}
|
||||
\ifthenelse{\equal{$titlepage-theme.footer-align$}{spread}}{\makebox[\linewidth][s]}{}
|
||||
}
|
||||
$endif$
|
||||
$if(titlepage-theme.header-align)$
|
||||
%Header
|
||||
\newcommand{\titlepageheaderalign}{
|
||||
\ifthenelse{\equal{$titlepage-theme.header-align$}{right}}{\raggedleft}{}
|
||||
\ifthenelse{\equal{$titlepage-theme.header-align$}{center}}{\centering}{}
|
||||
\ifthenelse{\equal{$titlepage-theme.header-align$}{left}}{\raggedright}{}
|
||||
\ifthenelse{\equal{$titlepage-theme.header-align$}{spread}}{\makebox[\linewidth][s]}{}
|
||||
}
|
||||
$endif$
|
||||
$if(titlepage-theme.logo-align)$
|
||||
%Logo
|
||||
\newcommand{\titlepagelogoalign}{
|
||||
\ifthenelse{\equal{$titlepage-theme.logo-align$}{right}}{\raggedleft}{}
|
||||
\ifthenelse{\equal{$titlepage-theme.logo-align$}{center}}{\centering}{}
|
||||
\ifthenelse{\equal{$titlepage-theme.logo-align$}{left}}{\raggedright}{}
|
||||
}
|
||||
$endif$
|
||||
$if(titlepage-theme.date-align)$
|
||||
%% Titles
|
||||
\newcommand{\titlepagedatealign}{
|
||||
\ifthenelse{\equal{$titlepage-theme.title-align$}{right}}{\raggedleft}{}
|
||||
\ifthenelse{\equal{$titlepage-theme.title-align$}{center}}{\centering}{}
|
||||
\ifthenelse{\equal{$titlepage-theme.title-align$}{left}}{\raggedright}{}
|
||||
}
|
||||
$endif$
|
||||
|
||||
$-- % Set up commands based on themes
|
||||
$_title-themes.tex()$
|
||||
$_author-affiliation-themes.tex()$
|
||||
$_header-footer-date-themes.tex()$
|
||||
|
||||
%set up blocks so user can specify order
|
||||
\newcommand{\titleblock}{$if(title)$
|
||||
$if(subtitle)$
|
||||
\newlength{\betweentitlesubtitle}
|
||||
\setlength{\betweentitlesubtitle}{$if(titlepage-theme.title-subtitle-space-between)$$titlepage-theme.title-subtitle-space-between$$else$\baselineskip$endif$}
|
||||
$endif$
|
||||
{$if(titlepage-theme.title-align)$\titlepagetitlealign$endif$
|
||||
$if(titlepage-theme.title-fontfamily)$\titlepagetitlefont$endif$
|
||||
{\titlepagetitleblock}
|
||||
}
|
||||
|
||||
\vspace{$if(titlepage-theme.title-space-after)$$titlepage-theme.title-space-after$$else$0pt$endif$}
|
||||
$else$$endif$}
|
||||
|
||||
\newcommand{\authorblock}{$if(author)$
|
||||
{$if(titlepage-theme.author-align)$\titlepageauthoralign
|
||||
$endif$$if(titlepage-theme.author-fontfamily)$\titlepageauthorfont
|
||||
$endif$\titlepageauthorblock}
|
||||
|
||||
\vspace{$if(titlepage-theme.author-space-after)$$titlepage-theme.author-space-after$$else$0pt$endif$}
|
||||
$else$$endif$}
|
||||
|
||||
\newcommand{\affiliationblock}{$if(author)$
|
||||
$if(titlepage-theme.affiliation-color)$\textcolor{$titlepage-theme.affiliation-color$}$endif${$if(titlepage-theme.affiliation-align)$\titlepageaffiliationalign
|
||||
$endif$$if(titlepage-theme.affiliation-fontfamily)$\titlepageaffiliationfont
|
||||
$endif$\titlepageaffiliationblock}
|
||||
|
||||
\vspace{$if(titlepage-theme.affiliation-space-after)$$titlepage-theme.affiliation-space-after$$else$0pt$endif$}
|
||||
$else$$endif$}
|
||||
|
||||
\newcommand{\logoblock}{$if(titlepage-logo)$
|
||||
{$if(titlepage-theme.logo-align)$\titlepagelogoalign
|
||||
$endif$\includegraphics[width=$if(titlepage-theme.logo-size)$$titlepage-theme.logo-size$$else$0.2\textwidth$endif$]{$titlepage-logo$}}
|
||||
|
||||
\vspace{$if(titlepage-theme.logo-space-after)$$titlepage-theme.logo-space-after$$else$0pt$endif$}
|
||||
$else$$endif$}
|
||||
|
||||
\newcommand{\footerblock}{$if(titlepage-footer)$
|
||||
$if(titlepage-theme.footer-color)$\textcolor{$titlepage-theme.footer-color$}$endif${$if(titlepage-theme.footer-align)$\titlepagefooteralign
|
||||
$endif$$if(titlepage-theme.footer-fontfamily)$\titlepagefooterfont
|
||||
$endif$\titlepagefooterblock}
|
||||
|
||||
\vspace{$if(titlepage-theme.footer-space-after)$$titlepage-theme.footer-space-after$$else$0pt$endif$}
|
||||
$else$$endif$}
|
||||
|
||||
\newcommand{\dateblock}{$if(date)$
|
||||
$if(titlepage-theme.date-color)$\textcolor{$titlepage-theme.date-color$}$endif${$if(titlepage-theme.date-align)$\titlepagedatealign
|
||||
$endif$$if(titlepage-theme.date-fontfamily)$\titlepagedatefont
|
||||
$endif$\titlepagedateblock}
|
||||
|
||||
\vspace{$if(titlepage-theme.date-space-after)$$titlepage-theme.date-space-after$$else$0pt$endif$}
|
||||
$else$$endif$}
|
||||
|
||||
\newcommand{\headerblock}{$if(titlepage-header)$
|
||||
$if(titlepage-theme.header-color)$\textcolor{$titlepage-theme.header-color$}$endif${$if(titlepage-theme.header-align)$\titlepageheaderalign
|
||||
$endif$$if(titlepage-theme.header-fontfamily)$\titlepageheaderfont$endif$\titlepageheaderblock
|
||||
|
||||
\vspace{$if(titlepage-theme.header-space-after)$$titlepage-theme.header-space-after$$else$0pt$endif$}
|
||||
}$else$$endif$}
|
||||
$--
|
||||
$if(titlepage-geometry)$
|
||||
\newgeometry{$for(titlepage-geometry)$$titlepage-geometry$$sep$,$endfor$}
|
||||
$endif$
|
||||
$--
|
||||
$if(titlepage-theme.page-html-color)$
|
||||
\definecolor{pgcolor}{HTML}{$titlepage-theme.page-html-color$}
|
||||
\pagecolor{pgcolor}\afterpage{\nopagecolor}
|
||||
$else$$if(titlepage-theme.page-color)$
|
||||
\colorlet{pgcolor}{$titlepage-theme.page-color$}
|
||||
\pagecolor{pgcolor}\afterpage{\nopagecolor}
|
||||
$endif$$endif$
|
||||
$--
|
||||
$if(titlepage-bg-image)$
|
||||
% background image
|
||||
\newlength{\bgimagesize}
|
||||
\setlength{\bgimagesize}{$if(titlepage-theme.bg-image-size)$$titlepage-theme.bg-image-size$$else$\paperwidth$endif$}
|
||||
\LENGTHDIVIDE{\bgimagesize}{\paperwidth}{\theRatio} % from calculator pkg
|
||||
\This$if(titlepage-theme.bg-image-location)$$titlepage-theme.bg-image-location$$else$ULCorner$endif$WallPaper{\theRatio}{$titlepage-bg-image$}
|
||||
$endif$
|
||||
|
||||
\thispagestyle{empty} % no page numbers on titlepages
|
||||
$if(titlepage-theme.page-fontfamily)$\titlepagefont$endif$
|
||||
|
||||
$if(titlepage-theme.vrule-width)$
|
||||
$if(titlepage-theme.vrule-text)$
|
||||
\newcommand{\vrulecode}{\noindent\colorbox{$titlepage-theme.vrule-color$}{\begin{minipage}[b][0.99\textheight][c]{\vrulewidth}$if(titlepage-theme.vrule-text)$
|
||||
\centering\rotatebox{90}{\makebox[0.88\textheight][r]{$if(titlepage-theme.vrule-text-fontstyle)$$for(titlepage-theme.vrule-text-fontstyle)$\$titlepage-theme.vrule-text-fontstyle${$endfor$$endif$$if(titlepage-theme.vrule-text-color)$\color{$titlepage-theme.vrule-text-color$}$endif$$titlepage-theme.vrule-text$$for(titlepage-theme.vrule-text-fontstyle)$}$endfor$}}$endif$\end{minipage}}}
|
||||
$else$
|
||||
\newcommand{\vrulecode}{\rule{\vrulewidth}{\textheight}}
|
||||
$endif$
|
||||
\newlength{\vrulewidth}
|
||||
\setlength{\vrulewidth}{$titlepage-theme.vrule-width$}
|
||||
\newlength{\B}
|
||||
\setlength{\B}{\ifdim\vrulewidth > 0pt $titlepage-theme.vrule-space$\else 0pt\fi}
|
||||
\newlength{\minipagewidth}
|
||||
\ifthenelse{\equal{$titlepage-theme.vrule-align$}{left} \OR \equal{$titlepage-theme.vrule-align$}{right} }
|
||||
{% True case
|
||||
\setlength{\minipagewidth}{\textwidth - \vrulewidth - \B - 0.1\textwidth}
|
||||
}{
|
||||
\setlength{\minipagewidth}{\textwidth - 2\vrulewidth - 2\B - 0.1\textwidth}
|
||||
}
|
||||
$else$
|
||||
\newlength{\minipagewidth}
|
||||
\setlength{\minipagewidth}{\textwidth}
|
||||
$endif$
|
||||
$if(titlepage-theme.vrule-width)$
|
||||
\ifthenelse{\equal{$titlepage-theme.vrule-align$}{left} \OR \equal{$titlepage-theme.vrule-align$}{leftright}}
|
||||
{% True case
|
||||
\raggedleft % needed for the minipage to work
|
||||
\vrulecode
|
||||
\hspace{\B}
|
||||
}{%
|
||||
\raggedright % else it is right only and width is not 0
|
||||
}
|
||||
$else$
|
||||
\raggedright % single minipage
|
||||
$endif$
|
||||
% [position of box][box height][inner position]{width}
|
||||
% [s] means stretch out vertically; assuming there is a vfill
|
||||
\begin{minipage}[b][\textheight][s]{\minipagewidth}
|
||||
$if(titlepage-theme.page-align)$\titlepagepagealign$endif$
|
||||
$for(titlepage-theme.elements)$
|
||||
$titlepage-theme.elements$
|
||||
$sep$
|
||||
|
||||
$endfor$
|
||||
\par
|
||||
|
||||
\end{minipage}\ifthenelse{\equal{$titlepage-theme.vrule-align$}{right} \OR \equal{$titlepage-theme.vrule-align$}{leftright} }{
|
||||
\hspace{\B}
|
||||
\vrulecode}{}
|
||||
\clearpage
|
||||
$if(titlepage-geometry)$\restoregeometry
|
||||
$endif$%%% TITLE PAGE END
|
||||
|
38
_extensions/nmfs-opensci/titlepage/before-body.tex
Normal file
38
_extensions/nmfs-opensci/titlepage/before-body.tex
Normal file
|
@ -0,0 +1,38 @@
|
|||
%%%%% begin titlepage extension code
|
||||
|
||||
$if(has-frontmatter)$
|
||||
\begin{frontmatter}
|
||||
$endif$
|
||||
|
||||
\begin{titlepage}
|
||||
$-- % Coverpage
|
||||
$if(coverpage-true)$
|
||||
$_coverpage.tex()$
|
||||
$endif$
|
||||
$if(coverpage-include-file)$
|
||||
|
||||
$for(coverpage-include-file)$\input{$coverpage-include-file$}
|
||||
\clearpage
|
||||
$endfor$$endif$
|
||||
|
||||
$-- % Titlepage
|
||||
$if(titlepage-true)$
|
||||
$if(titlepage-file)$
|
||||
% Use the file
|
||||
\input{$titlepage-filename$}
|
||||
$else$
|
||||
$_titlepage.tex()$
|
||||
$endif$
|
||||
$endif$
|
||||
$if(titlepage-include-file)$
|
||||
|
||||
$for(titlepage-include-file)$\input{$titlepage-include-file$}
|
||||
\clearpage
|
||||
$endfor$$endif$
|
||||
\end{titlepage}
|
||||
\setcounter{page}{1}
|
||||
$if(has-frontmatter)$
|
||||
\end{frontmatter}
|
||||
$endif$
|
||||
|
||||
%%%%% end titlepage extension code
|
487
_extensions/nmfs-opensci/titlepage/coverpage-theme.lua
Normal file
487
_extensions/nmfs-opensci/titlepage/coverpage-theme.lua
Normal file
|
@ -0,0 +1,487 @@
|
|||
local function isEmpty(s)
|
||||
return s == nil or s == ''
|
||||
end
|
||||
|
||||
local function file_exists(name)
|
||||
local f=io.open(name,"r")
|
||||
if f~=nil then io.close(f) return true else return false end
|
||||
end
|
||||
|
||||
local function getVal(s)
|
||||
return pandoc.utils.stringify(s)
|
||||
end
|
||||
|
||||
function script_path()
|
||||
local str = debug.getinfo(2, "S").source:sub(2)
|
||||
return str:match("(.*/)")
|
||||
end
|
||||
|
||||
local function has_value (tab, val)
|
||||
for index, value in ipairs(tab) do
|
||||
if value == val then
|
||||
return true
|
||||
end
|
||||
end
|
||||
|
||||
return false
|
||||
end
|
||||
|
||||
local function dump(o)
|
||||
if type(o) == 'table' then
|
||||
local s = '{ '
|
||||
for k,v in pairs(o) do
|
||||
if type(k) ~= 'number' then k = '"'..k..'"' end
|
||||
s = s .. '['..k..'] = ' .. dump(v) .. ','
|
||||
end
|
||||
return s .. '} '
|
||||
else
|
||||
return tostring(o)
|
||||
end
|
||||
end
|
||||
|
||||
local function table_concat(t1,t2)
|
||||
for _,v in ipairs(t2) do table.insert(t1, v) end
|
||||
return t1
|
||||
end
|
||||
|
||||
function Meta(m)
|
||||
--[[
|
||||
This function checks that the value the user set is ok and stops with an error message if no.
|
||||
yamlelement: the yaml metadata. e.g. m["coverpage-theme"]["page-align"]
|
||||
yamltext: page, how to print the yaml value in the error message. e.g. coverpage-theme: page-align
|
||||
okvals: a text table of ok styles. e.g. {"right", "center"}
|
||||
--]]
|
||||
local function check_yaml (yamlelement, yamltext, okvals)
|
||||
choice = pandoc.utils.stringify(yamlelement)
|
||||
if not has_value(okvals, choice) then
|
||||
print("\n\ntitlepage extension error: " .. yamltext .. " is set to " .. choice .. ". It can be " .. pandoc.utils.stringify(table.concat(okvals, ", ")) .. ".\n\n")
|
||||
return false
|
||||
else
|
||||
return true
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
--[[
|
||||
This function gets the value of something like coverpage-theme.title-style and sets a value coverpage-theme.title-style.plain (for example). It also
|
||||
does error checking against okvals. "plain" is always ok and if no value is set then the style is set to plain.
|
||||
page: titlepage or coverpage
|
||||
styleement: page, title, subtitle, header, footer, affiliation, etc
|
||||
okvals: a text table of ok styles. e.g. {"plain", "two-column"}
|
||||
--]]
|
||||
local function set_style (page, styleelement, okvals)
|
||||
yamltext = page .. "-theme" .. ": " .. styleelement .. "-style"
|
||||
yamlelement = m[page .. "-theme"][styleelement .. "-style"]
|
||||
if not isEmpty(yamlelement) then
|
||||
ok = check_yaml (yamlelement, yamltext, okvals)
|
||||
if ok then
|
||||
m[page .. "-style-code"][styleelement] = {}
|
||||
m[page .. "-style-code"][styleelement][getVal(yamlelement)] = true
|
||||
else
|
||||
error()
|
||||
end
|
||||
else
|
||||
m[page .. "-style-code"][styleelement] = {}
|
||||
m[page .. "-style-code"][styleelement]["plain"] = true
|
||||
end
|
||||
end
|
||||
|
||||
--[[
|
||||
This function assigns the themevals to the meta data
|
||||
--]]
|
||||
local function assign_value (tab)
|
||||
for i, value in pairs(tab) do
|
||||
if isEmpty(m['coverpage-theme'][i]) then
|
||||
m['coverpage-theme'][i] = value
|
||||
end
|
||||
end
|
||||
|
||||
return m
|
||||
end
|
||||
|
||||
local coverpage_table = {
|
||||
["title"] = function (m)
|
||||
themevals = {
|
||||
["page-align"] = "left",
|
||||
["title-style"] = "plain",
|
||||
["author-style"] = "none",
|
||||
["footer-style"] = "none",
|
||||
["header-style"] = "none",
|
||||
["date-style"] = "none",
|
||||
}
|
||||
assign_value(themevals)
|
||||
|
||||
return m
|
||||
end,
|
||||
["author"] = function (m)
|
||||
themevals = {
|
||||
["page-align"] = "left",
|
||||
["title-style"] = "none",
|
||||
["author-style"] = "plain",
|
||||
["footer-style"] = "none",
|
||||
["header-style"] = "none",
|
||||
["date-style"] = "none",
|
||||
}
|
||||
assign_value(themevals)
|
||||
|
||||
return m
|
||||
end,
|
||||
["titleauthor"] = function (m)
|
||||
themevals = {
|
||||
["page-align"] = "left",
|
||||
["title-style"] = "plain",
|
||||
["author-style"] = "plain",
|
||||
["footer-style"] = "none",
|
||||
["header-style"] = "none",
|
||||
["date-style"] = "none",
|
||||
}
|
||||
assign_value(themevals)
|
||||
|
||||
return m
|
||||
end,
|
||||
["true"] = function (m)
|
||||
themevals = {
|
||||
["page-align"] = "left"
|
||||
}
|
||||
assign_value(themevals)
|
||||
|
||||
return m
|
||||
end,
|
||||
["great-wave"] = function (m)
|
||||
themevals = {
|
||||
["page-align"] = "right",
|
||||
["title-style"] = "plain",
|
||||
["author-style"] = "none",
|
||||
["footer-style"] = "plain",
|
||||
["header-style"] = "none",
|
||||
["date-style"] = "none",
|
||||
}
|
||||
assign_value(themevals)
|
||||
|
||||
return m
|
||||
end,
|
||||
["otter"] = function (m)
|
||||
themevals = {
|
||||
["page-align"] = "left",
|
||||
["title-style"] = "plain",
|
||||
["author-style"] = "plain",
|
||||
["footer-style"] = "none",
|
||||
["header-style"] = "none",
|
||||
["date-style"] = "none",
|
||||
}
|
||||
assign_value(themevals)
|
||||
|
||||
return m
|
||||
end,
|
||||
}
|
||||
|
||||
m['coverpage-file'] = false
|
||||
if m.coverpage then
|
||||
choice = pandoc.utils.stringify(m.coverpage)
|
||||
okvals = {"none", "true", "title", "author", "titleauthor", "otter", "great-wave"}
|
||||
isatheme = has_value (okvals, choice)
|
||||
if not isatheme then
|
||||
if not file_exists(choice) then
|
||||
error("titlepage extension error: coverpage can be a tex file or one of the themes: " .. pandoc.utils.stringify(table.concat(okvals, ", ")) .. ".")
|
||||
else
|
||||
m['coverpage-file'] = true
|
||||
m['coverpage-filename'] = choice
|
||||
m['coverpage'] = "file"
|
||||
end
|
||||
else
|
||||
ok = check_yaml (m.coverpage, "coverpage", okvals)
|
||||
if not ok then error("") end
|
||||
end
|
||||
if not m['coverpage-file'] and choice ~= "none" then
|
||||
m["coverpage-true"] = true
|
||||
if isEmpty(m['coverpage-theme']) then
|
||||
m['coverpage-theme'] = {}
|
||||
end
|
||||
coverpage_table[choice](m) -- add the theme defaults
|
||||
end
|
||||
if m['coverpage-file'] then
|
||||
m["coverpage-true"] = true
|
||||
if not isEmpty(m['coverpage-theme']) then
|
||||
print("\n\ntitlepage extension message: since you passed in a static coverpage file, coverpage-theme is ignored.n\n")
|
||||
end
|
||||
end
|
||||
if choice == "none" then
|
||||
m["coverpage-true"] = false
|
||||
end
|
||||
else -- coverpage is false or not passed in
|
||||
m["coverpage-true"] = false
|
||||
m.coverpage = "none"
|
||||
end
|
||||
|
||||
-- Only for themes
|
||||
-- coverpage-theme will exist if using a theme
|
||||
if not m['coverpage-file'] and m['coverpage-true'] then
|
||||
|
||||
--[[
|
||||
Set up the demos
|
||||
--]]
|
||||
choice = pandoc.utils.stringify(m.coverpage)
|
||||
if choice == "great-wave" then
|
||||
if isEmpty(m['coverpage-bg-image']) then
|
||||
-- m['coverpage-bg-image'] = script_path().."images/TheGreatWaveoffKanagawa.jpeg"
|
||||
m['coverpage-bg-image'] = "img/TheGreatWaveoffKanagawa.jpeg"
|
||||
end
|
||||
if isEmpty(m['coverpage-title']) then
|
||||
m['coverpage-title'] = "quarto_titlepages"
|
||||
end
|
||||
if isEmpty(m['coverpage-footer']) then
|
||||
m['coverpage-footer'] = "Templates for title pages and covers"
|
||||
end
|
||||
demovals = {["title-align"] = "right", ["title-fontsize"] = 40, ["title-fontfamily"] = "QTDublinIrish.otf", ["title-bottom"] = "10in", ["author-style"] = "none", ["footer-fontsize"] = 20, ["footer-fontfamily"] = "QTDublinIrish.otf", ["footer-align"] = "right", ["footer-bottom"] = "9.5in", ["page-html-color"] = "F6D5A8", ["bg-image-fading"] = "north"}
|
||||
for dkey, val in pairs(demovals) do
|
||||
if isEmpty(m['coverpage-theme'][dkey]) then
|
||||
m['coverpage-theme'][dkey] = val
|
||||
end
|
||||
end
|
||||
end
|
||||
if choice == "otter" then
|
||||
if isEmpty(m['coverpage-bg-image']) then
|
||||
-- m['coverpage-bg-image'] = script_path().."images/otter-bar.jpeg"
|
||||
m['coverpage-bg-image'] = "img/otter-bar.jpeg"
|
||||
end
|
||||
if isEmpty(m['coverpage-title']) then
|
||||
m['coverpage-title'] = "Otters"
|
||||
end
|
||||
if isEmpty(m['coverpage-author']) then
|
||||
m['coverpage-author'] = {"EE", "Holmes"}
|
||||
end
|
||||
demovals = {["title-color"] = "white", ["title-fontfamily"] = "QTDublinIrish.otf", ["title-fontsize"] = 100, ["author-fontstyle"] = {"textsc"}, ["author-sep"] = "newline", ["author-align"] = "right", ["author-fontsize"] = 30, ["author-bottom"] = "2in"}
|
||||
for dkey, val in pairs(demovals) do
|
||||
if isEmpty(m['coverpage-theme'][dkey]) then
|
||||
m['coverpage-theme'][dkey] = val
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
-- set the coverpage values unless user passed them in
|
||||
for key, val in pairs({"title", "author", "date"}) do
|
||||
if isEmpty(m['coverpage-' .. val]) then
|
||||
if not isEmpty(m[val]) then
|
||||
m['coverpage-' .. val] = m[val]
|
||||
end
|
||||
end
|
||||
end
|
||||
-- make a bit more robust to whatever user passes in for coverpage-author
|
||||
for key, val in pairs(m['coverpage-author']) do
|
||||
m['coverpage-author'][key] = getVal(m['coverpage-author'][key])
|
||||
end
|
||||
|
||||
-- fix "true" to figure out what was passed in
|
||||
if choice == "true" then
|
||||
for key, val in pairs({"title", "author", "footer", "header", "date"}) do
|
||||
if not isEmpty(m['coverpage-' .. val]) then
|
||||
m['coverpage-theme'][val .. "-style"] = "plain"
|
||||
else
|
||||
m['coverpage-theme'][val .. "-style"] = "none"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
--[[
|
||||
Error checking and setting the style codes
|
||||
--]]
|
||||
-- Style codes
|
||||
m["coverpage-style-code"] = {}
|
||||
okvals = {"none", "plain"}
|
||||
set_style("coverpage", "title", okvals)
|
||||
set_style("coverpage", "footer", okvals)
|
||||
set_style("coverpage", "header", okvals)
|
||||
set_style("coverpage", "author", okvals)
|
||||
set_style("coverpage", "date", okvals)
|
||||
|
||||
if isEmpty(m['coverpage-bg-image']) then
|
||||
m['coverpage-bg-image'] = "none" -- need for stringify to work
|
||||
end
|
||||
choice = pandoc.utils.stringify(m['coverpage-bg-image'])
|
||||
if choice == "none" then
|
||||
m['coverpage-bg-image'] = false
|
||||
else
|
||||
m['coverpage-theme']['bg-image-anchor'] = "south west" -- fixed
|
||||
image_table = {["bottom"] = 0.0, ["left"] = 0.0, ["rotate"] = 0.0, ["opacity"] = 1.0}
|
||||
for key, val in pairs(image_table) do
|
||||
if isEmpty(m['coverpage-theme']['bg-image-' .. key]) then
|
||||
m['coverpage-theme']['bg-image-' .. key] = val
|
||||
end
|
||||
end
|
||||
if isEmpty(m['coverpage-theme']['bg-image-size']) then
|
||||
m['coverpage-theme']['bg-image-size'] = pandoc.MetaInlines{
|
||||
pandoc.RawInline("latex","\\paperwidth")}
|
||||
end
|
||||
if not isEmpty(m['coverpage-theme']['bg-image-fading']) then
|
||||
okvals = {"top", "bottom", "left", "right", "north", "south", "east", "west", "fadeout" }
|
||||
ok = check_yaml (m["coverpage-theme"]["bg-image-fading"], "coverpage-theme: bg-image-fading", okvals)
|
||||
if not ok then error("") end
|
||||
if getVal(m['coverpage-theme']['bg-image-fading']) == "left" then m['coverpage-theme']['bg-image-fading'] = "west" end
|
||||
if getVal(m['coverpage-theme']['bg-image-fading']) == "right" then m['coverpage-theme']['bg-image-fading'] = "east" end
|
||||
if getVal(m['coverpage-theme']['bg-image-fading']) == "top" then m['coverpage-theme']['bg-image-fading'] = "north" end
|
||||
if getVal(m['coverpage-theme']['bg-image-fading']) == "bottom" then m['coverpage-theme']['bg-image-fading'] = "south" end
|
||||
end
|
||||
end -- bg-image attributes
|
||||
if m['coverpage-bg-image'] then -- not false
|
||||
choice = pandoc.utils.stringify(m['coverpage-bg-image'])
|
||||
if not file_exists(choice) then
|
||||
error("\n\ntitlepage extension error: coverpage-bg-image file " .. choice .. " cannot be opened. Is the file path and name correct? Using a demo? Demo options are great-wave and otter.\n\n")
|
||||
end
|
||||
end
|
||||
|
||||
--[[
|
||||
Set the fontsize spacing defaults
|
||||
if page-fontsize was passed in or if fontsize passed in but not spacing
|
||||
--]]
|
||||
|
||||
-- if not passed in then it will take page-fontsize and page-spacing
|
||||
for key, val in pairs({"title", "author", "footer", "header"}) do
|
||||
if getVal(m["coverpage-theme"][val .. "-style"]) ~= "none" then
|
||||
if not isEmpty(m["coverpage-theme"]["page-fontsize"]) then
|
||||
if isEmpty(m["coverpage-theme"][val .. "-fontsize"]) then
|
||||
m["coverpage-theme"][val .. "-fontsize"] = getVal(m["coverpage-theme"]["page-fontsize"])
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
-- make sure spacing is set if user passed in fontsize
|
||||
for key, val in pairs({"page", "title", "author", "footer", "header"}) do
|
||||
if not isEmpty(m['coverpage-theme'][val .. "-fontsize"]) then
|
||||
if isEmpty(m['coverpage-theme'][val .. "-spacing"]) then
|
||||
m['coverpage-theme'][val .. "-spacing"] = 1.2*getVal(m['coverpage-theme'][val .. "-fontsize"])
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
--[[
|
||||
Set author sep character
|
||||
--]]
|
||||
if isEmpty(m['coverpage-theme']["author-sep"]) then
|
||||
m['coverpage-theme']["author-sep"] = pandoc.MetaInlines{
|
||||
pandoc.RawInline("latex",", ")}
|
||||
end
|
||||
if getVal(m['coverpage-theme']["author-sep"]) == "newline" then
|
||||
m['coverpage-theme']["author-sep"] = pandoc.MetaInlines{
|
||||
pandoc.RawInline("latex","\\\\")}
|
||||
end
|
||||
|
||||
--[[
|
||||
Set affiliation sep character
|
||||
--]]
|
||||
if isEmpty(m['coverpage-theme']["affiliation-sep"]) then
|
||||
m['coverpage-theme']["affiliation-sep"] = pandoc.MetaInlines{
|
||||
pandoc.RawInline("latex",",~")}
|
||||
end
|
||||
if getVal(m['coverpage-theme']["affiliation-sep"]) == "newline" then
|
||||
m['coverpage-theme']["affiliation-sep"] = pandoc.MetaInlines{
|
||||
pandoc.RawInline("latex","\\\\")}
|
||||
end
|
||||
|
||||
--[[
|
||||
Set the defaults for the coverpage alignments
|
||||
default coverpage alignment is left
|
||||
because coverpage uses tikzpicture, the alignments of the elements must be set
|
||||
--]]
|
||||
if isEmpty(m['coverpage-theme']["page-align"]) then
|
||||
m['coverpage-theme']["page-align"] = "left"
|
||||
end
|
||||
for key, val in pairs({"page", "title", "author", "footer", "header", "logo", "date"}) do
|
||||
if not isEmpty(m["coverpage-theme"][val .. "-align"]) then
|
||||
okvals = {"right", "left", "center"}
|
||||
if has_value({"title", "author", "footer", "header", "date"}, val) then table.insert(okvals, "spread") end
|
||||
ok = check_yaml (m["coverpage-theme"][val .. "-align"], "coverpage-theme: " .. val .. "-align", okvals)
|
||||
if not ok then error("") end
|
||||
else
|
||||
m["coverpage-theme"][val .. "-align"] = getVal(m['coverpage-theme']["page-align"])
|
||||
end
|
||||
end
|
||||
|
||||
--[[
|
||||
Set left and width alignments, bottom distance and rotation
|
||||
--]]
|
||||
for key, val in pairs({"title", "author", "footer", "header", "date"}) do
|
||||
if m['coverpage-theme'][val .. "-style"] ~= "none" then
|
||||
if getVal(m['coverpage-theme'][val .. "-align"]) == "left" then
|
||||
m['coverpage-theme'][val .. "-anchor"] = "north west" -- not user controlled
|
||||
if isEmpty(m['coverpage-theme'][val .. "-left"]) then
|
||||
m['coverpage-theme'][val .. '-left'] = pandoc.MetaInlines{
|
||||
pandoc.RawInline("latex", "0.2\\paperwidth")}
|
||||
if isEmpty(m['coverpage-theme'][val .. '-width']) then
|
||||
m['coverpage-theme'][val .. '-width'] = pandoc.MetaInlines{
|
||||
pandoc.RawInline("latex", "0.7\\paperwidth")}
|
||||
end
|
||||
else
|
||||
if isEmpty(m['coverpage-theme'][val .. '-width']) then
|
||||
error("titlepage extension error: if you specify coverpage-theme "..val.."-left, you must also specify "..val.."-width.")
|
||||
end
|
||||
end
|
||||
end -- left
|
||||
if getVal(m['coverpage-theme'][val .. '-align']) == "right" then
|
||||
m['coverpage-theme'][val .. '-anchor'] = "north east" -- not user controlled
|
||||
if isEmpty(m['coverpage-theme'][val .. '-left']) then
|
||||
m['coverpage-theme'][val .. '-left'] = pandoc.MetaInlines{
|
||||
pandoc.RawInline("latex", "0.8\\paperwidth")}
|
||||
if isEmpty(m['coverpage-theme'][val .. '-width']) then
|
||||
m['coverpage-theme'][val .. '-width'] = pandoc.MetaInlines{
|
||||
pandoc.RawInline("latex", "0.7\\paperwidth")}
|
||||
end
|
||||
else
|
||||
if isEmpty(m['coverpage-theme'][val .. '-width']) then
|
||||
error("titlepage extension error: if you specify coverpage-theme "..val.."-left, you must also specify "..val.."-width.")
|
||||
end
|
||||
end
|
||||
end -- right
|
||||
if getVal(m['coverpage-theme'][val .. '-align']) == "center" then
|
||||
m['coverpage-theme'][val .. '-anchor'] = "north" -- not user controlled
|
||||
if isEmpty(m['coverpage-theme'][val .. '-left']) then
|
||||
m['coverpage-theme'][val .. '-left'] = pandoc.MetaInlines{
|
||||
pandoc.RawInline("latex", "0.5\\paperwidth")}
|
||||
if isEmpty(m['coverpage-theme'][val .. '-width']) then
|
||||
m['coverpage-theme'][val .. '-width'] = pandoc.MetaInlines{
|
||||
pandoc.RawInline("latex", "0.8\\paperwidth")}
|
||||
end
|
||||
else
|
||||
if isEmpty(m['coverpage-theme'][val .. '-width']) then
|
||||
error("titlepage extension error: if you specify coverpage-theme "..val.."-left, you must also specify "..val.."-width.")
|
||||
end
|
||||
end
|
||||
end -- center
|
||||
-- Set the bottom distances
|
||||
bottom_table = {["title"] = pandoc.MetaInlines{
|
||||
pandoc.RawInline("latex", "0.8\\paperheight")}, ["author"] = pandoc.MetaInlines{
|
||||
pandoc.RawInline("latex", "0.25\\paperheight")}, ["footer"] = pandoc.MetaInlines{
|
||||
pandoc.RawInline("latex", "0.1\\paperheight")}, ["header"] = pandoc.MetaInlines{
|
||||
pandoc.RawInline("latex", "0.9\\paperheight")}, ["date"] = pandoc.MetaInlines{
|
||||
pandoc.RawInline("latex", "0.05\\paperheight")}}
|
||||
for bkey, bval in pairs(bottom_table) do
|
||||
if isEmpty(m['coverpage-theme'][bkey .. '-bottom']) then
|
||||
m['coverpage-theme'][bkey .. '-bottom'] = bval
|
||||
end
|
||||
end -- bottom distance
|
||||
-- set rotation
|
||||
if isEmpty(m['coverpage-theme'][val .. '-rotate']) then
|
||||
m['coverpage-theme'][val .. '-rotate'] = 0
|
||||
end -- rotate
|
||||
end -- if style not none
|
||||
end -- for loop
|
||||
|
||||
|
||||
--[[
|
||||
Set logo defaults
|
||||
--]]
|
||||
if not isEmpty(m['coverpage-logo']) then
|
||||
if isEmpty(m['coverpage-theme']["logo-size"]) then
|
||||
m['coverpage-theme']["logo-size"] = pandoc.MetaInlines{
|
||||
pandoc.RawInline("latex","0.2\\paperwidth")}
|
||||
end
|
||||
end
|
||||
|
||||
end -- end the theme section
|
||||
|
||||
return m
|
||||
|
||||
end
|
||||
|
||||
|
|
@ -0,0 +1,449 @@
|
|||
Copyright (c) 1992 QualiType.
|
||||
|
||||
These fonts are distributed, at your option, under the terms of the SIL Open
|
||||
Font License (https://scripts.sil.org/OFL) or the GNU General Public License
|
||||
(https://www.gnu.org/licenses/gpl-2.0.txt), either version 2.0 or, at your
|
||||
option, any later version. As a special exception, if you create a document
|
||||
that uses this font, and embed this font or unaltered portions of this font in
|
||||
the document, this font does not by itself cause the resulting document to be
|
||||
covered by the GNU General Public License. This exception does not, however,
|
||||
invalidate any other reasons why the document might be covered by the GNU
|
||||
General Public License.
|
||||
|
||||
***
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
http://scripts.sil.org/OFL
|
||||
|
||||
SIL OPEN FONT LICENSE
|
||||
|
||||
Version 1.1 – 26 February 2007
|
||||
|
||||
PREAMBLE
|
||||
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and open
|
||||
framework in which fonts may be shared and improved in partnership with
|
||||
others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The fonts,
|
||||
including any derivative works, can be bundled, embedded, redistributed and/or
|
||||
sold with any software provided that any reserved names are not used by
|
||||
derivative works. The fonts and derivatives, however, cannot be released under
|
||||
any other type of license. The requirement for fonts to remain under this
|
||||
license does not apply to any document created using the fonts or their
|
||||
derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
|
||||
“Font Software” refers to the set of files released by the Copyright Holder(s)
|
||||
under this license and clearly marked as such. This may include source files,
|
||||
build scripts and documentation.
|
||||
|
||||
“Reserved Font Name” refers to any names specified as such after the copyright
|
||||
statement(s).
|
||||
|
||||
“Original Version” refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
“Modified Version” refers to any derivative made by adding to, deleting, or
|
||||
substituting — in part or in whole — any of the components of the Original
|
||||
Version, by changing formats or by porting the Font Software to a new
|
||||
environment.
|
||||
|
||||
“Author” refers to any designer, engineer, programmer, technical writer or
|
||||
other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of the Font Software, to use, study, copy, merge, embed, modify, redistribute,
|
||||
and sell modified and unmodified copies of the Font Software, subject to the
|
||||
following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components, in Original
|
||||
or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be
|
||||
bundled,redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be included
|
||||
either as stand-alone text files, human-readable headers or in the appropriate
|
||||
machine-readable metadata fields within text or binary files as long as those
|
||||
fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font Νame(s)
|
||||
unless explicit written permission is granted by the corresponding Copyright
|
||||
Holder. This restriction only applies to the primary font name as presented to
|
||||
the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any Modified
|
||||
Version, except to acknowledge the contribution(s) of the Copyright Holder(s)
|
||||
and the Author(s) or with their explicit written permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole, must be
|
||||
distributed entirely under this license, and must not be distributed under any
|
||||
other license. The requirement for fonts to remain under this license does not
|
||||
apply to any document created using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
|
||||
This license becomes null and void if any of the above conditions are not met.
|
||||
|
||||
DISCLAIMER
|
||||
|
||||
THE FONT SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT,
|
||||
TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
|
||||
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL,
|
||||
INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF
|
||||
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE
|
||||
THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
|
||||
***
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Lesser General Public License instead.) You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
this service if you wish), that you receive source code or can get it
|
||||
if you want it, that you can change the software or use pieces of it
|
||||
in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. You must make sure that they, too, receive or can get the
|
||||
source code. And you must show them these terms so they know their
|
||||
rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's
|
||||
source code as you receive it, in any medium, provided that you
|
||||
conspicuously and appropriately publish on each copy an appropriate
|
||||
copyright notice and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||
REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program is interactive, make it output a short notice like this
|
||||
when it starts in an interactive mode:
|
||||
|
||||
Gnomovision version 69, Copyright (C) year name of author
|
||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, the commands you use may
|
||||
be called something other than `show w' and `show c'; they could even be
|
||||
mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1989
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This General Public License does not permit incorporating your program into
|
||||
proprietary programs. If your program is a subroutine library, you may
|
||||
consider it more useful to permit linking proprietary applications with the
|
||||
library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License.
|
||||
|
10
_extensions/nmfs-opensci/titlepage/fonts/qualitype/README
Normal file
10
_extensions/nmfs-opensci/titlepage/fonts/qualitype/README
Normal file
|
@ -0,0 +1,10 @@
|
|||
QualiType font collection
|
||||
Copyright (c) 1992 QualiType
|
||||
Version 2019-12-26
|
||||
***
|
||||
These 45 fonts were created by QualiType. With the kind permisison of John
|
||||
Colletti, these fonts have been released as free and open-source. The fonts
|
||||
are usable under the SIL OFL 1.1 or the GNU GPL 2.0 (or later, at your option)
|
||||
with a font exception. See COPYING for more details.
|
||||
|
||||
This package is maintained by Daniel Benjamin Miller <dbmiller@dbmiller.org>
|
Binary file not shown.
|
@ -0,0 +1,18 @@
|
|||
\documentclass[12pt]{article}
|
||||
\usepackage{fontspec}
|
||||
\setmainfont{QTCaslan}
|
||||
\usepackage{microtype}
|
||||
\author{Daniel Benjamin Miller}
|
||||
\title{The QualiType font collection}
|
||||
\begin{document}
|
||||
\maketitle
|
||||
\section{Description}
|
||||
These 45 fonts were created by QualiType. With the kind permisison of John
|
||||
Colletti, these fonts have been released as free and open-source. The fonts
|
||||
are usable under the SIL OFL 1.1 or the GNU GPL 2.0 (or later, at your option)
|
||||
with a font exception. See \texttt{COPYING} for more details. The fonts do not include small capitals, old-style figures or any other OpenType goodies. They are released in part with future extension in mind. The \texttt{qualitype} package will only carry the OpenType versions of the original 1992 fonts; improvements should be given a new name and a corresponding separate package.
|
||||
\section{Fonts Included}
|
||||
\begin{itemize}
|
||||
\item QTAbbie\item QTAgateType-Bold\item QTAgateType-Italic\item QTAgateType\item QTAncientOlive-Bold\item QTAncientOlive\item QTAntiquePost\item QTArabian\item QTArnieB\item QTArtiston\item QTAtchen\item QTAvanti-Italic\item QTAvanti\item QTBasker-Bold\item QTBasker-Italic\item QTBasker\item QTBeckman\item QTBengal-Bold\item QTBengal\item QTBlackForest\item QTBlimpo\item QTBodini-Bold\item QTBodini-Italic\item QTBodini\item QTBodiniPoster-Italic\item QTBodiniPoster\item QTBookmann-Bold\item QTBookmann-BoldItalic\item QTBookmann-Italic\item QTBookmann\item QTBoulevard\item QTBrushStroke\item QTCaligulatype\item QTCanaithtype\item QTCascadetype\item QTCaslan-Bold\item QTCaslan-BoldItalic\item QTCaslan-Italic\item QTCaslan\item QTCaslanOpen\item QTCasual\item QTChanceryType-Bold\item QTChanceryType-Italic\item QTChanceryType\item QTChicagoland\item QTClaytablet\item QTCloisteredMonk\item QTCoronation\item QTDeuce\item QTDingBits\item QTDoghaus\item QTDoghausHeavy\item QTDoghausLight\item QTDublinIrish\item QTEraType-Bold\item QTEraType\item QTEurotype-Bold\item QTEurotype\item QTFloraline-Bold\item QTFloraline\item QTFlorencia\item QTFraktur\item QTFrank\item QTFrankHeavy\item QTFrizQuad-Bold\item QTFrizQuad\item QTFuture-Italic\item QTFuture\item QTFuturePoster\item QTGaromand-Bold\item QTGaromand-BoldItalic\item QTGaromand-Italic\item QTGaromand\item QTGhoulFace\item QTGraphLite\item QTGraveure-Bold\item QTGraveure\item QTGreece\item QTHandwriting\item QTHeidelbergType\item QTHelvet-Black\item QTHelvet-BoldOutline\item QTHelvetCnd-Black\item QTHelvetCnd-Light\item QTHelvetCnd\item QTHoboken\item QTHowardType\item QTHowardTypeFat\item QTImpromptu\item QTJupiter\item QTKooper-Italic\item QTKooper\item QTKorrin-Italic\item QTKorrin\item QTKung-Fu\item QTLautrecType\item QTLetterGoth-Bold\item QTLetterGoth-BoldItalic\item QTLetterGoth-Italic\item QTLetterGoth\item QTLinoscroll\item QTLinostroke\item QTLondonScroll\item QTMagicMarker\item QTMerryScript\item QTMilitary\item QTOKCorral-Cnd\item QTOKCorral-Ext\item QTOKCorral\item QTOldGoudy-Bold\item QTOldGoudy-Italic\item QTOldGoudy\item QTOptimum-Bold\item QTOptimum-BoldItalic\item QTOptimum-Italic\item QTOptimum\item QTPalatine-Bold\item QTPalatine-Italic\item QTPalatine\item QTPandora\item QTParisFrance\item QTPeignoir-Lite\item QTPeignoir\item QTPiltdown\item QTPristine-Bold\item QTPristine-BoldItalic\item QTPristine-Italic\item QTPristine\item QTRobotic2000\item QTSanDiego\item QTSchoolCentury-Bold\item QTSchoolCentury-BoldItalic\item QTSchoolCentury-Italic\item QTSchoolCentury\item QTSlogantype\item QTSnowCaps\item QTStoryTimeCaps\item QTTechtone-Bold\item QTTechtone-BoldItalic\item QTTechtone-Italic\item QTTechtone\item QTTheatre\item QTTimeOutline\item QTTumbleweed\item QTUSA-Uncial\item QTVagaRound-Bold\item QTVagaRound\item QTWeise-Bold\item QTWeise-Italic\item QTWeise\item QTWestEnd
|
||||
\end{itemize}
|
||||
\end{document}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
editor.link_modal.header
Reference in a new issue