Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uunet!image.soe.clarkson.edu!wong From: wong@sun.soe.clarkson.edu (Ping Wah Wong) Newsgroups: comp.text Subject: Re: americanizing chew's calandar Message-ID: <1989Dec2.031501.2273@sun.soe.clarkson.edu> Date: 2 Dec 89 03:15:01 GMT References: <14068@orstcs.CS.ORST.EDU> Reply-To: wong@sun.soe.clarkson.edu (Ping Wah Wong) Organization: Clarkson University, Potsdam, NY Lines: 26 In article 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 Brought to you by Super Global Mega Corp .com