HELP with report.sty needed!

HELP with report.sty needed!

Post by Marinos Yannikos » Tue, 26 Jul 1994 16:31:05



(thanks to everyone who replied to my question about figures in LaTeX)

My current problem [:-)] is, that when using the 'report' style with
\pagestyle{headings}, on pages where new chapters begin, the page number
is printed at the bottom instead of the top right corner (as on the other
pages). Is there any way to fix this (is it a good idea to do so at all? I
think it looks ugly if page numbers appear at different positions)?

Thanks,
 Marinos
--
 -------------------------------------------------------------------

 Stud.Ass. (Vertr. U.Neumerkel bis 30.9.94), E185/1 +431 58801/4477
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 
 
 

HELP with report.sty needed!

Post by Ulick Staffo » Wed, 27 Jul 1994 00:54:39




Quote:

>(thanks to everyone who replied to my question about figures in LaTeX)

>My current problem [:-)] is, that when using the 'report' style with
>\pagestyle{headings}, on pages where new chapters begin, the page number
>is printed at the bottom instead of the top right corner (as on the other
>pages). Is there any way to fix this (is it a good idea to do so at all? I
>think it looks ugly if page numbers appear at different positions)?

Look at some real books.  i doubt if you will find any with what you
want - the pagen number on the upper right hand corner of the first page
of a chapter.  You will find some with the numbers consistenetly on the
bottom.  However, the*{myheadings} or whatever happens to coincide
with what I think looks best, my thesis style guidlines (one of the few
I agree with), and the \pagestyle{myheadings} default.  If you want page
numbers consitently on the bottom use \pagstyle{plain}.  
_____________________________________________________________________________
  'There was a  master come unto the earth, | Ulick Stafford,              
     born in the holy land of Indiana,      | Dept of Chemical Engineering,
  in the mystical hills east of Fort Wayne'.| Notre Dame, IN 46556          


 
 
 

HELP with report.sty needed!

Post by Robin Fairbair » Wed, 27 Jul 1994 09:22:15




Quote:>My current problem [:-)] is, that when using the 'report' style with
>\pagestyle{headings}, on pages where new chapters begin, the page number
>is printed at the bottom instead of the top right corner (as on the other
>pages).

Wow!  Shows how often I use report; this is another "article/
maketitle" fantasy.  Here's a little extract from (2.09) rep10.sty:

  \def\chapter{\clearpage
     \thispagestyle{plain}%

  (there is of course more of this...)

\chapter wants to be on a plain page; to discourage it, you have to
say:

  \chapter{blah}
  \thispagestyle{headings}

Quote:>        Is there any way to fix this (is it a good idea to do so at all? I
>think it looks ugly if page numbers appear at different positions)?

You may indeed find that you don't like it thus modified; if that's
the case, try \thispagestyle{empty} -- it's fairly common to have no
decoration of a chapter page.
--

U of Cambridge Computer Lab, Pembroke St, Cambridge  CB2 3QG, UK
Private page: http://www.cl.cam.ac.uk/users/rf/robin.html
 
 
 

HELP with report.sty needed!

Post by Marinos Yannikos » Fri, 29 Jul 1994 20:17:11



: (thanks to everyone who replied to my question about figures in LaTeX)

: My current problem [:-)] is, that when using the 'report' style with
: \pagestyle{headings}, on pages where new chapters begin, the page number
: is printed at the bottom instead of the top right corner (as on the other
: pages). Is there any way to fix this (is it a good idea to do so at all? I
: think it looks ugly if page numbers appear at different positions)?

Thanks to all those who responded. I finally found a way to do exactly
what I wanted, i.e. display the page number at the same position as
is done with \pagestyle{headings}, but without headings on \chapter{}
pages. In case anyone is interested, I put the following 2 definitions
in a .sty file, which I added last to the*style options:






  \def\chapter{\clearpage\thispagestyle{justnumbers}



Quote:}

(sorry about the ugly code, but I basically just did a pure syntactic
transformation without knowing anything about TeX semantics)

-nino

P.S. This doesn't work with twopage.sty.

--
 -------------------------------------------------------------------

 Stud.Ass. (Vertr. U.Neumerkel bis 30.9.94), E185/1 +431 58801/4477
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 
 
 

HELP with report.sty needed!

Post by Robin Fairbair » Fri, 29 Jul 1994 23:29:18





>Thanks to all those who responded. I finally found a way to do exactly
>what I wanted, i.e. display the page number at the same position as
>is done with \pagestyle{headings}, but without headings on \chapter{}
>pages. In case anyone is interested, I put the following 2 definitions
>in a .sty file, which I added last to the*style options:

>[ghastly code omitted]

>(sorry about the ugly code, but I basically just did a pure syntactic
>transformation without knowing anything about TeX semantics)

For this purpose, the same effect could have been achieved by


Which isn't exactly pretty, but there's less of it than you were using
:-)
--

U of Cambridge Computer Lab, Pembroke St, Cambridge  CB2 3QG, UK
Private page: http://www.veryComputer.com/

 
 
 

1. Help with Chapter heading in report.sty

Hi there,

I am using the report.sty style file and do not want

Chapter 1

line to appear in my report.  I still want the chapter heading but not the words "Chapter 1" to appear.

Could someone please advise which line/s to remove/alter in the .sty file so that the "Chapter 1" line does not appear.

Could you please mail your assistance directly to me at


Thanks in advance.

2. Two NIC Cards?

3. LaTeX2e: report.cls and report.sty work differently??

4. Celebrity Troll Dies Laughing

5. minor customization for report.sty and article.sty

6. test

7. Even distribution of floats in report.sty ?

8. The TT's LAN port

9. How to redefine *Chapter* in report.sty?

10. cross-ref in report.sty

11. LaTeX2e vs. report.sty!?!?

12. Adapting report.sty for thesis

13. Problem with report.sty and List of Figures/List of Tables