summaryrefslogtreecommitdiff
path: root/fonts/termes-otf
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-10-18 03:01:49 +0000
committerNorbert Preining <norbert@preining.info>2022-10-18 03:01:49 +0000
commit0b311348359e1406b173d9c0de4974af3e90f836 (patch)
treed054509baef05d9c3f452f88e3a011219350d9cf /fonts/termes-otf
parent95ebee51840c21223810acf500805000a2c5c0df (diff)
CTAN sync 202210180301
Diffstat (limited to 'fonts/termes-otf')
-rw-r--r--fonts/termes-otf/Changes3
-rw-r--r--fonts/termes-otf/doc/termes-otf-doc.pdfbin265327 -> 485750 bytes
-rw-r--r--fonts/termes-otf/doc/termes-otf-doc.tex67
-rw-r--r--fonts/termes-otf/latex/termes-otf.sty21
4 files changed, 75 insertions, 16 deletions
diff --git a/fonts/termes-otf/Changes b/fonts/termes-otf/Changes
index 9f73fcac49..ea2264d752 100644
--- a/fonts/termes-otf/Changes
+++ b/fonts/termes-otf/Changes
@@ -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
diff --git a/fonts/termes-otf/doc/termes-otf-doc.pdf b/fonts/termes-otf/doc/termes-otf-doc.pdf
index a609960882..ad5daabaa3 100644
--- a/fonts/termes-otf/doc/termes-otf-doc.pdf
+++ b/fonts/termes-otf/doc/termes-otf-doc.pdf
Binary files differ
diff --git a/fonts/termes-otf/doc/termes-otf-doc.tex b/fonts/termes-otf/doc/termes-otf-doc.tex
index 930f9743a7..951ef42351 100644
--- a/fonts/termes-otf/doc/termes-otf-doc.tex
+++ b/fonts/termes-otf/doc/termes-otf-doc.tex
@@ -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 @@ is again the number of the set.
\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,7 +739,7 @@ a Heros font, one can use a predefinded command:
%dtls <unknown feature>
%ssty <unknown feature>
-
+\subsection{Example}
\noindent\fbox{%
\begin{minipage}{\dimexpr\textwidth-2\fboxsep-2\fboxrule}
@@ -826,12 +822,48 @@ for example \texttt{+aalt} for slightly wider characters:
+\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 @@ for example \texttt{+aalt} for slightly wider characters:
\end{luacode*}
\end{multicols}
+\subsection{The font list of Termes math}
+
+
+\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}
-\printindex
+\clearpage\restoregeometry
+
+\printindex
+
+
\end{document}
diff --git a/fonts/termes-otf/latex/termes-otf.sty b/fonts/termes-otf/latex/termes-otf.sty
index 332ce4df06..581679b735 100644
--- a/fonts/termes-otf/latex/termes-otf.sty
+++ b/fonts/termes-otf/latex/termes-otf.sty
@@ -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@tabular \termes@tabulartrue
\newif\iftermes@usefilenames \termes@usefilenamestrue
\newif\iftermes@nomath \termes@nomathfalse
+\newif\iftermes@libertinus \termes@libertinusfalse
+
\DeclareOptionX{lining}[true]{\@nameuse{termes@lining#1}}
\DeclareOptionX{nf}[true]{\@nameuse{termes@lining#1}}
\DeclareOptionX{lf}[true]{\@nameuse{termes@lining#1}}
\DeclareOptionX{oldstyle}[true]{\@nameuse{if#1}\termes@liningfalse\else\termes@liningtrue\fi}
\DeclareOptionX{osf}[true]{\@nameuse{if#1}\termes@liningfalse\else\termes@liningtrue\fi}
+\DeclareOptionX{libertinus}[true]{\@nameuse{termes@libertinus#1}}
\newcommand*\termesMM@feature{}
\DeclareOptionX{math}[]{\renewcommand*\termesMM@feature{#1}}
@@ -150,7 +153,7 @@
%------------------------ filenames stop -------------------------
\else
%------------------------ symbolic names start -------------------------
-\setmainfont{TeX Gyre Pagella}[
+\setmainfont{TeX Gyre Termes}[
RawFeature = {\termes@figurealign,\termes@figurestyle},
Scale = \termesRM@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@figurealign,\termes@figurestyle},
Scale = \termesRM@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@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@scale ,
UprightFont = * Regular,
@@ -231,7 +234,11 @@
\typeout{*************************************^^J%
* Using termes math *^^J%
*************************************}%
-\setmathfont{texgyretermes-math.otf}[AutoFakeBold,RawFeature=\termesMM@feature]
+ \setmathfont{texgyretermes-math.otf}[AutoFakeBold,RawFeature=\termesMM@feature]
+ \iftermes@libertinus
+ \setmathfont{LibertinusMath-Regular.otf}[AutoFakeBold,RawFeature=\termesMM@feature,
+ range={\int,\iint,\iiint,\iiiint,\oint,\oiint,\oiiint}]
+ \fi
\fi
\def\sufigures{\addfontfeatures{VerticalPosition=Superior}}