Rev 1044 | Rev 3049 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
23 | reyssat | 1 | \documentclass[11pt]{article} |
2 | \usepackage{amsthm,amsfonts} |
||
3 | \usepackage[french]{babel} |
||
4 | \usepackage[latin1]{inputenc} |
||
5 | \usepackage[T1]{fontenc} |
||
6 | \usepackage{pslatex} |
||
7 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%ù |
||
8 | \usepackage{hyperref} |
||
9 | \usepackage{url} |
||
10 | \usepackage{comment} |
||
743 | bpr | 11 | \input wims.sty |
23 | reyssat | 12 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
13 | \wimsinclude{wims.sty}%pour inclure des fichiers non lus par latex |
||
14 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
||
15 | %%ou |
||
16 | %\input wims.sty |
||
17 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
||
18 | \theoremstyle{plain} |
||
613 | schaersvoo | 19 | \newtheorem{thm}{Théorème}[section] |
20 | \newtheorem{theo}[thm]{Théorème} |
||
21 | \newtheorem{prop}[thm]{Proposition} |
||
23 | reyssat | 22 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
613 | schaersvoo | 23 | \theoremstyle{definition} |
24 | \newtheorem{defn}{Définition}[section] |
||
25 | \newtheorem{ex}{Exemple} |
||
26 | \newtheorem{exo}{Exercice} |
||
23 | reyssat | 27 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
28 | \def\RR{\mathbb R} |
||
29 | \def\NN{\mathbb N} |
||
30 | \def\ZZ{\mathbb Z} |
||
31 | \def\CC{\mathbb C} |
||
32 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
||
33 | \begin{document} |
||
34 | %% indispensable |
||
613 | schaersvoo | 35 | \title{Mon document} |
23 | reyssat | 36 | \author{Bernadette Perrin-Riou} |
37 | \email{bpr@math.u-psud.fr} |
||
613 | schaersvoo | 38 | \section{utilisation des environnements} |
23 | reyssat | 39 | \begin{thm} |
613 | schaersvoo | 40 | Voici un théorème |
23 | reyssat | 41 | \end{thm} |
42 | \begin{proof} |
||
613 | schaersvoo | 43 | Voici la démonstration. |
23 | reyssat | 44 | \end{proof} |
45 | \begin{defn} |
||
613 | schaersvoo | 46 | Voici une définition |
23 | reyssat | 47 | \end{defn} |
613 | schaersvoo | 48 | \section{Insertion d'un exercice} |
49 | Pour insérer un exercice, prendre les deux premières lignes |
||
50 | dans le fichier source d'une feuille d'exercice et les coller |
||
51 | par un \&. |
||
23 | reyssat | 52 | \begin{exo} |
613 | schaersvoo | 53 | Faites l'exercice d'application\index{exercice1} |
54 | \exercise{module=H6/analysis/oefcourbe.fr&exo=courb1&scoredelay=&confparm1=A&confparm1=B}{Courbes} |
||
23 | reyssat | 55 | \end{exo} |
613 | schaersvoo | 56 | \section{Insertion d'un exemple} |
57 | Un exemple de dessin non vu dans le fichier pdf \index{exemple} |
||
23 | reyssat | 58 | \begin{wimsonly} |
59 | \begin{wims} |
||
60 | \def{matrix A = -6,28,21 |
||
61 | 4,-15,-12 |
||
62 | -8,a,25} |
||
63 | \def{text P = pari(charpoly( [\A], x))} |
||
64 | \def{text color=blue,purple,red,orange,yellow} |
||
65 | \def{text dessin = xrange -1,4 |
||
66 | yrange -10,10 |
||
67 | hline 0,0,black |
||
68 | vline 0,0, black |
||
69 | } |
||
70 | \def{text liste = 31.8,31.9,32,32.1,32.2} |
||
71 | \def{integer cnt = items(\liste)} |
||
72 | \for{i = 1 to \cnt}{ |
||
73 | \def{text p = evalue(\P,a = \liste[\i])} |
||
74 | \def{text dessin = \dessin |
||
75 | plot \color[\i], \p |
||
76 | } |
||
77 | } |
||
78 | \end{wims} |
||
613 | schaersvoo | 79 | Voici le graphe des polynômes caractéristiques des matrices \([\A]) pour les valeurs |
80 | de \(a) suivantes : \liste. |
||
23 | reyssat | 81 | <p align="center"> \draw{300,300}{\dessin} </p> |
613 | schaersvoo | 82 | Que remarquez-vous ? |
23 | reyssat | 83 | \end{wimsonly} |
743 | bpr | 84 | |
85 | |||
86 | \section{Une animation qui ne va passer dans latex } |
||
87 | \begin{wimsonly} |
||
88 | \begin{wims} |
||
89 | |||
90 | \def{text liste=1,2,3,4,10,20,24,28,32,36,40} |
||
91 | \def{text listepoint=-1.8,-1.8,-1.8,-1.5,-1.2,-1.2} |
||
92 | \def{integer cnt =items(\liste)} |
||
93 | \def{text h=wims(makelist x for x = 1 to \cnt)} |
||
94 | |||
95 | \comment{L'entier N est le paramètre qui permet "d'avancer" ; |
||
96 | parm1 est une variable qui va être transmis à la page suivante. Au |
||
97 | départ parm1 ne vaut rien donc N = 1 ; ensuite parm1 vaut N |
||
98 | donc N va s'incrémenter |
||
99 | } |
||
100 | \def{integer N = \parm1 notitemof \h ? 1 : \parm1 + 1} |
||
101 | \def{text commentaire =\N >= \cnt ? Recommencer:Continuer} |
||
102 | \comment{on fait un lien sur la même page mais en transmettant |
||
103 | le paramètre \N} |
||
104 | \link{.}{\commentaire}{}{parm1=\N}{dessin} |
||
105 | \comment{Ensuite, c'est du code pour faire un dessin} |
||
106 | \def{text couleur=wims(makelist yellow,orange,pink,blue,green for x = 2 to 5)} |
||
107 | \def{text dessin= xrange -2,2 |
||
108 | yrange -1,1 |
||
109 | hline 0,0,black |
||
110 | arrow 0,0,1,0,6,black |
||
111 | arrow 0,0,0,1,6,black |
||
112 | vline 0,0,black} |
||
113 | \comment{On ne trace que les N premières courbes} |
||
114 | \for{i = 1 to \N}{ |
||
115 | \def{integer j = 2*\liste[\i]} |
||
116 | \def{function f=x/(1+x^(\j))} |
||
117 | \def{real a=evalue(\f,x=\listepoint[\i])} |
||
118 | \def{text dessin=\dessin |
||
119 | plot \couleur[\i],\f |
||
120 | text \couleur[\i],\listepoint[\i],\a,medium,f\j} |
||
121 | } |
||
1044 | bpr | 122 | <a name=dessin></a> |
743 | bpr | 123 | \draw{500,300}{\dessin} |
124 | |||
125 | \end{wims} |
||
126 | \end{wimsonly} |
||
613 | schaersvoo | 127 | \section{Les listes} |
128 | Voici une liste avec pli (fold) |
||
23 | reyssat | 129 | \begin{description} |
613 | schaersvoo | 130 | \item[Graphe] voici la définition |
131 | \item[Coloriage] Colorier un graphe, c'est ... |
||
23 | reyssat | 132 | \end{description} |
743 | bpr | 133 | \section{Les tableaux} |
134 | \begin{tabular}{|c|c|c|} |
||
135 | \hline |
||
920 | bpr | 136 | &a&\(\frac{1}{2}\) \\ |
743 | bpr | 137 | \hline |
138 | c&d&f\\ |
||
139 | \hline |
||
140 | \end{tabular} |
||
141 | \end{document} |