d0fcfee101
git-svn-id: svn+ssh://atelier.inf.usi.ch/home/bevilj/group-1@136 a672b425-5310-4d7a-af5c-997e18724b81
154 lines
2.9 KiB
TeX
154 lines
2.9 KiB
TeX
\documentclass[10pt]{beamer}
|
|
|
|
\usetheme{metropolis}
|
|
|
|
\usepackage{booktabs}
|
|
\usepackage{pgfplots}
|
|
\usepackage{listings}
|
|
\usepackage{xcolor}
|
|
|
|
\lstset{
|
|
basicstyle=\ttfamily,
|
|
frame=shadowbox,
|
|
rulesepcolor=\color{gray},
|
|
columns=fullflexible,
|
|
commentstyle=\color{gray},
|
|
keywordstyle=\bfseries\color{red},
|
|
escapeinside={\%*}{*)},
|
|
aboveskip=2em,
|
|
captionpos=b,
|
|
abovecaptionskip=1em,
|
|
belowcaptionskip=1em
|
|
}
|
|
|
|
\title{Midway presentation}
|
|
\subtitle{Group 1}
|
|
\date{12 November 2018}
|
|
\author{Claudio Maggioni}
|
|
\titlegraphic{\centering{\includegraphics[height=1cm]{logo.png}}}
|
|
|
|
\begin{document}
|
|
|
|
\maketitle
|
|
|
|
\begin{frame}[standout]
|
|
\centering{\Huge Slides in \LaTeX}
|
|
\end{frame}
|
|
|
|
\section{What we've done so far}
|
|
|
|
|
|
\begin{frame}[fragile]{Search box}
|
|
\vfill\centering{\includegraphics[width=0.6\textwidth]{search.png}}\vfill
|
|
\end{frame}
|
|
|
|
|
|
\begin{frame}[fragile]{Automatic topic index pages}
|
|
\vfill\centering{\includegraphics[width=0.6\textwidth]{index.png}}\vfill
|
|
\end{frame}
|
|
|
|
|
|
\begin{frame}[fragile]{Basic style}
|
|
\vfill\centering{\includegraphics[width=\textwidth]{formatting.png}}\vfill
|
|
\end{frame}
|
|
|
|
|
|
\begin{frame}[fragile]{Automatic attribution (in footer)}
|
|
\vfill\centering{\includegraphics[width=0.8\textwidth]{footer.png}}\vfill
|
|
\end{frame}
|
|
|
|
|
|
\begin{frame}[fragile]{Automatic attribution (in about page)}
|
|
\vfill\centering{\includegraphics[width=0.7\textwidth]{about.png}}\vfill
|
|
\end{frame}
|
|
|
|
|
|
\begin{frame}[fragile]{Bonus 1 almost done}
|
|
\vfill\centering{\includegraphics[width=0.7\textwidth]{rust.png}}\vfill
|
|
\end{frame}
|
|
|
|
|
|
\begin{frame}[standout]
|
|
\centering{\Huge Nystrom seal of quality}
|
|
\end{frame}
|
|
|
|
|
|
\section{First code review for content}
|
|
|
|
{\setbeamercolor{background canvas}{bg=black}
|
|
\begin{frame}
|
|
\centering{\Huge\fontspec{Helvetica}\color{green}
|
|
\textsc{From HTML \\
|
|
to Jekyll\\
|
|
\vspace{0.5cm}
|
|
\small was not that easy…}}
|
|
\end{frame}}
|
|
|
|
|
|
\begin{frame}[fragile]{From this…}
|
|
\begin{figure}[h]
|
|
\begin{lstlisting}[language=html]
|
|
<html>
|
|
<head>
|
|
<meta author="Fabiano Fenini" />
|
|
...
|
|
</head>
|
|
|
|
<body>
|
|
<header>
|
|
<h1>cat command</h1>
|
|
...
|
|
</header>
|
|
...
|
|
</body>
|
|
</html>
|
|
\end{lstlisting}
|
|
\end{figure}
|
|
\end{frame}
|
|
|
|
|
|
\begin{frame}[fragile]{… to this}
|
|
\begin{figure}[h]
|
|
\begin{lstlisting}[language=html]
|
|
---
|
|
layout: page
|
|
category-page: intermediate
|
|
category-title: Intermediate commands
|
|
tags: cat content file show concatenate
|
|
author: Fabiano Fenini
|
|
title: cat
|
|
---
|
|
|
|
<p>
|
|
...
|
|
</p>
|
|
\end{lstlisting}
|
|
\end{figure}
|
|
\end{frame}
|
|
|
|
|
|
\begin{frame}{Page creation guide}
|
|
\vfill\centering{\includegraphics[width=0.8\textwidth]{page_creation.png}}\vfill
|
|
\end{frame}
|
|
|
|
|
|
\begin{frame}{The Jekyll header}
|
|
\begin{table}[h]
|
|
\begin{tabular}{l l}
|
|
\textbf{Variable} & \textbf{Use} \\
|
|
layout & Template for the page\\
|
|
category-page & Automatic topic pages creation\\
|
|
category-title & Indexing in search\\
|
|
tags & Keywords for search\\
|
|
author & Automatic content attribution\\
|
|
title & Title of the page\\
|
|
\end{tabular}
|
|
\end{table}
|
|
\end{frame}
|
|
|
|
|
|
\begin{frame}[standout]
|
|
\centering{\Huge Demo time!}
|
|
\end{frame}
|
|
|
|
\end{document}
|