Added new variant classes and started work on RF71 installation manual
This commit is contained in:
27
decv2.cls
Normal file
27
decv2.cls
Normal file
@@ -0,0 +1,27 @@
|
||||
\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}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user