Skip to content

Commit

Permalink
Added slide environment with amazing notes support
Browse files Browse the repository at this point in the history
  • Loading branch information
gquittet committed May 3, 2018
1 parent f945875 commit a521781
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 12 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ Pour ce faire, installez TexStudio via le guide (voir fin de ce document), ouvre

## Version

1.0.0-3
1.1.2

## Téléchargement

Cliquez sur ce lien pour télécharger le framework HEH-Beamer : [https://github.com/gquittet/HEH-Beamer/archive/1.0.0-3.zip](https://github.com/gquittet/HEH-Beamer/archive/1.0.0-3.zip)
Cliquez sur ce lien pour télécharger le framework HEH-Beamer : [https://github.com/gquittet/HEH-Beamer/archive/1.1.2.zip](https://github.com/gquittet/HEH-Beamer/archive/1.1.2.zip)

## Installer LaTeX

Expand Down
25 changes: 19 additions & 6 deletions hehBeamerCore/commands/hehBeamerCommands.tex
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@


\newcommand{\hehBeamerInfo}{
\begin{frame}{\space}
\begin{slide}
\begin{center}
Cette présentation a été réalisée avec le Framework HEH Beamer\\
HEH Beamer \hehBeamerVersion\\
\small
\url{\hehBeamerURL}
\normalsize
\end{center}
\end{frame}
\end{slide}
}


Expand All @@ -46,15 +46,28 @@
}


\newcommand{\partie}[3]{
\newcommand{\partie}[2]{
\def\laPartieCourante{#1}
\section{#1}
\input{slides/#2}
}


\newcommand{\pdfEtNotes}{
\setbeameroption{show notes on second screen=right}
\usepackage{pgfpages}
\setbeameroption{show notes on second screen}
}


\newcommand{\pdfEtNotesADroite}{
\pdfEtNotes
\setbeameroption{show notes on second screen=right}
}


\newcommand{\pdfEtNotesAGauche}{
\pdfEtNotes
\setbeameroption{show notes on second screen=left}
}


Expand All @@ -76,13 +89,13 @@


\newcommand{\tableDesMatieres}{
\begin{frame}{Table des matières}
\begin{slide}[Table des matières]
\tableofcontents[currentsection,
currentsubsection,
hideothersubsections,
sectionstyle=show/hide,
subsectionstyle=show/shaded/hide]
\end{frame}
\end{slide}
}


Expand Down
2 changes: 1 addition & 1 deletion hehBeamerCore/definitions/hehBeamerDefinitions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@


% HEH Beamer version
\def\hehBeamerVersion{1.0.0}
\def\hehBeamerVersion{1.1.2}
6 changes: 6 additions & 0 deletions hehBeamerCore/environments/hehBeamerEnvironments.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
%!TEX root = ../../presentation.tex

\newenvironment{slide}[1][\unskip]{
\begin{frame}{#1}
\noindent
}{\end{frame}}
Binary file modified presentation.pdf
Binary file not shown.
21 changes: 18 additions & 3 deletions presentation.tex
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
\def\pgfsysdriver{pgfsys-dvipdfm.def}
\documentclass[serif]{beamer}

% Charge les paquets
Expand All @@ -10,6 +11,8 @@
\input{hehBeamerCore/definitions/hehBeamerDefinitions}
% Charge le thème de la HEH
\input{hehBeamerCore/theme/hehBeamerTheme}
% Charge les environnements personnalisés
\input{hehBeamerCore/environments/hehBeamerEnvironments}
% Charge les commandes personnalisées
\input{hehBeamerCore/commands/hehBeamerCommands}

Expand Down Expand Up @@ -41,13 +44,22 @@
\titreAbrege{Titre abrégé}

% L'année scolaire (exemple: 2017 -- 2018). Le double tiret est important.
\annee{20XX--20XX}
\annee{2017--2018}

% L'interligne souhaité (par défaut 1.5)
\interligne{1.5}

% Taille image de la page de garde
\configure{\tailleLogoCampus}{0.35}
\configure{\tailleLogoCampus}{0.45}

% Notes
% Notes par défaut
%\pdfEtNotes
% Notes à droite
%\pdfEtNotesADroite
% Notes à gauche
%\pdfEtNotesAGauche




Expand All @@ -58,10 +70,13 @@
\input{hehBeamerCore/configuration/hehBeamerDocumentConfiguration}





\begin{document}
\pageDeTitre{}


\hehBeamerInfo{}

\hehBeamerInfo{}
\end{document}

0 comments on commit a521781

Please sign in to comment.