JEPL/jepl/templates/template-label-ArcFlash.tex
2025-01-01 14:05:51 -04:00

127 lines
3 KiB
TeX

\documentclass[12pt]{article}
\pagestyle{empty}
%\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usepackage{fourier}
\usepackage{geometry}
\usepackage{anyfontsize}
\usepackage{multicol}
\usepackage[export]{adjustbox}
\usetikzlibrary{calc}
\geometry{%
paperheight=105mm,
paperwidth=160mm,
top=2mm,
bottom=2mm,
right=2mm,
left=2mm,
}
\usepackage{layout}
\setlength{\parindent}{1pt}
\title{\VAR((TITLE))}
\date{\VAR((DATE))}
\author{\VAR((AUTHOR))}
\begin{document}
%% Header Warning Banner %%
\definecolor{warningcolour}{RGB}{\VAR((WARNING_COLOUR))}
% \thispagestyle{empty}
\begin{tikzpicture}[overlay, remember picture]%
\node[]
at ($(current page.north)+(0cm, -13mm)$) {%
\begin{tikzpicture}
\node[rectangle,
draw = white,
text = black,
minimum width = \textwidth,
minimum height = 23mm,
fill = warningcolour] (r) at (0,0)
{%
\fontfamily{phv}\fontsize{36pt}{40pt}\selectfont \textbf{\VAR((WARNING_TEXT))}% This is the warning text
};
\end{tikzpicture}
};
% This is the main message
\node[%
text width=\textwidth,
align=center,
]
at ($(current page.center) + (0cm,18mm)$) {%
\fontfamily{phv}
\fontsize{20pt}{100pt}\selectfont
\textbf{%
Arc Flash and Shock Hazard Present \\
Appropriate PPE Required
}
};
% This is the study Results
\node[text width=\textwidth, align=center]
at ($(current page.center) + (5mm,-7mm)$) {%
\begin{multicols}{2}
\textbf{ARC FLASH PROTECTION} \\
\vspace{3mm}
\begin{tabular}{ l l }
Working Distance & \textbf{\VAR((WORKING_DISTANCE))} \\ % Working Distance
Incident Energy & \textbf{\VAR((INCIDENT_ENERGY)) cal/cm$^2$} \\ % Incident Energy Value
Arc Flash Hazard Boundary & \textbf{\VAR((AF_BOUNDARY))} \\ % Arc Flash Boundary
Energy Level & \textbf{Level \VAR((ENERGY_LEVEL))} \\ % Energy Level
\end{tabular}
\columnbreak
\textbf{SHOCK PROTECTION}\\
\vspace{4mm}
\begin{tabular}{ l l }
Shock Hazard & \textbf{\VAR((VOLTAGE))} \\ % Shock voltage
Limited Approach & \textbf{\VAR((LIMITED_APPROACH))} \\ % Limited Approach boundary
Restricted Approach & \textbf{\VAR((RESTRICTED_APPROACH))} \\ % Restricted Approach boundard
Glove Class & \textbf{\VAR((GLOVE_CLASS))} \\ % Glove Class
\end{tabular}
\end{multicols}
};
% This is the equipment information
\node[text width=0.5\textwidth, align=left]
at ($(current page.west) + (45mm,-40mm)$) {%
\large
Equipment: \textbf{\VAR((EQUIPMENT))} \\
Date: \textbf{\VAR((DATE))} \\
\vspace{2mm}
\scriptsize
Arc flash analysis by \VAR((AUTHOR))
};
% This is the logo
\node[text width=0.5\textwidth, align=right]
at ($(current page.east) + (-40mm,-4cm)$) {%
\includegraphics[width=70mm,left]{jepl/templates/static/logo.png}
};
\end{tikzpicture}
\newpage
\end{document}