first commit
This commit is contained in:
1
_extensions/dfolio/ieee/partials/affiliation.tex
Normal file
1
_extensions/dfolio/ieee/partials/affiliation.tex
Normal file
@@ -0,0 +1 @@
|
||||
$if(it.department)$$it.department$, $endif$$if(it.name)$$it.name$$endif$$if(it.city)$, $it.city$$endif$$if(it.address)$, $it.address$$endif$$if(it.postal-code)$, $it.postal-code$$endif$$if(it.country)$ $it.country$$endif$
|
||||
68
_extensions/dfolio/ieee/partials/after-body.html
Normal file
68
_extensions/dfolio/ieee/partials/after-body.html
Normal file
@@ -0,0 +1,68 @@
|
||||
<div id="quarto-accordion" class="accordion d-none d-md-block" role="tablist">
|
||||
$if(by-author)$
|
||||
<div class="accordion-item container" id="">
|
||||
<div class="accordion-header d-flex justify-content-between" id="heading-author" role="tab">
|
||||
<button id="authors" class="accordion-button p-0" type="button" data-bs-toggle="collapse" data-bs-target="#collapse-authors" aria-expanded="false" aria-controls="collapse-authors">Authors</button>
|
||||
</div>
|
||||
<div id="collapse-authors" class="accordion-body collapse" aria-labelledby="heading-authors" data-bs-parent="#quarto-accordion" role="tabpanel">
|
||||
$for(by-author)$
|
||||
<div class="accordion-authors container">
|
||||
<div class="author-card"><div class="grid gap-0">
|
||||
$if(it.metadata.photo)$
|
||||
<div class="author-photo g-col-3 pe-3">
|
||||
<img src="$it.metadata.photo$" alt="Author image of $it.name.literal$">
|
||||
</div>
|
||||
<div class="g-col-9">
|
||||
<div>$author.html()$</div>
|
||||
<div>$for(by-author.affiliations)$$affiliation.tex()$$sep$, $endfor$</div>
|
||||
</div>
|
||||
$else$
|
||||
<div class="g-col-12">
|
||||
<div>$author.html()$</div>
|
||||
<div>$for(by-author.affiliations)$$affiliation.tex()$$sep$, $endfor$</div>
|
||||
</div>
|
||||
$endif$
|
||||
</div>
|
||||
$if(it.metadata.bio)$<div>$it.metadata.bio$</div>$endif$
|
||||
</div>
|
||||
</div>
|
||||
$endfor$
|
||||
</div>
|
||||
</div>
|
||||
$endif$
|
||||
|
||||
$if(refs)$
|
||||
<div class="accordion-item container">
|
||||
<div class="accordion-header d-flex justify-content-between" id="heading-references" role="tab">
|
||||
<button id="authors" class="accordion-button p-0" type="button" data-bs-toggle="collapse" data-bs-target="#collapse-references" aria-expanded="false" aria-controls="collapse-references">References</button>
|
||||
</div>
|
||||
<div id="collapse-references" class="accordion-body collapse" aria-labelledby="heading-references" data-bs-parent="#quarto-accordion" role="tabpanel">
|
||||
<section id="references" class="accordion-references">
|
||||
$refs$
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
$endif$
|
||||
$if(keywords)$
|
||||
<div class="accordion-item container">
|
||||
<div class="accordion-header d-flex justify-content-between" id="heading-keywords" role="tab">
|
||||
<button id="authors" class="accordion-button p-0" type="button" data-bs-toggle="collapse" data-bs-target="#collapse-keywords" aria-expanded="false" aria-controls="collapse-keywords">Keywords</button>
|
||||
</div>
|
||||
<div id="collapse-keywords" class="accordion-body collapse" aria-labelledby="heading-keywords" data-bs-parent="#quarto-accordion" role="tabpanel">
|
||||
<div class="accordion-keywords">
|
||||
<strong>Author Keywords</strong>
|
||||
<ul class="mt-3 p-0">
|
||||
$if(keywords/allbutlast)$
|
||||
$for(keywords/allbutlast)$<li>$keywords$, </li>$endfor$
|
||||
<li>$keywords/last$</li>
|
||||
$else$
|
||||
$for(keywords)$<li>$keywords$</li>$endfor$
|
||||
$endif$
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
$endif$
|
||||
|
||||
</div>
|
||||
|
||||
16
_extensions/dfolio/ieee/partials/after-body.tex
Normal file
16
_extensions/dfolio/ieee/partials/after-body.tex
Normal file
@@ -0,0 +1,16 @@
|
||||
\pagebreak[3]
|
||||
$for(by-author)$
|
||||
$if(it.metadata.bio)$
|
||||
$if(it.metadata.photo)$
|
||||
\begin{IEEEbiography}[\includegraphics{$it.metadata.photo$}]{$it.name.literal$}
|
||||
$else$
|
||||
\begin{IEEEbiographynophoto}{$it.name.literal$}
|
||||
$endif$
|
||||
$it.metadata.bio$
|
||||
$if(it.metadata.photo)$
|
||||
\end{IEEEbiography}
|
||||
$else$
|
||||
\end{IEEEbiographynophoto}
|
||||
$endif$
|
||||
$endif$
|
||||
$endfor$
|
||||
1
_extensions/dfolio/ieee/partials/author.html
Normal file
1
_extensions/dfolio/ieee/partials/author.html
Normal file
@@ -0,0 +1 @@
|
||||
<span class="author-info">$if(by-author.url)$<a href="$by-author.url$" $if(by-author.affiliations)$title="$for(by-author.affiliations)$$it.name$, $it.department$$sep$, $endfor$"$endif$>$endif$$by-author.name.literal$$if(by-author.url)$</a>$endif$$if(by-author.orcid)$<a href="https://orcid.org/$by-author.orcid$" class="quarto-title-author-orcid px-1" target="orcid.widget" rel="me noopener noreferrer"><img src="https://orcid.org/sites/default/files/images/orcid_16x16.png" style="width: 1em; margin-inline-start: 0.5em" alt="ORCID iD icon"/></a>$endif$</span>
|
||||
1
_extensions/dfolio/ieee/partials/author.tex
Normal file
1
_extensions/dfolio/ieee/partials/author.tex
Normal file
@@ -0,0 +1 @@
|
||||
$it.name.literal$$if(it.orcid)$\orcidlink{$it.orcid$}$endif$$if(it.metadata.membership)$,~\IEEEmembership{$it.metadata.membership$}$endif$
|
||||
16
_extensions/dfolio/ieee/partials/before-bib.tex
Normal file
16
_extensions/dfolio/ieee/partials/before-bib.tex
Normal file
@@ -0,0 +1,16 @@
|
||||
% Can use something like this to put references on a page
|
||||
% by themselves when using endfloat and the captionsoff option.
|
||||
\ifCLASSOPTIONcaptionsoff
|
||||
\newpage
|
||||
\fi
|
||||
|
||||
% trigger a \newpage just before the given reference
|
||||
% number - used to balance the columns on the last page
|
||||
% adjust value as needed - may need to be readjusted if
|
||||
% the document is modified later
|
||||
%\IEEEtriggeratref{8}
|
||||
% The "triggered" command can be changed if desired:
|
||||
%\IEEEtriggercmd{\enlargethispage{-5in}}
|
||||
|
||||
% Uncomment when use biblatex with style=ieee
|
||||
%\renewcommand{\bibfont}{\footnotesize} % for IEEE bibfont size
|
||||
42
_extensions/dfolio/ieee/partials/before-body.tex
Normal file
42
_extensions/dfolio/ieee/partials/before-body.tex
Normal file
@@ -0,0 +1,42 @@
|
||||
|
||||
% The paper headers
|
||||
$if(pageheader)$
|
||||
\markboth{$pageheader.left$}{$pageheader.right$}
|
||||
$endif$
|
||||
$if(pubid)$
|
||||
\IEEEpubid{$pubid$~\copyright~\theyear IEEE}
|
||||
$endif$
|
||||
|
||||
% use for special paper notices
|
||||
$if(specialpapernotice)$
|
||||
\IEEEspecialpapernotice{($specialpapernotice$)}
|
||||
$endif$
|
||||
|
||||
% make the title area
|
||||
\maketitle
|
||||
|
||||
% As a general rule, do not put math, special symbols or citations
|
||||
% in the abstract or keywords.
|
||||
$if(abstract)$
|
||||
\begin{abstract}
|
||||
$abstract$
|
||||
\end{abstract}
|
||||
$endif$
|
||||
% Note that keywords are not normally used for peerreview papers.
|
||||
$if(keywords)$
|
||||
\begin{IEEEkeywords}
|
||||
$for(keywords)$$keywords$$sep$, $endfor$
|
||||
\end{IEEEkeywords}
|
||||
$endif$
|
||||
|
||||
% For peer review papers, you can put extra information on the cover
|
||||
% page as needed:
|
||||
% \ifCLASSOPTIONpeerreview
|
||||
% \begin{center} \bfseries EDICS Category: 3-BBND \end{center}
|
||||
% \fi
|
||||
%
|
||||
% For peerreview papers, this IEEEtran command inserts a page break and
|
||||
% creates the second title. It will be ignored for other modes.
|
||||
% \IEEEpeerreviewmaketitle
|
||||
|
||||
|
||||
16
_extensions/dfolio/ieee/partials/doc-class.tex
Normal file
16
_extensions/dfolio/ieee/partials/doc-class.tex
Normal file
@@ -0,0 +1,16 @@
|
||||
\documentclass[
|
||||
$if(fontsize)$
|
||||
$fontsize$,
|
||||
$endif$
|
||||
$if(papersize)$
|
||||
$papersize$paper,
|
||||
$endif$
|
||||
$for(classoption)$
|
||||
$classoption$$sep$,
|
||||
$endfor$
|
||||
$if(journaltype)$
|
||||
$journaltype$,
|
||||
$else$
|
||||
journal,
|
||||
$endif$
|
||||
]{IEEEtran}
|
||||
76
_extensions/dfolio/ieee/partials/ieee-template.html
Normal file
76
_extensions/dfolio/ieee/partials/ieee-template.html
Normal file
@@ -0,0 +1,76 @@
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="$lang$" xml:lang="$lang$"$if(dir)$ dir="$dir$"$endif$>
|
||||
<head>
|
||||
$metadata.html()$
|
||||
<style>
|
||||
$styles.html()$
|
||||
</style>
|
||||
|
||||
<!-- htmldependencies:E3FAD763 -->
|
||||
$for(header-includes)$
|
||||
$header-includes$
|
||||
$endfor$
|
||||
|
||||
$if(math)$
|
||||
$if(mathjax)$
|
||||
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
|
||||
$endif$
|
||||
$math$
|
||||
$endif$
|
||||
|
||||
$for(css)$
|
||||
<link rel="stylesheet" href="$css$" />
|
||||
$endfor$
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
$for(include-before)$
|
||||
$include-before$
|
||||
$endfor$
|
||||
|
||||
$if(title)$
|
||||
$title-block.html()$
|
||||
$elseif(subtitle)$
|
||||
$title-block.html()$
|
||||
$elseif(by-author)$
|
||||
$title-block.html()$
|
||||
$elseif(date)$
|
||||
$title-block.html()$
|
||||
$elseif(categories)$
|
||||
$title-block.html()$
|
||||
$elseif(date-modified)$
|
||||
$title-block.html()$
|
||||
$elseif(doi)$
|
||||
$title-block.html()$
|
||||
$elseif(abstract)$
|
||||
$title-block.html()$
|
||||
$elseif(keywords)$
|
||||
$title-block.html()$
|
||||
$endif$
|
||||
|
||||
<div class="quarto-main-body container p-0">
|
||||
<section class="quarto-abstract d-flex">
|
||||
<div class="container">
|
||||
$title-metadata.html()$
|
||||
</div>
|
||||
</section>
|
||||
|
||||
$if(toc)$
|
||||
$toc.html()$
|
||||
$endif$
|
||||
|
||||
<div class="quarto-body-content">
|
||||
$body$
|
||||
</div>
|
||||
|
||||
$after-body.html()$
|
||||
</div>
|
||||
|
||||
$for(include-after)$
|
||||
$include-after$
|
||||
$endfor$
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
10
_extensions/dfolio/ieee/partials/mathjax.html
Normal file
10
_extensions/dfolio/ieee/partials/mathjax.html
Normal file
@@ -0,0 +1,10 @@
|
||||
<!-- This is what works with Quarto -->
|
||||
<script>
|
||||
MathJax = {
|
||||
loader: {load: ['[tex]/mhchem', '[tex]/physics']},
|
||||
tex: {
|
||||
tags: 'ams', // should be 'ams', 'none', or 'all'
|
||||
packages: {'[+]': ['mhchem','physics']}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
60
_extensions/dfolio/ieee/partials/title-block.html
Normal file
60
_extensions/dfolio/ieee/partials/title-block.html
Normal file
@@ -0,0 +1,60 @@
|
||||
<header id="title-block-header" class="quarto-title-block default" itemprop="headline">
|
||||
<div class="col-12">
|
||||
<div class="quarto-header">
|
||||
|
||||
<div class="quarto-title column-body">
|
||||
<div class="container col">
|
||||
<h1 class="title" itemprop="headline">$title$</h1>
|
||||
$if(subtitle)$<p class="subtitle lead">$subtitle$</p>$endif$
|
||||
<div class="container">
|
||||
<div class="mb-3 mt-2 d-grid gap-3 d-md-flex">
|
||||
$if(citation.publisher)$<span class="publisher btn text-success"><strong>Publisher:</strong> $citation.publisher$</span>$endif$
|
||||
<a href="#citation" class="btn btn-outline-primary" role="button">Cite This</a>
|
||||
$if(pdf)$<a href="$pdf$" class="btn btn-danger text-white" role="button"><i class="bi bi-file-pdf" rel="img" aria-label="PDF"></i>PDF</a>$endif$
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="quarto-subheader">
|
||||
<div class="quarto-author-banner p-0">
|
||||
<div class="d-flex align-items-center flex-nowrap">
|
||||
$if(by-affiliation/first)$
|
||||
<div class="quarto-author overflow-hidden">
|
||||
<div class="d-flex flex-nowrap">
|
||||
<div class="quarto-author-contents align-items-center text-truncate pe-0">
|
||||
$if(author/allbutlast)$
|
||||
$for(by-author/allbutlast)$$author.html()$$sep$; $endfor$ and ${ by-author/last:author.html() }
|
||||
$else$
|
||||
$for(by-author)$$author.html()$$endfor$
|
||||
$endif$
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
$elseif(by-author)$
|
||||
<div class="quarto-author overflow-hidden">
|
||||
<div class="d-flex flex-nowrap">
|
||||
<div class="quarto-author-contents align-items-center text-truncate pe-0">
|
||||
$if(author/allbutlast)$
|
||||
$for(by-author/allbutlast)$$author.html()$$sep$; $endfor$ and ${ by-author/last:author.html() }
|
||||
$else$
|
||||
$for(by-author)$$author.html()$$endfor$
|
||||
$endif$
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
$endif$
|
||||
|
||||
<div class="d-none d-md-flex align-items-center">
|
||||
<div class="author-all d-none d-md-block">
|
||||
<a href="#authors" class="">All Authors</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<hr class="px-3 mt-2">
|
||||
</header>
|
||||
60
_extensions/dfolio/ieee/partials/title-metadata.html
Normal file
60
_extensions/dfolio/ieee/partials/title-metadata.html
Normal file
@@ -0,0 +1,60 @@
|
||||
$if(abstract)$
|
||||
<div class="quarto-abstract-block d-flex row g-0">
|
||||
<div class="col-12">
|
||||
<div class="abstract mb-3">
|
||||
<strong class="abstract-title">$labels.abstract$:</strong>
|
||||
$abstract$
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
$elseif(citation.abstract)$
|
||||
<div class="quarto-abstract-block d-flex row g-0">
|
||||
<div class="col-12">
|
||||
<div class="abstract mb-3">
|
||||
<strong class="abstract-title">$labels.abstract$:</strong>
|
||||
$citation.abstract$
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
$endif$
|
||||
|
||||
$if(citation)$
|
||||
<div class="citation-meta published-in pb-3">
|
||||
$if(citation.container-title)$<strong class="citation-title">Published in:</strong> $citation.container-title$
|
||||
($if(citation.volume)$<span>Volume:</span>$citation.volume$, $endif$
|
||||
$if(citation.issue)$<span>Issue:</span>$citation.issue$, $endif$
|
||||
$if(citation.available-date)$$citation.available-date.literal$$endif$)
|
||||
$endif$
|
||||
</div>
|
||||
|
||||
<div class="container g-0 pt-3">
|
||||
<div class="grid">
|
||||
<div class="g-col-6">
|
||||
$if(citation.page)$
|
||||
<div class="citation-meta pb-3"><strong class="citation-title">Page(s):</strong> $citation.page$</div>
|
||||
$endif$
|
||||
$if(date)$
|
||||
<div class="citation-meta pb-3"><strong class="citation-title">Date of Publication:</strong> $date$</div>$endif$
|
||||
</div>
|
||||
<div class="g-col-6">
|
||||
$if(citation.doi)$<div class="citation-meta pb-3"><strong>DOI:</strong> <a href="https://doi.org/$citation.doi$">$citation.doi$</a></div>$endif$
|
||||
$if(citation.publisher)$<div class="citation-meta pb-3"><strong>Publisher: </strong> $citation.publisher$</div>$endif$
|
||||
</div>
|
||||
|
||||
$if(funding)$
|
||||
<div class="g-col-12 pb-3">
|
||||
<div class="funding">
|
||||
<a class="btn p-0" data-bs-toggle="collapse" href="#collapseFA" role="button" aria-expanded="false" aria-controls="collapseFA"><div class="expand_caret caret"><i class="bi bi-caret-right-fill"></i></div><strong>Funding Agency</strong></a>
|
||||
<div class="collapse" id="collapseFA">
|
||||
<div class="funding-info" >
|
||||
$for(funding)$$funding.statement$$sep$; $endfor$
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
$endif$
|
||||
</div>
|
||||
</div>
|
||||
$endif$
|
||||
|
||||
|
||||
58
_extensions/dfolio/ieee/partials/title.tex
Normal file
58
_extensions/dfolio/ieee/partials/title.tex
Normal file
@@ -0,0 +1,58 @@
|
||||
% paper title
|
||||
% can use linebreaks \\ within to get better formatting as desired
|
||||
% Do not put math or special symbols in the title.
|
||||
$if(title)$
|
||||
\title{$title$$if(thanks)$\thanks{$thanks$}$endif$}
|
||||
$endif$
|
||||
|
||||
\author{
|
||||
$if(funding)$
|
||||
\thanks{$for(funding)$$for(funding.statement)$$funding.statement$$endfor$$endfor$}
|
||||
$endif$
|
||||
$if(author/allbutlast)$
|
||||
$for(by-author/allbutlast)$$author.tex()$$sep$,~$endfor$
|
||||
and~${ by-author/last:author.tex() }%
|
||||
$for(by-author)$
|
||||
$if(tex-author-no-affiliation)$
|
||||
$else$
|
||||
$if(by-author.affiliations)$
|
||||
$if(by-author.affiliations/first)$
|
||||
$for(by-author.affiliations/first)$
|
||||
\thanks{$by-author.name.literal$ is with $affiliation.tex()$%
|
||||
$if(by-author.attributes.corresponding)$$if(by-author.email)$ Corresponding author: $by-author.email$$endif$
|
||||
$else$$if(by-author.email)$ e-mail: $by-author.email$$endif$$endif$}
|
||||
$endfor$
|
||||
$if(by-author.affiliations/rest/first)$
|
||||
$for(by-author.affiliations/rest/first)$
|
||||
\thanks{$affiliation.tex()$}
|
||||
$endfor$
|
||||
$endif$
|
||||
$endif$
|
||||
$endif$%by-author.affiliations
|
||||
$endif$
|
||||
$if(by-author.note.text)$
|
||||
\thanks{$by-author.note.text$}
|
||||
$endif$
|
||||
$endfor$
|
||||
$else$
|
||||
$for(by-author)$$author.tex()$%
|
||||
$if(by-author.affiliations)$
|
||||
$if(by-author.affiliations/first)$
|
||||
$for(by-author.affiliations/first)$
|
||||
\thanks{$by-author.name.literal$ is with $affiliation.tex()$%
|
||||
$if(by-author.attributes.corresponding)$$if(by-author.email)$ Corresponding author: $by-author.email$$endif$
|
||||
$else$$if(by-author.email)$#e-mail: $by-author.email$$endif$$endif$}
|
||||
$endfor$
|
||||
$if(by-author.affiliations/rest/first)$
|
||||
$for(by-author.affiliations/rest/first)$
|
||||
\thanks{$affiliation.tex()$}
|
||||
$endfor$
|
||||
$endif$
|
||||
$endif$
|
||||
$endif$
|
||||
$if(by-author.note.text)$
|
||||
\thanks{$by-author.note.text$}
|
||||
$endif$
|
||||
$endfor$
|
||||
$endif$
|
||||
}
|
||||
Reference in New Issue
Block a user