From c5bfc4fa90f5f685dc7447fc0aada582042eb57a Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 13 Oct 2022 20:35:26 +0000 Subject: heros-otf (13oct22) git-svn-id: svn://tug.org/texlive/trunk@64695 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/fonts/heros-otf/Changes | 1 + Master/texmf-dist/doc/fonts/heros-otf/README.md | 13 + .../doc/fonts/heros-otf/heros-otf-doc.pdf | Bin 0 -> 267251 bytes .../doc/fonts/heros-otf/heros-otf-doc.tex | 964 +++++++++++++++++++++ .../texmf-dist/tex/latex/heros-otf/heros-otf.sty | 449 ++++++++++ Master/tlpkg/bin/tlpkg-ctan-check | 4 +- Master/tlpkg/libexec/ctan2tds | 2 + Master/tlpkg/tlpsrc/collection-fontsextra.tlpsrc | 2 + Master/tlpkg/tlpsrc/heros-otf.tlpsrc | 0 9 files changed, 1433 insertions(+), 2 deletions(-) create mode 100644 Master/texmf-dist/doc/fonts/heros-otf/Changes create mode 100644 Master/texmf-dist/doc/fonts/heros-otf/README.md create mode 100644 Master/texmf-dist/doc/fonts/heros-otf/heros-otf-doc.pdf create mode 100644 Master/texmf-dist/doc/fonts/heros-otf/heros-otf-doc.tex create mode 100644 Master/texmf-dist/tex/latex/heros-otf/heros-otf.sty create mode 100644 Master/tlpkg/tlpsrc/heros-otf.tlpsrc diff --git a/Master/texmf-dist/doc/fonts/heros-otf/Changes b/Master/texmf-dist/doc/fonts/heros-otf/Changes new file mode 100644 index 00000000000..62429a3cab9 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/heros-otf/Changes @@ -0,0 +1 @@ +0.01 2022-10-13 - first CTAN version diff --git a/Master/texmf-dist/doc/fonts/heros-otf/README.md b/Master/texmf-dist/doc/fonts/heros-otf/README.md new file mode 100644 index 00000000000..1221787ab70 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/heros-otf/README.md @@ -0,0 +1,13 @@ +# README # +Package heros-otf supports the free TeX Gyre font Heros (sans serif) +as OpenType and defines all missing typefaces. There is no math support +and for pdflatex use package newpx instead. + +% This file is distributed under the terms of the LaTeX Project Public +% License from CTAN archives in directory macros/latex/base/lppl.txt. +% Either version 1.3 or, at your option, any later version. +% +% + +% Copyright 2022 Herbert Voss hvoss@tug.org + diff --git a/Master/texmf-dist/doc/fonts/heros-otf/heros-otf-doc.pdf b/Master/texmf-dist/doc/fonts/heros-otf/heros-otf-doc.pdf new file mode 100644 index 00000000000..52fd81c03a7 Binary files /dev/null and b/Master/texmf-dist/doc/fonts/heros-otf/heros-otf-doc.pdf differ diff --git a/Master/texmf-dist/doc/fonts/heros-otf/heros-otf-doc.tex b/Master/texmf-dist/doc/fonts/heros-otf/heros-otf-doc.tex new file mode 100644 index 00000000000..44c091d9098 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/heros-otf/heros-otf-doc.tex @@ -0,0 +1,964 @@ +%% $Id: heros-otf-doc.tex 624 2022-10-13 09:18:22Z herbert $ +\listfiles +\documentclass[ngerman,spanish,polish,english,a4paper]{article} +\usepackage[default]{heros-otf} +%\renewcommand\familydefault{\sfdefault} + +\setmonofont[Scale=MatchLowercase,FakeStretch=0.88]{DejaVu Sans Mono} +\usepackage{babel} +\usepackage{geometry} +\usepackage{booktabs} +\usepackage{xltabular} +\usepackage{listings} +\usepackage{xspace} +\usepackage{setspace} +\usepackage{xltabular} +\usepackage{marginnote} +\usepackage{xcolor,url} +\usepackage{varioref,multido} +\newcommand\Macro[1]{\texttt{\textbackslash#1}} +\newcommand\textstyleVariable[1]{\texttt{#1}} +\newcommand\textgerman[1]{\foreignlanguage{ngerman}{\texttt{#1}}} +\usepackage{hvextern} +\lstset{basicstyle=\ttfamily\small} +%\setkeys{hv}{lstOptions={basicstyle=\Mono\small,columns=fixed}} +\setkeys{hv}{moveToExampleDir,ExampleDir=Examples,showFilename,verbose} + +\usepackage[imakeidx]{xindex} +\makeindex[title=Index] + +\newenvironment{demoquote} + {\begingroup + \setlength{\topsep}{0pt} + \setlength{\partopsep}{0pt} + \list{}{\rightmargin\leftmargin}% + \item\relax} + {\endlist\endgroup} + +\def\Lcs#1{\texttt{\textbackslash#1}\index{#1@\texttt{\textbackslash#1}}} +\def\Largb#1{\texttt{\{}\textit{#1}\texttt{\}}} +\def\Lpack#1{\texttt{#1}\index{#1@\texttt{#1}}\index{Package!#1@\texttt{#1}}} +\def\Loption#1{\texttt{#1}\index{#1@\texttt{#1}}\index{Option!#1@\texttt{#1}}} +\def\testfeature#1#2#3{{\fontspec[RawFeature={+#2}]{#1}#3\relax}} +\def\SUP{\addfontfeatures{RawFeature={+sups}}} + +\usepackage{multicol,luacode} +\setlength{\columnsep}{0.3cm} +\setlength{\columnseprule}{0.1pt} + + +\title{The \TeX\ Gyre Heros OpenType font} +\author{Herbert Voß} +\usepackage{parskip} +\parindent=0pt + + +\begin{document} +\maketitle + + +\section{The default setting} + +The \LaTeX\ package \Lpack{heros-otf} for the sans serif font \TeX\ Gyre Heros supports the following OpenType fonts: +\begin{verbatim} +texgyreheros-regular.otf +texgyreheros-bold.otf +texgyreheros-italic.otf +texgyreheros-bolditalic.otf +texgyreheroscn-regular.otf +texgyreheroscn-bold.otf +texgyreheroscn-italic.otf +texgyreheroscn-bolditalic.otf +\end{verbatim} + +The fonts are free available and part of any \TeX-distribution. By default the package defines its using +only for \Lcs{sffamily}. If you want it as main font then load the package with the option \Loption{default}. + +%Family: TeXGyreHerosCn +%Subfamily: Regular +%Full name: TeXGyreHerosCondensed-Regular +%PostScript name: TeXGyreHerosCondensed-Regular +%Preferred family: TeX Gyre Heros Cn + + +\begin{verbatim} +\setmainfont{texgyreheros}[ + RawFeature = {\heros@figurealign;\heros@figurestyle}, + Scale = \herosRM@scale , + UprightFont = *-regular, + ItalicFont = *-italic, + ItalicFeatures = { SmallCapsFont = *-italic }, + SlantedFont = *-regular, + SlantedFeatures= {FakeSlant=0.2}, + BoldFont = *-bold, + BoldFeatures = { SmallCapsFont = *-Bold }, + BoldItalicFont = *-bolditalic, + BoldItalicFeatures = { SmallCapsFont = *-bolditalic }, + BoldSlantedFont= *-bold, + BoldSlantedFeatures= {FakeSlant=0.2, SmallCapsFont = *-bold }, + SmallCapsFont = *-regular, +% SmallCapsFeatures={RawFeature=+smcp}, + SmallCapsFeatures={Letters=SmallCaps}, + Extension = .otf +] + +\newfontfamily\herosOsF{texgyreheros}[ + RawFeature = {+onum}, + Scale = \herosRM@scale , + UprightFont = *-regular, + ItalicFont = *-italic, + ItalicFeatures = { SmallCapsFont = *-italic }, + SlantedFont = *-regular, + SlantedFeatures= {FakeSlant=0.2}, + BoldFont = *-bold, + BoldFeatures = { SmallCapsFont = *-Bold }, + BoldItalicFont = *-bolditalic, + BoldItalicFeatures = { SmallCapsFont = *-bolditalic }, + BoldSlantedFont= *-bold, + BoldSlantedFeatures= {FakeSlant=0.2, SmallCapsFont = *-bold }, + SmallCapsFont = *-regular, +% SmallCapsFeatures={RawFeature=+smcp}, + SmallCapsFeatures={Letters=SmallCaps}, + Extension = .otf +] + +\newfontfamily\herosTLF{texgyreheros}[ + RawFeature = {+tnum;-onum}, + Scale = \herosRM@scale , + UprightFont = *-regular, + ItalicFont = *-italic, + ItalicFeatures = { SmallCapsFont = *-italic }, + SlantedFont = *-regular, + SlantedFeatures= {FakeSlant=0.2}, + BoldFont = *-bold, + BoldFeatures = { SmallCapsFont = *-Bold }, + BoldItalicFont = *-bolditalic, + BoldItalicFeatures = { SmallCapsFont = *-bolditalic }, + BoldSlantedFont= *-bold, + BoldSlantedFeatures= {FakeSlant=0.2, SmallCapsFont = *-bold }, + SmallCapsFont = *-regular, +% SmallCapsFeatures={RawFeature=+smcp}, + SmallCapsFeatures={Letters=SmallCaps}, + Extension = .otf +] +\end{verbatim} + + +\newpage +\section{Examples} + +%\subsection{Normal size} +\selectlanguage{polish} +\marginnote{mdseries\\upright} +Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty +opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie +urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj +wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano +ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię +Taka Albo tace Usta pęk ucha. + +{\marginnote{\Lcs{heroscn}\\mdseries\\upright}\heroscn +Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty +opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie +urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj +wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano +ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię +Taka Albo tace Usta pęk ucha.\par} + +\marginnote{\normalfont bfseries\\upright}\bfseries +Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty +opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie +urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj +wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano +ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię +Taka Albo tace Usta pęk ucha. + +{\marginnote{\normalfont\Lcs{heroscn}\\bfseries\\upright}\heroscn\bfseries +Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty +opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie +urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj +wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano +ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię +Taka Albo tace Usta pęk ucha.\par} + + +\marginnote{\normalfont mdseries\\itshape}\normalfont\itshape +Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty +opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie +urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj +wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano +ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię +Taka Albo tace Usta pęk ucha. + +{\marginnote{\normalfont\Lcs{heroscn}\\ mdseries\\itshape}\normalfont\heroscn\itshape +Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty +opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie +urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj +wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano +ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię +Taka Albo tace Usta pęk ucha.\par} + + + +\marginnote{\normalfont bfseries\\itshape}\bfseries +Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty +opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie +urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj +wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano +ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię +Taka Albo tace Usta pęk ucha. + + +{\marginnote{\normalfont \Lcs{heroscn}\\bfseries\\itshape}\heroscn\bfseries +Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty +opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie +urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj +wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano +ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię +Taka Albo tace Usta pęk ucha.\par} + +\normalfont +\marginnote{\normalfont mdseries\\slshape}\normalfont\slshape +Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty +opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie +urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj +wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano +ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię +Taka Albo tace Usta pęk ucha. + + +{\marginnote{\normalfont\Lcs{heroscn}\\mdseries\\slshape}\normalfont\heroscn\slshape +Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty +opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie +urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj +wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano +ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię +Taka Albo tace Usta pęk ucha.\par} + + +\marginnote{\normalfont bfseries\\slshape}\bfseries +Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty +opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie +urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj +wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano +ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię +Taka Albo tace Usta pęk ucha. + + +{\marginnote{\normalfont\Lcs{heroscn}\\bfseries\\slshape}\heroscn\bfseries +Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty +opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie +urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj +wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano +ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię +Taka Albo tace Usta pęk ucha.\par} + + +\normalfont +\marginnote{\normalfont mdseries\\upright\\scshape}\scshape +Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty +opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie +urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj +wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano +ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię +Taka Albo tace Usta pęk ucha. + + +{\marginnote{\normalfont\Lcs{herosc}\\mdseries\\upright\\scshape}\heroscn\scshape +Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty +opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie +urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj +wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano +ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię +Taka Albo tace Usta pęk ucha.\par} + + +\marginnote{\normalfont bfseries\\upright\\scshape}\bfseries +Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty +opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie +urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj +wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano +ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię +Taka Albo tace Usta pęk ucha. + + +{\marginnote{\normalfont\Lcs{heroscn}\\bfseries\\upright\\scshape}\heroscn\bfseries +Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty +opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie +urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj +wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano +ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię +Taka Albo tace Usta pęk ucha.\par} + + +\mdseries +\marginnote{\normalfont mdseries\\itshape\\scshape}\itshape +Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty +opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie +urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj +wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano +ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię +Taka Albo tace Usta pęk ucha. + + +{\marginnote{\normalfont\Lcs{heroscn}\\mdseries\\itshape\\scshape}\heroscn\itshape +Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty +opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie +urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj +wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano +ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię +Taka Albo tace Usta pęk ucha.\par} + + +\marginnote{\normalfont bfseries\\itshape\\scshape}\bfseries +Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty +opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie +urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj +wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano +ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię +Taka Albo tace Usta pęk ucha. + +{\marginnote{\normalfont\Lcs{heroscn}\\bfseries\\itshape\\scshape}\heroscn\bfseries +Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty +opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie +urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj +wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano +ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię +Taka Albo tace Usta pęk ucha.\par} + + +\marginnote{\normalfont mdseries\\slshape\\scspape}\mdseries\slshape +Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty +opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie +urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj +wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano +ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię +Taka Albo tace Usta pęk ucha. + +{\marginnote{\normalfont\Lcs{heroscn}\\mdseries\\slshape\\scspape}\heroscn\mdseries\slshape +Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty +opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie +urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj +wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano +ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię +Taka Albo tace Usta pęk ucha.\par} + +\marginnote{\normalfont bfseries\\slshape\\scspape}\bfseries +Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty +opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie +urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj +wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano +ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię +Taka Albo tace Usta pęk ucha. + +{\marginnote{\normalfont\Lcs{heroscn}\\bfseries\\slshape\\scspape}\heroscn\bfseries +Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty +opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie +urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj +wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano +ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię +Taka Albo tace Usta pęk ucha.\par} + + +\newpage + +\normalfont\normalsize +\heros +\selectlanguage{english} +\section{Package options} + +Possible optional arguments are + +\noindent +\begin{tabular}{@{} >{\ttfamily}l l @{}} +default & use Heros as \Lcs{familydefault} (main font)\\ +condensed & use the condensed font as main font\\ +oldstyle, osf & old-style figures \\ +lining, nf, lf & lining figures (default)\\ +proportional, p & varying-width figures\\ +tabular, t & fixed-width figures (default)\\ +ScaleSF & scaling for the serif font, preset to 1\\ +defaultfeatures & presetting of features only for rmfamily\\ +\end{tabular} + + + +%\lstset{extendedchars} + +\begin{externalDocument}[ +% grfOptions={width=0.5\linewidth}, + frame, + compiler=lualatex, + crop, + force=true, + runs=2, + code, + docType=latex, + frame, + showFilename, + ExampleDir=Examples, +% align=\centering, +% lstOptions={columns=flexible} +]{Heros} +\documentclass{article} +\pagestyle{empty} +%StartVisiblePreamble +\usepackage[default,osf]{heros-otf} +%StopVisiblePreamble +\begin{document} +0000111122223333444455556666777788889999\par abcdefghijklmn +\end{document} +\end{externalDocument} + + +\begin{externalDocument}[ +% grfOptions={width=0.5\linewidth}, + compiler=lualatex, + crop, + force=true, + runs=1, + code, + docType=latex, + frame, +% showFilename, +% align=\centering, +%lstOptions={columns=flexible} +]{Heros} +\documentclass{article} +\pagestyle{empty} +%StartVisiblePreamble +\usepackage[default,lining]{heros-otf} +%StopVisiblePreamble +\begin{document} +0000111122223333444455556666777788889999\par +\addfontfeatures{RawFeature=-lnum;+onum} +0000111122223333444455556666777788889999 +\end{document} +\end{externalDocument} + + + + +\begin{externalDocument}[ + frame, + compiler=lualatex, + crop, + force=true, + runs=1, + code, + docType=latex, + frame, +% showFilename, +% align=\centering, +%lstOptions={columns=flexible} + ]{Heros} +\documentclass{article} +\pagestyle{empty} +%StartVisiblePreamble +\usepackage[default,t=false]{heros-otf} +%StopVisiblePreamble +\begin{document} +0000111122223333444455556666777788889999\par +\addfontfeatures{RawFeature=+tnum}%L +0000111122223333444455556666777788889999 +\end{document} +\end{externalDocument} + + + + + + +\begin{externalDocument}[ +% grfOptions={width=0.5\linewidth}, + frame,compiler=lualatex, + crop, + force=true, + runs=2,code,docType=latex, + frame, +% showFilename, +% align=\centering, +% lstOptions={columns=flexible} +]{Heros} +\documentclass{article} +\pagestyle{empty} +%StartVisiblePreamble +\usepackage[default,p]{heros-otf} +%StopVisiblePreamble +\begin{document} +0000111122223333444455556666777788889999\par +\addfontfeatures{RawFeature=-pnum}% +0000111122223333444455556666777788889999 +\end{document} +\end{externalDocument} + +\section{Features} + + +\begin{lstlisting}[basicstyle=\ttfamily\small] +bash-3.2$ otfinfo -f texgyreheros-regular.otf +aalt Access All Alternates +c2sc Small Capitals From Capitals +cpsp Capital Spacing +dlig Discretionary Ligatures +frac Fractions +kern Kerning +liga Standard Ligatures +lnum Lining Figures +onum Oldstyle Figures +pnum Proportional Figures +salt Stylistic Alternates +size Optical Size +smcp Small Capitals +ss01 Stylistic Set 1 +ss02 Stylistic Set 2 +ss03 Stylistic Set 3 +ss04 Stylistic Set 4 +tnum Tabular Figures +zero Slashed Zero +\end{lstlisting} +%$ + + +\subsection{Capitals to Small Caps} + +The macro \Lcs{Lctosc}\Largb{arg} is for a local change of \emph{arg} and \Lcs{LCtoSC+} and \Lcs{LCtoSC-} for +a global change of capitals to small caps. + +\begin{externalDocument}[ +% grfOptions={width=0.5\linewidth}, + frame,compiler=lualatex, + crop, + force=true, + runs=2,code,docType=latex, + frame, +% showFilename, +% align=\centering, +% lstOptions={columns=flexible} +]{Heros} +\documentclass{article} +\pagestyle{empty} +\parindent=0pt +%StartVisiblePreamble +\usepackage[default]{heros-otf} +\usepackage{xcolor} +%StopVisiblePreamble +\begin{document} +Heros Font ŐŰÉÁÄ \Lctosc{Heros Font ŐŰÉÁÄ}\\ +\LCtoSC+ Heros Font ŐŰÉÁÄ +\end{document} +\end{externalDocument} + + + +\subsection{Capitals to Small Caps and small captitals} + +The macro \Lcs{Lctosmcp}\Largb{arg} is for a local change of \emph{arg} and \Lcs{LCtoSMCP+} and \Lcs{LCtoSMCP-} for +a global change of capitals to small caps. + +\begin{externalDocument}[ +% grfOptions={width=0.5\linewidth}, + frame,compiler=lualatex, + crop, + force=true, + runs=2,code,docType=latex, + frame, +% showFilename, +% align=\centering, +% lstOptions={columns=flexible} +]{Heros} +\documentclass{article} +\pagestyle{empty} +\parindent=0pt +%StartVisiblePreamble +\usepackage[default]{heros-otf} +\usepackage{xcolor} +%StopVisiblePreamble +\begin{document} +Heros Font ŐŰÉÁÄ \Lctosmcp{Heros Font ŐŰÉÁÄ}\\ +\LCtoSMCP+ Heros Font ŐŰÉÁÄ +\end{document} +\end{externalDocument} + +\subsection{Ligatures} + +The macros \Lcs{Lliga}\Largb{arg} (standard ligatures), \Lcs{Lhlig}\Largb{arg} (historical ligatures), +\Lcs{Ldlig}\Largb{arg} (discretionary ligatures) +are for a local change of \emph{arg} and \Lcs{LLIGA+}/\Lcs{LLIGA-}, \Lcs{LHLIG+}/\Lcs{LHLIG-}, and \Lcs{LDLIG+}/\Lcs{LDIG-} for +a global change of capitals to small caps relative to the current group. + +\begin{externalDocument}[ +% grfOptions={width=0.5\linewidth}, + frame,compiler=lualatex, + crop, + force=true, + runs=2,code,docType=latex, + frame, +% showFilename, +% align=\centering, +% lstOptions={columns=flexible} +]{Heros} +\documentclass{article} +\pagestyle{empty} +\parindent=0pt +%StartVisiblePreamble +\usepackage[default]{heros-otf} +\usepackage{xcolor} +%StopVisiblePreamble +\begin{document}%\LLIGA+ % Default +ff, fi, ffi, fl + +\LLIGA- ff, fi, ffi, fl +\end{document} +\end{externalDocument} + + + + +\subsection{Capital spacing, uppercase kerning} + +\begin{externalDocument}[ +% grfOptions={width=0.5\linewidth}, + frame,compiler=lualatex, + crop, + force=true, + runs=2,code,docType=latex, + frame, +% showFilename, +% align=\centering, +% lstOptions={columns=flexible} +]{Heros} +\documentclass{article} +\pagestyle{empty} +\parindent=0pt +%StartVisiblePreamble +\usepackage[default]{heros-otf} +\usepackage{xcolor} +%StopVisiblePreamble +\begin{document} +IN THE BEGINNING GOD CREATED THE HEAVENS AND THE EARTH.\\ +\textcolor{red}{\Lcpsp{IN THE BEGINNING GOD CREATED THE HEAVENS AND THE EARTH.}} + +\makebox[0pt][l]{IN THE BEGINNING GOD CREATED THE HEAVENS AND THE EARTH.}% +\textcolor{red}{\LCPSP IN THE BEGINNING GOD CREATED THE HEAVENS AND THE EARTH.} +\end{document} +\end{externalDocument} + + +\subsection{Stylistic Alternates} + +The macro \Lcs{Lsalt}\Largb{arg} is for a local change of \emph{arg} and \Lcs{LSALT+} and \Lcs{LSALT-} for +the alternate characters. + +\begin{externalDocument}[ +% grfOptions={width=0.5\linewidth}, + frame,compiler=lualatex, + crop, + force=true, + runs=2,code,docType=latex, + usefancyvrb, + frame, +% showFilename, +% align=\centering, +% lstOptions={columns=flexible} +]{Heros} +\documentclass{article} +\pagestyle{empty} +\parindent=0pt +%StartVisiblePreamble +\usepackage[default]{heros-otf} +%StopVisiblePreamble +\begin{document} +θκφ \quad \Lsalt{θκφ} \quad\LSALT+ θκφ \quad\LSALT- θκφ +\end{document} +\end{externalDocument} + + +% ss01 Stylistic Set 1 +% ss02 Stylistic Set 2 +% ss03 Stylistic Set 3 +% ss04 Stylistic Set 4 +% ss10 Stylistic Set 10 + +\subsection{Stylistic Sets} + +\iffalse + + + + + +¡“¶¢[]|{}≠¿' +«∑€®†Ω¨⁄øπ•± +å‚∂ƒ©ªº∆@œæ +\≈ç√∫~µ∞…– +--- +≥¬”#£fi^\˜·¯˙˚ +»„‰¸˝ˇÁÛØ∏°’ +ÅÍ™ÏÌÓıˆflŒÆ +‡ÙÇ◊‹›˘˛÷— +\fi + +There is a short command \Lcs{Lssxx}\Largb{text} for the seven stylistic sets, where xx is the number of the set (two digits) +and \textit{text} the local argument: + +\begin{externalDocument}[ +% grfOptions={width=0.5\linewidth}, + frame,compiler=lualatex, + crop, + force=true, + usefancyvrb, + runs=2,code,docType=latex, + frame, +% showFilename, +% align=\centering, +% lstOptions={columns=flexible} +]{Heros} +\documentclass{article} +\pagestyle{empty} +\parindent=0pt +%StartVisiblePreamble +\usepackage[default]{heros-otf} +%StopVisiblePreamble +\begin{document} +εμφ πρθ Īī@©⁄¶® ̄ $\rightarrow$ \Lss01{εμφ πρθ Īī@©⁄¶® ̄}\par +@©⁄¶® $\rightarrow$ \Lss02{@©⁄¶®}\par +εμφπρθ $\rightarrow$ \Lss03{εμφ πρθ}\par +Īī̄ $\rightarrow$ \Lss04{Īī̄}\par +\end{document} +\end{externalDocument} + +For a global change of the stylistic set one can use the command \Lcs{LSSxx}, where xx +is again the number of the set. + +\begin{externalDocument}[ +% grfOptions={width=0.5\linewidth}, + frame,compiler=lualatex, + crop, + usefancyvrb, + force=true, + runs=2,code,docType=latex, + frame, +% showFilename, +% align=\centering, +% lstOptions={columns=flexible} +]{Heros} +\documentclass{article} +\pagestyle{empty} +%StartVisiblePreamble +\usepackage[default]{heros-otf} +%StopVisiblePreamble +\begin{document} +εμφ πρθ Īī@©⁄¶® ̄ $\rightarrow$ \LSS01 εμφ πρθ Īī@©⁄¶® ̄ +\end{document} +\end{externalDocument} + + + +\begin{externalDocument}[ + frame,compiler=lualatex, + crop, + force=true, + usefancyvrb, + runs=2,code,docType=latex, + frame, +% lstOptions={columns=flexible} +]{Heros} +\documentclass{article} +\pagestyle{empty} +%StartVisiblePreamble +\usepackage[default]{heros-otf} +%StopVisiblePreamble +\begin{document} +@©⁄¶® $\rightarrow$ \LSS02 @©⁄¶® +\end{document} +\end{externalDocument} + +\iffalse +≤¡“¶¢[]|{}≠¿' +«∑€®†Ω¨⁄øπ•± +å‚∂ƒ©ªº∆@œæ +\≈ç√∫~µ∞…– +--- +≥¬”#£fi^\˜·¯˙˚ +»„‰¸˝ˇÁÛØ∏°’ +ÅÍ™ÏÌÓıˆflŒÆ +‡ÙÇ◊‹›˘˛÷— +\fi + + + +\begin{externalDocument}[ + frame,compiler=lualatex, + crop, + force=true, + usefancyvrb, + runs=2,code,docType=latex, + frame, +% lstOptions={columns=flexible} +]{Heros} +\documentclass{article} +\pagestyle{empty} +%StartVisiblePreamble +\usepackage[default]{heros-otf} +%StopVisiblePreamble +\begin{document} +εφπρθμ $\rightarrow$ \LSS03 εφπρθμ +\end{document} +\end{externalDocument} + + + +\begin{externalDocument}[ +% grfOptions={width=0.5\linewidth}, + frame,compiler=lualatex, + crop, + usefancyvrb, + force=true, + runs=2,code,docType=latex, + frame, +% showFilename, +% align=\centering, +% lstOptions={columns=flexible} +]{Heros} +\documentclass{article} +\pagestyle{empty} +%StartVisiblePreamble +\usepackage[default]{heros-otf} +%StopVisiblePreamble +\begin{document} +Īī̄ $\rightarrow$ \LSS04 Īī̄ +\end{document} +\end{externalDocument} + + + +%≈*\string\|\{\}[]\char"2016÷=≠>≥<≤¬-±\times()+\char"2213\slash +%\char"2A7D\char"2A7E≤≥\times \par + + +%sflining (sflf) or sfoldstyle (sfosf, osfss) +%sftabular (sft) or sfproportional (sfp) + +%\section{New text macros} +% +%\Lcs{textsup}\Largb{text} for superiors: +% +%\begin{verbatim} +%7\textsup{th} floor +%\end{verbatim} + +%7\textsup{th} floor + + +\subsection{Zero} + + +\begin{externalDocument}[ +% grfOptions={width=0.5\linewidth}, + frame,compiler=lualatex, + crop, + force=true, + runs=2,code,docType=latex, + frame, +% showFilename, +% align=\centering, + lstOptions={columns=flexible}]{Heros} +\documentclass{article} +\pagestyle{empty} +\parindent=0pt +%StartVisiblePreamble +\usepackage[default]{heros-otf} +%StopVisiblePreamble +\begin{document} +0 \addfontfeature{RawFeature=+zero}0 +\end{document} +\end{externalDocument} + + + +\section{Font commands} +Instead of using the command \Lcs{fontspec} for changing to a different type of +a Heros font, one can use a predefinded command: + +\begin{tabular}{@{}ll} +\Lcs{heros} & Main font\\ +\Lcs{heroscn} & Condensed font\\ +\Lcs{herosOsF} & Old style proportional figures\\ +\Lcs{heroscnOsF} & Also with condensed font\\ +\Lcs{herosTLF} & Lining and monospaced figures\\ +\Lcs{heroscnTLF} & Also with condensed font +\end{tabular} + + +\begin{externalDocument}[ + frame,compiler=lualatex, + crop, + force=true, + runs=2,code,docType=latex, + frame, + usefancyvrb, +% lstOptions={columns=flexible} +]{Heros} +\documentclass{article} +\pagestyle{empty} +%StartVisiblePreamble +\usepackage[default]{heros-otf} +%StopVisiblePreamble +\begin{document} +\noindent01234567890123456789 -- The default\\ +{\heroscn01234567890123456789 -- condensed}\\ +{\herosOsF 01234567890123456789 -- Old stye Figures}\\ +{\heroscnOsF 01234567890123456789 -- Old stye Figures condensed}\\ +{\herosTLF 01234567890123456789 -- Tabular Lining Figures}\\ +{\heroscnTLF 01234567890123456789 -- Tabular Lining Figures condensed}\\ +\end{document} +\end{externalDocument} + + + + +\clearpage +\newgeometry{margin=1cm,bmargin=2cm} + +\section{The font list of Heros} + +\rmfamily +\begin{multicols}{5} +\begin{luacode*} + local f = fontloader.open('/Users/voss/Links/fonts/opentype/public/tex-gyre/texgyreheros-regular.otf') + print("Max glyphs: "..f.glyphmax) + local glyphs = {} + for i = 0, f.glyphmax - 1 do + local g = f.glyphs[i] + if g then + table.insert(glyphs, {name = g.name, unicode = g.unicode}) + end + end + table.sort(glyphs, function (a,b) return (a.unicode < b.unicode) end) + for i = 1, #glyphs do + tex.sprint('\\scriptsize'..glyphs[i].unicode .. ': ') + if (glyphs[i].unicode > 0) then + tex.sprint('{\\char' .. glyphs[i].unicode .. '}'); + end + tex.sprint(' {\\scriptsize (') + tex.sprint(-2, glyphs[i].name) + tex.sprint(')}\\\\') + end + fontloader.close(f) +\end{luacode*} +\end{multicols} + + +\printindex + + + + +\end{document} + + + + + + diff --git a/Master/texmf-dist/tex/latex/heros-otf/heros-otf.sty b/Master/texmf-dist/tex/latex/heros-otf/heros-otf.sty new file mode 100644 index 00000000000..73015c7229e --- /dev/null +++ b/Master/texmf-dist/tex/latex/heros-otf/heros-otf.sty @@ -0,0 +1,449 @@ +%% $Id: heros-otf.sty 624 2022-10-13 09:18:22Z herbert $ +%% +%% This file is distributed under the terms of the LaTeX Project Public +%% License from CTAN archives in directory macros/latex/base/lppl.txt. +%% Either version 1.3 or, at your option, any later version. +%% +% +% +\ProvidesPackage{heros-otf}[% + 2022/10/13 v. 0.01 (Herbert Voss) Supports heros fonts for lualatex and xelatex.] + +\RequirePackage{iftex,xkeyval,textcomp} + +\newif\ifheros@lining \heros@liningtrue +\newif\ifheros@tabular \heros@tabulartrue +\newif\ifheros@usefilenames \heros@usefilenamestrue +\newif\ifheros@condensed \heros@condensedfalse + +\DeclareOptionX{lining}[true]{\@nameuse{heros@lining#1}} +\DeclareOptionX{nf}[true]{\@nameuse{heros@lining#1}} +\DeclareOptionX{lf}[true]{\@nameuse{heros@lining#1}} +\DeclareOptionX{oldstyle}[true]{\@nameuse{if#1}\heros@liningfalse\else\heros@liningtrue\fi} +\DeclareOptionX{osf}[true]{\@nameuse{if#1}\heros@liningfalse\else\heros@liningtrue\fi} + +\DeclareOptionX{condensed}{\heros@condensedtrue} +\DeclareOptionX{default}{\renewcommand\familydefault{\sfdefault}} + +\DeclareOptionX{usefilenames}[true]{\@nameuse{heros@usefilenames#1}} + +\DeclareOptionX{tabular}[true]{\@nameuse{heros@tabular#1}} +\DeclareOptionX{t}[true]{\@nameuse{heros@tabular#1}} +\DeclareOptionX{proportional}[true]{\@nameuse{if#1}\heros@tabularfalse\else\heros@tabulartrue\fi} +\DeclareOptionX{p}[true]{\@nameuse{if#1}\heros@tabularfalse\else\heros@tabulartrue\fi} + +\newcommand*\herosSF@scale{1} +\DeclareOptionX{ScaleSF}{\renewcommand*{\herosSF@scale}{#1}} + +\def\heros@defaultfeatures{} +\DeclareOptionX{defaultfeatures}{\def\heros@defaultfeatures{#1}} + +\ProcessOptionsX\relax + +\RequirePackage{fontspec} + +\ifheros@lining + \def\heros@figurestyle{+lnum;-onum} +\else + \def\heros@figurestyle{+onum;-lnum} +\fi + +\ifheros@tabular + \def\heros@figurealign{+tnum} +\else + \def\heros@figurealign{+pnum} +\fi + +\ifxetex\XeTeXtracingfonts=1\fi +\defaultfontfeatures[\sffamily]{ + Ligatures = TeX , + SmallCapsFeatures={Letters=SmallCaps},% \ifluatex,Renderer=Basic\fi}, + \heros@defaultfeatures +} + +\ifheros@usefilenames +%------------------------ filenames start ------------------------- + +%texgyreheros-bold.otf texgyreheros-italic.otf +%texgyreheros-bolditalic.otf texgyreheros-regular.otf + +\ifheros@condensed +\setsansfont{texgyreheroscn}[ + RawFeature = {\heros@figurealign;\heros@figurestyle}, + Scale = \herosSF@scale, + UprightFont = *-regular, + ItalicFont = *-italic, + ItalicFeatures = { SmallCapsFont = *-italic }, + SlantedFont = *-regular, + SlantedFeatures= {FakeSlant=0.2}, + BoldFont = *-bold, + BoldFeatures = { SmallCapsFont = *-bold }, + BoldItalicFont = *-bolditalic, + BoldItalicFeatures = { SmallCapsFont = *-bolditalic }, + BoldSlantedFont= *-bold, + BoldSlantedFeatures= {FakeSlant=0.2, SmallCapsFont = *-bold }, + SmallCapsFont = *-regular, +% SmallCapsFeatures={RawFeature=+smcp}, + SmallCapsFeatures={Letters=SmallCaps}, + Extension = .otf +] +\else +\setsansfont{texgyreheros}[ + RawFeature = {\heros@figurealign;\heros@figurestyle}, + Scale = \herosSF@scale, + UprightFont = *-regular, + ItalicFont = *-italic, + ItalicFeatures = { SmallCapsFont = *-italic }, + SlantedFont = *-regular, + SlantedFeatures= {FakeSlant=0.2}, + BoldFont = *-bold, + BoldFeatures = { SmallCapsFont = *-bold }, + BoldItalicFont = *-bolditalic, + BoldItalicFeatures = { SmallCapsFont = *-bolditalic }, + BoldSlantedFont= *-bold, + BoldSlantedFeatures= {FakeSlant=0.2, SmallCapsFont = *-bold }, + SmallCapsFont = *-regular, +% SmallCapsFeatures={RawFeature=+smcp}, + SmallCapsFeatures={Letters=SmallCaps}, + Extension = .otf +] +\newfontfamily\heroscn{texgyreheroscn}[ + RawFeature = {\heros@figurealign;\heros@figurestyle}, + Scale = \herosSF@scale, + UprightFont = *-regular, + ItalicFont = *-italic, + ItalicFeatures = { SmallCapsFont = *-italic }, + SlantedFont = *-regular, + SlantedFeatures= {FakeSlant=0.2}, + BoldFont = *-bold, + BoldFeatures = { SmallCapsFont = *-bold }, + BoldItalicFont = *-bolditalic, + BoldItalicFeatures = { SmallCapsFont = *-bolditalic }, + BoldSlantedFont= *-bold, + BoldSlantedFeatures= {FakeSlant=0.2, SmallCapsFont = *-bold }, + SmallCapsFont = *-regular, +% SmallCapsFeatures={RawFeature=+smcp}, + SmallCapsFeatures={Letters=SmallCaps}, + Extension = .otf +] +\fi + +\newfontfamily\heros{texgyreheros}[ + RawFeature = {\heros@figurealign;\heros@figurestyle}, + Scale = \herosSF@scale, + UprightFont = *-regular, + ItalicFont = *-italic, + ItalicFeatures = { SmallCapsFont = *-italic }, + SlantedFont = *-regular, + SlantedFeatures= {FakeSlant=0.2}, + BoldFont = *-bold, + BoldFeatures = { SmallCapsFont = *-bold }, + BoldItalicFont = *-bolditalic, + BoldItalicFeatures = { SmallCapsFont = *-bolditalic }, + BoldSlantedFont= *-bold, + BoldSlantedFeatures= {FakeSlant=0.2, SmallCapsFont = *-bold }, + SmallCapsFont = *-regular, +% SmallCapsFeatures={RawFeature=+smcp}, + SmallCapsFeatures={Letters=SmallCaps}, + Extension = .otf +] + +\newfontfamily\herosOsF{texgyreheros}[ + RawFeature = {+onum}, + Scale = \herosSF@scale , + UprightFont = *-regular, + ItalicFont = *-italic, + ItalicFeatures = { SmallCapsFont = *-italic }, + SlantedFont = *-regular, + SlantedFeatures= {FakeSlant=0.2}, + BoldFont = *-bold, + BoldFeatures = { SmallCapsFont = *-bold }, + BoldItalicFont = *-bolditalic, + BoldItalicFeatures = { SmallCapsFont = *-bolditalic }, + BoldSlantedFont= *-bold, + BoldSlantedFeatures= {FakeSlant=0.2, SmallCapsFont = *-bold }, + SmallCapsFont = *-regular, +% SmallCapsFeatures={RawFeature=+smcp}, + SmallCapsFeatures={Letters=SmallCaps}, + Extension = .otf +] +\newfontfamily\heroscnOsF{texgyreheroscn}[ + RawFeature = {+onum}, + Scale = \herosSF@scale , + UprightFont = *-regular, + ItalicFont = *-italic, + ItalicFeatures = { SmallCapsFont = *-italic }, + SlantedFont = *-regular, + SlantedFeatures= {FakeSlant=0.2}, + BoldFont = *-bold, + BoldFeatures = { SmallCapsFont = *-bold }, + BoldItalicFont = *-bolditalic, + BoldItalicFeatures = { SmallCapsFont = *-bolditalic }, + BoldSlantedFont= *-bold, + BoldSlantedFeatures= {FakeSlant=0.2, SmallCapsFont = *-bold }, + SmallCapsFont = *-regular, +% SmallCapsFeatures={RawFeature=+smcp}, + SmallCapsFeatures={Letters=SmallCaps}, + Extension = .otf +] + +\newfontfamily\herosTLF{texgyreheros}[ + RawFeature = {+tnum;-onum}, + Scale = \herosSF@scale , + UprightFont = *-regular, + ItalicFont = *-italic, + ItalicFeatures = { SmallCapsFont = *-italic }, + SlantedFont = *-regular, + SlantedFeatures= {FakeSlant=0.2}, + BoldFont = *-bold, + BoldFeatures = { SmallCapsFont = *-bold }, + BoldItalicFont = *-bolditalic, + BoldItalicFeatures = { SmallCapsFont = *-bolditalic }, + BoldSlantedFont= *-bold, + BoldSlantedFeatures= {FakeSlant=0.2, SmallCapsFont = *-bold }, + SmallCapsFont = *-regular, +% SmallCapsFeatures={RawFeature=+smcp}, + SmallCapsFeatures={Letters=SmallCaps}, + Extension = .otf +] +\newfontfamily\heroscnTLF{texgyreheroscn}[ + RawFeature = {+tnum;-onum}, + Scale = \herosSF@scale , + UprightFont = *-regular, + ItalicFont = *-italic, + ItalicFeatures = { SmallCapsFont = *-italic }, + SlantedFont = *-regular, + SlantedFeatures= {FakeSlant=0.2}, + BoldFont = *-bold, + BoldFeatures = { SmallCapsFont = *-bold }, + BoldItalicFont = *-bolditalic, + BoldItalicFeatures = { SmallCapsFont = *-bolditalic }, + BoldSlantedFont= *-bold, + BoldSlantedFeatures= {FakeSlant=0.2, SmallCapsFont = *-bold }, + SmallCapsFont = *-regular, +% SmallCapsFeatures={RawFeature=+smcp}, + SmallCapsFeatures={Letters=SmallCaps}, + Extension = .otf +] +%------------------------ filenames stop ------------------------- +\else +%------------------------ symbolic names start ------------------------- +\ifheros@condensed +\setsansfont{TeX Gyre Heros Condensed}[ + RawFeature = {\heros@figurealign,\heros@figurestyle}, + Scale = \herosSF@scale , + UprightFont = * Regular, + SlantedFont = * Regular, + SlantedFeatures = {FakeSlant=0.2}, + ItalicFont = * Italic, + ItalicFeatures = { SmallCapsFont = * Italic }, + BoldFont = * Bold, + BoldFeatures = { SmallCapsFont = * Bold }, + BoldItalicFont = * Bold Italic, + BoldItalicFeatures= { SmallCapsFont = * Bold Italic }, + SmallCapsFont = * Regular, + SmallCapsFeatures = {RawFeature=+smcp}, + BoldSlantedFont = * Bold, + BoldSlantedFeatures = {FakeSlant=0.2, SmallCapsFont = * Bold }, + SmallCapsFeatures = {Letters=SmallCaps}, +] + +\else +\setsansfont{TeX Gyre Heros}[ + RawFeature = {\heros@figurealign,\heros@figurestyle}, + Scale = \herosSF@scale , + UprightFont = * Regular, + SlantedFont = * Regular, + SlantedFeatures = {FakeSlant=0.2}, + ItalicFont = * Italic, + ItalicFeatures = { SmallCapsFont = * Italic }, + BoldFont = * Bold, + BoldFeatures = { SmallCapsFont = * Bold }, + BoldItalicFont = * Bold Italic, + BoldItalicFeatures= { SmallCapsFont = * Bold Italic }, + SmallCapsFont = * Regular, + SmallCapsFeatures = {RawFeature=+smcp}, + BoldSlantedFont = * Bold, + BoldSlantedFeatures = {FakeSlant=0.2, SmallCapsFont = * Bold }, + SmallCapsFeatures = {Letters=SmallCaps}, +] +\fi +\newfontfamily\heros{TeX Gyre Heros}[ + RawFeature = {\heros@figurealign,\heros@figurestyle}, + Scale = \herosSF@scale , + UprightFont = * Regular, + SlantedFont = * Regular, + SlantedFeatures = {FakeSlant=0.2}, + ItalicFont = * Italic, + ItalicFeatures = { SmallCapsFont = * Italic }, + BoldFont = * Bold, + BoldFeatures = { SmallCapsFont = * Bold }, + BoldItalicFont = * Bold Italic, + BoldItalicFeatures= { SmallCapsFont = * Bold Italic }, + SmallCapsFont = * Regular, + SmallCapsFeatures = {RawFeature=+smcp}, + BoldSlantedFont = * Bold, + BoldSlantedFeatures = {FakeSlant=0.2, SmallCapsFont = * Bold }, + SmallCapsFeatures = {Letters=SmallCaps}, +] +\newfontfamily\heroscn{TeX Gyre Heros Condensed}[ + RawFeature = {\heros@figurealign,\heros@figurestyle}, + Scale = \herosSF@scale , + UprightFont = * Regular, + SlantedFont = * Regular, + SlantedFeatures = {FakeSlant=0.2}, + ItalicFont = * Italic, + ItalicFeatures = { SmallCapsFont = * Italic }, + BoldFont = * Bold, + BoldFeatures = { SmallCapsFont = * Bold }, + BoldItalicFont = * Bold Italic, + BoldItalicFeatures= { SmallCapsFont = * Bold Italic }, + SmallCapsFont = * Regular, + SmallCapsFeatures = {RawFeature=+smcp}, + BoldSlantedFont = * Bold, + BoldSlantedFeatures = {FakeSlant=0.2, SmallCapsFont = * Bold }, + SmallCapsFeatures = {Letters=SmallCaps}, +] +\newfontfamily\herosOsF{TeX Gyre Heros}[ + RawFeature = {OldStyle,Proportional}, + Scale = \herosSF@scale , + UprightFont = * Regular, + SlantedFont = * Regular, + SlantedFeatures = {FakeSlant=0.2}, + ItalicFont = * Italic, + ItalicFeatures = { SmallCapsFont = * Italic }, + BoldFont = * Bold, + BoldFeatures = { SmallCapsFont = * Bold }, + BoldItalicFont = * Bold Italic, + BoldItalicFeatures= { SmallCapsFont = * Bold Italic }, + SmallCapsFont = * Regular, + SmallCapsFeatures = {RawFeature=+smcp}, + BoldSlantedFont = * Bold, + BoldSlantedFeatures = {FakeSlant=0.2, SmallCapsFont = * Bold }, + SmallCapsFeatures = {Letters=SmallCaps}, +] +\newfontfamily\heroscnOsF{TeX Gyre Heros}[ + RawFeature = {OldStyle,Proportional}, + Scale = \herosSF@scale , + UprightFont = * Regular, + SlantedFont = * Regular, + SlantedFeatures = {FakeSlant=0.2}, + ItalicFont = * Italic, + ItalicFeatures = { SmallCapsFont = * Italic }, + BoldFont = * Bold, + BoldFeatures = { SmallCapsFont = * Bold }, + BoldItalicFont = * Bold Italic, + BoldItalicFeatures= { SmallCapsFont = * Bold Italic }, + SmallCapsFont = * Regular, + SmallCapsFeatures = {RawFeature=+smcp}, + BoldSlantedFont = * Bold, + BoldSlantedFeatures = {FakeSlant=0.2, SmallCapsFont = * Bold }, + SmallCapsFeatures = {Letters=SmallCaps}, +] + +\newfontfamily\herosTLF{TeX Gyre Heros}[ + RawFeature = {Lining,Monospaced}, + Scale = \herosSF@scale , + UprightFont = * Regular, + SlantedFont = * Regular, + SlantedFeatures = {FakeSlant=0.2}, + ItalicFont = * Italic, + ItalicFeatures = { SmallCapsFont = * Italic }, + BoldFont = * Bold, + BoldFeatures = { SmallCapsFont = * Bold }, + BoldItalicFont = * Bold Italic, + BoldItalicFeatures= { SmallCapsFont = * Bold Italic }, + SmallCapsFont = * Regular, + SmallCapsFeatures = {RawFeature=+smcp}, + BoldSlantedFont = * Bold, + BoldSlantedFeatures = {FakeSlant=0.2, SmallCapsFont = * Bold }, + SmallCapsFeatures = {Letters=SmallCaps}, +] +\newfontfamily\heroscnTLF{TeX Gyre Heros}[ + RawFeature = {Lining,Monospaced}, + Scale = \herosSF@scale , + UprightFont = * Regular, + SlantedFont = * Regular, + SlantedFeatures = {FakeSlant=0.2}, + ItalicFont = * Italic, + ItalicFeatures = { SmallCapsFont = * Italic }, + BoldFont = * Bold, + BoldFeatures = { SmallCapsFont = * Bold }, + BoldItalicFont = * Bold Italic, + BoldItalicFeatures= { SmallCapsFont = * Bold Italic }, + SmallCapsFont = * Regular, + SmallCapsFeatures = {RawFeature=+smcp}, + BoldSlantedFont = * Bold, + BoldSlantedFeatures = {FakeSlant=0.2, SmallCapsFont = * Bold }, + SmallCapsFeatures = {Letters=SmallCaps}, +] + +\fi +%------------------------ symbolic names stop ------------------------- + +%\ifheros@nomath\else +% \typeout{*************************************^^J% +% * Using heros math *^^J% +% *************************************}% +%\setmathfont{texgyreheros-math.otf}[AutoFakeBold,RawFeature=\herosMM@feature] +%\fi + +\def\sufigures{\addfontfeatures{VerticalPosition=Superior}} +\DeclareTextFontCommand{\textsup}{\sufigures} +\DeclareTextFontCommand{\textinit}{\herosInitials}% Initials + +\def\Lsup#1{{\addfontfeature{RawFeature=+sups}#1}} +\def\Lsinf#1{{\addfontfeature{RawFeature=+sinf}#1}} +\def\Land{{\addfontfeature{RawFeature=+ss06}\&}} + +\def\Lcase#1{{\addfontfeature{RawFeature=case}#1}} +\def\LCASE{\@ifnextchar-\L@CASE\L@@CASE} +\def\L@CASE-{\addfontfeature{RawFeature=-case}} +\def\L@@CASE#1{\addfontfeature{RawFeature=+case}\ifx#1+\else#1\fi} + +\def\Lfrac#1{{\addfontfeature{RawFeature=+frac}#1}} +\def\LFRAC{\@ifnextchar-\L@FRAC\L@@FRAC} +\def\L@FRAC-{\addfontfeature{RawFeature=-frac}} +\def\L@@FRAC#1{\addfontfeature{RawFeature=+frac}\ifx#1+\else#1\fi} + +\def\Lcpsp#1{{\addfontfeature{RawFeature=+cpsp}#1}} +\def\LCPSP{\@ifnextchar-\L@CPSP\L@@CPSP} +\def\L@CPSP-{\addfontfeature{RawFeature=-cpsp}} +\def\L@@CPSP#1{\addfontfeature{RawFeature=+cpsp}\ifx#1+\else#1\fi} + +\def\Lss#1#2#3{{\addfontfeature{RawFeature=+ss#1#2}#3}} +\def\LSS#1#2{\addfontfeature{RawFeature=+ss#1#2}} + +\def\Lctosc#1{{\addfontfeature{RawFeature=+c2sc}#1}} +\def\LCtoSC{\@ifnextchar-\L@CtoSC\L@@CtoSC} +\def\L@CtoSC-{\addfontfeature{RawFeature=-c2sc}} +\def\L@@CtoSC#1{\addfontfeature{RawFeature=+c2sc}\ifx#1+\else#1\fi} + +\def\Lctosmcp#1{{\addfontfeature{RawFeature={+c2sc,+smcp}}#1}} +\def\LCtoSMCP{\@ifnextchar-\L@CtoSMCP\L@@CtoSMCP} +\def\L@CtoSMCP-{\addfontfeature{RawFeature={-c2sc,-smcp}}} +\def\L@@CtoSMCP#1{\addfontfeature{RawFeature={+c2sc,+smcp}}\ifx#1+\else#1\fi} + +\def\Lsalt#1{{\addfontfeature{RawFeature=+salt}#1}} +\def\LSALT{\@ifnextchar-\L@SALT\L@@SALT} +\def\L@SALT-{\addfontfeature{RawFeature=-salt}} +\def\L@@SALT#1{\addfontfeature{RawFeature=+salt}\ifx#1+\else#1\fi} + +\def\Lliga#1{{\addfontfeature{RawFeature=+liga}#1}} +\def\LLIGA{\@ifnextchar-\L@LIGA\L@@LIGA} +\def\L@LIGA-{\addfontfeature{RawFeature=-liga}} +\def\L@@LIGA#1{\addfontfeature{RawFeature=+liga}\ifx#1+\else#1\fi} + + +\def\Lhlig#1{{\addfontfeature{RawFeature=+hlig}#1}} +\def\LHLIG{\@ifnextchar-\L@HLIG\L@@HLIG} +\def\L@HLIG-{\addfontfeature{RawFeature=-hlig}} +\def\L@@HLIG#1{\addfontfeature{RawFeature=+hlig}\ifx#1+\else#1\fi} + +\def\Ldlig#1{{\addfontfeature{RawFeature=+dlig}#1}} +\def\LDLIG{\@ifnextchar-\L@DLIG\L@@DLIG} +\def\L@DLIG-{\addfontfeature{RawFeature=-dlig}} +\def\L@@DLIG#1{\addfontfeature{RawFeature=+dlig}\ifx#1+\else#1\fi} + +\endinput + diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index a0a60f59ff6..b38ad8a23a1 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -392,7 +392,7 @@ my @TLP_working = qw( hc he-she hecthese helmholtz-ellis-ji-notation helvetic hep hep-acronym hep-bibliography hep-float hep-font hep-float hep-math hep-math-font hep-paper hep-text hep-title hepnames - hepparticles hepthesis hepunits here hereapplies + hepparticles hepthesis hepunits here hereapplies heros-otf heuristica hexboard hexgame hf-tikz hfbright hfoldsty hfutthesis hhtensor hideanswer highlightlatex hindawi-latex-template hindmadurai @@ -602,7 +602,7 @@ my @TLP_working = qw( outerhbox outline outliner outlines outlining overlays overlock overpic pacioli padauk padcount - pagecolor pagecont pagegrid pagenote pagerange pagesel pageslts + pagecolor pagecont pagegrid pagella-otf pagenote pagerange pagesel pageslts palatino palette paper papercdcase papermas papertex paracol parades paralist parallel paratype paresse parnotes parrun parsa parselines parskip diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index ace5e661f63..3a895a8c336 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -642,6 +642,7 @@ chomp (my $ctan_root = `tlpkginfo --ctan-root`); 'he-le-na', "die 'skipping, nonfree (shareware) license'", 'helmholtz-ellis-ji-notation', "&MAKEflatten", 'helvetic', "die 'skipping, part of urw-base35, frozen'", + 'heros-otf', "&MAKEflatten", 'hershey', "die 'skipping, ancient font'", 'hexdump', "die 'skipping, nonfree (probably) license'", 'hfbright', "&MAKEflatten", @@ -1031,6 +1032,7 @@ chomp (my $ctan_root = `tlpkginfo --ctan-root`); 'oxford', "die 'skipping, nosell license'", 'padauk', "&MAKEflatten", 'pageframe', "die 'skipping, noinfo license'", + 'pagella-otf', "&MAKEflatten", 'pageno', "die 'skipping, nosell license'", 'pagesLTS', "die 'skipping, use pageslts'", 'palatino', "die 'skipping, part of urw-base35, frozen'", diff --git a/Master/tlpkg/tlpsrc/collection-fontsextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-fontsextra.tlpsrc index 90c0b44b4df..7988fbc70be 100644 --- a/Master/tlpkg/tlpsrc/collection-fontsextra.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-fontsextra.tlpsrc @@ -183,6 +183,7 @@ depend hamnosys depend hands depend hep-font depend hep-math-font +depend heros-otf depend heuristica depend hfbright depend hfoldsty @@ -268,6 +269,7 @@ depend orkhun depend oswald depend overlock depend pacioli +depend pagella-otf depend paratype depend phaistos depend phonetic diff --git a/Master/tlpkg/tlpsrc/heros-otf.tlpsrc b/Master/tlpkg/tlpsrc/heros-otf.tlpsrc new file mode 100644 index 00000000000..e69de29bb2d -- cgit v1.2.3