diff options
author | Karl Berry <karl@freefriends.org> | 2021-03-21 21:44:23 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-03-21 21:44:23 +0000 |
commit | 558ba54ab5ed0703a9b4417d9bd4a41b44957f50 (patch) | |
tree | 00f8eceb571b7895b8f58cb6e622199f8aa99973 /Master/texmf-dist/tex | |
parent | 0ff9026049fe57d6a2b4d8275cb43490e2848095 (diff) |
covington (21mar21) (branch)
git-svn-id: svn://tug.org/texlive/branches/branch2020.0@58598 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/covington/covington.sty | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/covington/covington.sty b/Master/texmf-dist/tex/latex/covington/covington.sty index 70edc42fb48..2bd80b03394 100644 --- a/Master/texmf-dist/tex/latex/covington/covington.sty +++ b/Master/texmf-dist/tex/latex/covington/covington.sty @@ -42,8 +42,8 @@ %%% Metadata %%% -\def\filedate{2020/01/02} -\def\fileversion{2.4} +\def\filedate{2021/03/21} +\def\fileversion{2.5} \def\filename{covington.sty} % Force redefinition of environments? @@ -71,6 +71,7 @@ % Required packages % \RequirePackage{xkeyval} +\RequirePackage{iftex} % Macro to issue warnings \newcommand\cov@warning[1]{% @@ -95,8 +96,10 @@ %%% Stacked accents %%% -% This is adapted from the \diatop macro in wsuipa.sty, which was -% originally designed by Jean-Pierre Paillet. +% This is adapted from the \diatop macro (designed by +% Mike Dunleavy, originally in cjlmac.sty, designed by +% Jean-Pierre Paillet) and included in wsuipa.sty +% (designed by Dean Guenther and Janene Winter). % Length to adjust accent distance % Introduced 2016-07-06 JSP. @@ -108,7 +111,7 @@ \setbox2=\hbox{{#2{}}}% \dimen0=\ifdim\wd1>\wd2\wd1\else\wd2\fi% \dimen1=\ht2\advance\dimen1by\twoaccsep% - \setbox1=\hbox to1\dimen0{\hss#1\hss}% + \setbox1=\hbox to1\dimen0{\hss#1{}\hss}% \rlap{\raise1\dimen1\box1}% \hbox to1\dimen0{\hss#2\hss}}}% @@ -119,14 +122,19 @@ \setbox2=\hbox{{#2{#3}}}% \dimen0=\ifdim\wd1>\wd2\wd1\else\wd2\fi% \dimen1=\ht2\advance\dimen1by\twoaccsep% - \setbox1=\hbox to1\dimen0{\hss#1\hss}% + \setbox1=\hbox to1\dimen0{\hss#1{}\hss}% \rlap{\raise1\dimen1\box1}% \hbox to1\dimen0{\hss#2{#3}\hss}}} % Special cases: -\def\acm#1{\twodias{\'}{\=}{#1}} % acute over macron -\def\grm#1{\twodias{\`}{\=}{#1}} % grave over macron -\def\cim#1{\twodias{\^}{\=}{#1}} % circumflex over macron +\def\acm#1{\twodias{\'}{\=}{#1}} % acute over macron +\def\grm#1{\twodias{\`}{\=}{#1}} % grave over macron +% Use MODIFIER LETTER CIRCUMFLEX ACCENT (U+2C6) with Xe/LuaTeX +\iftutex + \def\cim#1{\twodias{\char"2C6}{\=}{#1}} % circumflex over macron +\else + \def\cim#1{\twodias{\^}{\=}{#1}} % circumflex over macron +\fi %%% %%% Example numbering |