summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hrlatex/hrlatex.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/hrlatex/hrlatex.sty')
-rw-r--r--Master/texmf-dist/tex/latex/hrlatex/hrlatex.sty26
1 files changed, 23 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/hrlatex/hrlatex.sty b/Master/texmf-dist/tex/latex/hrlatex/hrlatex.sty
index fb2698875a9..062c5253c16 100644
--- a/Master/texmf-dist/tex/latex/hrlatex/hrlatex.sty
+++ b/Master/texmf-dist/tex/latex/hrlatex/hrlatex.sty
@@ -7,14 +7,34 @@
%% 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}
+\ProvidesPackage{hrlatex}[2006/25/06 v0.21 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{tracefnt}
\RequirePackage[croatian]{babel}
\RequirePackage{amsopn}
+
\DeclareMathOperator{\tg}{tg}
\DeclareMathOperator{\arctg}{arc\,tg}
\DeclareMathOperator{\ctg}{ctg}