Skip to content

Commit

Permalink
introduced an archetype for presentation in microdown.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ducasse committed Apr 26, 2024
1 parent 0a834df commit afda947
Show file tree
Hide file tree
Showing 49 changed files with 2,563 additions and 0 deletions.
4 changes: 4 additions & 0 deletions archetypes/microdown-nometa-presentation/Readme.md
@@ -0,0 +1,4 @@
This archetype is for beamer based slides using microdown extension based on <!slide and !>
In addition this version does not manage meta data to specify author, title, id, as used in the advanced pharo mooc.


@@ -0,0 +1,54 @@
% -*- mode: latex; -*- mustache tags: {{=« »=}} «! the '&' below prevents HTML escaping. »

\documentclass{beamer}

\usepackage[frenchb]{babel}
\usepackage[T1]{fontenc}
\usepackage{pgfpages}
\usepackage{listings}
\usepackage{color}

\definecolor{codegreen}{rgb}{0,0.6,0}
\definecolor{codegray}{rgb}{0.5,0.5,0.5}
\definecolor{codepurple}{rgb}{0.58,0,0.82}
\definecolor{backcolour}{rgb}{0.95,0.95,0.92}

\lstdefinestyle{mystyle}{
backgroundcolor=\color{backcolour},
numberstyle=\tiny\color{codegreen},
breaklines=true,
captionpos=b,
tabsize=2,
basicstyle=\ttfamily\scriptsize
}

\lstset{style=mystyle}

\usetheme{Warsaw}

\setbeamercolor{structure}{fg=red!90!black}

\title{«& title»}
\subtitle{«& subtitle»}
\author{«& author»}
\institute{«& complement»}
\date{«& date»}

\addtobeamertemplate{navigation symbols}{}{%
\usebeamerfont{footline}%
\usebeamercolor[fg]{footline}%
\hspace{1em}%
\insertframenumber/\inserttotalframenumber
}

\setbeamercolor{footline}{fg=blue}
\setbeamerfont{footline}{series=\bfseries}
\setbeamertemplate{headline}{}

\begin{document}

\frame[plain]{\titlepage}
\frame[plain]{\tableofcontents}

«& content»
\end{document}
36 changes: 36 additions & 0 deletions archetypes/microdown-nometa-presentation/index.md
@@ -0,0 +1,36 @@
{
"title" : "Advanced Object-Oriented Design",
"slidesid":"2023"
}

<!slide|title=First slide
What a beautiful slide
- First column
- 1122
- 1133
!>

<!slide|title=Second slide
<!columns
<!column|width=50
- First column
- 1122
- 1133
!>

<!column|width=50
- Second column
- 2222
- 2233
!>

!>

!>
8 changes: 8 additions & 0 deletions archetypes/microdown-nometa-presentation/pillar.conf
@@ -0,0 +1,8 @@
{
"title":"My First Presentation - The main title",
"subtitle": "and a cool sub",
"author": "Joe Rabbit",
"complement" : "Rabbit Corp 4.0",
"date": "March 2020",
"latexWriter" : #micBeamer
}
File renamed without changes.
File renamed without changes.
Empty file.
60 changes: 60 additions & 0 deletions archetypes/pillar-presentation/support/html/deckjs/deck.core.css
@@ -0,0 +1,60 @@
html, body {
height: 100%;
padding: 0;
margin: 0;
}

.deck-container {
position: relative;
min-height: 100%;
margin: 0 auto;
overflow: hidden;
overflow-y: auto;
}
.js .deck-container {
visibility: hidden;
}
.ready .deck-container {
visibility: visible;
}
.touch .deck-container {
-webkit-text-size-adjust: none;
-moz-text-size-adjust: none;
}

.deck-loading {
display: none;
}

.slide {
width: auto;
min-height: 100%;
position: relative;
}

.deck-before, .deck-previous, .deck-next, .deck-after {
position: absolute;
left: -999em;
top: -999em;
}

.deck-current {
z-index: 2;
}

.slide .slide {
visibility: hidden;
position: static;
min-height: 0;
}

.deck-child-current {
position: static;
z-index: 2;
}
.deck-child-current .slide {
visibility: hidden;
}
.deck-child-current .deck-previous, .deck-child-current .deck-before, .deck-child-current .deck-current {
visibility: visible;
}

0 comments on commit afda947

Please sign in to comment.