76 lines
1.9 KiB
TeX
Executable File
76 lines
1.9 KiB
TeX
Executable File
\NeedsTeXFormat{LaTeX2e}
|
|
|
|
% extensions
|
|
|
|
\RequirePackage[utf8]{inputenc}
|
|
\RequirePackage[francais]{babel}
|
|
\RequirePackage{amssymb}
|
|
\RequirePackage{amsmath}
|
|
\RequirePackage{amsfonts}
|
|
\RequirePackage{subfig}
|
|
\RequirePackage[pdftex]{graphicx}
|
|
\RequirePackage{color}
|
|
\RequirePackage{fancyhdr}
|
|
\RequirePackage{enumerate}
|
|
\RequirePackage{geometry}
|
|
\RequirePackage{eurosym}
|
|
\RequirePackage{gensymb}
|
|
\geometry{left=20mm,right=20mm, top=15mm}
|
|
|
|
|
|
% Ensembles
|
|
\newcommand{\N}{\mathbb{N}}
|
|
\newcommand{\Z}{\mathbb{Z}}
|
|
\newcommand{\D}{\mathbb{D}}
|
|
\newcommand{\Q}{\mathbb{Q}}
|
|
\newcommand{\R}{\mathbb{R}}
|
|
\newcommand{\C}{\mathbb{C}}
|
|
|
|
\newcommand{\intOO}[2]{\left]{#1}\,{;}\,{#2}\right[} % intervalles ouvert ouvert
|
|
\newcommand{\intOF}[2]{\left]{#1}\,{;}\,{#2}\right]} % intervalles ouvert fermé
|
|
\newcommand{\intFO}[2]{\left[{#1}\,{;}\,{#2}\right[} % intervalles fermé ouvert
|
|
\newcommand{\intFF}[2]{\left[{#1}\,{;}\,{#2}\right]} % intervalles fermé fermé
|
|
|
|
|
|
% Vecteurs
|
|
\renewcommand{\vec}[1]{\overrightarrow{#1}} % représentation d'un vecteur
|
|
\newcommand{\norme}[1]{||\vec{#1}||} % Norme d'un vecteur
|
|
\newcommand{\scal}[2]{\vec{#1} \dot \vec{#2}} % Produit scalaire
|
|
\newcommand{\vectCoord}[2]{\left(\begin{array}{c} #1 \\ #2 \end{array} \right)}
|
|
\newcommand{\coefBino}[2]{\vectCoord{#1}{#2}}
|
|
|
|
|
|
\newcommand{\e}{\varepsilon}
|
|
|
|
\renewcommand{\equiv}{\Leftrightarrow}
|
|
|
|
% Using pstricks
|
|
\RequirePackage{pstricks}
|
|
\newcommand{\includepstricksgraphics}[1]{%
|
|
\ifpdf\includegraphics{#1}\else\input{#1}\fi}
|
|
|
|
% New environment Exercise
|
|
\newcounter{exo}[section]
|
|
\setcounter{exo}{0}
|
|
\newenvironment{Exo}{%
|
|
\addtocounter{exo}{1}
|
|
\medskip
|
|
\noindent \textbf{Exercice \theexo:}
|
|
}{%
|
|
}
|
|
|
|
\newcommand{\exo}[1]{\center \textbf{#1} \par}
|
|
|
|
\newenvironment{hint}{%
|
|
Indication:
|
|
\begin{itshape}
|
|
}{%
|
|
\end{itshape}
|
|
}
|
|
|
|
\newcommand{\note}[1]{\textcolor{red}{note(#1)}}
|
|
|
|
\def\title#1{\gdef\@title{#1}\gdef\Thetitle{#1}}
|
|
\def\date#1{\gdef\@date{#1}\gdef\Thedate{#1}}
|
|
|