Considering the problem of the control of a two-state quantum system by an external field, we establish a general and versatile method allowing the derivation of smooth pulses which feature the properties of high fidelity, robustness, and low area. Such shaped pulses can be interpreted as a single-shot generalization of the composite pulse-sequence technique with a time-dependent phase.