summaryrefslogtreecommitdiff
path: root/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.ltx
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.ltx')
-rw-r--r--fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.ltx61
1 files changed, 38 insertions, 23 deletions
diff --git a/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.ltx b/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.ltx
index dfb1f39439..eb348001ae 100644
--- a/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.ltx
+++ b/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.ltx
@@ -1,3 +1,5 @@
+\RequirePackage{pdfmanagement-testphase}
+\DeclareDocumentMetadata{pdfstandard=A-2b, lang=en-GB}
\documentclass[paper=a4]{scrartcl}
% Packages
\usepackage{graphics, array}
@@ -20,13 +22,11 @@
\usepackage{realscripts}
\usepackage{microtype}
\usepackage{hyperref}
-\hypersetup{pdfcreator={LuaTeX},
+\hypersetup{pdftitle={Kpfonts-otf User’s Guide},
pdfauthor={Daniel FLIPO},
- unicode,
- colorlinks,
- urlcolor=DarkBlue,
- linkcolor=Blue,
+ colorlinks
}
+\newcommand*{\hlabel}[1]{\phantomsection\label{#1}}
%
\MakeShortVerb{\|}
@@ -41,7 +41,7 @@
\title{Kp-fonts: OpenType version}
\author{\href{mailto:daniel.flipo@free.fr}{Daniel \textsc{Flipo}}}
-\newcommand*{\version}{0.35}
+\newcommand*{\version}{0.36}
\begin{document}
\selectlanguage{british}
@@ -80,14 +80,16 @@
$\symbfup{a}$ $\symbfup{\beta}$ $\symbfup{C}$ $\symbfup{\Delta}$,
$\symbfit{a}$ $\symbfit{\beta}$ $\symbfit{C}$ $\symbfit{\Delta}$.
+% Blackboard Bold capitals are available in two shapes, Serif and Sans:
+% |\mathbb{ABC}| prints either
+% \mathversion{full}$\mathbb{ABC}$ (option |[Style=bbsans]|) or
+% \mathversion{base} $\mathbb{ABC}$ (default).
Blackboard Bold capitals are available in two shapes, Serif and Sans:
|\mathbb{ABC}| prints either
- \mathversion{full}$\mathbb{ABC}$ (option |[Style=bbsans]|) or
- \mathversion{base} $\mathbb{ABC}$ (default).
- Commands |\mathcal{ABC}| and |\mathscr{ABC}| print either
- $\mathscr{ABC}$ (default) or
- \mathversion{full}$\mathscr{ABC}$ with option |[Style=mathcal]|,
- \mathversion{base}.
+ \mathversion{base} $\mathbb{ABC}$ (default) or
+ \mathversion{full}$\mathbb{ABC}$ (option |[Style=bbsans]|)
+ Commands |\mathcal{ABC}| and |\mathscr{ABC}| print respectively
+ \mathversion{full}$\mathcal{ABC}$ and \mathversion{base}$\mathscr{ABC}$.
File \file{unimath-kpfonts.pdf} shows the full list of Unicode Math symbols
provided by Kp-fonts, compared with other common Math fonts.
@@ -190,7 +192,7 @@ and a bunch of Kp-fonts specifics symbols.
\item \textsc{\textbf{\test}}
\end{itemize}
-\item[veryoldstyle:] \label{veryoldstyle} same as option \opt{oldstyle} but
+\item[veryoldstyle:] \hlabel{veryoldstyle} same as option \opt{oldstyle} but
the round `s’ is replaced by the long one
{\addfontfeatures{RawFeature=+hist;+hlig}`s\hspace{1sp}’},
unless it ends a word (then it remains `s’)%
@@ -246,9 +248,9 @@ and a bunch of Kp-fonts specifics symbols.
$\mathbb{C}$, $\mathbb{K}$, $\mathbb{N}$, $\mathbb{Q}$, $\mathbb{R}$,
$\mathbb{Z}$ (default).
-\item[mathcal:] forces commands |\mathcal| and |\mathscr| to print
- \mathversion{full}$\mathcal{A,B,C,D}$ % $\mathscr{ABCD}$
- instead of \mathversion{base} $\mathcal{A,B,C,D}$ (default).
+%\item[mathcal:] forces commands |\mathcal| and |\mathscr| to print
+% \mathversion{full}$\mathcal{A,B,C,D}$ % $\mathscr{ABCD}$
+% 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;
@@ -263,7 +265,7 @@ and a bunch of Kp-fonts specifics symbols.
\quad instead of \quad
\mathversion{base}$\iiint$ et $\displaystyle\iiint$ (default).
-\enlargethispage*{\baselineskip}
+%\enlargethispage*{\baselineskip}
\item[partialup:] the |\partial| symbol is printed upright $\symup{\partial}$
instead of $\partial$.
@@ -278,6 +280,11 @@ and a bunch of Kp-fonts specifics symbols.
\end{description}
+Option \textsf{\textbf{mathcal}} has been deleted: commands |$\mathcal{ABC}$|
+and |$\mathscr{ABC}$| now print \mathversion{full}$\mathcal{ABC}$ and
+\mathversion{base}$\mathcal{ABC}$ respectively when \pkg{kpfonts-otf.sty}
+is loaded.
+
\section{Another way to load Kp-fonts}
\label{sec:options-standard}
@@ -410,7 +417,7 @@ Seven `Style Variants’ are available with Kp-fonts, here are the first three:
\begin{description}
\item[Style=mathcal] (\texttt{+ss01}) commands |\mathcal{}| and |\mathscr{}|
print \mathversion{full}$\mathcal{ABC}$ instead of
- \mathversion{base}$\mathcal{ABC}$ (default);
+ \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
@@ -422,11 +429,19 @@ Seven `Style Variants’ are available with Kp-fonts, here are the first three:
\mathversion{base}$\iiint$ (default).
\end{description}
+\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:\\
+|\setmathfont{KpMath-Regular}[|\optit{options}|]|\\
+|\setmathfont{KpMath-Regular}[range={cal,bfcal},StylisticSet=1]|\\
+The first line loads \family{KpMath} as usual, the second one modifies
+|\mathcal{}| command’s output.
+
\vspace{\baselineskip}
The next four tables present the other Style Variants available:
\\[-.5\baselineskip]
\begin{minipage}[t]{0.45\linewidth}\centering
- \captionof{table}{Style=leqslant (\texttt{+ss04})}\label{ss04}
+ \captionof{table}{Style=leqslant (\texttt{+ss04})}\hlabel{ss04}
\begin{tabular}{@{}lcc@{}}
\hline
Command & Default & Variant \\
@@ -447,7 +462,7 @@ The next four tables present the other Style Variants available:
\end{tabular}
\end{minipage}\hspace{\fill}
\begin{minipage}[t]{0.5\linewidth}\centering
- \captionof{table}{Style=smaller (\texttt{+ss05})}\label{ss05}
+ \captionof{table}{Style=smaller (\texttt{+ss05})}\hlabel{ss05}
\begin{tabular}{@{}lcc@{}}
\hline
Command & Default & Variant \\
@@ -463,7 +478,7 @@ The next four tables present the other Style Variants available:
\end{minipage}
\par\noindent
\begin{minipage}[t]{0.45\linewidth}\centering
- \captionof{table}{Style=subsetneq (\texttt{+ss06})}\label{ss06}
+ \captionof{table}{Style=subsetneq (\texttt{+ss06})}\hlabel{ss06}
\begin{tabular}{@{}lcc@{}}
\hline
Command & Default & Variant \\
@@ -476,7 +491,7 @@ The next four tables present the other Style Variants available:
\end{tabular}
\end{minipage}\hspace{\fill}
\begin{minipage}[t]{0.5\linewidth}\centering
- \captionof{table}{Style=parallelslant (\texttt{+ss07})}\label{ss07}
+ \captionof{table}{Style=parallelslant (\texttt{+ss07})}\hlabel{ss07}
\begin{tabular}{@{}lcc@{}}
\hline
Command & Default & Variant \\
@@ -503,7 +518,7 @@ Table~\vref{cv} shows the available `Glyphs Variants’:
\begin{table}[ht]
\centering
\caption{Glyphs Variants}
- \label{cv}
+ \hlabel{cv}
\begin{tabular}{@{}>{\ttfamily}lccl@{}}
\hline
& Default & Variant & Command\\