1
0
Fork 0
primary
i0p 2022-04-25 21:47:07 +03:00 committed by Mikhail Klementev
parent fe5b500f7b
commit 528faddc31
1 changed files with 21 additions and 1 deletions

View File

@ -55,9 +55,9 @@
% Header and Footer
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
%%%% Header Settings
\fancyhead[RE]{\leftmark}
\fancyhead[LO]{\rightmark}
@ -71,20 +71,36 @@
\renewcommand{\headrule}{\hrule height 0pt}
\begin{document}
\title{Ричард Столлман и революция свободного программного обеспечения}
\author{Сэм Вильямс \\ Второе издание с правками от Ричарда Мэттью Столлмана}
\date{}
\maketitle
\begin{sloppypar}
\thispagestyle{empty}
\frontmatter
\include{copyright}
\thispagestyle{empty}
\tableofcontents
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{%
\markboth{\MakeUppercase{#1}}{}}
\include{rms-preface}
\include{preface-williams}
\mainmatter
%% fancy pagestyle redifine
\renewcommand{\chaptermark}[1]{%
\markboth{\MakeUppercase{%
\chaptername\ \thechapter.%
\ #1}}{}}
\include{chap01}
\include{chap02}
\include{chap03}
@ -101,6 +117,7 @@
\backmatter
%% fancy pagestyle redifine
\renewcommand{\chaptermark}[1]{%
\markboth{\MakeUppercase{#1}}{}}
@ -108,6 +125,9 @@
\include{appendix}
\include{gfdl}
\printindex
\end{sloppypar}
\end{document}
% Initial LaTeX formatting by John Sullivan at the FSF, 2010