diff options
author | Karl Berry <karl@freefriends.org> | 2010-04-27 01:11:09 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-04-27 01:11:09 +0000 |
commit | 27641243bb80c512247076301649db517d4eb35d (patch) | |
tree | 7e31dfac17c36b820f975aba90ca849b33d5bb46 /Master/texmf-dist/tex/latex/hrlatex/fsbispit.cls | |
parent | 2a02b4779d0acc1e6bfd719c6c19e12940617bec (diff) |
hrlatex update (25apr10)
git-svn-id: svn://tug.org/texlive/trunk@18020 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/hrlatex/fsbispit.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/hrlatex/fsbispit.cls | 134 |
1 files changed, 134 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/hrlatex/fsbispit.cls b/Master/texmf-dist/tex/latex/hrlatex/fsbispit.cls new file mode 100644 index 00000000000..b5f0fb948e8 --- /dev/null +++ b/Master/texmf-dist/tex/latex/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 |