eqn | Début | Suivant | Sommaire | Préc.page.lue | Accueil |
NAME | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
SYNOPSIS | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
It is possible to have whitespace between a command line option and its parameter.
DESCRIPTION | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
eqn searches for the file eqnrc in the directories given with the -M option first, then in /usr/lib/groff/site-tmac, /usr/share/groff/site-tmac, and finally in the standard macro directory /usr/share/groff/1.18.1.4/tmac. If it exists, eqn will process it before the other input files. The -R option prevents this.
GNU eqn does not provide the functionality of neqn: it does not support low-resolution, typewriter-like devices (although it may work adequately for very simple input).
OPTIONS | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
USAGE | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
Most of the new features of GNU eqn are based on TeX. There are some references to the differences between TeX and GNU eqn below; these may safely be ignored if you do not know TeX.
Automatic spacing | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
eqn gives each component of an equation a type, and adjusts the spacing between components using that type. Possible types are:
Components of an equation get a type in one of two ways.
New primitives | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
For example, suppose you wanted a construct that `cancels' an expression by drawing a diagonal line through it.
.EQ define cancel 'special Ca' .EN .de Ca .ds 0s \Z'\\*(0s'\v'\\n(0du'\D'l \\n(0wu -\\n(0hu-\\n(0du'\v'\\n(0hu' ..
Then you could cancel an expression e with cancel { e }
Here's a more complicated construct that draws a box round an expression:
.EQ define box 'special Bx' .EN .de Bx .ds 0s \Z'\h'1n'\\*(0s'\ \Z'\v'\\n(0du+1n'\D'l \\n(0wu+2n 0'\D'l 0 -\\n(0hu-\\n(0du-2n'\ \D'l -\\n(0wu-2n 0'\D'l 0 \\n(0hu+\\n(0du+2n''\h'\\n(0wu+2n' .nr 0w +2n .nr 0d +1n .nr 0h +1n ..
Customization | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
Possible parameters are as follows. Values are in units of hundredths of an em unless otherwise stated. These descriptions are intended to be expository rather than definitive.
A more precise description of the role of many of these parameters can be found in Appendix H of The TeXbook.
Macros | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
Fonts | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
The italic primitive uses the current italic font set by gfont; the roman primitive uses the current roman font set by grfont. There is also a new gbfont command, which changes the font used by the bold primitive. If you only use the roman, italic and bold primitives to changes fonts within an equation, you can change all the fonts used by your equations just by using gfont, grfont and gbfont commands.
You can control which characters are treated as letters (and therefore set in italics) by using the chartype command described above. A type of letter will cause a character to be set in italic type. A type of digit will cause a character to be set in roman type.
FILES | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
BUGS | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
SEE ALSO | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
Sommaire | Début | Suivant | Sommaire | Préc.page.lue | Accueil |
Table des mots clés | Début | Suivant | Sommaire | Préc.page.lue | Accueil |
-C | OPTIONS |
-dxy | OPTIONS |
-fF | OPTIONS |
-Mdir | OPTIONS |
-mn | OPTIONS |
-N | OPTIONS |
-pn | OPTIONS |
-R | OPTIONS |
-sn | OPTIONS |
-Tname | OPTIONS |
-v | OPTIONS |
chartype t text | Automatic spacing |
grfont f | Fonts |
ifdef name X anything X | Macros |
include sfiles | Macros |
nosplit text | New primitives |
sdefine name X anything X | Macros |
set p n | Customization |
special text e | New primitives |
split stexts | New primitives |
type t e | Automatic spacing |
vcenter e | New primitives |