Skip to content

Commit

Permalink
Added JunicodeVF.sty (LuaLaTeX package for variable font); revisions …
Browse files Browse the repository at this point in the history
…to Junicode.sty.
psb1558 committed Dec 6, 2023
1 parent 64fb385 commit cde1fc9
Showing 6 changed files with 1,326 additions and 1 deletion.
11 changes: 10 additions & 1 deletion TeX/Junicode.sty
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
%
% fonttype: Choose otf (the default) or ttf
%
% lining: Default numbers will be lining (uppecase)
% lining: Default numbers will be lining (uppercase)
% oldstyle: Default numbers will be oldstyle (lowercase)
% proportional: Default numbers will be proportional
% tabular: Default numbers will be tabular (monospaced)
@@ -21,6 +21,15 @@

\RequirePackage{ifxetex,ifluatex,xkeyval}

\newif\ifjunicodeokay
\ifxetex
\junicodeokaytrue
\else\ifluatex
\junicodeokaytrue
\else
\PackageError{Junicode}{This package works only with LuaLaTeX or XeLaTeX}{}
\fi

% Choose the type of font: otf or ttf.

\newcommand*{\junicode@fonttype}{otf}
Loading

0 comments on commit cde1fc9

Please sign in to comment.