-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Vendor fonts from formal-ledger-specification
These are needed as the Agda source contains quite a lot of unicode which the font needs to be able to display.
- Loading branch information
Showing
21 changed files
with
79 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
% Common packages and settings | ||
% Many things here are from the original hydra paper or from the formal-ledger-specifications | ||
|
||
\usepackage{amsfonts,amsmath,amssymb,amsthm} | ||
\usepackage[normalem]{ulem} % temporary for strikeout math | ||
\usepackage{enumerate} | ||
\usepackage[shortlabels,inline]{enumitem} | ||
\usepackage{wrapfig} | ||
|
||
\usepackage[lined,noend]{algorithm2e} | ||
\usepackage{tabularx} | ||
\usepackage{colortbl} | ||
\usepackage{adjustbox} | ||
\DontPrintSemicolon | ||
|
||
\PassOptionsToPackage{hyphens}{url} | ||
\usepackage{fullpage} | ||
\usepackage{hyperref} | ||
\usepackage{xcolor} | ||
\usepackage{xifthen} | ||
% Keep figures in same section | ||
\usepackage[section]{placeins} | ||
\usepackage{pifont} | ||
\usepackage{multirow} | ||
\usepackage{tikz} | ||
\usetikzlibrary{automata, arrows} | ||
\usepackage{pgfplots} | ||
\usepackage[framemethod=tikz]{mdframed} % and thus tikz | ||
\usepackage[font=small]{caption} | ||
\usepackage[many]{tcolorbox} % for COLORED BOXES | ||
|
||
\usepackage{authblk} | ||
|
||
% footnotes in table and tabular | ||
\usepackage{footnote} | ||
\makesavenoteenv{tabular} | ||
\makesavenoteenv{table} | ||
\makesavenoteenv{figure} | ||
|
||
\usepackage{stmaryrd} % fancy double square brackets | ||
\usepackage{todonotes} | ||
|
||
\setcounter{tocdepth}{2} % Override LLNCS | ||
|
||
% Highlighted agda code | ||
\usepackage[links]{agda} | ||
|
||
% Use a font that works well with agda | ||
% NOTE: Vendored from formal-ledger-specifications | ||
\usepackage{fontspec} | ||
\newcommand\agdaFont{StrippedJuliaMono} | ||
\newcommand\agdaFontOptions{ | ||
Path=fonts/, | ||
Extension=.ttf, | ||
UprightFont=*-Regular, | ||
BoldFont=*-Bold, | ||
ItalicFont=*-RegularItalic, | ||
BoldItalicFont=*-BoldItalic, | ||
Scale=0.80 | ||
} | ||
\newfontfamily{\AgdaSerifFont}{\agdaFont}[\agdaFontOptions] | ||
\newfontfamily{\AgdaSansSerifFont}{\agdaFont}[\agdaFontOptions] | ||
\newfontfamily{\AgdaTypewriterFont}{\agdaFont}[\agdaFontOptions] | ||
\renewcommand{\AgdaFontStyle}[1]{{\AgdaSansSerifFont{}#1}} | ||
\renewcommand{\AgdaKeywordFontStyle}[1]{{\AgdaSansSerifFont{}#1}} | ||
\renewcommand{\AgdaStringFontStyle}[1]{{\AgdaTypewriterFont{}#1}} | ||
\renewcommand{\AgdaCommentFontStyle}[1]{{\AgdaTypewriterFont{}#1}} | ||
\renewcommand{\AgdaBoundFontStyle}[1]{{\emph{\AgdaTypewriterFont{}#1}}} | ||
|
||
% Also use unicode compatible math fonts | ||
\usepackage{unicode-math} | ||
\setsansfont{XITSMath-Regular.otf} | ||
\setmathfont{XITSMath-Regular.otf} |