summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hrlatex/fsbispit.cls
blob: b5f0fb948e87c7ea72022dda82ce33d846eb3577 (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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{fsbispit}[2010/04/09 Marcelix za FSB]
\LoadClassWithOptions{article}

\RequirePackage[%
a4paper,%
left=2.2cm,%
top=2.15cm,%
right=1.6cm,
bottom=2cm%
%,showframe
]{geometry}




\RequirePackage{fsbmath} % fsbmath poziva hrlatex.sty
% 
% \ProcessOptions

\RequirePackage{txfonts}

\ProcessOptions*







\newcommand{\novirok}{
    \newpage
    \setcounter{zad}{0}
    \malititle
}





\pagestyle{plain}



\newcommand{\malititle}{
    \maketitle
    \section*{}
    \addcontentsline{toc}{subsubsection}{\@date}
}


\renewcommand{\maketitle}{%
   %\addcontentsline{toc}{subsection}{\@date}
    \thispagestyle{empty}
    \let\footnote\thanks

    \vskip 1.5em
    \noindent
    {\Large \textsf{\textbf{\@grupa}}}
     \\[-5ex]
    \parbox[t][][c]{\textwidth}{
        \Large\centering
        \textbf{
            \textsf{
                \MakeUppercase\@title}
            }
        } %parbox

    \begin{center}
        \textsf{(\@date)}
    \end{center}

    \vskip 1em
}                 %maketitle


\newcommand{\printtitle}{\@title}




%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%5555




\let\@grupa\empty
\newcommand{\grupa}[1]{\def\@grupa{#1}}



%%%%%
%
% obicni title

\newcommand{\makeheadertitle}{%
     \let\footnote\thanks

    \vskip 1.5em
    \noindent
    {\Large \textsf{\textbf{\@grupa}}}
     \\[-5ex]
    \parbox[t][][c]{\textwidth}{
        \Large\centering
        \textbf{
            \textsf{
                \MakeUppercase\@title}
            }
        } %parbox

    \begin{center}
        \textsf{(\@date)}
    \end{center}

    \vskip 1em
}                 %maketitle

\definecolor{shadecolor}{rgb}{0.8,0.85,0.95}



%%%============================
% trik za optional argument...
% Treba napraviti par \tcmd i \@tcmd komandi. \@dblarg pomaze da ako [#1] nije pozvan nego samo jedan argument, default
%          #1 <-  #2
%

\def\tcmd{\@dblarg{\@tcmd}}

\long\def\@tcmd[#1]#2{%
#1, #2
}
%
%===========================