Skip to content

Commit

Permalink
Added trailer deinstallation
Browse files Browse the repository at this point in the history
  • Loading branch information
v30matt committed Oct 11, 2024
1 parent 53a9657 commit 42d7872
Show file tree
Hide file tree
Showing 7 changed files with 176 additions and 1 deletion.
92 changes: 92 additions & 0 deletions src/general/trailer-deinstallation/main.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
\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}[2]{
\stepcounter{rowCounter} % Increment counter
\arabic{tableCounter}.\arabic{rowCounter}
&
\checkbox
&
\begin{minipage}[t]{1.2\linewidth}
#1
\vspace{1mm} % Just slightly add vspace to prevent clipping into table border
\end{minipage}
&
\begin{minipage}[t]{0.8\linewidth}
#2
\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{Trailer Deinstallation}
\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 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{Trailer Installation}
\input{sections/trailer-deinstallation.tex}

\newpage

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

\end{document}
30 changes: 30 additions & 0 deletions src/general/trailer-deinstallation/sections/notes.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
% Notes

\rowcolors{1}{notesColor}{notesColor}
\begin{tabularx}{\textwidth}{X}
\hline

\noteItem{}
\noteItem{}
\noteItem{}
\noteItem{}
\noteItem{}
\noteItem{}
\noteItem{}
\noteItem{}
\noteItem{}
\noteItem{}
\noteItem{}
\noteItem{}
\noteItem{}
\noteItem{}
\noteItem{}
\noteItem{}
\noteItem{}
\noteItem{}
\noteItem{}
\noteItem{}
\noteItem{}
\noteItem{.}

\end{tabularx}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Trailer Deinstallation at Test Site.
12 changes: 12 additions & 0 deletions src/general/trailer-deinstallation/sections/required-materials.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
% Table of required materials

\begin{tabularx}{0.9\textwidth}{|>{\columncolor{tableColumnColor}}c|c|X|}
\hline
\rowcolor{tableHeaderColor}
Check & Amount & Description \\ \hline
\checklistItem{1}{Blue bag to store fixation cords, spirafix etc. inside.}
\end{tabularx}

% If no materials required, delete previous lines and uncomment next line
% \textit{none}

13 changes: 13 additions & 0 deletions src/general/trailer-deinstallation/sections/required-tools.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
% Table of required tools

\begin{tabularx}{0.9\textwidth}{|>{\columncolor{tableColumnColor}}c|c|X|}
\hline
\rowcolor{tableHeaderColor}
Check & Amount & Description \\ \hline
\checklistItem{1}{Handkurbel}
\checklistItem{1}{Adjustable Wrench}
\end{tabularx}

% If no tools required, delete previous lines and uncomment next line
% \textit{none}

Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
% Procedure for installation

\stepcounter{tableCounter} % Increment counter
\setcounter{rowCounter}{0} % Reset counter
\begin{tabularx}{\textwidth}{|>{\columncolor{tableColumnColor}}c|>{\columncolor{tableColumnColor}}c|>{\hsize=1.2\hsize}X|>{\hsize=.8\hsize}X|}
\hline
\rowcolor{tableHeaderColor}
ID & Check & Description & Comments \\ \hline

\procedureItem{Untighten the two fixation cords and put them into blue bag}{}

\procedureItem{Screw out the Spirafix, clean them from dirt and put them into blue bag}{}

\procedureItem{Clean the two “Riffleblech” and put them into the blue bag}{}

\procedureItem{Put the Trailer side covers back down}{}

\procedureItem{Put “Trailer Klappen” back up}{}

\procedureItem{Deinstall trailer legs and mount Handkurbel on trailer}{}

\procedureItem{For transportation release trailer brake}{}

\procedureItem{Inform TC}{}


\end{tabularx}
2 changes: 1 addition & 1 deletion src/general/trailer-installation/sections/notes.tex
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
\noteItem{}
\noteItem{}
\noteItem{}
\noteItem{}
\noteItem{.}

\end{tabularx}

0 comments on commit 42d7872

Please sign in to comment.