Skip to content

Instantly share code, notes, and snippets.

@bougui505
Created March 17, 2014 09:49
Show Gist options
  • Save bougui505/9596617 to your computer and use it in GitHub Desktop.
Save bougui505/9596617 to your computer and use it in GitHub Desktop.
latex beamer template
\documentclass[]{beamer}
\usepackage[francais]{babel}
\usepackage[utf8]{inputenc}
\usepackage[babel=true,kerning=true]{microtype} % for tikz command plot [domain=a:b] (problem with : and frenchbabel)
\usepackage{bibentry}
\usepackage{epigraph}
\setlength{\epigraphwidth}{\textwidth}
\newcommand*\elide{\textup{[\,\dots]}}
\newcommand{\newfontsize}{\fontsize{6pt}{7.2}\selectfont}
%#1 : Auteurs ; #2 : Titre ; #3 : Journal ; #4 : Volume ; #5 : numero ; #6 : pages ; #7 : année
\newcommand{\footnotecite}[7]{
\footnote{\parbox{0.85\textwidth}{
\tiny \textcolor{blue}{#1} #2 \emph{#3}, #4(#5) :#6, #7}}
}
%#1 : Auteurs ; #2 : Titre ; #3 : Journal ; #4 : Volume ; #5 : numero ; #6 : pages ; #7 : année
\newcommand{\biblio}[7]{
\fontsize{4pt}{7.2}\selectfont#1.\\ \emph{#3}, #4(#5): #6, #7
\vspace{0.125cm}
}
\usepackage{listings}
\usepackage{tikz}
\usepackage{array}
\usepackage{xcolor}
\usepackage{pgfplots}
\usetikzlibrary{decorations,decorations.pathreplacing}
\usetikzlibrary{arrows,positioning,shapes}
\usetikzlibrary{calc}
%\usepgfplotslibrary{external}
%\tikzexternalize[prefix=TikzPictures/]
\usepackage{animate}
\usepackage{chemfig}
\AtBeginSection[]
{
\begin{frame}<beamer>
\frametitle{Outline}
\tableofcontents[currentsection, hideallsubsections]
\end{frame}
}
\AtBeginSubsection[]
{
\begin{frame}<beamer>
\frametitle{Outline}
\tableofcontents[currentsubsection]
\end{frame}
}
\title{Title}
\author{\textsc{Guillaume Bouvier}\\Structural bioinformatic team\\directed by Michael Nilges\\Institut Pasteur, Paris}
\date{\today}
\begin{document}
\lstset{language=Python, breaklines=true, basicstyle=\ttfamily\scriptsize,
keywordstyle=\color{blue}\ttfamily,
stringstyle=\color{red}\ttfamily,
commentstyle=\color{green}\ttfamily,
backgroundcolor=\color{orange!12}
}
\frame{
\nobibliography{BOUVIER_Guillaume_audition_COMESP}
\bibliographystyle{beamerbib}
\titlepage}
\frame{
\frametitle{Outline}
\tableofcontents
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment