Skip to content

Commit

Permalink
Revert "20240513 - remove chapter and section numbering in running head"
Browse files Browse the repository at this point in the history
This reverts commit 3ea5791.
  • Loading branch information
Petersen committed May 13, 2024
1 parent fc94590 commit b243325
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions krantz.cls
Original file line number Diff line number Diff line change
Expand Up @@ -350,12 +350,12 @@
\top@cornermarks
{\@the@page\RunningHeadFont
\hfill
\if@mainmatter\ifnum\value{chapter}>0 \fi\fi\leftmark
\if@mainmatter\ifnum\value{chapter}>0 \thechapter\enspace\fi\fi\leftmark
}}
\def\odd@head{%
\top@cornermarks
\hfil{\RunningHeadFont
\if@mainmatter\ifnum\value{section}>0 \fi\fi\rightmark
\if@mainmatter\ifnum\value{section}>0 \thesection\enspace\fi\fi\rightmark
}
\hfill
\@the@page
Expand All @@ -375,7 +375,7 @@
\let\@oddfoot\@empty
\let\@evenfoot\@empty
\let\@evenhead\even@head
\def\@oddhead{\RunningHeadFont\if@mainmatter\ifnum\value{section}>0 \fi\fi\rightmark\hfill\PageNumFont\thepage}%\odd@head
\def\@oddhead{\RunningHeadFont\if@mainmatter\ifnum\value{section}>0 \enspace\fi\fi\rightmark\hfill\PageNumFont\thepage}%\odd@head
\fi
}
\else
Expand Down Expand Up @@ -449,7 +449,7 @@
##1}{}}%
\def\sectionmark##1{%\pagebreak[3]%
\markright{%
##1}}}
\thesection\enspace##1}}}
\def\pdfon{\@pdftrue}
\def\pdfoff{\@pdffalse}
\if@pdf
Expand Down Expand Up @@ -1807,4 +1807,4 @@
\HeadingsChapterSection
\endinput
%%
%% End of file `krantz.cls'.
%% End of file `krantz.cls'.

0 comments on commit b243325

Please sign in to comment.