From 1d1db4f19babf48af1a41b9e0f33d5aa5a13f6df Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 12 Jan 2006 23:53:14 +0000 Subject: cmcyralt git-svn-id: svn://tug.org/texlive/trunk@769 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/cmcyralt/OT1cmcss.fd | 40 +++++ Master/texmf-dist/tex/latex/cmcyralt/OT1cmctt.fd | 25 +++ Master/texmf-dist/tex/latex/cmcyralt/OT1cmcyr.fd | 66 +++++++ Master/texmf-dist/tex/latex/cmcyralt/cmcyralt.sty | 199 ++++++++++++++++++++++ Master/texmf-dist/tex/latex/cmcyralt/fancycha.sty | 107 ++++++++++++ Master/texmf-dist/tex/latex/cmcyralt/glava.sty | 24 +++ Master/texmf-dist/tex/latex/cmcyralt/russian.sty | 24 +++ 7 files changed, 485 insertions(+) create mode 100644 Master/texmf-dist/tex/latex/cmcyralt/OT1cmcss.fd create mode 100644 Master/texmf-dist/tex/latex/cmcyralt/OT1cmctt.fd create mode 100644 Master/texmf-dist/tex/latex/cmcyralt/OT1cmcyr.fd create mode 100644 Master/texmf-dist/tex/latex/cmcyralt/cmcyralt.sty create mode 100644 Master/texmf-dist/tex/latex/cmcyralt/fancycha.sty create mode 100644 Master/texmf-dist/tex/latex/cmcyralt/glava.sty create mode 100644 Master/texmf-dist/tex/latex/cmcyralt/russian.sty (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/tex/latex/cmcyralt/OT1cmcss.fd b/Master/texmf-dist/tex/latex/cmcyralt/OT1cmcss.fd new file mode 100644 index 00000000000..bdb04e2004a --- /dev/null +++ b/Master/texmf-dist/tex/latex/cmcyralt/OT1cmcss.fd @@ -0,0 +1,40 @@ +%% OT1cmcss.fd +%% +\DeclareFontFamily{OT1}{cmcss}{} +\DeclareFontShape{OT1}{cmcss}{m}{n} + { + <5><6><7><8>uczrs8 + <9>uczrs9 + <10><10.95>uczrs10 + <12><14.4>uczrs12 + <17.28><20.74><24.88>uczrs17 + }{} +%%%%%%% Font/shape undefined, therefore substituted +\DeclareFontShape{OT1}{cmcss}{m}{it} + {<->ssub*cmcss/m/sl}{} +\DeclareFontShape{OT1}{cmcss}{m}{sl} + { + <5><6><7><8>uczris8 <9> uczris9 + <10><10.95>uczris10 + <12><14.4>uczris12 + <17.28><20.74><24.88>uczris17 + }{} +%%%%%%% Font/shape undefined, therefore substituted +\DeclareFontShape{OT1}{cmcss}{m}{sc} + {<->sub*cmcyr/m/sc}{} +%%%%%%%% semibold condensed series +\DeclareFontShape{OT1}{cmcss}{sbc}{n} + { + <5> <6> <7> <8> <9> uczdsc10 + <10> <10.95> <12> <14.4> <17.28> <20.74> <24.88>uczdsc10 + }{} + +%%%%%%%%% bold extended series +\DeclareFontShape{OT1}{cmcss}{bx}{n} + { + <5> <6> <7> <8> <9> uczbsx10 + <10> <10.95> <12> <14.4> <17.28> <20.74> <24.88> uczbsx10 + }{} +\endinput +%% +%% End of file OT1cmcss.fd diff --git a/Master/texmf-dist/tex/latex/cmcyralt/OT1cmctt.fd b/Master/texmf-dist/tex/latex/cmcyralt/OT1cmctt.fd new file mode 100644 index 00000000000..6919c391135 --- /dev/null +++ b/Master/texmf-dist/tex/latex/cmcyralt/OT1cmctt.fd @@ -0,0 +1,25 @@ +%% OT1cmctt.fd +%% +\DeclareFontFamily{OT1}{cmctt}{} +\DeclareFontShape{OT1}{cmctt}{m}{n} + { + <5><6><7><8>uczrt8 + <9>uczrt9 + <10><10.95>uczrt10 + <12><14.4><17.28><20.74><24.88>uczrt12 + }{} +\DeclareFontShape{OT1}{cmctt}{m}{it} + { + <5><6><7><8><9><10><10.95><12><14.4><17.28><20.74><24.88>uczrit10 + }{} +\DeclareFontShape{OT1}{cmctt}{m}{sl} + { + <5><6><7><8><9><10><10.95><12><14.4><17.28><20.74><24.88>uczrot10 + }{} +\DeclareFontShape{OT1}{cmctt}{m}{sc} + { + <5><6><7><8><9><10><10.95><12><14.4><17.28><20.74><24.88>uczrct10 + }{} +\endinput +%% +%% End of file OT1cmctt.fd diff --git a/Master/texmf-dist/tex/latex/cmcyralt/OT1cmcyr.fd b/Master/texmf-dist/tex/latex/cmcyralt/OT1cmcyr.fd new file mode 100644 index 00000000000..3c6a4b5b078 --- /dev/null +++ b/Master/texmf-dist/tex/latex/cmcyralt/OT1cmcyr.fd @@ -0,0 +1,66 @@ +%% OT1cmcyr.fd +%% +\DeclareFontFamily{OT1}{cmcyr}{} +\DeclareFontShape{OT1}{cmcyr}{m}{n} + { <5> <6> <7> <8> <9> <10> <12> gen * uczr + <10.95> uczr10 + <14.4> uczr12 + <17.28><20.74><24.88>uczr17}{} +\DeclareFontShape{OT1}{cmcyr}{m}{sl} + { + <5><6><7>uczro8% + <8> <9> gen * uczro + <10><10.95>uczro10% + <12><14.4><17.28><20.74><24.88>uczro12% + }{} +\DeclareFontShape{OT1}{cmcyr}{m}{it} + { + <5><6><7>uczri7% + <8>uczri8% + <9>uczri9% + <10><10.95>uczri10% + <12><14.4><17.28><20.74><24.88>uczri12% + }{} +\DeclareFontShape{OT1}{cmcyr}{m}{sc} + { + <5><6><7><8><9><10><10.95><12> + <14.4><17.28><20.74><24.88> uczrc10 + }{} +% Warning: please note that the upright shape below is +% used for the \pounds symbol of LaTeX. So this +% font definition shouldn't be removed. +\DeclareFontShape{OT1}{cmcyr}{m}{ui} + { + <5><6><7><8><9><10><12>% + <14.4><17.28><20.74><24.88>uczru10% + }{} +%%%%%%% bold series +\DeclareFontShape{OT1}{cmcyr}{b}{n} + { + <5><6><7><8><9><10><12> + <14.4><17.28><20.74><24.88> uczb10 + }{} +%%%%%%%% bold extended series +\DeclareFontShape{OT1}{cmcyr}{bx}{n} + { + <5> <6> <7> <8> <9> gen * uczbx + <10><10.95> uczbx10 + <12><14.4><17.28><20.74><24.88>uczbx12 + }{} +\DeclareFontShape{OT1}{cmcyr}{bx}{sl} + { + <5> <6> <7> <8> <9> + <10> <10.95> <12> <14.4> <17.28> <20.74> <24.88> uczbox10 + }{} +\DeclareFontShape{OT1}{cmcyr}{bx}{it} + { + <5> <6> <7> <8> <9> + <10> <10.95> <12> <14.4> <17.28> <20.74> <24.88> uczbix10 + }{} +% Again this is necessary for a correct \pounds symbol in +% the cmr fonts. +\DeclareFontShape{OT1}{cmcyr}{bx}{ui} + {<->ssub * cmcyr/m/u}{} +\endinput +%% +%% End of file OT1cmcyr.fd diff --git a/Master/texmf-dist/tex/latex/cmcyralt/cmcyralt.sty b/Master/texmf-dist/tex/latex/cmcyralt/cmcyralt.sty new file mode 100644 index 00000000000..16621e7d68a --- /dev/null +++ b/Master/texmf-dist/tex/latex/cmcyralt/cmcyralt.sty @@ -0,0 +1,199 @@ +%% This is cmcyralt.sty +%% +\def\fileversion{v1.0} +\def\filedate{1994/12/25} +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{cmcyralt}[\filedate\space\fileversion\space% +cmcyr fonts in alt encoding (A.Harin and V.Zhytnikov)] +\typeout{Package cmcyralt\space\fileversion\space\filedate:^^J% +cmcyr fonts in alternative encoding (A.Harin and V.Zhytnikov)} + +\catcode'240=11 %a +\catcode'241=11 %b +\catcode'242=11 %v +\catcode'243=11 %g +\catcode'244=11 %d +\catcode'245=11 %e +\catcode'246=11 %zh +\catcode'247=11 %z +\catcode'250=11 %i +\catcode'251=11 %ii +\catcode'252=11 %k +\catcode'253=11 %l +\catcode'254=11 %m +\catcode'255=11 %n +\catcode'256=11 %o +\catcode'257=11 %p +\catcode'340=11 %r +\catcode'341=11 %s +\catcode'342=11 %t +\catcode'343=11 %u +\catcode'344=11 %f +\catcode'345=11 %kh +\catcode'346=11 %ts +\catcode'347=11 %ch +\catcode'350=11 %sh +\catcode'351=11 %shch +\catcode'352=11 %hard +\catcode'353=11 %iy +\catcode'354=11 %soft +\catcode'355=11 %'e +\catcode'356=11 %yu +\catcode'357=11 %ya +\catcode'200=11 %A +\catcode'201=11 %B +\catcode'202=11 %V +\catcode'203=11 %G +\catcode'204=11 %D +\catcode'205=11 %E +\catcode'206=11 %ZH +\catcode'207=11 %Z +\catcode'210=11 %I +\catcode'211=11 %II +\catcode'212=11 %K +\catcode'213=11 %L +\catcode'214=11 %M +\catcode'215=11 %N +\catcode'216=11 %O +\catcode'217=11 %P +\catcode'220=11 %R +\catcode'221=11 %S +\catcode'222=11 %T +\catcode'223=11 %U +\catcode'224=11 %F +\catcode'225=11 %KH +\catcode'226=11 %TS +\catcode'227=11 %CH +\catcode'230=11 %SH +\catcode'231=11 %SHCH +\catcode'232=11 %HARD +\catcode'233=11 %IY +\catcode'234=11 %SOFT +\catcode'235=11 %'E +\catcode'236=11 %YU +\catcode'237=11 %YA +\AtBeginDocument{% +\uccode'240='200 \lccode'240='240 %a +\uccode'241='201 \lccode'241='241 %b +\uccode'242='202 \lccode'242='242 %v +\uccode'243='203 \lccode'243='243 %g +\uccode'244='204 \lccode'244='244 %d +\uccode'245='205 \lccode'245='245 %e +\uccode'246='206 \lccode'246='246 %zh +\uccode'247='207 \lccode'247='247 %z +\uccode'250='210 \lccode'250='250 %i +\uccode'251='211 \lccode'251='251 %ii +\uccode'252='212 \lccode'252='252 %k +\uccode'253='213 \lccode'253='253 %l +\uccode'254='214 \lccode'254='254 %m +\uccode'255='215 \lccode'255='255 %n +\uccode'256='216 \lccode'256='256 %o +\uccode'257='217 \lccode'257='257 %p +\uccode'340='220 \lccode'340='340 %r +\uccode'341='221 \lccode'341='341 %s +\uccode'342='222 \lccode'342='342 %t +\uccode'343='223 \lccode'343='343 %u +\uccode'344='224 \lccode'344='344 %f +\uccode'345='225 \lccode'345='345 %kh +\uccode'346='226 \lccode'346='346 %ts +\uccode'347='227 \lccode'347='347 %ch +\uccode'350='230 \lccode'350='350 %sh +\uccode'351='231 \lccode'351='351 %shch +\uccode'352='232 \lccode'352='352 %hard +\uccode'353='233 \lccode'353='353 %iy +\uccode'354='234 \lccode'354='354 %soft +\uccode'355='235 \lccode'355='355 %'e +\uccode'356='236 \lccode'356='356 %yu +\uccode'357='237 \lccode'357='357 %ya +\uccode'361='360 \lccode'361='361 %yo +\uccode'200='200 \lccode'200='240 %A +\uccode'201='201 \lccode'201='241 %B +\uccode'202='202 \lccode'202='242 %V +\uccode'203='203 \lccode'203='243 %G +\uccode'204='204 \lccode'204='244 %D +\uccode'205='205 \lccode'205='245 %E +\uccode'206='206 \lccode'206='246 %ZH +\uccode'207='207 \lccode'207='247 %Z +\uccode'210='210 \lccode'210='250 %I +\uccode'211='211 \lccode'211='251 %II +\uccode'212='212 \lccode'212='252 %K +\uccode'213='213 \lccode'213='253 %L +\uccode'214='214 \lccode'214='254 %M +\uccode'215='215 \lccode'215='255 %N +\uccode'216='216 \lccode'216='256 %O +\uccode'217='217 \lccode'217='257 %P +\uccode'220='220 \lccode'220='340 %R +\uccode'221='221 \lccode'221='341 %S +\uccode'222='222 \lccode'222='342 %T +\uccode'223='223 \lccode'223='343 %U +\uccode'224='224 \lccode'224='344 %F +\uccode'225='225 \lccode'225='345 %KH +\uccode'226='226 \lccode'226='346 %TS +\uccode'227='227 \lccode'227='347 %CH +\uccode'230='230 \lccode'230='350 %SH +\uccode'231='231 \lccode'231='351 %SHCH +\uccode'232='232 \lccode'232='352 %HARD +\uccode'233='233 \lccode'233='353 %IY +\uccode'234='234 \lccode'234='354 %SOFT +\uccode'235='235 \lccode'235='355 %'E +\uccode'236='236 \lccode'236='356 %YU +\uccode'237='237 \lccode'237='357 %YA +\uccode'360='360 \lccode'360='361 %YO +} + +\renewcommand{\rmdefault}{cmcyr} +\renewcommand{\sfdefault}{cmcss} +\renewcommand{\ttdefault}{cmctt} + +% Characters \"e \"E and \"i +% Russian double quotes \"< \"> -> << >> +\AtBeginDocument{% +\let\@dqtmp\" +\def\"#1{{\def\@tmpzzz{#1}\def\@tmpye{е}\def\@tmpcye{Е}% + \def\@tmplt{<}\def\@tmpgt{>}\def\@tmpi{i}% + \if\@tmpzzz\@tmpye\char'361% + \else\if\@tmpzzz\@tmpcye\char'360% + \else\if\@tmpzzz\@tmplt\char'372% + \else\if\@tmpzzz\@tmpgt\char'373% + \else\if\@tmpzzz\@tmpi\@dqtmp{\i}% + \else\@dqtmp#1\fi\fi\fi\fi\fi% + \let\@tmpzzz\relax\let\@tmpye\relax\let\@tmpi\relax% + \let\@tmplt\relax\let\@tmpgt\relax\let\@tmpcye\relax}} +} +% Russian number symbol +\def\No{{\char'374}} +% Russian double quotes \< \> -> << >> +\def\<{{\char'372}} +\def\>{{\char'373}} + +% Russian Style +\DeclareOption{russtyle}{% +\def\prefacename{Предисловие}% +\def\refname{Ссылки}% +\def\abstractname{Реферат}% +\def\bibname{Литература}% +\def\chaptername{Глава}% +\def\appendixname{Приложение}% +\def\contentsname{Оглавление}% +\def\listfigurename{Список иллюстраций}% +\def\listtablename{Список таблиц}% +\def\indexname{Предметный указатель}% +\def\figurename{Рис.}% +\def\tablename{Табл.}% +\def\partname{Часть}% +\def\enclname{Приложение}% +\def\ccname{Копия}% +\def\pagename{Стр.}% +\def\headtoname{Кому:}% +\def\seename{см.}% +\def\alsoname{также см.}% +\def\today{\number\day~\ifcase\month\or + января\or февраля\or марта\or апреля\or мая\or июня\or + июля\or августа\or сентября\or октября\or ноября\or + декабря\fi \space \number\year~г.}% +} +\ProcessOptions + +\endinput +%% +%% End of cmcyralt.sty diff --git a/Master/texmf-dist/tex/latex/cmcyralt/fancycha.sty b/Master/texmf-dist/tex/latex/cmcyralt/fancycha.sty new file mode 100644 index 00000000000..d9ae87b12e9 --- /dev/null +++ b/Master/texmf-dist/tex/latex/cmcyralt/fancycha.sty @@ -0,0 +1,107 @@ +% $Id: fancychapters.sty,v 1.1 1992/07/10 07:40:27 joke Exp $ +% +% A macro for fancy chapter headings for use with LaTeX 2.09 +% +% Copyright (C) 1992 by Joerg Heitkoetter +% Systems Analysis Group, University of Dortmund, Germany. +% (joke@ls11.informatik.uni-dortmund.de). +% +% This is modified code from bk11.sty, I received from TeXpert +% Gerd Neugebauer 8/7/92 (gerd@intellektik.informatik.th-darmstadt.de). +% Thank's for the q&d hack, Gerd! +% +% Corrections of typos, \newdimensions, and everything, to handle +% things relatively by joke. +% +% Enjoy! + + +% DESCRIPTION +% +% This style option provides the macro \Chapter. It requires the style +% book (report works as well :-) +% +% The first argument is typeset in a \parbox on the right top of the +% chapter page, using an \emphasized font. The second argument is the +% chapter's title. +% An optional argument between, corresponds to the optional argument of +% the \chapter command. Thus +% +% \Chapter{}{} or \Chapter{<quote>}[<abbrev>]{<title>} +% +% are both valid constructs. +% +% Two new dimension counters, \fancychapwidth and \fancychapsep handle +% the width of the quote's \parbox, and it's distance to the begin +% of the `Chapter X' mark, respectively. See the EXAMPLE below to `grok' +% how things work. Please note that the real distance between quote +% and `Chapter X' mark is actually \fancychapsep + 50pt, as the latter +% is always inserted, before a chapter starts. You could simply use +% negative values (e.g. \fancychapsep=-50pt) to get around this, but +% you shouldn't do, unless you're a fan of \uglychapters ;-) + + +% Some new dimensions... +\newdimen\fancychapwidth +\newdimen\fancychapsep + +% ... and their defaults +\fancychapwidth=0.5\textwidth +\fancychapsep=10pt + +% the \Chapter ... +\long\def\Chapter#1{\cleardoublepage + \thispagestyle{plain}% + \global\@topnum\z@ + + \@afterindentfalse + \hfill\parbox{\fancychapwidth}{\em #1} % put quotation in a box + % flushed right + \vspace{\fancychapsep}\par % add distance to chapter head + \secdef\@chapter\@schapter} + +% That's all folks. +\endinput + + +% EXAMPLE +% +% (1) uncomment the following %%% marked lines +% (2) save them to a file +% (3) LaTeX it! + +%%%\documentstyle[fancychapters]{report} +%%% +%%%\begin{document} +%%%\Chapter{ +%%%{\scriptsize (Sung to the tune of ``The Impossible Dream'' from MAN OF +LA MANCHA)}\\[5pt] +%%% To code the impossible code, \\ +%%% To bring up a virgin machine, \\ +%%% To pop out of endless recursion, \\ +%%% To grok what appears on the screen, \\[5pt] +%%% To right the unrightable bug, \\ +%%% To endlessly twiddle and thrash, \\ +%%% To mount the unmountable magtape, \\ +%%% To stop the unstoppable crash! +%%% +%%% \begin{center} +%%% {\tt /usr/games/fortune} +%%% \end{center} +%%% }{Building Operating Systems} +%%% +%%%\fancychapwidth=2in +%%%\fancychapsep=0pt +%%%\Chapter{``Nobody feels as helpless as the owner of a sick goldfish.'' +%%%}{Building More Operating Systems} +%%% +%%%\fancychapwidth=0.75\textwidth +%%%\fancychapsep=10pt +%%%\Chapter{ +%%%``Parents of young organic life forms should be warned, that +%%%towels can be harmful, if swallowed in large quantities.'' +%%%\\[5pt] +%%%\rightline{{\rm --- Douglas Adams}} +%%%}[No More]{Building No More Operating Systems} +%%% +%%%\end{document} diff --git a/Master/texmf-dist/tex/latex/cmcyralt/glava.sty b/Master/texmf-dist/tex/latex/cmcyralt/glava.sty new file mode 100644 index 00000000000..53e670fa1e6 --- /dev/null +++ b/Master/texmf-dist/tex/latex/cmcyralt/glava.sty @@ -0,0 +1,24 @@ +% This package makes table of contents suitable for documents where chapters +% have no names (such as in most Russian books). By Victor Boyko +% (vb1890@cs.nyu.edu). 01/06/95. + +\def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne \if@mainmatter + \refstepcounter{chapter}% + \typeout{\@chapapp\space\thechapter.}% + \addcontentsline{toc}{chapter}% + {\chaptername{} {\thechapter}#1}% + \else + \addcontentsline{toc}{chapter}{#1}% + \fi + \else + \addcontentsline{toc}{chapter}{#1}% + \fi + \chaptermark{#1}% + \addtocontents{lof}{\protect\addvspace{10\p@}}% + \addtocontents{lot}{\protect\addvspace{10\p@}}% + \if@twocolumn + \@topnewpage[\@makechapterhead{#2}]% + \else + \@makechapterhead{#2}% + \@afterheading + \fi} diff --git a/Master/texmf-dist/tex/latex/cmcyralt/russian.sty b/Master/texmf-dist/tex/latex/cmcyralt/russian.sty new file mode 100644 index 00000000000..0e3470a241f --- /dev/null +++ b/Master/texmf-dist/tex/latex/cmcyralt/russian.sty @@ -0,0 +1,24 @@ +%% This package redefines several LaTeX defaults for printing Russian +%% documents in alternative encoding. Uses packages cmcyr and +%% indentfirst. By Victor Boyko (vb1890@cs.nyu.edu). 01/18/95. + +\RequirePackage{cmcyr} + +\def\today{\number\day\space\ifcase\month\or + января\or февраля\or марта\or апреля\or мая\or июня\or + июля\or августа\or сентября\or октября\or ноября\or декабря\fi, + \number\year} +\def\partname{Часть} +\def\chaptername{Глава} +\def\contentsname{Оглавление} +\def\listfigurename{Список рисунков} +\def\listtablename{Список таблиц} +\def\refname{Ссылки} +\def\bibname{Библиография} +\def\indexname{Индекс} +\def\figurename{Рисунок} +\def\tablename{Таблица} +\def\appendixname{Приложение} + +\frenchspacing +\RequirePackage{indentfirst} -- cgit v1.2.3