diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /language/croatian/hrlatex/fsbispit.cls |
Initial commit
Diffstat (limited to 'language/croatian/hrlatex/fsbispit.cls')
-rw-r--r-- | language/croatian/hrlatex/fsbispit.cls | 134 |
1 files changed, 134 insertions, 0 deletions
diff --git a/language/croatian/hrlatex/fsbispit.cls b/language/croatian/hrlatex/fsbispit.cls new file mode 100644 index 0000000000..b5f0fb948e --- /dev/null +++ b/language/croatian/hrlatex/fsbispit.cls @@ -0,0 +1,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 +} +% +%===========================
\ No newline at end of file |