Title: Theory and design of electron beams