<p>I am stuck at properly aligning the generalization arrow between the classes. I could not make them appear as in the UML books.</p>

UML Model Diagrams - Visio - Microsoft Office Online
One note. If you want UML diagramm looks like classic book examples you should use Rational Rose instead of Visio.