|
| 1 | +% ./Jgarticle.sty |
| 2 | +% auteur Joseph Gergaud |
| 3 | +% Version article oct 2025 |
| 4 | +% |
| 5 | +% hauteur |
| 6 | +\textheight 287mm %hauteur d'une page avec 1 cm en bas en plus |
| 7 | +\addtolength{\textheight}{-25.4mm} |
| 8 | +\topmargin -10.4mm |
| 9 | +\addtolength{\textheight}{-\topmargin} |
| 10 | +\addtolength{\textheight}{-\headheight} |
| 11 | +\addtolength{\textheight}{-\headsep} |
| 12 | +\footskip 8mm |
| 13 | +\addtolength{\textheight}{-\footskip} |
| 14 | + |
| 15 | +%largeur |
| 16 | +\oddsidemargin -5.4mm |
| 17 | +\evensidemargin -10.4mm |
| 18 | +\marginparwidth 0mm |
| 19 | +\marginparsep 0mm |
| 20 | +\textwidth 210mm %largeur d'une page |
| 21 | +\addtolength{\textwidth}{-25.4mm} |
| 22 | +\addtolength{\textwidth}{-25.4mm} |
| 23 | +\addtolength{\textwidth}{-\oddsidemargin} |
| 24 | +\addtolength{\textwidth}{-\evensidemargin} |
| 25 | + |
| 26 | +%\usepackage[french]{babel} |
| 27 | +\renewcommand{\tilde}{\widetilde} |
| 28 | +\renewcommand{\hat}{\widehat} |
| 29 | +\usepackage[utf8]{inputenc} |
| 30 | + |
| 31 | +%Les couleurs |
| 32 | +\usepackage{xcolor} |
| 33 | +%\definecolor{red}{rgb}{0.6,0.04,0.04} |
| 34 | +\definecolor{green}{rgb}{0.06,0.5,0.06} |
| 35 | +\definecolor{blue}{rgb}{0.06,0.06,0.6} |
| 36 | +\definecolor{red}{rgb}{0.6,0.04,0.04} |
| 37 | +\definecolor{grey}{rgb}{0.6,0.6,0.6} |
| 38 | +\definecolor{black}{rgb}{0,0,0} |
| 39 | +\definecolor{rose}{RGB}{254,40,255} |
| 40 | +\newcommand{\cblue}[1]{{\color{blue} #1}} |
| 41 | +\newcommand{\cred}[1]{{\color{red} #1}} |
| 42 | +\newcommand{\cgreen}[1]{{\color{green} #1}} |
| 43 | +\newcommand{\crose}[1]{{\color{rose} #1}} |
| 44 | +\def\empha{\cblue} |
| 45 | +\def\emphb{\cred} |
| 46 | +\def\emphc{\cgreen} |
| 47 | +\def\emphd{\crose} |
| 48 | +\def\ea{\empha} |
| 49 | +\def\eb{\emphb} |
| 50 | +\def\ec{\emphc} |
| 51 | +\def\ed{\emphd} |
| 52 | + |
| 53 | +%La commande pour la todo_list |
| 54 | +\newcommand{\todo}[1]{\noindent {\color{blue} \it Note: #1}} |
| 55 | +% Numerotations |
| 56 | +% ------------ |
| 57 | +\renewcommand{\thesection}{\arabic{section}} |
| 58 | +\renewcommand{\thesubsection}{\thesection.\arabic{subsection}} |
| 59 | +\renewcommand{\thesubsubsection}{\thesubsection.\arabic{subsubsection}} |
| 60 | +\renewcommand{\labelenumi}{(\roman{enumi})} |
| 61 | +\renewcommand{\theenumi}{\roman{enumi}} |
| 62 | +\renewcommand{\labelitemi}{aaa}%$\bullet$} |
| 63 | +% |
| 64 | +% Redefinition d'environnement pour la version française |
| 65 | +% ------------------------------------------------------ |
| 66 | +\theoremstyle{plain} |
| 67 | +\newtheorem{thm}{Th\'eor\`eme}[section] |
| 68 | +\newtheorem{prop}[thm]{Proposition} |
| 69 | +\newtheorem{cor}[thm]{Corollaire} |
| 70 | +\newtheorem{lemme}[thm]{Lemme} |
| 71 | +\theoremstyle{definition} |
| 72 | +\newtheorem{defi}[thm]{D\'efinition} |
| 73 | +%\theorembodyfont{\rmfamily} |
| 74 | +\newtheorem{rmq}[thm]{Remarque} |
| 75 | +\newtheorem{exem}[thm]{Exemple} |
| 76 | +\newtheorem{loi1}[thm]{Loi} |
| 77 | +\newtheorem{exer}{Exercice}[section] |
| 78 | +\newtheorem{graph1}[thm]{Repr\'esentation graphique} |
| 79 | +\newenvironment{preuve}{\par\indent |
| 80 | +{\em Preuve.\/}}{\raisebox{-.2ex}{$\Box$}} |
| 81 | +\newenvironment{demon}{\noindent%\par\indent |
| 82 | +{\em D\'emonstration.}}{\raisebox{-.2ex}{$\Box$}} |
| 83 | +\newcommand{\rem}{\par\indent |
| 84 | +{\em Remarque.\/}} |
| 85 | + |
| 86 | +\newcommand{\dsum}{\displaystyle \sum} |
| 87 | +% definition des ensembles |
| 88 | +% ------------------------ |
| 89 | +\usepackage{xspace} |
| 90 | +\newcommand{\IN}{\mbox{$\mathbf{N}$}\xspace} |
| 91 | +\newcommand{\In}{\mbox{\scriptsize $\mathbf{N}$}\xspace} |
| 92 | +\newcommand{\IZ}{\mbox{$\mathbf{Z}$}\xspace} |
| 93 | +\newcommand{\Iz}{\mbox{\scriptsize $\mathbf{Z}$}\xspace} |
| 94 | +\newcommand{\IQ}{\mbox{$\mathbf{Q}$}\xspace} |
| 95 | +\newcommand{\Iq}{\mbox{\scriptsize $\mathbf{Q}$}\xspace} |
| 96 | +\newcommand{\IR}{\mbox{$\mathbf{R}$}\xspace} |
| 97 | +\newcommand{\Ir}{\mbox{\scriptsize $\mathbf{R}$}\xspace} |
| 98 | +\newcommand{\IC}{\mbox{$\mathbf{C}$}\xspace} |
| 99 | +\newcommand{\Ic}{\mbox{\scriptsize $\mathbf{C}$}\xspace} |
| 100 | + |
| 101 | +% nouvelles définitions |
| 102 | +% --------------------- |
| 103 | +\newcommand{\fonction}[4]{ |
| 104 | + \begin{eqnarray*} |
| 105 | + {#1} &\longrightarrow& {#2} \\ |
| 106 | + {#3} &\longmapsto& {#4} |
| 107 | + \end{eqnarray*} |
| 108 | +} |
| 109 | + |
| 110 | +% |
| 111 | +% |
| 112 | +\def\veps{\varepsilon} |
| 113 | +\def\vphi{\varphi} |
| 114 | +\def\Im{\mathrm{Im}} |
| 115 | +\newcommand{\Min}{\mbox{$Min\;$}} |
| 116 | +\newcommand{\Max}{\mbox{$Max\;$}} |
| 117 | +\newcommand{\ssi}{\mbox{$\Longleftrightarrow$}} |
| 118 | +\newcommand{\tr}{\mbox{}^t} |
| 119 | +\def\cf{\textit{cf.}\xspace} |
| 120 | +\def\apriori{\textit{a priori}\xspace} |
| 121 | + |
| 122 | +\def\hompack{\textsc{Hompack90}\xspace} |
| 123 | +\def\ipopt{\textsc{Ipopt}\xspace} |
| 124 | +\def\lancelot{\textsc{Lancelot}\xspace} |
| 125 | +\def\fortran{\textsc{Fortran}\xspace} |
| 126 | +\def\adifor{\textsc{Adifor}\xspace} |
| 127 | +\def\tapenade{\textsc{Tapenade}\xspace} |
| 128 | +\def\netlib{\textsc{Netlib}\xspace} |
| 129 | +\def\matlab{\textsc{Matlab}\xspace} |
| 130 | +\def\oderkq{\textsc{Ode45}\xspace} |
| 131 | +\def\odeNDFs{\textsc{Ode15s}\xspace} |
| 132 | +\def\rkq{\textsc{Rk4}\xspace} |
| 133 | +\def\rkt{\textsc{Rk3}\xspace} |
| 134 | +\def\rkf{\textsc{Rkf45}\xspace} |
| 135 | +\def\dopri{\textsc{Dopri5}\xspace} |
| 136 | +\def\gauss{\textsc{Gauss}\xspace} |
| 137 | +\def\hybrd{\textsc{Hybrd}\xspace} |
| 138 | +\def\simplicial{\textsc{Simplicial}\xspace} |
| 139 | +\def\mfmax{\textsc{Mfmax}\xspace} |
| 140 | +\def\cotcot{\textsc{Cotcot}\xspace} |
| 141 | + |
| 142 | + |
| 143 | + |
| 144 | + |
0 commit comments