We describe a generalization of Thurston's original construction of pseudo-Anosov maps on a surface F of negative Euler characteristic. In fact, we construct whole semigroups of pseudo-Anosov maps by taking appropriate compositions of Dehn twists along certain families of curves; our arguments furthermore apply to give examples of pseudo-Anosov maps on nonorientable surfaces. For each self-map f: F -* F arising from our recipe, we construct an invariant "bigon track" (a slight generalization of train track) whose incidence matrix is Perron-Frobenius. Standard arguments produce a projective measured foliation invariant by f. To finally prove that f is pseudo-Anosov, we directly produce a transverse invariant projective measured foliation using tangential measures on bigon tracks. As a consequence of our argument, we derive a simple criterion for a surface automorphism to be pseudo-Anosov. Introduction. A homeomorphism p of a surface F is said to be pseudo-Anoosov if no iterate of p fixes any essential nonboundaryor puncture-parallel free homotopy class of simple curves in F. Examples of these homeomorphisms date back to the work of Nielsen (see [N and Gi]), but a systematic study of these maps was not undertaken until the work of Thurston [T1]. Anosov [A] studied maps of the torus which preserve two foliations of the torus by lines of irrational slope, and pseudo-Anosov maps on F similarly preserve a pair of foliations (with singularities). Pseudo-Anosov maps are by no means special; indeed, the monodromy of any nontorus fibred knot which is not a satellite is pseudo-Anosov [T4]. (Note that being pseudo-Anosov is a conjugacy invariant.) Moreover, these maps play an important role in the geometrization of three-manifolds; indeed, a mapping torus has hyperbolic structure if and only if the monodromy is pseudo-Anosov [T4]. In the original preprint [T1], there is described a construction of pseudo-Anosov maps which we will recall later. In this paper, we generalize Thurston's construction and give a recipe for constructing whole semigroups of pseudo-Anosov maps, many of which do not arise from Thurston's construction. Our recipe is also applicable to nonorientable surfaces, and we give examples of pseudo-Anosov maps in this setting. (In [T3], Thurston proved the existence of such, and [AY] gave the first explicit examples.) This paper is organized as follows. In ?1, we review the basic terminology and results on train tracks in surfaces and indicate the connection between measured train tracks and measured foliations. ?2 is devoted to tangential measure on bigon Received by the editors March 7, 1986 and, in revised form, June 17, 1987. 1980 Mathematics Subject (Cassification (1985 Revision). Primary 57N06, 57N50.