summaryrefslogtreecommitdiff
path: root/language/croatian/hrlatex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /language/croatian/hrlatex
Initial commit
Diffstat (limited to 'language/croatian/hrlatex')
-rw-r--r--language/croatian/hrlatex/README62
-rw-r--r--language/croatian/hrlatex/fsbispit.cls134
-rw-r--r--language/croatian/hrlatex/fsbmath.sty353
-rw-r--r--language/croatian/hrlatex/hrlatex.dtx175
-rw-r--r--language/croatian/hrlatex/hrlatex.ins58
-rw-r--r--language/croatian/hrlatex/hrlatex.pdfbin0 -> 151366 bytes
-rw-r--r--language/croatian/hrlatex/hrlatex.sty48
-rw-r--r--language/croatian/hrlatex/sample.fsbispit.tex83
-rw-r--r--language/croatian/hrlatex/sample.minimal.cp1250.tex20
-rw-r--r--language/croatian/hrlatex/sample.minimal.latin2.tex19
-rw-r--r--language/croatian/hrlatex/sample.minimal.utf8.tex115
-rw-r--r--language/croatian/hrlatex/sample.prezentacija.tex64
12 files changed, 1131 insertions, 0 deletions
diff --git a/language/croatian/hrlatex/README b/language/croatian/hrlatex/README
new file mode 100644
index 0000000000..41c531c7cb
--- /dev/null
+++ b/language/croatian/hrlatex/README
@@ -0,0 +1,62 @@
+HRLaTeX Package, version 0.23
+
+Author: Marcel Maretic
+
+
+* Copyright
+===========
+
+ Copyright (C) 2010 Marcel Maretic
+
+ This material is subject to the LaTeX Project Public License.
+ See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html
+ for the details of that license.
+
+
+ HRLaTeX consists of the following files:
+
+ ----
+ hrlatex.dtx
+ hrlatex.ins
+ fsbispit.cls
+ fsbmath.sty
+ README
+ sample.fsbispit.tex
+ sample.minimal.cp1250.tex
+ sample.minimal.latin2.tex
+ sample.minimal.utf8.tex
+ sample.prezentacija.tex
+ hrlatex.pdf
+ -------
+
+
+
+
+* Description
+=============
+
+ This package simplifies creation of new documents for (average) croatian user.
+ As an example - a class file fsbispit.cls (exam style for FSB at University
+ of Zagreb) and a sample document are included.
+
+
+
+* Installation
+==============
+
+ To install the package, please follow these steps:
+
+ - Run LaTeX on the file `hrlatex.ins' to create the style file `hrlatex.sty'.
+ - Run LaTeX on the file `hrlatex.dtx' to create the doc file `hrlatex.dvi'.
+ - Install these files anywhere you see fit.
+
+
+
+-------------------------------------------
+ Marcel Maretic
+ Katedra za matematiku
+ Fakultet strojarstva i brodogradnje
+ Ivana Lucica 5
+ 10002 Zagreb
+ Croatia
+ http://www.fsb.hr/matematika/marcel/
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
diff --git a/language/croatian/hrlatex/fsbmath.sty b/language/croatian/hrlatex/fsbmath.sty
new file mode 100644
index 0000000000..5448972028
--- /dev/null
+++ b/language/croatian/hrlatex/fsbmath.sty
@@ -0,0 +1,353 @@
+%
+%
+% Style for FSB Math docs
+%
+%
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{fsbmath}[2010/04/09 v0.31 LaTeX Macros for FSB Math Dept, University of Zagreb]
+
+
+\RequirePackage{amsmath, amsthm, amssymb}
+% \RequirePackage{esvect}
+%\RequirePackage{theorem}
+
+
+
+\RequirePackage[dvips]{graphicx}
+\RequirePackage[default, rjesenja]{optional}
+
+
+\RequirePackage{calc}
+\RequirePackage{ifthen}
+
+\RequirePackage[enc=cp1250]{hrlatex}
+
+
+\RequirePackage{framed}
+% \RequirePackage{picins}
+\RequirePackage{multicol}
+
+
+
+\RequirePackage{enumerate}
+\RequirePackage{paralist}
+
+
+\RequirePackage{xcolor}
+
+
+
+% \RequirePackage{pst-plot}
+% \RequirePackage{pstricks-add}
+% \RequirePackage{pstricks, pst-node, pst-tree}
+
+\RequirePackage{cancel}
+
+
+% \RequirePackage{txfonts}
+
+\RequirePackage[%
+ linkcolor=blue,%
+ urlcolor=blue,%
+ colorlinks,%
+% breaklinks,%
+]{hyperref}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\newcommand{\R}{\mathbb{R}}
+\newcommand{\Q}{\mathbb{Q}}
+\newcommand{\Z}{\mathbb{Z}}
+\newcommand{\N}{\mathbb{N}}
+\newcommand{\C}{\mathbb{C}}
+\newcommand{\D}{\displaystyle}
+\newcommand{\F}{\mathbf{F}}
+
+\renewcommand{\Re}{\mathop{\textrm{Re}}}
+\renewcommand{\Im}{\mathop{\textrm{Im}}}
+\newcommand{\Ln}{\mathop{\textrm{Ln}}}
+\newcommand{\Arg}{\mathop{\textrm{Arg}}}
+% \newcommand{\ch}{\mathop{\textrm{ch}}}
+% \newcommand{\sh}{\mathop{\textrm{sh}}}
+
+
+
+\newcommand{\hpm}{\ensuremath{\hphantom{-}}}
+
+
+\newcommand{\eqdef}{\ensuremath{\stackrel{\mathrm{def}}{=}}}
+
+% \DeclareMathOperator{\arccos}{arc cos}
+
+
+
+\ProcessOptions*
+
+%>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
+% fsbmath.sty macros
+%>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
+
+
+\newcommand{\ispitFooter}{\noindent\emph{\textbf{Rezultati ispita}: sljede\'ci radni dan u 13:00 sati}}
+
+
+\let\@fsbZadatakBodovi\empty
+\def\bodovi#1{%
+% PROVJERI jel #1 prazan string:
+\ifthenelse{\equal{#1}{}}%
+{\def\@fsbZadatakBodovi{}}%
+{\def\@fsbZadatakBodovi{(#1)}}%
+}
+
+\newcommand{\fsbShowBodovi}{\medskip\hfill \small \@fsbZadatakBodovi\relax}
+
+
+\newenvironment{zadaca}[1]
+{
+ \newpage
+ \pagestyle{marcelstyleb}
+ \setcounter{zad}{0}
+
+ \phantomsection
+ \addcontentsline{toc}{subsubsection}{#1}
+
+ \date{#1}
+ \makeheadertitle
+}
+{
+ \pagebreak
+}
+
+\newenvironment{ispit}[1]
+{
+ \newpage
+ \thispagestyle{empty}
+
+ \setcounter{zad}{0}
+ \date{#1}
+
+ \phantomsection
+ \addcontentsline{toc}{subsubsection}{#1}
+
+ \makeheadertitle
+}
+{
+ \vfill
+ \ispitFooter
+% \pagebreak
+}
+
+
+
+\newenvironment{kolokvij}[2]
+{
+ % #1 -> datum
+ % #2 -> grupa (A ili B)
+
+ \newpage
+ \pagestyle{empty}
+ \setcounter{zad}{0}
+ \date{#1}
+ \grupa{#2}
+
+ \phantomsection
+ \addcontentsline{toc}{subsubsection}{#1\ --\ #2}
+
+ \makeheadertitle
+}
+{
+% \pagebreak
+}
+
+
+
+%--------------------------------------------------------
+%
+% section styles
+%
+%
+\renewcommand\section{\@startsection {section}{1}{\z@}%
+ {-3.5ex \@plus -1ex \@minus -.2ex}%
+ {2.3ex \@plus.2ex}%
+ {\normalfont\Large\bfseries\sffamily}}
+
+\renewcommand\subsection{\@startsection{subsection}{2}{\z@}%
+ {-3.25ex\@plus -1ex \@minus -.2ex}%
+ {1.5ex \@plus .2ex}%
+ {\normalfont\large\bfseries\sffamily}}
+
+\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
+ {-3.25ex\@plus -1ex \@minus -.2ex}%
+ {1.5ex \@plus .2ex}%
+ {\normalfont\bfseries\sffamily}}
+
+\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
+ {3.25ex \@plus1ex \@minus.2ex}%
+ {-1em}%
+ {\normalfont\bfseries\sffamily}}
+
+\renewcommand\subparagraph{\@startsection{subparagraph}{5}{\z@}%\parindent}%
+ {3.25ex \@plus1ex \@minus .2ex}%
+ {-1em}%
+ {\normalfont\normalsize\bfseries\sffamily}}
+
+%--------------------------------------------------------
+
+\newenvironment{lekcija}[1]%
+{\newpage\section*{#1}}%
+{}
+
+\newtheorem{primjer}{Primjer}
+\newtheorem*{napomena}{Napomena}
+
+% \theoremstyle{definition}
+
+\newtheoremstyle{zadatakstyle}%
+{\topsep}{\topsep}%
+{\rmfamily}%
+{0cm}%{-0.145cm}%-12pt}%
+{\bfseries}%
+{}%
+{0pt}%
+{\makebox[0cm]{{\makebox[1cm][r]{\thmnumber{ #2}.\,}}}}%
+
+
+\newtheoremstyle{zzadatakstyle}%
+{\topsep}{\topsep}%
+{\rmfamily}%
+{0cm}%{-0.145cm}%-12pt}%
+{\bfseries}%
+{}%
+{0pt}%
+{\makebox[0cm]{{\makebox[1cm][r]{\thmnumber{ #2}.\!$^{*}$\,}}}}%
+
+\newtheoremstyle{zvjezdastibrojac}%
+{\topsep}{\topsep}%
+{\rmfamily}%
+{}%-12pt}%-12pt}%
+{\bfseries}%
+{.\!$^{*}$}%
+{ }%
+{}%
+
+
+
+
+
+%\theoremstyle{plain}
+
+\theoremstyle{zadatakstyle}%
+\newtheorem{zad}{}%
+
+\theoremstyle{zzadatakstyle}%
+\newtheorem{zzad}[zad]{}%
+
+
+% ======================================
+
+
+
+\newenvironment{zadatak}[1][]{
+% \if\notempty{##1}%d
+% \relax
+% \else
+% \ifthenelse{\equal{#1}{}}%
+% {\bodovi{}}%
+\bodovi{#1}
+% \bodovi{#1}
+% \fi
+\begin{zad}%
+\begin{list}{}{%
+\setlength\leftmargin{0.8165cm}%\makebox{\textbf{\textsf{111.\ }}\ }}
+% \setlength{\labelwidth}{1cm}%
+\setlength{\labelsep}{0pt}%
+\setlength{\listparindent}{0cm}%
+\setlength{\itemindent}{0cm}%
+}
+\item
+\setlength{\labelsep}{1ex}%
+}%
+{%END environment
+\end{list}%
+\end{zad}%
+\fsbShowBodovi\relax
+\bigskip%
+}
+
+\newenvironment{zzadatak}[1][]{%kopija zadatak environmenta
+\bodovi{#1}
+\begin{zzad}%
+\begin{list}{}{%
+\setlength\leftmargin{0.8165cm}%\makebox{\textbf{\textsf{111.\ }}\ }}
+% \setlength{\labelwidth}{1cm}%
+\setlength{\labelsep}{0pt}%
+\setlength{\listparindent}{0cm}%
+\setlength{\itemindent}{0cm}%
+}
+\item
+}%
+{%END environment
+\end{list}%
+\end{zzad}%
+\fsbShowBodovi\relax
+\bigskip%
+}
+
+
+
+\setlength{\parindent}{0pt}
+
+
+%BEGIN RJESENJA ...............
+% otvori novi filedescriptor
+\newwrite\tf@rjesenja
+
+\newcommand{\rjesenje}[1]{%
+\opt{inlinerjesenja}{%
+\par\textcolor{lightgray}{\fbox{\scriptsize \textcolor{red}{Rj. }\textcolor{lightgray}{ #1}}}
+}% end opt inlinerjesenja
+\protected@write{\@auxout}
+ {}
+ {\string\@writefile{rjesenja}{
+ {\protect\par {\small \textbf{\thezad.} #1}}
+ }}}
+
+\newcommand{\rjesenjeSection}[1]{
+\protected@write{\@auxout}
+ {}
+ {\string\@writefile{rjesenja}{
+ {\protect{\bigskip}\protect\par \protect\itshape \protect\fbox\protect{#1\protect} \protect\dotfill {str.~\thepage}\protect\par\protect\medskip }
+ }}}
+% }
+
+
+%BEGIN ispis rjesenja
+
+
+\newcommand{\printRjesenja}{%
+\section*{Rje\v{s}enja zadataka}
+\addcontentsline{toc}{section}{Rje\v{s}enja zadataka}
+
+ \begin{multicols*}{2} %mcols* je nebalansirana verzija...
+ \raggedright
+ \makeatletter
+ \@starttoc{rjesenja}
+ \makeatother
+ \vfill
+ \end{multicols*}
+%
+}
+
+%END ispis rjesenja
+
+
+\newcommand{\stopRjesenja}{
+ \let\oldrjesenjeMacro\rjesenje
+ \let\rjesenje\@gobble
+}
+
+% \continueRjesenja
+% \let\rjesenje\oldrjesenjeMacro
+
+%END rjesenja
+
diff --git a/language/croatian/hrlatex/hrlatex.dtx b/language/croatian/hrlatex/hrlatex.dtx
new file mode 100644
index 0000000000..1cc8f4bfc9
--- /dev/null
+++ b/language/croatian/hrlatex/hrlatex.dtx
@@ -0,0 +1,175 @@
+% \iffalse meta-comment
+% GNU GPL license
+%
+% \fi
+%
+% \iffalse
+%<*driver>
+\ProvidesFile{hrlatex.dtx}
+%</driver>
+
+%<*driver>
+\documentclass{ltxdoc}
+\RequirePackage{hrlatex}
+\RequirePackage{enumerate}
+
+
+\EnableCrossrefs
+\CodelineIndex
+\RecordChanges
+\begin{document}
+% \tableofcontents
+ \DocInput{hrlatex.dtx}
+\end{document}
+%</driver>
+%<*package>
+\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+\ProvidesPackage{hrlatex}[2010/04/05 v0.23 LaTeX Macros for HRLaTeX project]
+%
+%
+ \usepackage{xkeyval}
+%
+ \DeclareOption{slovene}{\PassOptionsToPackage{slovene}{babel}}
+%
+% ^^A \newif\ifenc@valundef
+% ^^A \enc@valundeftrue
+ \DeclareOptionX{enc}[utf8]{%
+% ^^A \enc@valundeffalse
+ \PassOptionsToPackage{#1}{inputenc}
+ }
+
+ \DeclareOption{last}{
+
+ }
+
+ \DeclareOption*{}
+ \DeclareOptionX*{}
+
+
+% ^^A \ifenc@valundef
+ \PassOptionsToPackage{utf8}{inputenc} %% Default
+% ^^A \fi
+ \PassOptionsToPackage{croatian}{babel}
+
+ \ProcessOptions*
+ \ProcessOptionsX
+
+ \RequirePackage{inputenc}
+ \RequirePackage[T1]{fontenc}
+% \RequirePackage{tracefnt}
+ \RequirePackage[croatian]{babel}
+ \RequirePackage{amsopn}
+
+%</package>
+% \fi
+%
+%
+% \CheckSum{21}
+%
+% \CharacterTable
+% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+% Digits \0\1\2\3\4\5\6\7\8\9
+% Exclamation \! Double quote \" Hash (number) \#
+% Dollar \$ Percent \% Ampersand \&
+% Acute accent \' Left paren \( Right paren \)
+% Asterisk \* Plus \+ Comma \,
+% Minus \- Point \. Solidus \/
+% Colon \: Semicolon \; Less than \<
+% Equals \= Greater than \> Question mark \?
+% Commercial at \@ Left bracket \[ Backslash \\
+% Right bracket \] Circumflex \^ Underscore \_
+% Grave accent \` Left brace \{ Vertical bar \|
+% Right brace \} Tilde \~}
+%
+%
+% \changes{v0.1}{2006/02/11}{Prva verzija}
+% \changes{v0.15}{2006/05/20}{.dtx verzija}
+% \changes{v0.2}{2006/06/20}{CTAN upload}
+% \changes{v0.21}{2006/06/25}{utf8 kao default input encoding}
+% \changes{v0.22}{2006/09/20}{MikTeX fix}
+% \changes{v0.23}{2010/04/25}{Ciscenje}
+%
+% \GetFileInfo{hrlatex.sty}
+%
+% \DoNotIndex{\newcommand,\newenvironment}
+%
+%
+% \title{{\Large \textsf{HRLaTeX}} paket\thanks{Ovaj dokument
+% odnosi se na \textsf{hrlatex}~\fileversion, \filedate.}}
+% \author{Marcel Mareti\'c \\ \texttt{marcelix at gmail dot com} \\ \texttt{http://hrlatex.wordpress.com/}}
+%
+% \maketitle
+%
+% \section{Uvod}
+%
+% \textsf{HRLaTeX} paket (hrlatex.sty) je \LaTeX2e prilagodba prosje\v{c}nom hrvatskom \LaTeX{} korisniku.
+% \textsf{hrlatex} uklju\v{c}uje \textsf{babel}, \textsf{inputenc}, \textsf{fontenc} pakete s uobi\v{c}ajenim opcijama
+% i definira uobi\v{c}ajene matemati\v{c}ke operatore, npr.: $\tg$, $\ch$ i dr.
+%
+% \subsubsection*{Za\v{s}to?}
+% % % ^^A Iz iskustva znam da ve\'cina hrvatskih \LaTeX{} hakera ima vlastite pomo\'cne datoteke u kojima sa sobom vu\v{c}e ono \v{s}to bi svaki dobar \TeX{} dokument trebao imati. Ili jednostavno svaki novi dokument po\v{c}inje tako da se pi\v{s}e preko zadnjeg.
+% ^^A Za neke znam. :-)
+%
+% \begin{itemize}
+% \item[--] \v{C}ini se da ve\'cina hrvatskih \LaTeX{} hakera ima vlastite dokumente u kojima dr\v{z}i ono \v{s}to treba svakom dobrom \LaTeX{} dokumentu. Novi dokumenti se u pravilu rade tako da se pi\v{s}e "preko" zadnjeg.
+% \item[--] hrlatex.sty je podloga za nekoliko predlo\v{z}aka (\textit{templates}): diplomski rad, ispit, ud\v{z}benik, itd.
+% \end{itemize}
+% \section{Uporaba}
+%
+% \DescribeMacro{\usepackage\{hrlatex\}} \DescribeMacro{\RequirePackage\{hrlatex\}}
+% U preambuli treba uklju\v{c}iti \textsf{hrlatex} paket.
+%
+%
+%
+% \StopEventually{\PrintChanges}
+% \section{Kodne stranice}
+% \DescribeMacro{enc=utf8} \DescribeMacro{enc=cp1250} \DescribeMacro{enc=latin2}
+% \textsf{hrlatex} u\v{c}itava paket \textsf{inputenc} kojim omogu\'cuje direktan unos hrvatskih znakova.
+% Ukoliko koristite kodnu stranicu koja nije ASCII ili UTF-8 u opcijama prilikom u\v{c}itavanja paketa
+% morate to\v{c}no navesti koju kodnu stranicu koristite. Npr., zasad je na hrvatskim windows instalacijama (default) kodna stranica u kojoj se
+% unosi hrvatski tekst windows-CP1250. Tako npr.~ako \v{z}elite u WinEdt-u unositi hrvatske znakove paket hrlatex u\v{c}itajte s
+% $$\verb+\usepackage[enc=cp1250]{hrlatex}+ $$
+% Analogno se navode ostale kodne stranice, uz napomenu da opciju \verb+utf8+ \textit{default} ne treba se specijalno navoditi.
+% Za o\v{c}ekivati je da \'ce unicode UTF-8 kodiranje istisnuti starija 8-bitna kodiranja, pa ovu opciju ne\'ce trebati navoditi.
+%
+%
+% ^^A ===============================================
+%
+% \section{Napomene}
+%
+% Kodna stranica je (sad ipak) po defaultu stavljena na |utf8| -- u nadi da \'ce to uskoro postati standard na hrvatskim MS Windows instalacijama. Na linuxu to nije problem. Npr.~kile se lako mo\v{z}e namjestiti tako da mu je cp1250 \textit{default encoding} za editor. Po\v{s}to je cp1250 kodna stranica pro\v{s}irenje ascii-ja sa starijim \LaTeX datotekama nema problema.
+% ^^A |\th|
+%
+% $$\th 1, \tg \frac{\pi}2, \arctg{1}, \sh 1, \ch 0$$
+%
+% \section{Implementacija}
+%
+% \begin{macrocode}
+\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
+%
+% \end{macrocode}
+%
+%
+% \section{Promjene}
+% \begin{enumerate}[\qquad --]
+% \item[v0.10] Inicijalna verzija
+% \item[v0.15] .dtx verzija
+% \item[v0.20] prva verzija na na CTAN-u
+% \item[v0.21] Popravio da je \textit{default} ulazna kodna stranica UTF-8 pomo\'cu \textsf{xkeyval} paketa (hvala Mojci Miklavec)
+% \item[v0.22] fix za MikTeX
+% \item[v0.23] ...
+% \end{enumerate}
+%
+% \section{Primjedbe}
+% Molim Vas da mi javite svoje prijedbe i komentare.
+% \Finale
+\endinput
diff --git a/language/croatian/hrlatex/hrlatex.ins b/language/croatian/hrlatex/hrlatex.ins
new file mode 100644
index 0000000000..8ff64beeb6
--- /dev/null
+++ b/language/croatian/hrlatex/hrlatex.ins
@@ -0,0 +1,58 @@
+%%
+%% Copyright (C) 2006 by Marcel Maretic <marcelix at gmail com>
+%%
+%% This file may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.2 of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.2 or later is part of all distributions of LaTeX version
+%% 1999/12/01 or later.
+%%
+
+\input docstrip.tex
+\keepsilent
+
+\usedir{tex/latex/hrlatex}
+
+\preamble
+
+%
+% Copyright (C) 2010 HRLaTeX team
+%
+% This program is free software; you can redistribute it and/or modify
+% it under the terms of the GNU General Public License as published by
+% the Free Software Foundation; either version 2 of the License, or
+% (at your option) any later version.
+%
+% This program is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+% GNU General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License
+% along with this program; if not, write to the Free Software
+% Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+\endpreamble
+
+\generate{\file{hrlatex.sty}{\from{hrlatex.dtx}{package}}}
+
+\obeyspaces
+\Msg{*************************************************************}
+\Msg{* *}
+\Msg{* To finish the installation you have to move the following *}
+\Msg{* file into a directory searched by TeX: *}
+\Msg{* *}
+\Msg{* hrlatex.sty *}
+\Msg{* *}
+\Msg{* To produce the documentation run the file hrlatex.dtx *}
+\Msg{* through LaTeX. *}
+\Msg{* *}
+\Msg{* Happy TeXing! *}
+\Msg{* *}
+\Msg{*************************************************************}
+
+\endbatchfile
diff --git a/language/croatian/hrlatex/hrlatex.pdf b/language/croatian/hrlatex/hrlatex.pdf
new file mode 100644
index 0000000000..acfc34358a
--- /dev/null
+++ b/language/croatian/hrlatex/hrlatex.pdf
Binary files differ
diff --git a/language/croatian/hrlatex/hrlatex.sty b/language/croatian/hrlatex/hrlatex.sty
new file mode 100644
index 0000000000..802ad5fb89
--- /dev/null
+++ b/language/croatian/hrlatex/hrlatex.sty
@@ -0,0 +1,48 @@
+%%
+%% 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}[2010/04/05 v0.23 LaTeX Macros for HRLaTeX project]
+\usepackage{xkeyval}
+\DeclareOption{slovene}{\PassOptionsToPackage{slovene}{babel}}
+\DeclareOptionX{enc}[utf8]{%
+\PassOptionsToPackage{#1}{inputenc}
+}
+
+\DeclareOption{last}{
+
+}
+
+\DeclareOption*{}
+\DeclareOptionX*{}
+
+\PassOptionsToPackage{utf8}{inputenc} %% Default
+\PassOptionsToPackage{croatian}{babel}
+
+\ProcessOptions*
+\ProcessOptionsX
+
+\RequirePackage{inputenc}
+\RequirePackage[T1]{fontenc}
+\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'.
diff --git a/language/croatian/hrlatex/sample.fsbispit.tex b/language/croatian/hrlatex/sample.fsbispit.tex
new file mode 100644
index 0000000000..6465096330
--- /dev/null
+++ b/language/croatian/hrlatex/sample.fsbispit.tex
@@ -0,0 +1,83 @@
+\documentclass[12pt]{fsbispit}
+% CP1250
+
+
+
+\let\ispitFooter\empty
+\newenvironment{obavijest}[1][konj]{}{}
+
+\usepackage{tgtermes}
+
+\begin{document}
+
+
+
+
+\title{Probni ispit}
+\begin{ispit}{2010-04-09}
+
+\begin{zadatak}%[10 bodova]
+Rijei neto
+Lorem Ipsum is simply dummy text of the printing and typesetting industry. \\
+Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type
+%
+ \begin{align*}
+ \oint_\Gamma z^2-\overline{z}\ \ dz
+ \end{align*}
+
+Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type
+%
+
+% \begin{rjesenje}
+% Ja?
+% % \end{rjesenje}
+
+\end{zadatak}
+
+\begin{zadatak}[5 bodova]
+ \begin{enumerate}[a)]
+ \item Prvo pitanje
+ \item Drugo pitanje
+ \end{enumerate}
+
+\end{zadatak}
+
+
+
+\begin{zzadatak}[20 bodova]
+ Rijei jo neto
+Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
+\rjesenje{Kratko rje\v{s}enje}
+\end{zzadatak}
+
+
+\begin{zadatak}[30 bodova]
+Rijei neto
+Lorem Ipsum is simply dummy text of the printing and typesetting industry. \\
+Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type
+%
+ \begin{align*}
+ \oint_\Gamma z^2-\overline{z}\ \ dz
+ \end{align*}
+
+Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type
+%
+\end{zadatak}
+
+
+
+
+
+\end{ispit}
+\begin{obavijest}
+{\small \dotfill }
+
+\vfill \vfill
+% #1
+ Rezultati ispita su sljedei radni dan u 13:00 sati.
+\end{obavijest}
+
+\newpage
+\printRjesenja
+
+\end{document}
diff --git a/language/croatian/hrlatex/sample.minimal.cp1250.tex b/language/croatian/hrlatex/sample.minimal.cp1250.tex
new file mode 100644
index 0000000000..2e11cead12
--- /dev/null
+++ b/language/croatian/hrlatex/sample.minimal.cp1250.tex
@@ -0,0 +1,20 @@
+\documentclass{minimal}
+
+\usepackage[enc=cp1250]{hrlatex}
+
+
+\listfiles
+
+\begin{document}
+\noindent
+Minimalni dokument koji koristi \textsf{\textbf{\textsf{HR}}LaTeX}.
+
+ % Windows codepage 1250 -- kodna stranica
+\noindent
+ \v{C} \v{c} \'{C} \'{c} \DJ{} \dj{} \v{S} \v{s} \v{Z} \v{z}\\
+%
+
+
+
+
+\end{document} \ No newline at end of file
diff --git a/language/croatian/hrlatex/sample.minimal.latin2.tex b/language/croatian/hrlatex/sample.minimal.latin2.tex
new file mode 100644
index 0000000000..fa9302d91a
--- /dev/null
+++ b/language/croatian/hrlatex/sample.minimal.latin2.tex
@@ -0,0 +1,19 @@
+% iso 8859-2 ili latin2 kodna stranica
+%
+\documentclass{minimal}
+
+\usepackage[enc=latin2]{hrlatex}
+
+
+\listfiles
+
+\begin{document}
+\noindent
+% \tableofcontents
+Minimalni dokument koji koristi \textsf{\textbf{\textsf{HR}}LaTeX}.\\
+%
+%
+\noindent \v{C} \v{c} \'{C} \'{c} \DJ{} \dj{} \v{S} \v{s} \v{Z} \v{z}\\
+\noindent
+%
+\end{document} \ No newline at end of file
diff --git a/language/croatian/hrlatex/sample.minimal.utf8.tex b/language/croatian/hrlatex/sample.minimal.utf8.tex
new file mode 100644
index 0000000000..abe60403e0
--- /dev/null
+++ b/language/croatian/hrlatex/sample.minimal.utf8.tex
@@ -0,0 +1,115 @@
+% UTF-8
+\documentclass[12pt]{minimal}
+
+% \usepackage[enc=utf8]{hrlatex}
+\usepackage{hrlatex}
+
+
+
+\listfiles
+
+\begin{document}
+\noindent
+% \rule{7pt}{7pt}\rule[7pt]{7pt}{7pt}%
+\fontsize{20pt}{10pt}%
+\selectfont%
+\textsf{\textbf{\textsf{HR}}LaTeX} \\
+\rule{\textwidth}{1pt}\\
+\normalsize
+Mini dokument koji koristi \textsf{hrlatex} paket i \textsf{utf8} kodnu stranicu.\\
+
+\medskip
+
+\noindent
+%
+\fontsize{20pt}{25pt}%
+\selectfont%
+%
+\strut\hfil \v{C} $\cdot$ \v{c} $\cdot$ {\'{C}} $\cdot$ {\'{c}} $\cdot$ \DJ{} $\cdot$ \dj{} $\cdot$ \v{S} $\cdot$ \v{s} $\cdot$ \v{Z} $\cdot$ \v{z}\\
+%
+\strut\hfil Č $\cdot$ č $\cdot$ Ć $\cdot$ ć $\cdot$ Đ $\cdot$ đ $\cdot$ Š $\cdot$ š $\cdot$ Ž $\cdot$ ž\\
+\rule{\textwidth}{1pt}\\
+\vfill
+% \end{tabbing}
+% \chaptername
+
+\newpage
+\normalsize
+\fontsize{12pt}{15pt}%
+\selectfont%
+
+\noindent
+Marcel Maretić \\
+Hrvatskih branitelja 4a\\
+42000 Varaždin\\[0.5ex]
+GSM: 091 5111 599 \\[0.5ex]
+29. siječnja 2010.
+
+\strut\hfill
+\begin{minipage}[t]{7cm}
+ Republika Hrvatska\\
+ Državni inspektorat\\
+ Područna jedinica Varaždin \\
+ n/r Pročelniku Vladimiru Benkoviću\\
+ Stanka Vraza 4\\
+ Varaždin
+\end{minipage}
+
+
+
+\vspace*{2cm}
+
+\textbf{Predmet}:
+\begin{minipage}[t]{12cm}
+\raggedright
+ Zahtjev za provedbom inspekcijskog nadzora nad elektromehaničarskim obrtom Marković, Varaždin, K.~Filića 9 \\
+(ovlašteni servis kućanskih aparata marke Blomberg)
+\end{minipage}
+
+\vspace*{2cm}
+
+\noindent
+Poštovani,\\
+ovim putem Vam dostavljam Zahtjev za provedbom inspekcijskog nadzora nad obrtom Marković, K.~Filića 9, Varaždin.
+
+\bigskip
+
+Predmetni obrt odbija ispoštovati uvjete garancije u kojima piše:
+% \begin{quotation}
+
+\medskip
+
+ \dots \textit{da ćemo u jamstvenom roku na svoj trošak otkloniti sve nedostatke i eventualne tehničke manjkavosti koje bi mogle nastati pri normalnoj i pravilnoj uporabi (u skladu s uputama) najkasnije u roku od 45 dana od dana prijave kvara, tj.~od dana dostave aparata u najbliži servis s priloženog popisa ovlaštenih servisa.}
+
+\medskip
+
+% \end{quotation}
+%
+%
+% da se aparat zamjenjuje novim ako servis traje 45 dana. U privitku je kopija garantnog lista.
+U ovom slučaju prošlo je 79 dana od zaprimanja sušilice u servis.
+
+\bigskip
+
+Predmetnom obrtu sam kao ovlaštenom serviseru kućanskih aparata marke Blomberg 13.11.2009. dao servisirati sušilicu rublja .... .
+Sušilicu sam kupio 05.01.2008. u trgovini Elipso u Varaždinu. Sušilica se pokvarila unutar 5-godišnjeg garantnog roka.
+
+
+\bigskip
+
+\bigskip
+
+Sukladno svemu navedenom, molim Vas da obavite inspekcijski nadzor u obrtu Marković i da u okviru Vaših nadležnosti poduzmete što je potrebno kako bi spomenuti servis ispoštovao uvjete jamstva.
+
+\medskip
+
+Za sve dodatne informacije stojim Vam na raspolaganju i srdačno Vas pozdravljam,\\
+
+\bigskip
+ \strut \hfill Marcel Maretić
+
+
+
+
+
+\end{document}
diff --git a/language/croatian/hrlatex/sample.prezentacija.tex b/language/croatian/hrlatex/sample.prezentacija.tex
new file mode 100644
index 0000000000..60936f258c
--- /dev/null
+++ b/language/croatian/hrlatex/sample.prezentacija.tex
@@ -0,0 +1,64 @@
+\documentclass[%
+% draft,%
+handout, %
+% serif,%
+t,% top-centered frametitles
+]{beamer}
+
+
+\usepackage{hrlatex}
+
+
+ \usepackage{amsmath}
+ \usepackage{amsthm}
+ \usepackage{txfonts}
+ \usepackage{framed}
+
+
+
+
+ \title{Mini prezentacija}
+ \subtitle{ mali podnaslov }
+ \author{NN}
+
+
+
+% BEGIN NOT
+\usetheme[titleline=true]{Torino}
+\usepackage{tgheros}
+\usepackage{microtype}
+% END NOT
+
+
+
+\begin{document}
+
+
+
+
+\maketitle
+
+
+
+% =============================
+
+\begin{frame}{Prvi slajd}{Podnaslov}
+\begin{itemize}
+ \item prvi red
+ \item drugi red
+\end{itemize}
+
+\end{frame}
+
+%
+\begin{frame}{Drugi slajd}
+ \begin{itemize}
+ \item $1+1=2$
+ \item $\displaystyle \int_1^x \frac{1}t dt= \ln x$
+ \item tre\'ci redak
+ \item $1+2+3+\dots +n = ?$
+ \end{itemize}
+\end{frame}
+
+
+\end{document}