make pagestyle in LaTeX output configurable

I wanted a simpler page layout (mostly in combination with a sidebyside, one-sided layout), so here is a way to make that configurable.