Skip to content

Instantly share code, notes, and snippets.

@sergejx
Created April 22, 2009 11:03
Show Gist options
  • Save sergejx/99724 to your computer and use it in GitHub Desktop.
Save sergejx/99724 to your computer and use it in GitHub Desktop.
% Toto je pokus o implantaciu rustiny do Latexu
% 26. 1. 1994 Jano Busa
%% zdroj: http://lists.felk.cvut.cz/pipermail/cstex/2003-January/015285.html
\chardef\mz='176 % myakkij znak
\chardef\tz='177 % tverdyj znak
\chardef\pj='32 % russkoe j
\chardef\pJ='22 % propisnoe russkoe J
\chardef\pe='13 % obratnoe e
\chardef\pE='3 % propisnoe obratnoe E
% fonty cyrilika roman
\font\fivcr = wncyr5
\font\sixcr = wncyr6
\font\sevcr = wncyr7
\font\egtcr = wncyr8
\font\nincr = wncyr9
\font\tencr = wncyr10
\font\elvcr = wncyr10 scaled \magstephalf
\font\twlcr = wncyr10 scaled \magstep1
\font\ftncr = wncyr10 scaled \magstep2
\newfam\crmfam
\textfont\crmfam=\tencr
\scriptfont\crmfam=\sevcr
\scriptscriptfont\crmfam=\fivcr
\def\crm{\fam\crmfam\tencr}
% fonty cyrilika bold
\font\fivcb = wncyb5
\font\sixcb = wncyb6
\font\sevcb = wncyb7
\font\egtcb = wncyb8
\font\nincb = wncyb9
\font\tencb = wncyb10
\font\elvcb = wncyb10 scaled \magstephalf
\font\twlcb = wncyb10 scaled \magstep1
\font\ftncb = wncyb10 scaled \magstep2
\newfam\cbfam
\textfont\cbfam=\tencb
\scriptfont\cbfam=\sevcb
\scriptscriptfont\cbfam=\fivcb
\def\cb{\fam\cbfam\tencb}
% fonty cyrilika italic
\font\fivci = wncyi5
\font\sixci = wncyi6
\font\sevci = wncyi7
\font\egtci = wncyi8
\font\ninci = wncyi9
\font\tenci = wncyi10
\font\elvci = wncyi10 scaled \magstephalf
\font\twlci = wncyi10 scaled \magstep1
\font\ftnci = wncyi10 scaled \magstep2
\newfam\cifam
\textfont\cifam=\tenci
\scriptfont\cifam=\sevci
\scriptscriptfont\cifam=\fivci
\def\ci{\fam\cifam\tenci}
% fonty cyrilika sans serif
\font\egtcs = wncyss8
\font\nincs = wncyss9
\font\tencs = wncyss10
\font\elvcs = wncyss10 scaled \magstephalf
\font\twlcs = wncyss10 scaled \magstep1
\font\ftncs = wncyss10 scaled \magstep2
\newfam\csfam
\textfont\csfam=\tencs
%\scriptfont\csfam=\sevcs
%\scriptscriptfont\csfam=\fivcs
\def\cs{\fam\csfam\tencs}
% font small capitals
\font\tencc = wncysc10
\font\elvcc = wncysc10 scaled \magstephalf
\font\twlcc = wncysc10 scaled \magstep1
\font\ftncc = wncysc10 scaled \magstep2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment