diff --git a/acronyms.tex b/acronyms.tex index 3ebd82b..60ccee2 100644 --- a/acronyms.tex +++ b/acronyms.tex @@ -163,6 +163,8 @@ This document employs several abbreviations and acronyms to refer concisely to a \acro{OLDB}{Online Database} \acro{OoM}{Order of Magnitude} \acro{OpcUA}{OPC Unified Architecture} + \acro{OPD}{Optical Path Difference} + \acro{OPL}{Optical Path Length} \acro{OSE}{Optical Support Equipment} \acro{OSS}{Observer Support Software} \acro{PA}{Product Assurance} diff --git a/main.tex b/main.tex index 5e852d8..61dd4c2 100644 --- a/main.tex +++ b/main.tex @@ -8,6 +8,7 @@ % -Took inspiration from SRON document % % template (https://personal.sron.nl/~pault/) % % -Update to include references in tables % +% -Addition of a memo format % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -19,9 +20,12 @@ % review - Version ready for review % draft - Adds warning to title page and header that the document is a draft % version. +% memo - minimal document. Removes the title page, change record table, table +% of contents, document number and issue number. It is up to the user +% to leave or remove other sections of the main document. \documentclass[twoside,11pt,a4paper]{article} -\usepackage[draft]{micado} % micado.sty defines the layout of the document. Place +\usepackage[review]{micado} % micado.sty defines the layout of the document. Place % argument within brackets %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -118,12 +122,11 @@ % (ApplicableDocuments.bib) will be printed automatically. % For reference documents, only those documents that are cited in the text are printed. \subsection{Applicable Documents}\label{sec:AD} -The following \ac{AD} of the exact issue contain provisions (statements, instructions, recommendations or requirements) that are ruling over - and implicate provisions in the present document. +\defbibnote{ADnote}{The following \ac{AD} of the exact issue contain provisions (statements, instructions, recommendations or requirements) that are ruling over - and implicate provisions in the present document.} \nocite{*} % This nocite is necessary for printing all applicable documents! \newrefcontext[labelprefix=AD] -% \printbibliography[heading=none, notkeyword={RD}] -\printbibtabular[heading=none, notkeyword={RD}] +\printbibtabular[prenote=ADnote, heading=none, notkeyword={RD}] \subsection{Reference Documents}\label{sec:RD} \defbibnote{RDnote}{The following \ac{RD} contains useful information relevant to the subject of the present document.} diff --git a/micado.sty b/micado.sty index d2cc60f..e4e2e03 100644 --- a/micado.sty +++ b/micado.sty @@ -162,6 +162,7 @@ \newif\if@dmdexternal \newif\if@openright \newif\if@technote +\newif\if@memo \DeclareOption{draft}{\@dmddrafttrue} @@ -170,6 +171,7 @@ \DeclareOption{openright}{\@openrighttrue} \DeclareOption{openany}{\@openrightfalse} \DeclareOption{technote}{\@technotetrue} +\DeclareOption{memo}{\@memotrue} \ProcessOptions \newlength\LogoWidth @@ -230,6 +232,10 @@ \if@technote \def\dmdHeaderTitle{Technical Note - \@dmdTitle} \fi +\if@memo + \def\dmdHeaderTitle{Memo - \@dmdTitle} +\fi + %%%%%%%%%%%%%%%%%%%%%%%%%%%% End experimentation \fancyhead{} @@ -246,14 +252,25 @@ \multirow{4}{7cm}{% \centering{\large \dmdHeaderTitle} % \centering{\large \@dmdTitle} - } & \small Doc:\rule[1ex]{0pt}{1.1ex} & - \hspace*{\fill}\small \@dmdDocId \\ %\cline{3-4} - & & \small Issue:\rule[1ex]{0pt}{1.1ex} & - \hspace*{\fill}\small \@dmdIssue \\ %\cline{3-4} - & & \small Date:\rule[1ex]{0pt}{1.1ex} & - \hspace*{\fill}\small \@dmdDate \\ %\cline{3-4} - & & \small Page: \rule[1ex]{0pt}{1.1ex} & - \hspace*{\fill}\small \thepage\ of \pageref{LastPage}\\ + } & + \if@memo + & \\ + & & \small Date:\rule[1ex]{0pt}{1.1ex} & + \hspace*{\fill}\small \@dmdDate \\ %\cline{3-4} + & & \small Page: \rule[1ex]{0pt}{1.1ex} & + \hspace*{\fill}\small \thepage\ of \pageref{LastPage}\\ + & & & \\ + % \hspace*{\fill}\small Hello there! \\ %\cline{3-4} + \else + \small Doc:\rule[1ex]{0pt}{1.1ex} & + \hspace*{\fill}\small \@dmdDocId \\ %\cline{3-4} + & & \small Issue:\rule[1ex]{0pt}{1.1ex} & + \hspace*{\fill}\small \@dmdIssue \\ %\cline{3-4} + & & \small Date:\rule[1ex]{0pt}{1.1ex} & + \hspace*{\fill}\small \@dmdDate \\ %\cline{3-4} + & & \small Page: \rule[1ex]{0pt}{1.1ex} & + \hspace*{\fill}\small \thepage\ of \pageref{LastPage}\\ + \fi \hline \end{tabular} } @@ -422,3 +439,9 @@ \end{ChangeRecordTable} } \fi + +% A memo does not require a cover page or change record table. Neither does it have a document number +\if@memo + \renewcommand{\dmdmaketitle}{ + } +\fi