/
codespelunking.sty
56 lines (56 loc) · 1.91 KB
/
codespelunking.sty
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
%%
%% This is file `codespelunking.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% codespelunking.dtx (with options: `package')
%% This is a stripped version fo the original file.
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{codespelunking}
\CustomVerbatimCommand{\class}{Verb}{fontfamily=courier}
\CustomVerbatimCommand{\constant}{Verb}{fontfamily=courier}
\CustomVerbatimCommand{\enum}{Verb}{fontfamily=courier}
\CustomVerbatimCommand{\field}{Verb}{fontfamily=courier}
\CustomVerbatimCommand{\file}{Verb}{fontfamily=helvetica}
\CustomVerbatimCommand{\fullpath}{Verb}{fontfamily=helvetica}
\CustomVerbatimCommand{\function}{Verb}{fontfamily=courier}
\CustomVerbatimCommand{\interface}{Verb}{fontfamily=helvetica}
\CustomVerbatimCommand{\keyword}{Verb}{fontfamily=courier}
\CustomVerbatimCommand{\lbl}{Verb}{fontfamily=courier}
\CustomVerbatimCommand{\macro}{Verb}{fontfamily=courier}
\CustomVerbatimCommand{\method}{Verb}{fontfamily=courier}
\CustomVerbatimCommand{\object}{Verb}{fontfamily=courier}
\CustomVerbatimCommand{\parameter}{Verb}{fontfamily=courier}
\CustomVerbatimCommand{\program}{Verb}{fontfamily=helvetica}
\CustomVerbatimCommand{\struct}{Verb}{fontfamily=courier}
\CustomVerbatimCommand{\subsystem}{Verb}{fontfamily=helvetica}
\CustomVerbatimCommand{\variable}{Verb}{fontfamily=courier}
\newcommand\rtn{%
\texttt}
\newcommand\filertn{%
\texttt}
\newcommand\filelinertn{%
\texttt}
\newenvironment{demo}
{\begin{alltt}\begin{small}}
{\end{small}\end{alltt}}
\newcommand{\vuln}[6]{
%\begin{table}[h!]
\begin{center}
\begin{tabular}{|c|c|}
\hline
Title\\\hline
Impact\\\hline
Date\\\hline
CVE\\\hline
Affected\\\hline
\end{tabular}
%\caption{#1}
\end{center}}
%\end{table}
\newcommand{\ucommand}[1]{
\textbf{\textcolor{magenta}{#1}}}
%% This is the end of the stripped file.
%%
%% End of file `codespelunking.sty'.