Merge overleaf-2021-05-18-1544 into main

This commit is contained in:
Joost van den Born authored and GitHub committed 2021-05-18 17:44:13 +02:00
commit 26e8ec22d6
3 files changed
+40 -12

No files matched your search

+2
View File
@@ -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}
+7 -4
View File
@@ -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.}
+31 -8
View File
@@ -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