Path: utzoo!utgpu!attcan!uunet!lll-winken!ames!ncar!unmvax!tut.cis.ohio-state.edu!osu-cis!att!ihlpf!crocker From: crocker@ihlpf.ATT.COM (Crocker) Newsgroups: comp.text Subject: Re: Need to change table of contents page numbering in MM Message-ID: <7154@ihlpf.ATT.COM> Date: 6 Jan 89 19:01:47 GMT References: <1104@houxs.ATT.COM> Reply-To: crocker@ihlpf.UUCP (55236-Crocker,R.T.) Organization: AT&T Bell Laboratories - Naperville, Illinois Lines: 74 I use the following macro to start a new appendix. .nr aP 0 .af aP I .de AP .nr aP +1 .nr p 1 1 .PH "''- \\\\\\\\nP -''" .SK .PH "''- \\\\\\\\nP -'\\fRAppendix \\n(aP \- \\\\\\\\n+p\\fP'" .tl ''\\fBAppendix \\n(aP \- \\$1\\fP'' .am >C .)T 1 0 "" "Appendix \\n(aP \- \\$1" \\nP \\.. .sp 2 .. I use it as follows: .aP "Appendix title" The first page of the appendix looks like: - 14 - Appendix I - 1 Appendix I - Appendix title ... The next page looks like: - 15 - Appendix I - 2 ... What shows up in the table of contents is ... 9. Conclusions . . . . . . . . . 13 Appendix I - Appendix title . . 14 I prefer the above numbering scheme to the one proposed in the base note since it gives some notion of the relative position of the various appendices. I'm sure that appendix A starts at page A-1, but that doesn't give me much of a clue as to where to find it relative to the other appendices, nor does it give a hint as to the size of appendix A. If, however, you still want to have it come out at A-1 (or in my case I-1), you need to use the following macro definition: .nr aP 0 .af aP A .de AP .nr aP +1 .nr p 1 1 .PH "''- \\\\\\\\nP -''" .SK .PH "''- \\\\\\\\nP -'\\fRAppendix \\n(aP \- \\\\\\\\n+p\\fP'" .tl ''\\fBAppendix \\n(aP \- \\$1\\fP'' .am >C .)T 1 0 "" "Appendix \\n(aP \- \\$1" \\n(aP-1 \\.. .sp 2 .. I'm pretty sure that this will work. This leaves the sequential page numbering on the pages. Change the .PH lines to remove that if you don't want it. Ron Crocker | AT&T Bell Laboratories | Affiliation given for identification Naperville, IL 60566 | purposes only. (312) 416-5262 |