diff options
author | Karl Berry <karl@freefriends.org> | 2010-09-13 16:39:55 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-09-13 16:39:55 +0000 |
commit | a2a5d98db8396925801d7f3ea385465f1f633609 (patch) | |
tree | cfa82f2b6aa6409958e229cb2911f6a2c11a77dc /Master/texmf-dist/tex/latex/electrum/electrum.sty | |
parent | fccd8f0291441a23b2f120a0c516ebee7cfdd047 (diff) |
new font electrum(adf) (22jul10)
git-svn-id: svn://tug.org/texlive/trunk@19705 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/electrum/electrum.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/electrum/electrum.sty | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/electrum/electrum.sty b/Master/texmf-dist/tex/latex/electrum/electrum.sty new file mode 100644 index 00000000000..ff9086e8021 --- /dev/null +++ b/Master/texmf-dist/tex/latex/electrum/electrum.sty @@ -0,0 +1,35 @@ +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{electrum}[2010/07/17 v1.0 electrum] +\RequirePackage{xkeyval} +\RequirePackage[T1]{fontenc} +\RequirePackage{textcomp} +\UndeclareTextCommand{\textperthousand}{T1} +\RequirePackage{nfssext-cfr} +%:boolkeys for ligature/swash encoding as default +\define@boolkey{electrum.sty}[electrum@]{lig}[true]{% + \ifelectrum@lig + \def\electrum@lig{w}% + \else + \def\electrum@lig{}% + \fi} +%:boolkeys for roman osf/lf +\define@boolkey{electrum.sty}[electrum@]{osf}[true]{% + \ifelectrum@osf + \def\electrum@lfosf{j}% + \else + \def\electrum@lfosf{}% + \fi} +\define@boolkey{electrum.sty}[electrum@]{lf}[true]{% + \ifelectrum@lf + \def\electrum@lfosf{}% + \else + \def\electrum@lfosf{j}% + \fi} +%:defaults to ensure everything is defined to something +\ExecuteOptionsX{lig=false,osf=true} +%:options override defaults +\ProcessOptionsX +%:make ElectrumADF default roman font, implementing options for ligature/swash encoding and lf/osf as applicable +\renewcommand{\rmdefault}{yes\electrum@lfosf\electrum@lig}% +\endinput +%% end electrum.sty |