feat(repo): Add journal extension
This commit is contained in:
parent
6729bb2c7e
commit
05d8df04c3
14 changed files with 6579 additions and 28 deletions
|
|
@ -0,0 +1,20 @@
|
|||
\usepackage{float}
|
||||
\makeatletter
|
||||
\let\oldlt\longtable
|
||||
\let\endoldlt\endlongtable
|
||||
\def\longtable{\@ifnextchar[\longtable@i \longtable@ii}
|
||||
\def\longtable@i[#1]{\begin{figure}[H]
|
||||
\onecolumn
|
||||
\begin{minipage}{0.5\textwidth}
|
||||
\oldlt[#1]
|
||||
}
|
||||
\def\longtable@ii{\begin{figure}[H]
|
||||
\onecolumn
|
||||
\begin{minipage}{0.5\textwidth}
|
||||
\oldlt
|
||||
}
|
||||
\def\endlongtable{\endoldlt
|
||||
\end{minipage}
|
||||
\twocolumn
|
||||
\end{figure}}
|
||||
\makeatother
|
||||
|
|
@ -0,0 +1,41 @@
|
|||
|
||||
\begin{frontmatter}
|
||||
\title{$title$$if(subtitle)$ \\\large{$subtitle$} $endif$}
|
||||
$for(by-author)$\author[$for(by-author.affiliations)$$it.number$$sep$,$endfor$]{$by-author.name.literal$%
|
||||
$if(by-author.attributes.corresponding)$\corref{cor1}$endif$%
|
||||
$if(by-author.note.text)$\fnref{fn$by-author.note.number$}$endif$}
|
||||
$if(by-author.email)$ \ead{$by-author.email$} $endif$
|
||||
$endfor$
|
||||
$for(by-affiliation)$
|
||||
\affiliation[$it.number$]{organization={$it.name$$if(it.department)$, $it.department$$endif$},$if(it.address)$addressline={$it.address$}$endif$$if(it.city)$$if(it.address)$,$endif$city={$it.city$}$endif$$if(it.country)$$if(it.city)$,$elseif(it.address)$,$endif$country={$it.country$},countrysep={,}$endif$$if(it.postal-code)$$if(it.country)$,$elseif(it.city)$,$elseif(it.address)$,$endif$postcode={$it.postal-code$}$endif$,postcodesep={}}
|
||||
$endfor$
|
||||
|
||||
\cortext[cor1]{Corresponding author}
|
||||
$for(by-author)$
|
||||
$if(by-author.note.text)$\fntext[fn$by-author.note.number$]{$by-author.note.text$}$endif$
|
||||
$endfor$
|
||||
|
||||
$if(abstract)$
|
||||
\begin{abstract}
|
||||
$abstract$
|
||||
\end{abstract}
|
||||
$endif$
|
||||
|
||||
$if(journal.graphical-abstract)$\begin{graphicalabstract}
|
||||
$journal.graphical-abstract$
|
||||
\end{graphicalabstract}
|
||||
$endif$
|
||||
|
||||
$if(journal.highlights)$\begin{highlights}
|
||||
$for(journal.highlights)$\item $it$$endfor$
|
||||
\end{highlights}
|
||||
$endif$
|
||||
|
||||
$if(keywords)$
|
||||
\begin{keyword}
|
||||
$for(keywords/allbutlast)$$keywords$ \sep $endfor$
|
||||
$for(keywords/last)$$keywords$$endfor$
|
||||
\end{keyword}
|
||||
$endif$
|
||||
\end{frontmatter}
|
||||
|
||||
1
_extensions/quarto-journals/elsevier/partials/title.tex
Normal file
1
_extensions/quarto-journals/elsevier/partials/title.tex
Normal file
|
|
@ -0,0 +1 @@
|
|||
\setlength{\parindent}{6pt}
|
||||
Loading…
Add table
Add a link
Reference in a new issue