Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
2_composition:illustrations:dessiner_avec_tex2 [2018/05/25 15:11] d.p.carlisle |
2_composition:illustrations:dessiner_avec_tex2 [2020/12/16 00:34] (Version actuelle) jejust Reformatage de la page. Balisage du code. |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | --- | + | ====== In-line source for graphics applications ====== |
- | section: Graphics | + | |
- | permalink: /FAQ-inlgrphapp | + | |
- | date: 2014-06-10 | + | |
- | --- | + | |
- | # In-line source for graphics applications | ||
Some of the free-standing graphics applications may also be used | Some of the free-standing graphics applications may also be used | ||
(effectively) in-line in LaTeX documents; examples are | (effectively) in-line in LaTeX documents; examples are | ||
- | - asymptoteThe package [`asymptote`](https://ctan.org/pkg/asymptote) (provided in the | + | * The package [[ctanpkg>asymptote]] (provided in the ''asymptote'' distribution) defines an environment ''asy'' which arranges that its contents are available for processing, and will therefore be typeset (after "enough" runs, in the "usual" LaTeX way). |
- | `asymptote` distribution) defines an environment | + | |
- | `asy` which arranges that its contents are available for | + | |
- | processing, and will therefore be typeset (after ''enough'' runs, in | + | |
- | the ''usual'' LaTeX way). | + | |
- | Basically, you write | + | Basically, you write |
- | ```latex | + | <code latex> |
- | \begin{asy}` | + | \begin{asy} |
- | <asymptote code>` | + | <asymptote code> |
- | \end{asy} | + | \end{asy} |
- | ``` | + | </code> |
- | and then execute | + | and then run the commands |
- | ```latex | + | <code bash> |
- | latex document | + | latex document |
- | asy document-*.asy | + | asy document-*.asy |
- | latex document | + | latex document |
- | ``` | + | </code> |
- | - 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 | + | |
- | [`gmp`](https://ctan.org/pkg/gmp) ([`gmp`](https://ctan.org/pkg/gmp)'s author hopes that his package will | + | |
- | support the facilities [`emp`](https://ctan.org/pkg/emp), which he believes is in need | + | |
- | 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://ctan.org/pkg/asymptote)), these packages require | + | * [[ctanpkg>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. |
- | that you can | + | |
- | [run external programs from within your document](/FAQ-spawnprog). | + | * [[ctanpkg>gmp]] allows you to include the source of MetaPost diagrams, with parameters of the diagram passed from the environment call. |
+ | |||
+ | * [[ctanpkg>emp]] is an earlier package providing facilities similar to those of [[ctanpkg>gmp]]'s author hopes that his package will support the facilities [[ctanpkg>emp]], which he believes is in need of update.) | ||
+ | * [[ctanpkg>mpgraphics]] allows you again 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 [[ctanpkg>asymptote]]), these packages require | ||
+ | that you can [[FAQ-spawnprog|run external programs from within your document]]. | ||
+ | |||
+ | |||
+ | ----- | ||
+ | //Source:// | ||
+ | * [[faquk>FAQ-inlgrphapp|In-line source for graphics applications]] | ||
+ | |||
+ | {{htmlmetatags>metatag-keywords=(LaTeX,dessins,illustrations,schéma,dessiner en LaTeX) | ||
+ | metatag-og:title=(In-line source for graphics applications) | ||
+ | metatag-og:site_name=(FAQ LaTeX francophone) | ||
+ | }} | ||