summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-05-02 19:42:47 +0000
committerKarl Berry <karl@freefriends.org>2024-05-02 19:42:47 +0000
commitd995d42710ee995566cda706a1a3eaa86df24f76 (patch)
tree33f1265bdfb4127039faad5a423d29e5928e1b11 /Master/texmf-dist/doc
parent5fd3248d090b6f847f303255e30523195155fe0f (diff)
kpfonts-otf (2may24)
git-svn-id: svn://tug.org/texlive/trunk@71153 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r--Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.ltx26
-rw-r--r--Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.pdfbin176787 -> 174939 bytes
-rw-r--r--Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-French.ltx28
-rw-r--r--Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-French.pdfbin180229 -> 178769 bytes
-rw-r--r--Master/texmf-dist/doc/fonts/kpfonts-otf/README.md6
-rw-r--r--Master/texmf-dist/doc/fonts/kpfonts-otf/unimath-kpfonts.pdfbin1839970 -> 1847581 bytes
6 files changed, 53 insertions, 7 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
index 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
Binary files differ
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
index 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
Binary files differ
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
index 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
Binary files differ