From a820724631ba0c09279c1621d8821a4f1058e552 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moussouni=2C=20Ya=C3=ABl?= Date: Tue, 6 May 2025 19:31:15 +0200 Subject: [PATCH] 2025-05-06: Updated to match the MANCHOT beamer style --- README.md | 4 ++-- YII_beamer_1.mplstyle | 2 +- YII_beamer_2.mplstyle | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 643a5f0..68c91a3 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Le style peut être utilisé avec `plt.style.use("CHEMIN/REPERTOIRE/YII")`. Ce style est prévu pour générer des figures pouvant être intégrées dans un document LaTeX (police Latin Modern Roman) au format A4 avec : - une colonne et des marges de `3 cm` de chaque côté (`_1`) - deux colonnes avec un séparation de `1 cm` et des marges de `2 cm` de chaque côté (`_2`) -- `10 cm * 15 cm` (au lieu de A4) avec des marges de `1 cm` de chaque côté (`_beamer`) +- beamer au format 3:2 (`_beamer`) - un style plus simple (sans LaTeX) et une police monospace (Latin Modern Mono; `_light`) plus d'informations: https://matplotlib.org/stable/users/explain/customizing.html#customizing-with-style-sheets @@ -12,7 +12,7 @@ plus d'informations: https://matplotlib.org/stable/users/explain/customizing.htm The style can be used with `plt.style.use("PATH/DIRECTORY/YII")`. This style has been made to generate figures that can be integrated in LaTeX documents, with: - one column and `3 cm` margins on each side (`_1`) - two columns with a `1 cm` separation and `2 cm` margins (`_2`) -- `10 cm * 15 cm` (instead of A4) with `1 cm` margins on each side (`_beamer`) +- beamers with a 3:2 format (`_beamer`) - a more simple style (without LaTeX) and a monospace font (Latin Modern Mono; `_light`) more informations: https://matplotlib.org/stable/users/explain/customizing.html#customizing-with-style-sheets diff --git a/YII_beamer_1.mplstyle b/YII_beamer_1.mplstyle index 182d13a..a27fc5b 100755 --- a/YII_beamer_1.mplstyle +++ b/YII_beamer_1.mplstyle @@ -47,7 +47,7 @@ legend.frameon: True legend.fontsize: 9.0 ### Figure size -figure.figsize: 4.3, 2.3 +figure.figsize: 4.5, 2.05 figure.subplot.left: 0.1 figure.subplot.bottom: 0.175 figure.subplot.top: 0.90 diff --git a/YII_beamer_2.mplstyle b/YII_beamer_2.mplstyle index 9bcafa1..c7d9af5 100644 --- a/YII_beamer_2.mplstyle +++ b/YII_beamer_2.mplstyle @@ -48,7 +48,7 @@ legend.frameon: True legend.fontsize: 9.0 ### Figure size -figure.figsize: 2.1, 2.3 +figure.figsize: 2.25, 2.05 figure.subplot.left: 0.1 figure.subplot.bottom: 0.175 figure.subplot.top: 0.90