I am writing my thesis using the class memoir. I have two problems to get nice headings/footers. First, I want the page number to be in the footer, on the right or on the left but for the first page of a chapter, it stays centered. Then, for pages with an even number, I want the name of the current chapter to be inserted in the headings. I can not find how to do these things. Here is my code:
\documentclass[12pt]{memoir}
\usepackage{blindtext}
\usepackage[english]{babel}
\nouppercaseheads
\makepagestyle{these}
\makeevenhead{these}{\rightmark}{}{}
\makeoddhead{these}{}{}{\leftmark}
\makeheadrule{these}{\textwidth}{\normalrulethickness}
\makeevenfoot{these}{\thepage}{}{}
\makeoddfoot{these}{}{}{\thepage}
\makepsmarks{these}{%
\createmark{section}{left}{shownumber}{}{\ }
\createmark{chapter}{right}{shownumber}{}{\ }
\createplainmark{toc}{both}{\contentsname}}
\pagestyle{these}
\makeatother
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\frontmatter
\title{My title}
\maketitle
\chapter{Thanks}
\tableofcontents
\chapter{Introduction}\label{intro}
\Blindtext
\mainmatter
\part{1st Part}
\chapter{My Chapter}
\section{My Section}
\Blindtext
\end{document}

intro.tex.If you simply want to fill your document with some text for demonstration purposes, please use theblindtextpackage an its commands like\Blinddocumentetc. – Nils L Feb 25 at 14:57\frontmatterand\mainmatterinstead of that whole hackery with\chapter*and\addtocontents. – kahen Feb 25 at 18:03