I'm using a Latex template which uses memoir style and \chapterstyle{bianchimod}. I noticed that on every page there's an alternating behavior of the paragraph and the page number positions. Paragraphs are indented or not and the page number is one time on the left and the next page on the right side.

Is there a way to turn this off and keep the formatting as seen below on the first page?

enter image description here

The layoutsetup.tex file looks the following:

%% Memoir layout setup

%% NOTE: You are strongly advised not to change any of them unless you
%% know what you are doing.  These settings strongly interact in the
%% final look of the document.

% Dependencies

% Turn extra space before chapter headings off.


% Chapter style redefinition


  \renewcommand*{\printchapternum}{\chapnumfont {\thechapter}}
    \hrule\vskip\onelineskip \centering \chaptitlefont\textbf{\vphantom{gyM}##1}\par}
  \renewcommand*{\afterchaptertitle}{\vskip\onelineskip \hrule\vskip
    \vphantom{\chapnumfont {9}}\afterchapternum}}

% Use the newly defined style


% Set captions to a more separated style for clearness

% Set section and TOC numbering depth to subsection

%% Titlepage adjustments
\pretitle{\vspace{0pt plus 0.7fill}\begin{center}\HUGE\sffamily\bfseries}




    \@department, ETH Z\"urich




% This defines how theorems should look. Best leave as is.

%%% Local Variables:
%%% mode: latex
%%% TeX-master: "thesis"
%%% End:
  • 1
    your question isn't very clear and you haven't provided a usable example, but I would guess that you want \documentclass[oneside]{...} – David Carlisle Dec 26 '18 at 12:18
  • 1
    Where do you want the page number to be? Left, right, centre? – samcarter is at topanswers.xyz Dec 26 '18 at 12:18
  • @samcarter I would like to have everything as seen in the first picture section 2.2. Paragraphs flushleft, page number on the right side. The headers would be nice to have as in the first picture page 6. – astro_sheep Dec 26 '18 at 12:24
  • @DavidCarlisle the template uses `\documentclass[11pt,a4paper,titlepage]{memoir}. Can I add onside within the [ ] brackets? – astro_sheep Dec 26 '18 at 12:27
  • 2
    you can yes, but anything intended to be printed would normally use a twoside layout with different layout on left and right hand pages. – David Carlisle Dec 26 '18 at 12:32

If the document is mostly intended for onscreen viewing you can add oneside to the \documentclass options to disable the separate layout for left and right pages, but for almost all documents that are intended to be printed using both sides of the paper, the default twoside layout would be more natural.

  • thanks :) I'll keep it in mind in case I'll print the document. – astro_sheep Dec 26 '18 at 12:36

Your question is not perfectly clear, but I think you want to have the page number and heading aligned with the text, and not outside of it as in the second page of your example (and first page already for the page number).

I had the same issue (also using the template from the department of informatik at ETH), and indeed as David suggests you can simply add oneside in the \documentclass.

However, if you still want to have an alternative behaviour, (for printing issues or else) you can still align the page numbers and page headings with the twoside option.

Please consider the following description from the official memoir class documentation

The page styles provided by the class are

ruled: The footer contains the folio at the outside. The header on verso pages contains the chapter number and title in small caps at the outside; on recto pges the section title is typeset at the outside using the normal font. A line is drawn underneath the header.

Ruled: This is like the ruled style except that the headers and footers extend into the foreedge margin.

You thus want to have


Notice the Ruled in your example is changed to ruled.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.