For faster navigation, this Iframe is preloading the Wikiwand page for Plain TeX.

Plain TeX

Plain TeX est un système logiciel de composition de documents, ou plus exactement une extension du langage TeX créée par Donald Knuth.

Principe général

[modifier | modifier le code]

Le langage de mise en page TeX contient environ 300 fonctions dites primitives. Elles sont complétées avec environ 600 macros. Le langage ainsi obtenu constitue ce qu'on appelle un format, et se nomme Plain TeX.

Plain TeX définit également les valeurs par défaut de certaines variables (taille des marges, tolérance sur la taille des espaces, précision des messages d'erreur, etc.)

Différence entre macro et primitives

[modifier | modifier le code]

Le logo de TeX s'obtient en Plain TeX à l'aide de la commande

\TeX

Cette commande peut être définie à l'aide de primitives de la façon suivante:

T\kern -.1667em\lower .5ex\hbox {E}\kern -.125emX

Changement de type de police

[modifier | modifier le code]

En Plain TeX, le code suivant :

Du {\bf gras}, de l'{\it italique}. 

Produira : « Du gras, de l'italique. »

Articles connexes

[modifier | modifier le code]
  • TeX, le langage d'origine
  • LaTeX, un autre ensemble de macros pour TeX, sans doute le plus utilisé.
  • ConTeXt, encore un autre.

Bibliographie

[modifier | modifier le code]
{{bottomLinkPreText}} {{bottomLinkText}}
Plain TeX
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?