Debian Codegraph @

texmf-dist/doc/latex/pst-flags/amm-pst-doc.cls

raw
1 %===============================================================================
2 % Source: <amm-pst-doc.cls>
3 % Remark: LaTeX PSTricks document class by Amit M. Manthanwar
4 % Author: Amit Manohar Manthanwar
5 % Mailer: [email protected]
6 % WebURL: https://manthanwar.github.io
7 % GitHub: https://github.com/manthanwar/PST-Flags
8 % Rights: Copyright (c)2022-23 Amit Manohar Manthanwar
9 %-------------------------------------------------------------------------------
10 % This program can be redistributed and/or modified under the terms
11 % of the LaTeX Project Public License Distributed from CTAN archives
12 % in directory macros/latex/base/lppl.txt or web url
13 % https://www.latex-project.org/lppl.txt
14 %===============================================================================
15 %---------------+---------+----------------------------------------------------
16 % Revision Log | Author | Description
17 %---------------+---------+----------------------------------------------------
18 % 13-Dec-2022 | AMM | Initial Version
19 %---------------+---------+----------------------------------------------------
20 % 25-Dec-2022 | AMM | CTAN Review Updates
21 %---------------+---------+----------------------------------------------------
22 % 09-Jan-2023 | AMM | Removed xcolor from pst-flags.sty
23 %---------------+---------+----------------------------------------------------
24 %---------------+---------+----------------------------------------------------
25 %---------------+---------+----------------------------------------------------
26 %===============================================================================
27 \NeedsTeXFormat{LaTeX2e}
28 \ProvidesClass{amm-pst-doc}[2022/01/09 Amit M. Manthanwar LaTeX Document Class]
29 %-------------------------------------------------------------------------------
30 \LoadClass[oneside,10pt,a4paper]{article}
31 %-------------------------------------------------------------------------------
32 \RequirePackage{graphicx}
33 \RequirePackage[pagebackref,colorlinks=false]{hyperref}
34 %-------------------------------------------------------------------------------
35 \hypersetup{
36 pdfauthor={Amit M. Manthanwar},
37 pdftitle={LaTeX Document},
38 pdfsubject={PSTricks Art by Amit M. Manthanwar},
39 pdfkeywords={LaTeX},
40 pdfproducer={Amit M. Manthanwar using LaTeX},
41 pdfcreator={Amit M. Manthanwar using pdflatex}
42 }
43 %===============================================================================
44 %-------------------------------------------------------------------------------
45 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
46 %|<--- \paperwidth \paperheight --->|%
47 %|<->| \hoffset |%
48 %| | \voffset |%
49 %|___|____________________________ __|%
50 %| |<->| 1in + \oddsidemargin | |%
51 %| |<->| 1in + \evensidemargin | |%
52 %| | |------------------------| |%
53 %| | | 1in + \topmargin | |%
54 %| | |------------------------| |%
55 %| | | HEADER \headheight | |%
56 %| | |------------------------| |%
57 %| | | \headsep | |%
58 %| | |========================| |%
59 %| | | TEXT \topskip | |%
60 %| | | \textheight | |%
61 %| | |<--- \textwidth --->| |%
62 %| | | | |%
63 %|<-1->| | \marginparwidth | |%
64 %| | |2| \marginparsep | |%
65 %| | | | |%
66 %| | |========================| |%
67 %| | | \footskip | |%
68 %| | |------------------------| |%
69 %| | | FOOTER \footheight | |%
70 %| | |------------------------| |%
71 %|___|____________________________|__|%
72 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
73 %-------------------------------------------------------------------------------
74 \paperwidth = 210mm %% 597pt %% = 8.5in
75 \paperheight = 297mm %% 845pt %% = 11in
76 \oddsidemargin = 0mm %% Real leftmargin = 1.0 in
77 \evensidemargin = 0mm %% Real leftmargin = 1.0 in
78 \topmargin = 0mm %% Real topmargin = (140 - 68) / 144 = 0.5in
79 \hoffset = -5.4mm %% offset for printer's left margin
80 \voffset = -25.4mm %% offset for printer's top margin
81 \headheight = 15mm %% Height of the header
82 \headsep = 5mm %% Separation between header and main text
83 \footskip = 5mm %% Separation between footer and main text
84 \textwidth = 170mm %% 432pt = 6in = 152.4mm
85 \textheight = 257mm %% 10in
86 \pdfpagewidth = \paperwidth %% Width of the PDF page to create
87 \pdfpageheight = \paperheight %% Height of the PDF page to create
88 %-------------------------------------------------------------------------------
89 \setlength{\parindent}{0pt}
90 \setlength{\parskip}{0mm}
91 %===============================================================================