答案1
這是。
\documentclass{memoir}
\usepackage{lipsum}
% don't convert titles to upper case in header
\nouppercaseheads
% define what goes where in the header
% chapter into \leftmark, number shown, nothing before the
% number and a dot and space after it
\createmark{chapter}{left}{shownumber}{}{. }
% section into \rightmark, number shown, nothing before the
% number and just a space after it
\createmark{section}{right}{shownumber}{}{ }
% define new pagestyle
\makepagestyle{myheadings}
% head for even numbered pages, chapter title on the left with
% preferred font and size, center and right side of header are empty
\makeevenhead{myheadings}{\textit{\small\leftmark}}{}{}
% head for odd numbered pages, left side and center of header
% are empty, section title on the right with preferred font and size
\makeoddhead{myheadings}{}{}{\textit{\small\rightmark}}
% set pagestyle
\pagestyle{myheadings}
\begin{document}
\chapter{Introduction}
\section{Something about lipsum}
\lipsum[1-10]
\end{document}
也有\makeevenfoot
和\makeoddfoot
為足線的。更多詳細資訊請參閱回憶錄手冊第 7.3 節。