<!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.&nbsp; In 
order to send it to&nbsp;a different destination, I need top right pagination 
and would prefer some bottom footers.&nbsp; If I use \pagestyle{fancy}, 
pagination is bottom center.&nbsp; I have put top right pagination in \rhead 
successfully, but&nbsp;I cannot undo the bottom center pagination.&nbsp; 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).&nbsp; </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=495473022-17032006></SPAN></FONT>&nbsp;</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>&nbsp;</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>%&nbsp;&nbsp;&nbsp; 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>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=495473022-17032006>% includes needed 
for preliminary code<BR>\RequirePackage{ifthen}</SPAN></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=495473022-17032006>% Preliminary 
code<BR>\newcommand{\nih@kk}{~}</SPAN></FONT></DIV>
<DIV>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=495473022-17032006>&nbsp;%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>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=495473022-17032006>% The class we're 
overwriting<BR>\LoadClassWithOptions{article}</SPAN></FONT></DIV>
<DIV>&nbsp;</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>&nbsp;</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>&nbsp;</DIV>
<DIV>% constants<BR>\newcommand{\nih@sillysize}{\scriptsize}</DIV>
<DIV>&nbsp;</DIV>
<DIV>% set the page 
style<BR>\pagestyle{fancy}<BR>\chead{\fancyplain{}{%<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
\ifthenelse{\boolean{nih@blank}}%<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
{}% fi<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
{%<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
{{\sf\scriptsize Principal Investigator/Program 
Director%<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
(Last, First, 
middle):}}%<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
}% esle<BR>&nbsp;&nbsp;&nbsp; 
}<BR>}<BR>\rhead{}<BR>\rhead{\ifthenelse{\boolean{nih@blank}}%<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
{\thepage}% fi<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
{\sf\footnotesize{Page}}% esle<BR>&nbsp;&nbsp;&nbsp; \ {\ \ \ {\sf\thepage}\ \ \ 
}%<BR>}<BR>\lhead{\fancyplain{}{\nih@kk}}<BR>\lfoot{\fancyplain{}{%<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
\ifthenelse{\boolean{nih@blank}}%<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
{}% fi<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
{\sf\footnotesize Mentored Research Scholar Grant\\}% esle<BR>&nbsp;&nbsp;&nbsp; 
}<BR>}<BR>\rfoot{\fancyplain{}%<BR>&nbsp;&nbsp;&nbsp; {\sf\footnotesize{American 
Cancer Society - January 2006}}%<BR>}</DIV>
<DIV>&nbsp;</DIV>
<DIV>% page dimensions (note: assumes 
8.5x11)<BR>\setlength{\oddsidemargin}{31pt}<BR>\renewcommand{\headrulewidth}{0pt}<BR>\renewcommand{\footrulewidth}{0.75pt}</DIV>
<DIV>&nbsp;</DIV>
<DIV>\setlength{\textwidth}{8.5in}<BR>\addtolength{\textheight}{0in} % 0.5in 
margins on both sides<BR>\addtolength{\textwidth}{-1.1in}</DIV>
<DIV>&nbsp;</DIV>
<DIV>\setlength{\oddsidemargin}{-1in}<BR>\addtolength{\oddsidemargin}{0.505in}<BR>\setlength{\evensidemargin}{\oddsidemargin}</DIV>
<DIV>&nbsp;</DIV>
<DIV>\addtolength{\textheight}{1.0in}<BR>\addtolength{\topmargin}{-0.2in}</DIV>
<DIV>&nbsp;</DIV>
<DIV>\renewcommand{\baselinestretch}{.9}</DIV>
<DIV>&nbsp;</DIV>
<DIV>\headwidth=\textwidth</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR></SPAN></FONT>&nbsp;</DIV></BODY></HTML>