File: vgeneric.tex

package info (click to toggle)
v1 1.17-4
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 5,812 kB
  • ctags: 6,780
  • sloc: cpp: 43,604; ansic: 5,003; makefile: 955; sh: 30
file content (79 lines) | stat: -rw-r--r-- 2,539 bytes parent folder | download
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
%\subsection* {Constructor} %------------------------------------
%\subsection* {Methods to Override} %----------------------------
%\subsection* {Utility Methods} %--------------------------------
%\subsection* {Other Methods} %----------------------------------
%\subsection* {Inherited Methods} %------------------------------
%
%
\documentclass[letterpaper,draft]{book}
% Try to fill up the page!
% This was from another example - we will ignore it for now
\normalsize%\setlength{\voffset}{-.5in}
\setlength{\topmargin}{0in}
\setlength{\oddsidemargin}{1in}
\setlength{\evensidemargin}{.05in}
\setlength{\marginparwidth}{0in}
\addtolength{\textheight}{1in}
\addtolength{\textwidth}{.7in}
% \code is a piece of code
\newcommand{\code}{\texttt}
% \V is V
\newcommand{\V}{\emph{\textbf{V}}}
% special math chars I need: -> ~ ^
\newcommand{\rta}{$\rightarrow$\ }
\newcommand{\tild}{\~{ }}
%\newcommand{\vrbsize}{\small}
\newcommand{\verbfont}{\footnotesize}
\newcommand{\regfont}{\normalfont\normalsize}
% \Class is used to start a new class description at page begin
%----old \newcommand{\Class}[1]{\newpage \markboth{#1}{#1} \section* {#1}}
\newcommand{\Class}[1]{\section {#1}}
% \Meth is for a method
\newcommand{\Meth}[1]{\subsubsection* {#1}}
% \Cmd is for a dialog command
\newcommand{\Cmd}[1]{\subsubsection* {#1}}
% \Param is a parameter description
\newcommand{\Param}[1]{\subparagraph {#1}}
% kill off the figfont
\newcommand{\SetFigFont}[3]{}%
% \Sect is used to set typeface of chapter and section titles
\newcommand{\Sect}[1]{\emph{#1}}
%\Indextt for tt index
\newcommand{\Indextt}[1]{\index{#1@\texttt{#1}}}

% Method environment that allows parameters to be entered with
% the \Param command between the \begin and \end.
\newenvironment{Method}[1]{\Meth{#1}
\begin{description}
\begin{description}}
{\end{description}
\end{description}}

% An environment for a definition
\newenvironment{Def}[1]{\begin{description} \item[#1]}{\end{description}}

\newenvironment{Point}{\begin{itemize} \item }{\end{itemize}}

%\usepackage{verbatim}
%\usepackage{eepic}
%\usepackage{pictex}

\input{html.sty}
%--------
\makeatletter
\def\@evenhead{
	\textbf{\textrm{\thepage \hfill \leftmark}}}
\def\@oddhead{
	\textbf{\textrm{\rightmark \hfill \thepage}}}
\makeatother

\renewcommand{\chaptermark}[1]{\markboth{#1}{#1}}
\renewcommand{\sectionmark}[1]{\markright{\thesection~#1}}

\newfont{\REALLYHUGE}{cminch}
%==========================================================================
\begin{document}

\input{specify.tex}

\end{document}