texlive[64733] Master/texmf-dist: termes-otf (17oct22)

commits+karl at tug.org commits+karl at tug.org
Mon Oct 17 22:20:13 CEST 2022


Revision: 64733
          http://tug.org/svn/texlive?view=revision&revision=64733
Author:   karl
Date:     2022-10-17 22:20:12 +0200 (Mon, 17 Oct 2022)
Log Message:
-----------
termes-otf (17oct22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/fonts/termes-otf/Changes
    trunk/Master/texmf-dist/doc/fonts/termes-otf/termes-otf-doc.pdf
    trunk/Master/texmf-dist/doc/fonts/termes-otf/termes-otf-doc.tex
    trunk/Master/texmf-dist/tex/latex/termes-otf/termes-otf.sty

Modified: trunk/Master/texmf-dist/doc/fonts/termes-otf/Changes
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/termes-otf/Changes	2022-10-17 20:19:56 UTC (rev 64732)
+++ trunk/Master/texmf-dist/doc/fonts/termes-otf/Changes	2022-10-17 20:20:12 UTC (rev 64733)
@@ -1 +1,4 @@
+0.02  2022-10-17  - fix for typo in filename part
+                  - updated documentation
+                  - added option libertinus for integrals 
 0.01  2022-10-14  - first CTAN version

Modified: trunk/Master/texmf-dist/doc/fonts/termes-otf/termes-otf-doc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/fonts/termes-otf/termes-otf-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/termes-otf/termes-otf-doc.tex	2022-10-17 20:19:56 UTC (rev 64732)
+++ trunk/Master/texmf-dist/doc/fonts/termes-otf/termes-otf-doc.tex	2022-10-17 20:20:12 UTC (rev 64733)
@@ -1,4 +1,4 @@
-%% $Id: termes-otf-doc.tex 631 2022-10-14 12:08:52Z herbert $
+%% $Id: termes-otf-doc.tex 637 2022-10-17 06:33:15Z herbert $
 \listfiles
 \documentclass[ngerman,spanish,polish,english,a4paper]{article}
 \usepackage{termes-otf}
@@ -38,6 +38,7 @@
 \def\Largb#1{\texttt{\{}\textit{#1}\texttt{\}}}
 \def\Lpack#1{\texttt{#1}\index{#1@\texttt{#1}}\index{Package!#1@\texttt{#1}}}
 \def\testfeature#1#2#3{{\fontspec[RawFeature={+#2}]{#1}#3\relax}}
+\def\Loption#1{\texttt{#1}\index{#1@\texttt{#1}}\index{Option!#1@\texttt{#1}}}
 \def\SUP{\addfontfeatures{RawFeature={+sups}}}
 
 \usepackage{multicol,luacode}
@@ -698,11 +699,6 @@
 
 \section{Font commands}
 Instead of using the command \Lcs{fontspec} for changing to a different type of
-a Termes font, one can use a predefinded command:
-
-
-\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}
@@ -743,8 +739,8 @@
 %dtls	<unknown feature>
 %ssty	<unknown feature>
 
+\subsection{Example}
 
-
 \noindent\fbox{%
 \begin{minipage}{\dimexpr\textwidth-2\fboxsep-2\fboxrule}
 \textbf{Theorem 1 (Residue Theorem).}
@@ -826,12 +822,48 @@
 
 
 
+\subsection{Integrals}
+If you do not like the small integral symbols from Schola then use the package
+option \Loption{libertinus}. Then these symbols are taken from Libertinus Math.
 
 
+\begin{externalDocument}[
+  frame,compiler=lualatex,
+  crop,
+  force=true,
+  runs=2,code,docType=latex,
+  frame,
+  usefancyvrb,
+%  lstOptions={columns=flexible}
+]{Schola}
+\documentclass{article}
+\pagestyle{empty}
+%StartVisiblePreamble
+\usepackage[libertinus]{termes-otf}% use integrals from Libertinus
+%StopVisiblePreamble
+\begin{document}
+The integrals from Libertinus Math:
+\[ \int_\gamma\iint\iiint\iiiint\oint\oiint\oiiint\frac{f(x)}{z-a} \]
+
+The default integrals from Schola:
+\setmathfont{texgyreschola-math.otf}
+\[ \int_\gamma\iint\iiint\iiiint\oint\oiint\oiiint\frac{f(x)}{z-a} \]
+\end{document}
+\end{externalDocument}
+
+
+
+
+
+
+
+
+
 \clearpage
 \newgeometry{margin=1cm,bmargin=2cm}
 
-\section{The font list of Termes}
+\section{The fontlist}
+\subsection{The font list of Termes text}
 
 \rmfamily
 \begin{multicols}{5}
@@ -859,10 +891,27 @@
 \end{luacode*}
 \end{multicols}
 
+\subsection{The font list of Termes math}
 
-\printindex
 
+\begingroup
+\catcode`\%=12
+\gdef\perCent{%}
+\endgroup
 
+%\UnicodeMathSymbol{"00021}{\mathexclam               }{\mathclose}{exclamation mark}%
+\begin{multicols}{3}
+\def\UnicodeMathSymbol#1#2#3#4{\scriptsize\texttt{#1}: $#2{}$  (#4) \\}
+\input{unicode-math-table}
+\end{multicols}
 
 
+\clearpage\restoregeometry
+
+
+
+
+\printindex
+
+
 \end{document}

Modified: trunk/Master/texmf-dist/tex/latex/termes-otf/termes-otf.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/termes-otf/termes-otf.sty	2022-10-17 20:19:56 UTC (rev 64732)
+++ trunk/Master/texmf-dist/tex/latex/termes-otf/termes-otf.sty	2022-10-17 20:20:12 UTC (rev 64733)
@@ -1,4 +1,4 @@
-%% $Id: termes-otf.sty 632 2022-10-14 12:16:09Z herbert $
+%% $Id: termes-otf.sty 637 2022-10-17 06:33:15Z herbert $
 %%
 %% This file is distributed under the terms of the LaTeX Project Public
 %% License from CTAN archives in directory  macros/latex/base/lppl.txt.
@@ -6,7 +6,7 @@
 %%
 %
 \ProvidesPackage{termes-otf}[%
-  2022/10/11 v. 0.01 (Herbert Voss) Supports termes fonts for lualatex and xelatex.] 
+  2022/10/17 v. 0.02 (Herbert Voss) Supports termes fonts for lualatex and xelatex.] 
 
 \RequirePackage{iftex,xkeyval,textcomp}
 
@@ -14,12 +14,15 @@
 \newif\iftermes at tabular \termes at tabulartrue
 \newif\iftermes at usefilenames \termes at usefilenamestrue
 \newif\iftermes at nomath \termes at nomathfalse
+\newif\iftermes at libertinus \termes at libertinusfalse
 
+
 \DeclareOptionX{lining}[true]{\@nameuse{termes at lining#1}}
 \DeclareOptionX{nf}[true]{\@nameuse{termes at lining#1}}
 \DeclareOptionX{lf}[true]{\@nameuse{termes at lining#1}}
 \DeclareOptionX{oldstyle}[true]{\@nameuse{if#1}\termes at liningfalse\else\termes at liningtrue\fi}
 \DeclareOptionX{osf}[true]{\@nameuse{if#1}\termes at liningfalse\else\termes at liningtrue\fi}
+\DeclareOptionX{libertinus}[true]{\@nameuse{termes at libertinus#1}}
 
 \newcommand*\termesMM at feature{}
 \DeclareOptionX{math}[]{\renewcommand*\termesMM at feature{#1}}
@@ -150,7 +153,7 @@
 %------------------------   filenames stop -------------------------
 \else
 %------------------------   symbolic names start -------------------------
-\setmainfont{TeX Gyre Pagella}[ 
+\setmainfont{TeX Gyre Termes}[ 
   RawFeature        = {\termes at figurealign,\termes at figurestyle},
   Scale             = \termesRM at scale ,
   UprightFont       = * Regular,
@@ -168,7 +171,7 @@
   BoldSlantedFeatures = {FakeSlant=0.2, SmallCapsFont = * Bold },
   SmallCapsFeatures  = {Letters=SmallCaps}, 
 ]
-\newfontfamily\termes{TeX Gyre Pagella}[
+\newfontfamily\termes{TeX Gyre Termes}[
   RawFeature        = {\termes at figurealign,\termes at figurestyle},
   Scale             = \termesRM at scale ,
   UprightFont       = * Regular,
@@ -186,7 +189,7 @@
   BoldSlantedFeatures = {FakeSlant=0.2, SmallCapsFont = * Bold },
   SmallCapsFeatures  = {Letters=SmallCaps}, 
 ]
-\newfontfamily\termesOsF{TeX Gyre Pagella}[
+\newfontfamily\termesOsF{TeX Gyre Termes}[
   RawFeature        = {OldStyle,Proportional},
   Scale             = \termesRM at scale ,
   UprightFont       = * Regular,
@@ -205,7 +208,7 @@
   SmallCapsFeatures  = {Letters=SmallCaps}, 
 ]
 
-\newfontfamily\termesTLF{TeX Gyre Pagella}[
+\newfontfamily\termesTLF{TeX Gyre Termes}[
   RawFeature        = {Lining,Monospaced},
   Scale             = \termesRM at scale ,
   UprightFont       = * Regular,
@@ -231,7 +234,11 @@
   \typeout{*************************************^^J%
            * Using termes math              *^^J%
            *************************************}%
-\setmathfont{texgyretermes-math.otf}[AutoFakeBold,RawFeature=\termesMM at feature]
+  \setmathfont{texgyretermes-math.otf}[AutoFakeBold,RawFeature=\termesMM at feature]
+  \iftermes at libertinus
+    \setmathfont{LibertinusMath-Regular.otf}[AutoFakeBold,RawFeature=\termesMM at feature,
+    	range={\int,\iint,\iiint,\iiiint,\oint,\oiint,\oiiint}]
+  \fi	
 \fi
 
 \def\sufigures{\addfontfeatures{VerticalPosition=Superior}}



More information about the tex-live-commits mailing list.