From dd0d081462a3fa63368e0f0ec875e097c883c361 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 10 Oct 2019 21:58:46 +0000 Subject: shipunov with -shipunov postfix for new .sty (8oct19) git-svn-id: svn://tug.org/texlive/trunk@52334 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/latex/shipunov/add2-shipunov.sty | 49 +++++++++++++++++ Master/texmf-dist/tex/latex/shipunov/altverse.sty | 2 +- Master/texmf-dist/tex/latex/shipunov/autolist.sty | 2 +- Master/texmf-dist/tex/latex/shipunov/biokey.sty | 63 ++++++++++++---------- Master/texmf-dist/tex/latex/shipunov/biolist.sty | 2 +- Master/texmf-dist/tex/latex/shipunov/boldline.sty | 2 +- Master/texmf-dist/tex/latex/shipunov/cassete.cls | 4 +- Master/texmf-dist/tex/latex/shipunov/classif2.sty | 7 +-- .../tex/latex/shipunov/dline-shipunov.sty | 37 +++++++++++++ Master/texmf-dist/tex/latex/shipunov/drcaps.sty | 2 +- Master/texmf-dist/tex/latex/shipunov/etiketka.cls | 22 +++++--- Master/texmf-dist/tex/latex/shipunov/flower.sty | 12 +++-- Master/texmf-dist/tex/latex/shipunov/isyntax.sty | 2 + Master/texmf-dist/tex/latex/shipunov/numerus.sty | 20 ++++--- Master/texmf-dist/tex/latex/shipunov/punct.sty | 6 +-- .../tex/latex/shipunov/qqru-shipunov.sty | 56 +++++++++++++++++++ Master/texmf-dist/tex/latex/shipunov/sltables.sty | 6 +-- Master/texmf-dist/tex/latex/shipunov/starfn.sty | 2 +- .../tex/latex/shipunov/textfrac-shipunov.sty | 14 +++++ 19 files changed, 243 insertions(+), 67 deletions(-) create mode 100644 Master/texmf-dist/tex/latex/shipunov/add2-shipunov.sty create mode 100644 Master/texmf-dist/tex/latex/shipunov/dline-shipunov.sty create mode 100644 Master/texmf-dist/tex/latex/shipunov/qqru-shipunov.sty create mode 100644 Master/texmf-dist/tex/latex/shipunov/textfrac-shipunov.sty (limited to 'Master/texmf-dist/tex/latex/shipunov') diff --git a/Master/texmf-dist/tex/latex/shipunov/add2-shipunov.sty b/Master/texmf-dist/tex/latex/shipunov/add2-shipunov.sty new file mode 100644 index 00000000000..171efdf1671 --- /dev/null +++ b/Master/texmf-dist/tex/latex/shipunov/add2-shipunov.sty @@ -0,0 +1,49 @@ +% Author: Alexey Shipunov, dactylorhiza@gmail.com + +\ProvidesPackage{add2}% + [2019/10/03 v1.01 Save trees: fit as many as possible into the page] + +\newif\if@LND % landscape +\DeclareOption{land}{\@LNDtrue} +\DeclareOption{port}{\@LNDfalse} +\newif\if@CLUB % to get rid of widow and orphan lines +\DeclareOption{club}{\@CLUBtrue} +\DeclareOption{noclub}{\@CLUBfalse} + +\ExecuteOptions{port,club} +\ProcessOptions + +\if@CLUB\else + +\clubpenalty=10000 +\widowpenalty=10000 +\brokenpenalty=10000 + +\fi + +\topmargin=-2cm +\headheight=0cm +\headsep=.5cm + +\renewcommand{\baselinestretch}{.95} + +\if@LND + + \message{WARNING: Landscape mode!} + \textwidth=26cm + \footskip=1cm + \textheight=18.5cm + \oddsidemargin=-2.5cm + \evensidemargin=-2.5cm + +\else + + \textheight=25.5cm + \footskip=.5cm + \textwidth=19cm + \oddsidemargin=-1.25cm + \evensidemargin=-1.75cm + +\fi + +\endinput \ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/shipunov/altverse.sty b/Master/texmf-dist/tex/latex/shipunov/altverse.sty index 83b6359b53a..a0cbbf53487 100644 --- a/Master/texmf-dist/tex/latex/shipunov/altverse.sty +++ b/Master/texmf-dist/tex/latex/shipunov/altverse.sty @@ -1,4 +1,4 @@ -% Author: Alexey B. Shipunov, plantago@herba.msu.ru +% Author: Alexey Shipunov, dactylorhiza@gmail.com \ProvidesPackage{altverse} [2008/02/15 v0.3 Typesetting simple verses with `xtab' package] diff --git a/Master/texmf-dist/tex/latex/shipunov/autolist.sty b/Master/texmf-dist/tex/latex/shipunov/autolist.sty index d4f32b8a1dc..e0eb2d39e14 100644 --- a/Master/texmf-dist/tex/latex/shipunov/autolist.sty +++ b/Master/texmf-dist/tex/latex/shipunov/autolist.sty @@ -1,4 +1,4 @@ -% Authors: A. Shipunova and A. Shipunov, plantago@herba.msu.ru +% Authors: Anna Shipunova and Alexey Shipunov, dactylorhiza@gmail.com \ProvidesPackage{autolist}% [2010/10/24 v0.4 Various lists] diff --git a/Master/texmf-dist/tex/latex/shipunov/biokey.sty b/Master/texmf-dist/tex/latex/shipunov/biokey.sty index ef88da239e2..f34f79bb152 100644 --- a/Master/texmf-dist/tex/latex/shipunov/biokey.sty +++ b/Master/texmf-dist/tex/latex/shipunov/biokey.sty @@ -1,7 +1,14 @@ -% Author: Alexey B. Shipunov (plantago@herba.msu.ru) +% Author: Alexey Shipunov, dactylorhiza@gmail.com \ProvidesPackage{biokey}% - [2008/02/11 v3.1 Typesetting biological identification keys] + [2019/10/02 v.3.11 Typesetting biological identification keys] + +% 20191002 \ZZZ updated, \DD added +% 20150911 \Ver@T added to make keys more readable +% 20150912 Alien stuff removed, \FK supplied with the short vertical space +% 20150913 Antitheses aligned better now, comments' breaks adjusted +% 20150916 Better aligment for backtrack links +% 20150920 'biokey' environment resets theses counter (if hyperref is used, specify 'hypertexnames=false') \newlength\TML@a \newlength\TML@b @@ -29,7 +36,8 @@ \penalty800\dbox@fill\penalty400% \vadjust{}\penalty10000\dbox@fil} \def\T#1\par{{\dot@leaders\SHRIFTN{#1}\par}\par} -% `Automatically' paragraph aligment +\def\TT#1\par{{\dot@leaders\SHRIFTN{#1}\par}\par} +% `Automatic' paragraph aligment \def\TTTT#1\par{{\tolerance 9999 \dot@leaders\SHRIFTN{#1}\par}\par} % Old style reference @@ -58,10 +66,6 @@ \def\NNN#1\par{{\nopagebreak\par% \Indent@C\SHRIFTN{#1}\par}\par} -% PUNCTS -% Common punct -\let\TT=\T - % Hanging punct \def\VT{\@ifstar{\H@P}{\H@@P}} % Leaders stopped on right margin of text @@ -78,22 +82,24 @@ % Lengths (hang = 2em) \settowidth{\TML@b}{\SHRIFTZ{.}} -\TML@a=1.5em +\TML@a=1.6em % found visually \addtolength{\TML@a}{-\TML@b} -\addtolength{\TML@b}{0.5em} +\addtolength{\TML@b}{0.6em} % found visually +\def\Ver@T{\vspace{.5\baselineskip}} \def\Indent@T{\hangindent2em\noindent} \def\OTSTUP{2em} \def\Indent@C{\parindent\OTSTUP\hangindent\parindent} % Common thesa -\def\Z#1. {\Indent@T\makebox[1.5em][r]% +\def\Z#1. {\Ver@T\Indent@T\makebox[1.5em][r]% {\SHRIFTZ{#1.}}\hspace{0.5em}} % Thesa with back reference -\def\ZZ#1(#2).{\Indent@T\makebox[\TML@a][r]% +\def\ZZ#1(#2).{\Ver@T\Indent@T\makebox[\TML@a][r]% {\SHRIFTZ{#1}}\hspace{0.45em}\SHRIFTZ{(#2).}} % Antitheses -\def\ZZZ#1{\Indent@T\makebox[\TML@a][r]% - {#1}\hspace{\TML@b}} +\def\ZZZ#1{\Indent@T\makebox[1.5em][r]{#1}% older variant: \makebox[\TML@a][r] + \hspace{0.5em}} % to make exactly 2em box like in \TE and \SE + % First \def\AN{\ZZZ{$-$}} % You can replace it to $+$ @@ -104,21 +110,21 @@ \def\AAAN{\ZZZ{$\equiv$}} % COMMENTS -\def\FK#1\par{{\nopagebreak\smallskip% +\def\FK#1\par{{\nopagebreak\vspace{.1\baselineskip}\nopagebreak% \Indent@C% \footnotesize#1\par\smallskip}} % You can use it as `numberless thesa' -\def\KOM#1\par{{\nopagebreak\smallskip% +\def\KOM#1\par{{\nopagebreak\Ver@T% \Indent@C#1\par\smallskip}} -% Comment for object -\def\VPRAVO#1 \par{{\nopagebreak\vskip-\parskip +% Comment for the object +\def\VPRAVO#1 \par{{\nopagebreak\vskip-\parskip\nopagebreak% \hbox to \linewidth {\hfil #1}\par}} -% AUTOMATICAL KEYS -\def\TEZA#1{\refstepcounter{TMC@Ba}\label{#1}% +% AUTOMATIC KEYS +\def\TEZA#1{\Ver@T\refstepcounter{TMC@Ba}\label{#1}% \Indent@T\makebox[1.5em][r]% {\SHRIFTZ{\arabic{TMC@Ba}.}}\hspace{0.5em}\ignorespaces} -\def\STEZA#1#2{\refstepcounter{TMC@Ba}\label{#1}% +\def\STEZA#1#2{\Ver@T\refstepcounter{TMC@Ba}\label{#1}% \Indent@T\makebox[\TML@a][r]% {\SHRIFTZ{\arabic{TMC@Ba}}}\hspace{0.45em}\SHRIFTZ{(\ref{#2}).}} \def\SSYLKA#1{\T\ref{#1}.} @@ -126,8 +132,9 @@ \let\TE\TEZA \let\SE\STEZA \let\SS\SSYLKA +\def\DD#1{\T\ref{#1}.} % this is fo the case when \SS does not work -% LEVELED KEYS +% IDENTED KEYS \newenvironment{SDVIG}[1][1] {\TML@c=#1em \let\TML@@c\TML@c \def\Indent@T{\hangindent=2em\parindent=0em @@ -140,8 +147,7 @@ \let\LE\SDVIG \let\endLE\endSDVIG -% KEYS WITH MARKERS ON LEFT PAGE MARGIN - +% KEYS WITH MARKERS ON THE LEFT PAGE MARGIN \if@MARG \def\Indent@C{\relax}% \def\Z#1. {\noindent\makebox[0em][r]% @@ -154,11 +160,10 @@ \else\relax \fi -% Some useful stuff -\let\K=\textit -\let\J=\textbf -\def\KN#1 {\textit{#1 }} -\def\NN#1 #2 {\textit{#1 #2 }} -\def\IN#1.#2.{#1.\,#2.~\ignorespaces} +% ENVIRONMENT WHICH RESETS THESES COUNTER +% If hyperref used, requires option "hypertexnames=false" +\newenvironment{biokey}{% + \setcounter{TMC@Ba}{0}% + \relax} \endinput diff --git a/Master/texmf-dist/tex/latex/shipunov/biolist.sty b/Master/texmf-dist/tex/latex/shipunov/biolist.sty index 986bfa73569..d673ab173fe 100644 --- a/Master/texmf-dist/tex/latex/shipunov/biolist.sty +++ b/Master/texmf-dist/tex/latex/shipunov/biolist.sty @@ -1,4 +1,4 @@ -% Author: Alexey B. Shipunov (plantago@herba.msu.ru) +% Author: Alexey Shipunov, dactylorhiza@gmail.com \ProvidesPackage{biolist}% [2008/02/06 v0.1 Typesetting species lists for floras (and faunas)] diff --git a/Master/texmf-dist/tex/latex/shipunov/boldline.sty b/Master/texmf-dist/tex/latex/shipunov/boldline.sty index 28a830ebb18..dc42a039e32 100644 --- a/Master/texmf-dist/tex/latex/shipunov/boldline.sty +++ b/Master/texmf-dist/tex/latex/shipunov/boldline.sty @@ -1,4 +1,4 @@ -% Author: Alexey B. Shipunov (plantago@herba.msu.ru) +% Author: Alexey Shipunov, dactylorhiza@gmail.com \ProvidesPackage{boldline}% [2008/02/04 v0.2 Adjust line width in tables] diff --git a/Master/texmf-dist/tex/latex/shipunov/cassete.cls b/Master/texmf-dist/tex/latex/shipunov/cassete.cls index afe5a7d9c6b..1c81b08f56b 100644 --- a/Master/texmf-dist/tex/latex/shipunov/cassete.cls +++ b/Master/texmf-dist/tex/latex/shipunov/cassete.cls @@ -1,8 +1,8 @@ -% Author: A. Shipunov (plantago@herba.msu.ru) +% Author: Alexey Shipunov, dactylorhiza@gmail.com \NeedsTeXFormat{LaTeX2e} \ProvidesClass{cassete} - [2008/02/05 v0.2 Labels for audiocassetes] + [2008/02/05 v0.2 Labels for audiocassettes] \DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} \ProcessOptions\relax diff --git a/Master/texmf-dist/tex/latex/shipunov/classif2.sty b/Master/texmf-dist/tex/latex/shipunov/classif2.sty index c1bd6eedac9..c4313ec0222 100644 --- a/Master/texmf-dist/tex/latex/shipunov/classif2.sty +++ b/Master/texmf-dist/tex/latex/shipunov/classif2.sty @@ -1,14 +1,11 @@ -% Author: Alexey B. Shipunov (plantago@herba.msu.ru) +% Author: Alexey Shipunov, dactylorhiza@gmail.com \ProvidesPackage{classif2}% [2008/02/10 v2.2 Layout for biological classifications] -% Todo: Detailed comments and documentation - -% Changes: % 2002/04/15 \IHOOK added (for indent justification) % 2007/06/23 Infraregnum added -% 2007/07/26 Improved for numeric ranges +% 2007/07/26 Improved for numeric ranges % 2008/02/06 Abbreviations added \newif\if@Names diff --git a/Master/texmf-dist/tex/latex/shipunov/dline-shipunov.sty b/Master/texmf-dist/tex/latex/shipunov/dline-shipunov.sty new file mode 100644 index 00000000000..657b8032fcd --- /dev/null +++ b/Master/texmf-dist/tex/latex/shipunov/dline-shipunov.sty @@ -0,0 +1,37 @@ +% Author: Alexey Shipunov, dactylorhiza@gmail.com + +\ProvidesPackage{dline} + [2019/10/03 v1.01 Double line on the left of text, based on "lineno" and "bframe"] + +\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{lineno}} +\ProcessOptions* +\RequirePackage{lineno} + +\newbox\dlinebox + +% In principle, this is possible to redefiine... +\newdimen\dlinerule \dlinerule=\fboxrule +\newdimen\ddlinerule \ddlinerule=3\fboxrule +\newdimen\dlinesep \dlinesep=3\fboxsep +\newdimen\ddlinesep \ddlinesep=\fboxsep + +\newenvironment{dline} + {\par + \@tempdima\textwidth + \advance\@tempdima 2\dlinesep + \setbox\dlinebox\hbox to\textwidth{% + \hskip-\dlinesep + \vrule\@width\dlinerule\@height\baselineskip\@depth\ddlinesep + \hskip-\ddlinesep + \vrule\@width\ddlinerule\@height\baselineskip\@depth\ddlinesep + }% + \nobreak + \runninglinenumbers + \def\makeLineNumber{\copy\dlinebox\hss}% + } + {\par + \@tempdima\textwidth + \advance\@tempdima 2\dlinesep + } + +\endinput diff --git a/Master/texmf-dist/tex/latex/shipunov/drcaps.sty b/Master/texmf-dist/tex/latex/shipunov/drcaps.sty index 0c010a19674..c212717a62c 100644 --- a/Master/texmf-dist/tex/latex/shipunov/drcaps.sty +++ b/Master/texmf-dist/tex/latex/shipunov/drcaps.sty @@ -1,4 +1,4 @@ -% Author: Alexey B. Shipunov (plantago@herba.msu.ru) +% Author: Alexey Shipunov, dactylorhiza@gmail.com \ProvidesPackage{drcaps}% [2008/02/05 v0.2 Various drop caps] diff --git a/Master/texmf-dist/tex/latex/shipunov/etiketka.cls b/Master/texmf-dist/tex/latex/shipunov/etiketka.cls index fea5932fbef..f617ceaddb0 100644 --- a/Master/texmf-dist/tex/latex/shipunov/etiketka.cls +++ b/Master/texmf-dist/tex/latex/shipunov/etiketka.cls @@ -1,7 +1,7 @@ -% Author: Alexey B. Shipunov (plantago@herba.msu.ru) +% Author: Alexey Shipunov, dactylorhiza@gmail.com \ProvidesClass{etiketka}% - [2008/02/16 v2.7 Herbarium labels] + [2013/01/18 v2.9 Herbarium labels] \newif\if@NOL \newcounter{etiketka@} @@ -17,8 +17,8 @@ \LoadClass{article} -% SPECIFIC LAYOUT -\topmargin-14mm +% DEFAULT LAYOUT (TO CHANGE, USE geometry PACKAGE) +\topmargin-9mm \headheight0mm \headsep0mm \textheight254mm @@ -101,23 +101,31 @@ \vspace*{1.2em}} % NAMES -% You can input something as \Name Plantago {} {} +% One can input something as \Name Plantago {} {} % Empty line after required! \def\Name#1 #2 #3\par{{\NameStyle \textit{#1 #2} #3\par}% \vspace*{-.7\baselineskip} \NameRule \vspace*{.2cm}} -% Anonimous label + +% Anonymous label % Empty line after required! \def\Without{\Name {\rule{0pt}{1ex}} {} {}} +% Empty line after required! +\def\NameFam#1 #2 #3|#4\par{{\NameStyle + \textit{#1 #2} #3 #4\par}% + \vspace*{-.7\baselineskip} + \NameRule + \vspace*{.2cm}} + % REGION, DISTRICT AND LOCAL ADDRESS % Empty line after required! \def\Dist#1\par{{\parindent 2em\hangindent 2em#1\par}} \def\Loc#1\par{{\parindent 4em\hangindent 4em#1\par}} -% COORDINATES +% COORDINATES IN DEGREES \def\CGrad#1#2{#1$^\circ$ \East, #2$^\circ$ \North{}} \def\CMin#1#2#3#4{#1$^\circ$~#2$^\prime$ \East, diff --git a/Master/texmf-dist/tex/latex/shipunov/flower.sty b/Master/texmf-dist/tex/latex/shipunov/flower.sty index 558f177ff70..d9dbcbb522d 100644 --- a/Master/texmf-dist/tex/latex/shipunov/flower.sty +++ b/Master/texmf-dist/tex/latex/shipunov/flower.sty @@ -1,7 +1,9 @@ -% Author: Alexey B. Shipunov (plantago@herba.msu.ru) +% Author: Alexey Shipunov, dactylorhiza@gmail.com \ProvidesPackage{flower}% - [2010/10/24 v1.3 Typesetting botanical sings] + [2019/10/03 v1.31 Typesetting botanical sings] + +% 20191002 symmetry signs are now 'mathpunct', to ensure space after them % Fonts `wasy' required \DeclareRobustCommand\wasyfamily @@ -17,11 +19,11 @@ % Hermafroditic \def\Herm{\mbox{\ensuremath{\Mal}\kern-.82em\lower.27ex\hbox{\ensuremath{\Fem}}\kern.2em}} % Asymmetry -\DeclareMathSymbol{\Asx}{\mathord}{WASY}{"12} +\DeclareMathSymbol{\Asx}{\mathpunct}{WASY}{"12} % Actinomorphy -\DeclareMathSymbol{\Act}{\mathord}{WASY}{"42} +\DeclareMathSymbol{\Act}{\mathpunct}{WASY}{"42} % Zygomorphy -\DeclareMathSymbol{\Zyg}{\mathord}{symbols}{"22} +\DeclareMathSymbol{\Zyg}{\mathpunct}{symbols}{"22} % NEW SYMMETRY SIGNS FROM Prenner et al., 2010 % Median monosymmetry (downwards arrow; Unicode: 2193): \downarrow diff --git a/Master/texmf-dist/tex/latex/shipunov/isyntax.sty b/Master/texmf-dist/tex/latex/shipunov/isyntax.sty index 3163b0d5fa1..72dd7a50c86 100644 --- a/Master/texmf-dist/tex/latex/shipunov/isyntax.sty +++ b/Master/texmf-dist/tex/latex/shipunov/isyntax.sty @@ -1,3 +1,5 @@ +% Author: Alexey Shipunov, dactylorhiza@gmail.com + \ProvidesPackage{isyntax} [2008/02/07 v0.3 Interactive syntax check] diff --git a/Master/texmf-dist/tex/latex/shipunov/numerus.sty b/Master/texmf-dist/tex/latex/shipunov/numerus.sty index 038ef56ba0f..58d3d6b7a20 100644 --- a/Master/texmf-dist/tex/latex/shipunov/numerus.sty +++ b/Master/texmf-dist/tex/latex/shipunov/numerus.sty @@ -1,7 +1,10 @@ -% Author: Alexey B. Shipunov (plantago@herba.msu.ru) +% Author: Alexey Shipunov, dactylorhiza@gmail.com +% Russian encoding below: Windows-1251 \ProvidesPackage{numerus}% - [2008/02/07 v1.2 Spell numbers in Russian words] + [2019/10/03 v1.21 Spell numbers in Russian words] + +% 20191003: "numeral" -> "numerus" %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % @@ -19,6 +22,9 @@ % <Число>: цифра < 999 для порядковых числительных и < 999999 для % % количественных, или счетчик, принимающий аналогичные % % значения % +% ВНИМАНИЕ: пакет не работает с оглавлениями и % +% с более чем однобайтовыми кодировками % +% порядковые номера больше 999 не поддерживаются % % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % @@ -83,19 +89,19 @@ \fi\fi\fi\fi\fi\fi} % Ошибки -\def\Oshibka@Arg{\PackageWarning{numeral}{% +\def\Oshibka@Arg{\PackageWarning{numerus}{% `propis' got wrong mandatory argument!^^J% Command did not executed}} -\def\Oshibka@Otr{\PackageWarning{numeral}{% +\def\Oshibka@Otr{\PackageWarning{numerus}{% `propis' got argument < 0!^^J% Command did not executed}} -\def\Oshibka@Tys{\PackageWarning{numeral}{% -Ordinal numerals > 999 not supported :(^^J% +\def\Oshibka@Tys{\PackageWarning{numerus}{% +Ordinal numeruss > 999 not supported :(^^J% Command did not executed}} -\def\Ошибка@Mill{\PackageWarning{numeral}{% +\def\Ошибка@Mill{\PackageWarning{numerus}{% `propis' got argument > 999 999!^^J% Command did not executed}} diff --git a/Master/texmf-dist/tex/latex/shipunov/punct.sty b/Master/texmf-dist/tex/latex/shipunov/punct.sty index 84c3c2692e9..f0ac8dae03d 100644 --- a/Master/texmf-dist/tex/latex/shipunov/punct.sty +++ b/Master/texmf-dist/tex/latex/shipunov/punct.sty @@ -1,9 +1,9 @@ -% Author: Alexey B. Shipunov (plantago@herba.msu.ru) +% Author: Alexey Shipunov, dactylorhiza@gmail.com \ProvidesPackage{punct}% - [2008/02/06 v0.3 Straight punctuation with italic text] + [2008/02/06 v0.3 Straight punctuation within italic text] -% Catcodes redefined! May be dangerous... +% ATTENTION! Catcodes redefined---this might be dangerous! \def\PUNactive{% \let\Z@P=,% diff --git a/Master/texmf-dist/tex/latex/shipunov/qqru-shipunov.sty b/Master/texmf-dist/tex/latex/shipunov/qqru-shipunov.sty new file mode 100644 index 00000000000..5697764dce3 --- /dev/null +++ b/Master/texmf-dist/tex/latex/shipunov/qqru-shipunov.sty @@ -0,0 +1,56 @@ +% Author: Alexey B. Shipunov (dactylorhiza@gmail.com) +% Companion Perl script: txt2qq.pl + +\ProvidesPackage{qqru}% + [2019/10/04 v0.32 Universal quotes for Russian and English] + +\newif\if@QQRU +\DeclareOption{ru}{\@QQRUtrue} +\DeclareOption{en}{\@QQRUfalse} +\newif\if@CONVERT +\DeclareOption{convert}{\@CONVERTtrue} +\DeclareOption{noconvert}{\@CONVERTfalse} + +\ExecuteOptions{ru,nconvert} +\ProcessOptions + +\if@QQRU + + \def\<{<<} + \def\>{>>} + +\else + + \def\<{``} + \def\>{''} + +\fi + +\if@CONVERT + +{% +\catcode`\"=\active +\catcode`\@=11 +\gdef\beginconvertquotes{% + \global\catcode`\"=\active + \global\chardef\dq=`\" + \global\let\dblqu@te=L + } +\gdef"{% + \ifinner\else\ifvmode\let\dblqu@te=L\fi\fi + \if L\dblqu@te\<\global\let\dblqu@te=R% + \else + \let\xxx=\spacefactor + \>\global\let\dblqu@te=L% + \spacefactor\xxx + \fi + } +} + +\gdef\endconvertquotes{% + \catcode`\"=12 + } + +\AtBeginDocument{\beginconvertquotes} + +\else\fi diff --git a/Master/texmf-dist/tex/latex/shipunov/sltables.sty b/Master/texmf-dist/tex/latex/shipunov/sltables.sty index f75fdfdb15f..b6238e86785 100644 --- a/Master/texmf-dist/tex/latex/shipunov/sltables.sty +++ b/Master/texmf-dist/tex/latex/shipunov/sltables.sty @@ -1,11 +1,11 @@ -% Modified from the original sources by A. Shipunov (plantago@herba.msu.ru) +% Modified from the original LaTeX 2.09 sources by Alexey Shipunov, dactylorhiza@gmail.com \ProvidesPackage{sltables} [2008/02/07 v1.2 S-Tables LaTeX package] -%% Some modifications to LaTeX: -%% Add LaTeX 2.09 counter +% Some modifications to LaTeX: aded LaTeX 2.09 counter \newcount\mscount + % % S-Tables Macro v1.0, ACS, TAMU (RANHELP@VENUS.TAMU.EDU) % diff --git a/Master/texmf-dist/tex/latex/shipunov/starfn.sty b/Master/texmf-dist/tex/latex/shipunov/starfn.sty index e70be056141..7f703bc272a 100644 --- a/Master/texmf-dist/tex/latex/shipunov/starfn.sty +++ b/Master/texmf-dist/tex/latex/shipunov/starfn.sty @@ -1,4 +1,4 @@ -% Author: Alexey B. Shipunov (plantago@herba.msu.ru) +% Author: Alexey Shipunov, dactylorhiza@gmail.com \ProvidesPackage{starfn}% [2008/02/16 v0.4 Footnote marks as stars on each page: Russian typographic tradition] diff --git a/Master/texmf-dist/tex/latex/shipunov/textfrac-shipunov.sty b/Master/texmf-dist/tex/latex/shipunov/textfrac-shipunov.sty new file mode 100644 index 00000000000..6f48fc79b82 --- /dev/null +++ b/Master/texmf-dist/tex/latex/shipunov/textfrac-shipunov.sty @@ -0,0 +1,14 @@ +% Author: Alexey Shipunov, dactylorhiza@gmail.com + +\ProvidesPackage{textfrac}% + [2019/10/03 v1.01 Simple slanted fractions, see TeXbook, ex. 11.6] + +% Packages "nicefrac" and "xfrac" might be better + +\ProvidesPackage{textfrac} + +\def\textfrac#1/#2{\leavevmode\kern.1em +\raise.5ex\hbox{\scriptsize #1}\kern-.1em +/\kern-.15em\lower.25ex\hbox{\scriptsize #2}} + +\def\TextFrac#1#2{\textfrac{#1}/{#2}} -- cgit v1.2.3