summaryrefslogtreecommitdiff
path: root/Master/texmf-doc/doc/german/latex-tipps-und-tricks/kyril.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-doc/doc/german/latex-tipps-und-tricks/kyril.sty')
-rw-r--r--Master/texmf-doc/doc/german/latex-tipps-und-tricks/kyril.sty47
1 files changed, 47 insertions, 0 deletions
diff --git a/Master/texmf-doc/doc/german/latex-tipps-und-tricks/kyril.sty b/Master/texmf-doc/doc/german/latex-tipps-und-tricks/kyril.sty
new file mode 100644
index 00000000000..f5c36ede358
--- /dev/null
+++ b/Master/texmf-doc/doc/german/latex-tipps-und-tricks/kyril.sty
@@ -0,0 +1,47 @@
+\ProvidesPackage{kyril}[1999/06/17]
+
+\DeclareOption{basefont}
+{\typeout{setting up cyrillic base font}
+ \renewcommand{\rmdefault}{cyr}
+ \renewcommand{\sfdefault}{cyrs}}
+\ProcessOptions
+
+% Welche Familie soll fuer Times benutzt werden
+\newcommand{\timesdefault}{cmr}
+
+\newcommand{\cyrilacc}
+{\renewcommand{\"}[1]{\accent32##1}%
+ \renewcommand{\'}[1]{\accent38##1}%
+ \renewcommand{\u}[1]{\accent36##1}}
+
+% Kurzfristige Umschaltung
+\DeclareTextFontCommand{\texttimes}
+ {\fontencoding{T1}\fontfamily{\timesdefault}%
+ \selectfont}
+\DeclareTextFontCommand{\textcyrillic}
+ {\fontencoding{OT1}\fontfamily{cyr}%
+ \selectfont\cyrilacc}
+% Dauerhafte Umschaltung
+\newcommand{\timestext}
+ {\usefont{T1}{\timesdefault}{m}{n}}
+\newcommand{\cyrillictext}
+ {\usefont{OT1}{cyr}{m}{n}\cyrilacc}
+
+% Haertezeichen
+\newcommand{\CYRSFTSN}{\symbol{94}}
+\newcommand{\cyrsftsn}{\symbol{126}}
+\newcommand{\CYRHRDSN}{\symbol{95}}
+\newcommand{\cyrhrdsn}{\symbol{127}}
+
+% sonstige Buchstaben
+\providecommand{\CYRDJE}{\symbol{6}}
+\providecommand{\cyrdje}{\symbol{14}}
+\providecommand{\CYRIZH}{\symbol{20}}
+\providecommand{\cyrizh}{\symbol{28}}
+\providecommand{\CYRYAT}{\symbol{35}}
+\providecommand{\cyryat}{\symbol{43}}
+\providecommand{\CYRFITA}{\symbol{21}}
+\providecommand{\cyrfita}{\symbol{29}}
+
+
+