Text this: Beam-wave interaction in periodic and quasi-periodic structures /