blob: 2a9b09061362bef254be9757bfcaa2ee4d3c3a53 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
%% See file 'romanbarpagenumber.dtx' for copyright and license.
\NeedsTeXFormat{LaTeX2e}[1998/12/01]
\ProvidesPackage{romanbarpagenumber}
[2015/02/06 v1.0 Use romanbar for Roman pagenumbers]
\RequirePackage{kvoptions}
\RequirePackage{xifthen}
\RequirePackage{romanbar}
\AtBeginDocument{%
\@ifpackageloaded{hyperref}{%
\pdfstringdefDisableCommands{\let\Roman@bar\@firstofone}
}{}
}
\let\romanbarpagenumber@pagenumbering\pagenumbering\relax%
\renewcommand{\pagenumbering}[1]{%
\romanbarpagenumber@pagenumbering{#1}
\ifthenelse{\equal{#1}{Roman}}{%
\renewcommand*{\thepage}{\Roman@bar{\Roman{page}}}
}{}
}
\endinput
%%
%% End of file `romanbarpagenumber.sty'.
|