| 1 |
%% |
| 2 |
%% This is file `extramarks.sty', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% fancyhdr.dtx (with options: `extramarks') |
| 8 |
%% |
| 9 |
%% This is a generated file. |
| 10 |
%% |
| 11 |
%% This file may be distributed and/or modified under the conditions of |
| 12 |
%% the LaTeX Project Public License, either version 1.3 of this license |
| 13 |
%% or (at your option) any later version. The latest version of this |
| 14 |
%% license is in: |
| 15 |
%% |
| 16 |
%% http://www.latex-project.org/lppl.txt |
| 17 |
%% |
| 18 |
%% and version 1.3 or later is part of all distributions of LaTeX version |
| 19 |
%% 2005/12/01 or later. |
| 20 |
%% |
| 21 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 22 |
\NeedsTeXFormat{LaTeX2e}[2018-04-01] |
| 23 |
\ProvidesPackage{extramarks} |
| 24 |
[2025/02/07 v5.2 |
| 25 |
Extra marks for LaTeX] |
| 26 |
% Copyright (C) 1994-2025 by Pieter van Oostrum <[email protected]> |
| 27 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 28 |
\DeclareRelease{v4}{2024/11/30}{extramarks-v4.sty} |
| 29 |
\DeclareCurrentRelease{v5}{2025/02/07} |
| 30 |
\@ifundefined{NewMarkClass} |
| 31 |
{\PackageWarningNoLine{extramarks}{% |
| 32 |
**************************************************\MessageBreak |
| 33 |
Your LaTeX installation is too old for extramarks version 5.\MessageBreak |
| 34 |
We will fallback to extramarks version 4 now.\MessageBreak |
| 35 |
Please note that some commands will not be available,\MessageBreak |
| 36 |
and that the functionality may be slightly different.\MessageBreak |
| 37 |
You are advised to update your LaTeX installation.\MessageBreak |
| 38 |
**************************************************} |
| 39 |
\RequirePackage{extramarks-v4}\endinput}{} |
| 40 |
\AtBeginDocument{% |
| 41 |
\IfPackageLoadedT{multicol}% |
| 42 |
{\IfPackageAtLeastF{multicol}{2024-11-21}{% |
| 43 |
\PackageWarningNoLine{extramarks}{% |
| 44 |
You are using package `extramarks' with a version\MessageBreak |
| 45 |
of `multicol' that is too old. The new version\MessageBreak |
| 46 |
of `multicol' will be released on June 1, 2025.\MessageBreak |
| 47 |
We will fallback to extramarks version 4 now.}% |
| 48 |
\let\extramarks\undefined |
| 49 |
\RequirePackage{extramarks-v4} |
| 50 |
}% |
| 51 |
}% |
| 52 |
} |
| 53 |
\ifx\@mkboth\@gobbletwo\else\def\@mkboth{\protect\markboth}\fi |
| 54 |
\NewMarkClass{extramarks-left} |
| 55 |
\NewMarkClass{extramarks-right} |
| 56 |
\newcommand\extramarks[2]{% |
| 57 |
\InsertMark{extramarks-left}{#1}% |
| 58 |
\InsertMark{extramarks-right}{#2}} |
| 59 |
\newcommand\extramarksleft[1]{% |
| 60 |
\InsertMark{extramarks-left}{#1}} |
| 61 |
\newcommand\extramarksright[1]{% |
| 62 |
\InsertMark{extramarks-right}{#1}} |
| 63 |
\newcommand\firstleftmark{\FirstMark{2e-left}} |
| 64 |
\newcommand\lastrightmark{\LastMark{2e-right}} |
| 65 |
\newcommand\firstrightmark{\rightmark} |
| 66 |
\let\firstrightmark \rightmark |
| 67 |
\newcommand\lastleftmark{\leftmark} |
| 68 |
\let\lastleftmark \leftmark |
| 69 |
\newcommand\firstleftxmark{\FirstMark{extramarks-left}} |
| 70 |
\newcommand\lastrightxmark{\LastMark{extramarks-right}} |
| 71 |
\newcommand\firstrightxmark{\FirstMark{extramarks-right}} |
| 72 |
\newcommand\topleftxmark{\TopMark{extramarks-left}} |
| 73 |
\newcommand\toprightxmark{\TopMark{extramarks-right}} |
| 74 |
\newcommand\lastleftxmark{\LastMark{extramarks-left}} |
| 75 |
\newcommand\firstxmark{\firstleftxmark} |
| 76 |
\let\firstxmark\firstleftxmark |
| 77 |
\newcommand\lastxmark{\lastrightxmark} |
| 78 |
\let\lastxmark\lastrightxmark |
| 79 |
\newcommand\topxmark{\topleftxmark} |
| 80 |
\let\topxmark\topleftxmark |
| 81 |
\endinput |
| 82 |
%% |
| 83 |
%% End of file `extramarks.sty'. |