-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdecv2.cls
More file actions
47 lines (40 loc) · 1.18 KB
/
decv2.cls
File metadata and controls
47 lines (40 loc) · 1.18 KB
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
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{decv2}[2025/03/24 Digital Equipment Corporation]
\LoadClass{dec10}
\renewcommand{\warning}[1]{\par\vspace{1em}{\fontfamily{phv}\selectfont\textbf{WARNING}\\}\textbf{#1}}
\renewcommand{\caution}[1]{\par\vspace{1em}{\fontfamily{phv}\selectfont\textbf{CAUTION}\\}\textbf{#1}}
\renewcommand{\note}[1]{\par\vspace{1em}{\fontfamily{phv}\selectfont\textbf{NOTE}\\}\textbf{#1}}
\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}
}
\renewcommand{\maketitle}{
\pagenumbering{roman}
\raggedright
\thispagestyle{empty}
\vspace*{10em}
{\fontfamily{phv}\selectfont
\huge
\textbf{\@product}\\
\textbf{\@title}\par
\vspace{20pt}
\normalsize
Order Number \@ordernumber\par
\vspace{30em}
\textbf{\@author}\\
\textbf{\@address}
}
\newpage
\boilerplate
}