diff options
author | Karl Berry <karl@freefriends.org> | 2021-07-30 20:15:57 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-07-30 20:15:57 +0000 |
commit | c5b0b7223927e0d1ed15233367e14940f33d044a (patch) | |
tree | d55098f52591dfb53faa3c6b11af9e7ad9e1261b /Master/texmf-dist/tex/latex/projlib/ProjLib.sty | |
parent | d716afa974239e84535924a3485ace7d2f979bb1 (diff) |
projlib (30jul21)
git-svn-id: svn://tug.org/texlive/trunk@60118 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/projlib/ProjLib.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/projlib/ProjLib.sty | 30 |
1 files changed, 26 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/projlib/ProjLib.sty b/Master/texmf-dist/tex/latex/projlib/ProjLib.sty index 041ef32ba4f..0c0c6865538 100644 --- a/Master/texmf-dist/tex/latex/projlib/ProjLib.sty +++ b/Master/texmf-dist/tex/latex/projlib/ProjLib.sty @@ -17,7 +17,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2020-10-01] \ProvidesPackage{ProjLib} - [2021/07/27 The collective interface of ProjLib toolkit] + [2021/07/30 The collective interface of ProjLib toolkit] \RequirePackage{kvoptions} \RequirePackage{etoolbox} \SetupKeyvalOptions{ @@ -30,14 +30,20 @@ \DeclareBoolOption[false]{amsfashion} \DeclareBoolOption[false]{nothms} \DeclareBoolOption[false]{nothmnum} -\DeclareBoolOption[false]{regionalref} +\DeclareStringOption{thmnum}[PJL@thmnum@default] +\DeclareBoolOption[true]{regionalref} +\DeclareBoolOption[false]{originalref} \DeclareBoolOption[false]{useosf} \DeclareBoolOption[false]{palatino} \DeclareBoolOption[false]{times} \DeclareBoolOption[false]{garamond} +\DeclareBoolOption[false]{noto} \DeclareBoolOption[false]{biolinum} \ProcessKeyvalOptions*\relax +\if@ProjLib@originalref + \@ProjLib@regionalreffalse +\fi \if@ProjLib@draft \@ProjLib@fasttrue \fi @@ -54,8 +60,15 @@ \if@ProjLib@nothmnum \PassOptionsToPackage{nothmnum}{PJLthm} \fi -\if@ProjLib@regionalref - \PassOptionsToPackage{regionalref}{PJLthm} +\expandafter\ifstrempty\expandafter{\@ProjLib@thmnum}{}{ + \expandafter\ifstrequal\expandafter{\@ProjLib@thmnum}{PJL@thmnum@default}{ + \PassOptionsToPackage{thmnum}{PJLthm} + }{ + \PassOptionsToPackage{thmnum=\@ProjLib@thmnum}{PJLthm} + } +} +\if@ProjLib@regionalref\else + \PassOptionsToPackage{originalref}{PJLthm} \fi \if@ProjLib@amsfashion @@ -106,6 +119,15 @@ \PJLsetlinespacing{\setstretch{1.00}} \fi +\if@ProjLib@noto + \if@ProjLib@useosf + \PassOptionsToPackage{oldstyle}{notomath} + \fi + \RequirePackage{anyfontsize} + \RequirePackage{notomath} + \PJLsetlinespacing{\setstretch{1.00}} +\fi + \if@ProjLib@biolinum % \RequirePackage{amssymb} % \RequirePackage{mathpazo} |