1
# -*- CPERL -*-
2
# /=====================================================================\ #
3
# | fancyhdr.sty | #
4
# | Implementation for LaTeXML | #
5
# |=====================================================================| #
6
# | Part of LaTeXML: | #
7
# | Public domain software, produced as part of work done by the | #
8
# | United States Government & not subject to copyright in the US. | #
9
# |---------------------------------------------------------------------| #
10
# | Thanks to Kim Philipp Jablonski <kpjkpjkpjkpjkpjkpj@gmail.com> | #
11
# | of the arXMLiv group for initial implementation | #
12
# | http://arxmliv.kwarc.info/ | #
13
# | Released under the Gnu Public License | #
14
# | Released to the Public Domain | #
15
# |---------------------------------------------------------------------| #
16
# | Bruce Miller <bruce.miller@nist.gov> #_# | #
17
# | http://dlmf.nist.gov/LaTeXML/ (o o) | #
18
# \=========================================================ooo==U==ooo=/ #
19
20
package LaTeXML::Package::Pool;
21
use strict;
22
use warnings;
23
use LaTeXML::Package;
24
25
######################################################
26
27
DefMacroI('\lhead', '{}', '');
28
DefMacroI('\chead', '{}', '');
29
DefMacroI('\rhead', '{}', '');
30
31
DefMacroI('\lfoot', '{}', '');
32
DefMacroI('\cfoot', '{}', '');
33
DefMacroI('\rfoot', '{}', '');
34
35
DefMacroI('\fancyhead', '[]{}', '');
36
DefMacroI('\fancyfoot', '[]{}', '');
37
38
DefMacroI('\fancypagestyle', '{}{}', '');
39
DefMacroI('\fancyhf', '[]', '');
40
41
DefMacroI('\fancyheadoffset', '[]{}', '');
42
DefMacroI('\fancyfootoffset', '[]{}', '');
43
DefMacroI('\fancyhfoffset', '[]{}', '');
44
45
DefMacroI('\iffloatpage', '{}{}', '');
46
DefMacroI('\iftopfloat', '{}{}', '');
47
DefMacroI('\ifbotfloat', '{}{}', '');
48
49
DefConditional('\iffootnote', undef);
50
51
DefMacroI('\headrulewidth', undef, '0.4pt');
52
DefMacroI('\footrulewidth', undef, '0pt');
53
DefMacroI('\plainheadrulewidth', undef, '0pt');
54
DefMacroI('\plainfootrulewidth', undef, '0pt');
55
DefMacroI('\footruleskip', undef, '.3\normalbaselineskip');
56
57
DefRegister('\headwidth' => Dimension(0)); # maybe need some other value here?
58
59
DefMacroI('\headrule', undef, '');
60
DefMacroI('\footrule', undef, '');
61
62
DefMacroI('\nouppercase', undef, '');
63
64
# for compatibility reasons (should not be used anymore)
65
DefMacroI('\fancyplain', '{}{}', '');
66
67
######################################################
68
69
1;
70