\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{decv2}[2025/03/24 Digital Equipment Corporation]
\LoadClass{dec}

\renewcommand{\warning}[1]{\par\vspace{1em}{\fontfamily{phv}\selectfont\textbf{WARNING}\\}\textbf{#1}\vspace{1em}}

\renewcommand{\caution}[1]{\par\vspace{1em}{\fontfamily{phv}\selectfont\textbf{CAUTION}\\}\textbf{#1}\vspace{1em}}

\renewcommand{\note}[1]{\par\vspace{1em}{\fontfamily{phv}\selectfont\textbf{NOTE}\\}\textbf{#1}\vspace{1em}}
    

\renewcommand{\fig}[3][1.0]{\begin{figure}[H]
\begin{center}
\makebox[#1\textwidth][c]{%
    \StrBefore{#2}{-}[\FigAuthor]
    \IfFileExists{fig/\FigAuthor/#2.png}{%
        \includegraphics[width=#1\textwidth]{fig/\FigAuthor/#2}
    }{
        \textbf{MISSING GRAPHIC #2}
    }
}
\end{center}
\caption{#3}
\end{figure}
\label{figure:\figlabel}
}   

