Debian Codegraph @

texmf-dist/doc/fonts/kpfonts/kpfonts.tex

raw
1 \documentclass[a4paper,11pt]{article}
2 % Packages
3 \usepackage[T1]{fontenc}
4 \usepackage{graphics,array}
5 \usepackage{kpfonts}
6 % Mise en page
7 \setcounter{tocdepth}{0}
8 \setlength{\parindent}{0pt}
9 \setlength{\parsep}{0pt}
10 \setlength{\parskip}{0pt}
11 \renewcommand{\arraystretch}{1.3}
12 % Special
13 \DeclareMathSymbol{\partialup}{\mathord}{letters}{128}
14 \DeclareMathSymbol{\narrowiiintop}{\mathop}{largesymbolsA}{135}
15 \def\narrowiiint{\narrowiiintop\nolimits}
16 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
17 %%%%%%%%%
18 \begin{document}
19
20 \begin{center}
21 {\Huge Kp-Fonts}
22
23 \bigskip
24
25 {\Large \textsf{The \textsc{Johannes Kepler} project}}
26
27 \medskip
28
29 {\large \textsf{Release 3.36}\footnote{This version prepaired by Herbert Voß ([email protected])}}
30 \end{center}
31
32 \bigskip
33
34 \hfill \textsc{Christophe Caignaert (inactive)}
35
36 \hfill \texttt{[email protected]}
37
38 \bigskip
39
40 \begin{center}
41 \textit{Save up your toner and the environment, use the "light" option,}
42
43 \textit{it's 20\% toner less!}
44 \end{center}
45
46 \section{Kp-Fonts}
47
48 \subsection{What is Kp-Fonts?}
49
50 Kp-Fonts provides a full set of fonts for LaTeX typesetting, including roman, sans-serif et fixed-width fonts, as well as a set of mathematics symbol fonts with, regular and bold, all the common symbols and all those of the \textsc{ams} and more\dots
51
52 The typical feature of these fonts is to have a basic and dynamic shape. For instance, look at the roman upright "a" glyphs:
53
54 \bigskip
55
56 \hspace{-6mm}\begin{tabular}{|c|c|c|c|c|c|}\hline
57 Kp-Fonts & Kp-\textit{light} & CM & Palatino & Utopia & Times\\\hline\hline
58 \scalebox{10}{a} &
59 \scalebox{10}{\fontfamily{jkpl}\selectfont a} &
60 \scalebox{10}{\fontfamily{lmr}\selectfont a} &
61 \scalebox{10}{\fontfamily{ppl}\selectfont a} &
62 \scalebox{9.2}{\rule{0pt}{1.25ex}\fontfamily{put}\selectfont a} &
63 \scalebox{10}{\fontfamily{ptm}\selectfont a}\\\hline
64 \end{tabular}
65
66 \bigskip
67
68 The project is to provide a large set of options to customize your math or text typesetting.
69
70 \medskip
71
72 This LaTeX package is distributed with a \textsc{gpl} licence.
73
74 \medskip
75
76 Kp-Fonts doesn't require any other font package and is fully compatible with \texttt{amsmath} and \texttt{textcomp}
77 with the \texttt{full} option. Kp-fonts loads these two packages except if you use relative options.
78
79 \begin{center}
80 \textit{You haven't to load \textbf{\texttt{amsmath}} and \textbf{\texttt{textcomp}} packages}
81 \end{center}
82
83 \begin{center}\itshape
84 You can use the options of \textbf{\texttt{amsmath}} a option of \textbf{\texttt{kpfonts}}, except \textbf{cmex10}.
85 \end{center}
86
87 To use it, you just have to add \verb+\usepackage{kpfonts}+ in your document preamble, if necessary with the options described below.
88
89 Besides, the aim is to get a good compatibility with different sets of math font packages.
90
91 \subsection{Text fonts}
92
93 \begin{itemize}
94 \item The encodings \textsc{t1, ot1} et \textsc {ts1} are fully available, except for the uppercase symbol \verb+\SS+ in teletype fonts; if you use some accents, you have to work with \textsc{t1} encoding, \textsc{ot1} is present for historical compatibility;
95 \item Roman fonts are available with upright, small caps (usual and large), italic, slanted, small caps slanted (usual and large) and oldstyle shape, all with regular, bold and bold extended weight;
96 \item Sans-serif fonts are available with upright and slanted, small caps upright and slanted (usual and large) shape, and oldstyle all with regular, bold and bold extended weight;
97 \item Teletypes fonts are available with upright and slanted shape, all with regular and bold weight;
98 \end{itemize}
99
100 \begin{center}\itshape
101 The default weight is \textbf{bold}, not \textbf{bold extended}.
102 \end{center}
103
104 \subsection{Math fonts}
105
106 \begin{itemize}
107 \item The \verb+\boldmath+ command is fully installed and Kp-Fonts \textbf{doesn't need} "poor man bold" glyphs;
108 \item Kp-Fonts provides upright and slanted greeks: $\alphaup\betaup\gammaup\Gamma\Delta$ and $\alpha\beta\gamma\Gammasl\Deltasl$;
109 \item \verb=\mathbb= provides $\mathbb{ABC}$, characters designed from capital upright roman;
110 \item \verb=\mathcal= provides $\mathcal{ABC}$, slighty altered fonts from \textsc{cm};
111 \item With \verb=\mathscr=, you get $\mathscr{AB}\,\mathscr{C}$, without any extra package; these letters are designed from traditional fonts;
112 \item \verb=\mathfrak= provides $\mathfrak{ABCabc}$, still from traditional fonts, altered to be more readable:
113 read $\mathfrak{CTAN}$ and \textit{CTAN} in \texttt{www.ctan.org}!
114 \item See the \verb=\mathupright=, or \verb=\mathup=, alphabet in the \textit{sf} math versions section.
115 \end{itemize}
116
117 \section{Options}
118
119 \subsection{Main global options}
120
121 \begin{description}
122 \item[light:] then, you use the light version of the fonts, in text and math mode. The metrics are the same.
123 The display is not very good, but the print is fine if you like light fonts;
124
125 This text is typesetted with default fonts, and below you can see an example of the light fonts set, upright and italic, both regular and bold:\medskip
126
127 \hfill\begin{minipage}{11cm}{\fontfamily{jkpl}\selectfont
128 While the high-level font commands are intended for use in a document, the low-level commands\dots
129 }\end{minipage}
130
131 \smallskip
132
133 \hfill\begin{minipage}{11cm}{\fontfamily{jkpl}\selectfont
134 \textbf{While the high-level font commands are intended for use in a document, the low-level commands\dots}
135 }\end{minipage}
136
137 \smallskip
138
139 \hfill\begin{minipage}{11cm}{\fontfamily{jkpl}\selectfont
140
141 \textit{While the high-level font commands are intended for use in a document, the low-level commands\dots}
142 }\end{minipage}
143
144 \smallskip
145
146
147 \hfill\begin{minipage}{11cm}{\fontfamily{jkpl}\selectfont
148 \textbf{\textit{While the high-level font commands are intended for use in a document, the low-level commands\dots}}
149 }\end{minipage}
150 \item[fulloldstylenums:] equivalent to both \textit{oldstylenums}
151
152 and \textit{oldstylenumsmath};
153 \item[fulloldstyle:] equivalent to both \textit{oldstyle} and \textit{oldstylemath};
154 \item[fullveryoldstyle:] equivalent to both \textit{veryoldstyle}
155
156 and \textit{veryoldstylemath}.
157 \end{description}
158
159 \subsection{Other global options}
160
161 \begin{description}
162 \item[nomath:] Kp-Fonts doesn't modify default mathematical fonts;
163 \item[notext:] Kp-Fonts doesn't modify default text fonts;
164 \item[nosf:] Kp-Fonts doesn't modify default sans serif fonts (text and math);
165 \item[nott:] Kp-Fonts doesn't modify default fixed width fonts (text and math);
166 \item[onlyrm:] equivalent to the last two options;
167 \item[noamsmath:] Kp-Fonts doesn't load \texttt{amsmath} package;
168 \item[notextcomp:] Kp-Fonts doesn't load \texttt{textcomp} package.
169 \end{description}
170
171 With both the two first and two last options, Kp-Fonts does nothing\dots
172
173
174 \subsection{Text fonts options}
175
176 These options affect only text fonts.
177
178 \begin{description}
179
180 \item[lighttext :] "light" fonts are used in text mode.
181
182 \item[oldstylenums:] provides here
183 oldstyle numbers by default.
184
185 A new command \verb=\classicstylenums= allows you to get usual numbers in roman fonts.
186
187 Some examples, upright and italic, medium and bold:
188
189 \begin{itemize}
190 \item {\fontfamily{jkposn}\selectfont 0123456789!}
191 \item {\fontfamily{jkposn}\selectfont \textit{0123456789!}}
192 \item {\fontfamily{jkposn}\selectfont \textbf{0123456789!}}
193 \item {\fontfamily{jkposn}\selectfont \textbf{\textit{0123456789!}}}
194 \end{itemize}
195
196 \item[oldstyle:] provides here {\fontfamily{jkpos}\selectfont "Q"},
197 and oldstyle numbers by default.
198
199 With roman and sans-serif fonts, you get the old ligatures {\fontfamily{jkpos}\selectfont "ct"}
200 and {\fontfamily{jkpos}\selectfont "st"}.
201 Oldstyle also provides the small capital {\fontfamily{jkpos}\selectfont "\textsc{q}"}.
202
203 A new command \verb=\classicstylenums= allows you to get usual numbers in roman fonts.
204
205 Some examples:
206
207 \begin{itemize}
208 \item {\fontfamily{jkpos}\selectfont Queer font, queer actual aesthetic!}
209 \item {\fontfamily{jkpos}\selectfont \textit{Queer font, queer actual aesthetic!}}
210 \item {\fontfamily{jkpos}\selectfont \textbf{Queer font, queer actual aesthetic!}}
211 \item {\fontfamily{jkpos}\selectfont \textsc{Queer font, queer actual aesthetic!}}
212 \item {\fontfamily{jkpos}\selectfont \textbf{\textit{Queer font, queer actual aesthetic!}}}
213 \item {\fontfamily{jkpos}\selectfont \textsc{\textbf{Queer font, queer actual aesthetic!}}}
214 \end{itemize}
215
216 \item[veryoldstyle:] Same as the \textit{oldstyle} option except the round "s"
217 is replaced with the long "{\fontfamily{jkpvos}\selectfont s}\,".
218
219 You can get the round "s" using the ligature "\texttt{s=}", often used at the end of the words.
220
221 Example: \verb+\textit{costs=}+\quad gives \quad "{\fontfamily{jkpvos}\selectfont \textit{costs=}}"
222
223 Obviously, there is no long "{\fontfamily{jkpvos}\selectfont s}\," in smallcaps shape!
224
225 \item[rmx] then , you get six weights, with the correponding fonts:
226
227 \medskip
228
229 \begin{tabular}{|c|c|c|}\hline
230 light & \texttt{l} & {\fontfamily{jkpx}\fontseries{l}\selectfont medium in light mode} \\ \hline
231 medium & \texttt{m} & {\fontfamily{jkpx}\fontseries{m}\selectfont medium in default mode} \\ \hline
232 semi-bold & \texttt{sb} & {\fontfamily{jkpx}\fontseries{sb}\selectfont bold in light mode} \\ \hline
233 bold & \texttt{b} & {\fontfamily{jkpx}\fontseries{b}\selectfont bold in default mode} \\ \hline
234 semi-bold extended & \texttt{sbx} & {\fontfamily{jkpx}\fontseries{sbx}
235 \selectfont bold extended in light mode} \\ \hline
236 bold extended & \texttt{bx} & {\fontfamily{jkpx}\fontseries{bx}
237 \selectfont bold extended in default mode} \\ \hline
238 \end{tabular}
239
240 \medskip
241
242 In this case, the \textit{light} option affects only math fonts, the \textit{lighttext} option is ignored.
243
244 This option is not my favorite because the default and light families are cousins but not sisters.
245
246 This option affects only roman fonts.
247
248 \item[largesmallcaps] gives larger small capitals than default:
249
250 {\fontfamily{jkpk}\selectfont\textsc{Large}} and \textsc{Small} (default) small capitals!
251
252
253 \item[easyscsl] allows you to fit together the commands \verb=\textsl= and \verb=\textsc= to get slanted small caps.
254
255 Attention,
256 \begin{itemize}
257 \item this option needs the package \texttt{ifthen},
258 \item to fit together these commands with other fonts produces some errors\dots
259 \end{itemize}
260 \item[nofligatures] provides a typeseting without the ff, fi, fl, ffi and ffl ligatures.
261
262 The letter \textit{f} has a new design to get a good aspect.
263
264 This option has no effect with \textit{oldstyle}
265 or \textit{veryoldstyle} ones.
266
267 You get for instance, {\fontfamily{jkpf}\selectfont "A final effort"}
268 instead of, "A final effort".
269
270 And also, {\fontfamily{jkpf}\fontshape{it}\selectfont "A final effort"}
271 instead of, \textit{"A final effort"}.
272 \end{description}
273
274 \subsection{New text commands}
275
276 \begin{description}
277 \item[\textbackslash textscsl\{\dots\}] and \textbf{\textbackslash scslshape:}
278 provide slanted small caps.
279
280 \begin{center}
281 \textscsl{Slanted small caps}
282 \end{center}
283
284 \begin{center}
285 \textit{Obviously, }\verb=\textsc{\textsl{...}}=\textit{ has not the same effect without using the option \textup{easyscsl}!}
286
287 \textit{This shape is not usual in \TeX!}
288 \end{center}
289 \item[\textbackslash otherscshape, \textbackslash textothersc\{\dots\}]
290 get the \textit{other} small caps (default or large) roman or sans-serif.
291
292 \begin{center}
293 For instance, you swap between
294
295 \textsc{Small caps text} \quad\textit{and}\quad \textothersc{Small caps text}
296 \end{center}
297 \item[\textbackslash otherscslshape, \textbackslash textotherscsl\{\dots\}]
298 get the \textit{other} slanted small caps (default or large) roman or sans-serif.
299
300 \begin{center}
301 For instance, you swap between
302
303 \textscsl{Small caps text} \quad\textit{and}\quad \textotherscsl{Small caps text}
304 \end{center}
305 \item[\textbackslash othertailQ]
306 provides the other design of the uppercase letter "Q",
307 with small or large tail.
308
309 \begin{center}
310 For instance, you swap between
311
312 Question \quad\textit{and}\quad \othertailQ uestion
313 \end{center}
314 \item[\textbackslash othertailscq, \textbackslash othertailscslq]
315 are the same commands for the lowercase small capitals "\textsc{q}".
316
317 \begin{center}
318 For instance, you swap between
319
320 \textsc{question} \quad\textit{and}\quad \textsc{\othertailscq uestion}
321 \end{center}
322 \end{description}
323
324 \begin{center}
325 \textit{The "other" commands change the \textbf{size} of the small caps}
326
327 \textit{and the "othertail" commands change the \textbf{design} of the letters "Q"}
328 \end{center}
329
330 \begin{center}
331 \fbox{\begin{minipage}{8cm}
332 In some cases, the section headers for instance, the "other" commands have to be protected:
333 "\texttt{\textbackslash protect\textbackslash}...\texttt{other}..."!
334 \end{minipage}}
335 \end{center}
336
337 \subsection{Math modes}
338
339 There are six math modes relative to the command \verb=\mathversion=.
340
341 For instance,
342
343 \smallskip
344
345 \hfill\verb=\mathversion{sf}$\left(a+b\right)^2$=\quad gives:\quad {\mathversion{sf}$\left(a+b\right)^2$}
346
347 \begin{description}
348 \item[normal:] Default mode corresponding to the used options.
349 \item[bold:] Bold default mode.
350 \item[sf:] The math mode using the sans-serif slanted fonts.
351
352 \qquad\mathversion{sf}$\displaystyle\sum_{n=1}^{+\infty}\dfrac{1}{n^2}=\dfrac{\pi^2}{6}$
353 \item[boldsf:] Corresponding bold mode.
354
355 \qquad\mathversion{boldsf}$\displaystyle\sum_{n=1}^{+\infty}\dfrac{1}{n^2}=\dfrac{\pi^2}{6}$
356 \item[rm:] The usual math mode using the italic roman fonts.
357
358 \qquad\mathversion{rm}$\displaystyle\sum_{n=1}^{+\infty}\dfrac{1}{n^2}=\dfrac{\pi^2}{6}$
359 \item[boldrm:] Corresponding bold mode.
360
361 \qquad\mathversion{boldrm}$\displaystyle\sum_{n=1}^{+\infty}\dfrac{1}{n^2}=\dfrac{\pi^2}{6}$
362 \end{description}
363
364 \begin{center}\fbox{
365 \begin{minipage}{10cm}
366 With the \textit{sf} math versions, the option \textit{widermath} is ignored, as the option \textit{lightmath}, or, \textit{light} in math typesetting!\end{minipage}}
367 \end{center}
368
369 We have also to note there is a new math alphabet \verb=\mathupright= or \verb=\mathup=.
370
371 It's equivalent to
372 \begin{itemize}
373 \item \verb=\mathrm= with the \textit{rm} math versions, and,
374 \item \verb=\mathsf= with the \textit{sf} math versions.
375 \end{itemize}
376
377 In another way, it's provide the upright alphabet corresponding to math letters.
378
379 \subsection{Math typesetting options}
380
381 \begin{description}
382
383 \item[lighttext :] "light" fonts are used in math mode.
384 \item[sfmath:] the default math mode using the sans-serif slanted fonts, default and \textit{bold}.
385
386 Then, you can use the package \textit{bm} with sans-serif math typesetting;
387 \item[sfmathbb:] in all cases, the \verb=\mathbb= font is sans-serif:
388 {\mathversion{sf} $\mathbb{C\,K\,N\,Q\,R\,Z}$};
389 \item[rmmathbb:] in all cases, the \verb=\mathbb= font is roman:
390 {\mathversion{normal} $\mathbb{C\,K\,N\,Q\,R\,Z}$};
391 \item[nomathscript:] Kp-Fonts doesn't install the \verb=\mathscr= command; you need it if you use \verb=\mathrsfs=
392 package;
393 \item[mathcalasscript:] swaps the \verb=\mathcal= and \verb=\mathscr= fonts;
394 \item[classicReIm:] the \verb=\Re= and \verb=\Im= commands produce $\mathfrak{R}$ and $\mathfrak{I}$. In default of, Kp-Fonts provides $\Re$ and $\Im$;
395 \item[uprightRoman:] the \textit{Uppercase} romans are upright.
396 \item[frenchstyle:] equivalent to both the options \textit{uprightRoman}
397
398 and \textit{uprightgreeks}, uppercase romans and lowercase greeks are upright, usual French style when typesetting mathematics; lowercase romans remain slanted;
399 \item[upright:] synonymous with the previous option;
400 \item[oldstylenumsmath:] provides the oldstyle numbers in default and changes the \verb=\mathrm=,
401 \verb=\mathsf= and \verb=\mathtt= fonts; they run as text fonts with \textit{oldstylenums} option;
402 \item[oldstylemath:] provides the oldstyle numbers in default and changes the \verb=\mathrm=,
403 \verb=\mathsf= and \verb=\mathtt= fonts; they run as text fonts with \textit{oldstyle} option;
404 \item[veryoldstylemath:] same as \textit{oldstylemath} except the round "s"
405 is replaced with the long "{\fontfamily{jkpvos}\selectfont s}\,";
406 \item[narrowiints:] provides narrower multiple integral symbols:
407
408 $\narrowiiint$ and $\displaystyle\narrowiiint$\quad instead of\quad
409 $\iiint$ and $\displaystyle\iiint$
410 \item[partialup:] provides upright design of the \verb=\partial= symbol:
411
412 $\partialup$\quad instead of\quad$\partial$
413
414 You got also the absolute commands \verb=\partialup= and \verb=\partialsl=\dots
415 \item[widermath:] with wider space between mathematic letters;
416 \item[noDcommand:] for compatibility with some other package, kpfont doesn't load the command \verb=\D=.
417 \end{description}
418
419 Note that, when using the \verb+oldstylenumsmath+, \verb+oldstylemath+,
420
421 \verb+veryoldstylemath+,
422 \verb+fulloldstylenums+, \verb+fulloldstyle+
423
424 or \verb+fullveryoldstyle+ options,
425 in math mode, as the numbers {\fontfamily{jkpvos}\selectfont 3, 4, 5, 7 et 9} have a depth, superscripts are moved up.
426
427 \subsection{Position of subscripts and superscripts}
428
429 In math mode, just about with \texttt{amsmath}, the next options adjust the position of subscripts and superscripts.
430
431 \subsubsection{Integral symbols}
432
433 The default option is \textbf{nointlimits}.
434
435
436 \renewcommand{\arraystretch}{1.8}
437
438 \begin{center}\begin{tabular}{|c||c|c|c|}\hline
439 \verb+\int_a^bf(t)+&\textbf{intlimits}&\textbf{nointlimits}&\textbf{fullintlimits}\\\hline\hline
440 textstyle&$\int_a^bf(t)$&$\int_a^bf(t)$&\rule[-3ex]{0pt}{7.5ex}$\int\limits_a^bf(t)$\\\hline
441 displaystyle&$\displaystyle\int\limits_a^bf(t)$&$\displaystyle\int_a^bf(t)$&\rule[-4.5ex]{0pt}{11ex}$\displaystyle\int\limits_a^bf(t)$\\\hline
442 \end{tabular}\end{center}
443
444 \renewcommand{\arraystretch}{1.3}
445
446 \subsubsection{Sums and products}
447
448 The default option is \textbf{sumlimits}.
449
450
451 \renewcommand{\arraystretch}{1.8}
452
453 \begin{center}\begin{tabular}{|c||c|c|c|}\hline
454 \verb+\sum_{i=1}^nu_n+&\textbf{sumlimits}&\textbf{nosumlimits}&\textbf{fullsumlimits}\\\hline\hline
455 textstyle&$\sum_{i=1}^nu_n$&$\sum_{i=1}^nu_n$&\rule[-3ex]{0pt}{7ex}$\sum\limits_{i=1}^nu_n$\\\hline
456 displaystyle&$\displaystyle\sum_{i=1}^nu_n$&$\displaystyle\sum\nolimits_{i=1}^nu_n$&\rule[-4ex]{0pt}{9ex}$\displaystyle\sum_{i=1}^nu_n$\\\hline
457 \end{tabular}\end{center}
458
459 \renewcommand{\arraystretch}{1.3}
460
461 \subsection{Greek letters in math mode, options}
462
463 \begin{description}
464 \item[uprightgreeks:] \textit{lowercase} greeks are upright, $\alphaup\betaup\gammaup$;
465 \item[slantedGreeks:] \textit{Uppercase} greeks are slanted, $\Gammasl\Deltasl$.
466 \end{description}
467
468 \section{Use}
469
470 \subsection{Greek letters}
471
472 We have described above the two options that alter the default greek letters.
473
474 Otherwise, you can get the other greek letters using commands like
475
476 \verb=\otheralpha= or \verb=\otherGamma=.
477
478 The result depends on the used options.
479
480 What's more, for uppercase, you can use \verb=\varGamma= synonymous with the previous.
481
482 Finally, the \verb=\alphasl=, \verb=\alphaup=, \verb=\Gammaup= or \verb=\Gammasl= commands always give you the letter you want, whatever the chosen options\dots
483
484 \subsection{Standard symbols}
485
486 All the standard symbols are present, including all the symbols of the \texttt{amssymb} package, all with regular and bold weight.
487
488 For instance: the standard symbols\quad $\leq\quad\bullet\quad\pm$\quad or \textsc{ams} symbols \quad$\twoheadrightarrow\quad\subsetneq\quad\leqslant$
489
490 \mathversion{bold}
491 and in bold:\quad$\leq\quad\bullet\quad\pm$\quad or \quad$\twoheadrightarrow\quad\subsetneq\quad\leqslant$.
492 \mathversion{normal}
493
494 Obviously, you get the usual constructions, both regular and bold: \quad $\mapsto\longmapsto$,\quad
495 \mathversion{bold}$\mapsto\longmapsto$\mathversion{normal}
496
497 \subsection{Extra symbols}
498
499 Kp-Fonts provides a lot of other symbols and a lot of negative symbols not displayed here.
500
501 %\mathversion{bold}
502
503 \begin{center}\begin{tabular}{r>{$}c<{$}|r>{$}c<{$}}
504
505 \verb=\mappedfrom=&\mappedfrom&\verb=\longmappedfrom=&\longmappedfrom\\
506 \verb=\Mapsto=&\Mapsto&\verb=\Longmapsto=&\Longmapsto\\
507 \verb=\Mappedfrom=&\Mappedfrom&\verb=\Longmappedfrom=&\Longmappedfrom\\
508 \verb=\mmapsto=&\mmapsto&\verb=\longmmapsto=&\longmmapsto\\
509 \verb=\mmappedfrom=&\mmappedfrom&\verb=\longmmappedfrom=&\longmmappedfrom\\
510 \verb=\Mmapsto=&\Mmapsto&\verb=\Longmmapsto=&\Longmmapsto\\
511 \verb=\Mmappedfrom=&\Mmappedfrom&\verb=\Longmmappedfrom=&\Longmmappedfrom\\
512
513 \end{tabular}\end{center}
514
515 \begin{center}\begin{tabular}{r>{$}c<{$}|r>{$}c<{$}}
516
517 \verb=\dashleftarrow=&\dashleftarrow&\verb=\dashrightarrow=&\dashrightarrow\\
518 \verb=\dashleftrightarrow=&\dashleftrightarrow&\verb=\leftsquigarrow=&\leftsquigarrow\\
519 \verb=\Nearrow=&\Nearrow&\verb=\Searrow=&\Searrow\\
520 \verb=\Nwarrow=&\Nwarrow&\verb=\Swarrow=&\Swarrow\\
521 \verb=\varemptyset=&\varemptyset& & \\
522 \verb=\leadstoext=&\leadstoext&\verb=\leadsto=&\leadsto\\
523
524 \end{tabular}\end{center}
525
526 You can combine these last two symbols:
527
528 \verb=\leadstoext\leadstoext\leadstoext\leadsto=
529 give\quad
530 $\leadstoext\leadstoext\leadstoext\leadsto$
531
532 \begin{center}\begin{tabular}{r>{$}c<{$}|r>{$}c<{$}}
533
534 \verb=\boxright=&\boxright&\verb=\Diamondright=&\Diamondright\\
535 \verb=\circleright=&\circleright&\verb=\boxleft=&\boxleft\\
536 \verb=\Diamondleft=&\Diamondleft&\verb=\circleleft=&\circleleft\\
537 \verb=\boxdotright=&\boxdotright&\verb=\Diamonddotright=&\Diamonddotright\\
538 \verb=\circleddotright=&\circleddotright&\verb=\boxdotleft=&\boxdotleft\\
539 \verb=\Diamonddotleft=&\Diamonddotleft&\verb=\circleddotleft=&\circleddotleft\\
540 \verb=\boxRight=&\boxRight&\verb=\boxLeft=&\boxLeft\\
541 \verb=\boxdotRight=&\boxdotRight&\verb=\boxdotLeft=&\boxdotLeft\\
542 \verb=\DiamondRight=&\DiamondRight&\verb=\DiamondLeft=&\DiamondLeft\\
543 \verb=\DiamonddotRight=&\DiamonddotRight&\verb=\DiamonddotLeft=&\DiamonddotLeft\\
544
545 \end{tabular}\end{center}
546
547 \begin{center}\begin{tabular}{r>{$}c<{$}|r>{$}c<{$}}
548
549 \verb=\multimap=&\multimap&\verb=\multimapinv=&\multimapinv\\
550 \verb=\multimapboth=&\multimapboth&\verb=\multimapdot=&\multimapdot\\
551 \verb=\multimapdotinv=&\multimapdotinv&\verb=\multimapdotboth=&\multimapdotboth\\
552 \verb=\multimapdotbothA=&\multimapdotbothA&\verb=\multimapdotbothB=&\multimapdotbothB\\
553 \verb=\multimapbothvert=&\multimapbothvert&\verb=\multimapdotbothvert=&\multimapdotbothvert\\
554 \verb=\multimapdotbothAvert=&\multimapdotbothAvert&\verb=\multimapdotbothBvert=&\multimapdotbothBvert\\
555
556 \end{tabular}\end{center}
557
558 \begin{center}\begin{tabular}{r>{$}c<{$}|r>{$}c<{$}|r>{$}c<{$}}
559
560 \verb=\Wr=&\Wr&\verb=\sqcupplus=&\sqcupplus&\verb=\sqcapplus=&\sqcapplus\\
561 \verb=\medcirc=&\medcirc&\verb=\medbullet=&\medbullet&\verb=\doteq=&\doteq\\
562 \verb=\VDash=&\VDash&\verb=\VvDash=&\VvDash&
563 \verb=\cong=&\cong\\
564 \verb=\preceqq=&\preceqq&
565 \verb=\succeqq=&\succeqq&\verb=\coloneqq=&\coloneqq\\
566 \verb=\varparallel=&\varparallel&\verb=\varparallelinv=&\varparallelinv&\verb=\colonapprox=&\colonapprox\\
567 \verb=\colonsim=&\colonsim&\verb=\Colonapprox=&\Colonapprox&\verb=\Colonsim=&\Colonsim\\
568
569 \end{tabular}\end{center}
570
571 \begin{center}\begin{tabular}{r>{$}c<{$}|r>{$}c<{$}|r>{$}c<{$}}
572
573 \verb=\eqqcolon=&\eqqcolon&\verb=\coloneq=&\coloneq&\verb=\eqcolon=&\eqcolon\\
574 \verb=\Coloneqq=&\Coloneqq&
575 \verb=\Eqqcolon=&\Eqqcolon&\verb=\invamp=&\invamp\\
576 \verb=\Diamonddot=&\Diamonddot&\verb=\Diamond=&\Diamond&\verb=\Diamondblack=&\Diamondblack\\
577 \verb=\strictif=&\strictif&\verb=\strictfi=&\strictfi&\verb=\strictiff=&\strictiff\\
578 \verb=\circledless=&\circledless&\verb=\circledgtr=&\circledgtr&\verb=\circledwedge=&\circledwedge\\
579 \verb=\circledvee=&\circledvee&\verb=\circledbar=&\circledbar&\verb=\circledbslash=&\circledbslash
580
581 \end{tabular}\end{center}
582
583 \begin{center}\begin{tabular}{r>{$}c<{$}|r>{$}c<{$}|r>{$}c<{$}}
584
585 \verb=\lJoin=&\lJoin&\verb=\rJoin=&\rJoin&\verb=\Join=&\Join\\
586 \verb=\openJoin=&\openJoin&\verb=\lrtimes=&\lrtimes&\verb=\opentimes=&\opentimes\\
587 \verb=\Lbag=&\Lbag&\verb=\Rbag=&\Rbag&\verb=\nplus=&\nplus\\
588 \verb=\Top=&\Top&\verb=\Bot=&\Bot&\verb=\Perp=&\Perp\\
589 \verb=\boxast=&\boxast&\verb=\boxbslash=&\boxbslash&\verb=\boxbar=&\boxbar\\
590 \verb=\boxslash=&\boxslash&\verb=\lambdaslash=&\lambdaslash&\verb=\lambdabar=&\lambdabar\\
591 \verb=\varclubsuit=&\varclubsuit&\verb=\vardiamondsuit=&\vardiamondsuit&\verb=\varheartsuit=&\varheartsuit\\
592 \verb=\varspadesuit=&\varspadesuit&\verb=\llbracket=&\llbracket&\verb=\rrbracket=&\rrbracket
593
594 \end{tabular}\end{center}
595
596 \verb=\lbag=, \verb=\rbag=, \verb=\llbracket= and \verb=\rrbracket= are vertically extensive.
597
598 \subsection{Variant integrate symbols}
599
600 When we write a primitive, often the result is not very attractive because the function is too far from the integrate symbol.
601
602 As you can see here:
603
604 \[\int f(t)\,\mathrm{d}t\]
605
606 Kp-Fonts provides variant commands to avoid this. The first is the \verb=\varint= command and you get:
607
608 \[\varint f(t)\,\mathrm{d}t\]
609
610 It is up to you to choose whichever you prefer!
611
612 Obviously, this command is not convenient for computing an integral\dots
613
614 You can also use \verb=\D{...}=, the integrate symbol "d" command with best spacing:
615
616 \qquad\verb=\displaystyle\varint f(t)\D{t}=\qquad gives\qquad
617 $\displaystyle\varint f(t)\D{t}$
618
619 \bigskip
620
621 With the \textit{frenchstyle} option, you get an upright "d", like above.
622
623 \bigskip
624
625 Others variant commands are:
626
627 \verb=\variint=, \verb=\variiint=, \verb=\variiiint= et \verb=\varidotsint=.
628
629 \subsection{New extensive symbols}
630
631 First, the \verb=\widehat= et \verb=\widetilde= commands have been extended:
632 \[\widetilde{tilde}\qquad\widehat{chapeau}\]
633
634 You get also th extensive \verb=\widearc=, \verb=\widearcarrow= (ou \verb=\wideOarc=),
635
636 \verb=\wideparen=
637 and \verb=\widering=:
638 \[\widearc{arc}\qquad\widearcarrow{arrow}\qquad\wideparen{paren}\qquad\widering{RING}\]
639
640 This last command makes an error with the option \verb=noamsmath=
641
642 Finally, some new symbols:
643
644 \renewcommand{\arraystretch}{1.8}
645
646 \begin{center}\begin{tabular}{r>{$}c<{$}>{$\displaystyle}c<{$}|r>{$}c<{$}>{$\displaystyle}c<{$}}
647
648 \verb=\bignplus=&\bignplus&\bignplus&\verb=\bigsqcupplus=&\bigsqcupplus&\bigsqcupplus\\
649 \verb=\bigsqcapplus=&\bigsqcapplus&\bigsqcapplus&\verb=\bigsqcap=&\bigsqcap&\bigsqcap\\
650 \verb=\varprod=&\varprod&\varprod&\\
651
652 \end{tabular}\end{center}
653
654
655 \subsection{More integrate symbols}
656
657 There are many unusual integrate symbols:
658
659 \renewcommand{\arraystretch}{2}
660
661 \begin{center}
662 \begin{tabular}{r>{$}c<{$}c|r>{$}c<{$}c}
663 \verb+\oiint+ &\oiint& $\displaystyle\oiint$ &
664 \verb+\ointctrclockwise+ &\ointctrclockwise& $\displaystyle\ointctrclockwise$ \\
665 \verb+\ointclockwise+ &\ointclockwise& $\displaystyle\ointclockwise$ &
666 \verb+\sqint+ &\sqint& $\displaystyle\sqint$ \\
667 \verb+\idotsint+ &\idotsint& $\displaystyle\idotsint$ &
668 \verb+\oiiint+ &\oiiint& $\displaystyle\oiiint$ \\
669 \verb+\varointctrclockwise+ &\varointctrclockwise& $\displaystyle\varointctrclockwise$ & \verb+\varointclockwise+ &\varointclockwise& $\displaystyle\varointclockwise$ \\
670 \verb+\fint+ &\fint& $\displaystyle\fint$ &
671 \verb+\oiintctrclockwise+ &\oiintctrclockwise& $\displaystyle\oiintctrclockwise$ \\
672 \verb+\varoiintclockwise+ &\varoiintclockwise& $\displaystyle\varoiintclockwise$ &
673 \verb+\oiintclockwise+ &\oiintclockwise& $\displaystyle\oiintclockwise$ \\
674 \verb+\varoiintctrclockwise+ &\varoiintctrclockwise& $\displaystyle\varoiintctrclockwise$ & \verb+\oiiintctrclockwise+ &\oiiintctrclockwise& $\displaystyle\oiiintctrclockwise$ \\
675 \verb+\varoiiintctrclockwise+ &\varoiiintctrclockwise& $\displaystyle\varoiiintctrclockwise$ &
676 \verb+\sqiint+ &\sqiint& $\displaystyle\sqiint$ \\
677 \verb+\sqiiint+ &\sqiiint& $\displaystyle\sqiiint$ \\
678 \end{tabular}
679 \end{center}
680
681 \section{Installation}
682
683 \begin{itemize}
684 \item
685
686 With MikTeX, install the package as described here:
687
688 \begin{verbatim}
689 http://docs.miktex.org/manual/pkgmgt.html#id562117
690 \end{verbatim}
691
692 \item
693
694 With other distribution, or to install manualy with MikTeX, follow these instructions:
695
696 \begin{enumerate}
697 \item
698 The tree provides a standard \textsc{tds}. You have to copy all the files in one of your local \texttt{texmf} trees first and then update your data base files.
699 \item
700 Now, you have to deal with the \texttt{.map} file.
701 \begin{itemize}
702 \item
703 If you have a \texttt{web2c} distribution, just run \texttt{updmap}:
704
705 \begin{verbatim}
706 updmap --enable Map=kpfonts.map
707 \end{verbatim}
708
709 and/or, this time as \textit{root}:
710
711 \begin{verbatim}
712 updmap-sys --enable Map=kpfonts.map
713 \end{verbatim}
714
715 \item
716 With MikTeX, follow the instructions of the manual:
717
718 \begin{verbatim}
719 http://docs.miktex.org/manual/advanced.html#psfonts
720 \end{verbatim}
721
722 \end{itemize}
723
724 \end{enumerate}
725
726 \end{itemize}
727
728 \section{Some extra points}
729
730 \subsection{The \textsc{Johannes Kepler}-project text families}
731
732 If you want, or if you have to use the low-level commands, the names of the families are:
733
734 \begin{center}\begin{tabular}{|l|l|}\hline
735 \textbf{roman}& jkp[l,x][k][f][osn,os,vos]\\\hline
736 \textbf{sans serif}& jkpss[k][f][osn,os,vos]\\\hline
737 \textbf{teletype}& jkptt[osn,os,vos]\\\hline
738 \end{tabular}\end{center}
739
740 with the relative options:
741
742 \begin{center}\begin{tabular}{|l|l|}\hline
743 \textbf{l, x}& light, rmx\\\hline
744 \textbf{k}& largesmallcaps\\\hline
745 \textbf{f}&nofligatures\\\hline
746 \textbf{osn, os, vos}& oldstylenums, oldstyle, veryoldstyle\\\hline
747 \end{tabular}\end{center}
748
749 Obviously, you can't have \textbf{f} and \textbf{os} or \textbf{vos}.
750
751 Note that all the families support \textsc{ot}\oldstylenums{1}, \textsc{t}\oldstylenums{1} and \textsc{ts}\oldstylenums{1} encodings.
752
753
754 \subsection{Metrics and compatibility}
755
756 \begin{itemize}
757 \item The \textit{light} option does not change any metric;
758 \item The \textit{oldstylenums} or \textit{oldstyle} options do not change any horizontal metric;
759 \item The \textit{veryoldstyle} family options change the metrics of the lowercase 's'
760 and the height of the superscripts in math mode;
761 \item There is a full compatibility of the options, except if it is a nonsense,
762 like both the \textit{nomath} and \textit{frenchstyle} options;
763 \item In case of conflict between \textit{oldstylenums}, \textit{oldstyle} and \textit{veryoldstyle} family options,
764 the lighter options are ignored.
765 \end{itemize}
766
767 \subsection{Displaying and printing}
768
769 Often, some display and printing problems exist\dots
770
771 The main reason is an automatic hinting. I'm not a professional typograph and I can't do better;
772 besides, there are some printing problems with old releases of \textit{Acroread}\textregistered{} using \textit{Windows}\textregistered.
773
774 Note that the printing is better using \textit{Ghostscript-Ghostview}\textregistered\dots
775
776 With the \textit{light} option, the print is better than display!
777
778 \subsection{Abstract}
779
780 You get almost all the features of \textit{kpfonts} in one page with the file
781
782 \begin{center}\textit{kpfonts-abstract.pdf}\end{center}
783
784 \subsection{Searching a word}
785
786 With the \textit{veryoldstyle} options, the browsers don't find the rare ligatures \textbf{si, sl, st} and the \textbf{sacute}, \textbf{scaron} and \textbf{scedilla}.
787
788 \begin{center}
789 \textit{Don't use this option if you want to search these words!}
790 \end{center}
791
792 \subsection{My favorite options}
793
794 \begin{itemize}
795 \item For text-only document, I use the \textit{light} and \textit{oldstyle} options;
796 \item and for text and math document, I use the \textit{light, frenchstyle},
797
798 \textit{narrowiints} and \textit{partialup} options, but I'm french!
799 \end{itemize}
800
801 \subsection{\textsc{Johannes Kepler 1571-1630}}
802
803 \textsc{Kepler} was forced, due to the counter Reformation and because he was a Lutheran, to move to Prague to work with the renowned Danish astronomer, \textsc{Tycho Brahe}. Using the data that \textsc{Tycho} had collected, \textsc{Kepler} discovered the first two laws of planetary motion (1609). And what is just as important about this work is that it is the first published account wherein a scientist documents shows how he has coped with the multitude of imperfect data to forge a theory of surpassing accuracy" (\textsc{O. Gingerich} in foreword to \textsc{Johannes Kepler} New Astronomy translated by \textsc{W. Donahue}, Cambridge Univ Press, 1992), in other words a fundamental law of nature. Today we call this the scientific method.
804
805 From nasa website
806
807 http://kepler.nasa.gov/johannes/
808
809 \subsection{Remark}
810
811 Note that \textit{Kepler}\textregistered{} is a registered font name supplied by \textit{Adobe}\texttrademark.
812
813 The Kp-Fonts have nothing to do with those.
814
815 \subsection{Thanks}
816
817 Many thanks to
818 \begin{itemize}
819 \item Nicolas Boulenguez (Tests);
820 \item Michel Bovani (Fonts);
821 \item Daniel Flipo (\LaTeX);
822 \item Souraya Muhidine (Translation reviewing)
823 \item Peter Rosenberg (\texttt{urw})
824 \item Christian Tellechea (package \texttt{xstring})
825 \item and the contributors of \texttt{comp.text.tex} and \texttt{fr.comp.text.tex};
826 \item Pétiard François (reporting bugs)
827 \end{itemize}
828
829 \end{document}