This paper constructs an analytic framework for calculating the assembly of galactic disks from the collapse of gas within dark matter halos, with the goal of determining the resulting surface density profiles. In this formulation, gas parcels (baryons) fall through the potentials of dark matter halos on nearly ballistic, zero-energy orbits and collect in a rotating disk. The dark matter halos have a nearly universal form, as determined previously through numerical simulations. The simplest scenario starts with a gaseous sphere in slow uniform rotation, follows its subsequent collapse, and determines the surface density of the disk. This calculation is carried out for precollapse mass distributions of the form M(r) ~ rp and for polytropic spheres in hydrostatic equilibrium with the halo potential. The resulting disk surface density profiles have nearly power-law forms σ ~ ϖ-q, with well-defined edges determined by the centrifugal barrier RC, the radius to which gas with the highest specific angular momentum falls during the collapse. This scenario is generalized to include nonspherical starting states, alternate rotation profiles, and multiple accretion events (e.g., due to gas added via merger events). This latter complication considers a lognormal distribution for the angular momenta of the precollapse states of the individual components. In the limit where this distribution is wide, the composite surface density approaches a universal form σT ~ ϖ-2, independent of the shape of the constituent profiles. When the angular momentum distribution has an intermediate width, however, the composite surface density attains a nearly exponential form, roughly consistent with profiles of observed galaxies.