summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/srbook-mem/srbook-mem.sty
blob: 81e805bd12da78ec9c65ccfb66a684faeca63386 (plain)
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

\ProvidesPackage{srbook-mem}

\def\bookname{Knjiga} 
\renewcommand*{\thebook}{\ifcase\value{book}\or Prva\or Druga\or 
 Tre\'{c}a\or \v{C}evrta\or Peta\or \v{S}esta\or Sedma\or Osma\or
 Deveta\or Deseta
\fi\space}

\renewcommand*{\thepart}{\ifcase\value{part}\or Prvi\or Drugi\or 
 Tre\'{c}i\or \v{C}evrti\or Peti\or \v{S}esti\or Sedmi\or Osmi\or
 Deveti\or Deseti\or Jedanaesti\or Dvanaesti\or Trinaesti\or
 \v{C}etrnaesti\or Petnaesti\or \v{S}esnaesti\or Sedamnaesti\or
 Osamnaesti\or Devetnaesti\or Dvadeseti
\fi\space}

\renewcommand*{\thechapter}{\ifcase\value{chapter}\or Prva\or Druga\or 
 Tre\'{c}a\or \v{C}evrta\or Peta\or \v{S}esta\or Sedma\or Osma\or
 Deveta\or Deseta\or Jedanaesta\or Dvanaesta\or Trinaesta\or
 \v{C}etrnaesta\or Petnaesta\or \v{S}esnaesta\or Sedamnaesta\or
 Osamnaesta\or Devetnaesta\or Dvadeseta\or Dvadesetprva\or 
 Dvadesetdruga\or Dvadesettre\'{c}a\or Dvadeset\v{c}etvrta\or
 Dvadesetpeta\or Dvadeset\v{s}esta\or Dvadesetsedma\or Dvadesetosma\or
 Dvadesetdeveta\or Trideseta\or Tridesetprva\or Tridesetdruga\or
 Tridesettre\'{c}a\or Trideset\v{c}etvrta\or Tridesetpeta\or
 Trideset\v{s}esta\or Tridesetsedma\or Tridesetosma\or 
 Tridesetdeveta\or \v{C}etrdeseta 
\fi\space}

\DeclareOption{wilson}{
\renewcommand*{\thechapter}{\ifcase\value{chapter}\or Jedan\\\or Dva\\\or 
 Tri\\\or \v{C}etiri\\\or Pet\\\or \v{S}est\\\or Sedam\\\or Osam\\\or
 Devet\\\or Deset\\\or Jedanaest\\\or Dvanaest\\\or Trinaest\\\or
 \v{C}etrnaest\\\or Petnaest\\\or \v{S}esnaest\\\or Sedamnaest\\\or
 Osamnaest\\\or Devetnaest\\\or Dvadeset\\\or Dvadesetjedan\\\or 
 Dvadesetdva\\\or Dvadesettri\\\or Dvadeset\v{c}etiri\\\or
 Dvadesetpet\\\or Dvadeset\v{s}est\\\or Dvadesetsedam\\\or Dvadesetosam\\\or
 Dvadesetdevet\\\or Trideset\\\or Tridesetjedan\\\or Tridesetdva\\\or
 Tridesettri\\\or Trideset\v{c}etiri\\\or Tridesetpet\\\or
 Trideset\v{s}est\\\or Tridesetsedam\\\or Tridesetosam\\\or 
 Tridesetdevet\\\or \v{C}etrdeset 
\fi\space}
}
%\ProcessOptions\relax
\DeclareOption{light}{\renewcommand*{\booknamefont}{\normalfont\huge}
\renewcommand*{\thebook}{\normalfont \ifcase\value{book}\or Prva\or 
 Druga\or Tre\'{c}a\or \v{C}evrta\or Peta\or \v{S}esta\or Sedma\or 
 Osma\or Deveta\or Deseta
\fi\space}
}
%\ProcessOptions\relax
\DeclareOption{light}{\renewcommand*{\partnamefont}{\normalfont\huge}
\renewcommand{\thepart}{\normalfont \ifcase\value{part}\or 
 Prvi\or Drugi\or Tre\'{c}i\or \v{C}evrti\or Peti\or \v{S}esti\or 
 Sedmi\or Osmi\or Deveti\or Deseti\or Jedanaesti\or Dvanaesti\or 
 Trinaesti\or \v{C}etrnaesti\or Petnaesti\or \v{S}esnaesti\or 
 Sedamnaesti\or Osamnaesti\or Devetnaesti\or Dvadeseti
\fi\space}
}
%\ProcessOptions\relax
\DeclareOption{light}{\renewcommand*{\chapnamefont}{\normalfont\Large}
\renewcommand{\thechapter}{\normalfont\LARGE \ifcase\value{chapter}\or Prva\or Druga\or 
 Tre\'{c}a\or \v{C}evrta\or Peta\or \v{S}esta\or Sedma\or Osma\or
 Deveta\or Deseta\or Jedanaesta\or Dvanaesta\or Trinaesta\or
 \v{C}etrnaesta\or Petnaesta\or \v{S}esnaesta\or Sedamnaesta\or
 Osamnaesta\or Devetnaesta\or Dvadeseta\or Dvadesetprva\or 
 Dvadesetdruga\or Dvadesettre\'{c}a\or Dvadeset\v{c}etvrta\or
 Dvadesetpeta\or Dvadeset\v{s}esta\or Dvadesetsedma\or Dvadesetosma\or
 Dvadesetdeveta\or Trideseta\or Tridesetprva\or Tridesetdruga\or
 Tridesettre\'{c}a\or Trideset\v{c}etvrta\or Tridesetpeta\or
 Trideset\v{s}esta\or Tridesetsedma\or Tridesetosma\or 
 Tridesetdeveta\or \v{C}etrdeseta 
\fi\space}
}
\ProcessOptions\relax