145 lines
3.9 KiB
TeX
145 lines
3.9 KiB
TeX
\documentclass[letterpaper,10pt]{memoir}
|
|
\usepackage[T1]{fontenc}
|
|
\usepackage[utf8]{inputenc}
|
|
\usepackage[english,francais]{babel}
|
|
\usepackage[autolanguage]{numprint}
|
|
\usepackage{vgmath,vgsets,amsmath,icomma}
|
|
\usepackage{pslatex}
|
|
\usepackage[sc]{mathpazo}
|
|
\usepackage[noae]{Sweave}
|
|
\usepackage{graphicx,color}
|
|
\usepackage{longtable,lscape} % table de loi F
|
|
\usepackage[absolute]{textpos}
|
|
\usepackage{answers}
|
|
\usepackage[alwaysadjust,defblank]{paralist}
|
|
|
|
%%% Hyperliens
|
|
\usepackage{hyperref}
|
|
\definecolor{link}{rgb}{0,0,0.3}
|
|
\hypersetup{
|
|
pdftex,
|
|
colorlinks,%
|
|
citecolor=link,%
|
|
filecolor=link,%
|
|
linkcolor=link,%
|
|
urlcolor=link}
|
|
|
|
%%% Page titre
|
|
\title{\HUGE
|
|
\fontseries{ub}\selectfont Séries chronologiques \\[0.5\baselineskip]
|
|
\huge\fontseries{m}\selectfont Exercices et solutions}
|
|
\author{\LARGE François Pelletier \\[3mm]
|
|
\large École d'actuariat \\ Université Laval \\[6mm]
|
|
}
|
|
\date{Première édition - Automne 2013}
|
|
\newcommand{\ISBN}{}
|
|
|
|
%%% Sous-figures
|
|
\newsubfloat{figure}
|
|
|
|
%%% Style des entêtes de chapitres
|
|
\chapterstyle{hangnum}
|
|
|
|
%%% Styles des entêtes et pieds de page
|
|
\setlength{\marginparsep}{7mm}
|
|
\setlength{\marginparwidth}{13mm}
|
|
\setlength{\headwidth}{\textwidth}
|
|
\addtolength{\headwidth}{\marginparsep}
|
|
\addtolength{\headwidth}{\marginparwidth}
|
|
|
|
%%% Style de la bibliographie
|
|
\bibliographystyle{francais}
|
|
|
|
%%% Options de babel
|
|
\frenchbsetup{CompactItemize=false,%
|
|
ThinSpaceInFrenchNumbers=true}
|
|
\addto\captionsfrench{\def\tablename{{\scshape Tab.}}}
|
|
\addto\captionsfrench{\def\figurename{{\scshape Fig.}}}
|
|
|
|
%%% Associations entre les environnements et les fichiers
|
|
\Newassociation{sol}{solution}{solutions}
|
|
\Newassociation{rep}{reponse}{reponses}
|
|
|
|
%%% Environnement pour les exercices
|
|
\newcounter{exercice}[chapter]
|
|
\newenvironment{exercice}{%
|
|
\begin{list}{\bfseries \arabic{chapter}.\arabic{exercice}}{%
|
|
\refstepcounter{exercice}
|
|
\settowidth{\labelwidth}{\bfseries \arabic{chapter}.\arabic{exercice}}
|
|
\setlength{\leftmargin}{\labelwidth}
|
|
\addtolength{\leftmargin}{\labelsep}
|
|
\setdefaultenum{a)}{i)}{}{}}\item}
|
|
{\end{list}}
|
|
|
|
%%% Environnement pour les réponses
|
|
\renewenvironment{reponse}[1]{%
|
|
\begin{list}{\bfseries #1}{%
|
|
\settowidth{\labelwidth}{#1}
|
|
\setlength{\leftmargin}{\labelwidth}
|
|
\addtolength{\leftmargin}{\labelsep}
|
|
\setdefaultenum{a)}{i)}{}{}}\item}
|
|
{\end{list}}
|
|
\renewcommand{\reponseparams}{{\thechapter.\theexercice}}
|
|
|
|
%%% Environnement pour les solutions
|
|
\renewenvironment{solution}[1]{%
|
|
\begin{list}{\bfseries #1}{%
|
|
\settowidth{\labelwidth}{#1}
|
|
\setlength{\leftmargin}{\labelwidth}
|
|
\addtolength{\leftmargin}{\labelsep}
|
|
\setdefaultenum{a)}{i)}{}{}}\item}
|
|
{\end{list}}
|
|
\renewcommand{\solutionparams}{{\thechapter.\theexercice}}
|
|
|
|
%%% Nouvelles commandes
|
|
\newcommand{\cov}[1]{\mathrm{Cov} ( #1 )}
|
|
\renewcommand{\Cov}[1]{\mathrm{Cov}\! \left( #1 \right)}
|
|
\newcommand{\prob}[1]{\mathrm{Pr} [ #1 ]}
|
|
\newcommand{\Prob}[1]{\mathrm{Pr}\! \left[ #1 \right]}
|
|
\newcommand{\MSE}{\mathrm{MSE}}
|
|
|
|
%%% Environnements pour le code S: police plus petite
|
|
\RecustomVerbatimEnvironment{Sinput}{Verbatim}{fontshape=sl,fontsize=\small}
|
|
\RecustomVerbatimEnvironment{Soutput}{Verbatim}{fontsize=\small}
|
|
\RecustomVerbatimEnvironment{Scode}{Verbatim}{fontsize=\small}
|
|
|
|
%%% Un petit peu d'aide pour la césure
|
|
\hyphenation{con-fiance}
|
|
\hyphenation{con-train-te}
|
|
|
|
\DeclareMathOperator{\sgn}{sgn}
|
|
|
|
\begin{document}
|
|
|
|
\frontmatter
|
|
|
|
\pagestyle{empty}
|
|
\include{pagetitre}
|
|
|
|
\pagestyle{companion}
|
|
|
|
\cleardoublepage
|
|
\tableofcontents
|
|
|
|
\mainmatter
|
|
|
|
\include{serie1-exercices}
|
|
\include{serie2-exercices}
|
|
\include{serie3-exercices}
|
|
|
|
\appendix
|
|
\include{solutions}
|
|
\pagestyle{empty}
|
|
\include{cc}
|
|
\cleardoublepage
|
|
\cleartoverso
|
|
|
|
\pagestyle{empty}
|
|
\bandeverso
|
|
|
|
\end{document}
|
|
|
|
%%% Local Variables:
|
|
%%% mode: latex
|
|
%%% TeX-master: t
|
|
%%% End:
|