diff options
Diffstat (limited to 'Master')
29 files changed, 58 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.ltx b/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.ltx index 61c7d7b1189..aa6fa66e204 100644 --- a/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.ltx +++ b/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.ltx @@ -40,7 +40,7 @@ \title{Kp-fonts: OpenType version} \author{\href{mailto:daniel.flipo@free.fr}{Daniel \textsc{Flipo}}} -\newcommand*{\version}{0.62} +\newcommand*{\version}{0.63} \begin{document} \selectlanguage{british} @@ -117,7 +117,8 @@ For users of the original \pkg{kpfonts.sty} package, the easiest way to try the OpenType version is to load \pkg{kpfonts-otf.sty}:\\[.5\baselineskip] |\usepackage[ |\optit{options}| ]{kpfonts-otf}|\\[.5\baselineskip] -this loads \pkg{unicode-math}, \pkg{fontspec} and \pkg{realscripts}, and defines +this loads \pkg{unicode-math}, \pkg{fontspec} and usually \pkg{realscripts}% +\footnote{See option \opt{fakedscripts} below.}, 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 maths fonts. @@ -186,6 +187,19 @@ and a bunch of Kp-fonts specifics symbols. \item[sfstext:] switches to \famvar{sans-serif} text fonts. +\item[fakedscripts :] prevents \pkg{realscripts} to be loaded, super- + and sub-scripts will be produced by scaling (this is the way pdflatex works) + which gives access to all characters available in the font but produces too + tall and too thin glyphs. On the other hand \pkg{realscripts} gives access + to the super/sub-scripts available in the font (a reduced set made of + digits, lowercase latin letters, parentheses, etc. for the Kpfonts) which are + better looking. I would recommend to keep \pkg{realscripts} loaded and to + use the starred variants \verb+\textsuperscript*+, \verb+\textsubscript*+, + to produce faked super/sub-scripts when needed, coding + \verb+H\textsuperscript*{\#}+ to get H\textsuperscript*{\#} while + \verb+H\textsuperscript{\#}+ would output H\textsuperscript{\#} (\# missing + as superscript). + \item[oldstylenums:] provides lowercase digits as a default. To get uppercase digits locally: |{\addfontfeature{Numbers=Lining} 123}|. @@ -749,7 +763,7 @@ document’s preamble:\\ then, it is easy to switch from one version to another one with |\mathversion{|\optit{name}|}|. -\pagebreak[4] +%\pagebreak[4] Example\footnote{\mathversion{full}Option \opt{CharacterVariant=3} changes $\epsilon$ into $\varepsilon$.} : \begin{verbatim} @@ -761,7 +775,7 @@ $\epsilon$ into $\varepsilon$.} : \end{verbatim} Here is the same equation in three versions, normal, bold and Sans-Serif: -\mathversion{base} +\setmathfont{KpMath-Regular.otf}[Style=leqslant, CharacterVariant=3] \[ \mathbb{E}_i(N_i) = \sum_{n\ge1} P_i(N_i\ge n) = \frac{\epsilon_i}{1-\epsilon_i}<+\infty \] @@ -773,6 +787,10 @@ Here is the same equation in three versions, normal, bold and Sans-Serif: |\mathversion{sans}| \mathversion{sans} \[ \mathbb{E}_i(N_i) = \sum_{n\ge1} P_i(N_i\ge n) = \frac{\epsilon_i}{1-\epsilon_i}<+\infty \] + +To get bold formulas you do not need to define |\mathversion{bold}|, you can +just use the |\boldmath| command: +f.i. |{\boldmath $E=mc^2$}| prints {\boldmath $E=mc^2$}. \end{document} %%% Local Variables: diff --git a/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.pdf b/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.pdf Binary files differindex 7291675bb3d..ce8e6b9aaef 100644 --- a/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.pdf +++ b/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.pdf diff --git a/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-French.ltx b/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-French.ltx index 3f22836c987..8dfc5fd9d06 100644 --- a/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-French.ltx +++ b/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-French.ltx @@ -39,7 +39,7 @@ \title{Kp-fonts version OpenType} \author{\href{mailto:daniel.flipo@free.fr}{Daniel \textsc{Flipo}}} -\newcommand*{\version}{0.62} +\newcommand*{\version}{0.63} \begin{document} \maketitle @@ -115,7 +115,8 @@ Les utilisateurs de la version originale des Kp-fonts préfèreront probablement charger \pkg{kpfonts-otf.sty} comme ceci :\\[.5\baselineskip] |\usepackage[ |\optit{options}| ]{kpfonts-otf}|\\[.5\baselineskip] -ceci charge \pkg{unicode-math}, \pkg{fontspec} et \pkg{realscripts} et +ceci charge \pkg{unicode-math}, \pkg{fontspec} et normalement \pkg{realscripts}% +\footnote{Sauf option \opt{fakedscripts}, voir ci-dessous.} et définit \family{KpRoman} (\family{Regular} ou \family{Light} selon les options), \family{KpSans} et \family{KpMono} comme polices de texte et \family{KpMath} (\family{Regular} ou \family{Light} selon les options) comme police @@ -194,6 +195,21 @@ Notez que ces options n'affectent que les polices de texte. \item[sftext :] le texte est composé en utilisant les polices sans-serif. +\item[fakedscripts :] empêche le chargement de l’extension \pkg{realscripts} + qui donne accès aux vraies lettres supérieures et inférieures disponibles + dans la police (chiffres, lettres minuscules latines non accentuées, + parenthèses, etc. pour les Kpfonts) ; avec l’option \opt{fakedscripts} les + lettres supérieures et inférieures sont obtenues par simple réduction des + lettres de base correspondantes (comme le fait pdflatex), ce qui permet de + placer en exposant ou en indice n’importe quel glyphe présent dans la + police au prix d’une perte de qualité (résultat trop haut et trop maigre) + comparer M\up{me} à M\up*{me} ou M\up{lle} à M\up*{lle}. + Noter que la commande \cmd{up} de \pkg{babel-french} utilise les vraies + supérieures lorsque \pkg{realscripts} est chargé et que sa variante \cmd{up*} + permet d’accéder aux supérieures simulées en cas de besoin : + le caractère \# n’étant pas disponible en lettre supérieure \verb+H\up{\#}+ + produit H\up{\#} tandis que \verb+H\up*{\#}+ produit H\up*{\#}. + \item[oldstylenums :] Les polices fournissent ici les nombres elzéviriens par défaut. @@ -788,6 +804,7 @@ On définit dans le préambule les versions désirées, par exemple :\\ et ensuite on passe d’une version à l’autre grâce à la commande |\mathversion{|\optit{nom}|}|. +\pagebreak[4] Exemple\footnote{\mathversion{full}L’option \opt{CharacterVariant=3} remplace le $\epsilon$ par $\varepsilon$.} : \begin{verbatim} @@ -798,7 +815,7 @@ $\epsilon$ par $\varepsilon$.} : \end{verbatim} Voici la même équation en trois versions, normale, grasse et sans empattement : -\mathversion{base} +\setmathfont{KpMath-Regular.otf}[Style=leqslant, CharacterVariant=3] \[ \mathbb{E}_i(N_i) = \sum_{n\ge1} P_i(N_i\ge n) = \frac{\epsilon_i}{1-\epsilon_i}<+\infty \] @@ -810,6 +827,11 @@ Voici la même équation en trois versions, normale, grasse et sans empattement |\mathversion{sans}|\mathversion{sans} \[ \mathbb{E}_i(N_i) = \sum_{n\ge1} P_i(N_i\ge n) = \frac{\epsilon_i}{1-\epsilon_i}<+\infty \] + +Noter que la commande |\boldmath| peut également être utilisée sans avoir +à définir |\mathversion{bold}| : |{\boldmath $E=mc^2$}| produit +{\boldmath $E=mc^2$}. + \end{document} %%% Local Variables: diff --git a/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-French.pdf b/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-French.pdf Binary files differindex 00acb7cf7aa..b8e3059a8ad 100644 --- a/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-French.pdf +++ b/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-French.pdf diff --git a/Master/texmf-dist/doc/fonts/kpfonts-otf/README.md b/Master/texmf-dist/doc/fonts/kpfonts-otf/README.md index 33bdcfeffdf..4dfb0b5905a 100644 --- a/Master/texmf-dist/doc/fonts/kpfonts-otf/README.md +++ b/Master/texmf-dist/doc/fonts/kpfonts-otf/README.md @@ -244,6 +244,12 @@ Either version 1.3 or, at your option, any later version. * v. 0.62: - Math fonts: vertical delimiters redesigned (sizes and boldness). + +* v. 0.63: + Text fonts: + - Super/Sub-scripts added: punctuation, brackets, braces, dashes, etc. + - Option 'fakedscripts' added to kpfonts-otf.sty; it prevents loading + of package realscripts. --- Copyright 2020-2024 Daniel Flipo diff --git a/Master/texmf-dist/doc/fonts/kpfonts-otf/unimath-kpfonts.pdf b/Master/texmf-dist/doc/fonts/kpfonts-otf/unimath-kpfonts.pdf Binary files differindex 4f4c4a8f613..af0768d922f 100644 --- a/Master/texmf-dist/doc/fonts/kpfonts-otf/unimath-kpfonts.pdf +++ b/Master/texmf-dist/doc/fonts/kpfonts-otf/unimath-kpfonts.pdf diff --git a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Bold.otf b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Bold.otf Binary files differindex bf24059d7a8..acd8321c4ab 100644 --- a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Bold.otf +++ b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Bold.otf diff --git a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Light.otf b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Light.otf Binary files differindex 47e8a41a325..85dba5fec9f 100644 --- a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Light.otf +++ b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Light.otf diff --git a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Regular.otf b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Regular.otf Binary files differindex 54a0d839de5..7212a64664e 100644 --- a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Regular.otf +++ b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Regular.otf diff --git a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Sans.otf b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Sans.otf Binary files differindex 2ba70c61fac..39be8cd5a28 100644 --- a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Sans.otf +++ b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Sans.otf diff --git a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-SansBold.otf b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-SansBold.otf Binary files differindex e618b5ec2cf..55df05f8617 100644 --- a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-SansBold.otf +++ b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-SansBold.otf diff --git a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Semibold.otf b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Semibold.otf Binary files differindex 953dfb8ebef..779a972cf2a 100644 --- a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Semibold.otf +++ b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMath-Semibold.otf diff --git a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-Bold.otf b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-Bold.otf Binary files differindex 407b1fae191..5fc59a64d1d 100644 --- a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-Bold.otf +++ b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-Bold.otf diff --git a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-BoldItalic.otf b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-BoldItalic.otf Binary files differindex 274f44fcfb6..6e14f1352ac 100644 --- a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-BoldItalic.otf +++ b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-BoldItalic.otf diff --git a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-Italic.otf b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-Italic.otf Binary files differindex 67ef8dc125b..a9639a001e7 100644 --- a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-Italic.otf +++ b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-Italic.otf diff --git a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-Regular.otf b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-Regular.otf Binary files differindex 43c44a3e859..838e8b21e57 100644 --- a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-Regular.otf +++ b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpMono-Regular.otf diff --git a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Bold.otf b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Bold.otf Binary files differindex 8bc04f5ffd8..0bc1e651908 100644 --- a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Bold.otf +++ b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Bold.otf diff --git a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-BoldItalic.otf b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-BoldItalic.otf Binary files differindex d0cf4253513..3ff2bd74c94 100644 --- a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-BoldItalic.otf +++ b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-BoldItalic.otf diff --git a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Italic.otf b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Italic.otf Binary files differindex d167607deef..7ee6ab26079 100644 --- a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Italic.otf +++ b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Italic.otf diff --git a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Light.otf b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Light.otf Binary files differindex ba07c4fe624..3c9e22411c0 100644 --- a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Light.otf +++ b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Light.otf diff --git a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-LightItalic.otf b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-LightItalic.otf Binary files differindex 95fe228bea6..f646339e092 100644 --- a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-LightItalic.otf +++ b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-LightItalic.otf diff --git a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Regular.otf b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Regular.otf Binary files differindex cf1b0682003..9c7b69cf118 100644 --- a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Regular.otf +++ b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Regular.otf diff --git a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Semibold.otf b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Semibold.otf Binary files differindex 540239d0453..73dbc38a3c0 100644 --- a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Semibold.otf +++ b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-Semibold.otf diff --git a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-SemiboldItalic.otf b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-SemiboldItalic.otf Binary files differindex 1aeef06d408..8b043592804 100644 --- a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-SemiboldItalic.otf +++ b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpRoman-SemiboldItalic.otf diff --git a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-Bold.otf b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-Bold.otf Binary files differindex daea3eeae23..b55d174757a 100644 --- a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-Bold.otf +++ b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-Bold.otf diff --git a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-BoldItalic.otf b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-BoldItalic.otf Binary files differindex 8879e102aa5..1fb27784b47 100644 --- a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-BoldItalic.otf +++ b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-BoldItalic.otf diff --git a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-Italic.otf b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-Italic.otf Binary files differindex e15026da531..e9896aa6753 100644 --- a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-Italic.otf +++ b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-Italic.otf diff --git a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-Regular.otf b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-Regular.otf Binary files differindex 9bf68960fca..e0313341e79 100644 --- a/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-Regular.otf +++ b/Master/texmf-dist/fonts/opentype/public/kpfonts-otf/KpSans-Regular.otf diff --git a/Master/texmf-dist/tex/latex/kpfonts-otf/kpfonts-otf.sty b/Master/texmf-dist/tex/latex/kpfonts-otf/kpfonts-otf.sty index f93ede74f09..61c1adae968 100644 --- a/Master/texmf-dist/tex/latex/kpfonts-otf/kpfonts-otf.sty +++ b/Master/texmf-dist/tex/latex/kpfonts-otf/kpfonts-otf.sty @@ -1,6 +1,6 @@ \NeedsTeXFormat{LaTeX2e}[2019-01-01] -\def\fileversion{0.62} -\def\filedate{2024-01-30} +\def\fileversion{0.63} +\def\filedate{2024-05-02} \ProvidesPackage{kpfonts-otf}[\filedate\space\fileversion] % Ensure luatex or xetex engine @@ -15,6 +15,7 @@ \newif\ifkp@lighttext \newif\ifkp@sftext \newif\ifkp@sans +\newif\ifkp@fakedscripts \newif\ifkp@largesmallcaps \newif\ifkp@altfligs \newif\ifkp@eurosym @@ -52,6 +53,7 @@ % Text options \DeclareOption{lighttext} {\kp@lighttexttrue} \DeclareOption{sftext} {\kp@sftexttrue} +\DeclareOption{fakedscripts} {\kp@fakedscriptstrue} \DeclareOption{oldstylenums} {\kp@osntrue} \DeclareOption{oldstyle} {\kp@ostrue\kp@osntrue\kp@Qtailtrue} \DeclareOption{veryoldstyle} {\kp@vostrue\kp@osntrue\kp@Qtailtrue} @@ -86,7 +88,7 @@ \RequirePackage{fontspec}[2019/01/01] % Style alias (text only) \newopentypefeature{Style}{autolongs}{+ss12} - \RequirePackage{realscripts} + \ifkp@fakedscripts \else \RequirePackage{realscripts}\fi % Two candidates for \rmfamily: \newfontfamily\KpRoman{KpRoman} \newfontfamily\KpLight{KpLight} |