latex-homework/cours/cours_beamer.cls

100 lines
1.5 KiB
OpenEdge ABL
Raw Normal View History

%%%
%%%
%%% Classe : calculmental.cls
%%% Version : 1.0
%%% Date : 08/12/14
%%% Auteur : Jeff LANCE
%%%
%%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{cours_beamer}[2014/12/08 Slides de cours, v1.0]
%-- classe de base
\LoadClass{beamer}
%-- %
%-- extensions
% perso
\RequirePackage{couleurs}
\RequirePackage{commun}
%-- %
%-- definitions
%-- %
%-- paramètrages
\usetheme{Madrid}
\usefonttheme{serif}
\setbeamerfont{enumerate item}{family=\sffamily}
\setbeamertemplate{navigation symbols}{%
\insertframenavigationsymbol
\insertsectionnavigationsymbol
}
%-- %
%% MACROS : DEBUT
\makeatletter
%-- Macros personnelles
2016-03-22 14:02:38 +00:00
% titre
\newcommand{\titre}[4]{%
\title{#1}
\subtitle{Cours}
\date{#2}
\author{#3}
\institute{#4}
}
2016-03-22 14:02:38 +00:00
% debut - fin
\newcommand{\debut}{%
\begin{frame}
\titlepage
\transduration{3}
\end{frame}
}
\newcommand{\fin}{%
2016-03-22 12:27:06 +00:00
\section{Sommaire}
\begin{frame}
2016-03-22 12:27:06 +00:00
\begin{center}{\Large Plan }\end{center}
\tableofcontents
\end{frame}
}
2016-03-22 14:02:38 +00:00
% blocks
% \newenvironment<>{def}[1]{%begin
% \setbeamercolor{block title}{fg=white,bg=blue!75!black}%
% \begin{block}{#1}}{\end{block}
% }
%
% \newenvironment<>{thm}[1]{%begin
% \setbeamercolor{block title}{fg=white,bg=blue!75!black}%
% \begin{block}#2[#1]}{\end{block}
% }
%
% \newenvironment<>{rmq}[1]{%begin
% \setbeamercolor{block title}{fg=white,bg=red!75!black}%
% \begin{block}#2[#1]}{\end{block}
% }
%
% \newenvironment<>{exp}[1]{%begin
% \setbeamercolor{block title}{fg=white,bg=green!75!black}%
% \begin{block}#2[#1]}{\end{block}
% }
%--%
% Macros modifiées
% - %
\makeatother
%% MACROS : FIN