budd@mist.CS.ORST.EDU (Tim Budd) (12/01/89)
C.E.Chew's calandar is very nice. However it uses a4 format. Our system here seems to be typically american chauvinist and doesn't understand that. I can get it to print by simply removing the a4 from documentstyle options in cal.tex, but then it prints two pages to the month. One page with little calandars of the previous two months and one page with the current month. I suppose there is some merit in that (I can get my children to draw me pretty pictures in the large blank spaces) but I really would prefer to have each month on one page. Is anyone enough of a texpert to tell me how to change it to do that?
rusty@garnet.berkeley.edu (12/02/89)
1. In the \bigmonth macro the 3cm in the line \multicolumn{1}{c|}{Sat}\\ \horizontal}{\iftrue}{3cm}}% controls the height of the days. I bumped it down to 2cm but it could be bigger. 2. It also needs to force a page eject at the end of each month; in the \onepage macro add a \clearpage to the (last) line \centerline{\box0}}% so that it says \centerline{\box0}\clearpage}% 3. For some months, when there is a "widow" day; i.e., the last day of the month is Sunday, it puts that day as the first day of the month (top left square). Does anybody have a fix so that it will leave it as a widow day? 4. Also, there seems to be a bug; with the above changes September 1989 doesn't get the horizontal line under the last 6 days of the month. -- -------------------------------------- rusty c. wright rusty@violet.berkeley.edu ucbvax!violet!rusty
rusty@garnet.berkeley.edu (12/02/89)
I forgot to say that I also diddled some other things: I added \textheight 10in% \topmargin 0in% just after the line \textwidth 8in% Also, in my complaint about September 1989 not having the horizontal line under the last 6 days of the last week, I had deleted the 12pt from the optional arguments to the \documentstyle command. When I put it back in then September came out ok but then March had the problem. -- -------------------------------------- rusty c. wright rusty@violet.berkeley.edu ucbvax!violet!rusty
wong@sun.soe.clarkson.edu (Ping Wah Wong) (12/02/89)
In article <RUSTY.89Dec1143649@garnet.berkeley.edu> rusty@garnet.berkeley.edu writes: >4. Also, there seems to be a bug; with the above changes September >1989 doesn't get the horizontal line under the last 6 days of the >month. I added a line (the underlined one) in the file cal.sty as follows % % Compute the last day in the month. Leave the answer in \lc with % 1=Sunday 7=Saturday. This enumeration differs from \td since % \lc is used later for \cline. % \lc=\ld \advance\lc by\td \divide\lc by7 \multiply\lc by-7 % \advance\lc by\ld \advance\lc by\td% \ifnum\lc<1 \lc=7 \fi ===================== Seems to me it solved the problem. -- ----------------------------------------------- Ping Wah Wong Dept. ECE Clarkson University wong@sun.soe.clarkson.edu