<commit_before>%!TEX program = xelatex
\documentclass{beamer}

% Correct the path when including svg pictures
\RequirePackage{import}
% For nice verbatim
\RequirePackage{minted}

% Arrange theme
\usetheme[
	progressbar=frametitle,
	sectionpage=none,
	numbering=fraction
]{metropolis}

% Color the progress bar
\setbeamercolor{progress bar}{fg=green,bg=white}

\author{MaxUlysse}
\title{compile-beamer}
\subtitle{with metropolis theme}
\institute{
	SciLifeLab - Karolinska Institutet\\
	% Don't forget logos
	\vfill
	\includegraphics[height=1cm]{pictures/SciLifeLab}
	\hfill
	\includegraphics[height=1cm]{pictures/KI}
	\vfill
}
\date{\today}

\begin{document}

\maketitle

\begin{frame}[fragile]{compile-beamer}
  Just a simple beamer compiler with Nextflow
  Usage :
  \begin{minted}[fontsize=\tiny]{bash}
nextflow run MaxUlysse/compile-beamer \
  --tex <file.tex> \
  [--pictures <pictures directory>]
  \end{minted}
  This pdf was compiled using
  \begin{minted}[fontsize=\tiny]{bash}
nextflow run MaxUlysse/compile-beamer
  [by default: --tex sample.tex]
  \end{minted}
\end{frame}

\begin{frame}[fragile]{How to insert picture - Code}
  \begin{minted}[fontsize=\tiny]{latex}
\begin{center}
  \includegraphics[width=.8\linewidth]{pictures/Snowpocalypse-SciLifeLab.jpg}
\end{center}
  \end{minted}
\end{frame}

\begin{frame}{How to insert picture - Result}
  \begin{center}
    \includegraphics[width=.8\linewidth]{pictures/Snowpocalypse-SciLifeLab.jpg}
  \end{center}
\end{frame}

\begin{frame}[fragile]{How to use background - Code}
  \begin{minted}[fontsize=\tiny]{latex}
\usebackgroundtemplate{
	\includegraphics[width=\paperwidth]{pictures/Snowpocalypse-SciLifeLab.jpg}
}
  \end{minted}
\end{frame}

\usebackgroundtemplate{
	\includegraphics[width=\paperwidth]{pictures/Snowpocalypse-SciLifeLab.jpg}
}

\begin{frame}{How to use background - Result}
\end{frame}

\end{document}<commit_msg>add new picture and remove numbering on last page<commit_after>%!TEX program = xelatex
\documentclass{beamer}

% Correct the path when including svg pictures
\RequirePackage{import}
% For nice verbatim
\RequirePackage{minted}

% Arrange theme
\usetheme[
	progressbar=frametitle,
	sectionpage=none,
	numbering=fraction
]{metropolis}

% Color the progress bar
\setbeamercolor{progress bar}{fg=green,bg=white}

\author{MaxUlysse}
\title{compile-beamer}
\subtitle{with metropolis theme}
\institute{
	SciLifeLab - Karolinska Institutet\\
	% Don't forget logos
	\vfill
	\includegraphics[height=1cm]{pictures/SciLifeLab}
	\hfill
	\includegraphics[height=1cm]{pictures/KI}
	\vfill
}
\date{\today}

\begin{document}

\maketitle

\begin{frame}[fragile]{compile-beamer}
  Just a simple beamer compiler with Nextflow
  Usage :
  \begin{minted}[fontsize=\tiny]{bash}
nextflow run MaxUlysse/compile-beamer \
  --tex <file.tex> \
  [--pictures <pictures directory>]
  \end{minted}
  This pdf was compiled using
  \begin{minted}[fontsize=\tiny]{bash}
nextflow run MaxUlysse/compile-beamer
  [by default: --tex sample.tex]
  \end{minted}
\end{frame}

\begin{frame}[fragile]{How to insert picture - Code}
  \begin{minted}[fontsize=\tiny]{latex}
\begin{center}
  \includegraphics[width=.8\linewidth]{pictures/SciLifeLab-Snowpocalypse.jpg}
\end{center}
  \end{minted}
\end{frame}

\begin{frame}{How to insert picture - Result}
  \begin{center}
    \includegraphics[width=.8\linewidth]{pictures/SciLifeLab-Snowpocalypse.jpg}
  \end{center}
\end{frame}

\begin{frame}[fragile]{How to use background - Code}
  \begin{minted}[fontsize=\tiny]{latex}
\usebackgroundtemplate{
	\includegraphics[width=\paperwidth]{pictures/SciLifelab-BlueSky.jpg}
}
  \end{minted}
\end{frame}

\usebackgroundtemplate{
	\includegraphics[width=\paperwidth]{pictures/SciLifelab-BlueSky.jpg}
}

\begin{frame}[plain,noframenumbering]{How to use background - Result}
\end{frame}

\end{document}
{'fraction_non_alphanumeric': 0.13939551849921833, 'fraction_numerical': 0.0020844189682126106, 'mean_word_length': 5.409015025041736, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2909907', 'n_tokens_mistral': 1456, 'n_tokens_neox': 1420, 'n_words': 251}