12.07.2015 Views

TEX pour l'Impatient - Apprendre en ligne.net

TEX pour l'Impatient - Apprendre en ligne.net

TEX pour l'Impatient - Apprendre en ligne.net

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

24 Sep 2004 2:48 p.m.<strong>TEX</strong> <strong>pour</strong> l’Impati<strong>en</strong>t N o 187Produire des espaces 165Exemple :\vbox to 1pc{\hrule width 6pc % Top of box.\hbox{1} \vskip 1pc\hbox to 2pc{\hfil 2}% The \vss absorbs the extra distance produced by \vskip.\vss \hbox to 3pc{\hfil 3}\hrule width 6pc}% Bottom of box.produit :123\hfilneg\vfilnegCes commandes effac<strong>en</strong>t l’effet d’un \hfil ou d’un \vfil précéd<strong>en</strong>t. Tandisque \hfil et \vfil produis<strong>en</strong>t un ressort positif infinim<strong>en</strong>t étirable,\hfilneg et \vfilneg produis<strong>en</strong>t un ressort négatif infinim<strong>en</strong>t étirable.(ainsi, n \hfilneg effac<strong>en</strong>t n \hfil et pareillem<strong>en</strong>t <strong>pour</strong> le \vfilneg.)L’utilisation principale de \hfilneg et de \vfilneg est de contrecarrerl’effet d’un \hfil ou d’un \vfil inséré par une macro.\hfilneg et \vfilneg ont la propriété curieuse, s’ils sont les seulsressorts infinim<strong>en</strong>t étirables d’une boîte, de produire exactem<strong>en</strong>t le mêmeeffet que \hfil et \vfil.Exemple :\leftline{\hfil on the right\hfilneg}% Cancel the \hfil that \leftline produces to the right% of its argum<strong>en</strong>t.produit :on the rightExemple :\def\a{\hbox to 1pc{\hfil 2}\vfil}\vbox to 4pc{\hbox{1} \vfil \a\vfilneg \hbox to 2pc{\hfil 3}}produit :123Voir aussi : \hbadness et \vbadness (p. 176), \hfuzz et \vfuzz(p. 176), “filets” (p. 69).

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!