Skip to content

Commit

Permalink
Merge pull request #73 from JuliaTrustworthyAI/72-use-quarto-extension
Browse files Browse the repository at this point in the history
72 use quarto extension
  • Loading branch information
pat-alt authored Nov 22, 2023
2 parents 8e63810 + 0735262 commit 8a0bdd0
Show file tree
Hide file tree
Showing 54 changed files with 8,797 additions and 3,693 deletions.
38 changes: 38 additions & 0 deletions _extensions/pat-alt/juliacon-proceedings/_extension.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
title: Juliacon-proceedings
author: pat-alt
version: 1.0.0
quarto-required: ">=1.3"
contributes:
formats:
common:
toc: false
number-sections: true
filters:
- juliacon-proceedings.lua
code-line-numbers: true
linestretch: 1
link-citations: true
pdf:
include-in-header: header.tex
template-partials:
- "partials/title.tex"
- "partials/_authors.tex"
- "partials/_affiliations.tex"
- "partials/before-body.tex"
- "partials/doc-class.tex"
format-resources:
- juliacon.cls
- journal_dat.tex
- jlcode.sty
- logojuliacon.pdf
- juliacon.bst
# Content to add in header that your format is using
header-includes: |
\usepackage{orcidlink}
\definecolor{mypink}{RGB}{219, 48, 122}
pdf-engine: latexmk
fontfamily: tgtermes
cite-method: biblatex
html:
css: styles.css

34 changes: 34 additions & 0 deletions _extensions/pat-alt/juliacon-proceedings/header.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
% Keywords command
\providecommand{\JCONkeywords}[1]
{
\small
\section*{Keywords} #1
}

% Two-column table
% Lifted from https://github.com/quarto-journals/elsevier/blob/main/_extensions/elsevier/partials/_two-column-longtable.tex.
\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

% Remove whitespace after paragraphs
\setlength{\parskip}{0pt}

\bibliographystyle{juliacon}
Loading

0 comments on commit 8a0bdd0

Please sign in to comment.