Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!usc!apple!sun-barr!lll-winken!ames!uhccux!munnari.oz.au!bruce!cechew From: cechew@bruce.OZ (Earl Chew) Newsgroups: comp.text Subject: LaTeX Calendar - Page Overflows Keywords: LaTeX, calendar Message-ID: <1728@bruce.OZ> Date: 2 Dec 89 11:06:23 GMT Organization: Monash Uni. Computer Science, Australia Lines: 104 I've received some comments about the teeny-weeny months being printed on a separate page to the main month. The problem is to do with the size of the page. Our site uses a4 paper. I suspect that sites in the US, in the main, don't. Below is a copy of a4.sty that I use. I suppose that if you don't have paper as long as a4, you could either reduce the size of the boxes used for each day of the month or perhaps reduce the size of the header or get larger sheets of paper? Not having any American paper here it's a bit hard to solve this problem. Anyone care to send me some? :-) The cross posting to comp.lang.c was a mistake. I blindly used `follow-up' instead of `generate new article'. Earl ------------------------------------------------------------------------------- #! /bin/sh # This is a shell archive. Remove anything before this line, then unpack # it by saving it into a file and typing "sh file". To overwrite existing # files, type "sh file -c". You can also feed this as standard input via # unshar, or by typing "sh 'a4.sty' <<'END_OF_FILE' X% A4 PAGE SIZES X X\typeout {A4 Page Size. July 1988} X X% **************************************** X% * PAGE LAYOUT * X% **************************************** X% X% All margin dimensions measured from a point one inch from top and side X% of page. X X% SIDE MARGINS: X\if@twoside % Values for two-sided printing: X \oddsidemargin 21pt % Left margin on odd-numbered pages. X \evensidemargin 59pt % Left margin on even-numbered pages. X \marginparwidth 85pt % Width of marginal notes. X\else % Values for one-sided printing: X %oddsidemargin 39.5pt % Note that \oddsidemargin = \evensidemargin X %evensidemargin 39.5pt X %marginparwidth 68pt X \oddsidemargin 0.125in X \evensidemargin 0.125in X \marginparwidth 0.75in X\fi X%marginparsep 10pt % Horizontal space between outer margin and X % marginal note X\marginparsep 0.125in X X X% VERTICAL SPACING: X % Top of page: X%topmargin 27pt % Nominal distance from top of page to top of X % box containing running head. X\topmargin -2\baselineskip X%headheight 12pt % Height of box containing running head. X\headheight 1\baselineskip X%headsep 25pt % Space between running head and text. X\headsep 1\baselineskip X% \topskip = 10pt % '\baselineskip' for first line of page. X % Bottom of page: X%footheight 12pt % Height of box containing running foot. X\footheight 2\baselineskip X%footskip 30pt % Distance from baseline of box containing foot X % to baseline of last line of text. X\footskip 3\baselineskip X X X% DIMENSION OF TEXT: X X%textheight 536.5pt % Height of text (including footnotes and figures, X % excluding running head and foot). X\textheight 9.1in X%textwidth 390pt % Width of text line. X\textwidth 6in X % For two-column mode: X%columnsep 10pt % Space between columns X\columnsep 0.25in X\columnseprule 0pt % Width of rule between columns. X X% A \raggedbottom command causes 'ragged bottom' pages: pages set to X% natural height instead of being stretched to exactly \textheight. END_OF_FILE if test 2305 -ne `wc -c <'a4.sty'`; then echo shar: \"'a4.sty'\" unpacked with wrong size! fi # end of 'a4.sty' fi echo shar: End of shell archive. exit 0 ------------------------------------------------------------------------------- -- Earl Chew, Dept of Computer Science, Monash University, Australia 3168 ARPA: cechew%bruce.cs.monash.oz.au@uunet.uu.net ACS : cechew@bruce.oz ---------------------------------------------------------------------- Brought to you by Super Global Mega Corp .com