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 145Formation des paragraphes 123Exemple :\raggedright ‘‘You couldn’t have it if you {\it did\/}want it,’’ the Que<strong>en</strong> said. ‘‘The rule is, jam tomorrowand jam yesterday---but never jam {\it today\/}.’’‘‘It {\it must\/} come sometimes to ‘jam today,%thinspace’’ Alice objected. ‘‘No, it can’t’’, said theQue<strong>en</strong>. ‘‘It’s jam every {\it other\/} day: today isn’tany {\it other\/} day.’’produit :“You couldn’t have it if you did want it,” the Que<strong>en</strong> said. “The ruleis, jam tomorrow and jam yesterday—but never jam today.” “It mustcome sometimes to ‘jam today,’ ” Alice objected. “No, it can’t”, saidthe Que<strong>en</strong>. “It’s jam every other day: today isn’t any other day.”\hangCette commande ind<strong>en</strong>te la seconde <strong>ligne</strong> et les suivantes d’un paragraphede \parind<strong>en</strong>t, l’ind<strong>en</strong>tation du paragraphe. (p. 119). Puisque lapremière <strong>ligne</strong> est déjà ind<strong>en</strong>tée par \parind<strong>en</strong>t (à moins que vous ayezsupprimé l’ind<strong>en</strong>tation avec \noind<strong>en</strong>t), le paragraphe <strong>en</strong>tier apparaîtêtre ind<strong>en</strong>té de \parind<strong>en</strong>t.Exemple :\parind<strong>en</strong>t=24pt \hang ‘‘I said you {\it looked} like anegg, Sir,’’ Alice g<strong>en</strong>tly explained to Humpty Dumpty. ‘‘Andsome eggs are very pretty, you know,’’ she added.produit :“I said you looked like an egg, Sir,” Alice g<strong>en</strong>tly explained toHumpty Dumpty. “And some eggs are very pretty, you know,”she added.\hangafter [ 〈nombre〉 paramètre ]\hangind<strong>en</strong>t [ 〈dim<strong>en</strong>sion〉 paramètre ]Ces deux paramètres associés spécifi<strong>en</strong>t l’“ind<strong>en</strong>tation réman<strong>en</strong>te” <strong>pour</strong>un paragraphe. L’ind<strong>en</strong>tation réman<strong>en</strong>te indique à <strong>TEX</strong> que certaines<strong>ligne</strong>s du paragraphe doiv<strong>en</strong>t être ind<strong>en</strong>tées et que les <strong>ligne</strong>s restantesdoiv<strong>en</strong>t avoir leur largeur normale \hangafter détermine quelles <strong>ligne</strong>ssont ind<strong>en</strong>tées, tandis que \hangind<strong>en</strong>t détermine le montant d’ind<strong>en</strong>tatio<strong>net</strong> si elle apparaît sur la gauche ou sur la droite :Soit n la valeur de \hangafter. Si n < 0, Les −n premières <strong>ligne</strong>sdu paragraphe seront ind<strong>en</strong>tées. Si n ≥ 0, toutes sauf les n premières<strong>ligne</strong>s du paragraphe seront ind<strong>en</strong>tées.Soit x la valeur de \hangind<strong>en</strong>t. Si x ≥ 0, les <strong>ligne</strong>s seront ind<strong>en</strong>téesde x à gauche. Si x < 0, les <strong>ligne</strong>s seront ind<strong>en</strong>tées de −x surla droite.

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

Saved successfully!

Ooh no, something went wrong!