Text this: Design of alternating gradient quadrupole lenses