From 04b370f1a51318158307587f85f5954e01701126 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 23 Feb 2025 14:55:53 +0100 Subject: initial draft --- .gitignore | 3 + README.md | 25 + _TODO.md | 7 + _actors.yml | 69 + .../pandoc-ext/abstract-section/_extension.yaml | 6 + .../abstract-section/abstract-section.lua | 85 + _extensions/ruc-play/stylish-report/README.md | 28 + _extensions/ruc-play/stylish-report/TODO.md | 2 + .../ruc-play/stylish-report/_extension.yaml | 70 + _extensions/ruc-play/stylish-report/doc-class.tex | 74 + .../ruc-play/stylish-report/revealjs-british.scss | 10 + _extensions/ruc-play/stylish-report/revealjs.scss | 4 + .../ruc-play/stylish-report/styles/british.scss | 10 + .../ruc-play/stylish-report/styles/common.scss | 4 + _extensions/ruc-play/stylish-report/template.tex | 455 ++++ _extensions/ruc-play/stylish-report/title.tex | 98 + _extensions/ruc-play/stylish-report/toc.tex | 28 + _extensions/ruc-play/stylish-report/x/template.tex | 466 ++++ _extensions/ruc-play/stylish-roles/_extension.yaml | 6 + .../ruc-play/stylish-roles/stylish-roles.lua | 54 + _fonts/Source Code Pro/LICENSE.md | 2216 +++++++++++++++++++ _fonts/Source Code Pro/README.md | 2145 +++++++++++++++++++ _fonts/Source Code Pro/vf/SourceCodeVF-Italic.otf | Bin 0 -> 122836 bytes _fonts/Source Code Pro/vf/SourceCodeVF-Upright.otf | Bin 0 -> 150744 bytes _fonts/Source Sans 3/LICENSE.md | 2216 +++++++++++++++++++ _fonts/Source Sans 3/README.md | 2145 +++++++++++++++++++ _fonts/Source Sans 3/vf/SourceSans3VF-Italic.otf | Bin 0 -> 303192 bytes _fonts/Source Sans 3/vf/SourceSans3VF-Upright.otf | Bin 0 -> 538164 bytes _fonts/Source Serif/LICENSE.md | 2244 ++++++++++++++++++++ _fonts/Source Serif/README.md | 2180 +++++++++++++++++++ .../vf/SourceSerif4Variable-Italic.otf | Bin 0 -> 598348 bytes .../Source Serif/vf/SourceSerif4Variable-Roman.otf | Bin 0 -> 927396 bytes _fonts/index.md | 12 + _quarto.yml | 35 + ref.bib | 36 + report.qmd | 74 + 36 files changed, 14807 insertions(+) create mode 100644 .gitignore create mode 100644 README.md create mode 100644 _TODO.md create mode 100644 _actors.yml create mode 100644 _extensions/pandoc-ext/abstract-section/_extension.yaml create mode 100644 _extensions/pandoc-ext/abstract-section/abstract-section.lua create mode 100644 _extensions/ruc-play/stylish-report/README.md create mode 100644 _extensions/ruc-play/stylish-report/TODO.md create mode 100644 _extensions/ruc-play/stylish-report/_extension.yaml create mode 100644 _extensions/ruc-play/stylish-report/doc-class.tex create mode 100644 _extensions/ruc-play/stylish-report/revealjs-british.scss create mode 100644 _extensions/ruc-play/stylish-report/revealjs.scss create mode 100644 _extensions/ruc-play/stylish-report/styles/british.scss create mode 100644 _extensions/ruc-play/stylish-report/styles/common.scss create mode 100644 _extensions/ruc-play/stylish-report/template.tex create mode 100644 _extensions/ruc-play/stylish-report/title.tex create mode 100644 _extensions/ruc-play/stylish-report/toc.tex create mode 100644 _extensions/ruc-play/stylish-report/x/template.tex create mode 100644 _extensions/ruc-play/stylish-roles/_extension.yaml create mode 100644 _extensions/ruc-play/stylish-roles/stylish-roles.lua create mode 100644 _fonts/Source Code Pro/LICENSE.md create mode 100644 _fonts/Source Code Pro/README.md create mode 100644 _fonts/Source Code Pro/vf/SourceCodeVF-Italic.otf create mode 100644 _fonts/Source Code Pro/vf/SourceCodeVF-Upright.otf create mode 100644 _fonts/Source Sans 3/LICENSE.md create mode 100644 _fonts/Source Sans 3/README.md create mode 100644 _fonts/Source Sans 3/vf/SourceSans3VF-Italic.otf create mode 100644 _fonts/Source Sans 3/vf/SourceSans3VF-Upright.otf create mode 100644 _fonts/Source Serif/LICENSE.md create mode 100644 _fonts/Source Serif/README.md create mode 100644 _fonts/Source Serif/vf/SourceSerif4Variable-Italic.otf create mode 100644 _fonts/Source Serif/vf/SourceSerif4Variable-Roman.otf create mode 100644 _fonts/index.md create mode 100644 _quarto.yml create mode 100644 ref.bib create mode 100644 report.qmd diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4df3bc4 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +/_site/ +/.quarto/ +*-luamml-mathml.html diff --git a/README.md b/README.md new file mode 100644 index 0000000..b4021f8 --- /dev/null +++ b/README.md @@ -0,0 +1,25 @@ +# Voting system for mussels _(mussel)_ + +This is a collaborative project +between Amal Mazrah, [Jonas Smedegaard], Mennatullah Hatim Kassim, +[Noor Ahmad] and Tanishka Suwalka. + +[Jonas Smedegaard]: + +[Noor Ahmad]: + +## License + +Copyright © 2025 Amal Mazrah +Copyright © 2025 Jonas Smedegaard +Copyright © 2025 Mennatullah Hatim Kassim +Copyright © 2025 Noor Ahmad +Copyright © 2025 Tanishka Suwalka + +Except when otherwise noted, +this work is licensed +under a Creative Commons Attribution-ShareAlike 4.0 International License +([CC-BY-SA-4.0]). + +[CC-BY-SA-4.0]: + "Creative Commons Attribution-ShareAlike 4.0 International license" diff --git a/_TODO.md b/_TODO.md new file mode 100644 index 0000000..059ffda --- /dev/null +++ b/_TODO.md @@ -0,0 +1,7 @@ + * Are all tied to IMT? + * Are all ok with public access to source? + * Are all ok with licensing? + * Order of authors? + * Corresponding author? + * British or american english? + * Citation system? diff --git a/_actors.yml b/_actors.yml new file mode 100644 index 0000000..63481a1 --- /dev/null +++ b/_actors.yml @@ -0,0 +1,69 @@ +author: +- name: Amal Mazrah +# orcid: +# url: + email: mazrah@ruc.dk + affiliation: + - ref: team + - ref: imt + roles: writing + equal-contributor: true +- name: Jonas Smedegaard + orcid: 0009-0009-1037-0180 + url: https://dr.jones.dk/info + email: stud-jonasj@ruc.dk + affiliation: + - ref: team + - ref: imt + roles: writing + equal-contributor: true + corresponding: true +- name: Mennatullah Hatim Kassim +# orcid: +# url: + email: stud-mennatulla@ruc.dk + affiliation: + - ref: team + - ref: imt + roles: writing + equal-contributor: true +- name: Noor Ahmad +# orcid: + url: https://ruc-thirdroom.dk/user/1148 + email: noora@ruc.dk + affiliation: + - ref: team + - ref: imt + roles: writing + equal-contributor: true +- name: Tanishka Suwalka +# orcid: +# url: + email: stud-tanishka@ruc.dk + affiliation: + - ref: team + - ref: imt + roles: writing +- name: Abdul Halim Bin Abdul Rahman + orcid: 0000-0002-0208-2754 + url: https://forskning.ruc.dk/da/persons/ahrahman + email: ahrahman@ruc.dk + affiliation: + - ref: imt + roles: supervision +affiliations: +- id: team + name: Projekt group S2526631870 +- id: imt + name: Roskilde University + department: Department of People and Technology + city: Roskilde + postal-code: 4000 + country: Denmark + url: https://ruc.dk/en/department-people-and-technology + isni: 0000 0001 0672 1325 + ror: 014axpa37 +copyright: + holder: Amal Mazrah and Jonas Smedegaard and Mennatullah Hatim Kassim and Noor Ahmad and Tanishka Suwalka + year: 2025 +license: "CC BY-SA" diff --git a/_extensions/pandoc-ext/abstract-section/_extension.yaml b/_extensions/pandoc-ext/abstract-section/_extension.yaml new file mode 100644 index 0000000..f6a946b --- /dev/null +++ b/_extensions/pandoc-ext/abstract-section/_extension.yaml @@ -0,0 +1,6 @@ +name: abstract-section +author: Albert Krewinkel +version: 1.2.0 +contributes: + filters: + - abstract-section.lua diff --git a/_extensions/pandoc-ext/abstract-section/abstract-section.lua b/_extensions/pandoc-ext/abstract-section/abstract-section.lua new file mode 100644 index 0000000..4badeb4 --- /dev/null +++ b/_extensions/pandoc-ext/abstract-section/abstract-section.lua @@ -0,0 +1,85 @@ +--[[ +abstract-section – move an "abstract" section into document metadata + +Copyright: © 2017–2023 Albert Krewinkel +License: MIT – see LICENSE file for details +]] +local stringify = (require 'pandoc.utils').stringify +local section_identifiers = { + abstract = true, +} +local collected = {} +--- The level of the highest heading that was seen so far. Abstracts +--- must be at or above this level to prevent nested sections from being +--- treated as metadata. Only top-level sections should become metadata. +local toplevel = 6 + +--- Extract abstract from a list of blocks. +local function abstract_from_blocklist (blocks) + local body_blocks = {} + local looking_at_section = false + + for _, block in ipairs(blocks) do + if block.t == 'Header' and block.level <= toplevel then + toplevel = block.level + if section_identifiers[block.identifier] then + looking_at_section = block.identifier + collected[looking_at_section] = {} + else + looking_at_section = false + body_blocks[#body_blocks + 1] = block + end + elseif looking_at_section then + if block.t == 'HorizontalRule' then + looking_at_section = false + else + local collect = collected[looking_at_section] + collect[#collect + 1] = block + end + else + body_blocks[#body_blocks + 1] = block + end + end + + return body_blocks +end + +Pandoc = function (doc) + local meta = doc.meta + + -- configure + section_identifiers_list = + (doc.meta['abstract-section'] or {})['section-identifiers'] + if section_identifiers_list and #section_identifiers_list > 0 then + section_identifiers = {} + for i, ident in ipairs(section_identifiers_list) do + section_identifiers[stringify(ident)] = true + end + end + -- unset config in meta + doc.meta['abstract-section'] = nil + + local blocks = {} + if PANDOC_VERSION >= {2,17} then + -- Walk all block lists by default + blocks = doc.blocks:walk{Blocks = abstract_from_blocklist} + elseif PANDOC_VERSION >= {2,9,2} then + -- Do the same with pandoc versions that don't have walk methods but the + -- `walk_block` function. + blocks = pandoc.utils.walk_block( + pandoc.Div(doc.blocks), + {Blocks = abstract_from_blocklist} + ).content + else + -- otherwise, just check the top-level block-list + blocks = abstract_from_blocklist(doc.blocks) + end + for metakey in pairs(section_identifiers) do + metakey = stringify(metakey) + local abstract = collected[metakey] + if not meta[metakey] and abstract and #abstract > 0 then + meta[metakey] = pandoc.MetaBlocks(abstract) + end + end + return pandoc.Pandoc(blocks, meta) +end diff --git a/_extensions/ruc-play/stylish-report/README.md b/_extensions/ruc-play/stylish-report/README.md new file mode 100644 index 0000000..d9ee44d --- /dev/null +++ b/_extensions/ruc-play/stylish-report/README.md @@ -0,0 +1,28 @@ +# Template customizations + +This directory contains Pandoc template files +derived from Quarto version 1.6.40. + +## Tagged PDF/A + +The PDF workflow is tweaked to embed semantically structured metadata, +a.k.a. [tagged PDF] files, +which conforms to the [PDF/A-2b] standard, +using experimental LaTeX hint +[`\DocumentMetadata` declaration][DocumentMetadata]. + +PDF/A comes in multiple flavors. +[Some guidelines] advice to use the 2b flavor, +so that is what is currently done. + +[tagged PDF]: https://taggedpdf.com/ + "tagged PDF - PDF containing semantically structured metadata" + +[PDF/A-2b]: https://pdfa.org/pdfa-faq/ + "PDF/A - PDF standards for archiving and long-term preservation" + +[DocumentMetadata]: https://ctan.org/pkg/latex-lab + "DocumentMetadata - LaTeX hint for generating modern tagged PDF" + +[Some guidelines] https://www.aalto.fi/en/services/creating-a-pdfa-compliant-file-of-your-thesis + "Aalto guide to creating a PDF/A -compliant file of your thesis" diff --git a/_extensions/ruc-play/stylish-report/TODO.md b/_extensions/ruc-play/stylish-report/TODO.md new file mode 100644 index 0000000..6e2de22 --- /dev/null +++ b/_extensions/ruc-play/stylish-report/TODO.md @@ -0,0 +1,2 @@ + * Move `revealjs.scss` below `styles/` + when Quarto can resolve font paths for RevealJS from subdir diff --git a/_extensions/ruc-play/stylish-report/_extension.yaml b/_extensions/ruc-play/stylish-report/_extension.yaml new file mode 100644 index 0000000..507eeaa --- /dev/null +++ b/_extensions/ruc-play/stylish-report/_extension.yaml @@ -0,0 +1,70 @@ +name: Stylish-report +author: Jonas Smedegaard +version: 0.0.3 +contributes: + formats: + common: + pdf: + number-sections: true + toc: true + default-image-extension: tex + colorlinks: true + hyperrefoptions: + - linktoc=all + pdf-engine: lualatex + documentclass: scrbook + classoption: + - DIV=calc + - twoside=false + csquotes: true + papersize: a4 + fontsize: 12pt + template: template.tex + template-partials: + - doc-class.tex + - title.tex + - toc.tex + + include-in-header: +# declare license + - text: | + \usepackage{hyperref} + \usepackage[type={CC}, modifier={by-sa}, version={4.0}]{doclicense} + \publishers{\vspace*{\fill}\small\par\doclicenseThis} +# recalculate page margins, since mainfont was set after documentclass + - text: | + \KOMAoptions{DIV=last} +# avoid widow or orphan lines + - text: | + \usepackage[defaultlines=4,all]{nowidow} +# implement \abstract + - text: | + \newenvironment{abstract} + {\cleardoublepage\chapter*{Abstract}\thispagestyle{empty}} + {\cleardoublepage} +# use page numbers A1, A2, A3, B1, B2 etc. for appendices + - text: | + \let\oldchapter\chapter + \newcommand*{\appendixmore}{% + \setcounter{secnumdepth}{\chapternumdepth} + \setcounter{chapter}{0}% + \setcounter{section}{0}% + \renewcommand{\thechapter}{\Alph{chapter}}% + \renewcommand{\theHchapter}{\thechapter}% + \renewcommand{\thesection}{\thechapter\arabic{section}}% + \renewcommand{\thepage}{\thechapter\arabic{page}}% + \renewcommand{\chapter}[1]{% + \oldchapter{##1}% + \setcounter{page}{1}% + }% + } + + html: + html-q-tags: true + theme: + light: [flatly, styles/british.scss] + dark: [darkly, styles/british.scss] + + revealjs: + html-q-tags: true + theme: [default, revealjs-british.ccss] diff --git a/_extensions/ruc-play/stylish-report/doc-class.tex b/_extensions/ruc-play/stylish-report/doc-class.tex new file mode 100644 index 0000000..8eff486 --- /dev/null +++ b/_extensions/ruc-play/stylish-report/doc-class.tex @@ -0,0 +1,74 @@ +\DocumentMetadata{ +% modern PDF rendering: +$if(lang)$ + lang={$lang$}, +$endif$ +$if(pdfversion)$ + pdfversion=$pdfversion$, +$endif$ +$for(pdfstandard)$ + pdfstandard=$pdfstandard$, +$endfor$ +$if(pdftestphase)$ +testphase= + { +$for(pdftestphase)$ + $pdftestphase$, +$endfor$ + }, +$endif$ +$if(pdfdebug)$ +debug= + { +$for(pdfdebug)$ + $pdfdebug$, +$endfor$ + }, +$endif$ +$if(pdfdebugfirstaidoff)$ +debug= + { +firstaidoff= + { +$for(pdfdebugfirstaidoff)$ + $pdfdebugfirstaidoff$, +$endfor$ + }, + }, +$endif$ +} +$if(copyright)$ +% flag as rights protected +\ExplSyntaxOn +\pdfmeta_xmp_add:n{True} +\ExplSyntaxOff +$endif$ +$if(pdftestphasestrict)$ +% fatalize tagging warnings +\ExplSyntaxOn + \msg_redirect_module:nnn { tag } { warning } { error } +\ExplSyntaxOff +$endif$ +\documentclass[ +$if(fontsize)$ + $fontsize$, +$endif$ +$if(papersize)$ + $papersize$paper, +$endif$ +$if(beamer)$ + ignorenonframetext, +$if(handout)$ + handout, +$endif$ +$if(aspectratio)$ + aspectratio=$aspectratio$, +$endif$ +$if(babel-lang)$ + $babel-lang$, +$endif$ +$endif$ +$for(classoption)$ + $classoption$$sep$, +$endfor$ +]{$documentclass$} diff --git a/_extensions/ruc-play/stylish-report/revealjs-british.scss b/_extensions/ruc-play/stylish-report/revealjs-british.scss new file mode 100644 index 0000000..4d41fb3 --- /dev/null +++ b/_extensions/ruc-play/stylish-report/revealjs-british.scss @@ -0,0 +1,10 @@ +/*-- scss:mixins --*/ + +scss @import 'revealjs'; + +/*-- scss:rules --*/ + +// use british style quotation +q { + quotes: "‘" "’" "“" "”"; +} diff --git a/_extensions/ruc-play/stylish-report/revealjs.scss b/_extensions/ruc-play/stylish-report/revealjs.scss new file mode 100644 index 0000000..2c7c1c8 --- /dev/null +++ b/_extensions/ruc-play/stylish-report/revealjs.scss @@ -0,0 +1,4 @@ +/*-- scss:defaults --*/ + +// avoid web-loading internally declared default Bootswatch font +$web-font-path: ""; diff --git a/_extensions/ruc-play/stylish-report/styles/british.scss b/_extensions/ruc-play/stylish-report/styles/british.scss new file mode 100644 index 0000000..613dd3f --- /dev/null +++ b/_extensions/ruc-play/stylish-report/styles/british.scss @@ -0,0 +1,10 @@ +/*-- scss:mixins --*/ + +scss @import 'common'; + +/*-- scss:rules --*/ + +// use british style quotation +q { + quotes: "‘" "’" "“" "”"; +} diff --git a/_extensions/ruc-play/stylish-report/styles/common.scss b/_extensions/ruc-play/stylish-report/styles/common.scss new file mode 100644 index 0000000..2c7c1c8 --- /dev/null +++ b/_extensions/ruc-play/stylish-report/styles/common.scss @@ -0,0 +1,4 @@ +/*-- scss:defaults --*/ + +// avoid web-loading internally declared default Bootswatch font +$web-font-path: ""; diff --git a/_extensions/ruc-play/stylish-report/template.tex b/_extensions/ruc-play/stylish-report/template.tex new file mode 100644 index 0000000..26d8fe6 --- /dev/null +++ b/_extensions/ruc-play/stylish-report/template.tex @@ -0,0 +1,455 @@ +% Options for packages loaded elsewhere +\PassOptionsToPackage{unicode$for(hyperrefoptions)$,$hyperrefoptions$$endfor$}{hyperref} +\PassOptionsToPackage{hyphens}{url} +$if(colorlinks)$ +\PassOptionsToPackage{dvipsnames,svgnames,x11names}{xcolor} +$endif$ +$if(CJKmainfont)$ +\PassOptionsToPackage{space}{xeCJK} +$endif$ +% +$doc-class.tex()$ + +$if(beamer)$ +$if(background-image)$ +\usebackgroundtemplate{% + \includegraphics[width=\paperwidth]{$background-image$}% +} +% In beamer background-image does not work well when other images are used, so this is the workaround +\pgfdeclareimage[width=\paperwidth,height=\paperheight]{background}{$background-image$} +\usebackgroundtemplate{\pgfuseimage{background}} +$endif$ +\usepackage{pgfpages} +\setbeamertemplate{caption}[numbered] +\setbeamertemplate{caption label separator}{: } +\setbeamercolor{caption name}{fg=normal text.fg} +\beamertemplatenavigationsymbols$if(navigation)$$navigation$$else$empty$endif$ +$for(beameroption)$ +\setbeameroption{$beameroption$} +$endfor$ +% Prevent slide breaks in the middle of a paragraph +\widowpenalties 1 10000 +\raggedbottom +$if(section-titles)$ +\setbeamertemplate{part page}{ + \centering + \begin{beamercolorbox}[sep=16pt,center]{part title} + \usebeamerfont{part title}\insertpart\par + \end{beamercolorbox} +} +\setbeamertemplate{section page}{ + \centering + \begin{beamercolorbox}[sep=12pt,center]{section title} + \usebeamerfont{section title}\insertsection\par + \end{beamercolorbox} +} +\setbeamertemplate{subsection page}{ + \centering + \begin{beamercolorbox}[sep=8pt,center]{subsection title} + \usebeamerfont{subsection title}\insertsubsection\par + \end{beamercolorbox} +} +\AtBeginPart{ + \frame{\partpage} +} +\AtBeginSection{ + \ifbibliography + \else + \frame{\sectionpage} + \fi +} +\AtBeginSubsection{ + \frame{\subsectionpage} +} +$endif$ +$endif$ +$if(beamerarticle)$ +\usepackage{beamerarticle} % needs to be loaded first +$endif$ + +\usepackage{amsmath,amssymb} +$if(linestretch)$ +\usepackage{setspace} +$endif$ +\usepackage{iftex} +\ifPDFTeX + \usepackage[$if(fontenc)$$fontenc$$else$T1$endif$]{fontenc} + \usepackage[utf8]{inputenc} + \usepackage{textcomp} % provide euro and other symbols +\else % if luatex or xetex +$if(mathspec)$ + \ifXeTeX + \usepackage{mathspec} % this also loads fontspec + \else + \usepackage{unicode-math} % this also loads fontspec + \fi +$else$ + \usepackage{unicode-math} +$endif$ + \defaultfontfeatures{Scale=MatchLowercase}$-- must come before Beamer theme + \defaultfontfeatures[\rmfamily]{Ligatures=TeX,Scale=1} +\fi +$if(fontfamily)$ +$else$ +$-- Set default font before Beamer theme so the theme can override it +\usepackage{lmodern} +$endif$ +$-- Set Beamer theme before user font settings so they can override theme +$if(beamer)$ +$if(theme)$ +\usetheme[$for(themeoptions)$$themeoptions$$sep$,$endfor$]{$theme$} +$endif$ +$if(colortheme)$ +\usecolortheme{$colortheme$} +$endif$ +$if(fonttheme)$ +\usefonttheme{$fonttheme$} +$endif$ +$if(mainfont)$ +\usefonttheme{serif} % use mainfont rather than sansfont for slide text +$endif$ +$if(innertheme)$ +\useinnertheme{$innertheme$} +$endif$ +$if(outertheme)$ +\useoutertheme{$outertheme$} +$endif$ +$endif$ +$-- User font settings (must come after default font and Beamer theme) +$if(fontfamily)$ +\usepackage[$for(fontfamilyoptions)$$fontfamilyoptions$$sep$,$endfor$]{$fontfamily$} +$endif$ +\ifPDFTeX\else + % xetex/luatex font selection +$if(mainfont)$ + $if(mainfontfallback)$ + \ifLuaTeX + \usepackage{luaotfload} + \directlua{luaotfload.add_fallback("mainfontfallback",{ + $for(mainfontfallback)$"$mainfontfallback$"$sep$,$endfor$ + })} + \fi + $endif$ + \setmainfont[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$$if(mainfontfallback)$,RawFeature={fallback=mainfontfallback}$endif$]{$mainfont$} +$endif$ +$if(sansfont)$ + $if(sansfontfallback)$ + \ifLuaTeX + \usepackage{luaotfload} + \directlua{luaotfload.add_fallback("sansfontfallback",{ + $for(sansfontfallback)$"$sansfontfallback$"$sep$,$endfor$ + })} + \fi + $endif$ + \setsansfont[$for(sansfontoptions)$$sansfontoptions$$sep$,$endfor$$if(sansfontfallback)$,RawFeature={fallback=sansfontfallback}$endif$]{$sansfont$} +$endif$ +$if(monofont)$ + $if(monofontfallback)$ + \ifLuaTeX + \usepackage{luaotfload} + \directlua{luaotfload.add_fallback("monofontfallback",{ + $for(monofontfallback)$"$monofontfallback$"$sep$,$endfor$ + })} + \fi + $endif$ + \setmonofont[$for(monofontoptions)$$monofontoptions$$sep$,$endfor$$if(monofontfallback)$,RawFeature={fallback=monofontfallback}$endif$]{$monofont$} +$endif$ +$for(fontfamilies)$ + \newfontfamily{$fontfamilies.name$}[$for(fontfamilies.options)$$fontfamilies.options$$sep$,$endfor$]{$fontfamilies.font$} +$endfor$ +$if(mathfont)$ +$if(mathspec)$ + \ifXeTeX + \setmathfont(Digits,Latin,Greek)[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$} + \else + \setmathfont[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$} + \fi +$else$ + \setmathfont[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$} +$endif$ +$endif$ +$if(CJKmainfont)$ + \ifXeTeX + \usepackage{xeCJK} + \setCJKmainfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmainfont$} + $if(CJKsansfont)$ + \setCJKsansfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKsansfont$} + $endif$ + $if(CJKmonofont)$ + \setCJKmonofont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmonofont$} + $endif$ + \fi +$endif$ +$if(luatexjapresetoptions)$ + \ifLuaTeX + \usepackage[$for(luatexjapresetoptions)$$luatexjapresetoptions$$sep$,$endfor$]{luatexja-preset} + \fi +$endif$ +$if(CJKmainfont)$ + \ifLuaTeX + \usepackage[$for(luatexjafontspecoptions)$$luatexjafontspecoptions$$sep$,$endfor$]{luatexja-fontspec} + \setmainjfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmainfont$} + \fi +$endif$ +\fi +$if(zero-width-non-joiner)$ +%% Support for zero-width non-joiner characters. +\makeatletter +\def\zerowidthnonjoiner{% + % Prevent ligatures and adjust kerning, but still support hyphenating. + \texorpdfstring{% + \TextOrMath{\nobreak\discretionary{-}{}{\kern.03em}% + \ifvmode\else\nobreak\hskip\z@skip\fi}{}% + }{}% +} +\makeatother +\ifPDFTeX + \DeclareUnicodeCharacter{200C}{\zerowidthnonjoiner} +\else + \catcode`^^^^200c=\active + \protected\def ^^^^200c{\zerowidthnonjoiner} +\fi +%% End of ZWNJ support +$endif$ +% Use upquote if available, for straight quotes in verbatim environments +\IfFileExists{upquote.sty}{\usepackage{upquote}}{} +\IfFileExists{microtype.sty}{% use microtype if available + \usepackage[$for(microtypeoptions)$$microtypeoptions$$sep$,$endfor$]{microtype} + \UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts +}{} +$if(indent)$ +$else$ +\makeatletter +\@ifundefined{KOMAClassName}{% if non-KOMA class + \IfFileExists{parskip.sty}{% + \usepackage{parskip} + }{% else + \setlength{\parindent}{0pt} + \setlength{\parskip}{6pt plus 2pt minus 1pt}} +}{% if KOMA class + \KOMAoptions{parskip=half}} +\makeatother +$endif$ +$if(verbatim-in-note)$ +\usepackage{fancyvrb} +$endif$ +\usepackage{xcolor} +$if(geometry)$ +$if(beamer)$ +\geometry{$for(geometry)$$geometry$$sep$,$endfor$} +$else$ +\usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry} +$endif$ +$endif$ +$if(beamer)$ +\newif\ifbibliography +$endif$ +$if(listings)$ +\usepackage{listings} +\newcommand{\passthrough}[1]{#1} +\lstset{defaultdialect=[5.3]Lua} +\lstset{defaultdialect=[x86masm]Assembler} +$endif$ +$if(lhs)$ +\lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{} +$endif$ +$if(svg)$ +\usepackage{svg} +$endif$ +$if(strikeout)$ +$-- also used for underline +\ifLuaTeX + \usepackage{luacolor} + \usepackage[soul]{lua-ul} +\else + \usepackage{soul} +$if(beamer)$ + \makeatletter + \let\HL\hl + \renewcommand\hl{% fix for beamer highlighting + \let\set@color\beamerorig@set@color + \let\reset@color\beamerorig@reset@color + \HL} + \makeatother +$endif$ +$if(CJKmainfont)$ +\ifXeTeX + % soul's \st doesn't work for CJK: + \usepackage{xeCJKfntef} + \renewcommand{\st}[1]{\sout{#1}} +\fi +$endif$ +\fi +$endif$ +\setlength{\emergencystretch}{3em} % prevent overfull lines +$if(numbersections)$ +\setcounter{secnumdepth}{$if(secnumdepth)$$secnumdepth$$else$5$endif$} +$else$ +\setcounter{secnumdepth}{-\maxdimen} % remove section numbering +$endif$ +$if(beamer)$ +$else$ +$if(block-headings)$ +% Make \paragraph and \subparagraph free-standing +\makeatletter +\ifx\paragraph\undefined\else + \let\oldparagraph\paragraph + \renewcommand{\paragraph}{ + \@ifstar + \xxxParagraphStar + \xxxParagraphNoStar + } + \newcommand{\xxxParagraphStar}[1]{\oldparagraph*{#1}\mbox{}} + \newcommand{\xxxParagraphNoStar}[1]{\oldparagraph{#1}\mbox{}} +\fi +\ifx\subparagraph\undefined\else + \let\oldsubparagraph\subparagraph + \renewcommand{\subparagraph}{ + \@ifstar + \xxxSubParagraphStar + \xxxSubParagraphNoStar + } + \newcommand{\xxxSubParagraphStar}[1]{\oldsubparagraph*{#1}\mbox{}} + \newcommand{\xxxSubParagraphNoStar}[1]{\oldsubparagraph{#1}\mbox{}} +\fi +\makeatother +$endif$ +$endif$ +$if(pagestyle)$ +\pagestyle{$pagestyle$} +$endif$ +$pandoc.tex()$ + +$if(lang)$ +\ifLuaTeX +\usepackage[bidi=basic]{babel} +\else +\usepackage[bidi=default]{babel} +\fi +$if(babel-lang)$ +\babelprovide[main,import]{$babel-lang$} +$if(mainfont)$ +\ifPDFTeX +\else +\babelfont{rm}[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$$if(mainfontfallback)$,RawFeature={fallback=mainfontfallback}$endif$]{$mainfont$} +\fi +$endif$ +$endif$ +$for(babel-otherlangs)$ +\babelprovide[import]{$babel-otherlangs$} +$endfor$ +$for(babelfonts/pairs)$ +\babelfont[$babelfonts.key$]{rm}{$babelfonts.value$} +$endfor$ +% get rid of language-specific shorthands (see #6817): +\let\LanguageShortHands\languageshorthands +\def\languageshorthands#1{} +$if(selnolig-langs)$ +\ifLuaTeX + \usepackage[$for(selnolig-langs)$$it$$sep$,$endfor$]{selnolig} % disable illegal ligatures +\fi +$endif$ +$endif$ +$if(dir)$ +\ifPDFTeX + \TeXXeTstate=1 + \newcommand{\RL}[1]{\beginR #1\endR} + \newcommand{\LR}[1]{\beginL #1\endL} + \newenvironment{RTL}{\beginR}{\endR} + \newenvironment{LTR}{\beginL}{\endL} +\fi +$endif$ +$if(biblio-config)$ +$if(natbib)$ +\usepackage[$natbiboptions$]{natbib} +\bibliographystyle{$if(biblio-style)$$biblio-style$$else$plainnat$endif$} +$endif$ +$if(biblatex)$ +\usepackage[$if(biblio-style)$style=$biblio-style$,$endif$$for(biblatexoptions)$$biblatexoptions$$sep$,$endfor$]{biblatex} +$for(bibliography)$ +\addbibresource{$bibliography$} +$endfor$ +$endif$ +$endif$ +$if(nocite-ids)$ +\nocite{$for(nocite-ids)$$it$$sep$, $endfor$} +$endif$ +$if(csquotes)$ +\usepackage{csquotes} +$endif$ +\usepackage{bookmark} + +\IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available +\urlstyle{same} % disable monospaced font for URLs +$if(links-as-notes)$ +% Make links footnotes instead of hotlinks: +\DeclareRobustCommand{\href}[2]{#2\footnote{\url{#1}}} +$endif$ +$if(verbatim-in-note)$ +\VerbatimFootnotes % allow verbatim text in footnotes +$endif$ +\hypersetup{ +$if(title-meta)$ + pdftitle={$title-meta$}, +$endif$ +$if(author-meta)$ + pdfauthor={$for(by-author)$$if(it.metadata.credit.supervision)$$else$$it.name.literal$$endif$$sep$,$endfor$}, +$endif$ +$if(lang)$ + pdflang={$lang$}, +$endif$ +$if(subject)$ + pdfsubject={$subject$}, +$endif$ +$if(keywords)$ + pdfkeywords={$for(keywords)$$keywords$$sep$, $endfor$}, +$endif$ +$if(colorlinks)$ + colorlinks=true, + $if(linkcolor)$linkcolor={$linkcolor$}$endif$, + $if(filecolor)$filecolor={$filecolor$}$endif$, + $if(citecolor)$citecolor={$citecolor$}$endif$, + $if(urlcolor)$urlcolor={$urlcolor$}$endif$, +$else$ +$if(boxlinks)$ +$else$ + hidelinks, +$endif$ +$endif$ + pdfcreator={LaTeX via pandoc}} + +$before-title.tex()$ + +$title.tex()$ + +\begin{document} +$before-body.tex()$ + +$for(include-before)$ +$include-before$ + +$endfor$ +$toc.tex()$ + +$if(linestretch)$ +\setstretch{$linestretch$} +$endif$ +$if(has-frontmatter)$ +\mainmatter +$endif$ +$body$ + +$before-bib.tex()$ + +$if(has-frontmatter)$ +\backmatter +$endif$ +$biblio.tex()$ + +$for(include-after)$ +$include-after$ + +$endfor$ +$after-body.tex()$ + +\end{document} diff --git a/_extensions/ruc-play/stylish-report/title.tex b/_extensions/ruc-play/stylish-report/title.tex new file mode 100644 index 0000000..8fda033 --- /dev/null +++ b/_extensions/ruc-play/stylish-report/title.tex @@ -0,0 +1,98 @@ +$if(title)$ +\title{$title$$if(thanks)$\thanks{$thanks$}$endif$} +$endif$ +$if(subtitle)$ +$if(beamer)$ +$else$ +\usepackage{etoolbox} +\makeatletter +\providecommand{\subtitle}[1]{% add subtitle to \maketitle + \apptocmd{\@title}{\par {\large #1 \par}}{}{} +} +\makeatother +$endif$ +\subtitle{$subtitle$} +$endif$ +\usepackage{marvosym} +\usepackage{authblk,academicons} +%\renewcommand*{\Authand}{ og } +%\renewcommand*{\Authands}{ og } +\renewcommand*{\Authsep}{\authorcr} +\renewcommand*{\Authand}{\authorcr} +\renewcommand*{\Authands}{\newline} %%new line after each author +\renewcommand{\Affilfont}{\small} +\newcommand*{\orcid}[1]{\href{https://orcid.org/#1}{\textcolor[HTML]{A6CE39}{\aiOrcid}}} +\newcommand*{\rorid}[1]{\href{https://ror.org/#1}{\aiROR}} +$for(by-author)$ +$if(it.metadata.credit.supervision)$ +$else$ +\author[$for(it.affiliations)$$it.number$$endfor$$if(it.attributes.equal-contributor)$,\YinYang$endif$$if(it.attributes.corresponding)$,∗$endif$]{% + $if(it.url)$% + \href{$it.url$}{% + $endif$% + $it.name.literal$% + $if(it.metadata.alternate)$% + \ ($for(it.metadata.alternate)$$it$$sep$,$endfor$)% + $endif$% + $if(it.url)$% + }% + $endif$% + $if(it.orcid)$% + \,\orcid{$it.orcid$}% + $endif$% +} +$endif$ +$endfor$ +$for(by-author)$ +$if(it.metadata.credit.supervision)$ +\author[$for(it.affiliations)$$it.number$$endfor$]{% + \vspace{1em} + Supervisor: + $if(it.url)$% + \href{$it.url$}{% + $endif$% + $it.name.literal$% + $if(it.metadata.alternate)$% + \ ($for(it.metadata.alternate)$$it$$sep$,$endfor$)% + $endif$% + $if(it.url)$% + }% + $endif$% + $if(it.orcid)$% + \,\orcid{$it.orcid$}% + $endif$% +} +$endif$ +$endfor$ +$for(by-affiliation)$ +\affil[$it.number$]{% + $it.name$% + $if(it.department)$% + \\$it.department$% + $endif$% + $if(it.ror)$% + \,\rorid{$it.ror$}% + $endif$% +} +$endfor$ +$if(some-author-has.attributes.equal-contributor)$ +\affil[\YinYang]{These authors contributed equally to this work.} +$endif$ +$if(some-author-has.attributes.corresponding)$ +$for(by-author)$ +$if(it.attributes.corresponding)$% +\affil[∗]{Corresponding author: \href{mailto:$it.email$}{$it.email$}} +$endif$ +$endfor$ +$endif$ +\date{$date$} +$if(beamer)$ +$if(institute)$ +\institute{$for(institute)$$institute$$sep$ \and $endfor$} +$endif$ +$if(titlegraphic)$ +\titlegraphic{\includegraphics$if(titlegraphicoptions)$[$for(titlegraphicoptions)$$titlegraphicoptions$$sep$, $endfor$]$endif${$titlegraphic$}}$endif$ +$if(logo)$ +\logo{\includegraphics{$logo$}} +$endif$ +$endif$ diff --git a/_extensions/ruc-play/stylish-report/toc.tex b/_extensions/ruc-play/stylish-report/toc.tex new file mode 100644 index 0000000..95cffff --- /dev/null +++ b/_extensions/ruc-play/stylish-report/toc.tex @@ -0,0 +1,28 @@ +$if(toc)$ +$if(toc-title)$ +\renewcommand*\contentsname{$toc-title$} +$endif$ +$if(beamer)$ +\begin{frame}[allowframebreaks] +$if(toc-title)$ + \frametitle{$toc-title$} +$endif$ + \setcounter{tocdepth}{$toc-depth$} + \tableofcontents +\end{frame} +$else$ +{ +$if(colorlinks)$ +\hypersetup{$if(toccolor)$linkcolor=$toccolor$$endif$} +$endif$ +\setcounter{tocdepth}{$toc-depth$} +\tableofcontents +} +$endif$ +$endif$ +$if(lof)$ +\listoffigures +$endif$ +$if(lot)$ +\listoftables +$endif$ \ No newline at end of file diff --git a/_extensions/ruc-play/stylish-report/x/template.tex b/_extensions/ruc-play/stylish-report/x/template.tex new file mode 100644 index 0000000..f5c5055 --- /dev/null +++ b/_extensions/ruc-play/stylish-report/x/template.tex @@ -0,0 +1,466 @@ +% Options for packages loaded elsewhere +\PassOptionsToPackage{unicode$for(hyperrefoptions)$,$hyperrefoptions$$endfor$}{hyperref} +\PassOptionsToPackage{hyphens}{url} +$if(colorlinks)$ +\PassOptionsToPackage{dvipsnames,svgnames,x11names}{xcolor} +$endif$ +$if(CJKmainfont)$ +\PassOptionsToPackage{space}{xeCJK} +$endif$ +% +$doc-class.tex()$ + +$if(beamer)$ +$if(background-image)$ +\usebackgroundtemplate{% + \includegraphics[width=\paperwidth]{$background-image$}% +} +% In beamer background-image does not work well when other images are used, so this is the workaround +\pgfdeclareimage[width=\paperwidth,height=\paperheight]{background}{$background-image$} +\usebackgroundtemplate{\pgfuseimage{background}} +$endif$ +\usepackage{pgfpages} +\setbeamertemplate{caption}[numbered] +\setbeamertemplate{caption label separator}{: } +\setbeamercolor{caption name}{fg=normal text.fg} +\beamertemplatenavigationsymbols$if(navigation)$$navigation$$else$empty$endif$ +$for(beameroption)$ +\setbeameroption{$beameroption$} +$endfor$ +% Prevent slide breaks in the middle of a paragraph +\widowpenalties 1 10000 +\raggedbottom +$if(section-titles)$ +\setbeamertemplate{part page}{ + \centering + \begin{beamercolorbox}[sep=16pt,center]{part title} + \usebeamerfont{part title}\insertpart\par + \end{beamercolorbox} +} +\setbeamertemplate{section page}{ + \centering + \begin{beamercolorbox}[sep=12pt,center]{section title} + \usebeamerfont{section title}\insertsection\par + \end{beamercolorbox} +} +\setbeamertemplate{subsection page}{ + \centering + \begin{beamercolorbox}[sep=8pt,center]{subsection title} + \usebeamerfont{subsection title}\insertsubsection\par + \end{beamercolorbox} +} +\AtBeginPart{ + \frame{\partpage} +} +\AtBeginSection{ + \ifbibliography + \else + \frame{\sectionpage} + \fi +} +\AtBeginSubsection{ + \frame{\subsectionpage} +} +$endif$ +$endif$ +$if(beamerarticle)$ +\usepackage{beamerarticle} % needs to be loaded first +$endif$ + +\usepackage{amsmath,amssymb} +$if(linestretch)$ +\usepackage{setspace} +$endif$ +\usepackage{iftex} +\ifPDFTeX + \usepackage[$if(fontenc)$$fontenc$$else$T1$endif$]{fontenc} + \usepackage[utf8]{inputenc} + \usepackage{textcomp} % provide euro and other symbols +\else % if luatex or xetex +$if(mathspec)$ + \ifXeTeX + \usepackage{mathspec} % this also loads fontspec + \else + \usepackage{unicode-math} % this also loads fontspec + \fi +$else$ + \usepackage{unicode-math} +$endif$ + \defaultfontfeatures{Scale=MatchLowercase}$-- must come before Beamer theme + \defaultfontfeatures[\rmfamily]{Ligatures=TeX,Scale=1} +\fi +$if(fontfamily)$ +$else$ +$-- Set default font before Beamer theme so the theme can override it +\usepackage{lmodern} +$endif$ +$-- Set Beamer theme before user font settings so they can override theme +$if(beamer)$ +$if(theme)$ +\usetheme[$for(themeoptions)$$themeoptions$$sep$,$endfor$]{$theme$} +$endif$ +$if(colortheme)$ +\usecolortheme{$colortheme$} +$endif$ +$if(fonttheme)$ +\usefonttheme{$fonttheme$} +$endif$ +$if(mainfont)$ +\usefonttheme{serif} % use mainfont rather than sansfont for slide text +$endif$ +$if(innertheme)$ +\useinnertheme{$innertheme$} +$endif$ +$if(outertheme)$ +\useoutertheme{$outertheme$} +$endif$ +$endif$ +$-- User font settings (must come after default font and Beamer theme) +$if(fontfamily)$ +\usepackage[$for(fontfamilyoptions)$$fontfamilyoptions$$sep$,$endfor$]{$fontfamily$} +$endif$ +\ifPDFTeX\else + % xetex/luatex font selection +$if(mainfont)$ + $if(mainfontfallback)$ + \ifLuaTeX + \usepackage{luaotfload} + \directlua{luaotfload.add_fallback("mainfontfallback",{ + $for(mainfontfallback)$"$mainfontfallback$"$sep$,$endfor$ + })} + \fi + $endif$ + \setmainfont[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$$if(mainfontfallback)$,RawFeature={fallback=mainfontfallback}$endif$]{$mainfont$} +$endif$ +$if(sansfont)$ + $if(sansfontfallback)$ + \ifLuaTeX + \usepackage{luaotfload} + \directlua{luaotfload.add_fallback("sansfontfallback",{ + $for(sansfontfallback)$"$sansfontfallback$"$sep$,$endfor$ + })} + \fi + $endif$ + \setsansfont[$for(sansfontoptions)$$sansfontoptions$$sep$,$endfor$$if(sansfontfallback)$,RawFeature={fallback=sansfontfallback}$endif$]{$sansfont$} +$endif$ +$if(monofont)$ + $if(monofontfallback)$ + \ifLuaTeX + \usepackage{luaotfload} + \directlua{luaotfload.add_fallback("monofontfallback",{ + $for(monofontfallback)$"$monofontfallback$"$sep$,$endfor$ + })} + \fi + $endif$ + \setmonofont[$for(monofontoptions)$$monofontoptions$$sep$,$endfor$$if(monofontfallback)$,RawFeature={fallback=monofontfallback}$endif$]{$monofont$} +$endif$ +$for(fontfamilies)$ + \newfontfamily{$fontfamilies.name$}[$for(fontfamilies.options)$$fontfamilies.options$$sep$,$endfor$]{$fontfamilies.font$} +$endfor$ +$if(mathfont)$ +$if(mathspec)$ + \ifXeTeX + \setmathfont(Digits,Latin,Greek)[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$} + \else + \setmathfont[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$} + \fi +$else$ + \setmathfont[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$} +$endif$ +$endif$ +$if(CJKmainfont)$ + \ifXeTeX + \usepackage{xeCJK} + \setCJKmainfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmainfont$} + $if(CJKsansfont)$ + \setCJKsansfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKsansfont$} + $endif$ + $if(CJKmonofont)$ + \setCJKmonofont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmonofont$} + $endif$ + \fi +$endif$ +$if(luatexjapresetoptions)$ + \ifLuaTeX + \usepackage[$for(luatexjapresetoptions)$$luatexjapresetoptions$$sep$,$endfor$]{luatexja-preset} + \fi +$endif$ +$if(CJKmainfont)$ + \ifLuaTeX + \usepackage[$for(luatexjafontspecoptions)$$luatexjafontspecoptions$$sep$,$endfor$]{luatexja-fontspec} + \setmainjfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmainfont$} + \fi +$endif$ +\fi +$if(zero-width-non-joiner)$ +%% Support for zero-width non-joiner characters. +\makeatletter +\def\zerowidthnonjoiner{% + % Prevent ligatures and adjust kerning, but still support hyphenating. + \texorpdfstring{% + \TextOrMath{\nobreak\discretionary{-}{}{\kern.03em}% + \ifvmode\else\nobreak\hskip\z@skip\fi}{}% + }{}% +} +\makeatother +\ifPDFTeX + \DeclareUnicodeCharacter{200C}{\zerowidthnonjoiner} +\else + \catcode`^^^^200c=\active + \protected\def ^^^^200c{\zerowidthnonjoiner} +\fi +%% End of ZWNJ support +$endif$ +% Use upquote if available, for straight quotes in verbatim environments +\IfFileExists{upquote.sty}{\usepackage{upquote}}{} +\IfFileExists{microtype.sty}{% use microtype if available + \usepackage[$for(microtypeoptions)$$microtypeoptions$$sep$,$endfor$]{microtype} + \UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts +}{} +$if(indent)$ +$else$ +\makeatletter +\@ifundefined{KOMAClassName}{% if non-KOMA class + \IfFileExists{parskip.sty}{% + \usepackage{parskip} + }{% else + \setlength{\parindent}{0pt} + \setlength{\parskip}{6pt plus 2pt minus 1pt}} +}{% if KOMA class + \KOMAoptions{parskip=half}} +\makeatother +$endif$ +$if(verbatim-in-note)$ +\usepackage{fancyvrb} +$endif$ +\usepackage{xcolor} +$if(geometry)$ +$if(beamer)$ +\geometry{$for(geometry)$$geometry$$sep$,$endfor$} +$else$ +\usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry} +$endif$ +$endif$ +$if(beamer)$ +\newif\ifbibliography +$endif$ +$if(listings)$ +\usepackage{listings} +\newcommand{\passthrough}[1]{#1} +\lstset{defaultdialect=[5.3]Lua} +\lstset{defaultdialect=[x86masm]Assembler} +$endif$ +$if(lhs)$ +\lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{} +$endif$ +$if(svg)$ +\usepackage{svg} +$endif$ +$if(strikeout)$ +$-- also used for underline +\ifLuaTeX + \usepackage{luacolor} + \usepackage[soul]{lua-ul} +\else + \usepackage{soul} +$if(beamer)$ + \makeatletter + \let\HL\hl + \renewcommand\hl{% fix for beamer highlighting + \let\set@color\beamerorig@set@color + \let\reset@color\beamerorig@reset@color + \HL} + \makeatother +$endif$ +$if(CJKmainfont)$ +\ifXeTeX + % soul's \st doesn't work for CJK: + \usepackage{xeCJKfntef} + \renewcommand{\st}[1]{\sout{#1}} +\fi +$endif$ +\fi +$endif$ +\setlength{\emergencystretch}{3em} % prevent overfull lines +$if(numbersections)$ +\setcounter{secnumdepth}{$if(secnumdepth)$$secnumdepth$$else$5$endif$} +$else$ +\setcounter{secnumdepth}{-\maxdimen} % remove section numbering +$endif$ +$if(beamer)$ +$else$ +$if(block-headings)$ +% Make \paragraph and \subparagraph free-standing +\makeatletter +\ifx\paragraph\undefined\else + \let\oldparagraph\paragraph + \renewcommand{\paragraph}{ + \@ifstar + \xxxParagraphStar + \xxxParagraphNoStar + } + \newcommand{\xxxParagraphStar}[1]{\oldparagraph*{#1}\mbox{}} + \newcommand{\xxxParagraphNoStar}[1]{\oldparagraph{#1}\mbox{}} +\fi +\ifx\subparagraph\undefined\else + \let\oldsubparagraph\subparagraph + \renewcommand{\subparagraph}{ + \@ifstar + \xxxSubParagraphStar + \xxxSubParagraphNoStar + } + \newcommand{\xxxSubParagraphStar}[1]{\oldsubparagraph*{#1}\mbox{}} + \newcommand{\xxxSubParagraphNoStar}[1]{\oldsubparagraph{#1}\mbox{}} +\fi +\makeatother +$endif$ +$endif$ +$if(pagestyle)$ +\pagestyle{$pagestyle$} +$endif$ +$pandoc.tex()$ + +$if(lang)$ +\ifLuaTeX +$if(babel-lang)$ +% use classic babel syntax: +\usepackage[main=$babel-lang$,$for(babel-otherlangs)$$babel-otherlangs$$sep$,$endfor$,provide=*,bidi=basic]{babel} +$else$ +\usepackage[bidi=basic]{babel} +$endif$ +\else +\usepackage[bidi=default]{babel} +\fi +$if(babel-lang)$ +\ifLuaTeX +\else +\babelprovide[main,import]{$babel-lang$} +\fi +$if(mainfont)$ +\ifPDFTeX +\else +\babelfont{rm}[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$$if(mainfontfallback)$,RawFeature={fallback=mainfontfallback}$endif$]{$mainfont$} +\fi +$endif$ +$endif$ +\ifLuaTeX +\else +$for(babel-otherlangs)$ +\babelprovide[import]{$babel-otherlangs$} +\fi +$endfor$ +$for(babelfonts/pairs)$ +\babelfont[$babelfonts.key$]{rm}{$babelfonts.value$} +$endfor$ +% get rid of language-specific shorthands (see #6817): +\let\LanguageShortHands\languageshorthands +\def\languageshorthands#1{} +$if(selnolig-langs)$ +\ifLuaTeX + \usepackage[$for(selnolig-langs)$$it$$sep$,$endfor$]{selnolig} % disable illegal ligatures +\fi +$endif$ +$endif$ +$if(dir)$ +\ifPDFTeX + \TeXXeTstate=1 + \newcommand{\RL}[1]{\beginR #1\endR} + \newcommand{\LR}[1]{\beginL #1\endL} + \newenvironment{RTL}{\beginR}{\endR} + \newenvironment{LTR}{\beginL}{\endL} +\fi +$endif$ +$if(biblio-config)$ +$if(natbib)$ +\usepackage[$natbiboptions$]{natbib} +\bibliographystyle{$if(biblio-style)$$biblio-style$$else$plainnat$endif$} +$endif$ +$if(biblatex)$ +\usepackage[$if(biblio-style)$style=$biblio-style$,$endif$$for(biblatexoptions)$$biblatexoptions$$sep$,$endfor$]{biblatex} +$for(bibliography)$ +\addbibresource{$bibliography$} +$endfor$ +$endif$ +$endif$ +$if(nocite-ids)$ +\nocite{$for(nocite-ids)$$it$$sep$, $endfor$} +$endif$ +$if(csquotes)$ +\usepackage{csquotes} +$endif$ +\usepackage{bookmark} + +\IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available +\urlstyle{same} % disable monospaced font for URLs +$if(links-as-notes)$ +% Make links footnotes instead of hotlinks: +\DeclareRobustCommand{\href}[2]{#2\footnote{\url{#1}}} +$endif$ +$if(verbatim-in-note)$ +\VerbatimFootnotes % allow verbatim text in footnotes +$endif$ +\hypersetup{ +$if(title-meta)$ + pdftitle={$title-meta$}, +$endif$ +$if(author-meta)$ + pdfauthor={$for(by-author)$$if(it.metadata.credit.supervision)$$else$$it.name.literal$$endif$$sep$,$endfor$}, +$endif$ +$if(lang)$ + pdflang={$lang$}, +$endif$ +$if(subject)$ + pdfsubject={$subject$}, +$endif$ +$if(keywords)$ + pdfkeywords={$for(keywords)$$keywords$$sep$, $endfor$}, +$endif$ +$if(colorlinks)$ + colorlinks=true, + $if(linkcolor)$linkcolor={$linkcolor$}$endif$, + $if(filecolor)$filecolor={$filecolor$}$endif$, + $if(citecolor)$citecolor={$citecolor$}$endif$, + $if(urlcolor)$urlcolor={$urlcolor$}$endif$, +$else$ +$if(boxlinks)$ +$else$ + hidelinks, +$endif$ +$endif$ + pdfcreator={LaTeX via pandoc}} + +$before-title.tex()$ + +$title.tex()$ + +\begin{document} +$before-body.tex()$ + +$for(include-before)$ +$include-before$ + +$endfor$ +$toc.tex()$ + +$if(linestretch)$ +\setstretch{$linestretch$} +$endif$ +$if(has-frontmatter)$ +\mainmatter +$endif$ +$body$ + +$before-bib.tex()$ + +$if(has-frontmatter)$ +\backmatter +$endif$ +$biblio.tex()$ + +$for(include-after)$ +$include-after$ + +$endfor$ +$after-body.tex()$ + +\end{document} diff --git a/_extensions/ruc-play/stylish-roles/_extension.yaml b/_extensions/ruc-play/stylish-roles/_extension.yaml new file mode 100644 index 0000000..190c698 --- /dev/null +++ b/_extensions/ruc-play/stylish-roles/_extension.yaml @@ -0,0 +1,6 @@ +name: stylish-roles +author: Jonas Smedegaard +version: 0.0.1 +contributes: + filters: + - stylish-roles.lua diff --git a/_extensions/ruc-play/stylish-roles/stylish-roles.lua b/_extensions/ruc-play/stylish-roles/stylish-roles.lua new file mode 100644 index 0000000..50caf71 --- /dev/null +++ b/_extensions/ruc-play/stylish-roles/stylish-roles.lua @@ -0,0 +1,54 @@ +--[[ +stylish-roles - provide existence hints for attributes and CrediT roles +as authors[*].metadata.credit[role], by-author[*].metadata.credit[role], +some-author-has[*].credit[role] and some-author-has.attributes[attribute]. + +Copyright: © 2024 Jonas Smedegaard + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + source-code-pro/LICENSE.md at release · adobe-fonts/source-code-pro · GitHub + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ Skip to content + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+ + + + + +
+ + + + + + + + + +
+
+
+ + + + + + + + + + + + +
+ +
+ +
+ +
+ + + + / + + source-code-pro + + + Public +
+ + +
+ +
+ + +
+
+ +
+
+ + + + +
+ + + + + + +
+ + + + + + + + + + + + + + + + + + +

Latest commit

 

History

History
93 lines (74 loc) · 4.46 KB

LICENSE.md

File metadata and controls

93 lines (74 loc) · 4.46 KB

© 2023 Adobe (http://www.adobe.com/), with Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark of Adobe in the United States and/or other countries.

+

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. +
  3. +

    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.

    +
  4. +
  5. +

    No Modified Version of the Font Software may use the Reserved Font +Name(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.

    +
  6. +
  7. +

    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.

    +
  8. +
  9. +

    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.

    +
  10. +
+

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.

+
+
+ + + + +
+ +
+ +
+
+ +
+ +
+

Footer

+ + + + +
+
+ + + + + © 2025 GitHub, Inc. + +
+ + +
+
+ + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + diff --git a/_fonts/Source Code Pro/README.md b/_fonts/Source Code Pro/README.md new file mode 100644 index 0000000..db95ce7 --- /dev/null +++ b/_fonts/Source Code Pro/README.md @@ -0,0 +1,2145 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + source-code-pro/README.md at release · adobe-fonts/source-code-pro · GitHub + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ Skip to content + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+ + + + + +
+ + + + + + + + + +
+
+
+ + + + + + + + + + + + +
+ +
+ +
+ +
+ + + + / + + source-code-pro + + + Public +
+ + +
+ +
+ + +
+
+ +
+
+ + + + +
+ + + + + + +
+ + + + + + + + + + + + + + + + + + +

Latest commit

 

History

History
18 lines (11 loc) · 701 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 701 Bytes
+
+ + + + +
+ +
+ +
+
+ +
+ +
+

Footer

+ + + + +
+
+ + + + + © 2025 GitHub, Inc. + +
+ + +
+
+ + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + diff --git a/_fonts/Source Code Pro/vf/SourceCodeVF-Italic.otf b/_fonts/Source Code Pro/vf/SourceCodeVF-Italic.otf new file mode 100644 index 0000000..565f6b6 Binary files /dev/null and b/_fonts/Source Code Pro/vf/SourceCodeVF-Italic.otf differ diff --git a/_fonts/Source Code Pro/vf/SourceCodeVF-Upright.otf b/_fonts/Source Code Pro/vf/SourceCodeVF-Upright.otf new file mode 100644 index 0000000..6879853 Binary files /dev/null and b/_fonts/Source Code Pro/vf/SourceCodeVF-Upright.otf differ diff --git a/_fonts/Source Sans 3/LICENSE.md b/_fonts/Source Sans 3/LICENSE.md new file mode 100644 index 0000000..576235a --- /dev/null +++ b/_fonts/Source Sans 3/LICENSE.md @@ -0,0 +1,2216 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + source-sans/LICENSE.md at release · adobe-fonts/source-sans · GitHub + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ Skip to content + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+ + + + + +
+ + + + + + + + + +
+
+
+ + + + + + + + + + + + +
+ +
+ +
+ +
+ + + + / + + source-sans + + + Public +
+ + +
+ +
+ + +
+
+ +
+
+ + + + +
+ + + + + + +
+ + + + + + + + + + + + + + + + + + +

Latest commit

 

History

History
93 lines (74 loc) · 4.38 KB

LICENSE.md

File metadata and controls

93 lines (74 loc) · 4.38 KB

Copyright 2010-2024 Adobe (http://www.adobe.com/), with Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark of Adobe in the United States and/or other countries.

+

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. +
  3. +

    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.

    +
  4. +
  5. +

    No Modified Version of the Font Software may use the Reserved Font +Name(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.

    +
  6. +
  7. +

    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.

    +
  8. +
  9. +

    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.

    +
  10. +
+

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.

+
+
+ + + + +
+ +
+ +
+
+ +
+ +
+

Footer

+ + + + +
+
+ + + + + © 2025 GitHub, Inc. + +
+ + +
+
+ + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + diff --git a/_fonts/Source Sans 3/README.md b/_fonts/Source Sans 3/README.md new file mode 100644 index 0000000..95a4f54 --- /dev/null +++ b/_fonts/Source Sans 3/README.md @@ -0,0 +1,2145 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + source-sans/README.md at release · adobe-fonts/source-sans · GitHub + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ Skip to content + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+ + + + + +
+ + + + + + + + + +
+
+
+ + + + + + + + + + + + +
+ +
+ +
+ +
+ + + + / + + source-sans + + + Public +
+ + +
+ +
+ + +
+
+ +
+
+ + + + +
+ + + + + + +
+ + + + + + + + + + + + + + + + + + +

Latest commit

 

History

History
18 lines (11 loc) · 686 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 686 Bytes
+
+ + + + +
+ +
+ +
+
+ +
+ +
+

Footer

+ + + + +
+
+ + + + + © 2025 GitHub, Inc. + +
+ + +
+
+ + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + diff --git a/_fonts/Source Sans 3/vf/SourceSans3VF-Italic.otf b/_fonts/Source Sans 3/vf/SourceSans3VF-Italic.otf new file mode 100644 index 0000000..1c7053d Binary files /dev/null and b/_fonts/Source Sans 3/vf/SourceSans3VF-Italic.otf differ diff --git a/_fonts/Source Sans 3/vf/SourceSans3VF-Upright.otf b/_fonts/Source Sans 3/vf/SourceSans3VF-Upright.otf new file mode 100644 index 0000000..8ee0150 Binary files /dev/null and b/_fonts/Source Sans 3/vf/SourceSans3VF-Upright.otf differ diff --git a/_fonts/Source Serif/LICENSE.md b/_fonts/Source Serif/LICENSE.md new file mode 100644 index 0000000..972557c --- /dev/null +++ b/_fonts/Source Serif/LICENSE.md @@ -0,0 +1,2244 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + source-serif/LICENSE.md at release · adobe-fonts/source-serif · GitHub + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ Skip to content + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+ + + + + +
+ + + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + +

Latest commit

 

History

History
93 lines (74 loc) · 4.39 KB

LICENSE.md

File metadata and controls

93 lines (74 loc) · 4.39 KB

Copyright 2014 - 2023 Adobe (http://www.adobe.com/), with Reserved Font Name ‘Source’. All Rights Reserved. Source is a trademark of Adobe in the United States and/or other countries.

+

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. +
  3. +

    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.

    +
  4. +
  5. +

    No Modified Version of the Font Software may use the Reserved Font +Name(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.

    +
  6. +
  7. +

    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.

    +
  8. +
  9. +

    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.

    +
  10. +
+

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.

+
+
+ + + + +
+ +
+ +
+
+ +
+ +
+

Footer

+ + + + +
+
+ + + + + © 2025 GitHub, Inc. + +
+ + +
+
+ + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + diff --git a/_fonts/Source Serif/README.md b/_fonts/Source Serif/README.md new file mode 100644 index 0000000..d540535 --- /dev/null +++ b/_fonts/Source Serif/README.md @@ -0,0 +1,2180 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + source-serif/README.md at release · adobe-fonts/source-serif · GitHub + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ Skip to content + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+ + + + + +
+ + + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + +

Latest commit

 

History

History
29 lines (16 loc) · 1.36 KB

README.md

File metadata and controls

29 lines (16 loc) · 1.36 KB

Source Serif

+

Source Serif is an open-source typeface to complement the Source Sans family.

+

Source files

+

The fonts’ source files and build instructions are available in the repository’s main branch.

+

Getting involved

+

Please open an issue to start the discussion.

+

Releases

+ +

Design information

+ +

For general information about the design and background of Source Serif, plus some technical information, please refer to the official font readme file.

+
+
+ + + + +
+ +
+ +
+
+ +
+ +
+

Footer

+ + + + +
+
+ + + + + © 2025 GitHub, Inc. + +
+ + +
+
+ + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + diff --git a/_fonts/Source Serif/vf/SourceSerif4Variable-Italic.otf b/_fonts/Source Serif/vf/SourceSerif4Variable-Italic.otf new file mode 100644 index 0000000..d3a9904 Binary files /dev/null and b/_fonts/Source Serif/vf/SourceSerif4Variable-Italic.otf differ diff --git a/_fonts/Source Serif/vf/SourceSerif4Variable-Roman.otf b/_fonts/Source Serif/vf/SourceSerif4Variable-Roman.otf new file mode 100644 index 0000000..de325d6 Binary files /dev/null and b/_fonts/Source Serif/vf/SourceSerif4Variable-Roman.otf differ diff --git a/_fonts/index.md b/_fonts/index.md new file mode 100644 index 0000000..e94be97 --- /dev/null +++ b/_fonts/index.md @@ -0,0 +1,12 @@ +The font family [Source Sans](https://en.wikipedia.org/wiki/Source_Sans) is designet +by [Paul D. Hunt](https://luc.devroye.org/fonts-42645.html), +based on Franklin Gothic. + +The font family [Source Serif](https://en.wikipedia.org/wiki/Source_Serif) is designet +by [Frank Grießhammer](https://luc.devroye.org/fonts-55338.html) +as a complement to Source Sans, +based on the forms of [Pierre Simon Fournier](https://en.wikipedia.org/wiki/Pierre_Simon_Fournier). + +The font family [Source Code Pro](https://en.wikipedia.org/wiki/Source_Code_Pro) is designet +by [Paul D. Hunt](https://luc.devroye.org/fonts-42645.html), +based on Franklin Gothic. diff --git a/_quarto.yml b/_quarto.yml new file mode 100644 index 0000000..580729e --- /dev/null +++ b/_quarto.yml @@ -0,0 +1,35 @@ +project: + type: website + +website: + title: "Overview" + navbar: + left: + - text: Report + href: report.qmd + +lang: en-GB + +mainfont: Source Serif 4 Variable +mainfontoptions: + - OpticalSize=11 +sansfont: SourceSans3VF +sansfontoptions: + - Instance=Regular +monofont: SourceCodeVF +monofontoptions: + - Instance=Regular + - Scale=0.8 + +link-citations: true +bibliography: ref.bib +csl: apa +resource-path: +- /usr/share/citation-style-language/styles + +resources: + - fonts + +filters: + - abstract-section + - stylish-roles diff --git a/ref.bib b/ref.bib new file mode 100644 index 0000000..50810c4 --- /dev/null +++ b/ref.bib @@ -0,0 +1,36 @@ +@Article{FerreiraRodriguez2023, + author = {Ferreira-Rodríguez, Noé and Beggel, Sebastian and Geist, Juergen P. and Modesto, Vanessa and Österling, Martin and Riccardi, Nicoletta and Sousa, Ronaldo and Urbańska, Maria}, + date = {2023-11}, + journaltitle = {ACS ES&T Water}, + title = {Freshwater Mussels as Sentinels for Safe Drinking Water Supply in Europe}, + doi = {10.1021/acsestwater.3c00012}, + issn = {2690-0637}, + number = {12}, + pages = {3730--3735}, + volume = {3}, + file = {:FerreiraRodriguez2023 - Freshwater Mussels As Sentinels for Safe Drinking Water Supply in Europe.pdf:PDF}, + publisher = {American Chemical Society (ACS)}, +} + +@Electronic{Prote2024, + date = {2024}, + editor = {Prote}, + title = {SYMBIO}, + url = {https://www.prote.pl/PL-H16}, + subtitle = {zabezpieczenie ujęć wody przed nagłym skażeniem}, + urldate = {2024-02-23}, +} + +@Electronic{Nazaruk2016, + author = {Igor Nazaruk}, + date = {2016-01-29}, + editor = {{MetroWarszawa}}, + title = {Skąd płynie woda w warszawskich kranach i co mają z tym wspólnego małże? Sprawdzamy: Nie daj się nabić w butelkę, pij wodę z kranu!}, + url = {https://metrowarszawa.gazeta.pl/metrowarszawa/7,141635,19365353,skad-plynie-woda-w-warszawskich-kranach-i-co-maja-z-tym-wspolnego.html}, + language = {polish}, + urldate = {2025-02-23}, +} + +@Comment{jabref-meta: databaseType:biblatex;} + +@Comment{jabref-meta: fileDirectory-jonas-bastian:/home/jonas/Projects/RUC/LIB/mussel;} diff --git a/report.qmd b/report.qmd new file mode 100644 index 0000000..39d369c --- /dev/null +++ b/report.qmd @@ -0,0 +1,74 @@ +--- +title: Mussel-driven voting system + +date: 2025-04-23 + +toc-depth: 2 + +format: + stylish-report-pdf: + pdfversion: "2.0" + pdfstandard: [A-4f, UA-2] + pdftestphase: latest + +metadata-files: + - _actors.yml +keywords: + - Markdown + - Commonmark + - Lua + - pandoc + - text editor + - semantic publishing + +--- + +# Abstract + +TODO + +# Introduction + +A system in Poland to monitor water treatment plants +uses mussels as bioindicators +[@FerreiraRodriguez2023]. +The system, SYMBIO, +measures once per second the opening level of 8 freshwater mussels +by way of a magnet glued to each mussel +[@Prote2024]. +If either half of the mussels close rapidly +or one of them remains closed for longer time, +an alarm is triggered and further laboratory tests are done +[@Nazaruk2016]. + +This project will implement mechanisms like the polish system. + +# Project Planning + +TODO + +# Analysis and Design + +TODO + +# Description of the Program + +TODO + +# User Guide + +TODO + +# Testing + +TODO + +# Discussion + +TODO + +# Conclusion + +TODO + +# Bibliography {.appendix} -- cgit v1.2.3