Skip to content
Snippets Groups Projects
Commit 10b619d8 authored by Nicolas Lenz's avatar Nicolas Lenz :snowflake:
Browse files

Update for new template

parent 1b289d96
No related branches found
No related tags found
No related merge requests found
image: registry.eisfunke.com/software/container/pandoc-plus:latest
build:
stage: build
script:
- make slides.pdf
- make slides.tex
artifacts:
paths:
- slides.pdf
- slides.tex
pages:
stage: deploy
script:
- mkdir public
- mv slides.pdf public
artifacts:
paths:
- public
only:
- master
include:
- remote: https://git.eisfunke.com/document/pandoc-template/slides/-/raw/main/build.gitlab-ci.yml
- remote: https://git.eisfunke.com/document/pandoc-template/slides/-/raw/main/pages.gitlab-ci.yml
inputs = $(shell ls src/*.md) # $(wildcard src/*.md) outputs in the wrong order
pandoc = pandoc $(inputs) -f markdown -t beamer \
--slide-level 2 -V theme:metropolis -H theme.tex
slides.pdf: $(inputs) res/* theme.tex
$(pandoc) --pdf-engine=xelatex -o $@
slides.tex: $(inputs) theme.tex
$(pandoc) -o $@
slides.html: $(inputs) theme.tex
pandoc $(inputs) -f markdown -t revealjs -s --slide-level 2 -o $@
clean:
rm -f slides.pdf slides.tex
.PHONY: clean
title: Functional Programming
subtitle: An introductory Workshop
author: Nicolas Lenz
institute: "[eisfunke.com](https://www.eisfunke.com)"
logo: res/logo-haskell.png
---
title: Functional Programming
subtitle: An introductory Workshop
author: Nicolas Lenz
institute: "[eisfunke.com](https://www.eisfunke.com)"
titlegraphic: res/logo-haskell.png
---
# Introduction
## Me
......
\definecolor{primary-medium}{HTML}{F19204}
\definecolor{accent-bright}{HTML}{F07D8F}
\definecolor{accent-light}{HTML}{EB4F67}
\definecolor{accent-medium}{HTML}{E41131}
\definecolor{accent-dim}{HTML}{A90D24}
\definecolor{background-very-dark}{HTML}{232124}
\definecolor{background-dark}{HTML}{3F3C41}
\definecolor{background-super-bright}{HTML}{F8F7F8}
\metroset{sectionpage=progressbar, progressbar=frametitle, titleformat=smallcaps, background=light}
\setbeamercolor{normal text}{fg=black}
\setbeamercolor{background canvas}{fg=background-dark, bg=background-super-bright}
\setbeamercolor*{palette primary}{fg=white,bg=primary-medium}
\setbeamercolor*{progress bar}{fg=accent-dim, bg=accent-bright}
\setlength{\leftmargini}{1em}
\usepackage{sourcesanspro}
\usepackage{sourcecodepro}
\usepackage{polyglossia}
\setdefaultlanguage[variant=american]{english}
\usepackage{listings}
\usepackage{mathtools, amssymb, stmaryrd, unicode-math}
\usepackage{xspace}
\usepackage{fvextra}
\usepackage{color}
\usepackage{fancyvrb}
% \renewcommand{\VERB}{\Verb[commandchars=\\\{\}]}
\DefineVerbatimEnvironment{Highlighting}{Verbatim}{commandchars=\\\{\},breaklines,fontsize=\small}
\DefineVerbatimEnvironment{verbatim}{Verbatim}{commandchars=\\\{\},breaklines,fontsize=\small}
% \input{macros.tex}
\lstnewenvironment{algorithm}{
\lstset{
mathescape=true,
escapeinside={(*}{*)},
keepspaces=true,
numbers=left,
numberstyle=\tiny,
columns=fullflexible,
keywordstyle=\bfseries,
keywords={repeat, until, for, all, each, in, return, function, if, else, or, and, empty},
numbers=left
}
}{}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment