This repository has been archived by the owner on Jun 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.tex
172 lines (154 loc) · 9.4 KB
/
template.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
\documentclass[{{ data.paper }}, 11pt]{article}
\usepackage[table]{xcolor}
\usepackage{graphicx} % Required for inserting images
\graphicspath{ {{- data.graphicspath -}} }
\usepackage{svg}
\svgpath{ {{- data.graphicspath -}} }
\usepackage[utf8]{inputenc}
\usepackage[margin=0.5in,bottom=1.125in]{geometry}
\usepackage{nopageno}
\usepackage{adjustbox}
\usepackage{ragged2e}
\usepackage{multicol}
\usepackage{xltabular}
\usepackage[default]{lato}
\usepackage[T1]{fontenc}
\usepackage{tikz}
\usepackage{fancyhdr}
\usepackage{tikzpagenodes}
\usepackage{amssymb}
\usepackage{pifont}
\usepackage{enumitem}
\newcommand{\pictGhsExplosive}{\includesvg[width=50pt,keepaspectratio,keepaspectratio]{PICT_GHS01_EXPLOSIVE.svg} }
\newcommand{\pictGhsFlammable}{\includesvg[width=50pt,keepaspectratio]{PICT_GHS02_FLAMMABLE.svg} }
\newcommand{\pictGhsOxidizing}{\includesvg[width=50pt,keepaspectratio]{PICT_GHS03_OXIDIZING.svg} }
\newcommand{\pictGhsCompressedGas}{\includesvg[width=50pt,keepaspectratio]{PICT_GHS04_COMPRESSED_GAS.svg} }
\newcommand{\pictGhsCorrosive}{\includesvg[width=50pt,keepaspectratio]{PICT_GHS05_CORROSIVE.svg} }
\newcommand{\pictGhsToxic}{\includesvg[width=50pt,keepaspectratio]{PICT_GHS06_TOXIC.svg} }
\newcommand{\pictGhsHarmful}{\includesvg[width=50pt,keepaspectratio]{PICT_GHS07_HARMFUL.svg} }
\newcommand{\pictGhsHealthHazard}{\includesvg[width=50pt,keepaspectratio]{PICT_GHS08_HEALTH_HAZARD.svg} }
\newcommand{\pictGhsEnvironmentalHazard}{\includesvg[width=50pt,keepaspectratio]{PICT_GHS09_ENVIRONMENTAL_HAZARD.svg} }
\newcommand{\labelConfidentialWide}{\includesvg[height=40pt,keepaspectratio]{confidential-wide.svg} }
\newcommand{\labelProprietaryWide}{\includesvg[height=40pt,keepaspectratio]{proprietary-wide.svg} }
\newcommand{\labelPublicWide}{\includesvg[height=40pt,keepaspectratio]{public-wide.svg} }
\newcommand{\labelSensitiveWide}{\includesvg[height=40pt,keepaspectratio]{sensitive-wide.svg} }
\newcolumntype{L}{>{\RaggedRight} X}
\definecolor{MerckTeal}{HTML}{008080}
\newlist{checklist}{itemize}{2}
\setlist[checklist]{label={\color{MerckTeal}$\square$} }
\newcommand{\done}{\rlap{\color{MerckTeal}$\square$}\ding{55} }
\title{Merck Packing Sheet}
\author{Crucible SDS Software}
\begin{document}
\fancyhf{}
\fancyfoot{
\begin{tikzpicture}[remember picture,overlay]
\node[anchor=south east, inner xsep=0, inner ysep=5] at (current page footer area.south east) {\label{{ data.sensitivity }}Wide};
\end{tikzpicture}
}
\renewcommand{\headrule}{}
\renewcommand{\footrule}{}
\setlength{\headheight}{15pt}
\setlength{\footskip}{55pt}
% Apply the footer style to all pages
\pagestyle{fancy}
\begin{tikzpicture}[remember picture,overlay]
\node[rectangle, fill=MerckTeal, minimum width=\paperwidth, minimum height=60pt, anchor=north west] (header) at (current page.north west) {};
\node[anchor=north east, inner ysep=15pt, inner xsep=35] at (header.north east) {\includesvg[height=30pt,keepaspectratio]{Merck_Logo_Square.svg} };
\node[anchor=south west, inner ysep=15pt, inner xsep=35] (title) at (header.south west) {\textcolor{white}{\Huge\textbf{ {{- data.cover_title -}} } } };
\end{tikzpicture}
\section*{Product Name: {\color{MerckTeal} {{- data.product_name -}} } }
\vspace{-1em}
\section*{Ship To/Destination Country: {\color{MerckTeal} {{- data.destination_country -}} } }
\vspace{-1em}
\section*{Composition/Ingredients}
\vspace{-1.5em}
\rowcolors{1}{gray!25}{white}
\begin{xltabular}{\textwidth}{ {{-data.columns -}} }
\rowcolor{white}
{% for header in data.headers -%}
\textbf{ {{- header -}} } {%- if loop.last -%}\rule{0pt}{2ex}\\{%- else -%}&{%- endif -%}
{%- endfor %}
\hline
{% for row in data.rows %}
{%- for cell in row -%}
{{- cell -}} {%- if loop.last -%}\rule{0pt}{2ex}\\
{% else -%}&{%- endif -%}
{%- endfor -%}
{% endfor %}
\end{xltabular}
\section*{Hazards Disclosure}
\begin{minipage}[t]{0.18\textwidth}
\subsection*{Signal Word}
\vspace{15pt}
{% if data.signal_word %}
{\setlength{\fboxrule}{2.5pt}\fcolorbox{red}{white}{\Large\fontseries{ub}\selectfont{ {{- data.signal_word -}} } } }
{% endif %}
\vspace{15pt}
\end{minipage}
\hfill
\begin{minipage}[t]{0.78\textwidth}
\subsection*{Pictogram(s)}
{% if "PICT_GHS01_EXPLOSIVE" in data.pictograms -%}\pictGhsExplosive{%- endif -%}
{% if "PICT_GHS02_FLAMMABLE" in data.pictograms -%}\pictGhsFlammable{%- endif -%}
{% if "PICT_GHS03_OXIDIZING" in data.pictograms -%}\pictGhsOxidizing{%- endif -%}
{% if "PICT_GHS04_COMPRESSED_GAS" in data.pictograms -%}\pictGhsCompressedGas{%- endif -%}
{% if "PICT_GHS05_CORROSIVE" in data.pictograms -%}\pictGhsCorrosive{%- endif -%}
{% if "PICT_GHS06_TOXIC" in data.pictograms -%}\pictGhsToxic{%- endif -%}
{% if "PICT_GHS07_HARMFUL" in data.pictograms -%}\pictGhsHarmful{%- endif -%}
{% if "PICT_GHS08_HEALTH_HAZARD" in data.pictograms -%}\pictGhsHealthHazard{%- endif -%}
{% if "PICT_GHS09_ENVIRONMENTAL_HAZARD" in data.pictograms -%}\pictGhsEnvironmentalHazard{%- endif -%}
{% if data.pictograms|length > 0 %}{% else %}N/A\\{% endif %}
\end{minipage}
\subsection*{Hazard Statement(s) Overview}
\begin{multicols}{3}\raggedright
\begin{checklist}[noitemsep]
\item{% if "ACUTE_TOXICITY" in data.hazard_statement_overview %}[\done]{% endif %} Acute Toxicity
\item{% if "ASPIRATION_HAZARD" in data.hazard_statement_overview %}[\done]{% endif %} Aspirational Hazard
\item{% if "CARCINOGENICITY" in data.hazard_statement_overview %}[\done]{% endif %} Carcinogencity
\item{% if "EMIT_FLAMMABLE_GASES" in data.hazard_statement_overview %}[\done]{% endif %} Chemicals Which, In Contact With Water, Emit Flammable Gases
\item{% if "COMBUSTIBLE_DUST" in data.hazard_statement_overview %}[\done]{% endif %} Combustible Dust
\item{% if "CORROSIVE_TO_METALS" in data.hazard_statement_overview %}[\done]{% endif %} Corrosive to Metals
\item{% if "EXPLOSIVES" in data.hazard_statement_overview %}[\done]{% endif %} Explosives
\item{% if "FLAMMABLE_AEROSOLS" in data.hazard_statement_overview %}[\done]{% endif %} Flammable Aerosols
\item{% if "FLAMMABLE_LIQUIDS" in data.hazard_statement_overview %}[\done]{% endif %} Flammable Liquids
\item{% if "FLAMMABLE_SOLIDS" in data.hazard_statement_overview %}[\done]{% endif %} Flammable Solids
\item{% if "GASES_UNDER_PRESSURE" in data.hazard_statement_overview %}[\done]{% endif %} Gases Under Pressure
\item{% if "GERM_CELL_MUTAGENICITY" in data.hazard_statement_overview %}[\done]{% endif %} Germ Cell Mutagencity
\item{% if "HAZARDOUS_TO_AQUATIC_ENVIRONMENT" in data.hazard_statement_overview %}[\done]{% endif %} Hazardous to Aquatic Environment
\item{% if "HAZARDOUS_TO_OZONE_LAYER" in data.hazard_statement_overview %}[\done]{% endif %} Hazardous to the Ozone Layer
\item{% if "OXIDIZING_GASES" in data.hazard_statement_overview %}[\done]{% endif %} Oxidizing Gases
\item{% if "OXIDIZING_LIQUIDS" in data.hazard_statement_overview %}[\done]{% endif %} Oxidizing Liquids
\item{% if "OXIDIZING_SOLIDS" in data.hazard_statement_overview %}[\done]{% endif %} Oxidizing Solids
\item{% if "ORGANIC_PEROXIDES" in data.hazard_statement_overview %}[\done]{% endif %} Organic Peroxides
\item{% if "PYROPHORIC_GAS" in data.hazard_statement_overview %}[\done]{% endif %} Pyrophoric Gas
\item{% if "PYROPHORIC_LIQUIDS" in data.hazard_statement_overview %}[\done]{% endif %} Pyrophoric Liquids
\item{% if "PYROPHORIC_SOLID" in data.hazard_statement_overview %}[\done]{% endif %} Pyrophoric Solid
\item{% if "REPRODUCTIVE_TOXICITY" in data.hazard_statement_overview %}[\done]{% endif %} Reproductive Toxicity
\item{% if "RESPIRATORY_OR_SKIN_SENSITIZATION" in data.hazard_statement_overview %}[\done]{% endif %} Respiratory or Skin Sensitization
\item{% if "SELF_HEATING_CHEMICALS" in data.hazard_statement_overview %}[\done]{% endif %} Self-Heating Chemicals
\item{% if "SELF_REACTIVE_CHEMICALS" in data.hazard_statement_overview %}[\done]{% endif %} Self-Reactive Chemicals
\item{% if "SERIOUS_EYE_DAMAGE_IRRITATION" in data.hazard_statement_overview %}[\done]{% endif %} Serious Eye Damage/Eye Irritation
\item{% if "SKIN_CORROSION_IRRITATION" in data.hazard_statement_overview %}[\done]{% endif %} Skin Corrosion/Irritation
\item{% if "SIMPLE_ASPHYXIANT" in data.hazard_statement_overview %}[\done]{% endif %} Simple Asphyxiant
\item{% if "ORGAN_TOXICITY_REPEATED_PROLONGED" in data.hazard_statement_overview %}[\done]{% endif %} Specific Target Organ Toxicity—Repeated or Prolonged Exposure
\item{% if "ORGAN_TOXICITY_SINGLE" in data.hazard_statement_overview %}[\done]{% endif %} Specific Target Organ Toxicity—Single Exposure
\item{% if "OTHER" in data.hazard_statement_overview %}[\done]{% endif %} Other
\item{% if "NOT_APPLICABLE" in data.hazard_statement_overview %}[\done]{% endif %} Not Applicable — Not Hazardous/Not GHS Classified
\end{checklist}
\end{multicols}
\begin{center}
\textbf{\textit{ATTACH CORRESPONDING GHS SAFETY DATA SHEET(S)} }
\end{center}
\vspace{-2em}
\section*{Requester Certification}
I certify that I have personally examined and am familiar with the information submitted in this document and all attachments, and believe the information to be true, accurate and complete. The Safety Data Sheets (SDS) attached are representative of the material requested for shipment and are the most up to date. In instances where a GHS SDS has not bee provided, I have performed a diligent effort to obtain a representative GHS SDS without success.\\
\\
\begin{minipage}[t]{0.7\textwidth}
\textbf{Requestor Signature:} \hrulefill
\end{minipage}
\quad
\begin{minipage}[t]{0.3\textwidth}
\textbf{Date:}\hspace{1em}{{- data.signature_date -}}
\end{minipage}
\end{document}