% ***** oldbold.sty ***** new version: 8-December-1994 % Enkele fonts zijn verwijderd voor dit boek: regel 35 - 51. Fer. % Speciale definities voor leq en geq zijn verwijderd. Fer. %%% Document style for Speech Coding and Synthesis %%% %%% Derived from BOOK.STY %%% Developed and distributed by Elsevier Science Publishers B.V. %%% Copying of this file is permitted under the condition that, %%% (1) You make no change to the file whatsoever (including name) OR %%% (2) If you make changes, you change the filename as well as the %%% version number. % Modified to include bold blackboard families by WJM on March 3 1992 % Modified to include some special symbols % % % This document-style option defines four new fonts for LaTeX with % the old font selection scheme: % the bold math italic font, the bold sans-serif font and the italic % sans-serif font. % The commands \bfi, \sfb and \sfi are defined here; automatic % size-changes are enable by adding a line of code to the commands % \vpt etc. from lfonts.tex. % In math, we want to have the following mapping of family to font: % % Family Font % ------ ---- % \bfi cmmib10, boldface italic % \sfb cmssbx10, bold sans-serif % \sfi cmssi10, sans-serif italic % \Bbb msbm10, bold blackboard % % The following fonts are loaded, the others are loaded on demand. % \font\tenbfi = cmmib10 \font\sevenbfi = cmmib10 %cmmib7 \font\fivebfi = cmmib10 %cmmib5 \font\tensfb = cmmib10 %cmssbx10 \font\sevensfb = cmss8 \font\fivesfb = cmr5 \font\tensfi = cmssi10 \font\sevensfi = cmssi8 \font\fivesfi = cmr5 \font\sevenBbb = cmmib10 %msbm7 \font\fiveBbb = cmmib10 %msbm5 \font\tenBbb = cmmib10 %msbm10 \font\eightBbb = cmmib10 %msbm8 \font\sevenBbb = cmmib10 %msbm7 \font\fiveBbb = cmmib10 %msbm5 \font\tenoperand = cmmib10 %msam10 \font\sevenoperand = cmmib10 %msam7 \font\fiveoperand = cmmib10 %msam5 % % New families for the bold italic, bold sans-serif and % sans-serif italic fonts % \newfam\bfifam \newfam\sfbfam \newfam\sfifam \newfam\Bbbfam \newfam\operandfam % % and protected font names % \def\bfi{\protect\pbfi} \def\sfb{\protect\psfb} \def\sfi{\protect\psfi} \def\Bbb{\protect\pBbb} \def\operand{\protect\poperand} % % Size changing % % We have to take care here, since the goal is to add something to the % definition of commands like \vpt, \xpt, etc. In order to do this % the commands are redefined in terms of themselves. To get this % right, the first-level expansion is stored in a token register. % The definition for the commands \pbfi, \psfb and \psfi are also stored % in a token register for the same reason. % The commands are redefined globally, using \xdef. % % First we start a group, to keep the use of the token registers local. % \begingroup \toks2={\@subfont\bfi\rm} \toks4={\@subfont\sfb\rm} \toks6={\@subfont\sfi\rm} \toks8={\@subfont\Bbb\rm} \toks10={\@subfont\operand\rm} % % Then we define \vpt % \toks0=\expandafter{\vpt} \xdef\vpt{\the\toks0\def\noexpand\pbfi{\the\toks2}% \def\noexpand\psfb{\the\toks4}\def\noexpand\psfi{\the\toks6}% \def\noexpand\pBbb{\the\toks8}\def\noexpand\poperand{\the\toks10}} % % \vipt % \toks0=\expandafter{\vipt} \xdef\vipt{\the\toks0\def\noexpand\pbfi{\the\toks2}% \def\noexpand\psfb{\the\toks4}\def\noexpand\psfi{\the\toks6}% \def\noexpand\pBbb{\the\toks8}\def\noexpand\poperand{\the\toks10}} % % \viipt % \toks0=\expandafter{\viipt} \xdef\viipt{\the\toks0\def\noexpand\pbfi{\the\toks2}% \def\noexpand\psfb{\the\toks4}\def\noexpand\psfi{\the\toks6}% \def\noexpand\pBbb{\the\toks8}\def\noexpand\poperand{\the\toks10}} % % \viiipt % \toks0=\expandafter{\viiipt} \toks8={{\fam\Bbbfam\eightBbb}\textfont\Bbbfam\eightBbb \scriptfont\Bbbfam\fiveBbb \scriptscriptfont\Bbbfam\fiveBbb} \toks10={{\fam\operandfam\sevenoperand}\textfont\operandfam\sevenoperand \scriptfont\operandfam\fiveoperand\scriptscriptfont\operandfam=\fiveoperand} \xdef\viiipt{\the\toks0\def\noexpand\pbfi{\the\toks2}% \def\noexpand\psfb{\the\toks4}\def\noexpand\psfi{\the\toks6} \def\noexpand\pBbb\the\toks8\def\noexpand\poperand\the\toks10} % % \ixpt % \toks0=\expandafter{\ixpt} \xdef\ixpt{\the\toks0\def\noexpand\pbfi{\the\toks2}% \def\noexpand\psfb{\the\toks4}\def\noexpand\psfi{\the\toks6}% \def\noexpand\pBbb\the\toks8\def\noexpand\poperand\the\toks10} % % \xpt, the only case for which the fonts are preloaded. % \toks0=\expandafter{\xpt} \toks2={{\fam\bfifam\tenbfi}\textfont\bfifam\tenbfi \scriptfont\bfifam\sevenbfi \scriptscriptfont\bfifam\fivebfi} \toks4={{\fam\sfbfam\tensfb}\textfont\sfbfam\tensfb \scriptfont\sfbfam\sevensfb \scriptscriptfont\sfbfam\sevensfb} \toks6={{\fam\sfifam\tensfi}\textfont\sfifam\tensfi \scriptfont\sfifam\sevensfi \scriptscriptfont\sfifam\fivesfi} \toks8={{\fam\Bbbfam\tenBbb}\textfont\Bbbfam\tenBbb \scriptfont\Bbbfam\sevenBbb \scriptscriptfont\Bbbfam\fiveBbb} \toks10={{\fam\operandfam\tenoperand}\textfont\operandfam\tenoperand \scriptfont\operandfam\sevenoperand \scriptscriptfont\operandfam\fiveoperand} \xdef\xpt{\the\toks0\def\noexpand\pbfi\the\toks2% \def\noexpand\psfb\the\toks4\def\noexpand\psfi\the\toks6% \def\noexpand\pBbb\the\toks8\def\noexpand\poperand\the\toks10} % % \xipt, from now on the fonts are loaded on demand % % 11pt: \@halfmag 12pt: \@magscale1 14pt: \@magscale2 % 17pt: \@magscale3 20pt: \@magscale4 25pt: \@magscale5 % \toks0=\expandafter{\xipt} \toks2={\@getfont\pbfi\bfifam\@xipt{cmmib10 \@halfmag}} \toks4={\@getfont\psfb\sfbfam\@xipt{cmssbx10 \@halfmag}} \toks6={\@getfont\psfi\sfifam\@xipt{cmssi10 \@halfmag}} \toks8={\@getfont\pBbb\Bbbfam\@xipt{msbm10 \@halfmag}} \xdef\xipt{\the\toks0\def\noexpand\pbfi{\the\toks2}% \def\noexpand\psfb{\the\toks4}\def\noexpand\psfi{\the\toks6}% \def\noexpand\pBbb{\the\toks8}} % % \xiipt % \toks0=\expandafter{\xiipt} \toks2={\@getfont\pbfi\bfifam\@xiipt{cmmib10 \@magscale1}} \toks4={\@getfont\psfb\sfbfam\@xiipt{cmssbx10 \@magscale1}} \toks6={\@getfont\psfi\sfifam\@xiipt{cmssi10 \@magscale}} \toks8={\@getfont\pBbb\Bbbfam\@xipt{msbm10 \@magscale}} \xdef\xiipt{\the\toks0\def\noexpand\pbfi{\the\toks2}% \def\noexpand\psfb{\the\toks4}\def\noexpand\psfi{\the\toks6}% \def\noexpand\pBbb{\the\toks8}} % % \xivpt % \toks0=\expandafter{\xivpt} \toks2={\@getfont\pbfi\bfifam\@xivpt{cmmib10 \@magscale2}} \toks4={\@getfont\psfb\sfbfam\@xivpt{cmssbx10 \@magscale2}} \toks6={\@getfont\psfi\sfifam\@xivpt{cmssi10 \@magscale2}} \toks8={\@getfont\pBbb\Bbbfam\@xivpt{msbm10 \@magscale2}} \xdef\xivpt{\the\toks0\def\noexpand\pbfi{\the\toks2}% \def\noexpand\psfb{\the\toks4}\def\noexpand\psfi{\the\toks6}% \def\noexpand\pBbb{\the\toks8}} % % \xviipt % \toks0=\expandafter{\xviipt} \toks2={\@getfont\pbfi\bfifam\@xviipt{cmmib10 \@magscale3}} \toks4={\@getfont\psfb\sfbfam\@xviipt{cmssbx10 \@magscale3}} \toks6={\@getfont\psfi\sfifam\@xviipt{cmssi10 \@magscale3}} \toks8={\@getfont\pBbb\Bbbfam\@xviipt{msbm10 \@magscale3}} \xdef\xviipt{\the\toks0\def\noexpand\pbfi{\the\toks2}% \def\noexpand\psfb{\the\toks4}\def\noexpand\psfi{\the\toks6}% \def\noexpand\pBbb{\the\toks8}} % % \xxpt % \toks0=\expandafter{\xxpt} \toks2={\@getfont\pbfi\bfifam\@xxpt{cmmib10 \@magscale4}} \toks4={\@getfont\psfb\sfbfam\@xxpt{cmssbx10 \@magscale4}} \toks6={\@getfont\psfi\sfifam\@xxpt{cmssi10 \@magscale4}} \toks8={\@getfont\pBbb\Bbbfam\@xxpt{msbm10 \@magscale4}} \xdef\xxpt{\the\toks0\def\noexpand\pbfi{\the\toks2}% \def\noexpand\psfb{\the\toks4}\def\noexpand\psfi{\the\toks6}% \def\noexpand\pBbb{\the\toks8}} % % \xxvpt % \toks0=\expandafter{\xxvpt} \toks2={\@getfont\pbfi\bfifam\@xxvpt{cmmib10 \@magscale5}} \toks4={\@getfont\psfb\sfbfam\@xxvpt{cmssbx10 \@magscale5}} \toks6={\@getfont\psfi\sfifam\@xxvpt{cmssi10 \@magscale5}} \toks8={\@getfont\pBbb\Bbbfam\@xxvpt{msbm10 \@magscale5}} \xdef\xxvpt{\the\toks0\def\noexpand\pbfi{\the\toks2}% \def\noexpand\psfb{\the\toks4}\def\noexpand\psfi{\the\toks6}% \def\noexpand\pBbb{\the\toks8}} % % Close the group. % \endgroup %% SPECIAL symbols %% The command %% \def\pbf{\@getfont\pbf\bffam\@viipt{ambx7}} %% declares \bf to use a loaded-on-demand font--namely, the font %% ambx7. %% %% The command %% \def\ptt{\@subfont\tt\rm} %% declares that the \tt font is unavailable in the 7pt size, so %% the \rm font is used instead. (The substituted type style should %% correspond to a preloaded size.) \def\pboldsym{\@getfont\pboldsym\bffam\@xpt{cmbsy10}} \def\boldcdot{\mathop{\mbox{\pboldsym\char01}}\nolimits} \def\boldnabla{\mbox{\pboldsym\char"72}} \def\hexnum#1{\ifcase#10\or1\or2\or3\or4\or5\or6\or7\or8\or9\or A\or B\or C\or D\or E\or F\fi} \edef\theoperandfam{\hexnum\operandfam} %\mathchardef\leq="3\theoperandfam36 %\mathchardef\geq="3\theoperandfam3E \def\psymbol{\@getfont\psymbol\itfam\@xpt{eurm10}} \def\urcd{\mbox{\psymbol\char"40}} \def\urpi{\mbox{\psymbol\char"19}} %\let\partial\urcd \let\le\leq \let\ge\geq \let\nabla\boldnabla \edef\thebfifam{\hexnum\bfifam} \mathchardef\boldalpha="0\thebfifam0B \mathchardef\boldbeta="0\thebfifam0C \mathchardef\boldgamma="0\thebfifam0D \mathchardef\bolddelta="0\thebfifam0E \mathchardef\boldepsilon="0\thebfifam0F \mathchardef\boldzeta="0\thebfifam10 \mathchardef\boldeta="0\thebfifam11 \mathchardef\boldtheta="0\thebfifam12 \mathchardef\boldiota="0\thebfifam13 \mathchardef\boldkappa="0\thebfifam14 \mathchardef\boldlambda="0\thebfifam15 \mathchardef\boldmu="0\thebfifam16 \mathchardef\boldnu="0\thebfifam17 \mathchardef\boldxi="0\thebfifam18 \mathchardef\boldpi="0\thebfifam19 \mathchardef\boldrho="0\thebfifam1A \mathchardef\boldsigma="0\thebfifam1B \mathchardef\boldtau="0\thebfifam1C \mathchardef\boldupsilon="0\thebfifam1D \mathchardef\boldphi="0\thebfifam1E \mathchardef\boldchi="0\thebfifam1F \mathchardef\boldpsi="0\thebfifam20 \mathchardef\boldomega="0\thebfifam21 \mathchardef\boldvarepsilon="0\thebfifam22 \mathchardef\boldvartheta="0\thebfifam23 \mathchardef\boldvarpi="0\thebfifam24 \mathchardef\boldvarrho="0\thebfifam25 \mathchardef\boldvarsigma="0\thebfifam26 \mathchardef\boldvarphi="0\thebfifam27 \mathchardef\boldell="0\thebfifam60 \endinput