使用回憶錄類別的標題樣式

使用回憶錄類別的標題樣式

是否可以使用回憶錄內建標題樣式實用程式重現以下標題樣式?

在此輸入影像描述

在此輸入影像描述

答案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 節。

相關內容