summaryrefslogtreecommitdiff
path: root/language/cyrillic/inputs/rmacro.sty
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/cyrillic/inputs/rmacro.sty
Initial commit
Diffstat (limited to 'language/cyrillic/inputs/rmacro.sty')
-rw-r--r--language/cyrillic/inputs/rmacro.sty106
1 files changed, 106 insertions, 0 deletions
diff --git a/language/cyrillic/inputs/rmacro.sty b/language/cyrillic/inputs/rmacro.sty
new file mode 100644
index 0000000000..0af0f23a40
--- /dev/null
+++ b/language/cyrillic/inputs/rmacro.sty
@@ -0,0 +1,106 @@
+%This code was written by Dimitri Vulis and placed into public domain.
+%There is no copyright associated with this code. Use it as you wish.
+\def\cdefRussian{
+\chardef\Zh='021
+\chardef\zh='031
+\chardef\Ui='022 %uwash
+\chardef\ui='032 %uwash
+%\def\Ui{{\accent"24I}} %Old AMS
+%\def\ui{{\accent"24i}} %Old AMS
+\chardef\Kh='110
+\chardef\kh='150
+\chardef\Ts='103
+\chardef\ts='143
+\chardef\Ch='121
+\chardef\ch='161
+\chardef\Sh='130
+\chardef\sh='170
+\chardef\Shch='127
+\chardef\shch='167
+\chardef\cDprime='137
+\chardef\cdprime='177
+\chardef\cPrime='136
+\chardef\cprime='176
+\chardef\Ee='003
+\chardef\ee='013
+\chardef\Yu='020
+\chardef\yu='030
+\chardef\Ya='027
+\chardef\ya='037
+\chardef\Yo='023 %start uwash only
+\chardef\yo='033
+\chardef\Izhitsa='024
+\chardef\izhitsa='034
+\chardef\Fita='025
+\chardef\fita='035
+\chardef\Yat='043
+\chardef\yat='053 %end uwash only
+}
+\def\cdefTranslitX{
+\def\Zh{\t{Z}{h}}
+\def\zh{\t{z}{h}}
+\def\Ui{\u{I}}
+\def\ui{\u{\i}}
+\def\Kh{\t{K}{h}}
+\def\kh{\t{k}{h}}
+\def\Ts{\t{T}{s}}
+\def\ts{\t{t}{s}}
+\def\Ch{\t{C}{h}}
+\def\ch{\t{c}{h}}
+\def\Sh{\t{S}{h}}
+\def\sh{\t{s}{h}}
+\def\Shch{\t{S}{h}\t{c}{h}}
+\def\shch{\t{s}{h}\t{c}{h}}
+\def\cprime{$^\prime$}
+\def\cPrime{$\underline{^\prime}$}
+\def\cdprime{$^{\prime\prime}$}
+\def\cDprime{$\underline{^{\prime\prime}}$}
+\def\Ee{\`{E}}
+\def\ee{\`{e}}
+\def\Yu{\t{Y}{u}}
+\def\yu{\t{y}{u}}
+\def\Ya{\t{Y}{a}}
+\def\ya{\t{y}{a}}
+\def\Yo{\t{Y}{o}}
+\def\yo{\t{y}{o}}
+\def\Izhitsa{\'{Y}}
+\def\izhitsa{\'{y}}
+\def\Fita{\t{T}{h}}
+\def\fita{\t{t}{h}}
+\def\Yat{\'{E}}
+\def\yat{\'{e}}
+}
+\def\cdefTranslitY{
+\def\Zh{\v{Z}}
+\def\zh{\v{z}}
+\def\Ui{J}
+\def\ui{j}
+\def\Kh{Ch}
+\def\kh{ch}
+\def\Ts{C}
+\def\ts{c}
+\def\Ch{\v{C}}
+\def\ch{\v{c}}
+\def\Sh{\v{S}}
+\def\sh{\v{s}}
+\def\Shch{\v{S}\v{c}}
+\def\shch{\v{s}\v{c}}
+\def\cprime{\kern0pt'\kern0pt\relax}
+\def\cPrime{\kern0pt'\kern0pt\relax}
+\def\cdprime{\kern0pt'\kern0pt'\kern0pt\relax}
+\def\cDprime{\kern0pt'\kern0pt'\kern0pt\relax}
+\def\Ee{\`{E}}
+\def\ee{\`{e}}
+\def\Yu{\t{J}{u}}
+\def\yu{\t{\j}{u}}
+\def\Ya{\t{J}{a}}
+\def\ya{\t{\j}{a}}
+\def\Yo{\t{J}{o}}
+\def\yo{\t{j}{o}}
+\def\Izhitsa{\'{Y}}
+\def\izhitsa{\'{y}}
+\def\Fita{\t{T}{h}}
+\def\fita{\t{t}{h}}
+\def\Yat{\'{E}}
+\def\yat{\'{e}}
+}