Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 5cb44f958be820360da2b335bb6384464b855f94 (plain) (blame)
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
80
\documentclass[titlepage]{article}
\usepackage{import}
\usepackage{graphicx}
\usepackage{xr}
\usepackage{hyperref}
\IfFileExists{../doc/userinputs.tex}{\subimport{../doc/}{userinputs.tex}}{} %hook for conditional user-specific inputs, includes, macros, ... 
\usepackage[a4paper,text={160mm,255mm},centering,headsep=5mm,footskip=10mm]{geometry}
\usepackage{nonfloat}
\parindent 0pt
\makeatletter
\newcommand\level[1]{%
   \ifcase#1\relax\expandafter\chapter\or
     \expandafter\section\or
     \expandafter\subsection\or
     \expandafter\subsubsection\else
     \def\next{\@level{#1}}\expandafter\next
   \fi}

\newcommand{\@level}[1]{%
\@startsection{level#1}
     {#1}
     {\z@}%
     {-3.25ex\@plus -1ex \@minus -.2ex}%
     {1.5ex \@plus .2ex}%
     {\normalfont\normalsize\bfseries}}

\newdimen\@leveldim
 \newdimen\@dotsdim
 {\normalfont\normalsize
  \sbox\z@{0}\global\@leveldim=\wd\z@
  \sbox\z@{.}\global\@dotsdim=\wd\z@
 }  
\newcounter{level4}[subsubsection]
 \@namedef{thelevel4}{\thesubsubsection.\arabic{level4}}
 \@namedef{level4mark}#1{}
 \def\l@section{\@dottedtocline{1}{0pt}{\dimexpr\@leveldim*4+\@dotsdim*1+6pt\relax}}
 \def\l@subsection{\@dottedtocline{2}{0pt}{\dimexpr\@leveldim*5+\@dotsdim*2+6pt\relax}}
 \def\l@subsubsection{\@dottedtocline{3}{0pt}{\dimexpr\@leveldim*6+\@dotsdim*3+6pt\relax}}
 \@namedef{l@level4}{\@dottedtocline{4}{0pt}{\dimexpr\@leveldim*7+\@dotsdim*4+6pt\relax}}

\count@=4
 \def\@ncp#1{\number\numexpr\count@+#1\relax}
 \loop\ifnum\count@<100
   \begingroup\edef\x{\endgroup
     \noexpand\newcounter{level\@ncp{1}}[level\number\count@]
     \noexpand\@namedef{thelevel\@ncp{1}}{%
       \noexpand\@nameuse{thelevel\@ncp{0}}.\noexpand\arabic{level\@ncp{0}}}
     \noexpand\@namedef{level\@ncp{1}mark}####1{}%
     \noexpand\@namedef{l@level\@ncp{1}}%
       {\noexpand\@dottedtocline{\@ncp{1}}{0pt}{\the\dimexpr\@leveldim*\@ncp{5}+\@dotsdim*\@ncp{0}\relax}}}%
   \x
   \advance\count@\@ne
 \repeat
 \makeatother
 \setcounter{secnumdepth}{100}
 \setcounter{tocdepth}{100}


\title{room.basic.types Model Documentation}
\date{\today}
\author{generated by eTrice}

\begin{document}

\pagestyle{plain}
\maketitle
\tableofcontents

\newpage
\listoffigures
\newpage
\section{Model Description}







\end{document}

Back to the top