File: geometry.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 (63 lines) | stat: -rw-r--r-- 2,437 bytes parent folder | download | duplicates (6)
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
# -*- mode: Perl -*-
# /=====================================================================\ #
# |  geometry                                                           | #
# | 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 the arXMLiv group for initial implementation              | #
# |    http://arxmliv.kwarc.info/                                       | #
# | 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;

RequirePackage('keyval');
RequirePackage('ifpdf');
RequirePackage('ifvtex');
RequirePackage('ifxetex');

# Do I need to mess with options, since they are somewhat complex,
# many take values, including lists of values
# AND, in the end, they're all ignored!
# foreach my $option (qw(
#   paper papername
#   a0paper a1paper a2paper a3paper a4paper a5paper a6paper
#   b0paper b1paper b2paper b3paper b4paper b5paper b6paper
#   letterpaper executivepaper legalpaper
#   screen
#   paperwidth paperheight papersize
#   landscape portrait
#
# ... ETC, ETC
#   twosideshift includemp
#   nohead nofoot noheadfoot
# )){
#   DeclareOption($option, undef); }
# Note that probably the options should be put into Gm keyval set.

# \geometry{geometry keyvals}
DefMacro('\geometry{}', '');

# \newgeometry{geometry keyvals}
DefMacro('\newgeometry{}', '');

# \restoregeometry
DefMacro('\restoregeometry', '');

# \savegeometry{geometryname}  ; saves current geometry under the given name
DefMacro('\savegeometry{}', '');

# \loadgeometry{geometryname}  ; restores the geometry to the named one.
DefMacro('\loadgeometry{}', '');

#======================================================================

1;