diff options
author | Karl Berry <karl@freefriends.org> | 2008-01-23 00:40:02 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-01-23 00:40:02 +0000 |
commit | 429c5536fba6b00fc5d57fd7da982d8f1e8a2f58 (patch) | |
tree | c8f4825a24e8ca09d5f3a94ca92b91794c00f967 /Master/texmf-dist/doc/fonts/kpfonts/kpfonts.tex | |
parent | 21c8c39052e3567a019ed4e13b5d7f34ee3d6e2f (diff) |
kpfonts 2.0 (21jan08)
git-svn-id: svn://tug.org/texlive/trunk@6374 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/fonts/kpfonts/kpfonts.tex')
-rw-r--r-- | Master/texmf-dist/doc/fonts/kpfonts/kpfonts.tex | 257 |
1 files changed, 215 insertions, 42 deletions
diff --git a/Master/texmf-dist/doc/fonts/kpfonts/kpfonts.tex b/Master/texmf-dist/doc/fonts/kpfonts/kpfonts.tex index ba950592c03..f068280bed1 100644 --- a/Master/texmf-dist/doc/fonts/kpfonts/kpfonts.tex +++ b/Master/texmf-dist/doc/fonts/kpfonts/kpfonts.tex @@ -23,6 +23,10 @@ \bigskip {\Large \textsf{The \textsc{Johannes Kepler} project}} + +\medskip + +{\large \textsf{Release 2.0}} \end{center} \bigskip @@ -31,30 +35,47 @@ \hfill \texttt{c.caignaert@free.fr} +\bigskip + +\begin{center}\begin{minipage}{12cm} +This 2.0 release is the major evolution of \textit{kpfonts}, the Kepler'project package. We get : +\begin{itemize} + \item the \textit{light} option with lighter math and text fonts and the same metrics; + \item the \textit{oldstyle} and \textit{veryoldstyle} family options + for typesetting respectively with oldstyle numbers and like in \oldstylenums{1700}. +\end{itemize} +\end{minipage}\end{center} + \section{Kp-Fonts} \subsection{What is Kp-Fonts?} 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 -The typical feature of these fonts is to have a basic and dymamic shape. For instance, look at the roman "a" glyph: +The typical feature of these fonts is to have a basic and dynamic shape. For instance, look at the roman upright "a" glyphs: + +\bigskip -\begin{center}\begin{tabular}{c|c|c|c|c} -Kp-Fonts & CM & Palatino & Utopia & Times\\\hline +\hspace{-6mm}\begin{tabular}{|c|c|c|c|c|c|}\hline +Kp-Fonts & Kp-\textit{light} & CM & Palatino & Utopia & Times\\\hline \scalebox{10}{a} & +\scalebox{10}{\fontfamily{jkpl}\selectfont a} & \scalebox{10}{\fontfamily{lmr}\selectfont a} & \scalebox{10}{\fontfamily{ppl}\selectfont a} & \scalebox{9.2}{\rule{0pt}{1.25ex}\fontfamily{put}\selectfont a} & -\scalebox{10}{\fontfamily{ptm}\selectfont a} -\end{tabular}\end{center} +\scalebox{10}{\fontfamily{ptm}\selectfont a}\\\hline +\end{tabular} +\bigskip -This LaTeX package est distributed with a \textsc{gpl} licence. +This LaTeX package is distributed with a \textsc{gpl} licence. + +\medskip Kp-Fonts doesn't require any other font package and is fully compatible with \texttt{amsmath} and \texttt{textcomp}. Kp-fonts loads these two packages. \begin{center} -\itshape You haven't to load \textbf{\texttt{amsmath}} and \textbf{\texttt{textcomp}} packages +\textit{You haven't to load \textbf{\texttt{amsmath}} and \textbf{\texttt{textcomp}} packages} \end{center} To use it, you just have to add \verb+\usepackage{kpfonts}+ in your document preamble, if necessary with the options described below. @@ -67,7 +88,7 @@ Besides, the aim is to get a good compatibility with different sets of math font \item The encodings \textsc{t1, ot1} et \textsc {ts1} are fully available, except for the uppercase symbol \verb+\SS+ in teletype fonts; \item Roman fonts are available with upright, small caps, italic, slanted and oldstyle shape, all with regular, bold and bold extended weight; \item Sans-serif fonts are available with upright, small caps and slanted shape, all with regular, bold and bold extended weight; - \item Teletypes fonts are available with uprights and slanted shape, all with regular and bold weight; + \item Teletypes fonts are available with upright and slanted shape, all with regular and bold weight; \end{itemize} \begin{center}\itshape @@ -77,7 +98,7 @@ The default weight is \textbf{bold}, not \textbf{bold extended}. \subsection{Math fonts} \begin{itemize} - \item The \verb+\boldmath+ command is fully installed and Kp-Fonts \textbf{doesn't need} the \verb=\bm= command; + \item The \verb+\boldmath+ command is fully installed and Kp-Fonts \textbf{doesn't need} "poor man bold" glyphs; \item Kp-Fonts provides upright and slanted greeks: $\alphaup\betaup\gammaup\Gamma\Delta$ and $\alpha\beta\gamma\Gammasl\Deltasl$; \item \verb=\mathbb= provides $\mathbb{ABC}$, characters designed from capital upright roman; \item \verb=\mathcal= provides $\mathcal{ABC}$, slighty altered fonts from \textsc{cm}; @@ -90,48 +111,133 @@ The default weight is \textbf{bold}, not \textbf{bold extended}. \subsection{Global options} \begin{description} - \item[nomath :] Kp-Fonts doesn't modify default mathematical fonts; - \item[notext :] Kp-Fonts doesn't modify default text fonts. + \item[nomath:] Kp-Fonts doesn't modify default mathematical fonts; + \item[notext:] Kp-Fonts doesn't modify default text fonts; + \item[nosf:] Kp-Fonts doesn't modify default sans serif fonts (text and math); + \item[nott:] Kp-Fonts doesn't modify default fixed width fonts (text and math); + \item[onlyrm:] equivalent to the last two options; + \item[light:] then, you use the light version of the fonts. The metrics are the same. + The display is not very good, but the print is fine if you like light fonts; + \item[fulloldstyle:] equivalent to both \texttt{oldstyle} and \texttt{oldstylemath}; + \item[fullveryoldstyle:] equivalent to both \texttt{veryoldstyle} + + and \texttt{veryoldstylemath}. \end{description} -With both these options, Kp-Fonts does nothing\dots +With both the two first options, Kp-Fonts does nothing\dots -\subsection{Text fonts options} +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 -\begin{description} - \item[nosf :] Kp-Fonts doesn't modify default sans serif fonts; - \item[nott :] Kp-Fonts doesn't modify default fixed width fonts. -\end{description} +\hfill\begin{minipage}{11cm}{\fontfamily{jkpl}\selectfont +While the high-level font commands are intended for use in a document, the low-level commands\dots +}\end{minipage} + +\smallskip + +\hfill\begin{minipage}{11cm}{\fontfamily{jkpl}\selectfont +\textbf{While the high-level font commands are intended for use in a document, the low-level commands\dots} +}\end{minipage} -These two options affect only text fonts. +\smallskip + +\hfill\begin{minipage}{11cm}{\fontfamily{jkpl}\selectfont + +\textit{While the high-level font commands are intended for use in a document, the low-level commands\dots} +}\end{minipage} + +\smallskip + + +\hfill\begin{minipage}{11cm}{\fontfamily{jkpl}\selectfont +\textbf{\textit{While the high-level font commands are intended for use in a document, the low-level commands\dots}} +}\end{minipage} + + +\subsection{Text fonts options} + +These options affect only text fonts. \begin{description} - \item[oldstyle :] Roman font provides here {\fontfamily{jkpos}\selectfont "Q" - and the old ligatures "ct" and "st"}, and also, oldstyle numbers - by default. + + \item[oldstyle:] provides here {\fontfamily{jkpos}\selectfont "Q"}, + and oldstyle numbers by default. + + With roman and sans-serif fonts, you get the old ligatures {\fontfamily{jkpos}\selectfont "ct"} + and {\fontfamily{jkpos}\selectfont "st"}. + Oldstyle also provides the small capital {\fontfamily{jkpos}\selectfont "\textsc{q}"}. + + A new command \verb=\classicstylenums= allows you to get usual numbers in roman fonts. + + Some examples: + + \begin{itemize} + \item {\fontfamily{jkpos}\selectfont Queer font, queer actual aesthetic!} + \item {\fontfamily{jkpos}\selectfont \textit{Queer font, queer actual aesthetic!}} + \item {\fontfamily{jkpos}\selectfont \textbf{Queer font, queer actual aesthetic!}} + \item {\fontfamily{jkpos}\selectfont \textsc{Queer font, queer actual aesthetic!}} + \item {\fontfamily{jkpos}\selectfont \textbf{\textit{Queer font, queer actual aesthetic!}}} + \item {\fontfamily{jkpos}\selectfont \textsc{\textbf{Queer font, queer actual aesthetic!}}} + \end{itemize} + + \item[veryoldstyle :] Same as the \texttt{oldstyle} option except the round "s" + is replaced with the long "{\fontfamily{jkpvos}\selectfont s}\,". - A new command \verb=\classicstylenums= allows you to get usual numbers. - This option affects only roman font. + You can get the round "s" using the ligature "\texttt{s=}", often used at the end of the word. + + Example: \verb+\textit{costs=}+\quad gives \quad "{\fontfamily{jkpvos}\selectfont \textit{costs=}}" + + \item[rmx] then , you get six weights, with the correponding fonts: + + \medskip + + \begin{tabular}{|c|c|c|}\hline + light & \texttt{l} & {\fontfamily{jkpx}\fontseries{l}\selectfont medium in light mode} \\ \hline + medium & \texttt{m} & {\fontfamily{jkpx}\fontseries{m}\selectfont medium in default mode} \\ \hline + semi-bold & \texttt{sb} & {\fontfamily{jkpx}\fontseries{sb}\selectfont bold in light mode} \\ \hline + bold & \texttt{b} & {\fontfamily{jkpx}\fontseries{b}\selectfont bold in default mode} \\ \hline + semi-bold extended & \texttt{sbx} & {\fontfamily{jkpx}\fontseries{sbx} + \selectfont bold extended in light mode} \\ \hline + bold extended & \texttt{bx} & {\fontfamily{jkpx}\fontseries{bx} + \selectfont bold extended in default mode} \\ \hline + \end{tabular} + + \medskip + + In this case, the \textit{light} option affects only math fonts. + + This option is not my favorite because the default and light families are cousins but not sisters. \end{description} +This last option affects only roman fonts. + \subsection{Greek letters in math mode} \begin{description} - \item[uprightgreeks :] \textit{lowercase} greeks are upright, $\alphaup\betaup\gammaup$; - \item[slantedGreeks :] \textit{Uppercase} greeks are slanted, $\Gammasl\Deltasl$. + \item[uprightgreeks:] \textit{lowercase} greeks are upright, $\alphaup\betaup\gammaup$; + \item[slantedGreeks:] \textit{Uppercase} greeks are slanted, $\Gammasl\Deltasl$. \end{description} \subsection{Math font options} \begin{description} - \item[nomathscript :] Kp-Fonts doesn't install the \verb=\mathscr= command; - \item[mathcalasscript :] swaps the \verb=\mathcal= and \verb=\mathscr= fonts; - \item[classicReIm :] the \verb=\Re= and \verb=\Im= commands produce $\mathfrak{R}$ and $\mathfrak{I}$. In default of, Kp-Fonts provides $\Re$ and $\Im$; - \item[uprightRoman :] the \textit{Uppercase} romans are upright. - \item[frenchstyle :] equivalent to both the options \texttt{\textbf{uprightRoman}} et \texttt{\textbf{uprightgreeks}}, uppercase romans and lowercase greeks are upright, usual French style when typesetting mathematics; lowercase romans remain slanted; - \item[upright :] synonymous with the previous option. + \item[nomathscript:] Kp-Fonts doesn't install the \verb=\mathscr= command; you need it if you use \verb=\mathrsfs= + package; + \item[mathcalasscript:] swaps the \verb=\mathcal= and \verb=\mathscr= fonts; + \item[classicReIm:] the \verb=\Re= and \verb=\Im= commands produce $\mathfrak{R}$ and $\mathfrak{I}$. In default of, Kp-Fonts provides $\Re$ and $\Im$; + \item[uprightRoman:] the \textit{Uppercase} romans are upright. + \item[frenchstyle:] equivalent to both the options \texttt{\textbf{uprightRoman}} et \texttt{\textbf{uprightgreeks}}, uppercase romans and lowercase greeks are upright, usual French style when typesetting mathematics; lowercase romans remain slanted; + \item[upright :] synonymous with the previous option; + \item[oldstylemath:] provides the oldstyle numbers in default and changes the \verb=\mathrm=, + \verb=\mathsf= and \verb=\mathtt= fonts; they run as text fonts with oldstyle option; + \item[veryoldstylemath :] same as \texttt{oldstylemath} except the round "s" + is replaced with the long "{\fontfamily{jkpvos}\selectfont s}\,". \end{description} +Note that, when using the \verb+oldstylemath+, \verb+veryoldstylemath+, + +\verb+fulloldstyle+ or \verb+fullveryoldstyle+ options, +in math mode, as the numbers {\fontfamily{jkpvos}\selectfont 3, 4, 5, 7 et 9} have a depth, superscripts are moved up. + \section{Use} \subsection{Greek letters} @@ -172,10 +278,16 @@ Kp-Fonts provides a lot of other symbols and a lot of negative symbols not displ \verb=\mmappedfrom=&\mmappedfrom&\verb=\longmmappedfrom=&\longmmappedfrom\\ \verb=\Mmapsto=&\Mmapsto&\verb=\Longmmapsto=&\Longmmapsto\\ \verb=\Mmappedfrom=&\Mmappedfrom&\verb=\Longmmappedfrom=&\Longmmappedfrom\\ + +\end{tabular}\end{center} + +\begin{center}\begin{tabular}{r>{$}c<{$}|r>{$}c<{$}} + \verb=\dashleftarrow=&\dashleftarrow&\verb=\dashrightarrow=&\dashrightarrow\\ \verb=\dashleftrightarrow=&\dashleftrightarrow&\verb=\leftsquigarrow=&\leftsquigarrow\\ \verb=\Nearrow=&\Nearrow&\verb=\Searrow=&\Searrow\\ \verb=\Nwarrow=&\Nwarrow&\verb=\Swarrow=&\Swarrow\\ +\verb=\varemptyset=&\varemptyset& & \\ \verb=\leadstoext=&\leadstoext&\verb=\leadsto=&\leadsto\\ \end{tabular}\end{center} @@ -228,7 +340,12 @@ $\leadstoext\leadstoext\leadstoext\leadsto$ \verb=\Diamonddot=&\Diamonddot&\verb=\Diamond=&\Diamond&\verb=\Diamondblack=&\Diamondblack\\ \verb=\strictif=&\strictif&\verb=\strictfi=&\strictfi&\verb=\strictiff=&\strictiff\\ \verb=\circledless=&\circledless&\verb=\circledgtr=&\circledgtr&\verb=\circledwedge=&\circledwedge\\ -\verb=\circledvee=&\circledvee&\verb=\circledbar=&\circledbar&\verb=\circledbslash=&\circledbslash\\ +\verb=\circledvee=&\circledvee&\verb=\circledbar=&\circledbar&\verb=\circledbslash=&\circledbslash + +\end{tabular}\end{center} + +\begin{center}\begin{tabular}{r>{$}c<{$}|r>{$}c<{$}|r>{$}c<{$}} + \verb=\lJoin=&\lJoin&\verb=\rJoin=&\rJoin&\verb=\Join=&\Join\\ \verb=\openJoin=&\openJoin&\verb=\lrtimes=&\lrtimes&\verb=\opentimes=&\opentimes\\ \verb=\Lbag=&\Lbag&\verb=\Rbag=&\Rbag&\verb=\nplus=&\nplus\\ @@ -236,11 +353,11 @@ $\leadstoext\leadstoext\leadstoext\leadsto$ \verb=\boxast=&\boxast&\verb=\boxbslash=&\boxbslash&\verb=\boxbar=&\boxbar\\ \verb=\boxslash=&\boxslash&\verb=\lambdaslash=&\lambdaslash&\verb=\lambdabar=&\lambdabar\\ \verb=\varclubsuit=&\varclubsuit&\verb=\vardiamondsuit=&\vardiamondsuit&\verb=\varheartsuit=&\varheartsuit\\ -\verb=\varspadesuit=&\varspadesuit&\verb=\llbracket=&\llbracket&\verb=\rrbracket=&\rrbracket\\ +\verb=\varspadesuit=&\varspadesuit&\verb=\llbracket=&\llbracket&\verb=\rrbracket=&\rrbracket \end{tabular}\end{center} -\verb=\lbag=, \verb=\rbag=, \verb=\llbracket= et \verb=\rrbracket= sont verticalement extensibles. +\verb=\lbag=, \verb=\rbag=, \verb=\llbracket= and \verb=\rrbracket= are vertically extensive. \subsection{Variant integrate symbols} @@ -258,7 +375,16 @@ It is up to you to choose whichever you prefer! Obviously, this command is not convenient for computing an integral\dots -Both display and text style exist. +You can also use \verb=\D{...}=, the integrate symbol "d" command with best spacing: + + \qquad\verb=\displaystyle\varint f(t)\D{t}=\qquad gives\qquad + $\displaystyle\varint f(t)\D{t}$ + +\bigskip + + With the \textit{frenchstyle} option, you get an upright "d", like above. + +\bigskip Others variant commands are: @@ -313,10 +439,10 @@ There are many unusual integrate symbols : The tree provides a standard \textsc{tds}. You have to copy all the files in one of your \texttt{texmf} trees first and then update your data base files. Now, you have to deal with the \texttt{.map} file. -If you have a \texttt{web2c} distribution, just run \texttt{udpmap}. +If you have a \texttt{web2c} distribution, just run \texttt{updmap}. \begin{verbatim} - udpmap --enable Map=kpfonts.map + updmap --enable Map=kpfonts.map \end{verbatim} If it is not running, look for all the \texttt{psfonts.map} and \texttt{pdftex.map}. Then, append all the \texttt{kpfonts.map} lines into each of them and save them \dots{} in the same directory! @@ -329,6 +455,50 @@ With MikTeX (-> 2.4), it's easy to do the same thing with the files: \section{Some extra points} +\subsection{The \textsc{Johannes Kepler}-project text families} + +{\renewcommand{\arraystretch}{1.2}\hspace{-0.5cm} +\begin{tabular}{|c|c|c|l|}\hline +family&series&shape&\emph{rm}, \emph{sf} or \emph{tt} default with options:\\\hline\hline +jkp&m,b,bx&n,it,sc,sl&\\ +jkpos&m,b,bx&n,it,sc,sl&\emph{oldstyle} or \emph{fulloldstyle}\\ +jkpvos&m,b,bx&n,it,sc,sl&\emph{veryoldstyle} or \emph{fullveryoldstyle}\\\hline +jkpl&m,b,bx&n,it,sc,sl&\emph{light}\\ +jkplos&m,b,bx&n,it,sc,sl&\emph{light} and (\emph{oldstyle} or \emph{fulloldstyle})\\ +jkplvos&m,b,bx&n,it,sc,sl&\emph{light} and (\emph{veryoldstyle} or \emph{fullveryoldstyle})\\\hline +jkpx&l,m,sb,sbx,b,bx&n,it,sc,sl&\emph{rmx}\\ +jkpxos&l,m,sb,sbx,b,bx&n,it,sc,sl&\emph{rmx} and (\emph{oldstyle} or \emph{fulloldstyle})\\ +jkpxvos&l,m,sb,sbx,b,bx&n,it,sc,sl&\emph{rmx} and (\emph{veryoldstyle} or \emph{fullveryoldstyle})\\\hline\hline +jkpss&m,b,bx&n,sc,sl&\\ +jkpssos&m,b,bx&n,sc,sl&\emph{oldstyle} or \emph{fulloldstyle}\\ +jkpssvos&m,b,bx&n,sc,sl&\emph{veryoldstyle} or \emph{fullveryoldstyle}\\\hline\hline +jkptt&m,b&n,sl&\\ +jkpttos&m,b&n,sl&\emph{oldstyle} or \emph{fulloldstyle}\\ +jkpttvos&m,b&n,sl&\emph{veryoldstyle} or \emph{fullveryoldstyle}\\\hline +\end{tabular}} + +\bigskip + +If you want, or if you have to use the low-level commands! + +\medskip + +Note that all the families support \textsc{ot}\oldstylenums{1}, \textsc{t}\oldstylenums{1} and \textsc{ts}\oldstylenums{1} encodings. + + +\subsection{Metrics and compatibility} + +\begin{itemize} + \item The \textit{light} option does not change any metric; + \item The \textit{oldstyle} family options change only the metrics of the numbers; + \item The \textit{veryoldstyle} family options change also the metric of the lowercase 's' + and the height of the superscripts in math mode; + \item There is a full compatibility of the options, except if it is a nonsense, + like both the \textit{nomath} and \textit{frenchstyle} options; + \item In case of conflict between \textit{oldstyle} and \textit{veryoldstyle} family options, + the \textit{oldstyle} option is ignored. +\end{itemize} + \subsection{Displaying and printing} Often, some display and printing problems exist\dots @@ -338,15 +508,18 @@ besides, there are some printing problems with old releases of \textit{Acroread} Note that the printing is better using \textit{Ghostscript-Ghostview}\textregistered\dots -\subsection{Further outlook} +With the \textit{light} option, the print is better than display! -If you ask for \dots{} light and semi-bold fonts. +\subsection{My favorite options} -Otherwise, if you need one extra symbol, contact me, I will do my best. +\begin{itemize} + \item For text-only document, I use the \textit{light} and \textit{oldstyle} options; + \item and for text and math document, I use the \textit{light} and \textit{frenchstyle} options, but I'm french! +\end{itemize} \subsection{\textsc{Johannes Kepler 1571-1630}} - \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 how he has coped with the multitude of imperfect data to forge a theory of surpassing accuracy" (\textsc{O. Gingerich} in forward 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. + \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 forward 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. From nasa website @@ -363,7 +536,7 @@ Many thanks to \item \textsc{Nicolas Boulenguez} (Tests); \item \textsc{Michel Bovani} (Fonts); \item \textsc{Daniel Flipo} (Latex); - \item \textsc{Souraya Muhidine} (Translation) + \item \textsc{Souraya Muhidine} (Translation reviewing) \item \textsc{Peter Rosenberg} (\textsc{urw}) \end{itemize} |