Re: redefining \chapter

2007-02-28 Thread Richard Heck
Looking at book.cls, I find this: [EMAIL PROTECTED] \thispagestyle{plain}% [EMAIL PROTECTED]@ [EMAIL PROTECTED] [EMAIL PROTECTED]@schapter} \secdef is basically checking for a star (it's defined in latex.ltx in

Re: redefining \chapter

2007-02-28 Thread Richard Heck
This works: \documentclass[oneside,english]{book} \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} \usepackage{geometry} \geometry{verbose,letterpaper,tmargin=1in,bmargin=1in,lmargin=1.25in,rmargin=1.25in} \setcounter{secnumdepth}{3} \setcounter{tocdepth}{3}

Re: redefining \chapter

2007-02-28 Thread Paul Tremblay
On Wed, 28 Feb 2007 14:22:36 -0500 Richard Heck [EMAIL PROTECTED] wrote: This works: \documentclass[oneside,english]{book} \usepackage[T1]{fontenc} [snip] You implied that you didn't know a lot about hacking latex! This works for me as well. I'm finding more volume and more expertise

Re: redefining \chapter

2007-02-28 Thread Richard Heck
Looking at book.cls, I find this: [EMAIL PROTECTED] \thispagestyle{plain}% [EMAIL PROTECTED]@ [EMAIL PROTECTED] [EMAIL PROTECTED]@schapter} \secdef is basically checking for a star (it's defined in latex.ltx in

Re: redefining \chapter

2007-02-28 Thread Richard Heck
This works: \documentclass[oneside,english]{book} \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} \usepackage{geometry} \geometry{verbose,letterpaper,tmargin=1in,bmargin=1in,lmargin=1.25in,rmargin=1.25in} \setcounter{secnumdepth}{3} \setcounter{tocdepth}{3}

Re: redefining \chapter

2007-02-28 Thread Paul Tremblay
On Wed, 28 Feb 2007 14:22:36 -0500 Richard Heck [EMAIL PROTECTED] wrote: This works: \documentclass[oneside,english]{book} \usepackage[T1]{fontenc} [snip] You implied that you didn't know a lot about hacking latex! This works for me as well. I'm finding more volume and more expertise

Re: redefining \chapter

2007-02-28 Thread Richard Heck
Looking at book.cls, I find this: [EMAIL PROTECTED] \thispagestyle{plain}% [EMAIL PROTECTED]@ [EMAIL PROTECTED] [EMAIL PROTECTED]@schapter} \secdef is basically checking for a star (it's defined in latex.ltx in

Re: redefining \chapter

2007-02-28 Thread Richard Heck
This works: \documentclass[oneside,english]{book} \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} \usepackage{geometry} \geometry{verbose,letterpaper,tmargin=1in,bmargin=1in,lmargin=1.25in,rmargin=1.25in} \setcounter{secnumdepth}{3} \setcounter{tocdepth}{3}

Re: redefining \chapter

2007-02-28 Thread Paul Tremblay
On Wed, 28 Feb 2007 14:22:36 -0500 Richard Heck <[EMAIL PROTECTED]> wrote: > > This works: > > \documentclass[oneside,english]{book} > \usepackage[T1]{fontenc} > [snip] You implied that you didn't know a lot about hacking latex! This works for me as well. I'm finding more volume and more

redefining \chapter

2007-02-27 Thread Paul Tremblay
Is there a way to redefine \chapter? I am using the package \setspace to doublesapce my document, but I want chapter and section titles to be single spaced. I tried using these two lines: \let\OldChapter=\chapter \renewcommand*{\chapter}[1]{\singlespacing\OldChapter{#1}\doublespacing} The

Re: redefining \chapter

2007-02-27 Thread Richard Heck
I'm not texpert, but I'd have thought the solution had to involve the if-next-char-is-star trick that seems to be used in a lot of the classes to allow a single definition to handle both the starred and non-starred cases. Maybe Helge would know. Helge seems to be a real wiz with these things. rh

Re: redefining \chapter

2007-02-27 Thread Paul Tremblay
On Tue, 27 Feb 2007 21:02:15 -0500 Richard Heck [EMAIL PROTECTED] wrote: I'm not texpert, but I'd have thought the solution had to involve the if-next-char-is-star trick that seems to be used in a lot of the classes to allow a single definition to handle both the starred and non-starred

redefining \chapter

2007-02-27 Thread Paul Tremblay
Is there a way to redefine \chapter? I am using the package \setspace to doublesapce my document, but I want chapter and section titles to be single spaced. I tried using these two lines: \let\OldChapter=\chapter \renewcommand*{\chapter}[1]{\singlespacing\OldChapter{#1}\doublespacing} The

Re: redefining \chapter

2007-02-27 Thread Richard Heck
I'm not texpert, but I'd have thought the solution had to involve the if-next-char-is-star trick that seems to be used in a lot of the classes to allow a single definition to handle both the starred and non-starred cases. Maybe Helge would know. Helge seems to be a real wiz with these things. rh

Re: redefining \chapter

2007-02-27 Thread Paul Tremblay
On Tue, 27 Feb 2007 21:02:15 -0500 Richard Heck [EMAIL PROTECTED] wrote: I'm not texpert, but I'd have thought the solution had to involve the if-next-char-is-star trick that seems to be used in a lot of the classes to allow a single definition to handle both the starred and non-starred

redefining \chapter

2007-02-27 Thread Paul Tremblay
Is there a way to redefine \chapter? I am using the package \setspace to doublesapce my document, but I want chapter and section titles to be single spaced. I tried using these two lines: \let\OldChapter=\chapter \renewcommand*{\chapter}[1]{\singlespacing\OldChapter{#1}\doublespacing} The

Re: redefining \chapter

2007-02-27 Thread Richard Heck
I'm not texpert, but I'd have thought the solution had to involve the if-next-char-is-star trick that seems to be used in a lot of the classes to allow a single definition to handle both the starred and non-starred cases. Maybe Helge would know. Helge seems to be a real wiz with these things. rh

Re: redefining \chapter

2007-02-27 Thread Paul Tremblay
On Tue, 27 Feb 2007 21:02:15 -0500 Richard Heck <[EMAIL PROTECTED]> wrote: > > I'm not texpert, but I'd have thought the solution had to involve the > if-next-char-is-star trick that seems to be used in a lot of the > classes to allow a single definition to handle both the starred and >