diff options
author | Karl Berry <karl@freefriends.org> | 2022-10-17 20:20:12 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-10-17 20:20:12 +0000 |
commit | 60e14af0b7476b9b66b0de300a853883db43dfda (patch) | |
tree | 4321294d54c5cfbc6fe803dd12689c6b83edb17e /Master/texmf-dist | |
parent | 1f492a96e1e01bdd0064df3af5d71852f7410d70 (diff) |
termes-otf (17oct22)
git-svn-id: svn://tug.org/texlive/trunk@64733 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/fonts/termes-otf/Changes | 3 | ||||
-rw-r--r-- | Master/texmf-dist/doc/fonts/termes-otf/termes-otf-doc.pdf | bin | 265327 -> 485750 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/fonts/termes-otf/termes-otf-doc.tex | 67 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/termes-otf/termes-otf.sty | 21 |
4 files changed, 75 insertions, 16 deletions
diff --git a/Master/texmf-dist/doc/fonts/termes-otf/Changes b/Master/texmf-dist/doc/fonts/termes-otf/Changes index 9f73fcac49f..ea2264d7523 100644 --- a/Master/texmf-dist/doc/fonts/termes-otf/Changes +++ b/Master/texmf-dist/doc/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/Master/texmf-dist/doc/fonts/termes-otf/termes-otf-doc.pdf b/Master/texmf-dist/doc/fonts/termes-otf/termes-otf-doc.pdf Binary files differindex a6099608821..ad5daabaa36 100644 --- a/Master/texmf-dist/doc/fonts/termes-otf/termes-otf-doc.pdf +++ b/Master/texmf-dist/doc/fonts/termes-otf/termes-otf-doc.pdf diff --git a/Master/texmf-dist/doc/fonts/termes-otf/termes-otf-doc.tex b/Master/texmf-dist/doc/fonts/termes-otf/termes-otf-doc.tex index 930f9743a7a..951ef42351b 100644 --- a/Master/texmf-dist/doc/fonts/termes-otf/termes-otf-doc.tex +++ b/Master/texmf-dist/doc/fonts/termes-otf/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/Master/texmf-dist/tex/latex/termes-otf/termes-otf.sty b/Master/texmf-dist/tex/latex/termes-otf/termes-otf.sty index 332ce4df06d..581679b7353 100644 --- a/Master/texmf-dist/tex/latex/termes-otf/termes-otf.sty +++ b/Master/texmf-dist/tex/latex/termes-otf/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}} |