Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
composition:illustrations:dessiner_avec_tex2 [2018/06/03 13:19] – d.p.carlisle | 3_composition:illustrations:dessiner_avec_tex2 [2022/11/30 16:54] (Version actuelle) – <> → ⟨⟩ dbitouze | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | --- | + | ====== Quels langages de description graphique peut-on utiliser avec LaTeX? ====== |
- | title: In-line source for graphics applications | + | |
- | category: graphics | + | |
- | permalink: / | + | |
- | --- | + | |
- | Some of the free-standing graphics applications may also be used | + | Certains langages permettant de présenter des graphiques peuvent être utilisés directement dans le code source de documents |
- | (effectively) in-line in LaTeX documents; examples are | + | |
- | - asymptoteThe package | + | Notez bien que, dans la plupart des cas (hors [[ctanpkg>asymptote]]), ces solutions nécessitent que vous puissiez [[2_programmation: |
- | `asymptote` distribution) defines an environment | + | |
- | `asy` which arranges that its contents are available for | + | |
- | processing, and will therefore be typeset (after " | + | |
- | the " | + | |
- | Basically, you write | + | ===== Asymptote ===== |
- | ```latex | + | |
- | \begin{asy}` | + | |
- | < | + | |
- | \end{asy} | + | L' |
- | ``` | + | |
- | and then execute | + | |
- | | + | |
- | latex document | + | |
- | asy document-*.asy | + | |
- | latex document | + | |
- | ``` | + | |
- | - egplot Allows you to incorporate `GNUplot` | + | |
- | instructions in your document, for processing outside of LaTeX. | + | |
- | The package provides commands that enable the user to do calculation | + | |
- | in `GNUplot`, feeding the results into the diagram | + | |
- | to be drawn. | + | |
- | - gmp Allows you to include the source of MetaPost diagrams, with | + | |
- | parameters of the diagram passed from the environment call. | + | |
- | - emp An earlier package providing facilities similar to those of | + | |
- | | + | |
- | support the facilities [`emp`](https:// | + | |
- | of update.) | + | |
- | - mpgraphics Again, allows you to program parameters of MetaPost | + | |
- | diagrams from your LaTeX document, including the preamble details | + | |
- | of the LaTeX code in any recursive call from MetaPost. | + | |
- | In all cases (other than [`asymptote`](https:// | + | <code latex> |
- | that you can | + | \begin{asy} |
- | [run external programs from within your document](FAQ-spawnprog). | + | ⟨code |
+ | \end{asy} | ||
+ | </ | ||
+ | Ensuite, il faut exécuter ici les commandes suivantes (on suppose ici qu'il est nommé '' | ||
+ | <code bash> | ||
+ | latex document | ||
+ | asy document-*.asy | ||
+ | latex document | ||
+ | </ | ||
+ | |||
+ | ===== GNUplot ===== | ||
+ | |||
+ | L' | ||
+ | |||
+ | ===== MetaPost ===== | ||
+ | |||
+ | Trois extensions vous permettent d' | ||
+ | * [[ctanpkg> | ||
+ | * [[ctanpkg> | ||
+ | * [[ctanpkg> | ||
+ | |||
+ | ----- | ||
+ | //Source:// | ||
+ | * [[faquk> | ||
+ | |||
+ | {{htmlmetatags> | ||
+ | metatag-og: | ||
+ | metatag-og: | ||
+ | }} |