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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

24 Sep 2004 2:48 p.m.<strong>TEX</strong> <strong>pour</strong> l’Impati<strong>en</strong>t N o 190168 Commandes <strong>pour</strong> les modes horizontaux et verticaux \ §7zéro. La profondeur est toute ext<strong>en</strong>sion verticale restante quand lahauteur a été <strong>en</strong>levée.Pour \vbox, la profondeur est la profondeur de son dernier élém<strong>en</strong>t,si cet élém<strong>en</strong>t est une boîte ou un filet. Autrem<strong>en</strong>t la profondeur està zéro. La hauteur est toute ext<strong>en</strong>sion verticale restante quand laprofondeur a été <strong>en</strong>levée 3 .La commande \vfil (p. 163) est pratique <strong>pour</strong> remplir une vbox avecde l’espace vide quand le matériel dans la boîte n’est pas aussi grand quel’ext<strong>en</strong>tion verticale de la boîte.Exemple :\hbox{\hsize = 10pc \raggedright\parind<strong>en</strong>t = 1em\vtop{In this example, we see how to use vboxes toproduce the effect of double columns. Each vboxcontains two paragraphs, typeset according to \TeX’susual rules except that it’s ragged right.\parThis isn’t really the best way to get true doublecolumns because the columns}\hskip 2pc\vtop{\noind<strong>en</strong>tar<strong>en</strong>’t balanced and we hav<strong>en</strong>’t done anything to choosethe column break automatically or ev<strong>en</strong> to fix up thelast line of the first column.\parHowever, the technique of putting running text into avbox is very useful for placing that text where youwant it on the page.}}produit :In this example, wesee how to use vboxesto produce the effect ofdouble columns. Eachvbox contains two paragraphs,typeset accordingto <strong>TEX</strong>’s usual rules exceptthat it’s ragged right.This isn’t really the bestway to get true double columnsbecause the columnsar<strong>en</strong>’t balanced and wehav<strong>en</strong>’t done anything tochoose the column breakautomatically or ev<strong>en</strong> tofix up the last line of thefirst column.However, the techniqueof putting running textinto a vbox is very usefulfor placing that text whereyou want it on the page.3 En fait, il y a une complication supplém<strong>en</strong>taire. Supposez qu’après que la profondeurait été déterminée <strong>en</strong> utilisant les deux règles précéd<strong>en</strong>tes, la profondeur devi<strong>en</strong>neplus grande que \boxmaxdepth. Alors la profondeur est réduite à \boxmaxdepth et lahauteur est ajustée <strong>en</strong> conséqu<strong>en</strong>ce.

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

Saved successfully!

Ooh no, something went wrong!