summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/substitutefont
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-08-14 20:21:51 +0000
committerKarl Berry <karl@freefriends.org>2023-08-14 20:21:51 +0000
commite5188617e19ae25465913790ff4c6b4ba8a2316b (patch)
tree3b2b6a7e04b48fc37227844887ac6284da151270 /Master/texmf-dist/tex/latex/substitutefont
parenta630c126677af5ff62f794d8ac24daa43e0edb16 (diff)
rm substitutefont, obsolete on CTAN
git-svn-id: svn://tug.org/texlive/trunk@67929 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/substitutefont')
-rw-r--r--Master/texmf-dist/tex/latex/substitutefont/substitutefont.sty80
1 files changed, 0 insertions, 80 deletions
diff --git a/Master/texmf-dist/tex/latex/substitutefont/substitutefont.sty b/Master/texmf-dist/tex/latex/substitutefont/substitutefont.sty
deleted file mode 100644
index 1960c8cff9f..00000000000
--- a/Master/texmf-dist/tex/latex/substitutefont/substitutefont.sty
+++ /dev/null
@@ -1,80 +0,0 @@
-% Easy font substitution
-% **********************
-%
-% :Copyright: © 2010 Günter Milde
-%
-% :Contributor: Special thanks to Ulrike Fischer who provided
-% the indirect definition with active ``\nfss@catcodes``.
-%
-% :Licence: This work may be distributed and/or modified under the
-% conditions of the `LaTeX Project Public License`_, either
-% version 1.3 of this license or any later version.
-%
-% :Abstract: Provide the ``\substitutefont`` macro for defining
-% substitute fonts for specified font encodings.
-%
-% :Identification:
-% ::
-
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{substitutefont}
-[2012/07/07 v0.1.3 combine font families]
-
-% Changelog:
-% .. class:: borderless
-%
-% ============ ===== =================================================
-% 2010-11-04 0.1 initial version
-% 2012-04-30 0.1.1 documentation update, upload to CTAN
-% 2012-07-05 0.1.2 documentation/example update
-% 2012-07-07 0.1.3 bugfix (comment usage example)
-% 2013-11-04 0.1.4 documentation update
-% ============ ===== =================================================
-%
-%
-% Usage
-% =====
-%
-% The macro ``\substitutefont{<encoding>}{<family>}{<new-family>}``
-% selects the font <new-family> as replacement for <family> if the font
-% encoding is <encoding> in the variants "normal", "italic", "slanted",
-% and "small-caps" and the shapes "medium", "bold", and "bold-extended".
-%
-% Example:
-% Palatino with the standard package `mathpazo`_ for Latin and
-% `GFS Didot`_ for Greek:
-%
-% .. code:: latex
-%
-% \usepackage[sc,slantedGreek]{mathpazo}
-% \usepackage{substitutefont}
-% \substitutefont{LGR}{\rmdefault}{udidot}
-%
-%
-% Implementation
-% ==============
-% ::
-
-\begingroup
-\nfss@catcodes
-\newcommand*{\substitutefont}[3]{%
- \DeclareFontFamily{#1}{#2}{}
- \DeclareFontShape{#1}{#2}{m}{n}{<->ssub * #3/m/n}{}
- \DeclareFontShape{#1}{#2}{m}{it}{<->ssub * #3/m/it}{}
- \DeclareFontShape{#1}{#2}{m}{sl}{<->ssub * #3/m/sl}{}
- \DeclareFontShape{#1}{#2}{m}{sc}{<->ssub * #3/m/sc}{}
- \DeclareFontShape{#1}{#2}{b}{n}{<->ssub * #3/b/n}{}
- \DeclareFontShape{#1}{#2}{b}{it}{<->ssub * #3/b/it}{}
- \DeclareFontShape{#1}{#2}{b}{sl}{<->ssub * #3/b/sl}{}
- \DeclareFontShape{#1}{#2}{b}{sc}{<->ssub * #3/b/sc}{}
- \DeclareFontShape{#1}{#2}{bx}{n}{<->ssub * #3/bx/n}{}
- \DeclareFontShape{#1}{#2}{bx}{it}{<->ssub * #3/bx/it}{}
- \DeclareFontShape{#1}{#2}{bx}{sl}{<->ssub * #3/bx/sl}{}
- \DeclareFontShape{#1}{#2}{bx}{sc}{<->ssub * #3/bx/sc}{}
-}
-\global\let\substitutefont\substitutefont
-\endgroup
-
-% .. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt
-% .. _GFS Didot: http://mirror.ctan.org/help/Catalogue/entries/gfsdidot.html
-% .. _mathpazo: http://www.ctan.org/pkg/mathpazo