docs: Other work on midway presentation (in Latex)

git-svn-id: svn+ssh://atelier.inf.usi.ch/home/bevilj/group-1@123 a672b425-5310-4d7a-af5c-997e18724b81
This commit is contained in:
Claudio Maggioni 2018-11-12 08:49:19 +00:00
parent 17cdf3a352
commit c181f035d4
3 changed files with 67 additions and 37 deletions

BIN
docs/midway/about.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 333 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 185 KiB

View File

@ -1,20 +1,11 @@
\documentclass[10pt]{beamer}
\usepackage{fontspec}
\usetheme{metropolis}
\usepackage{booktabs}
\usepackage[scale=2]{ccicons}
\usepackage{pgfplots}
\usepgfplotslibrary{dateplot}
\usepackage{xspace}
\newcommand{\themename}{\textbf{\textsc{metropolis}}\xspace}
\usepackage{listings}
\usepackage{xcolor}
\usepackage{lmodern}
\lstset{
basicstyle=\ttfamily,
@ -34,14 +25,14 @@
\subtitle{Group 1}
\date{12 November 2018}
\author{Claudio Maggioni}
\titlegraphic{\centering{\includegraphics[height=1.5cm]{logo.png}}}
\titlegraphic{\centering{\includegraphics[height=1cm]{logo.png}}}
\begin{document}
\maketitle
\begin{frame}[standout]
\centering{\Huge\LaTeX}
\centering{\Huge Slides in \LaTeX}
\end{frame}
\section{Progress up to now}
@ -58,12 +49,37 @@
\vfill\centering{\includegraphics[width=\textwidth]{formatting.png}}\vfill
\end{frame}
\begin{frame}[fragile]{Automatic attribution in footer}
\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}
\section{First code review for content}
\begin{frame}[fragile]{A properly formatted Jekyll page}
\begin{figure}[h]
\begin{lstlisting}[language=html,basicstyle=\small\ttfamily]
---
layout: page
category-title: Basic commands
category-page: basic
tags: directory list
author: Claudio Maggioni
title: ls
---
<p>The <code>ls</code> command is used to list a
directory content or a file.<br>
The name stands for <i>LiSt</i>.
<h2>Usage</h2>
<p>...</p>
\end{lstlisting}
\end{figure}
\end{frame}
{\setbeamercolor{background canvas}{bg=black}
\begin{frame}
\centering{\Huge\fontspec{Comic Sans MS}\color{red}
@ -127,45 +143,59 @@ A list of things:
\vfill\centering{\includegraphics[width=0.8\textwidth]{page_creation.png}}\vfill
\end{frame}
\section{Code contribution of each team}
\section{Code contribution}
\begin{frame}{Code contribution of each team}
\begin{frame}[fragile]{LOC stats}
\begin{lstlisting}[language=bash]
svn ls -R | egrep -v -e "\/\$" | xargs svn blame \
| awk '{print $2}' | sort | uniq -c | sort -r
\end{lstlisting}
\vfill
May not be 100\% accurate:
\begin{itemize}
\item Only text files considered, not images or videos
\item Assumes each person commits with their own user
\end{itemize}
\end{frame}
\begin{frame}{LOC stats (as of 2018-11-11)}
\begin{figure}
\begin{tikzpicture}
\begin{axis}[
legend pos=north west,
legend pos=north east,
mbarplot,
ylabel={Bar},
enlarge x limits={0.5},
symbolic x coords={a small bar,a medium bar,a large bar},
symbolic x coords={LOC},
width=\textwidth,
height=6cm,
height=8.5cm,
xtick=data
]
\legend{FS, Front, Basic, Interm, Advanced, Scripting}
\legend{maggicl, bevilj, devitg, britea, vottad, brunnn, annoum, terehm,
marina, rasicd, vivanr, feninif, hijmam, omenem}
\addplot plot coordinates {(a small bar,42)
(a medium bar,50)
(a large bar,60)};
\addplot plot coordinates {(a small bar,42)
(a medium bar,50)
(a large bar,60) };
\addplot plot coordinates {(a small bar,42)
(a medium bar,50)
(a large bar,60)};
\addplot plot coordinates {(a small bar,42)
(a medium bar,50)
(a large bar,60)};
\addplot plot coordinates {(a small bar,42)
(a medium bar,50)
(a large bar,60)};
\addplot plot coordinates {(a small bar,42)
(a medium bar,50)
(a large bar,60)};
\addplot plot coordinates {(LOC,2338)};
\addplot plot coordinates {(LOC,640)};
\addplot plot coordinates {(LOC,305)};
\addplot plot coordinates {(LOC,171)};
\addplot plot coordinates {(LOC,145)};
\addplot plot coordinates {(LOC,129)};
\addplot plot coordinates {(LOC,116)};
\addplot plot coordinates {(LOC,108)};
\addplot plot coordinates {(LOC,84)};
\addplot plot coordinates {(LOC,68)};
\addplot plot coordinates {(LOC,63)};
\addplot plot coordinates {(LOC,41)};
\addplot plot coordinates {(LOC,25)};
\addplot plot coordinates {(LOC,13)};
\end{axis}
\end{tikzpicture}
\end{figure}
\end{frame}
\begin{frame}[standout]
\centering{\Huge Demo time!}
\end{frame}
\end{document}