| \usepackage{graphicx} |
| \usepackage{hyperref} |
| \usepackage{makeidx} |
| %\usepackage{supertabular} |
| \usepackage{common/geclipse} |
| \evensidemargin=0pt |
| \oddsidemargin=0pt |
| \topmargin=-\headheight \advance\topmargin by -\headsep |
| \textwidth=15.99cm \textheight=22.5cm % normal A4, 1'' margin |
| \setcounter{tocdepth}{2} |
| \setlength{\parindent}{0pt} |
| \setlength{\parskip}{1ex plus 0.5ex minus 0.2ex} |
| \hypersetup{colorlinks} |
| |
| \bibliographystyle{plain} |
| |
| \newcommand{\edgfile}[1]{\texttt{#1}} |
| \newcommand{\edgcommand}[1]{\texttt{\b #1}} |
| |
| % Here are the new commands for writing usecases. Use them with the new usecase-environment |
| \usepackage{colortbl} |
| \newcommand{\ucitem}[2]{\hline \bfseries #1 & #2 \\} |
| \newcommand{\ucname}[1]{\multicolumn{2}{||>{\columncolor{gEclipse}}c||}{\color{white}{\large\scshape\bfseries #1}}\\} |
| \newcommand{\ucidentifier}[1]{\ucitem{Identifier}{#1}} |
| \newcommand{\ucgoals}[1]{\ucitem{Goals in context}{#1}} |
| \newcommand{\ucactors}[1]{\ucitem{Actors}{#1}} |
| \newcommand{\uctriggers}[1]{\ucitem{Triggers}{#1}} |
| \newcommand{\ucincludes}[1]{\ucitem{Included Use Cases}{#1}} |
| \newcommand{\ucextends}[1]{\ucitem{Extends Use Case}{#1}} |
| \newcommand{\ucpreconditions}[1]{\ucitem{Pre-Conditions}{#1}} |
| \newcommand{\ucpostconditions}[1]{\ucitem{Post-Conditions}{#1}} |
| \newcommand{\ucbasicflow}[1]{\ucitem{Basic Flow}{#1}} |
| \newcommand{\ucdeviantflow}[1]{\ucitem{Deviant Flow(s)}{#1}} |
| \newcommand{\ucimportance}[1]{\ucitem{Importance and Frequency}{#1}} |
| \newcommand{\ucadditional}[1]{\ucitem{Additional Requirements}{#1}} |
| \newcommand{\ucref}[2]{\hyperlink{uc:#1}{#2}} |
| \newenvironment{usecase}[3] |
| { |
| \begin{center} |
| \phantomsection |
| \addcontentsline{toc}{subsection}{#2} |
| \tablefirsthead{} |
| \tablehead{\hline \multicolumn{2}{||l||}{\footnotesize \ldots#2 - continued from last |
| page}\\} |
| \tabletail{\hline \multicolumn{2}{||r||}{\footnotesize #2 - continued on |
| next page\ldots}\\ \hline} |
| \tablelasttail{\hline} |
| \begin{supertabular}{||p{4.8cm}|p{9.8cm}||}\hline |
| \ucname{\hypertarget{uc:#3}{#2}} |
| \ucidentifier{#1 - #2} |
| } |
| { |
| \end{supertabular} |
| \end{center} |
| \vspace{0.5cm} |
| } |
| |
| %\usepackage{lastpage} |
| \usepackage{fancyhdr} |
| \usepackage{hyperref} |
| \pagestyle{fancy} |
| |
| \pagestyle{fancy} |
| \voffset=-1in |
| |
| \usepackage{color} |
| \usepackage{colortbl} |
| \definecolor{black}{rgb}{0,0,0} |
| \definecolor{white}{rgb}{1,1,1} |
| \definecolor{gEclipse}{rgb}{0.3,0.3,0.9} |
| %\lhead{\includegraphics[width=30mm]{crossgrid-logo-2}\\[.1mm]} |
| %\rhead{\includegraphics[width=30mm]{ist_logo}} |
| %\lfoot{\small \istnumber} |
| \lfoot{\small \docfilename} |
| \cfoot{\docclassification} |
| %\rfoot{\thepage/\pageref{LastPage}} |
| \rfoot{\thepage} |
| |
| \renewcommand\headrulewidth{0pt} |
| \renewcommand\footrulewidth{0.7pt} |
| \renewcommand{\headheight}{40mm} |