diff options
author | Norbert Preining <norbert@preining.info> | 2022-09-29 03:01:36 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-09-29 03:01:36 +0000 |
commit | d7ca45f66f34e5ca724a739f420c99a7c9960a89 (patch) | |
tree | e14867dbe48dd37735c781960e975735d624fe0a /fonts | |
parent | 47f9bcb9721388f6d98bf3b04ecd5fadc571b221 (diff) |
CTAN sync 202209290301
Diffstat (limited to 'fonts')
51 files changed, 161 insertions, 179 deletions
diff --git a/fonts/almendra/README b/fonts/almendra/README index f01febfadf..245410b405 100644 --- a/fonts/almendra/README +++ b/fonts/almendra/README @@ -1,5 +1,5 @@ This is the README for the almendra package, version -2020-08-02. +2022-09-28. This package provides the Almendra family of fonts, designed by Ana Sanfelippo. Almendra is a typeface design based on diff --git a/fonts/almendra/doc/almendra-samples.pdf b/fonts/almendra/doc/almendra-samples.pdf Binary files differindex b6eb32e2f2..73e0d013c1 100644 --- a/fonts/almendra/doc/almendra-samples.pdf +++ b/fonts/almendra/doc/almendra-samples.pdf diff --git a/fonts/almendra/latex/almendra.sty b/fonts/almendra/latex/almendra.sty index c400a76276..cd1c954cd5 100644 --- a/fonts/almendra/latex/almendra.sty +++ b/fonts/almendra/latex/almendra.sty @@ -1,5 +1,5 @@ \ProvidesPackage{almendra}[% - 2020/08/02 (Bob Tennent) Supports Almendra fonts for all LaTeX engines. ] + 2022/09/28 (Bob Tennent) Supports Almendra fonts for all LaTeX engines. ] \RequirePackage{ifxetex,ifluatex,textcomp} @@ -28,7 +28,6 @@ \fi \ifalmendra@ttf - \ifxetex\XeTeXtracingfonts=1\fi \defaultfontfeatures{ Ligatures = TeX , Extension = .ttf , diff --git a/fonts/andika/README b/fonts/andika/README index 5b185b5e48..c36a84af0c 100644 --- a/fonts/andika/README +++ b/fonts/andika/README @@ -1,5 +1,5 @@ This is the README for the andika package, version 6.101, -release 2022-02-17. +release 2022-09-28. This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for the Andika family of fonts designed by SIL diff --git a/fonts/andika/doc/andika-samples.pdf b/fonts/andika/doc/andika-samples.pdf Binary files differindex 7d27b2fa3e..b8ea884c5c 100644 --- a/fonts/andika/doc/andika-samples.pdf +++ b/fonts/andika/doc/andika-samples.pdf diff --git a/fonts/andika/latex/andika.sty b/fonts/andika/latex/andika.sty index 0d100a7bec..fa1b2572a0 100644 --- a/fonts/andika/latex/andika.sty +++ b/fonts/andika/latex/andika.sty @@ -1,6 +1,6 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{andika} - [2022/02/17 (Bob Tennent) Supports Andika fonts for all LaTeX engines.] + [2022/09/28 (Bob Tennent) Supports Andika fonts for all LaTeX engines.] \RequirePackage{xkeyval,iftex} @@ -39,7 +39,6 @@ \fi \ifandika@otf - \ifxetex\XeTeXtracingfonts=1\fi \defaultfontfeatures{ Ligatures = TeX , Scale = \Andika@scale , diff --git a/fonts/arimo/README b/fonts/arimo/README index 577df046ba..40cc93478d 100644 --- a/fonts/arimo/README +++ b/fonts/arimo/README @@ -1,5 +1,5 @@ This is the README for the arimo package, version -2017-01-05. +2022-09-28. This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for the Arimo family of fonts, designed by Steve diff --git a/fonts/arimo/latex/arimo.sty b/fonts/arimo/latex/arimo.sty index aa1ee63f97..0b5ca9de57 100644 --- a/fonts/arimo/latex/arimo.sty +++ b/fonts/arimo/latex/arimo.sty @@ -1,6 +1,6 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{arimo} - [2017/01/05 (Bob Tennent) Supports Arimo fonts for all LaTeX engines.] + [2022/09/28 (Bob Tennent) Supports Arimo fonts for all LaTeX engines.] \RequirePackage{ifxetex,ifluatex,xkeyval,textcomp} @@ -31,7 +31,6 @@ \fi \ifarimo@ttf - \ifxetex\XeTeXtracingfonts=1\fi \defaultfontfeatures{ Ligatures = TeX , Scale = \Arimo@scale , diff --git a/fonts/bitter/README b/fonts/bitter/README index ddd898b724..d35aa74411 100644 --- a/fonts/bitter/README +++ b/fonts/bitter/README @@ -1,5 +1,5 @@ This is the README for the bitter package, version -2020-08-02. +2022-09-28. This package provides the Bitter family of fonts, designed by Sol Matas for Huerta Tipografica diff --git a/fonts/bitter/doc/bitter-samples.pdf b/fonts/bitter/doc/bitter-samples.pdf Binary files differindex 2c85d29be5..30a65b28c5 100644 --- a/fonts/bitter/doc/bitter-samples.pdf +++ b/fonts/bitter/doc/bitter-samples.pdf diff --git a/fonts/bitter/latex/bitter.sty b/fonts/bitter/latex/bitter.sty index a215441ee7..2172a642f5 100644 --- a/fonts/bitter/latex/bitter.sty +++ b/fonts/bitter/latex/bitter.sty @@ -1,6 +1,6 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{bitter} - [2020/08/02 (R.D. Tennent) Supports Bitter fonts for all LaTeX engines.] + [2022/09/28 (R.D. Tennent) Supports Bitter fonts for all LaTeX engines.] \RequirePackage{ifxetex,ifluatex,textcomp} @@ -30,7 +30,6 @@ \ifBitter@ttf \def\Bitter@regular{Regular} - \ifxetex\XeTeXtracingfonts=1\fi \defaultfontfeatures{ Ligatures = TeX , Extension = .ttf , diff --git a/fonts/concmath-otf/Concrete-Math.otf b/fonts/concmath-otf/Concrete-Math.otf Binary files differindex ed2f8846cc..cad4e6ddec 100644 --- a/fonts/concmath-otf/Concrete-Math.otf +++ b/fonts/concmath-otf/Concrete-Math.otf diff --git a/fonts/concmath-otf/README.md b/fonts/concmath-otf/README.md index eefc1647cd..d1f20c220c 100644 --- a/fonts/concmath-otf/README.md +++ b/fonts/concmath-otf/README.md @@ -52,6 +52,10 @@ Either version 1.3 or, at your option, any later version. make them upright. - More integrals added: U+222F to U+2233 and U+2A11. - Corrected symbols prime, dprime, etc. (U+2032 to U+2037). +* v. 0.22 + - concmath-otf.sty loads Concrete-Math.otf by file name for XeTeX. + - Glyphs corrections: \sum, \prod, \coprod and \amalg, \infty, + \propto, \wp, \ell redesigned; --- Copyright 2022- Daniel Flipo diff --git a/fonts/concmath-otf/concmath-otf.ltx b/fonts/concmath-otf/concmath-otf.ltx index e1370c02b7..fd880d986b 100644 --- a/fonts/concmath-otf/concmath-otf.ltx +++ b/fonts/concmath-otf/concmath-otf.ltx @@ -10,7 +10,7 @@ \usepackage{realscripts} \usepackage{microtype} \usepackage{hyperref} -\hypersetup{pdftitle={Concrete-Math Opentype User’s Guide}, +\hypersetup{pdftitle={Concrete-Math OpenType User’s Guide}, pdfauthor={Daniel FLIPO}, bookmarksopen, colorlinks @@ -28,14 +28,14 @@ \title{Concrete Math font, OTF version} \author{Daniel Flipo \\ \texttt{daniel.flipo@free.fr}} -\newcommand*{\version}{0.21} +\newcommand*{\version}{0.22} \begin{document} \maketitle \section{What is \CCM{}?} -The \CCM{} package offers an Opentype version of the Concrete Math font +The \CCM{} package offers an OpenType version of the Concrete Math font created by Ulrik Vieth in MetaFont. \file{concmath-otf.sty} is a replacement for the original \file{concmath.sty} package. @@ -54,17 +54,20 @@ A basic call for \CCM{} would be: \begin{verbatim} \usepackage{unicode-math} \setmathfont{Concrete-Math.otf} % Call by file name or -\setmathfont{Concrete Math} % Call by font name +\setmathfont{Concrete Math} % Call by file name \end{verbatim} -this loads \CCM{} as math font with the default options, see -subsections~\vref{ssection-um}, \vref{ssection-cv} and~\vref{ssection-ss} -for customisation. +this loads \CCM{} as maths font % +\footnote{Both calls work equally well with LuaTeX; with XeTeX a call by font + name will fail unless the font is declared as a \emph{system font}.} +with the default options, see subsections~\vref{ssection-um}, +\vref{ssection-cv} and~\vref{ssection-ss} for customisation. -\enlargethispage*{\baselineskip} Please note that the three sets of text fonts have to be chosen separately, f.i. if you want the Concrete text fonts% \footnote{They are part of the \pkg{cm-unicode} package.} -as Roman font:\\[.25\baselineskip] +as Roman font:%\\[.25\baselineskip] + +\pagebreak[4]\noindent \verb+\setmainfont{cmunorm.otf} +\\ \verb+ [BoldFont = cmunobx.otf ,+\\ \verb+ ItalicFont = cmunoti.otf ,+\\ @@ -80,14 +83,14 @@ A (recommended) alternative is:\\[.5\baselineskip] \ref{ssection-cv} and \ref{ssection-ss}.}% \verb+ ]{concmath-otf}+\\[.5\baselineskip] it loads \pkg{unicode-math} with the default options, sets Concrete-Math -as Math font and Concrete Text fonts as Roman fonts +as maths font and Concrete text fonts as Roman fonts (families \textit{sf} and \textit{tt} left unchanged) but does a bit more: \begin{enumerate} \item it checks at \verb+\begin{document}+ if packages \pkg{amssymb} or \pkg{latexsym} are loaded and issues warnings in case they are; \item it provides aliases for glyphs named differently in Unicode, so that \pkg{latexsym} or AMS names are also available; -\item it reduces spacing in math mode: \cmd{thinmuskip}, \cmd{medmuskip} +\item it reduces spacing in maths mode: \cmd{thinmuskip}, \cmd{medmuskip} and \cmd{thickmuskip} are reduced as in \file{fourier.sty}. % \verb+\thinmuskip=2mu+,\\ % \verb+\medmuskip=2.5mu plus 1mu minus 2.5mu+,\\ @@ -95,7 +98,7 @@ as Math font and Concrete Text fonts as Roman fonts The option \opt{loose} disables these settings. \end{enumerate} -Apart from the \opt{loose} option mentionned above, \pkg{concmath-otf.sty} +Apart from the \opt{loose} option mentioned above, \pkg{concmath-otf.sty} provides an option \opt{no-text} to be used for loading the \CCM{} font together with roman text fonts other than Concrete. @@ -110,15 +113,15 @@ Sans-serif, typewriter glyphs are not supplied. A full list of available glyphs is shown in file \file{unimath-concrete.pdf}. See in section~\vref{ssec-math-alphabets} how to choose -from other Math fonts for these styles. +from other maths fonts for these styles. \subsection{Upright or slanted?} \label{ssection-um} Package \pkg{unicode-math} follows \TeX{} conventions for Latin and Greek letters: in math mode, the default option (\opt{math-style=TeX}) prints -Latin letters $a$…$z$ $A$…$Z$ and lowercase greek letters $\alpha$…$\omega$ -slanted (italic) while uppercase greek letters $\Alpha \Beta \Gamma$…$\Omega$ +Latin letters $a$…$z$ $A$…$Z$ and lowercase Greek letters $\alpha$…$\omega$ +slanted (italic) while uppercase Greek letters $\Alpha \Beta \Gamma$…$\Omega$ are printed upright. This can be changed by option \opt{math-style} as shown in table~\vref{math-style}. @@ -184,7 +187,7 @@ while the default settings would print Both shapes remain available anytime: \verb+$\uppi,\itpi$+ prints $\uppi, \itpi$. -If your text editor is able to handle greek letters or math symbols, they can +If your text editor is able to handle Greek letters or maths symbols, they can be entered in the code instead control sequences (i.e. $\symup{α}$, $\symup{β}$, $\symup{Γ}$,… for \cmd{alpha}, \cmd{beta}, \cmd{Gamma},…). @@ -242,7 +245,7 @@ Note: \pkg{unicode-math} defines \cmd{hbar} as (italic h with horizontal or diagonal stroke).\\ \pkg{concmath-otf} follows \pkg{unicode-math}; the italic h with horizontal stroke can be printed using \cmd{hslash} or \cmd{hbar} together with character -variant \texttt{cv01} or with \cmd{mithbar} (replacement for AMS’ command +variant \opt{cv01} or with \cmd{mithbar} (replacement for AMS’ command \cmd{hbar}). @@ -250,11 +253,11 @@ variant \texttt{cv01} or with \cmd{mithbar} (replacement for AMS’ command \label{ssection-ss} \CCM{} provides four ``Stylistic Sets’’ options to choose between different -glyphs for families of mathematical symbols. +glyphs for families of maths symbols. \verb+StylisticSet=4+, alias% -\footnote{These \texttt{Style} aliases are provided by \file{concmath-otf.sty}.} -\verb+Style=leqslant+, converts (large) inequalites into their slanted +\footnote{These \opt{Style} aliases are provided by \file{concmath-otf.sty}.} +\verb+Style=leqslant+, converts (large) inequalities into their slanted variants as shown by table~\vref{ss04}. \verb+StylisticSet=5+, alias \verb+Style=smaller+, converts some symbols into @@ -327,11 +330,11 @@ $x\leq y \quad A \subsetneq B$ \subsection{Standard \LaTeX{} math commands} \label{ssec-math-commands} -All standard \LaTeX{} math commands, all \pkg{amssymb} commands and all +All standard \LaTeX{} maths commands, all \pkg{amssymb} commands and all \pkg{latexsym} commands are supported by \CCM{}, for some of them loading \pkg{concmath-otf.sty} is required. -Various wide acccents are also supported: +Various wide accents are also supported: \begin{itemize} \item \cmd{widehat} and \cmd{widetilde} \[\widehat{x}\; \widehat{xx} \;\widehat{xxx} \;\widehat{xxxx}\; @@ -431,7 +434,7 @@ $\symtt{ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz}$ \subsection{Missing symbols} \CCM{} does not aim at being as complete as \file{STIXTwoMath-Regular} or -\file{Cambria}, the current glyph coverage compares with TeXGyre Math fonts. +\file{Cambria}, the current glyph coverage compares with TeXGyre maths fonts. In case some symbols do not show up in the output file, you will see warnings in the \file{.log} file, for instance: @@ -457,7 +460,7 @@ helped a lot while cleaning the glyphs. I am grateful to George Williams and his co-workers for providing and maintaining FontForge and to Ulrik Vieth for his illuminating paper published -in TUGboat~2009 Volume~30 about Open Type Math. +in TUGboat~2009 Volume~30 about OpenType Math. \end{document} diff --git a/fonts/concmath-otf/concmath-otf.pdf b/fonts/concmath-otf/concmath-otf.pdf Binary files differindex 6bcb46bf6c..e6ace59923 100644 --- a/fonts/concmath-otf/concmath-otf.pdf +++ b/fonts/concmath-otf/concmath-otf.pdf diff --git a/fonts/concmath-otf/concmath-otf.sty b/fonts/concmath-otf/concmath-otf.sty index cbc332b97a..eac943f885 100644 --- a/fonts/concmath-otf/concmath-otf.sty +++ b/fonts/concmath-otf/concmath-otf.sty @@ -1,6 +1,6 @@ \NeedsTeXFormat{LaTeX2e}[2018/01/01] -\def\fileversion{0.21} -\def\filedate{2022-04-21} +\def\fileversion{0.22} +\def\filedate{2022-09-28} \ProvidesPackage{concmath-otf}[\filedate\space\fileversion] % Ensure luatex or xetex engine @@ -35,11 +35,11 @@ \ExecuteOptionsX{tight} \ProcessOptionsX % -%\ifCMM@tight +\ifCCM@tight \thinmuskip=2mu \medmuskip=2.5mu plus 1mu minus 2.5mu \thickmuskip=3.5mu plus 2.5mu -%\fi +\fi % Text Serif fonts: \ifCCM@notext @@ -56,7 +56,7 @@ \begingroup \edef\temp{% \endgroup - \noexpand\setmathfont{Concrete Math}% + \noexpand\setmathfont{Concrete-Math.otf}% [\unexpanded\expandafter{\the\CCMtoks}]% } \temp @@ -65,39 +65,11 @@ % Text Typewriter fonts: default (lmtt unless specified) \AtBeginDocument{% - % Fourier specific math - \Umathchardef\Bbbbackslash = 0 0 "E020 \relax + % Concrete specific math \Umathchardef\varemptyset = 0 0 "E021 \relax - \Umathchardef\mupvarzero = 0 0 "E022 \relax - \Umathchardef\mbfvarzero = 0 0 "E023 \relax - \Umathchardef\mupvarvarpi = 0 0 "E032 \relax - \Umathchardef\mbfvarpartial = 0 0 "E040 \relax - \Umathchardef\mbfvarvarrho = 0 0 "E041 \relax - \Umathchardef\mbfvarvarpi = 0 0 "E042 \relax - \Umathchardef\mbfvec = 0 0 "E044 \relax - \Umathchardef\mbfwp = 0 0 "E045 \relax \Umathchardef\mbfdotlessi = 0 0 "E046 \relax \Umathchardef\mbfdotlessj = 0 0 "E047 \relax - \Umathchardef\mbfhbar = 0 0 "E048 \relax - \Umathchardef\mbfell = 0 0 "E049 \relax - \Umathchardef\mbftriangleleft = 0 0 "E04E \relax - \Umathchardef\mbftriangleright = 0 0 "E04F \relax - \Umathchardef\mbfitvarpartial = 0 0 "E060 \relax - \Umathchardef\mbfitvarvarrho = 0 0 "E061 \relax - \Umathchardef\mbfitvarvarpi = 0 0 "E062 \relax - \Umathchardef\mbfitwp = 0 0 "E065 \relax - \Umathchardef\mbfimath = 0 0 "E066 \relax - \Umathchardef\mbfjmath = 0 0 "E067 \relax - \Umathchardef\mbfithbar = 0 0 "E068 \relax - \Umathchardef\mbfitell = 0 0 "E069 \relax - \Umathchardef\mitvarpartial = 0 0 "E070 \relax - \Umathchardef\mitvarvarrho = 0 0 "E071 \relax - \Umathchardef\mitvarvarpi = 0 0 "E072 \relax \Umathchardef\mithbar = 0 0 "E078 \relax - \Umathchardef\parallelslant = 3 0 "E090 \relax - \Umathchardef\nparallelslant = 3 0 "E091 \relax - \Umathchardef\shortparallelslant = 3 0 "E092 \relax - \Umathchardef\nshortparallelslant = 3 0 "E093 \relax \Umathchardef\lesseqslantgtr = 3 0 "E094 \relax \Umathchardef\gtreqslantless = 3 0 "E095 \relax \Umathchardef\lesseqqslantgtr = 3 0 "E096 \relax diff --git a/fonts/concmath-otf/unimath-concrete.pdf b/fonts/concmath-otf/unimath-concrete.pdf Binary files differindex 6c2b45ce28..5f4dda7b38 100644 --- a/fonts/concmath-otf/unimath-concrete.pdf +++ b/fonts/concmath-otf/unimath-concrete.pdf diff --git a/fonts/kpfonts-otf/README.md b/fonts/kpfonts-otf/README.md index 6fe23c0927..e506a8fe7b 100644 --- a/fonts/kpfonts-otf/README.md +++ b/fonts/kpfonts-otf/README.md @@ -10,11 +10,11 @@ The package is still experimental, bug reports and suggestions are welcome. ## Contents -* the `font/` directory holds 21 OpenType fonts (16 for text and 5 for math); +* the `font/` directory holds 21 OpenType fonts (16 for text and 5 for maths); * the `tex/` directory holds the style file kpfonts-otf.sty and fontspec configuration files; * the `doc/` directory holds documentation in English and French and - a table of available Math symbols comparing kpfonts-otf to LatinModern, + a table of available maths symbols comparing kpfonts-otf to LatinModern, STIXTwo, Erewhon, TeXGyreTermes, Garamond and Libertinus. ## Installation @@ -50,7 +50,7 @@ Either version 1.3 or, at your option, any later version. * v. 0.31: Fixed inconsistent widths/sidebearings for six glyphs: - = ≠ < ≤ > ≥ (all five Math fonts affected, original Type1 too). + = ≠ < ≤ > ≥ (all five maths fonts affected, original Type1 too). * v. 0.32: @@ -68,26 +68,26 @@ Either version 1.3 or, at your option, any later version. - Optional ft and tt ligatures added, see feature "Ligatures=Required". - Variants for ligatures fi ffi fl ffl added, see "Alternate=1". - (faked) slanted fonts added to match kpfonts T1 version. - 2. Math fonts: + 2. Maths fonts: - Corrected mismatch between mitl (U+1d459) and ell (U+2113). - Slanted versions for \shortparallel and \nshortparallel and for \gtreqless, \lesseqgtr, \gtreqqless, \lesseqqgtr added. - Stretchy accents \wideoverbar, \widebreve, \widecheck added. - Reduced boldness for superscripts and supersuperscripts. - - New option "tight" to reduce horizontal spaces in math mode + - New option "tight" to reduce horizontal spaces in maths mode (same settings as \pkg{fourier} and \pkg{fourier-otf}). * v. 0.33: - Roman Text fonts: Added 54 glyphs in Latin-ExtendedA range (mostly complete now). - - Math fonts: + - Maths fonts: Fixed inconsistencies in superscripts and supersuperscripts metrics. * v. 0.34: Massive glyph cleaning: many spurious control points deleted in glyphs - for both Math and Text fonts. + for both Maths and Text fonts. 1. Text fonts: - kernings before and after quoteright improved. @@ -96,7 +96,7 @@ Either version 1.3 or, at your option, any later version. - diacritics corrected in `KpRoman-LightItalic` (some were upright). - breaking change: feature "Alternate=1" changed to "StylisticSet=1" as it didn't work with XeTeX. - 2. Math fonts: + 2. Maths fonts: - metrics (width, italic correction) reviewed. - accents ovhook (U+0309), candra (U+0310), vertoverlay (U+202D) added. @@ -109,13 +109,13 @@ Either version 1.3 or, at your option, any later version. - Added missing anchors for "dot below" on P, p, p.pc, p.sc, a.sc. - HarfBuzz renderer no longer loaded for HBLuaTeX engine, new option "harfbuzz" to force loading it (`kpfonts-otf.sty`). - 2. Math fonts: + 2. Maths fonts: - Extensible delimiters corrected in KpMath-Sans. - Options `frenchstyle`, `partialup` and `fancyReIm` now work as intended. * v. 0.36: - Math fonts: + Maths fonts: - `kpfonts-otf.sty`: Option mathcal deleted, \mathcal{} and \mathscr{} now print different glyphs. - mathcal substitutions corrected for `KpMath-Regular` and `KpMath-Sans`. @@ -133,7 +133,7 @@ Either version 1.3 or, at your option, any later version. added (\sbseries, \ltseries, \ebseries), see documentation. - Breaking change: files `*.fontspec` changed so that the default smallcaps are now "Petite" instead of "Small" to match the orignal kpfonts default. - 2. Math fonts: + 2. Maths fonts: - Completed the collection of "squares", "triangles", "diamonds" and "lozenges". - Tuned all "squares", "circles" and "triangles": the smaller ones are @@ -148,7 +148,7 @@ Either version 1.3 or, at your option, any later version. - Improved option "veryoldstyle" (luatex only): a final "s" is no longer turned into the long variant. - Fixed kerning after "f" in KpSans-BoldItalic. - 2. Math fonts: + 2. Maths fonts: - Added bold versions to \dotlessi, \dotlessj, named \mbfdotlessi, \mbfdotlessj (\mbfimath and \mbfjmath were already available). @@ -175,7 +175,7 @@ Either version 1.3 or, at your option, any later version. * v. 0.42: - Math fonts: + Maths fonts: - Added missing U+0338 for negation of \mathrel chars. - Added \smallin (U+220A), \smallni (U+220D). - Added \awint (U+2A11). @@ -183,7 +183,11 @@ Either version 1.3 or, at your option, any later version. * v. 0.43: Text fonts: kpfonts-otf.sty now loads realscripts for better superscripts. - Math fonts: Vertical variants of slash and backslash are now accessible. + Maths fonts: Vertical variants of slash and backslash are now accessible. + +* v. 0.44: + + Maths fonts: fixed bug for \vert variants in script and scriptscriptstyle. --- Copyright 2020-2022 Daniel Flipo diff --git a/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.ltx b/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.ltx index 0bdbdc9f01..401de25c7f 100644 --- a/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.ltx +++ b/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.ltx @@ -42,7 +42,7 @@ \title{Kp-fonts: OpenType version} \author{\href{mailto:daniel.flipo@free.fr}{Daniel \textsc{Flipo}}} -\newcommand*{\version}{0.43} +\newcommand*{\version}{0.44} \begin{document} \selectlanguage{british} @@ -63,7 +63,7 @@ \famvar{Semi\-bold}, \famvar{Semibold\-Italic}---, a Sans-Serif family \family{KpSans} and a TypeWriter family \family{KpMono}, each of them in four shapes and weights---\famvar{Regular}, \famvar{Italic}, - \famvar{Bold} and \famvar{Bold\-Italic}--- and five Math OpenType fonts + \famvar{Bold} and \famvar{Bold\-Italic}--- and five maths OpenType fonts \family{KpMath-Regular}, \family{KpMath-Bold}, \family{KpMath-Light}, \family{KpMath-Semibold} and \family{KpMath-Sans}. @@ -79,7 +79,7 @@ The support of text fonts covers Latin and Latin Extended~A (U+0020 to U+017F) but neither IPA nor Greek nor Cyrillic alphabets. - For all Math fonts, Latin and Greek letters are available in Upright and + For all maths fonts, Latin and Greek letters are available in Upright and Italic shapes, in Bold and Regular weights: $\symup{a}$ $\symup{\beta}$ $\symup{C}$ $\symup{\Delta}$, $\symit{a}$ $\symit{\beta}$ $\symit{C}$ $\symit{\Delta}$, @@ -98,8 +98,8 @@ \mathversion{full}$\mathcal{ABC}$ and \mathversion{base}$\mathscr{ABC}$ while |\mathfrak{ABCabc}| prints $\mathfrak{ABCabc}$. - File \file{unimath-kpfonts.pdf} shows the full list of Unicode Math symbols - provided by Kp-fonts, compared with other common Math fonts. + File \file{unimath-kpfonts.pdf} shows the full list of Unicode maths symbols + provided by Kp-fonts, compared with other common maths fonts. More symbols, specific to Kp-fonts, are listed in section~\ref{ssec:symb-spec-kp}. @@ -122,14 +122,14 @@ try the OpenType version is to load \pkg{kpfonts-otf.sty}:\\[.5\baselineskip] this loads \pkg{unicode-math}, \pkg{fontspec} and \pkg{realscripts}, and defines \family{KpRoman} (\family{Regular} or \family{Light} depending on options), \family{KpSans} and \family{KpMono} as Text fonts, \family{KpMath} -(\family{Regular} or \family{Light} depending on options) as Math fonts. +(\family{Regular} or \family{Light} depending on options) as maths fonts. \pkg{kpfonts-otf.sty} also defines all symbols available in \pkg{latexsym} and \pkg{amssymb} under the same names% \footnote{Unicode names often differ from AMS names.} and a bunch of Kp-fonts specifics symbols. -\subsection{Global options for both Text and Maths} +\subsection{Global options for both text and maths} \begin{description} \item[light:] switches to \famvar{light} fonts, metrics are unchanged; @@ -159,7 +159,7 @@ and a bunch of Kp-fonts specifics symbols. \medskip \item[nomath:] load neither \pkg{unicode-math} nor \family{KpMath} fonts; - useful for documents without Maths, or to choose other Math fonts. + useful for documents without maths, or to choose other maths fonts. \item[notext:] do not change any Text font, use the defaults. \item[nosf:] do not change Sans-Serif Text fonts, use the defaults. \item[nott:] do not change Typewriter Text fonts, use the defaults. @@ -170,7 +170,7 @@ and a bunch of Kp-fonts specifics symbols. \opt{oldstylenumsmath}. \end{description} -\subsection{Options for Text fonts \emph{only}} +\subsection{Options for text fonts \emph{only}} \begin{description} \item[lighttext:] switches to \famvar{light} Text fonts. @@ -200,7 +200,7 @@ and a bunch of Kp-fonts specifics symbols. \item[oldstyle:] provides lowercase digits as a default, long-tailed Q ({\addfontfeatures{Style=Swash}Quebec}) and (for Roman and Sans-Serif fonts only) old style ligatures - {\addfontfeatures{Ligatures=Rare}« ct » et « st »}. + {\addfontfeatures{Ligatures=Rare}`ct’ and `st’}. Examples: \begin{itemize}\addfontfeatures{Style=Swash,Ligatures=Rare} @@ -238,7 +238,7 @@ and a bunch of Kp-fonts specifics symbols. {\addfontfeatures{RawFeature=+hist;+hlig}`s\hspace{1sp}’}. This option, available only with LuaTeX, is silently switched on by \opt{veryoldstyle}; it is used explicitly in the present document to deal with the examples of - long `s’ shown in the preceeding item. + long `s’ shown in the preceding item. \item[largesmallcaps:] prints larger \textlsc{Small Caps} than the default ones (\textsc{Petite Caps}). @@ -250,9 +250,9 @@ and a bunch of Kp-fonts specifics symbols. \item[germandbls :] |\SS| prints {\addfontfeatures{StylisticSet=2}\SS} instead of {\char"1E9E} (capital \textit{Eszett}), ditto for small/petite caps. -\item[eurosym :] remplaces the Euro character (€) by the official symbol +\item[eurosym :] replaces the Euro character (€) by the official symbol {\addfontfeatures{StylisticSet=3}(€)} (available in regular, italic, - bold and et bolditalic). + bold and bolditalic). %; the |\KPeuro| command is also provided to print %the official symbol, it accepts an optionnal argument : |\kpeuro[1,50]{}| %prints \kpeuro[1,50] (with a nobreak space). @@ -262,11 +262,11 @@ and a bunch of Kp-fonts specifics symbols. \end{description} -\subsection{Options for Math fonts \emph{only}} +\subsection{Options for maths fonts \emph{only}} \begin{description} -\item[lightmath:] uses \famvar{light} Math fonts. +\item[lightmath:] uses \famvar{light} maths fonts. \item[bbsans:] command |\mathbb| prints Sans-Serif Blackboard Bold capitals with Serif fonts too: compare @@ -282,25 +282,25 @@ and a bunch of Kp-fonts specifics symbols. % instead of \mathversion{base} $\mathcal{A,B,C,D}$ (default). \item[frenchstyle:] Latin uppercase letters and all Greek letters are - printed upright, only lowercase latin letters are printed in italics; + printed upright, only lowercase Latin letters are printed in italics; this follows the French typographic usage. -\item[oldstylenumsmath:] prints lowercase digits in Maths (default is +\item[oldstylenumsmath:] prints lowercase digits in maths (default is uppercase). \item[narrowiints:] prints condensed repeated integrals : - \mathversion{full}$\iiint$ et $\displaystyle\iiint$ + \mathversion{full}$\iiint$ and $\displaystyle\iiint$ \quad instead of \quad - \mathversion{base}$\iiint$ et $\displaystyle\iiint$ (default). + \mathversion{base}$\iiint$ and $\displaystyle\iiint$ (default). \item[partialup:] the |\partial| symbol is printed upright $\symup{\partial}$ instead of $\partial$. -\item[fancyReIm:] commands |\Re| et |\Im| print $\RE$ and $\IM$ respectively - instead of $\Re$ et $\Im$. +\item[fancyReIm:] commands |\Re| and |\Im| print $\RE$ and $\IM$ respectively + instead of $\Re$ and $\Im$. -\item[tight :] horizontal spaces tightened in math mode (same settings as +\item[tight :] horizontal spaces tightened in maths mode (same settings as \pkg{fourier-otf}). \item[noDcommand:] do not define |\D| to avoid incompatibilities with other @@ -328,7 +328,7 @@ loading any font: \usepackage[symbols]{kpfonts-otf} \end{verbatim} Please note that \pkg{unicode-math}% -\footnote{A carefull reading of both manuals \file{unicode-math.pdf} and +\footnote{A careful reading of both manuals \file{unicode-math.pdf} and \file{fonspec.pdf} (available in all TeX distributions) is required in order to take full advantage of these packages.} (and \pkg{fontspec}) \emph{are loaded} by this procedure, no need to do it @@ -342,7 +342,7 @@ Then, it is up to the user to load Kp-fonts with whatever option he/she likes using commands\\[.5\baselineskip] |\set...font{|\optit{font}|}[|\optit{options}|]|. -For documents requiring no Math fonts, loading \pkg{fontspec} and using +For documents requiring no maths fonts, loading \pkg{fontspec} and using the |\set...font| commands is enough, no need to load \pkg{kpfonts-otf} at all. \subsection{Options for Text fonts} @@ -351,7 +351,7 @@ Here are the options available for Text Kp-fonts: \begin{description} \item[Numbers=Lowercase] to get lowercase digits {\addfontfeature{Numbers=Lowercase} 1,2,3} instead of 1,2,3; - the defaut is\\ \style{Numbers=Lining}. + the default is\\ \style{Numbers=Lining}. \item[SmallCapsFeatures = \{Letters=SmallCaps\}] the |\textsc{}| command will print larger \textlsc{Small Caps} than the default @@ -368,10 +368,10 @@ Here are the options available for Text Kp-fonts: \item[StylisticSet=1] provides an alternative for glyphs {\addfontfeature{StylisticSet=1} ffi ffl fi fl} (ff is unchanged). -\item[Ligatures=Required :] adds {\addfontfeature{Ligatures=Required} ft et tt} +\item[Ligatures=Required :] adds {\addfontfeature{Ligatures=Required} ft and tt} ligatures. -\item[Ligatures=Rare] adds {\addfontfeature{Ligatures=Rare} ct et st} ligatures. +\item[Ligatures=Rare] adds {\addfontfeature{Ligatures=Rare} ct and st} ligatures. \item[Style=Swash] to get the long-tailed capital Q: {\addfontfeature{Style=Swash}Queen, also in small caps (both sizes): @@ -389,9 +389,9 @@ Here are the options available for Text Kp-fonts: \item[StylisticSet=2 :] |\SS| prints {\addfontfeatures{StylisticSet=2}\SS} instead of {\char"1E9E} (capital \textit{Eszett}), ditto for small/petite caps. -\item[StylisticSet=3 :] remplaces the Euro character (€) by the official symbol +\item[StylisticSet=3 :] replaces the Euro character (€) by the official symbol {\addfontfeatures{StylisticSet=3}(€)} (available in regular, italics, - bold and et bolditalic). + bold and bolditalic). \end{description} @@ -446,14 +446,14 @@ Actually, a shortcut is available in this case: |\oldstylenums{1234576890}|. With the \family{KpLight}, weights \famvar{Semibold} and \famvar{Extrabold} can be defined similarly. -\subsection{Options for Math fonts} +\subsection{Options for maths fonts} The following options can be passed either to \pkg{unicode-math}% \footnote{See the manual \file{unicode-math.pdf}.} or to |\setmathfont{}|: \begin{description} -\item[math-style =] \opt{ISO}, \opt{TeX} (défaut), \opt{french}, \opt{upright}; -\item[bold-style =] \opt{ISO}, \opt{TeX} (défaut), \opt{upright}; +\item[math-style =] \opt{ISO}, \opt{TeX} (default), \opt{french}, \opt{upright}; +\item[bold-style =] \opt{ISO}, \opt{TeX} (default), \opt{upright}; \item[partial =] \opt{upright} (default italic); \item[nabla =] \opt{italic} (default upright); \end{description} @@ -465,7 +465,7 @@ Seven `Style Variants’ are available with Kp-fonts, here are the first three: \mathversion{base}$\mathcal{ABC}$ (default), see note below; \item[Style=bbsans] (\texttt{+ss02}) |\mathbb{}| prints Sans-Serif - Blackboard bold capitals \mathversion{full}$\mathbb{ABC}$ for Serif Math fonts + Blackboard bold capitals \mathversion{full}$\mathbb{ABC}$ for Serif maths fonts \file{KpMath-Regular} and \file{KpMath-light} instead of \mathversion{base}$\mathbb{ABC}$ ; @@ -476,7 +476,7 @@ Seven `Style Variants’ are available with Kp-fonts, here are the first three: \textbf{Note:} if you want commands |$\mathcal{ABC}$| and |$\mathscr{ABC}$| to print \mathversion{full}$\mathcal{ABC}$ and \mathversion{base}$\mathcal{ABC}$ -repectively, you can use \pkg{unicode-math}’s option |range| this way:\\ +respectively, you can use \pkg{unicode-math}’s option |range| this way:\\ |\setmathfont{KpMath-Regular}[|\optit{options}|]|\\ |\setmathfont{KpMath-Regular}[range={cal,bfcal},StylisticSet=1]|\\ Both lines are mandatory: the first one loads \family{KpMath} as usual while @@ -588,7 +588,7 @@ Table~\vref{cv} shows the available `Glyphs Variants’: \vspace{\baselineskip} Example: with |\setmathfont{KpMath-Regular.otf}[CharacterVariant={3,6}]|\\ commands |\epsilon| and |\phi| print $\varepsilon$ -and $\varphi$ instead of $\epsilon$ et $\phi$. +and $\varphi$ instead of $\epsilon$ and $\phi$. The same is true of course for all shapes and and weights (upright, bold, bolditalic, sans-derif, etc.): f.i.\ with \opt{math-syle=french}, |\epsilon| and |\phi| print $\symup{\varepsilon}$ and $\symup{\varphi}$ (upright). @@ -616,7 +616,7 @@ element: |\displaystyle\varint f(t)\D{t}| prints $\displaystyle\varint f(t)\D{t}$. -\subsection{Specific Math symbols} +\subsection{Specific maths symbols} \label{ssec:symb-spec-kp} The next tables present symbols unavailable as Unicode characters, they @@ -700,7 +700,7 @@ The full list of Unicode symbols available with Kp-fonts is shown in file \overline{A\cup B}\quad \overline{A\cup (B\cap C)\cup D}\quad \underline{m+n+p}\] -\item \cmd{wideoverbar}, \cmd{widecheck} et \cmd{widebreve} +\item \cmd{wideoverbar}, \cmd{widecheck} and \cmd{widebreve} \[\wideoverbar{x}\quad \wideoverbar{xy}\quad \wideoverbar{xyz}\quad \widecheck{x}\quad \widecheck{xxxx}\quad \widecheck{xxxxxx}\quad \widebreve{x}\quad \widebreve{xxxx}\quad \widebreve{xxxxxx} @@ -734,11 +734,11 @@ The full list of Unicode symbols available with Kp-fonts is shown in file \quad \overleftarrow{AB}\quad \overleftarrow{ABC} \quad \overleftarrow{ABCD} \quad \overleftarrow{ABCDEFGH}\] -\item Enfin \cmd{widearc} and \cmd{widearcarrow} (ou \cmd{overrightarc}) +\item Enfin \cmd{widearc} and \cmd{widearcarrow} (or \cmd{overrightarc}) \[\widearc{AMB}\quad \widearcarrow{AMB}\] \end{itemize} -\subsection{Math Versions} +\subsection{Maths Versions} Different versions of the \family{KpMath} fonts may be defined in the document’s preamble:\\ diff --git a/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.pdf b/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.pdf Binary files differindex 6a27b58e68..4ffc03c101 100644 --- a/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.pdf +++ b/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.pdf diff --git a/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-French.ltx b/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-French.ltx index 558ec04eeb..e40d9dda37 100644 --- a/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-French.ltx +++ b/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-French.ltx @@ -42,7 +42,7 @@ \title{Kp-fonts version OpenType} \author{\href{mailto:daniel.flipo@free.fr}{Daniel \textsc{Flipo}}} -\newcommand*{\version}{0.43} +\newcommand*{\version}{0.44} \begin{document} \maketitle diff --git a/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-French.pdf b/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-French.pdf Binary files differindex 6c4b0e96b0..eb96227d0a 100644 --- a/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-French.pdf +++ b/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-French.pdf diff --git a/fonts/kpfonts-otf/doc/unimath-kpfonts.pdf b/fonts/kpfonts-otf/doc/unimath-kpfonts.pdf Binary files differindex cd49113dd4..b5f5444804 100644 --- a/fonts/kpfonts-otf/doc/unimath-kpfonts.pdf +++ b/fonts/kpfonts-otf/doc/unimath-kpfonts.pdf diff --git a/fonts/kpfonts-otf/fonts/KpMath-Bold.otf b/fonts/kpfonts-otf/fonts/KpMath-Bold.otf Binary files differindex 5bdb81bd7f..6f1736eb48 100644 --- a/fonts/kpfonts-otf/fonts/KpMath-Bold.otf +++ b/fonts/kpfonts-otf/fonts/KpMath-Bold.otf diff --git a/fonts/kpfonts-otf/fonts/KpMath-Light.otf b/fonts/kpfonts-otf/fonts/KpMath-Light.otf Binary files differindex 822b3b4db9..c4e93a29d9 100644 --- a/fonts/kpfonts-otf/fonts/KpMath-Light.otf +++ b/fonts/kpfonts-otf/fonts/KpMath-Light.otf diff --git a/fonts/kpfonts-otf/fonts/KpMath-Regular.otf b/fonts/kpfonts-otf/fonts/KpMath-Regular.otf Binary files differindex f73e89236e..ec61fbc308 100644 --- a/fonts/kpfonts-otf/fonts/KpMath-Regular.otf +++ b/fonts/kpfonts-otf/fonts/KpMath-Regular.otf diff --git a/fonts/kpfonts-otf/fonts/KpMath-Sans.otf b/fonts/kpfonts-otf/fonts/KpMath-Sans.otf Binary files differindex ca1e803000..8546cf5865 100644 --- a/fonts/kpfonts-otf/fonts/KpMath-Sans.otf +++ b/fonts/kpfonts-otf/fonts/KpMath-Sans.otf diff --git a/fonts/kpfonts-otf/fonts/KpMath-Semibold.otf b/fonts/kpfonts-otf/fonts/KpMath-Semibold.otf Binary files differindex 237407894c..cc6143ea21 100644 --- a/fonts/kpfonts-otf/fonts/KpMath-Semibold.otf +++ b/fonts/kpfonts-otf/fonts/KpMath-Semibold.otf diff --git a/fonts/kpfonts-otf/fonts/KpMono-Bold.otf b/fonts/kpfonts-otf/fonts/KpMono-Bold.otf Binary files differindex 8b020e373b..96e6bb1793 100644 --- a/fonts/kpfonts-otf/fonts/KpMono-Bold.otf +++ b/fonts/kpfonts-otf/fonts/KpMono-Bold.otf diff --git a/fonts/kpfonts-otf/fonts/KpMono-BoldItalic.otf b/fonts/kpfonts-otf/fonts/KpMono-BoldItalic.otf Binary files differindex 4128aae406..9a2bb162e2 100644 --- a/fonts/kpfonts-otf/fonts/KpMono-BoldItalic.otf +++ b/fonts/kpfonts-otf/fonts/KpMono-BoldItalic.otf diff --git a/fonts/kpfonts-otf/fonts/KpMono-Italic.otf b/fonts/kpfonts-otf/fonts/KpMono-Italic.otf Binary files differindex 9d1e4036a7..b2878c173a 100644 --- a/fonts/kpfonts-otf/fonts/KpMono-Italic.otf +++ b/fonts/kpfonts-otf/fonts/KpMono-Italic.otf diff --git a/fonts/kpfonts-otf/fonts/KpMono-Regular.otf b/fonts/kpfonts-otf/fonts/KpMono-Regular.otf Binary files differindex ed37d40d9a..d147f5e086 100644 --- a/fonts/kpfonts-otf/fonts/KpMono-Regular.otf +++ b/fonts/kpfonts-otf/fonts/KpMono-Regular.otf diff --git a/fonts/kpfonts-otf/fonts/KpRoman-Bold.otf b/fonts/kpfonts-otf/fonts/KpRoman-Bold.otf Binary files differindex 8a6971b7a4..3661243c91 100644 --- a/fonts/kpfonts-otf/fonts/KpRoman-Bold.otf +++ b/fonts/kpfonts-otf/fonts/KpRoman-Bold.otf diff --git a/fonts/kpfonts-otf/fonts/KpRoman-BoldItalic.otf b/fonts/kpfonts-otf/fonts/KpRoman-BoldItalic.otf Binary files differindex a42e846212..03905c6121 100644 --- a/fonts/kpfonts-otf/fonts/KpRoman-BoldItalic.otf +++ b/fonts/kpfonts-otf/fonts/KpRoman-BoldItalic.otf diff --git a/fonts/kpfonts-otf/fonts/KpRoman-Italic.otf b/fonts/kpfonts-otf/fonts/KpRoman-Italic.otf Binary files differindex 838b0fe341..8471192544 100644 --- a/fonts/kpfonts-otf/fonts/KpRoman-Italic.otf +++ b/fonts/kpfonts-otf/fonts/KpRoman-Italic.otf diff --git a/fonts/kpfonts-otf/fonts/KpRoman-Light.otf b/fonts/kpfonts-otf/fonts/KpRoman-Light.otf Binary files differindex b948783976..ea06ffdda4 100644 --- a/fonts/kpfonts-otf/fonts/KpRoman-Light.otf +++ b/fonts/kpfonts-otf/fonts/KpRoman-Light.otf diff --git a/fonts/kpfonts-otf/fonts/KpRoman-LightItalic.otf b/fonts/kpfonts-otf/fonts/KpRoman-LightItalic.otf Binary files differindex 3a898ea6ae..9706d7691f 100644 --- a/fonts/kpfonts-otf/fonts/KpRoman-LightItalic.otf +++ b/fonts/kpfonts-otf/fonts/KpRoman-LightItalic.otf diff --git a/fonts/kpfonts-otf/fonts/KpRoman-Regular.otf b/fonts/kpfonts-otf/fonts/KpRoman-Regular.otf Binary files differindex 62e58e0177..9660c393db 100644 --- a/fonts/kpfonts-otf/fonts/KpRoman-Regular.otf +++ b/fonts/kpfonts-otf/fonts/KpRoman-Regular.otf diff --git a/fonts/kpfonts-otf/fonts/KpRoman-Semibold.otf b/fonts/kpfonts-otf/fonts/KpRoman-Semibold.otf Binary files differindex bc98d8536f..f3088f89fa 100644 --- a/fonts/kpfonts-otf/fonts/KpRoman-Semibold.otf +++ b/fonts/kpfonts-otf/fonts/KpRoman-Semibold.otf diff --git a/fonts/kpfonts-otf/fonts/KpRoman-SemiboldItalic.otf b/fonts/kpfonts-otf/fonts/KpRoman-SemiboldItalic.otf Binary files differindex f2f4ef59fd..ffbd40be6c 100644 --- a/fonts/kpfonts-otf/fonts/KpRoman-SemiboldItalic.otf +++ b/fonts/kpfonts-otf/fonts/KpRoman-SemiboldItalic.otf diff --git a/fonts/kpfonts-otf/fonts/KpSans-Bold.otf b/fonts/kpfonts-otf/fonts/KpSans-Bold.otf Binary files differindex dcaa16401f..0ab6619bea 100644 --- a/fonts/kpfonts-otf/fonts/KpSans-Bold.otf +++ b/fonts/kpfonts-otf/fonts/KpSans-Bold.otf diff --git a/fonts/kpfonts-otf/fonts/KpSans-BoldItalic.otf b/fonts/kpfonts-otf/fonts/KpSans-BoldItalic.otf Binary files differindex 4ba9730394..334a87a0c0 100644 --- a/fonts/kpfonts-otf/fonts/KpSans-BoldItalic.otf +++ b/fonts/kpfonts-otf/fonts/KpSans-BoldItalic.otf diff --git a/fonts/kpfonts-otf/fonts/KpSans-Italic.otf b/fonts/kpfonts-otf/fonts/KpSans-Italic.otf Binary files differindex a3e9d7b80c..697d69d3a9 100644 --- a/fonts/kpfonts-otf/fonts/KpSans-Italic.otf +++ b/fonts/kpfonts-otf/fonts/KpSans-Italic.otf diff --git a/fonts/kpfonts-otf/fonts/KpSans-Regular.otf b/fonts/kpfonts-otf/fonts/KpSans-Regular.otf Binary files differindex e2ee1608ea..c3f128221d 100644 --- a/fonts/kpfonts-otf/fonts/KpSans-Regular.otf +++ b/fonts/kpfonts-otf/fonts/KpSans-Regular.otf diff --git a/fonts/kpfonts-otf/tex/kpfonts-otf.sty b/fonts/kpfonts-otf/tex/kpfonts-otf.sty index 4d809410a7..14596278ff 100644 --- a/fonts/kpfonts-otf/tex/kpfonts-otf.sty +++ b/fonts/kpfonts-otf/tex/kpfonts-otf.sty @@ -1,6 +1,6 @@ \NeedsTeXFormat{LaTeX2e}[2019-01-01] -\def\fileversion{0.43} -\def\filedate{2022-07-05} +\def\fileversion{0.44} +\def\filedate{2022-09-28} \ProvidesPackage{kpfonts-otf}[\filedate\space\fileversion] % Ensure luatex or xetex engine @@ -273,7 +273,6 @@ \Store@KP@MOption{partial}{upright} \fi \ifkp@lightmath - %\expandafter\setmathfont\expandafter[\the\KpMtoks]{KpMath-Light.otf} % Following Joseph Wright in https://tex.stackexchange.com/questions/451 \begingroup \edef\temp{% @@ -284,7 +283,6 @@ \temp \setmathfont[range={cal,bfcal},RawFeature=+ss01]{KpMath-Light.otf} \else - %\expandafter\setmathfont\expandafter[\the\KpMtoks]{KpMath-Regular.otf} % Following Joseph Wright in https://tex.stackexchange.com/questions/451 \begingroup \edef\temp{% @@ -312,7 +310,7 @@ \Umathchardef\mitsansell = 0 0 "E019 \relax \Umathchardef\varemptyset = 0 0 "E021 \relax \Umathchardef\lambdaslash = 0 0 "E029 \relax - \Umathchardef\lambdabar = 0 0 "E02A \relax + \Umathchardef\lambdabar = 0 0 "019B \relax \Umathchardef\mbfvec = 0 0 "E044 \relax \Umathchardef\mbfwp = 0 0 "E045 \relax \Umathchardef\mbfdotlessi = 0 0 "E046 \relax diff --git a/fonts/xcharter-math/README.md b/fonts/xcharter-math/README.md index 52a0309039..0b41e97b13 100644 --- a/fonts/xcharter-math/README.md +++ b/fonts/xcharter-math/README.md @@ -54,6 +54,9 @@ Either version 1.3 or, at your option, any later version. - all vertical delimiters resized. - \mathslash, \backslash and their vertical variants: slope corrected. - xcharter-otf.sty now loads realscripts for better superscripts. +* v0.33: + - Experimental Bold variant added. + - xcharter-otf.sty loads XCharter-Math.otf by file name for XeTeX. --- Copyright 2022- Daniel Flipo diff --git a/fonts/xcharter-math/XCharter-Math.ltx b/fonts/xcharter-math/XCharter-Math.ltx index 601146389f..90965b770e 100644 --- a/fonts/xcharter-math/XCharter-Math.ltx +++ b/fonts/xcharter-math/XCharter-Math.ltx @@ -35,18 +35,18 @@ \title{\decofourleft\,\XCotf\,\decofourright} \author{Daniel Flipo \\ \texttt{daniel.flipo@free.fr}} -\newcommand*{\version}{0.32} +\newcommand*{\version}{0.33} \begin{document} \maketitle \section{What is \XCotf{}?} -\XCotf{} is an Opentype mathematical font based on Bitstream Charter +\XCotf{} is an OpenType maths font based on Bitstream Charter meant to be used with XCharter text fonts. -Latin and Greek letters and many Math symbols are borrowed or -derived from Mickael Sharpe’s XCharter fonts. Other sources for Math glyphs +Latin and Greek letters and many maths symbols are borrowed or +derived from Michael Sharpe’s XCharter fonts. Other sources for maths glyphs were found in MathDesign (by Paul Pichaureau) and \FGUT{} (by Michel Bovani). It requires LuaTeX or XeTeX as engine and the \pkg{unicode-math} package% @@ -66,14 +66,18 @@ A basic call for \XCotf{} would be: \setmathfont{XCharter-Math.otf} % Call by file name or \setmathfont{XCharter Math} % Call by font name \end{verbatim} -this loads \XCotf{} as math font with the default options, see -subsections~\vref{ssection-um}, \vref{ssection-cv} and~\vref{ssection-ss} -for customisation. +this loads \XCotf{} as maths font% +\footnote{Both calls work equally well with LuaTeX; with XeTeX a call by font + name will fail unless the font is declared as a \emph{system font}.} +with the default options, see subsections~\vref{ssection-um}, +\vref{ssection-cv} and~\vref{ssection-ss} for customisation. -\enlargethispage*{\baselineskip} Please note that the three sets of text fonts have to be chosen separately, -f.i.:\\[.25\baselineskip] -\verb+\setmainfont{XCharter}+\\ +f.i.:%\\[.25\baselineskip] + +\pagebreak[4] +\noindent +\verb+\setmainfont{XCharter} % rm+\\ \verb+\setsansfont{Cabin}[Scale=MatchLowercase] % sf+\\ \verb+\setmonofont{Inconsolatazi4}[Scale=MatchLowercase] % tt+\\[.25\baselineskip] otherwise you would get Latin Modern for text fonts. @@ -87,7 +91,7 @@ As an alternative to load \XCotf{} you can type:\\[.5\baselineskip] \ref{ssection-cv} and \ref{ssection-ss}.}% \verb+ ]{xcharter-otf}+\\[.5\baselineskip] it loads \pkg{unicode-math} with the default options, sets XCharter-Math -as Math font and XCharter Text fonts as Roman fonts +as maths font and XCharter Text fonts as Roman fonts (families \textit{sf} and \textit{tt} left unchanged) but does a bit more: \begin{enumerate} \item it loads \pkg{realscripts} for better superscripts; @@ -95,18 +99,18 @@ as Math font and XCharter Text fonts as Roman fonts \pkg{latexsym} are loaded and issues warnings in case they are; \item it provides aliases for glyphs named differently in Unicode, so that \pkg{latexsym} or AMS names are also available; -\item it defines specific Math characters like +\item it defines specific maths characters like \showmchar{varemptyset}, \showmchar{parallelslant}, \showmchar{shortparallelslant}, etc.; -\item it reduces spacing in math mode: \cmd{thinmuskip}, \cmd{medmuskip} +\item it reduces spacing in maths mode: \cmd{thinmuskip}, \cmd{medmuskip} and \cmd{thickmuskip} unless the \opt{loose} option is activated. \end{enumerate} -Apart from the \opt{loose} option mentionned above, \pkg{xcharter-otf.sty} +Apart from the \opt{loose} option mentioned above, \pkg{xcharter-otf.sty} provides two options \opt{no-text} and \opt{Scale=}\textsl{<decimal>} meant to be used to load the \XCotf{} font together with roman text fonts other than -XCharter, while keeping the advantages 1. to~5. pointed in the preceeding list, +XCharter, while keeping the advantages 1. to~5. pointed in the preceding list, f.i.\\ \verb+\usepackage[no-text,Scale=0.98]{xcharter-otf}+ Option \opt{no-text} can also be useful if XCharter is to be loaded with @@ -122,7 +126,7 @@ two packages \emph{should not} be loaded as they might override \XCotf{} glyphs. Sans-serif, typewriter and fraktur styles are borrowed from Latin Modern fonts. See in section~\vref{ssec-math-alphabets} how to choose -from other Math fonts for these styles. +from other maths fonts for these styles. A full list of available glyphs is shown in file \file{unimath-xcharter.pdf}. @@ -130,9 +134,9 @@ A full list of available glyphs is shown in file \file{unimath-xcharter.pdf}. \label{ssection-um} Package \pkg{unicode-math} follows \TeX{} conventions for Latin and Greek -letters: in math mode, the default option (\opt{math-style=TeX}) prints -Latin letters $a$…$z$ $A$…$Z$ and lowercase greek letters $\alpha$…$\omega$ -slanted (italic) while uppercase greek letters $\Alpha \Beta \Gamma$…$\Omega$ +letters: in maths mode, the default option (\opt{math-style=TeX}) prints +Latin letters $a$…$z$ $A$…$Z$ and lowercase Greek letters $\alpha$…$\omega$ +slanted (italic) while uppercase Greek letters $\Alpha \Beta \Gamma$…$\Omega$ are printed upright. This can be changed by option \opt{math-style} as shown in table~\vref{math-style}. @@ -198,7 +202,7 @@ while the default settings would print Both shapes remain available anytime: \verb+$\uppi,\itpi$+ prints $\uppi, \itpi$. -If your text editor is able to handle greek letters or math symbols, they can +If your text editor is able to handle Greek letters or maths symbols, they can be entered in the code instead control sequences (i.e. $\symup{α}$, $\symup{β}$, $\symup{Γ}$,… for \cmd{alpha}, \cmd{beta}, \cmd{Gamma},…). @@ -268,12 +272,12 @@ variant \texttt{cv01} or with \cmd{mithbar} (replacement for AMS’ command \label{ssection-ss} \XCotf{} provides five ``Stylistic Sets’’ options to choose between different -glyphs for families of mathematical symbols. +glyphs for families of maths symbols. \verb+StylisticSet=4+, alias% \footnote{These \texttt{Style} aliases are provided by \file{xcharter-otf.sty}.} \verb+Style=leqslant+, converts large -inequalites into their slanted variants, see table~\vref{ss04}. +inequalities into their slanted variants, see table~\vref{ss04}. \verb+StylisticSet=5+, alias \verb+Style=smaller+, converts some symbols into their smaller variants, see table~\vref{ss05}. @@ -407,7 +411,7 @@ variants, see table~\vref{ss03}. \subsection{Other font features} \label{ssec-other-features} -To get oldstyle numbers in Maths, the feature \texttt{+onum} is available: +To get oldstyle numbers in maths, the feature \texttt{+onum} is available: \begin{verbatim} \setmathfont{XCharter-Math.otf}[Numbers=OldStyle] or \usepackage[Style={fulloldstyle]{xcharter-otf} @@ -420,11 +424,11 @@ $0123456789, \symbf{0123456789}$ \subsection{Standard \LaTeX{} math commands} \label{ssec-math-commands} -All standard \LaTeX{} math commands, all \pkg{amssymb} commands and all +All standard \LaTeX{} maths commands, all \pkg{amssymb} commands and all \pkg{latexsym} commands are supported by \XCotf{}, for some of them loading \pkg{xcharter-otf.sty} is required. -Various wide acccents are also supported: +Various wide accents are also supported: \begin{itemize} \item \cmd{widehat} and \cmd{widetilde} \[\widehat{x}\; \widehat{xx} \;\widehat{xxx} \;\widehat{xxxx}\; @@ -519,7 +523,7 @@ $\symfrak{ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz}$ $\symsfup{ABCDEFGHIJKLM abcdefghijk}\quad\symsfit{NOPQRSTUVWXYZ mnopqrstuvwxyz}$ - but it can be borrowed from another Math font, i.e. + but it can be borrowed from another maths font, i.e. \begin{verbatim} \setmathfont{STIXTwoMath-Regular.otf}[range={sfup,sfit}, Scale=MatchUppercase] @@ -533,7 +537,7 @@ $\symsfup{ABCDEFGHIJKLM abcdefghijklm}\quad $\symtt{ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz}$ -but it can be borrowed from another Math font, i.e. +but it can be borrowed from another maths font, i.e. \begin{verbatim} \setmathfont{STIXTwoMath-Regular.otf}[range=tt, Scale=MatchUppercase] @@ -543,35 +547,33 @@ $\symtt{ABCDE...XYZ abcde...xyz}$ $\symtt{ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz}$ \end{itemize} -%\item Sans serif and Typewriter alphabets are not implemented -% but they can be borrowed from another Math font, i.e. -%\begin{verbatim} -%\setmathfont{STIXTwoMath-Regular.otf}[range={sfup,sfit,tt}, -% Scale=MatchUppercase] -%$\symsfup{ABCD...klm}\quad\symsfit{NOPQ...xyz}$ -%$\symtt{ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz}$ -%\end{verbatim} -%\setmathfont{STIXTwoMath-Regular.otf}[range={sfup,sfit,tt},Scale=MatchUppercase] -%$\symsfup{ABCDEFGHIJKLM abcdefghijklm}\quad -% \symsfit{NOPQRSTUVWXYZ nopqrstuvwxyz}$\\ -%$\symtt{ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz}$ -%\end{itemize} - -Like Latin Modern, XCharter Math provides only four lowercase latin letters in -script (or calligraphic) shape: $\mscre$, $\mscrg$, $\ell$, $\mscro$ -(\verb+\mscre+, \verb+\mscrg+, \verb+\ell+, \verb+\mscro+). +Like Latin Modern, \pkg{XCharter-Math} provides only four lowercase latin +letters in script (or calligraphic) shape: $\mscre$, $\mscrg$, $\ell$, +$\mscro$ (\verb+\mscre+, \verb+\mscrg+, \verb+\ell+, \verb+\mscro+). All others (range \verb+"1D4B6+ to \verb+"1D4CF+) have to be borrowed -from another Math font if needed, i.e. +from another maths font if needed, i.e. \begin{verbatim} \setmathfont{LibertinusMath-Regular.otf}% [range="1D4B6-"1D4CF, Scale=MatchLowercase] \end{verbatim} +\subsection{Bold variant} + +In case short maths formulas have to be printed in section titles, +a \emph{limited} bold variant has been added in version~0.33. Example of usage:\\ +\verb+\setmathfont{XCharter-Math-Bold.otf}[version=bold, +\textit{options}\verb+]+\\ +\verb+\section{\mathversion{bold} Einstein’s equation $E=mc^2$}+ + +\begin{verbatim} +\setmathfont{XCharter-Math-Bold.otf}[version=bold] +\section{\mathversion{bold} Einstein’s equation $E=mc^2$} +\end{verbatim} + \subsection{Missing symbols} \XCotf{} does not aim at being as complete as \file{STIXTwoMath-Regular} or -\file{Cambria}, the current glyph coverage compares with TeXGyre Math fonts. +\file{Cambria}, the current glyph coverage compares with TeXGyre maths fonts. In case some symbols do not show up in the output file, you will see warnings in the \file{.log} file, for instance: diff --git a/fonts/xcharter-math/XCharter-Math.otf b/fonts/xcharter-math/XCharter-Math.otf Binary files differindex 5bf946707c..928ea3d08b 100644 --- a/fonts/xcharter-math/XCharter-Math.otf +++ b/fonts/xcharter-math/XCharter-Math.otf diff --git a/fonts/xcharter-math/XCharter-Math.pdf b/fonts/xcharter-math/XCharter-Math.pdf Binary files differindex c39ca3e921..a6243886fe 100644 --- a/fonts/xcharter-math/XCharter-Math.pdf +++ b/fonts/xcharter-math/XCharter-Math.pdf diff --git a/fonts/xcharter-math/unimath-xcharter.pdf b/fonts/xcharter-math/unimath-xcharter.pdf Binary files differindex 63d9fec392..c696a9a33a 100644 --- a/fonts/xcharter-math/unimath-xcharter.pdf +++ b/fonts/xcharter-math/unimath-xcharter.pdf diff --git a/fonts/xcharter-math/xcharter-otf.sty b/fonts/xcharter-math/xcharter-otf.sty index 32eca6012b..a7207936d3 100644 --- a/fonts/xcharter-math/xcharter-otf.sty +++ b/fonts/xcharter-math/xcharter-otf.sty @@ -1,6 +1,6 @@ \NeedsTeXFormat{LaTeX2e}[2018/01/01] -\def\fileversion{0.32} -\def\filedate{2022-05-04} +\def\fileversion{0.33} +\def\filedate{2022-09-28} \ProvidesPackage{xcharter-otf}[\filedate\space\fileversion] % Ensure luatex or xetex engine @@ -40,12 +40,12 @@ \DeclareOptionX{Scale}{\XCstore@KV@Option{Scale}{#1}} \ExecuteOptionsX{tight} \ProcessOptionsX -% Math fonts: XCharter-Math +% Math fonts: XCharter-Math.otf % Following Joseph Wright in https://tex.stackexchange.com/questions/451 \begingroup \edef\temp{% \endgroup - \noexpand\setmathfont{XCharter Math}% + \noexpand\setmathfont{XCharter-Math.otf}% [\unexpanded\expandafter{\the\XCottoksM}]% } \temp |