diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/forum/LY1Forum-LF.fd | 49 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/forum/OT1Forum-LF.fd | 49 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/forum/T1Forum-LF.fd | 49 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/forum/T2AForum-LF.fd | 49 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/forum/T2BForum-LF.fd | 49 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/forum/T2CForum-LF.fd | 49 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/forum/TS1Forum-LF.fd | 49 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/forum/forum.sty | 63 |
8 files changed, 406 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/forum/LY1Forum-LF.fd b/Master/texmf-dist/tex/latex/forum/LY1Forum-LF.fd new file mode 100644 index 00000000000..65137a0ee22 --- /dev/null +++ b/Master/texmf-dist/tex/latex/forum/LY1Forum-LF.fd @@ -0,0 +1,49 @@ +%% Generated by autoinst on 2019/06/18 +%% +\ProvidesFile{LY1Forum-LF.fd} + [2019/06/18 (autoinst) Font definitions for LY1/Forum-LF.] + +\expandafter\ifx\csname Forum@scale\endcsname\relax + \let\Forum@@scale\@empty +\else + \edef\Forum@@scale{s*[\csname Forum@scale\endcsname]}% +\fi + +\DeclareFontFamily{LY1}{Forum-LF}{} + + +% ---- regular ---- + +\DeclareFontShape{LY1}{Forum-LF}{regular}{n}{ + <-> \Forum@@scale Forum-lf-ly1 +}{} + + +% ---- bold ---- + +\DeclareFontShape{LY1}{Forum-LF}{bold}{n}{ + <-> \Forum@@scale Forum-Bold-lf-ly1 +}{} + +% +% Extra 'ssub' rules to map the standard NFSS codes to our fancy names +% + +% m --> regular + +\DeclareFontShape{LY1}{Forum-LF}{m}{n}{ + <-> ssub * Forum-LF/regular/n +}{} + + +% b --> bold + +\DeclareFontShape{LY1}{Forum-LF}{b}{n}{ + <-> ssub * Forum-LF/bold/n +}{} + +\DeclareFontShape{LY1}{Forum-LF}{bx}{n}{ + <-> ssub * Forum-LF/b/n +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/forum/OT1Forum-LF.fd b/Master/texmf-dist/tex/latex/forum/OT1Forum-LF.fd new file mode 100644 index 00000000000..9ae28904d4f --- /dev/null +++ b/Master/texmf-dist/tex/latex/forum/OT1Forum-LF.fd @@ -0,0 +1,49 @@ +%% Generated by autoinst on 2019/06/18 +%% +\ProvidesFile{OT1Forum-LF.fd} + [2019/06/18 (autoinst) Font definitions for OT1/Forum-LF.] + +\expandafter\ifx\csname Forum@scale\endcsname\relax + \let\Forum@@scale\@empty +\else + \edef\Forum@@scale{s*[\csname Forum@scale\endcsname]}% +\fi + +\DeclareFontFamily{OT1}{Forum-LF}{} + + +% ---- regular ---- + +\DeclareFontShape{OT1}{Forum-LF}{regular}{n}{ + <-> \Forum@@scale Forum-lf-ot1 +}{} + + +% ---- bold ---- + +\DeclareFontShape{OT1}{Forum-LF}{bold}{n}{ + <-> \Forum@@scale Forum-Bold-lf-ot1 +}{} + +% +% Extra 'ssub' rules to map the standard NFSS codes to our fancy names +% + +% m --> regular + +\DeclareFontShape{OT1}{Forum-LF}{m}{n}{ + <-> ssub * Forum-LF/regular/n +}{} + + +% b --> bold + +\DeclareFontShape{OT1}{Forum-LF}{b}{n}{ + <-> ssub * Forum-LF/bold/n +}{} + +\DeclareFontShape{OT1}{Forum-LF}{bx}{n}{ + <-> ssub * Forum-LF/b/n +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/forum/T1Forum-LF.fd b/Master/texmf-dist/tex/latex/forum/T1Forum-LF.fd new file mode 100644 index 00000000000..eab8ef20822 --- /dev/null +++ b/Master/texmf-dist/tex/latex/forum/T1Forum-LF.fd @@ -0,0 +1,49 @@ +%% Generated by autoinst on 2019/06/18 +%% +\ProvidesFile{T1Forum-LF.fd} + [2019/06/18 (autoinst) Font definitions for T1/Forum-LF.] + +\expandafter\ifx\csname Forum@scale\endcsname\relax + \let\Forum@@scale\@empty +\else + \edef\Forum@@scale{s*[\csname Forum@scale\endcsname]}% +\fi + +\DeclareFontFamily{T1}{Forum-LF}{} + + +% ---- regular ---- + +\DeclareFontShape{T1}{Forum-LF}{regular}{n}{ + <-> \Forum@@scale Forum-lf-t1 +}{} + + +% ---- bold ---- + +\DeclareFontShape{T1}{Forum-LF}{bold}{n}{ + <-> \Forum@@scale Forum-Bold-lf-t1 +}{} + +% +% Extra 'ssub' rules to map the standard NFSS codes to our fancy names +% + +% m --> regular + +\DeclareFontShape{T1}{Forum-LF}{m}{n}{ + <-> ssub * Forum-LF/regular/n +}{} + + +% b --> bold + +\DeclareFontShape{T1}{Forum-LF}{b}{n}{ + <-> ssub * Forum-LF/bold/n +}{} + +\DeclareFontShape{T1}{Forum-LF}{bx}{n}{ + <-> ssub * Forum-LF/b/n +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/forum/T2AForum-LF.fd b/Master/texmf-dist/tex/latex/forum/T2AForum-LF.fd new file mode 100644 index 00000000000..dcb4f3255cd --- /dev/null +++ b/Master/texmf-dist/tex/latex/forum/T2AForum-LF.fd @@ -0,0 +1,49 @@ +%% Generated by autoinst on 2019/06/18 +%% +\ProvidesFile{T2AForum-LF.fd} + [2019/06/18 (autoinst) Font definitions for T2A/Forum-LF.] + +\expandafter\ifx\csname Forum@scale\endcsname\relax + \let\Forum@@scale\@empty +\else + \edef\Forum@@scale{s*[\csname Forum@scale\endcsname]}% +\fi + +\DeclareFontFamily{T2A}{Forum-LF}{} + + +% ---- regular ---- + +\DeclareFontShape{T2A}{Forum-LF}{regular}{n}{ + <-> \Forum@@scale Forum-lf-t2a +}{} + + +% ---- bold ---- + +\DeclareFontShape{T2A}{Forum-LF}{bold}{n}{ + <-> \Forum@@scale Forum-Bold-lf-t2a +}{} + +% +% Extra 'ssub' rules to map the standard NFSS codes to our fancy names +% + +% m --> regular + +\DeclareFontShape{T2A}{Forum-LF}{m}{n}{ + <-> ssub * Forum-LF/regular/n +}{} + + +% b --> bold + +\DeclareFontShape{T2A}{Forum-LF}{b}{n}{ + <-> ssub * Forum-LF/bold/n +}{} + +\DeclareFontShape{T2A}{Forum-LF}{bx}{n}{ + <-> ssub * Forum-LF/b/n +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/forum/T2BForum-LF.fd b/Master/texmf-dist/tex/latex/forum/T2BForum-LF.fd new file mode 100644 index 00000000000..f60635c86a1 --- /dev/null +++ b/Master/texmf-dist/tex/latex/forum/T2BForum-LF.fd @@ -0,0 +1,49 @@ +%% Generated by autoinst on 2019/06/18 +%% +\ProvidesFile{T2BForum-LF.fd} + [2019/06/18 (autoinst) Font definitions for T2B/Forum-LF.] + +\expandafter\ifx\csname Forum@scale\endcsname\relax + \let\Forum@@scale\@empty +\else + \edef\Forum@@scale{s*[\csname Forum@scale\endcsname]}% +\fi + +\DeclareFontFamily{T2B}{Forum-LF}{} + + +% ---- regular ---- + +\DeclareFontShape{T2B}{Forum-LF}{regular}{n}{ + <-> \Forum@@scale Forum-lf-t2b +}{} + + +% ---- bold ---- + +\DeclareFontShape{T2B}{Forum-LF}{bold}{n}{ + <-> \Forum@@scale Forum-Bold-lf-t2b +}{} + +% +% Extra 'ssub' rules to map the standard NFSS codes to our fancy names +% + +% m --> regular + +\DeclareFontShape{T2B}{Forum-LF}{m}{n}{ + <-> ssub * Forum-LF/regular/n +}{} + + +% b --> bold + +\DeclareFontShape{T2B}{Forum-LF}{b}{n}{ + <-> ssub * Forum-LF/bold/n +}{} + +\DeclareFontShape{T2B}{Forum-LF}{bx}{n}{ + <-> ssub * Forum-LF/b/n +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/forum/T2CForum-LF.fd b/Master/texmf-dist/tex/latex/forum/T2CForum-LF.fd new file mode 100644 index 00000000000..ce15a673769 --- /dev/null +++ b/Master/texmf-dist/tex/latex/forum/T2CForum-LF.fd @@ -0,0 +1,49 @@ +%% Generated by autoinst on 2019/06/18 +%% +\ProvidesFile{T2CForum-LF.fd} + [2019/06/18 (autoinst) Font definitions for T2C/Forum-LF.] + +\expandafter\ifx\csname Forum@scale\endcsname\relax + \let\Forum@@scale\@empty +\else + \edef\Forum@@scale{s*[\csname Forum@scale\endcsname]}% +\fi + +\DeclareFontFamily{T2C}{Forum-LF}{} + + +% ---- regular ---- + +\DeclareFontShape{T2C}{Forum-LF}{regular}{n}{ + <-> \Forum@@scale Forum-lf-t2c +}{} + + +% ---- bold ---- + +\DeclareFontShape{T2C}{Forum-LF}{bold}{n}{ + <-> \Forum@@scale Forum-Bold-lf-t2c +}{} + +% +% Extra 'ssub' rules to map the standard NFSS codes to our fancy names +% + +% m --> regular + +\DeclareFontShape{T2C}{Forum-LF}{m}{n}{ + <-> ssub * Forum-LF/regular/n +}{} + + +% b --> bold + +\DeclareFontShape{T2C}{Forum-LF}{b}{n}{ + <-> ssub * Forum-LF/bold/n +}{} + +\DeclareFontShape{T2C}{Forum-LF}{bx}{n}{ + <-> ssub * Forum-LF/b/n +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/forum/TS1Forum-LF.fd b/Master/texmf-dist/tex/latex/forum/TS1Forum-LF.fd new file mode 100644 index 00000000000..e5bf487f339 --- /dev/null +++ b/Master/texmf-dist/tex/latex/forum/TS1Forum-LF.fd @@ -0,0 +1,49 @@ +%% Generated by autoinst on 2019/06/18 +%% +\ProvidesFile{TS1Forum-LF.fd} + [2019/06/18 (autoinst) Font definitions for TS1/Forum-LF.] + +\expandafter\ifx\csname Forum@scale\endcsname\relax + \let\Forum@@scale\@empty +\else + \edef\Forum@@scale{s*[\csname Forum@scale\endcsname]}% +\fi + +\DeclareFontFamily{TS1}{Forum-LF}{} + + +% ---- regular ---- + +\DeclareFontShape{TS1}{Forum-LF}{regular}{n}{ + <-> \Forum@@scale Forum-lf-ts1 +}{} + + +% ---- bold ---- + +\DeclareFontShape{TS1}{Forum-LF}{bold}{n}{ + <-> \Forum@@scale Forum-Bold-lf-ts1 +}{} + +% +% Extra 'ssub' rules to map the standard NFSS codes to our fancy names +% + +% m --> regular + +\DeclareFontShape{TS1}{Forum-LF}{m}{n}{ + <-> ssub * Forum-LF/regular/n +}{} + + +% b --> bold + +\DeclareFontShape{TS1}{Forum-LF}{b}{n}{ + <-> ssub * Forum-LF/bold/n +}{} + +\DeclareFontShape{TS1}{Forum-LF}{bx}{n}{ + <-> ssub * Forum-LF/b/n +}{} + +\endinput diff --git a/Master/texmf-dist/tex/latex/forum/forum.sty b/Master/texmf-dist/tex/latex/forum/forum.sty new file mode 100644 index 00000000000..ee525ac08be --- /dev/null +++ b/Master/texmf-dist/tex/latex/forum/forum.sty @@ -0,0 +1,63 @@ +\ProvidesPackage{forum}[% + 2019/06/18 (Bob Tennent) Supports Forum font for all LaTeX engines. ] + +\RequirePackage{ifxetex,ifluatex,textcomp} + +\newif\ifforum@ttf +\ifxetex + \forum@ttftrue +\else\ifluatex + \forum@ttftrue +\else % [pdf]LaTeX + \forum@ttffalse +\fi\fi + +\newcommand*{\Forum@scale}{1} +\RequirePackage{xkeyval} +\DeclareOptionX{scaled}{\renewcommand*{\Forum@scale}{#1}} +\DeclareOptionX{scale}{\renewcommand*{\Forum@scale}{#1}} + +\DeclareOptionX{type1}{\forum@ttffalse} + +\ProcessOptionsX\relax + +\ifforum@ttf + \RequirePackage{fontspec} +\else + \RequirePackage{fontenc,fontaxes,mweights} +\fi + +\ifforum@ttf + \ifxetex\XeTeXtracingfonts=1\fi + \defaultfontfeatures{ + Ligatures = TeX , + Extension = .ttf , + } + \setmainfont + [ UprightFont = *-Regular , + BoldFont = *-Bold, + ] + {Forum} + \newfontfamily\forum + [ UprightFont = *-Regular , + BoldFont = *-Bold, + ] + {Forum} + +\else % type1 + + \def\mdseries@rm{regular} + \def\bfseries@rm{bold} + \def\forumfamily{Forum-LF} + \renewcommand*\rmdefault{\forumfamily} + \newcommand*\forum{\fontfamily{\forumfamily}\selectfont} + +\fi + +% turn off defaults in case other fonts are selected: +\ifforum@ttf + \defaultfontfeatures{} +\fi + +\endinput + |