From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Mon, 2 Sep 2019 13:46:59 +0900
Subject: Initial commit

---
 macros/latex/contrib/calendar/margins.sty | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 macros/latex/contrib/calendar/margins.sty

(limited to 'macros/latex/contrib/calendar/margins.sty')

diff --git a/macros/latex/contrib/calendar/margins.sty b/macros/latex/contrib/calendar/margins.sty
new file mode 100644
index 0000000000..26888f3cd6
--- /dev/null
+++ b/macros/latex/contrib/calendar/margins.sty
@@ -0,0 +1,25 @@
+\NeedsTeXFormat{LaTeX2e}[1995/06/01]
+\ProvidesPackage{margins}
+          [1997/11/07 Simple margin control (Frank Bennett)]
+\def\margins#1{%
+  \headheight=0pt
+  \headsep=0pt
+  \topmargin=-1in
+  \oddsidemargin=-1in
+  \evensidemargin=-1in
+  \advance\topmargin by#1
+  \advance\oddsidemargin by#1
+  \advance\evensidemargin by#1
+  \textwidth=\paperwidth
+  \advance\textwidth by-#1
+  \advance\textwidth by-#1
+  \hsize=\textwidth
+  \textheight=\paperheight
+  \advance\textheight by-#1
+  \advance\textheight by-#1
+  \vsize=\textheight
+  \@colroom=\vsize
+  \@colht=\vsize}
+\endinput
+
+
-- 
cgit v1.2.3

