template structure
This commit is contained in:
2
templates/code-style.tex
Normal file
2
templates/code-style.tex
Normal file
@@ -0,0 +1,2 @@
|
||||
%\renewenvironment{Shaded} {\begin{snugshade}\footnotesize} {\end{snugshade}}
|
||||
\renewenvironment{Shaded} {\begin{snugshade}\scriptsize} {\end{snugshade}}
|
||||
6
templates/html_header.md
Normal file
6
templates/html_header.md
Normal file
@@ -0,0 +1,6 @@
|
||||
theme: sky
|
||||
width: 1824
|
||||
height: 1026
|
||||
maxScale: 0.85
|
||||
margin: 0.02
|
||||
progress: true
|
||||
5
templates/pdf_header.md
Normal file
5
templates/pdf_header.md
Normal file
@@ -0,0 +1,5 @@
|
||||
theme: Hannover
|
||||
colortheme: rose
|
||||
linkstyle: underlined
|
||||
listings: true
|
||||
fonttheme: professionalfonts
|
||||
268
templates/template.beamer
Normal file
268
templates/template.beamer
Normal file
@@ -0,0 +1,268 @@
|
||||
\documentclass[$if(aspectratio)$aspectratio=$aspectratio$,$endif$$if(fontsize)$$fontsize$,$endif$$if(lang)$$babel-lang$,$endif$$if(handout)$handout,$endif$$if(beamer)$ignorenonframetext,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$}
|
||||
\setbeamertemplate{caption}[numbered]
|
||||
\setbeamertemplate{caption label separator}{: }
|
||||
\setbeamertemplate{section in toc}[sections numbered]
|
||||
\setbeamercolor{caption name}{fg=normal text.fg}
|
||||
\setbeamercolor{section in toc}{fg=white}
|
||||
\beamertemplatenavigationsymbols$if(navigation)$$navigation$$else$empty$endif$
|
||||
\newcommand{\colA}[1]{\begin{columns}[t]\begin{column}{#1}}
|
||||
\newcommand{\colB}[1]{\end{column}\begin{column}{#1}}
|
||||
\newcommand{\colEnd}{\end{column}\end{columns}}
|
||||
$if(fontfamily)$
|
||||
\usepackage[$for(fontfamilyoptions)$$fontfamilyoptions$$sep$,$endfor$]{$fontfamily$}
|
||||
$else$
|
||||
\usepackage{lmodern}
|
||||
$endif$
|
||||
\usepackage{tikz}
|
||||
\usepackage{pgfplots}
|
||||
\newcommand\commit[2]{\node[commit] (#1) {}; \node[clabel] at (#1) {\texttt{#1}: #2};}
|
||||
\newcommand\ghost[1]{\coordinate (#1);}
|
||||
\newcommand\connect[2]{\path (#1) to[out=90,in=-90] (#2);}
|
||||
\usepackage{amssymb,amsmath}
|
||||
\usepackage{ifxetex,ifluatex}
|
||||
\usepackage{fixltx2e} % provides \textsubscript
|
||||
\setbeamertemplate{footline}{\hspace{125mm}\insertframenumber\vspace{1mm}\hspace{10mm}}
|
||||
%\setbeamertemplate{frame footer}{\tiny{$for(author)$$author$$sep$ \and $endfor$}}
|
||||
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
|
||||
\usepackage[$if(fontenc)$$fontenc$$else$T1$endif$]{fontenc}
|
||||
\usepackage[utf8]{inputenc}
|
||||
$if(euro)$
|
||||
\usepackage{eurosym}
|
||||
$endif$
|
||||
\else % if luatex or xelatex
|
||||
\ifxetex
|
||||
\usepackage{mathspec}
|
||||
\else
|
||||
\usepackage{fontspec}
|
||||
\fi
|
||||
\defaultfontfeatures{Ligatures=TeX,Scale=MatchLowercase}
|
||||
$if(euro)$
|
||||
\newcommand{\euro}{€}
|
||||
$endif$
|
||||
$if(mainfont)$
|
||||
\setmainfont[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$]{$mainfont$}
|
||||
$endif$
|
||||
$if(sansfont)$
|
||||
\setsansfont[$for(sansfontoptions)$$sansfontoptions$$sep$,$endfor$]{$sansfont$}
|
||||
$endif$
|
||||
$if(monofont)$
|
||||
\setmonofont[Mapping=tex-ansi$if(monofontoptions)$,$for(monofontoptions)$$monofontoptions$$sep$,$endfor$$endif$]{$monofont$}
|
||||
$endif$
|
||||
$if(mathfont)$
|
||||
\setmathfont(Digits,Latin,Greek)[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$}
|
||||
$endif$
|
||||
$if(CJKmainfont)$
|
||||
\usepackage{xeCJK}
|
||||
\setCJKmainfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmainfont$}
|
||||
$endif$
|
||||
\fi
|
||||
$if(theme)$
|
||||
\usetheme{$theme$}
|
||||
$endif$
|
||||
\setbeamertemplate{enumerate items}[default]
|
||||
$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$
|
||||
% use upquote if available, for straight quotes in verbatim environments
|
||||
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
|
||||
% use microtype if available
|
||||
\IfFileExists{microtype.sty}{%
|
||||
\usepackage{microtype}
|
||||
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
|
||||
}{}
|
||||
$if(lang)$
|
||||
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
|
||||
\usepackage[shorthands=off,$for(babel-otherlangs)$$babel-otherlangs$,$endfor$main=$babel-lang$]{babel}
|
||||
$if(babel-newcommands)$
|
||||
$babel-newcommands$
|
||||
$endif$
|
||||
\else
|
||||
\usepackage{polyglossia}
|
||||
\setmainlanguage[$polyglossia-lang.options$]{$polyglossia-lang.name$}
|
||||
$for(polyglossia-otherlangs)$
|
||||
\setotherlanguage[$polyglossia-otherlangs.options$]{$polyglossia-otherlangs.name$}
|
||||
$endfor$
|
||||
\fi
|
||||
$endif$
|
||||
\newif\ifbibliography
|
||||
$if(natbib)$
|
||||
\usepackage{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$
|
||||
$if(listings)$
|
||||
\usepackage{listings}
|
||||
$endif$
|
||||
$if(lhs)$
|
||||
\lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{}
|
||||
$endif$
|
||||
$if(highlighting-macros)$
|
||||
$highlighting-macros$
|
||||
$endif$
|
||||
$if(verbatim-in-note)$
|
||||
\usepackage{fancyvrb}
|
||||
\VerbatimFootnotes % allows verbatim text in footnotes
|
||||
$endif$
|
||||
$if(tables)$
|
||||
\usepackage{longtable,booktabs}
|
||||
\usepackage{caption}
|
||||
% These lines are needed to make table captions work with longtable:
|
||||
\makeatletter
|
||||
\def\fnum@table{\tablename~\thetable}
|
||||
\makeatother
|
||||
$endif$
|
||||
$if(graphics)$
|
||||
\usepackage{graphicx,grffile}
|
||||
\makeatletter
|
||||
\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi}
|
||||
\def\maxheight{\ifdim\Gin@nat@height>\textheight0.8\textheight\else\Gin@nat@height\fi}
|
||||
\makeatother
|
||||
% Scale images if necessary, so that they will not overflow the page
|
||||
% margins by default, and it is still possible to overwrite the defaults
|
||||
% using explicit options in \includegraphics[width, height, ...]{}
|
||||
\setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
|
||||
$endif$
|
||||
|
||||
% Prevent slide breaks in the middle of a paragraph:
|
||||
\widowpenalties 1 10000
|
||||
\raggedbottom
|
||||
|
||||
$if(section-titles)$
|
||||
\AtBeginPart{
|
||||
\let\insertpartnumber\relax
|
||||
\let\partname\relax
|
||||
\frame{\partpage}
|
||||
}
|
||||
\AtBeginSection{
|
||||
\ifbibliography
|
||||
\else
|
||||
\let\insertsectionnumber\relax
|
||||
\let\sectionname\relax
|
||||
\frame{\sectionpage}
|
||||
\fi
|
||||
}
|
||||
\AtBeginSubsection{
|
||||
\let\insertsubsectionnumber\relax
|
||||
\let\subsectionname\relax
|
||||
\frame{\subsectionpage}
|
||||
}
|
||||
$endif$
|
||||
|
||||
$if(links-as-notes)$
|
||||
% Make links footnotes instead of hotlinks:
|
||||
\renewcommand{\href}[2]{#2\footnote{\url{#1}}}
|
||||
$endif$
|
||||
$if(strikeout)$
|
||||
\usepackage[normalem]{ulem}
|
||||
% avoid problems with \sout in headers with hyperref:
|
||||
\pdfstringdefDisableCommands{\renewcommand{\sout}{}}
|
||||
$endif$
|
||||
\setlength{\emergencystretch}{3em} % prevent overfull lines
|
||||
\providecommand{\tightlist}{%
|
||||
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
|
||||
$if(numbersections)$
|
||||
\setcounter{secnumdepth}{5}
|
||||
$else$
|
||||
\setcounter{secnumdepth}{0}
|
||||
$endif$
|
||||
$if(dir)$
|
||||
\ifxetex
|
||||
% load bidi as late as possible as it modifies e.g. graphicx
|
||||
$if(latex-dir-rtl)$
|
||||
\usepackage[RTLdocument]{bidi}
|
||||
$else$
|
||||
\usepackage{bidi}
|
||||
$endif$
|
||||
\fi
|
||||
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
|
||||
\TeXXeTstate=1
|
||||
\newcommand{\RL}[1]{\beginR #1\endR}
|
||||
\newcommand{\LR}[1]{\beginL #1\endL}
|
||||
\newenvironment{RTL}{\beginR}{\endR}
|
||||
\newenvironment{LTR}{\beginL}{\endL}
|
||||
\fi
|
||||
$endif$
|
||||
$for(header-includes)$
|
||||
$header-includes$
|
||||
$endfor$
|
||||
|
||||
$if(title)$
|
||||
\title{$title$}
|
||||
$endif$
|
||||
$if(subtitle)$
|
||||
\subtitle{$subtitle$}
|
||||
$endif$
|
||||
$if(author)$
|
||||
\author{$for(author)$$author$$sep$ \and $endfor$}
|
||||
$endif$
|
||||
$if(institute)$
|
||||
\institute{$for(institute)$$institute$$sep$ \and $endfor$}
|
||||
$endif$
|
||||
\date{$date$}
|
||||
|
||||
\begin{document}
|
||||
$if(title)$
|
||||
\frame{\titlepage}
|
||||
$endif$
|
||||
|
||||
$for(include-before)$
|
||||
$include-before$
|
||||
|
||||
$endfor$
|
||||
$if(toc)$
|
||||
$if(toc-title)$
|
||||
\begin{frame}{$toc-title$}
|
||||
$else$
|
||||
\begin{frame}{Outline}
|
||||
$endif$
|
||||
\tableofcontents[hideallsubsections]
|
||||
\end{frame}
|
||||
|
||||
$endif$
|
||||
$body$
|
||||
|
||||
$if(natbib)$
|
||||
$if(bibliography)$
|
||||
$if(biblio-title)$
|
||||
$if(book-class)$
|
||||
\renewcommand\bibname{$biblio-title$}
|
||||
$else$
|
||||
\renewcommand\refname{$biblio-title$}
|
||||
$endif$
|
||||
$endif$
|
||||
\begin{frame}[allowframebreaks]{$biblio-title$}
|
||||
\bibliographytrue
|
||||
\bibliography{$for(bibliography)$$bibliography$$sep$,$endfor$}
|
||||
\end{frame}
|
||||
|
||||
$endif$
|
||||
$endif$
|
||||
$if(biblatex)$
|
||||
\begin{frame}[allowframebreaks]{$biblio-title$}
|
||||
\bibliographytrue
|
||||
\printbibliography[heading=none]
|
||||
\end{frame}
|
||||
|
||||
$endif$
|
||||
$for(include-after)$
|
||||
$include-after$
|
||||
|
||||
$endfor$
|
||||
\end{document}
|
||||
324
templates/template.revealjs
Normal file
324
templates/template.revealjs
Normal file
@@ -0,0 +1,324 @@
|
||||
<!DOCTYPE html>
|
||||
<html$if(lang)$ lang="$lang$"$endif$$if(dir)$ dir="$dir$"$endif$>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="generator" content="pandoc">
|
||||
$for(author-meta)$
|
||||
<meta name="author" content="$author-meta$">
|
||||
$endfor$
|
||||
$if(date-meta)$
|
||||
<meta name="dcterms.date" content="$date-meta$">
|
||||
$endif$
|
||||
$if(keywords)$
|
||||
<meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$">
|
||||
$endif$
|
||||
<title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
|
||||
<link rel="stylesheet" href="$revealjs-url$/dist/reset.css">
|
||||
<link rel="stylesheet" href="$revealjs-url$/dist/reveal.css">
|
||||
<style>
|
||||
.reveal .sourceCode { /* see #7635 */
|
||||
overflow: visible;
|
||||
}
|
||||
$styles.html()$
|
||||
</style>
|
||||
$if(theme)$
|
||||
<link rel="stylesheet" href="$revealjs-url$/dist/theme/$theme$.css" id="theme">
|
||||
$else$
|
||||
<link rel="stylesheet" href="$revealjs-url$/dist/theme/black.css" id="theme">
|
||||
$endif$
|
||||
$for(css)$
|
||||
<link rel="stylesheet" href="$css$"/>
|
||||
$endfor$
|
||||
$if(math)$
|
||||
$math$
|
||||
$endif$
|
||||
$for(header-includes)$
|
||||
$header-includes$
|
||||
$endfor$
|
||||
</head>
|
||||
<body>
|
||||
$for(include-before)$
|
||||
$include-before$
|
||||
$endfor$
|
||||
<div class="reveal">
|
||||
<div class="slides">
|
||||
|
||||
$if(title)$
|
||||
<section id="$idprefix$title-slide"$for(title-slide-attributes/pairs)$ $it.key$="$it.value$"$endfor$>
|
||||
<h1 class="title">$title$</h1>
|
||||
$if(subtitle)$
|
||||
<p class="subtitle">$subtitle$</p>
|
||||
$endif$
|
||||
$for(author)$
|
||||
<p class="author">$author$</p>
|
||||
$endfor$
|
||||
$for(institute)$
|
||||
<p class="institute">$institute$</p>
|
||||
$endfor$
|
||||
$if(date)$
|
||||
<p class="date">$date$</p>
|
||||
$endif$
|
||||
$if(logo)$
|
||||
<img src="$logo$"></img>
|
||||
$endif$
|
||||
</section>
|
||||
$endif$
|
||||
$if(toc)$
|
||||
<section id="$idprefix$TOC">
|
||||
<nav role="doc-toc">
|
||||
$if(toc-title)$
|
||||
<h2 id="$idprefix$toc-title">$toc-title$</h2>
|
||||
$endif$
|
||||
$table-of-contents$
|
||||
</nav>
|
||||
</section>
|
||||
$endif$
|
||||
|
||||
$body$
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="$revealjs-url$/dist/reveal.js"></script>
|
||||
|
||||
<!-- reveal.js plugins -->
|
||||
<script src="$revealjs-url$/plugin/notes/notes.js"></script>
|
||||
<script src="$revealjs-url$/plugin/search/search.js"></script>
|
||||
<script src="$revealjs-url$/plugin/zoom/zoom.js"></script>
|
||||
$if(mathjax)$
|
||||
<script src="$revealjs-url$/plugin/math/math.js"></script>
|
||||
$endif$
|
||||
|
||||
<script>
|
||||
|
||||
// Full list of configuration options available at:
|
||||
// https://revealjs.com/config/
|
||||
Reveal.initialize({
|
||||
// Display controls in the bottom right corner
|
||||
controls: $controls$,
|
||||
|
||||
// Help the user learn the controls by providing hints, for example by
|
||||
// bouncing the down arrow when they first encounter a vertical slide
|
||||
controlsTutorial: $controlsTutorial$,
|
||||
|
||||
// Determines where controls appear, "edges" or "bottom-right"
|
||||
controlsLayout: '$controlsLayout$',
|
||||
|
||||
// Visibility rule for backwards navigation arrows; "faded", "hidden"
|
||||
// or "visible"
|
||||
controlsBackArrows: '$controlsBackArrows$',
|
||||
|
||||
// Display a presentation progress bar
|
||||
progress: $progress$,
|
||||
|
||||
// Display the page number of the current slide
|
||||
slideNumber: $slideNumber$,
|
||||
|
||||
// 'all', 'print', or 'speaker'
|
||||
showSlideNumber: '$showSlideNumber$',
|
||||
|
||||
// Add the current slide number to the URL hash so that reloading the
|
||||
// page/copying the URL will return you to the same slide
|
||||
hash: $hash$,
|
||||
|
||||
// Start with 1 for the hash rather than 0
|
||||
hashOneBasedIndex: $hashOneBasedIndex$,
|
||||
|
||||
// Flags if we should monitor the hash and change slides accordingly
|
||||
respondToHashChanges: $respondToHashChanges$,
|
||||
|
||||
// Push each slide change to the browser history
|
||||
history: $history$,
|
||||
|
||||
// Enable keyboard shortcuts for navigation
|
||||
keyboard: $keyboard$,
|
||||
|
||||
// Enable the slide overview mode
|
||||
overview: $overview$,
|
||||
|
||||
// Disables the default reveal.js slide layout (scaling and centering)
|
||||
// so that you can use custom CSS layout
|
||||
disableLayout: $disableLayout$,
|
||||
|
||||
// Vertical centering of slides
|
||||
center: $center$,
|
||||
|
||||
// Enables touch navigation on devices with touch input
|
||||
touch: $touch$,
|
||||
|
||||
// Loop the presentation
|
||||
loop: $loop$,
|
||||
|
||||
// Change the presentation direction to be RTL
|
||||
rtl: $rtl$,
|
||||
|
||||
// see https://revealjs.com/vertical-slides/#navigation-mode
|
||||
navigationMode: '$navigationMode$',
|
||||
|
||||
// Randomizes the order of slides each time the presentation loads
|
||||
shuffle: $shuffle$,
|
||||
|
||||
// Turns fragments on and off globally
|
||||
fragments: $fragments$,
|
||||
|
||||
// Flags whether to include the current fragment in the URL,
|
||||
// so that reloading brings you to the same fragment position
|
||||
fragmentInURL: $fragmentInURL$,
|
||||
|
||||
// Flags if the presentation is running in an embedded mode,
|
||||
// i.e. contained within a limited portion of the screen
|
||||
embedded: $embedded$,
|
||||
|
||||
// Flags if we should show a help overlay when the questionmark
|
||||
// key is pressed
|
||||
help: $help$,
|
||||
|
||||
// Flags if it should be possible to pause the presentation (blackout)
|
||||
pause: $pause$,
|
||||
|
||||
// Flags if speaker notes should be visible to all viewers
|
||||
showNotes: $showNotes$,
|
||||
|
||||
// Global override for autoplaying embedded media (null/true/false)
|
||||
autoPlayMedia: $autoPlayMedia$,
|
||||
|
||||
// Global override for preloading lazy-loaded iframes (null/true/false)
|
||||
preloadIframes: $preloadIframes$,
|
||||
|
||||
// Number of milliseconds between automatically proceeding to the
|
||||
// next slide, disabled when set to 0, this value can be overwritten
|
||||
// by using a data-autoslide attribute on your slides
|
||||
autoSlide: $autoSlide$,
|
||||
|
||||
// Stop auto-sliding after user input
|
||||
autoSlideStoppable: $autoSlideStoppable$,
|
||||
|
||||
// Use this method for navigation when auto-sliding
|
||||
autoSlideMethod: $autoSlideMethod$,
|
||||
|
||||
// Specify the average time in seconds that you think you will spend
|
||||
// presenting each slide. This is used to show a pacing timer in the
|
||||
// speaker view
|
||||
defaultTiming: $defaultTiming$,
|
||||
|
||||
// Enable slide navigation via mouse wheel
|
||||
mouseWheel: $mouseWheel$,
|
||||
|
||||
// The display mode that will be used to show slides
|
||||
display: '$display$',
|
||||
|
||||
// Hide cursor if inactive
|
||||
hideInactiveCursor: $hideInactiveCursor$,
|
||||
|
||||
// Time before the cursor is hidden (in ms)
|
||||
hideCursorTime: $hideCursorTime$,
|
||||
|
||||
// Opens links in an iframe preview overlay
|
||||
previewLinks: $previewLinks$,
|
||||
|
||||
// Transition style (none/fade/slide/convex/concave/zoom)
|
||||
transition: '$transition$',
|
||||
|
||||
// Transition speed (default/fast/slow)
|
||||
transitionSpeed: '$transitionSpeed$',
|
||||
|
||||
// Transition style for full page slide backgrounds
|
||||
// (none/fade/slide/convex/concave/zoom)
|
||||
backgroundTransition: '$backgroundTransition$',
|
||||
|
||||
// Number of slides away from the current that are visible
|
||||
viewDistance: $viewDistance$,
|
||||
|
||||
// Number of slides away from the current that are visible on mobile
|
||||
// devices. It is advisable to set this to a lower number than
|
||||
// viewDistance in order to save resources.
|
||||
mobileViewDistance: $mobileViewDistance$,
|
||||
$if(parallaxBackgroundImage)$
|
||||
|
||||
// Parallax background image
|
||||
parallaxBackgroundImage: '$parallaxBackgroundImage/nowrap$', // e.g. "'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg'"
|
||||
$else$
|
||||
$if(background-image)$
|
||||
|
||||
// Parallax background image
|
||||
parallaxBackgroundImage: '$background-image/nowrap$', // e.g. "'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg'"
|
||||
$endif$
|
||||
$endif$
|
||||
$if(parallaxBackgroundSize)$
|
||||
|
||||
// Parallax background size
|
||||
parallaxBackgroundSize: '$parallaxBackgroundSize/nowrap$', // CSS syntax, e.g. "2100px 900px"
|
||||
$endif$
|
||||
$if(parallaxBackgroundHorizontal)$
|
||||
|
||||
// Amount to move parallax background (horizontal and vertical) on slide change
|
||||
// Number, e.g. 100
|
||||
parallaxBackgroundHorizontal: $parallaxBackgroundHorizontal/nowrap$,
|
||||
$endif$
|
||||
$if(parallaxBackgroundVertical)$
|
||||
|
||||
parallaxBackgroundVertical: $parallaxBackgroundVertical/nowrap$,
|
||||
$endif$
|
||||
$if(width)$
|
||||
|
||||
// The "normal" size of the presentation, aspect ratio will be preserved
|
||||
// when the presentation is scaled to fit different resolutions. Can be
|
||||
// specified using percentage units.
|
||||
width: $width$,
|
||||
$endif$
|
||||
$if(height)$
|
||||
|
||||
height: $height$,
|
||||
$endif$
|
||||
$if(margin)$
|
||||
|
||||
// Factor of the display size that should remain empty around the content
|
||||
margin: $margin$,
|
||||
$endif$
|
||||
$if(minScale)$
|
||||
|
||||
// Bounds for smallest/largest possible scale to apply to content
|
||||
minScale: $minScale$,
|
||||
$endif$
|
||||
$if(maxScale)$
|
||||
|
||||
maxScale: $maxScale$,
|
||||
$endif$
|
||||
$if(mathjax)$
|
||||
|
||||
math: {
|
||||
mathjax: '$mathjaxurl$',
|
||||
config: 'TeX-AMS_HTML-full',
|
||||
tex2jax: {
|
||||
inlineMath: [['\\(','\\)']],
|
||||
displayMath: [['\\[','\\]']],
|
||||
balanceBraces: true,
|
||||
processEscapes: false,
|
||||
processRefs: true,
|
||||
processEnvironments: true,
|
||||
preview: 'TeX',
|
||||
skipTags: ['script','noscript','style','textarea','pre','code'],
|
||||
ignoreClass: 'tex2jax_ignore',
|
||||
processClass: 'tex2jax_process'
|
||||
},
|
||||
},
|
||||
$endif$
|
||||
|
||||
// reveal.js plugins
|
||||
plugins: [
|
||||
$if(mathjax)$
|
||||
RevealMath,
|
||||
$endif$
|
||||
RevealNotes,
|
||||
RevealSearch,
|
||||
RevealZoom
|
||||
]
|
||||
});
|
||||
</script>
|
||||
$for(include-after)$
|
||||
$include-after$
|
||||
$endfor$
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user