diff options
author | Norbert Preining <norbert@preining.info> | 2021-04-20 03:00:55 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-04-20 03:00:55 +0000 |
commit | d65c208b161ffee9ce5343fdfdb17d00523cecae (patch) | |
tree | 6829c46d8881891365b9be3fb660dba3ca79e6f5 /macros/optex/base/f-antt.opm | |
parent | 272d21375e83d59014b6591075291d172bbfa007 (diff) |
CTAN sync 202104200300
Diffstat (limited to 'macros/optex/base/f-antt.opm')
-rw-r--r-- | macros/optex/base/f-antt.opm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/macros/optex/base/f-antt.opm b/macros/optex/base/f-antt.opm new file mode 100644 index 0000000000..39d3d011ea --- /dev/null +++ b/macros/optex/base/f-antt.opm @@ -0,0 +1,32 @@ +%% This is part of the OpTeX project, see http://petr.olsak.net/optex + +\_famdecl [Antykwa Torunska] \Antt {Traditional Polish font family} + {\cond \medium \light \caps} {\rm \bf \it \bi} {Pagella} + {[AntykwaTorunska-Regular]} + {\_def\_fontnamegen {[AntykwaTorunska\_sfamxV\_sfamyV-\_currV]:script=latn;\_capsV\_fontfeatures}} + +\_wlog{\_detokenize{% +Modifiers:^^J + \caps ...... caps & small caps^^J + \cond ...... condensed^^J + \medium .... medium weight^^J + \light ..... light weight^^J + \cond ...... condensed^^J +}} + +\_moddef \resetmod {\_fsetV sfamx={},sfamy={},caps={} \_fvars Regular Bold Italic BoldItalic } +\_moddef \cond {\_fsetV sfamx=Cond \_fvars Regular . Italic . + \_onlyif sfamy={}: {\_fvars Regular Bold Italic BoldItalic }} +\_moddef \medium {\_fsetV sfamy=Med \_fvars Regular . Italic . } +\_moddef \light {\_fsetV sfamy=Light \_fvars Regular . Italic . } +\_moddef \caps {\_fsetV caps=+smcp;+onum; } + +\_initfontfamily % new font family must be initialized + +\_loadmath{[texgyrepagella-math]} + +\_endcode + +See the file `f-heros.opm` for information about principles of such +font-macro-files. + |