doc/RK/preamble.tex
author Walther Neuper <walther.neuper@jku.at>
Tue, 22 Sep 2020 14:33:32 +0200
changeset 5238 d9f9cfd09b0f
parent 3679 0088a28b6e40
permissions -rw-r--r--
pdflatex on old theses

required by old "latex", might have broken little details
wneuper@3679
     1
%chaos rules:
wneuper@3679
     2
wneuper@3679
     3
\usepackage{listings}
wneuper@3679
     4
\usepackage{latexsym}
wneuper@3679
     5
\usepackage{epsfig}
wneuper@3679
     6
\usepackage{makeidx}  % allows for indexgeneration
wneuper@3679
     7
\usepackage{color}
wneuper@3679
     8
\usepackage{eurosym}
wneuper@3679
     9
\usepackage{scrpage2}
wneuper@3679
    10
\usepackage{amsmath,amssymb,amstext}
wneuper@3679
    11
\usepackage{capt-of}
wneuper@3679
    12
\usepackage{mathrsfs}
wneuper@3679
    13
\usepackage{multirow}                   % tall tables
wneuper@3679
    14
\usepackage{amsfonts}                   % Mathematical symbols
wneuper@3679
    15
\usepackage{graphicx}
wneuper@3679
    16
\usepackage{mathpazo}
wneuper@3679
    17
wneuper@3679
    18
walther@5238
    19
%\newif\ifpdf
walther@5238
    20
%\ifx\pdfoutput\undefined
walther@5238
    21
%    \pdffalse           % we are not running PDFLaTeX
walther@5238
    22
%\else
walther@5238
    23
%    \pdfoutput=1        % we are running PDFLaTeX
walther@5238
    24
%    \pdftrue
walther@5238
    25
%\fi
walther@5238
    26
%%----------------------------------------------------------------------
walther@5238
    27
%\ifpdf
wneuper@3679
    28
    \usepackage[pdftex,
wneuper@3679
    29
        colorlinks=false,
wneuper@3679
    30
        pagebackref,
wneuper@3679
    31
        pdfpagemode=None,
wneuper@3679
    32
        bookmarksopen=true]{hyperref}
walther@5238
    33
%\else
walther@5238
    34
%    \usepackage[
walther@5238
    35
%        colorlinks=false,
walther@5238
    36
%        urlcolor=rltblue,               % \href{...}{...}
walther@5238
    37
%        anchorcolor=rltbrightblue,
walther@5238
    38
%        filecolor=rltgreen,             % \href*{...}
walther@5238
    39
%        linkcolor=rltred,               % \ref{...} and \pageref{...}
walther@5238
    40
%        menucolor=webdarkblue,
walther@5238
    41
%        citecolor=webgreen]{hyperref}
walther@5238
    42
%\fi
wneuper@3679
    43
wneuper@3679
    44
wneuper@3679
    45
wneuper@3679
    46
wneuper@3679
    47
\bibliographystyle{alpha}
wneuper@3679
    48
wneuper@3679
    49
%AK macros for labelling and referencing use cases, user requirements etc
wneuper@3679
    50
\newcommand{\preAuth}{AK}
wneuper@3679
    51
\newcommand{\preUC}{\preAuth:UC}
wneuper@3679
    52
\newcommand{\preUR}{\preAuth:UR}
wneuper@3679
    53
\newtheorem{usecase}{UC}[section]
wneuper@3679
    54
\newtheorem{userreq}{UR}[section]
wneuper@3679
    55
\newtheorem{softreq}{SR}[section]
wneuper@3679
    56
\newcommand{\refUC}[1]{UC \ref{\preUC:#1}}
wneuper@3679
    57
\newcommand{\refUR}[1]{UR \ref{\preUR:#1}}
wneuper@3679
    58
\newcommand{\refSR}[1]{SR \ref{#1}}
wneuper@3679
    59
%\newcommand{\UC} below could replace \newtheorem{UC} in common.tex
wneuper@3679
    60
%\newcommand{\UC}[2]{\begin{usecase}\bf#1\label{\preUC:#2}\end{usecase}}
wneuper@3679
    61
%\newcommand{\UR}[2]{\begin{userreq}\bf#1\label{\preUR:#2}\end{userreq}}
wneuper@3679
    62
%...the latter two are already used differently
wneuper@3679
    63
wneuper@3679
    64
%others
wneuper@3679
    65
\def\zB{z.B.}
wneuper@3679
    66
\def\dah{d.h.}
wneuper@3679
    67
%\newcommand {\url}[1]{\tt#1}
wneuper@3679
    68
\lstdefinelanguage{ISACXML}
wneuper@3679
    69
  {morekeywords={NODE,ID,CONTENTREF,NODECONTENT,STRING,STRINGLIST,META,GIVEN,WHERE,FIND,MATHML,ISA,
wneuper@3679
    70
                 RELATE,THEORY,METHODS,EXPLANATIONS,CAS,EVALPRECOND,DESCRIPTION,FORMALIZATION,VARIANT,
wneuper@3679
    71
                 TERMLIST,PROBLEM,METHOD,KEY,SPECIFICATION,HIDE,DETAIL,EXAMPLE},
wneuper@3679
    72
  sensitive=false
wneuper@3679
    73
}
wneuper@3679
    74
wneuper@3679
    75
 \lstset{xleftmargin = 10mm,
wneuper@3679
    76
         framexleftmargin = 10mm,
wneuper@3679
    77
         frame=lines,
wneuper@3679
    78
         emph=[2]{_init,zero_target},
wneuper@3679
    79
         emphstyle=\textit,
wneuper@3679
    80
         numbers=left,
wneuper@3679
    81
         numberstyle=\tiny \color{mygray},
wneuper@3679
    82
         %basicstyle=\small,
wneuper@3679
    83
         basicstyle=\scriptsize,
wneuper@3679
    84
         keywordstyle=\bf\color{blue},
wneuper@3679
    85
         %directivestyle=\color{darkblue},
wneuper@3679
    86
         %indexstyle=\color{red},
wneuper@3679
    87
         commentstyle=\color{darkgreen},
wneuper@3679
    88
         index={6},
wneuper@3679
    89
         escapeinside={(*@}{@*)},
wneuper@3679
    90
         indexstyle=\color{red}
wneuper@3679
    91
         }
wneuper@3679
    92
wneuper@3679
    93
\newcommand {\kommentar}[1]{\marginpar{\begin{flushright}\tiny#1\end{flushright}}}
wneuper@3679
    94
\newcommand {\frage}[1]{
wneuper@3679
    95
  \marginpar{
wneuper@3679
    96
    \begin{tabular}{p{5mm} p{2cm}}
wneuper@3679
    97
        \begin{flushleft}
wneuper@3679
    98
          {\large?} 
wneuper@3679
    99
        \end{flushleft}
wneuper@3679
   100
        &
wneuper@3679
   101
        \begin{flushright}
wneuper@3679
   102
          \tiny #1
wneuper@3679
   103
        \end{flushright}  
wneuper@3679
   104
        \\ 
wneuper@3679
   105
      \end{tabular}
wneuper@3679
   106
    }
wneuper@3679
   107
wneuper@3679
   108
  }
wneuper@3679
   109
\newcommand {\bigquest}{\marginpar{\huge?}}
wneuper@3679
   110
\newcommand {\cnumber}[1]{\put(8,4){\circle{11}}\put(5,1){#1}\hspace{5mm}}
wneuper@3679
   111
wneuper@3679
   112
\def\isac{${\cal I}\mkern-2mu{\cal S}\mkern-5mu{\cal AC}$}
wneuper@3679
   113
\def\sisac{{\small${\cal I}\mkern-2mu{\cal S}\mkern-5mu{\cal AC}$}}
wneuper@3679
   114
\def\see{$\rightarrow$}
wneuper@3679
   115
wneuper@3679
   116
% macro for relating to buttons on the gui
wneuper@3679
   117
\newcommand {\button}[1]{$\langle${\it#1}$\rangle$}
wneuper@3679
   118
\setcounter{totalnumber}{8}
wneuper@3679
   119
\setcounter{topnumber}{5}
wneuper@3679
   120
\setcounter{bottomnumber}{5}
wneuper@3679
   121
wneuper@3679
   122
\renewcommand{\topfraction}{0.99}
wneuper@3679
   123
\renewcommand{\bottomfraction}{0.99}
wneuper@3679
   124
\renewcommand{\textfraction}{0.005}
wneuper@3679
   125
\definecolor{color1}{rgb}{0.5,0.5,1}%fixxme
wneuper@3679
   126
\definecolor{darkgreen}{rgb}{0,0.5,0}
wneuper@3679
   127
\definecolor{darkblue}{rgb}{0,0,.5}
wneuper@3679
   128
\definecolor{lightblue}{rgb}{0.8,0.85,1}
wneuper@3679
   129
\definecolor{mygray}{gray}{.3}
wneuper@3679
   130
wneuper@3679
   131
\definecolor{rltbrightred}{rgb}{1,0,0}
wneuper@3679
   132
\definecolor{rltred}{rgb}{0.75,0,0}
wneuper@3679
   133
\definecolor{rltdarkred}{rgb}{0.5,0,0}
wneuper@3679
   134
%
wneuper@3679
   135
\definecolor{rltbrightgreen}{rgb}{0,0.75,0}
wneuper@3679
   136
\definecolor{rltgreen}{rgb}{0,0.5,0}
wneuper@3679
   137
\definecolor{rltdarkgreen}{rgb}{0,0,0.25}
wneuper@3679
   138
%
wneuper@3679
   139
\definecolor{rltbrightblue}{rgb}{0,0,1}
wneuper@3679
   140
\definecolor{rltblue}{rgb}{0,0,0.75}
wneuper@3679
   141
\definecolor{rltdarkblue}{rgb}{0,0,0.5}
wneuper@3679
   142
wneuper@3679
   143
\definecolor{webred}{rgb}{0.5,.25,0}
wneuper@3679
   144
\definecolor{webblue}{rgb}{0,0,0.75}
wneuper@3679
   145
\definecolor{webgreen}{rgb}{0,0.5,0}
wneuper@3679
   146
wneuper@3679
   147
wneuper@3679
   148
wneuper@3679
   149
\newcommand{\trademark}{${}^{\mbox{\scriptsize\textregistered}}$}
wneuper@3679
   150
wneuper@3679
   151
  \newtheorem{UR}{UR}[section]
wneuper@3679
   152
  \newtheorem{SR}{SR}[section]
wneuper@3679
   153
wneuper@3679
   154
\newcommand{\mredcirc}[1]{{\color{red} \textcircled{\small #1}}}
wneuper@3679
   155
\newcommand{\mcirc}[1]{{\textcircled{\small #1}}}
wneuper@3679
   156
wneuper@3679
   157
wneuper@3679
   158
wneuper@3679
   159
wneuper@3679
   160
wneuper@3679
   161
wneuper@3679
   162
wneuper@3679
   163
wneuper@3679
   164
wneuper@3679
   165
wneuper@3679
   166
wneuper@3679
   167
wneuper@3679
   168
wneuper@3679
   169
wneuper@3679
   170
wneuper@3679
   171
wneuper@3679
   172
wneuper@3679
   173
wneuper@3679
   174
wneuper@3679
   175
wneuper@3679
   176
wneuper@3679
   177
wneuper@3679
   178