diff --git a/base_2.md b/base_2.md index 70e2d5c76e037e68bb6c6a7b79a8fa6a085c471e..e51c7b4a1bcf7106dbb92c9508265d90affea44c 100644 --- a/base_2.md +++ b/base_2.md @@ -120,7 +120,7 @@ for (int i = 0; i != 1; i = rand() % 4) { // ésotérique # Représentation des variables en mémoire (2/2) -{#fig:memory width=100%} +{width=100%} # Les fonctions (1/7) diff --git a/base_3.md b/base_3.md index d55c8e4c7f227e37afb5e3a630a990fdf2fb05fa..55d5e133575b99bf0c8e32026327af17ff8f343d 100644 --- a/base_3.md +++ b/base_3.md @@ -64,7 +64,7 @@ num->im = -1.0; // mémoire pas allouée. ``` -{#fig:compilation width=100%} +{width=100%} # Types complexes: `struct`{.C} (4/5) @@ -203,7 +203,7 @@ ## Un seul fichier source -{#fig:compilation width=100%} +{width=100%} # Génération d'un exécutable (2/5) @@ -224,7 +224,7 @@ Les différents codes intermédiaires sont effacés. ## Plusieurs fichiers sources -{#fig:compilation_plusieurs width=100%} +{width=100%} # Génération d'un exécutable (4/5) diff --git a/base_4.md b/base_4.md index 1c59509666c3073c9a6c5b6ecc13ba274a0b96e1..a701d9b1b2117e29689541b5c6fe88920eb14138 100644 --- a/base_4.md +++ b/base_4.md @@ -222,19 +222,19 @@ gcc -o example example.o # Syntaxe d'un `Makefile` (1/4) -{#fig:ex_makefile width=100%} +{width=100%} # Syntaxe d'un `Makefile` (2/4) -{#fig:ex_makefile_cible width=100%} +{width=100%} # Syntaxe d'un `Makefile` (3/4) -{#fig:ex_makefile_dep width=100%} +{width=100%} # Syntaxe d'un `Makefile` (4/4) -{#fig:ex_makefile_regle width=100%} +{width=100%} # Principe de fonctionnement @@ -275,7 +275,7 @@ rebuild: clean hello ## Un graph complexe -{#fig:complex_makefile width=100%} +{width=100%} ::: :::::::::::::: diff --git a/base_5.md b/base_5.md index eaf263c9f1ab284e66373c9bdd6740418e78a518..9db5ff7df1407d2162f9d65b56fe9fd3fb013dca 100644 --- a/base_5.md +++ b/base_5.md @@ -4,7 +4,7 @@ # Rappel: représentation des variables en mémoire -{#fig:memory width=100%} +{width=100%} # Rappel: Les pointeurs (1/3) @@ -28,7 +28,7 @@ # Rappel: Les pointeurs (2/3) -{#fig:memory width=100%} +{width=100%} # Rappel: Les pointeurs (3/3) @@ -128,7 +128,7 @@ p = &m; // erreur de compilation. - La mémoire doit être désallouée explicitement $\Rightarrow$ **fuites mémoires**. <!-- - Toujours garder un pointeur sur la mémoire allouée sinon **pointeur pendouillant**. --> -{#fig:compilation width=100%} +{width=100%} # Allocation dynamique de mémoire (3/8) @@ -176,7 +176,7 @@ p = &m; // erreur de compilation. ## Arithmétique de pointeurs -{#fig:compilation width=100%} +{width=100%} # Allocation dynamique de mémoire (6/8) @@ -195,7 +195,7 @@ p = &m; // erreur de compilation. ## Pointeur de pointeur -{#fig:compilation height=100%} +{height=100%} # Allocation dynamique de mémoire (8/8) diff --git a/base_X.md b/base_X.md index 0bef38e4aa447f3ae8b304a2ee0915f9ae3c225f..7c4cf665865aea03db7e2e33641ba409d657ea16 100644 --- a/base_X.md +++ b/base_X.md @@ -196,7 +196,7 @@ int main(void) { # Représentation des variables en mémoire (2/N) -{#fig:memory width=100%} +{width=100%} # Les pointeurs (1/N) @@ -220,7 +220,7 @@ int main(void) { # Les pointeurs (2/N) -{#fig:memory width=100%} +{width=100%} # Les pointeurs (3/N) @@ -318,7 +318,7 @@ int main(void) { num->im = -1.0; // mémoire pas allouée. ``` -{#fig:compilation width=100%} +{width=100%} # Allocation dynamique de mémoire (1/N) @@ -345,7 +345,7 @@ int main(void) { - La mémoire doit être désallouée explicitement $\Rightarrow$ **fuites mémoires**. <!-- - Toujours garder un pointeur sur la mémoire allouée sinon **pointeur pendouillant**. --> -{#fig:compilation width=100%} +{width=100%} # Allocation dynamique de mémoire (3/N) @@ -393,7 +393,7 @@ int main(void) { ## Arithmétique de pointeurs -{#fig:compilation width=100%} +{width=100%} # Allocation dynamique de mémoire (6/N) @@ -413,7 +413,7 @@ int main(void) { ## Pointeur de pointeur -{#fig:compilation height=100%} +{height=100%} # Allocation dynamique de mémoire (8/N) @@ -479,7 +479,7 @@ int main(void) { ## Un seul fichier source -{#fig:compilation width=100%} +{width=100%} # Génération d'un exécutable (2/N) @@ -500,7 +500,7 @@ Les différents codes intermédiaires sont effacés. ## Plusieurs fichiers sources -{#fig:compilation_plusieurs width=100%} +{width=100%} # Génération d'un exécutable (4/N) diff --git a/command_line.md b/command_line.md index f969a7659cea56c30528a964170a675a42f76869..85cf4f5e6f4eab16ce0b228b40d16e6e94e6581d 100644 --- a/command_line.md +++ b/command_line.md @@ -42,7 +42,7 @@ Ce qui marche *presque* tout le temps: 1. Appuyer sur le bouton `Super` (`Windows`) du clavier. 2. Commencer à taper "terminal". -{#fig:terminal_open width=100%} +{width=100%} Raccourcis clavier: diff --git a/delaunay.md b/delaunay.md index 1c8b3fc89075491a7f3e11db5c951053bc342b8e..89c5a18963e1c51c9b269612b2507f7b6ab9ba49 100644 --- a/delaunay.md +++ b/delaunay.md @@ -7,7 +7,7 @@ * Soit un ensemble de $N$ points $\mathcal{P}=\{p_i\}_{i=1}^N$. * Une triangulation est un ensemble de triangle dont les sommets sont formés des points de $\mathcal{P}$ et couvrant leur envelope convexe. -).](figs/PointSetTriangulations.svg){#fig:tri width=100%} +).](figs/PointSetTriangulations.svg){width=100%} ## La triangulation de Delaunay @@ -28,27 +28,27 @@ ## Exemple d'ajouts (1/6) (source [wikipedia](https://bit.ly/2vJs5p2)) -{#fig:tri width=100%} +{width=100%} ## Exemple d'ajouts (2/6) (source [wikipedia](https://bit.ly/2vJs5p2)) -{#fig:tri width=100%} +{width=100%} ## Exemple d'ajouts (3/6) (source [wikipedia](https://bit.ly/2vJs5p2)) -{#fig:tri width=100%} +{width=100%} ## Exemple d'ajouts (4/6) (source [wikipedia](https://bit.ly/2vJs5p2)) -{#fig:tri width=100%} +{width=100%} ## Exemple d'ajouts (5/6) (source [wikipedia](https://bit.ly/2vJs5p2)) -{#fig:tri width=100%} +{width=100%} ## Exemple d'ajouts (6/6) (source [wikipedia](https://bit.ly/2vJs5p2)) -{#fig:tri width=100%} +{width=100%} <!-- ## Pseudo-code de l'algorithme (1/2) diff --git a/intro.md b/intro.md index 1d6b9e4d360198df38776b7be250015c255204e5..5a0b7c3cf1d12d85c45a41eb838346500c221435 100644 --- a/intro.md +++ b/intro.md @@ -17,7 +17,7 @@ Utilisez le libre service (l'horaire sera fixé prochainement). Salon de discussion [Matrix](https://matrix.to/#/!tuZtXjUSPbnRfBsFXv:matrix.org?via=matrix.org), installez [element.io](https://element.io). -{#fig:memory width=20%} +{width=20%} # Cyberlearn diff --git a/make.md b/make.md index d794a142776679df08d820c8db0046185401306f..9f0b27025a9db39a94a1f28172345180ac263b3f 100644 --- a/make.md +++ b/make.md @@ -56,19 +56,19 @@ gcc -o example example.o # Syntaxe d'un `Makefile` (1/4) -{#fig:ex_makefile width=100%} +{width=100%} # Syntaxe d'un `Makefile` (2/4) -{#fig:ex_makefile_cible width=100%} +{width=100%} # Syntaxe d'un `Makefile` (3/4) -{#fig:ex_makefile_dep width=100%} +{width=100%} # Syntaxe d'un `Makefile` (4/4) -{#fig:ex_makefile_regle width=100%} +{width=100%} # Principe de fonctionnement @@ -109,7 +109,7 @@ rebuild: clean hello ## Un graph complexe -{#fig:complex_makefile width=100%} +{width=100%} ::: ::::::::::::::