File: fancyhdr.sty.ltxml

package info (click to toggle)
latexml 0.8.7-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 29,128 kB
  • sloc: xml: 98,982; perl: 29,706; sh: 179; javascript: 28; makefile: 15
file content (81 lines) | stat: -rw-r--r-- 3,343 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# -*- mode: Perl -*-
# /=====================================================================\ #
# | fancyhdr.sty                                                        | #
# | Implementation for LaTeXML                                          | #
# |=====================================================================| #
# | Part of LaTeXML:                                                    | #
# |  Public domain software, produced as part of work done by the       | #
# |  United States Government & not subject to copyright in the US.     | #
# |---------------------------------------------------------------------| #
# | Thanks to Kim Philipp Jablonski <kpjkpjkpjkpjkpjkpj@gmail.com>      | #
# | of the arXMLiv group for initial implementation                     | #
# |    http://arxmliv.kwarc.info/                                       | #
# | Released under the Gnu Public License                               | #
# | Released to the Public Domain                                       | #
# |---------------------------------------------------------------------| #
# | Bruce Miller <bruce.miller@nist.gov>                        #_#     | #
# | http://dlmf.nist.gov/LaTeXML/                              (o o)    | #
# \=========================================================ooo==U==ooo=/ #

package LaTeXML::Package::Pool;
use strict;
use warnings;
use LaTeXML::Package;

######################################################

DefMacroI('\fancyhead', '[]{}', '');
DefMacroI('\fancyfoot', '[]{}', '');
DefMacroI('\fancyhf',   '[]{}', '');

DefMacroI('\fancyheadoffset', '[]{}', '');
DefMacroI('\fancyfootoffset', '[]{}', '');
DefMacroI('\fancyhfoffset',   '[]{}', '');

DefMacroI('\headrulewidth', undef, '0.4pt');
DefMacroI('\footrulewidth', undef, '0pt');
DefMacroI('\headruleskip',  undef, '0pt');                     # since 4.0
DefMacroI('\footruleskip',  undef, '.3\normalbaselineskip');
DefMacroI('\headrule',      undef, '');
DefMacroI('\footrule',      undef, '');
DefRegister('\headwidth' => Dimension(0));                     # maybe need some other value here?

DefMacroI('\fancyheadinit', '{}', '');                         # since 4.0
DefMacroI('\fancyfootinit', '{}', '');                         # since 4.0
DefMacroI('\fancyhfinit',   '{}', '');                         # since 4.0

# not implemented yet: \fancycenter[][]{}{}{}, since 4.0

# always false as LaTeXML does not paginate
DefMacroI('\iffloatpage', '{}{}', '#2');
DefMacroI('\iftopfloat',  '{}{}', '#2');
DefMacroI('\ifbotfloat',  '{}{}', '#2');
DefMacroI('\iffootnote',  '{}{}', '#2');    # since 3.8
# DefConditional('\iffootnote', undef);     # pre-3.8 implementation

DefMacroI('\fancypagestyle', '{}[]{}', '');

# extramarks.sty not implemented, as its commands can only be used in headers and footers

# not defined outside of headers and footers
# DefMacroI('\nouppercase', undef, '');

# deprecated commands
DefMacroI('\lhead', '[]{}', '');
DefMacroI('\chead', '[]{}', '');
DefMacroI('\rhead', '[]{}', '');

DefMacroI('\lfoot', '[]{}', '');
DefMacroI('\cfoot', '[]{}', '');
DefMacroI('\rfoot', '[]{}', '');

DefMacroI('\fancyplain', '{}{}', '');

DefMacroI('\plainheadrulewidth', undef, '0pt');
DefMacroI('\plainfootrulewidth', undef, '0pt');

######################################################

1;

# vim: ft=perl: noexpandtab: