diff options
author | Karl Berry <karl@freefriends.org> | 2006-06-21 00:03:30 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-06-21 00:03:30 +0000 |
commit | ce3ea5505463af31d2c9e6dcb3d19b688170124f (patch) | |
tree | 1a63675fbdfe73b609ff816a54f875943de308b8 /Master/texmf-dist/tex/latex/hrlatex | |
parent | 63e65439abe4d48cf9eeb759a0ceffae275b1417 (diff) |
new hrlatex package for croatian
git-svn-id: svn://tug.org/texlive/trunk@1710 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/hrlatex')
-rw-r--r-- | Master/texmf-dist/tex/latex/hrlatex/hrdipl.cls | 85 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/hrlatex/hrlatex.sty | 29 |
2 files changed, 114 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/hrlatex/hrdipl.cls b/Master/texmf-dist/tex/latex/hrlatex/hrdipl.cls new file mode 100644 index 00000000000..33d9cd2b6d1 --- /dev/null +++ b/Master/texmf-dist/tex/latex/hrlatex/hrdipl.cls @@ -0,0 +1,85 @@ +\NeedsTeXFormat{LaTeX2e} +\ProvidesClass{hrdipl}[2006/06/16 v0.2 LaTeX class for graduation thesis at the University of Zagreb] +% University of Zagreb, Croatia +\LoadClass[12pt, a4paper]{book} + +\RequirePackage{hrlatex} % <- hrdipl depends on hrlatex.sty +% +\RequirePackage[ + a4paper, + ]{geometry} % <- hrdipl depends on geometry.sty + + + + + + +% +%==================================== +% + +\renewcommand{\titlepage}{ +\thispagestyle{empty} +\begin{center} + {\Large Sveu\v cili\v ste u Zagrebu \\[5mm] + \@hrImeFakulteta % <- odjel + \null} +\end{center} +\vskip 150pt +\begin{center} + {\LARGE \lineskip .75em + \begin{tabular}[t]{c} \@author % <- autor + \end{tabular}\par} + \vskip 3em +{\huge \@title \par} % <- \@title +\vskip 3em{\Large Diplomski rad} +\end{center} +\par +\vskip 125pt +% +\vfill +\begin{center} +{\large \@date \par} % <- date +\end{center} +% +\newpage +\thispagestyle{empty} +\begin{center} + {\Large Sveu\v cili\v ste u Zagrebu \\[5mm] + \@hrImeFakulteta % <- odjel + \null} +\end{center} +\vskip 150pt +\begin{center} + {\LARGE \lineskip .75em + \begin{tabular}[t]{c} \@author % <- autor + \end{tabular}\par} + \vskip 3em +{\huge {\@title} \par} +\vskip 3em{\Large Diplomski rad} +\end{center} +\par +\vskip 125pt +% +\mbox{} \hfill +\begin{minipage}{7cm} +\Large Voditelj rada: \\ + \@hrVoditeljRada % <- Voditelj rada +\end{minipage} +\vfill + +\begin{center} +{\large \@date \par} % <- date, npr. Zagreb, lipanj 2006. +\end{center} +}% end titlepage + +%-------------------------------------------------------------- +% +% \hrImeFakulteta % defaults to {PMF -- Matemati\v{c}ki odjel} +% \hrImeVoditelja +%-------------------------------------------------------------- + +\def\@hrImeFakulteta{PMF -- Matemati\v{c}ki odjel} +\newcommand{\hrImeFakulteta}[1]{\gdef\@hrImeFakulteta{#1}} +\def\@hrVoditeljRada{Marko Mati\'c} +\newcommand{\hrVoditeljRada}[1]{\gdef\@hrVoditeljRada{#1}} diff --git a/Master/texmf-dist/tex/latex/hrlatex/hrlatex.sty b/Master/texmf-dist/tex/latex/hrlatex/hrlatex.sty new file mode 100644 index 00000000000..fb2698875a9 --- /dev/null +++ b/Master/texmf-dist/tex/latex/hrlatex/hrlatex.sty @@ -0,0 +1,29 @@ +%% +%% This is file `hrlatex.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% hrlatex.dtx (with options: `package') +%% +%% +\NeedsTeXFormat{LaTeX2e}[1999/12/01] +\ProvidesPackage{hrlatex} + [2006/20/06 v0.2 LaTeX Macros for HRLaTeX project] +\RequirePackage[cp1250]{inputenc} +\RequirePackage[T1]{fontenc} +\RequirePackage{tracefnt} +\RequirePackage[croatian]{babel} +\RequirePackage{amsopn} +\DeclareMathOperator{\tg}{tg} +\DeclareMathOperator{\arctg}{arc\,tg} +\DeclareMathOperator{\ctg}{ctg} +\DeclareMathOperator{\arcctg}{arc\,ctg} +\DeclareMathOperator{\sh}{sh} +\DeclareMathOperator{\ch}{ch} +\DeclareMathOperator{\cth}{cth} +\DeclareMathOperator{\tgh}{th} +\let\th\tgh +\endinput +%% +%% End of file `hrlatex.sty'. |