Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option twoside #1

Closed
ralph089 opened this issue Jun 25, 2016 · 3 comments
Closed

Option twoside #1

ralph089 opened this issue Jun 25, 2016 · 3 comments

Comments

@ralph089
Copy link

Hallo,

kurze Frage: Wenn ich meine Arbeit binden lassen möchte, empfiehlt sich gleich das ganze beidseitig zu bedrucken. Ist in dem Paket der beidseitige Druck (twoside) vorgesehen, damit jeweils der linke und rechte Rand abwechselnd einen größeren Abstand zur Bindung bekommen?

Ich habe bereits gesehen, dass das Paket auf der Klasse "book" aufsetzt, allerdings passen beim setzen der twoside Option z. B. die Seitenüberschriften nicht mehr. Gibt's da eine Lösung?

@imagingbook
Copy link
Collaborator

Nein, derzeit nicht, in der Vorlage ist nur einseitiger Druck vorgesehen.
--WB

@imagingbook
Copy link
Collaborator

This should be looked at again ...

@imagingbook
Copy link
Collaborator

Here is a quick patch to switch to twopage format in the current hgbthesis setup:

  1. File hgbthesis.cls:
    Change
    \LoadClass[a4paper,11pt,oneside]{book}
    to
    \LoadClass[a4paper,11pt,twoside]{book}

  2. File hgbheadings.sty:
    Change
    \fancyhead[R]{\sffamily\thepage}
    \fancyhead[L]{\sffamily\nouppercase{\leftmark}}
    to
    \fancyhead[RO,LE]{\sffamily\thepage}
    \fancyhead[LO]{\sffamily\nouppercase{\rightmark}}
    \fancyhead[RE]{\sffamily\nouppercase{\leftmark}}

This will show

  • on EVEN (left-side) pages: the current page number + chapter title,
  • on ODD (right-side) pages: the current section title + page number.

Header contents can be customized by modifying \leftmark and \rightmark (e.g., using the \markboth command). This opens many options as of what people would like to see in the two headers. For example, some may want to see the author's name and thesis title there instead. So while the technical path is straightforward, a more general solution would add quite some overhead. I therefore suggest to keep the one-page setup at this time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants