Skip to content

Commit

Permalink
Create new Installation DACS and Hardware Check Procedure
Browse files Browse the repository at this point in the history
  • Loading branch information
janmenti committed Nov 8, 2024
1 parent d9de53d commit d973de1
Show file tree
Hide file tree
Showing 8 changed files with 565 additions and 26 deletions.
92 changes: 92 additions & 0 deletions src/dacs/installation-dacs/main.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
% filename: HEP_OP_DACS_Installation

\documentclass{article}

\input{../../common/lib/header}

% Define a counter for the item numbers
\newcounter{rowCounter}
% Initialize counter
\setcounter{rowCounter}{0}

\newcounter{tableCounter}
\setcounter{tableCounter}{0}

% Command for row in checklist
% First argument is amount
% Second argument is description
\newcommand{\checklistItem}[2]{
\checkbox & #1 & #2 \\ \hline
}

% Command for row in procedure list
\newcommand{\procedureItem}[1]{
\stepcounter{rowCounter} % Increment counter
\arabic{tableCounter}.\arabic{rowCounter}
&
\checkbox
&
\begin{minipage}[t]{\linewidth}
#1
\vspace{1mm} % Just slightly add vspace to prevent clipping into table border
\end{minipage}
\\ \hline
}

% Command for row in note list
\newcommand{\noteItem}[1]{
\begin{minipage}[t]{\linewidth}
#1
\vspace{1mm} % Just slightly add vspace to prevent clipping into table border
\end{minipage}
\\ \hline
}


\title{Installation DACS and Hardware Check}
\author{Operating Procedure}
\date{Version: \isodate\today}

\begin{document}

\maketitle

% Set the page style for the title page
\thispagestyle{fancy}

%%%%%% Prefix section
% Change section numbering to A, B, C...
\renewcommand{\thesection}{\Alph{section}}

\section{Operation Description}
\input{sections/operation-description.tex}

\section{Required Documents}
\input{sections/required-documents.tex}

\section{Required Tools}
\input{sections/required-tools.tex}

\section{Required Materials}
\input{sections/required-materials.tex}

\newpage

%%%%%% Main section
% Change section numbering to 1, 2, 3...
\renewcommand{\thesection}{\arabic{section}}

% Reset section counter to start from 1 again
\setcounter{section}{0}

\section{Installation}
\input{sections/installation.tex}

\newpage

%%%%%% Notes
\setcounter{section}{0}
\section*{Notes}
\input{sections/notes.tex}

\end{document}
Loading

0 comments on commit d973de1

Please sign in to comment.