Ceci est une ancienne révision du document !

— title: Including Plain TeX files in LaTeX category: usage permalink: /FAQ-inclplain —

LaTeX, though originally [based on Plain TeX](FAQ-LaTeXandPlain), does not contain all of Plain TeX's commands. Worse, some Plain TeX command names appear in LaTeX, with different semantics. As a result, special measures need to be taken to allow general Plain TeX documents (or parts of documents) to be typeset within LaTeX.

The truly reliable way is to translate the Plain TeX commands, to produce an equivalent of the original's semantics. However, this is not practical in many circumstances, and for those occasions, the [`plain`](https://ctan.org/pkg/plain) package will often come to your aid. The package defines a `plain` environment, in which a Plain TeX document may be processed: ```latex \begin{plain}


\end{plain} ``` The package is known to fail, for example, with documents that use AMSTeX; no doubt it would also fail if asked to load Eplain. All these things can be overcome (although it's not often easy), but the environment saves a lot of work on many occasions.

3_composition/texte/document/inclure_du_plain_tex_dans_du_latex.1528031260.txt.gz · Dernière modification: 2018/06/03 15:07 par joseph.wright
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0