<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2627" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=495473022-17032006>My current draft
used the below cls file with problems for a pending NIH submission. In
order to send it to a different destination, I need top right pagination
and would prefer some bottom footers. If I use \pagestyle{fancy},
pagination is bottom center. I have put top right pagination in \rhead
successfully, but I cannot undo the bottom center pagination. If I
switch to \pagestyle{headings}, I get top right pagination, but loose my footers
and get a few other conflicts (the top header picks up a section head from a
section where I used to renewcommand to control the title of my
references). </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=495473022-17032006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=495473022-17032006>Does anyone know of
a more flexible pagestyle option or a way of tricking LaTex out of putting a
bottom center page number in?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=495473022-17032006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=495473022-17032006>% vim:tabstop=4
expandtab syntax=tex:<BR>% This is nih.cls by Alan Shields, May 2003<BR>% email:
Alan-Shields2omrf.ouhsc.edu<BR>% Heavily based upon (read: copied almost exactly
from)<BR>% nih.sty by Bruce R. Donald and Matthew L.
Fidler<BR>%<BR>\NeedsTeXFormat{LaTeX2e}<BR>\ProvidesClass{nih}[2003/05/08 NIH
PHS 398 as of January 2003]</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=495473022-17032006>% includes needed
for preliminary code<BR>\RequirePackage{ifthen}</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=495473022-17032006>% Preliminary
code<BR>\newcommand{\nih@kk}{~}</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=495473022-17032006>\newboolean{nih@blank}<BR>\setboolean{nih@blank}{false}%
not strictly necessary, but let's be clear about it</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=495473022-17032006> %Options<BR>\DeclareOption{12pt}{\AtEndOfClass{\RequirePackage{times}}}<BR>\DeclareOption{11pt}{\AtEndOfClass{\RequirePackage{helvet}\renewcommand{\familydefault}{\sfdefault}}}<BR>\DeclareOption{nihblank}{\setboolean{nih@blank}{true}}<BR>\DeclareOption{kk}{\renewcommand{\nih@kk}{\small
KK}}<BR>\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}<BR>\ProcessOptions\relax</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=495473022-17032006>% The class we're
overwriting<BR>\LoadClassWithOptions{article}</SPAN></FONT></DIV>
<DIV> </DIV><FONT face=Arial size=2><SPAN class=495473022-17032006>
<DIV><BR>% Begin
Requirements<BR>\RequirePackage{fullpage}<BR>\RequirePackage{fancyhdr}<BR>\RequirePackage{amsmath}</DIV>
<DIV> </DIV>
<DIV><BR>%%%% More code<BR>% preamble
stuff<BR>\newcommand{\nih@PIname}{Vestigator, Paul
I.}<BR>\newcommand{\piname}[1]{\renewcommand{\nih@PIname}{#1}}</DIV>
<DIV> </DIV>
<DIV>% constants<BR>\newcommand{\nih@sillysize}{\scriptsize}</DIV>
<DIV> </DIV>
<DIV>% set the page
style<BR>\pagestyle{fancy}<BR>\chead{\fancyplain{}{%<BR>
\ifthenelse{\boolean{nih@blank}}%<BR>
{}% fi<BR>
{%<BR>
{{\sf\scriptsize Principal Investigator/Program
Director%<BR>
(Last, First,
middle):}}%<BR>
}% esle<BR>
}<BR>}<BR>\rhead{}<BR>\rhead{\ifthenelse{\boolean{nih@blank}}%<BR>
{\thepage}% fi<BR>
{\sf\footnotesize{Page}}% esle<BR> \ {\ \ \ {\sf\thepage}\ \ \
}%<BR>}<BR>\lhead{\fancyplain{}{\nih@kk}}<BR>\lfoot{\fancyplain{}{%<BR>
\ifthenelse{\boolean{nih@blank}}%<BR>
{}% fi<BR>
{\sf\footnotesize Mentored Research Scholar Grant\\}% esle<BR>
}<BR>}<BR>\rfoot{\fancyplain{}%<BR> {\sf\footnotesize{American
Cancer Society - January 2006}}%<BR>}</DIV>
<DIV> </DIV>
<DIV>% page dimensions (note: assumes
8.5x11)<BR>\setlength{\oddsidemargin}{31pt}<BR>\renewcommand{\headrulewidth}{0pt}<BR>\renewcommand{\footrulewidth}{0.75pt}</DIV>
<DIV> </DIV>
<DIV>\setlength{\textwidth}{8.5in}<BR>\addtolength{\textheight}{0in} % 0.5in
margins on both sides<BR>\addtolength{\textwidth}{-1.1in}</DIV>
<DIV> </DIV>
<DIV>\setlength{\oddsidemargin}{-1in}<BR>\addtolength{\oddsidemargin}{0.505in}<BR>\setlength{\evensidemargin}{\oddsidemargin}</DIV>
<DIV> </DIV>
<DIV>\addtolength{\textheight}{1.0in}<BR>\addtolength{\topmargin}{-0.2in}</DIV>
<DIV> </DIV>
<DIV>\renewcommand{\baselinestretch}{.9}</DIV>
<DIV> </DIV>
<DIV>\headwidth=\textwidth</DIV>
<DIV> </DIV>
<DIV><BR></SPAN></FONT> </DIV></BODY></HTML>