<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.16.1">
</HEAD>
<BODY>
At 14:42 01.10.08, Marcos Ablanque wrote: <BR>
<BR>
>I would like to transform/write some lab protocols, but none of the <BR>
>standard latex document class fits the purpose correctly. Page headers <BR>
>style and information, as well as document structure required in SOP are <BR>
>not the same as for a normal publications.<BR>
>I've been trying/playing with the fancyheaders package and with document <BR>
>class creation, but with very poor results (specially for the document <BR>
>class): I'm just a beginner on the matter, I also searched for any <BR>
>SOP-like latex layout/example already available on the web with no <BR>
>results. <BR>
<BR>
<FONT COLOR="#000000">Strange, congratulations, you posted a real problem. Nobody named </FONT><BR>
<FONT COLOR="#000000">a package or class, neither did my googling help. </FONT><BR>
<BR>
<FONT COLOR="#000000">></FONT>I know now that making a new document class is too ambitious for <BR>
>my skills, so never mind on that. <BR>
<BR>
I wouldn't think so. First \LoadClass{article} or \LoadClass{report}, <BR>
then you define modifications just as in a single document. <BR>
The problem is to find the appropriate modifications, not writing a class. <BR>
<BR>
>Common sense tell me to to work with one of the available classes. <BR>
>However, before investing more time on it I would like to ask if there is <BR>
>something close to SOP like (fulfilling ISO req) already somewhere, and if <BR>
>not, If you could hand me some hints on how to proceed. The specific <BR>
>points I'm stuck with are: <BR>
>- How to make boxed headers (minor proplem, more a wish than a requirement) <BR>
<BR>
\hrule<BR>
\noindent \vrule \hfill <BR>
$\vcenter{\hsize .9\textwidth <BR>
\centering \vskip 5pt<BR>
HEADER \\ STUFF<BR>
\vskip 5pt}$ <BR>
\hfill \vrule <BR>
\hrule <BR>
\vskip 20pt<BR>
<BR>
<FONT COLOR="#000000">This went beyond LaTeX, and I needed a while.</FONT><BR>
<BR>
>- How to ignore/oversee the general page numeration and replace it by <BR>
>specific SOP page numbers. <BR>
<BR>
<FONT COLOR="#000000">\renewcommand{\thepage}{\thesection.\arabic{page}}</FONT><BR>
<FONT COLOR="#000000">\newcommand{\theme}[number of args]{DEF}</FONT><BR>
<BR>
<FONT COLOR="#000000">where DEF does \newpage \setcounter{page}{1} \refstepcounter{section}</FONT><BR>
<FONT COLOR="#000000">and the above boxing</FONT><BR>
<BR>
<FONT COLOR="#000000">... so you type \theme... to start a section whose page numbers start with 1. </FONT><BR>
<BR>
>- Making the headers appear only at the starting of each individual SOP. <BR>
- <BR>
<FONT COLOR="#000000">\pagestyle{plain}</FONT><BR>
<BR>
<FONT COLOR="#000000">Would the above box suffice as a header? You can move it upwards ...</FONT><BR>
<BR>
<FONT COLOR="#000000">I hope you find it out how to modify my suggestions ... </FONT><BR>
<BR>
<FONT COLOR="#000000">... Uwe. </FONT><BR>
<BR>
</BODY>
</HTML>