summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.ltx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.ltx')
-rw-r--r--Master/texmf-dist/doc/fonts/kpfonts-otf/Kpfonts-OTF-Doc-English.ltx26
1 files changed, 22 insertions, 4 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: