Implement new line alignment setting.

Fixes #156.