diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/required/psnfss |
Initial commit
Diffstat (limited to 'macros/latex/required/psnfss')
20 files changed, 3109 insertions, 0 deletions
diff --git a/macros/latex/required/psnfss/00readme.txt b/macros/latex/required/psnfss/00readme.txt new file mode 100644 index 0000000000..572e6df2a3 --- /dev/null +++ b/macros/latex/required/psnfss/00readme.txt @@ -0,0 +1,264 @@ +------------------------------------------------------------ + PSNFSS 9.2 -- installation instructions +------------------------------------------------------------ + 2004-09-15 + Walter Schmidt + + +Contents +-------- + +- Overview +- Removing obsolete files +- Installing the virtual fonts, metrics and .fd files +- Installing the PSNFSS macro packages +- Installing the documentation +- Fonts required for PSNFSS +- Font map files +- The encoding vector 8r.enc +- Extra packages required for PSNFSS +- Making sure that everything works +- Files from PSNFSS v7.x, which are no longer part of the + distribution. + + + +Overview +-------- + +PSNFSS, originally developed by Sebastian Rahtz, is a set of +LaTeX2e package files to use common PostScript text and +symbol fonts, together with packages for typesetting math +using virtual math fonts to match Times and Palatino. + +The macro packages are useless without the font description +(fd) files, virtual fonts (vf) and font metric (tfm) files +for the font families used. On CTAN, those for the Base 35 +fonts are provided in the archive lw35nfss.zip. The +metrics, fd's and font map files for the free Utopia, +Charter, FPL and Pazo fonts are provided in the archive file +freenfss.zip. + +The PSNFSS collection does, however, NOT include the actual +PostScript fonts, i.e., the .pfb and .afm files. See the +below section "Fonts required for PSNFSS" . + +This document describes how to _install_ or _update_ PSNFSS. +Detailed instructions how to _use_ PSNFSS with LaTeX can be +found in the PDF document psnfss2e.pdf. + + + +Removing obsolete files +----------------------- + +* If your current version of PSNFSS is 7.0 or older, you +should remove manually _all_ macro files, .fd files, font +metrics and virtual fonts, that have to do with the PSNFSS +system or with the Base35, Utopia, Charter or Pazo fonts. + +* If your current version of PSNFSS is 8.x or 9.1, delete +the files ot1fplmbb.fd and t1fplmbb.fd. In a TDS-compliant +TeX system, they should reside in the directory +texmf/tex/latex/psnfss. + +* Previous distributions of PSNFSS 9.0x would erroneously +comprise a number of files named *8a.tfm in the directory +texmf/fonts/tfm/adobe/palatino. These files did not do any +harm, yet they are useless and should be deleted -- unless +you are using VTeX, which does require them. + + + +Installing the virtual fonts, metrics and .fd files +--------------------------------------------------- +Obtain the archive files lw35nfss.zip and freenfss.zip from +CTAN:macros/latex/required/psnfss. If the file system +layout of your TeX system complies with TDS, unzip them in +the texmf root directory (usually named texmf) of your TeX +system; all files will be unpacked into the right +directories then. Otherwise you have to sort out manually +the files from the .zip archives and copy them to the +appropriate directories of your TeX system. + +The archives do _not_ include TFM files for the "raw" (= not +re-encoded) PostScript text fonts. These files are required +by VTeX only (and they are not PSNFSS-specific, anyway). + + + +Installing the PSNFSS macro packages +------------------------------------ + +Copy the files + + 00readme.txt + changes.txt + manifest.txt + mathtest.tex + pitest.tex + psfonts.dtx + psfonts.ins + psnfss2e.tex + test0.tex + test1.tex + test2.tex + test3.tex + +to a directory where you keep documented LaTeX sources. +In a TDS-compliant system this should be the directory + + texmf/source/latex/psnfss/ . + +Run LaTeX on the installation script psfonts.ins to create +the package (.sty) files. Move them to a directory where +LaTeX will find them. In a TDS-compliant system this should +be the directory + + texmf/tex/latex/psnfss/ . + +The latter step is executed automagically by the +installation script, provided that your DocStrip program has +been configured appropriately and the target directory +exists already. + + + +Installing the documentation +---------------------------- + +Copy the documentation file psnfss2e.pdf to a suitable +directory; in a TDS-compliant system this should be + + texmf/doc/latex/psnfss . + + + +Fonts required for PSNFSS +------------------------- + +The "Base 35" fonts + Free substitutes for the commercial PostScript Base fonts + are available from the CTAN directory fonts/urw/base35. + +Adobe Utopia +Bitstream Charter + The Type1 font files can be obtained for free from various + sources, e.g., CTAN:fonts/utopia and CTAN:fonts/charter. + +| The Utopia fonts are no longer a "required" component of +| the LaTeX system, because of their license conditions. +| Yet YOU MUST NOT OMIT the related font metrics and map +| file records, regardless of whether or not the Type1 font +| files are actually installed. Thus, the user will be +| able to add the fonts without any further changes; +| besides, other packages or virtual fonts may rely on +| these TFMs. + +FPL (=Palatino SC/OsF) + Free substitutes for the commercial Palatino SC/OsF fonts + are available from CTAN:fonts/fpl + +Pazo + The Type1 fonts can be obtained from the CTAN directory + fonts/mathpazo. Notice that PSNFSS 9 needs version 1.003 + (2002-05-17) of the Pazo fonts. + +Computer Modern +RSFS (Ralph Smith's Formal Script) +Euler Math + These font families are required when typesetting math + using the packages mathptm, mathptmx, mathpple, or + mathpazo. They are available in Type1 as well as METAFONT + format Make sure to install at least the Type1 variants, + possibly beside .mf. + + + +Font map files +-------------- + +The following font map files (in a format that suits dvips +and pdfTeX) are provided in the PSNFSS distribution. Use +them immediately or merge them into one common map file: + + psnfss.map: for the Base35 fonts, eurmo10 and eurbo10 + charter.map: for Bitstream Charter + utopia.map: for Adobe Utopia + pazo.map for the Pazo math fonts + fpls.map for the free substitutes (FPL) of the + Palatino SC/OsF fonts + +psnfss.map is primarily destined for use with dvips. The +entries for the fonts "eurmo10" and "eurbo10" may need to be +customized: Feel free to change the /FontName's (EURM10 and +EURB10) to lower case, if you have got the Type1 fonts from +MicroPress rather than the BlueSky collection. This +particular change is _not_ regarded as a violation of the +license conditions. + +psnfss.map does _not_ make dvips embed the Base35 fonts. +For use with pdfTeX you will, most likely, have to create a +modified copy, which specifies embedding of all Base fonts. +The other map files are equally suitable for use with either +dvips or pdfTeX. + +Other applications, such as VTeX, need a different format of +the font map files. They may also require entries for the +raw (= not reencoded) fonts. When creating these map files, +take those for dvips/pdfTeX as a model! + + + +The encoding vector 8r.enc +-------------------------- + +Most Type1 text fonts, when used from TeX, are reencoded to +the so-called TeXBase1 encoding, in order to make all glyphs +accessible. This is performed using the reencoding file + + 8r.enc + +which distributed with PSNFSS. Consult the documentation of +your TeX system, where to store this file! + +| +| PSNFSS 9.x includes version 2.0 of 8r.enc. Make sure +| that there exist no other, obsolete, instances of 8r.enc +| in the applicable search path of your TeX system +| + + + +Extra packages required for PSNFSS +---------------------------------- + +The "Graphics" bundle must be installed, since PSNFSS makes +use of the package keyval.sty. + + + +Making sure that everything works +--------------------------------- + +Run the test following files through LaTeX: + + test0.tex + test1.tex + test2.tex + test3.tex + mathtest.tex + pitest.tex + + + +Files from PSNFSS v7.x, which are no longer part of the +distribution +------------------------------------------------------- + +The files to support the commercial Lucida Bright and +MathTime fonts are now distributed from the CTAN directories +macros/latex/contrib/psnfssx/ and fonts/metrics/bh/lucida/. + + +-- finis diff --git a/macros/latex/required/psnfss/8r.enc b/macros/latex/required/psnfss/8r.enc new file mode 100644 index 0000000000..40dbe90419 --- /dev/null +++ b/macros/latex/required/psnfss/8r.enc @@ -0,0 +1,143 @@ +% File 8r.enc TeX Base 1 Encoding Revision 2.0 2002-10-30 +% +% @@psencodingfile@{ +% author = "S. Rahtz, P. MacKay, Alan Jeffrey, B. Horn, K. Berry, +% W. Schmidt, P. Lehman", +% version = "2.0", +% date = "30 October 2002", +% filename = "8r.enc", +% email = "tex-fonts@@tug.org", +% docstring = "This is the encoding vector for Type1 and TrueType +% fonts to be used with TeX. This file is part of the +% PSNFSS bundle, version 9" +% @} +% +% The idea is to have all the characters normally included in Type 1 fonts +% available for typesetting. This is effectively the characters in Adobe +% Standard encoding, ISO Latin 1, Windows ANSI including the euro symbol, +% MacRoman, and some extra characters from Lucida. +% +% Character code assignments were made as follows: +% +% (1) the Windows ANSI characters are almost all in their Windows ANSI +% positions, because some Windows users cannot easily reencode the +% fonts, and it makes no difference on other systems. The only Windows +% ANSI characters not available are those that make no sense for +% typesetting -- rubout (127 decimal), nobreakspace (160), softhyphen +% (173). quotesingle and grave are moved just because it's such an +% irritation not having them in TeX positions. +% +% (2) Remaining characters are assigned arbitrarily to the lower part +% of the range, avoiding 0, 10 and 13 in case we meet dumb software. +% +% (3) Y&Y Lucida Bright includes some extra text characters; in the +% hopes that other PostScript fonts, perhaps created for public +% consumption, will include them, they are included starting at 0x12. +% These are /dotlessj /ff /ffi /ffl. +% +% (4) hyphen appears twice for compatibility with both ASCII and Windows. +% +% (5) /Euro was assigned to 128, as in Windows ANSI +% +% (6) Missing characters from MacRoman encoding incorporated as follows: +% +% PostScript MacRoman TeXBase1 +% -------------- -------------- -------------- +% /notequal 173 0x16 +% /infinity 176 0x17 +% /lessequal 178 0x18 +% /greaterequal 179 0x19 +% /partialdiff 182 0x1A +% /summation 183 0x1B +% /product 184 0x1C +% /pi 185 0x1D +% /integral 186 0x81 +% /Omega 189 0x8D +% /radical 195 0x8E +% /approxequal 197 0x8F +% /Delta 198 0x9D +% /lozenge 215 0x9E +% +/TeXBase1Encoding [ +% 0x00 + /.notdef /dotaccent /fi /fl + /fraction /hungarumlaut /Lslash /lslash + /ogonek /ring /.notdef /breve + /minus /.notdef /Zcaron /zcaron +% 0x10 + /caron /dotlessi /dotlessj /ff + /ffi /ffl /notequal /infinity + /lessequal /greaterequal /partialdiff /summation + /product /pi /grave /quotesingle +% 0x20 + /space /exclam /quotedbl /numbersign + /dollar /percent /ampersand /quoteright + /parenleft /parenright /asterisk /plus + /comma /hyphen /period /slash +% 0x30 + /zero /one /two /three + /four /five /six /seven + /eight /nine /colon /semicolon + /less /equal /greater /question +% 0x40 + /at /A /B /C + /D /E /F /G + /H /I /J /K + /L /M /N /O +% 0x50 + /P /Q /R /S + /T /U /V /W + /X /Y /Z /bracketleft + /backslash /bracketright /asciicircum /underscore +% 0x60 + /quoteleft /a /b /c + /d /e /f /g + /h /i /j /k + /l /m /n /o +% 0x70 + /p /q /r /s + /t /u /v /w + /x /y /z /braceleft + /bar /braceright /asciitilde /.notdef +% 0x80 + /Euro /integral /quotesinglbase /florin + /quotedblbase /ellipsis /dagger /daggerdbl + /circumflex /perthousand /Scaron /guilsinglleft + /OE /Omega /radical /approxequal +% 0x90 + /.notdef /.notdef /.notdef /quotedblleft + /quotedblright /bullet /endash /emdash + /tilde /trademark /scaron /guilsinglright + /oe /Delta /lozenge /Ydieresis +% 0xA0 + /.notdef /exclamdown /cent /sterling + /currency /yen /brokenbar /section + /dieresis /copyright /ordfeminine /guillemotleft + /logicalnot /hyphen /registered /macron +% 0xD0 + /degree /plusminus /twosuperior /threesuperior + /acute /mu /paragraph /periodcentered + /cedilla /onesuperior /ordmasculine /guillemotright + /onequarter /onehalf /threequarters /questiondown +% 0xC0 + /Agrave /Aacute /Acircumflex /Atilde + /Adieresis /Aring /AE /Ccedilla + /Egrave /Eacute /Ecircumflex /Edieresis + /Igrave /Iacute /Icircumflex /Idieresis +% 0xD0 + /Eth /Ntilde /Ograve /Oacute + /Ocircumflex /Otilde /Odieresis /multiply + /Oslash /Ugrave /Uacute /Ucircumflex + /Udieresis /Yacute /Thorn /germandbls +% 0xE0 + /agrave /aacute /acircumflex /atilde + /adieresis /aring /ae /ccedilla + /egrave /eacute /ecircumflex /edieresis + /igrave /iacute /icircumflex /idieresis +% 0xF0 + /eth /ntilde /ograve /oacute + /ocircumflex /otilde /odieresis /divide + /oslash /ugrave /uacute /ucircumflex + /udieresis /yacute /thorn /ydieresis +] def + diff --git a/macros/latex/required/psnfss/README b/macros/latex/required/psnfss/README new file mode 120000 index 0000000000..5d84037450 --- /dev/null +++ b/macros/latex/required/psnfss/README @@ -0,0 +1 @@ +00readme.txt
\ No newline at end of file diff --git a/macros/latex/required/psnfss/changes.txt b/macros/latex/required/psnfss/changes.txt new file mode 100644 index 0000000000..e4da98f6fb --- /dev/null +++ b/macros/latex/required/psnfss/changes.txt @@ -0,0 +1,242 @@ +2005-04-12 PSNFSS 9.2a + + fix for psnfss/3773, affecting only helvet.sty: + the package can now be loaded before \documentclass + +2004-10-18 + + * freenfss.zip: fixed a major bug in the Charter font metrics + (will I ever get them right?) + +2004-09-15 PSNFSS 9.2 + + * Charter: improved kerning data (once again...) + + * Palatino: additional font families pplx and pplj with real + smallcaps and oldstyle figures and improved kerning tables; + the free FPL fonts can be used as a substitute for te required + Palatino SC/OsF fonts + + * mathpazo, mathptmx: beside \upDelta and \upOmega also the + other upright uppercase Greek letters are explicitly accessible. + + * documentation psnfss2e.tex(.pdf) updated + + * font map files: new file fpls.map for the FPL fonts. + + * minor changes to mathtest.tex + + (* lw35nfss.zip is unchanged) + +2004-01-26 PSNFSS 9.1b + + * freenfss.zip with fixed VFs and metrics for the Bitstream + Charter fonts: New kerning pairs Y-g and Y-s; corrected + \fontdimen1 of the italic shapes; improved italic Euro symbols + + * helvet.sty: Fixed implementation of the key-value interface. + + * Warning messages added to obsolete packages. + +2003-11-17 PSNFSS 9.1 + + * Updated VFs for all Adobe text font families, except Utopia: + Added \texteuro, fixed zdot and \textasteriskcentered. + + * Courier: normal asterisk (*) is now vertically centered. + + * New VFs for Bitstream Charter with revised kerning data and + faked \texteuro. In particular, the overly tight kerning + between L and quoteright has been abolished. + + * The Pazo doublestroke font is now assigned the encoding U, + rather than T1 and OT1. The files t1fplmbb.fd and ot1fplm.fd + are replaced by ufplmbb.fd. + + * The Utopia fonts are no longer regarded as "required"; the + package utopia.sty is marked as "obsolete". + + * Documentation psnfss2e.* updated accordingly. + + * Test files enhanced to test the Euro symbols and the Pazo + doublestroke font, while Utopia is omitted now. + + +2003-03-02 PSNFSS 9.0c + + * mathptmx,sty, mathpazo.sty: \upOmega and \UpDelta are of + type \mathord now, to make sure that they are always upright + + * pifont.sty: \Pifill and \dingfill should no longer fail at + the beginning or end of a paragraph. (Bug fix suggested by FMi.) + + * mathptm(x).sty: \jmath, \coprod, and \amalg will now generate + error messages rather than print black squares. (Suggested by + FMi.) + + * Small changes to the documentation psnfss2e.*. + + * Enhanced test0.tex to test also the math alphabets. + + * 8r.enc: version 2.0, comprising all of the Mac Roman + character set, too. + + * The *.map files and the file 8r.enc have been moved out of the + ZIP archives, since their final location in the texmf tree may + vary wrt/ changes in the TDS specs. + +2002-09-08 PSNFSS 9.0a + + * Fixed TFM and VF files for mathpazo. The size of certain + symbols was wrong, because of a bug in the fontinst program. + + * psfonts.dtx: Changed definition of \hbar in mathpazo.sty + to improve spacing. + + * Fixed identification strings in 8rpcr.fd and t1put.fd. + + * Fixed comments in 8r.enc. + + * Removed one unneeded file from lw35nfss.zip. + +2002-07-04 + + * Improved installation instructions (file 00readme.txt) + +2002-05-17 Pazo fonts v1.003 + + * Changed the positioning of the double stroke in X and Z in + Pazo Math Blackboard Bold (suggested by Marco Kuhlmann). + The font metrics are unchanged. + +2002-04-24 PSNFSS-9.0 + + * mathptmx.sty: Improved \hbar. Added missing redefinitions + of \defaultscriptratio and \defaultscriptscriptratio. + + * psnfss2e.pdf: All fonts are embedded now. + +2002-04-10 PSNFSS-9.0 pre-release + + * 8r.enc: The TeXBase1Encoding includes the Euro symbol in + slot 128 now. Thus, future fonts that provide the Euro, can + be supported. This does, however, NOT affect the present + Base35, Charter and Utopia fonts. + + * mathpazo.sty: The undocumented macro ppljeuro is no longer + provided. + + * freenfss.zip: The VFs and TFMs are to be used with version + 1.002 of the Pazo fonts now. + + * Palatino text fonts: The textcompanion fonts of the + Palatino family provide the Euro symbol \texteuro as well as + the Omega \textohm now. The letters are actually taken from + the Pazo fonts. + + * Documentation psnfss2e.tex updated and slightly improved. + +2002-02-28 Pazo fonts v1.002 + + * Added all the remaining uppercase latin letters and digit + "one" to Pazo Math Blackboard Bold. + + * Re-designed \Phi to make it better proportioned + + * Re-designed \varsigma to give it a more recognisable shape + (suggested by Pablo Rodriguez). Re-designed \xi and \zeta to + match the new \varsigma. + + +2001-06-04 PSNFSS-v8.2 + + * mathpazo.sty: Changed behavior of the options sc and osf. + \jmath and \imath changed back to type 'mathord', as in normal + LaTeX. + + * mathptm.sty: Revoked the changes re. AMS fonts, since the + package is only provided for use with legacy douments, anyway. + + * Many changes to the documentation (psnfss2e.*). + + * test1.tex, test2.tex, test3.tex: Fixed typo. + +2001/05/27 PSNFSS-v8.2beta + + * mathpazo.sty: + An improved version of this package is now part of the PSNFSS + distribution. + + * freenfss.zip: + Added TFM, VF and FD files for the Pazo fonts. + + * mathptmx.sty + New option: [slantedGreek] + + * The AMS fonts are scaled properly now, when used together + with the packages mathptm, mathptmx, mathpple or mathpazo. + Specifying the [psamsfonts] option for the packages amsfonts or + amssymb may be needed wrt/ the Euler Fraktur fonts, but will not + affect the scaling of the others. + + * ot1*.fd: + additional font shape substitition bx/ui -> b/it + + * fixed TFM file zptmcm7y.tfm so as to raise the subscripts + generated by mathptmx (pr/3279) + + * fixed FD files for Adobe Courier so as to disable hyphenation + (I wonder why this bug was never noticed...) + + * test files completely revised + +2000-01-12 PSNFSS-v8.1 + + * support for commercial fonts is no longer part of the basic + PSNFSS distribution. + + * new, enhanced user documentation + + * freenfss.zip: + new file, containing metrics, vf's, fd's and map files for + Bitstream Charter and Adobe Utopia + + * lw35nfss.zip: + removed tfm's and vf's for `raw' fonts and the duplicate + psyr.tfm; removed tfm's and vf's for Helvetica Light, which + isn't free; removed the related entries from the .fd files, too; + added the fd/tfm/vf files of the mathpple collection. + + * metrics (general): + removed the checksums, which are useless anyway; added missing + macron accent to all sc fonts; removed 1-1 kern pair from + Palatino. + + * map files: concatenated all .map files for the Base 35 + fonts plus mathpple.map to one single psnfss.map; removed + duplicate entries; the map file will unpack to dvips/psnfss/ + now. + + * 8r.enc: the file is now distributed as part of lw35nfss.zip + and will unpack to the directory dvips/psnfss/. + + * psfonts.dtx: + added courier.sty, which was previously not generated from a + .dtx source; added charter.sty and utopia.sty, which were + previously generated from dtx's of their own; added + mathpple.sty. + + * mathptm.sty, mathptmx.sty: + fixed problems in conjunction with latexsym.sty and amssymb.sty + (pr/2910, pr/2762) as FMi had suggested; fixed the weird warning + message with \boldmath (pr/2994); made \hbar work with Times; + fixed \big & friends for font sizes <> 10pt; + + * mathpple.sty: + this package is now part of the PSNFSS distribution; + slightly enlarged font sizes for super- and subscripts in math; + \Re, \Im, \infty taken from Euler now. + + * helvet.sty: new option for scaling Helvetica + +%% finis diff --git a/macros/latex/required/psnfss/charter.map b/macros/latex/required/psnfss/charter.map new file mode 100644 index 0000000000..d1b30ddd2a --- /dev/null +++ b/macros/latex/required/psnfss/charter.map @@ -0,0 +1,7 @@ +bchb8r CharterBT-Bold " TeXBase1Encoding ReEncodeFont " <8r.enc <bchb8a.pfb +bchbi8r CharterBT-BoldItalic " TeXBase1Encoding ReEncodeFont " <8r.enc <bchbi8a.pfb +bchbo8r CharterBT-Bold " .167 SlantFont TeXBase1Encoding ReEncodeFont " <8r.enc <bchb8a.pfb +bchr8r CharterBT-Roman " TeXBase1Encoding ReEncodeFont " <8r.enc <bchr8a.pfb +bchri8r CharterBT-Italic " TeXBase1Encoding ReEncodeFont " <8r.enc <bchri8a.pfb +bchro8r CharterBT-Roman " .167 SlantFont TeXBase1Encoding ReEncodeFont " <8r.enc <bchr8a.pfb + diff --git a/macros/latex/required/psnfss/fpls.map b/macros/latex/required/psnfss/fpls.map new file mode 100644 index 0000000000..280c2e8dbf --- /dev/null +++ b/macros/latex/required/psnfss/fpls.map @@ -0,0 +1,5 @@ +pplbj8r TeXPalladioL-BoldOsF "TeXBase1Encoding ReEncodeFont " <8r.enc <fplbj8a.pfb +pplbij8r TeXPalladioL-BoldItalicOsF "TeXBase1Encoding ReEncodeFont " <8r.enc <fplbij8a.pfb +pplrc8r TeXPalladioL-SC "TeXBase1Encoding ReEncodeFont " <8r.enc <fplrc8a.pfb +pplrij8r TeXPalladioL-ItalicOsF "TeXBase1Encoding ReEncodeFont " <8r.enc <fplrij8a.pfb + diff --git a/macros/latex/required/psnfss/manifest.txt b/macros/latex/required/psnfss/manifest.txt new file mode 100644 index 0000000000..473ac3dc9a --- /dev/null +++ b/macros/latex/required/psnfss/manifest.txt @@ -0,0 +1,28 @@ +The following files constitute the PSNFSS bundle and must be +distributed as a whole. +This restriction does NOT affect 8r.enc, which is originally +distributed from <http://tug.org/fontname/8r.enc> and is +included here for the sake of completeness only. + +00readme.txt +changes.txt +freenfss.zip (or all files included in this archive) +lw35nfss.zip (or all files included in this archive) +manifest.txt +mathtest.tex +pitest.tex +psfonts.dtx +psfonts.ins +psnfss2e.tex +psnfss2e.pdf +test0.tex +test1.tex +test2.tex +test3.tex +charter.map +pazo.map +psnfss.map +utopia.map +8r.enc + +% finis diff --git a/macros/latex/required/psnfss/mathtest.tex b/macros/latex/required/psnfss/mathtest.tex new file mode 100644 index 0000000000..8d3172377e --- /dev/null +++ b/macros/latex/required/psnfss/mathtest.tex @@ -0,0 +1,116 @@ +% This file is part of PSNFSS 9.2 + +\listfiles +\documentclass{article} +\usepackage{geometry} +%\pagestyle{empty} +\usepackage[sc,osf,slantedGreek]{mathpazo} +\linespread{1.08} % Palatino needs more leading +\usepackage[scaled]{helvet} +\usepackage{courier} +\parindent=0pt +\pagestyle{empty} +\normalfont +\usepackage[T1]{fontenc} + +\begin{document} + +\begin{center} +\scshape\Large Sebastian's math test +\end{center} +The default math mode font is $Math\ Italic$. This should not be +confused with ordinary \emph{Text Italic} -- notice the different spacing\,! +\verb|\mathbf| produces bold roman letters: $ \mathbf{abcABC} $. +If you wish to embolden complete formulas, +use the \verb|\boldmath| command \emph{before} going into math mode. +This changes the default math fonts to bold. + +\begin{tabular}{ll} +\texttt{normal} & $ x = 2\pi \Rightarrow x \simeq 6.28 $\\ +\texttt{mathbf} & $\mathbf{x} = 2\pi \Rightarrow \mathbf{x} \simeq 6.28 $\\ +\texttt{boldmath} & {\boldmath $x = \mathbf{2}\pi \Rightarrow x + \simeq{\mathbf{6.28}} $}\\ +\end{tabular} +\smallskip + +Greek is available in upper and lower case: +$\alpha,\beta \dots \Omega$, and there are special +symbols such as $ \hbar$. +The following letters should be upright: $\upGamma, \upDelta\dots \upOmega$. +Digits in formulas $1, 2, 3\dots$ may differ from those in text: 4, 5, 6\dots + +There is a calligraphic alphabet \verb|\mathcal| for upper case letters +$ \mathcal{ABCDE}\dots $, and there are letters for number sets: $\mathbb{A\dots Z} $, +which are produced using \verb|\mathbb|. + +\begin{equation} + \sigma(t)=\frac{1}{\sqrt{2\pi}} + \int^t_0 e^{-x^2/2} dx +\end{equation} + +\begin{equation} + \prod_{j\geq 0} + \left(\sum_{k\geq 0}a_{jk} z^k\right) += \sum_{k\geq 0} z^n + \left( \sum_{{k_0,k_1,\ldots\geq 0} + \atop{k_0+k_1+\ldots=n} } + a{_0k_0}a_{1k_1}\ldots \right) +\end{equation} + +\begin{equation} +\pi(n) = \sum_{m=2}^{n} + \left\lfloor \left(\sum_{k=1}^{m-1} + \lfloor(m/k)/\lceil m/k\rceil + \rfloor \right)^{-1} + \right\rfloor +\end{equation} + +\begin{equation} +\{\underbrace{% + \overbrace{\mathstrut a,\ldots,a}^{k\ a's}, + \overbrace{\mathstrut b,\ldots,b}^{l\ b's}} + _{k+l\ \mathrm{elements}} \} +\end{equation} + +\[ +\mbox{W}^+\ +\begin{array}{l} +\nearrow\raise5pt\hbox{$\mu^+ + \nu_{\mu}$}\\ +\rightarrow \pi^+ +\pi^0 \\[5pt] +\rightarrow \kappa^+ +\pi^0 \\ +\searrow\lower5pt\hbox{$\mathrm{e}^+ + +\nu_{\scriptstyle\mathrm{e}}$} +\end{array} +\] + +\[ +\frac{\pm +\left|\begin{array}{ccc} +x_1-x_2 & y_1-y_2 & z_1-z_2 \\ +l_1 & m_1 & n_1 \\ +l_2 & m_2 & n_2 +\end{array}\right|}{ +\sqrt{\left|\begin{array}{cc}l_1&m_1\\ +l_2&m_2\end{array}\right|^2 ++ \left|\begin{array}{cc}m_1&n_1\\ +n_1&l_1\end{array}\right|^2 ++ \left|\begin{array}{cc}m_2&n_2\\ +n_2&l_2\end{array}\right|^2}} +\] + +Mathematical accents: +\[ +\mbox{ acute=}\acute{a} +\mbox{ grave=}\grave{a} +\mbox{ ddot=}\ddot {a} +\mbox{ tilde=}\tilde{a} +\mbox{ bar=}\bar {a} +\mbox{ breve=}\breve{a} +\mbox{ check=}\check{a} +\mbox{ hat=}\hat {a} +\mbox{ vec=}\vec {a} +\mbox{ dot=}\dot {a} +\] + + +\end{document} diff --git a/macros/latex/required/psnfss/pazo.map b/macros/latex/required/psnfss/pazo.map new file mode 100644 index 0000000000..9b0dd8c8dc --- /dev/null +++ b/macros/latex/required/psnfss/pazo.map @@ -0,0 +1,6 @@ +fplmr PazoMath <fplmr.pfb +fplmri PazoMath-Italic <fplmri.pfb +fplmb PazoMath-Bold <fplmb.pfb +fplmbi PazoMath-BoldItalic <fplmbi.pfb +fplmbb PazoMathBlackboardBold <fplmbb.pfb + diff --git a/macros/latex/required/psnfss/pitest.tex b/macros/latex/required/psnfss/pitest.tex new file mode 100644 index 0000000000..4d59d05179 --- /dev/null +++ b/macros/latex/required/psnfss/pitest.tex @@ -0,0 +1,66 @@ +\documentclass[11pt]{article} +\pagestyle{empty} + +\renewcommand{\rmdefault}{ptm} +\usepackage{pifont} + +\begin{document} + +\begin{dinglist}{74} +\item \ding{101} was Dingbat 101 +\item \verb|\dingfill| (with the usual numeric parameter) + acts like other filling commands, but fills the +space with a chosen Dingbat \dingfill{101} like that. +{ +\fontfamily{pzc}\itshape\selectfont +\item \verb|\dingline| generates a freestanding line of the little chaps: +\dingline{44} +\item Inevitably, the `dinglist' environment sets up an itemized +list, but has a Dingbat instead of a bullet (you are reading a +\verb|dinglist| at the moment). +} +\end{dinglist} + +\begin{Pilist}{psy}{74} +\item \Pisymbol{psy}{101} was symbol 101 +\item \verb|\Pifill{psy}| (with the usual numeric parameter) + acts like other filling commands, but fills the +space with a chosen symbol \Pifill{psy}{101} like that. +\item \verb|\Piline| generates a freestanding line of the little chaps: +\Piline{psy}{44} +\item Inevitably, the `Pilist' environment sets up an itemized +list, but has a symbol instead of a bullet (you are reading a +\verb|Pilist| at the moment). +\end{Pilist} + +\begin{Piautolist}{pzd}{'254} +\item text inside list, + \begin{Piautolist}{psy}{'141} + \item text inside list, + \item text inside list, + \begin{enumerate} + \item text inside list, + \begin{Piautolist}{pzd}{'56} + \item text inside list,\label{pilabel} + \item text inside list, + \end{Piautolist} + \item text inside list, + \end{enumerate} + \item text inside list, + \end{Piautolist} +\item text inside list +\end{Piautolist} +So we can refer to item \ref{pilabel} as usual. + +\begin{Pilist}{pzd}{'246} +\item \verb|\Pisymbol| generates a Pi character; it has two +parameters: the font family, and the character number. Thus +\verb|\Pisymbol{pzd}{'166}| generates \Pisymbol{pzd}{'166}. +\item \verb|\Pifill| (with the same parameters) + acts like the other filling commands in \TeX, but fills the +space with a chosen symbol \Pifill{pzd}{'340} like that. +\item \verb|\Piline| generates a freestanding line of the little chaps: +\Piline{pzd}{36} +\end{Pilist} + +\end{document} diff --git a/macros/latex/required/psnfss/psfonts.dtx b/macros/latex/required/psnfss/psfonts.dtx new file mode 100644 index 0000000000..2be328867b --- /dev/null +++ b/macros/latex/required/psnfss/psfonts.dtx @@ -0,0 +1,1014 @@ +%\CheckSum{1101} +% +% \iffalse +% +% file: psfonts.dtx +% +% Copyright 1995--1998 Sebastian Rahtz +% Copyright 1999--2005 Sebastian Rahtz, Walter Schmidt +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in manifest.txt. +% +% \fi +% +% \iffalse +%<*driver> +\ProvidesFile{psfonts.drv} +%</driver> +%<times>\ProvidesPackage{times}% +%<mathptm>\ProvidesPackage{mathptm}% +%<mathptmx>\ProvidesPackage{mathptmx}% +%<mathpple>\ProvidesPackage{mathpple}% +%<palatino>\ProvidesPackage{palatino}% +%<chancery>\ProvidesPackage{chancery}% +%<pifont>\ProvidesPackage{pifont}% +%<bookman>\ProvidesPackage{bookman}% +%<newcent>\ProvidesPackage{newcent}% +%<avant>\ProvidesPackage{avant}% +%<helvet>\ProvidesPackage{helvet}% +%<courier>\ProvidesPackage{courier}% +%<charter>\ProvidesPackage{charter}% +%<utopia>\ProvidesPackage{utopia}% +%<mathpazo>\ProvidesPackage{mathpazo}% +[2005/04/12 PSNFSS-v9.2a +%<times>(SPQR) +%<mathptm>Times w/ Math (SPQR, WaS) +%<mathptmx>Times w/ Math, improved (SPQR, WaS) +%<mathpple>Palatino w/ Math (WaS) +%<palatino>(SPQR) +%<chancery>(SPQR) +%<pifont>Pi font support (SPQR) +%<bookman>(SPQR) +%<newcent>(SPQR) +%<avant>(SPQR) +%<helvet>(WaS) +%<courier>(WaS) +%<charter>(P.Dyballa) +%<utopia>(P.Dyballa) +%<mathpazo> Palatino w/ Pazo Math (D.Puga, WaS) +] +% +%<*driver> +\documentclass{ltxdoc} +\begin{document} + \DocInput{psfonts.dtx} +\end{document} +%</driver> +% \fi +% +% \DeleteShortVerb{\|} +% \MakeShortVerb{\+} +% \GetFileInfo{psfonts.drv} +% \title{The packages of the PSNFSS bundle} +% \author{Walter Schmidt\thanks{\texttt{<w-a-schmidt@arcor.de>}}} +% \date{\fileversion{} -- \filedate} +% \maketitle +% +% \noindent +% The source file \texttt{psfonts.dtx} contains suitable package files +% to use common PostScript fonts with \LaTeX. +% See the file \texttt{00readme.txt} for the installation instructions; +% it also explains how to obtain the +% related Type1 fonts, font definition files, font metrics and virtual fonts. +% +% See the document `Using common PostScript fonts with \LaTeX', +% filename \texttt{psnfss2e.pdf}, for a description of the user interface. +% +% \StopEventually{} +% +% \section{The \textsf{times} package} +% \begin{macrocode} +%<*times> +\renewcommand{\sfdefault}{phv} +\renewcommand{\rmdefault}{ptm} +\renewcommand{\ttdefault}{pcr} +%</times> +% \end{macrocode} +% +% \section{The \textsf{palatino} package} +% \begin{macrocode} +%<*palatino> +\renewcommand{\rmdefault}{ppl} +\renewcommand{\sfdefault}{phv} +\renewcommand{\ttdefault}{pcr} +%</palatino> +% \end{macrocode} +% +% \section{The \textsf{helvet} package} +% Options processing uses the \textsf{keyval} package +% and a hack borrowed from \textsf{hyperref}: +% \begin{macrocode} +%<*helvet> +\RequirePackage{keyval} +\define@key{Hel}{scaled}[.95]{% + \def\Hv@scale{#1}} +\def\ProcessOptionsWithKV#1{% + \let\@tempc\relax + \let\Hv@tempa\@empty + \ifx\@classoptionslist\relax\else + \@for\CurrentOption:=\@classoptionslist\do{% + \@ifundefined{KV@#1@\CurrentOption}% + {}% + {% + \edef\Hv@tempa{\Hv@tempa,\CurrentOption,}% + \@expandtwoargs\@removeelement\CurrentOption + \@unusedoptionlist\@unusedoptionlist + }% + }% + \fi + \edef\Hv@tempa{% + \noexpand\setkeys{#1}{% + \Hv@tempa\@ptionlist{\@currname.\@currext}% + }% + }% + \Hv@tempa + \let\CurrentOption\@empty +} +\ProcessOptionsWithKV{Hel} +\AtEndOfPackage{% + \let\@unprocessedoptions\relax +} +% \end{macrocode} +% The +.fd+ files will evaluate the macro +\Hv@scale+ and scale +% Helvetica appropriately. +% +% Now it's time to redefine the default sans font: +% \begin{macrocode} +\renewcommand{\sfdefault}{phv} +%</helvet> +% \end{macrocode} +% +% \section{The \textsf{avant} package} +% \begin{macrocode} +%<*avant> +\renewcommand{\sfdefault}{pag} +%</avant> +% \end{macrocode} +% +% \section{The \textsf{newcent} package} +% \begin{macrocode} +%<*newcent> +\renewcommand{\rmdefault}{pnc} +\renewcommand{\sfdefault}{pag} +\renewcommand{\ttdefault}{pcr} +%</newcent> +% \end{macrocode} +% +% \section{The \textsf{bookman} package} +% \begin{macrocode} +%<*bookman> +\renewcommand{\rmdefault}{pbk} +\renewcommand{\sfdefault}{pag} +\renewcommand{\ttdefault}{pcr} +%</bookman> +% \end{macrocode} +% +% \section{The \textsf{courier} package} +% \begin{macrocode} +%<*courier> +\renewcommand{\ttdefault}{pcr} +%</courier> +% \end{macrocode} +% +% \section{The \textsf{pifont} package} +% Some useful commands for Pi fonts (Dingbats, Symbol etc); they +% all assume you know the character number of the (unmapped) font +% \begin{macrocode} +%<*pifont> +\newcommand{\Pifont}[1]{\fontfamily{#1}\fontencoding{U}% +\fontseries{m}\fontshape{n}\selectfont} +\newcommand{\Pisymbol}[2]{{\Pifont{#1}\char#2}} +\newcommand{\Pifill}[2]{\leavevmode + \leaders\hbox{\makebox[0.2in]{\Pisymbol{#1}{#2}}}\hfill + \kern\z@} +\newcommand{\Piline}[2]{\par\noindent\hspace{0.5in}\Pifill{#1}{#2}% + \hspace{0.5in}\kern\z@\par} +\newenvironment{Pilist}[2]% +{\begin{list}{\Pisymbol{#1}{#2}}{}}% +{\end{list}}% +% \end{macrocode} +% A Pi number generator (from ideas by David Carlisle), for use in +% lists where items are suffixed by symbols taken in sequence from a +% Pi font. Usage is in lists just like enumerate. +% +% +\Pinumber+ outputs the appropriate symbol, where +#2+ is the name of a +% \LaTeX\ counter and +#1+ is the font family. +% \begin{macrocode} +\def\Pinumber#1#2{\protect\Pisymbol{#1}{\arabic{#2}}} +\newenvironment{Piautolist}[2]{% +\ifnum \@enumdepth >3 \@toodeep\else + \advance\@enumdepth \@ne +% \end{macrocode} +% We force the labels and cross-references into a very plain style (e.g., +% no brackets around `numbers', or dots after them). +% \begin{macrocode} + \edef\@enumctr{enum\romannumeral\the\@enumdepth}% + \expandafter\def\csname p@enum\romannumeral\the\@enumdepth\endcsname{}% + \expandafter\def\csname labelenum\romannumeral\the\@enumdepth\endcsname{% + \csname theenum\romannumeral\the\@enumdepth\endcsname}% + \expandafter\def\csname theenum\romannumeral\the\@enumdepth\endcsname{% + \Pinumber{#1}{enum\romannumeral\the\@enumdepth}}% + \list{\csname label\@enumctr\endcsname}{% + \@nmbrlisttrue + \def\@listctr{\@enumctr}% + \setcounter{\@enumctr}{#2}% + \addtocounter{\@enumctr}{-1}% + \def\makelabel##1{\hss\llap{##1}}} +\fi +}{\endlist} +% \end{macrocode} +% All the old Dingbat commands still work; +% they are now implemented using the +\Pi...+ commands. +% \begin{macrocode} +\newcommand{\ding}{\Pisymbol{pzd}} +\def\dingfill#1{\Pifill{pzd}{#1}} +\def\dingline#1{\Piline{pzd}{#1}} +\newenvironment{dinglist}[1]{\begin{Pilist}{pzd}{#1}}% + {\end{Pilist}} +\newenvironment{dingautolist}[1]{\begin{Piautolist}{pzd}{#1}}% + {\end{Piautolist}} +{\Pifont{pzd}} +{\Pifont{psy}} +%</pifont> +% \end{macrocode} +% +% \section{The \textsf{chancery} package} +% \begin{macrocode} +%<*chancery> +\renewcommand{\rmdefault}{pzc} +%</chancery> +% \end{macrocode} +% +% \section{The \textsf{mathptm} and \textsf{mathptmx} packages} +% Setting up the fonts for \textsf{mathptm}: +% \begin{macrocode} +%<*mathptm> +\PackageWarningNoLine{mathptm}{% + This package is to be regarded as obsolete.\MessageBreak + See the PSNFSS documentation} +\def\rmdefault{ptm} +\DeclareSymbolFont{operators} {OT1}{ptmcm}{m}{n} +\DeclareSymbolFont{letters} {OML}{ptmcm}{m}{it} +\DeclareSymbolFont{symbols} {OMS}{pzccm}{m}{n} +\DeclareSymbolFont{largesymbols}{OMX}{psycm}{m}{n} +\DeclareSymbolFont{bold} {OT1}{ptm}{bx}{n} +\DeclareSymbolFont{italic} {OT1}{ptm}{m}{it} +%</mathptm> +% \end{macrocode} +% +% Setting up the fonts for \textsf{mathptmx}: +% \begin{macrocode} +%<*mathptmx> +\def\rmdefault{ptm} +\DeclareSymbolFont{operators} {OT1}{ztmcm}{m}{n} +\DeclareSymbolFont{letters} {OML}{ztmcm}{m}{it} +\DeclareSymbolFont{symbols} {OMS}{ztmcm}{m}{n} +\DeclareSymbolFont{largesymbols}{OMX}{ztmcm}{m}{n} +\DeclareSymbolFont{bold} {OT1}{ptm}{bx}{n} +\DeclareSymbolFont{italic} {OT1}{ptm}{m}{it} +%</mathptmx> +% \end{macrocode} +% +% Define +\mathbf+ and +\mathit+: +% \begin{macrocode} +%<*mathptm|mathptmx> +\@ifundefined{mathbf}{}{\DeclareMathAlphabet{\mathbf}{OT1}{ptm}{bx}{n}} +\@ifundefined{mathit}{}{\DeclareMathAlphabet{\mathit}{OT1}{ptm}{m}{it}} +% \end{macrocode} +% +% An +\omicron+ command, to fill the gap: +% \begin{macrocode} +\DeclareMathSymbol{\omicron}{0}{operators}{`\o} +% \end{macrocode} +% +% Lock unavailabe symbols: +% \begin{macrocode} +\renewcommand{\jmath}{% + \PackageError +%<mathptm> {mathptm} +%<mathptmx> {mathptmx} + {The symbols \protect\jmath, \protect\amalg\space and + \protect\coprod\MessageBreak + are not available with this package} + {Type \space <return> \space to proceed; + your command will be ignored.}} +\let\amalg=\jmath +\let\coprod=\jmath +% \end{macrocode} +% +% Reduce the space around math operators: +% \begin{macrocode} +\thinmuskip=2mu +\medmuskip=2.5mu plus 1mu minus 1mu +\thickmuskip=4mu plus 1.5mu minus 1mu +%</mathptm|mathptmx> +% \end{macrocode} +% +% Make +\hbar+ work with Times. +% \begin{macrocode} +%<*mathptm> +\def\hbar{{\mskip1.6mu\mathchar'26\mkern-7.6muh}} +%</mathptm> +% \end{macrocode} +% With \textsf{mathptmx}, PSNFSS 9.0 and later is using an improved definition, +% which was adopted from Frank Mittelbach's \textsf{mathtime} package: +% \begin{macrocode} +%<*mathptmx> +\DeclareRobustCommand\hbar{{% + \dimen@.03em% + \dimen@ii.06em% + \def\@tempa##1##2{{% + \lower##1\dimen@\rlap{\kern##1\dimen@ii\the##2 0\char22}}}% + \mathchoice\@tempa\@ne\textfont + \@tempa\@ne\textfont + \@tempa\defaultscriptratio\scriptfont + \@tempa\defaultscriptscriptratio\scriptscriptfont + h}} +%</mathptmx> +% \end{macrocode} +% +% No bold math: +% \begin{macrocode} +%<*mathptm|mathptmx> +\def\boldmath{% + \PackageWarning% +%<mathptm> {mathptm}% +%<mathptmx> {mathptmx}% + {There are no bold math fonts}% + \global\let\boldmath=\relax +} +%</mathptm|mathptmx> +% \end{macrocode} +% +% Use larger font sizes for super- and subscripts: +% \begin{macrocode} +%<*mathptmx> +\def\defaultscriptratio{.74} +\def\defaultscriptscriptratio{.6} +%</mathptmx> +%<*mathptm|mathptmx> +\DeclareMathSizes{5}{5}{5}{5} +\DeclareMathSizes{6}{6}{5}{5} +\DeclareMathSizes{7}{7}{5}{5} +\DeclareMathSizes{8}{8}{6}{5} +\DeclareMathSizes{9}{9}{7}{5} +\DeclareMathSizes{10}{10}{7.4}{6} +\DeclareMathSizes{10.95}{10.95}{8}{6} +\DeclareMathSizes{12}{12}{9}{7} +\DeclareMathSizes{14.4}{14.4}{10.95}{8} +\DeclareMathSizes{17.28}{17.28}{12}{10} +\DeclareMathSizes{20.74}{20.74}{14.4}{12} +\DeclareMathSizes{24.88}{24.88}{17.28}{14.4} +%</mathptm|mathptmx> +% \end{macrocode} +% +% Option: Use slanted greek capitals (with \textsf{mathptmx} only): +% \begin{macrocode} +%<*mathptmx> +\DeclareOption{slantedGreek}{% + \DeclareMathSymbol{\Gamma}{\mathalpha}{letters}{0} + \DeclareMathSymbol{\Delta}{\mathalpha}{letters}{1} + \DeclareMathSymbol{\Theta}{\mathalpha}{letters}{2} + \DeclareMathSymbol{\Lambda}{\mathalpha}{letters}{3} + \DeclareMathSymbol{\Xi}{\mathalpha}{letters}{4} + \DeclareMathSymbol{\Pi}{\mathalpha}{letters}{5} + \DeclareMathSymbol{\Sigma}{\mathalpha}{letters}{6} + \DeclareMathSymbol{\Upsilon}{\mathalpha}{letters}{7} + \DeclareMathSymbol{\Phi}{\mathalpha}{letters}{8} + \DeclareMathSymbol{\Psi}{\mathalpha}{letters}{9} + \DeclareMathSymbol{\Omega}{\mathalpha}{letters}{10} +} +\DeclareMathSymbol{\upGamma}{\mathord}{operators}{0} +\DeclareMathSymbol{\upDelta}{\mathord}{operators}{1} +\DeclareMathSymbol{\upTheta}{\mathord}{operators}{2} +\DeclareMathSymbol{\upLambda}{\mathord}{operators}{3} +\DeclareMathSymbol{\upXi}{\mathord}{operators}{4} +\DeclareMathSymbol{\upPi}{\mathord}{operators}{5} +\DeclareMathSymbol{\upSigma}{\mathord}{operators}{6} +\DeclareMathSymbol{\upUpsilon}{\mathord}{operators}{7} +\DeclareMathSymbol{\upPhi}{\mathord}{operators}{8} +\DeclareMathSymbol{\upPsi}{\mathord}{operators}{9} +\DeclareMathSymbol{\upOmega}{\mathord}{operators}{10} +% \end{macrocode} +% +% Options processing: +% \begin{macrocode} +\ProcessOptions\relax +%</mathptmx> +% \end{macrocode} +% +% \begin{macrocode} +%<*mathptm|mathptmx> +\let\s@vedhbar\hbar +\AtBeginDocument{% +%</mathptm|mathptmx> +% \end{macrocode} +% Ensure proper scaling of the AMS fonts, even when not used +% through the amssymb or amsfonts packages (\textsf{mathptmx} only): +% \begin{macrocode} +%<*mathptmx> + \DeclareFontFamily{U}{msa}{}% + \DeclareFontShape{U}{msa}{m}{n}{<->msam10}{}% + \DeclareFontFamily{U}{msb}{}% + \DeclareFontShape{U}{msb}{m}{n}{<->msbm10}{}% + \DeclareFontFamily{U}{euf}{}% + \DeclareFontShape{U}{euf}{m}{n}{<-6>eufm5<6-8>eufm7<8->eufm10}{}% + \DeclareFontShape{U}{euf}{b}{n}{<-6>eufb5<6-8>eufb7<8->eufb10}{}% +%</mathptmx> +% \end{macrocode} +% In case the \textsf{amsfonts} package is loaded additionally, +% we must restore our +\hbar+: +% \begin{macrocode} +%<*mathptm|mathptmx> + \@ifpackageloaded{amsfonts}{\let\hbar\s@vedhbar}{} +% \end{macrocode} +% Take care of +\big+ \&\ friends working with scaled math extension font, +% unless amsmath.sty is also loaded: +% \begin{macrocode} + \@ifpackageloaded{amsmath}{}{% + \newdimen\big@size + \addto@hook\every@math@size{\setbox\z@\vbox{\hbox{$($}\kern\z@}% + \global\big@size 1.2\ht\z@} + \def\bBigg@#1#2{% + {\hbox{$\left#2\vcenter to#1\big@size{}\right.\n@space$}}} + \def\big{\bBigg@\@ne} + \def\Big{\bBigg@{1.5}} + \def\bigg{\bBigg@\tw@} + \def\Bigg{\bBigg@{2.5}} + } +} +%</mathptm|mathptmx> +% \end{macrocode} +% +% \subsection*{Credits} +% The virtual mathptm and mathptmx fonts and the related packages +% were created by Alan Jeffrey, Sebastian Rahtz and Ulrik Vieth. +% +% \section{The \textsf{mathpple} package} +% Suppress info about math fonts being redefined: +% \begin{macrocode} +%<*mathpple> +\PackageWarningNoLine{mathpple}{% + This package is to be regarded as obsolete.\MessageBreak + See the PSNFSS documentation} +\let\s@ved@info\@font@info +\let\@font@info\@gobble +% \end{macrocode} +% +% Make Palatino the default roman font: +% \begin{macrocode} +\renewcommand{\rmdefault}{ppl} +% \end{macrocode} +% +% Typeset mathematics using the mathpple fonts: +% \begin{macrocode} +\DeclareSymbolFont{operators} {OT1}{zpple}{m}{n} +\DeclareSymbolFont{letters} {OML}{zpple}{m}{it} +\DeclareSymbolFont{symbols} {OMS}{zpple}{m}{n} +\DeclareSymbolFont{largesymbols}{OMX}{zpple}{m}{n} +\DeclareMathAlphabet{\mathbf} {OT1}{zpple}{b}{n} +\DeclareMathAlphabet{\mathit} {OT1}{ppl}{m}{it} +% \end{macrocode} +% +% Support for bold mathversion: +% \begin{macrocode} +\SetSymbolFont{operators}{bold}{OT1}{zpple}{b}{n} +\SetSymbolFont{letters}{bold}{OML}{zpple}{b}{it} +\SetSymbolFont{symbols}{bold}{OMS}{zpple}{b}{n} +\SetSymbolFont{largesymbols}{bold}{OMX}{zpple}{m}{n} +\SetMathAlphabet\mathit{bold}{OT1}{ppl}{b}{it} +% \end{macrocode} +% +% Reduce the space around math operators: +% \begin{macrocode} +%\thinmuskip=2.5mu +\medmuskip=3.5mu plus 1mu minus 1mu +%\thickmuskip=4.5mu plus 1.5mu minus 1mu +% \end{macrocode} +% +% Compensate for increased letter spacing +% \begin{macrocode} +\def\joinrel{\mathrel{\mkern-3.45mu}} +% \end{macrocode} +% +% Make +\hbar+ work with Palatino: +% \begin{macrocode} +\def\hbar{{\mathchar'26\mkern-7muh}} +% \end{macrocode} +% +% Define a new math alphabet for bold italic variables: +% \begin{macrocode} +\DeclareMathAlphabet{\mathbold}{OML}{zpple}{b}{it} +% \end{macrocode} +% +% Make +\mathbold+ act on lowercase greek, too: +% \begin{macrocode} +\DeclareMathSymbol{\alpha}{\mathalpha}{letters}{11} +\DeclareMathSymbol{\beta}{\mathalpha}{letters}{12} +\DeclareMathSymbol{\gamma}{\mathalpha}{letters}{13} +\DeclareMathSymbol{\delta}{\mathalpha}{letters}{14} +\DeclareMathSymbol{\epsilon}{\mathalpha}{letters}{15} +\DeclareMathSymbol{\zeta}{\mathalpha}{letters}{16} +\DeclareMathSymbol{\eta}{\mathalpha}{letters}{17} +\DeclareMathSymbol{\theta}{\mathalpha}{letters}{18} +\DeclareMathSymbol{\iota}{\mathalpha}{letters}{19} +\DeclareMathSymbol{\kappa}{\mathalpha}{letters}{20} +\DeclareMathSymbol{\lambda}{\mathalpha}{letters}{21} +\DeclareMathSymbol{\mu}{\mathalpha}{letters}{22} +\DeclareMathSymbol{\nu}{\mathalpha}{letters}{23} +\DeclareMathSymbol{\xi}{\mathalpha}{letters}{24} +\DeclareMathSymbol{\pi}{\mathalpha}{letters}{25} +\DeclareMathSymbol{\rho}{\mathalpha}{letters}{26} +\DeclareMathSymbol{\sigma}{\mathalpha}{letters}{27} +\DeclareMathSymbol{\tau}{\mathalpha}{letters}{28} +\DeclareMathSymbol{\upsilon}{\mathalpha}{letters}{29} +\DeclareMathSymbol{\phi}{\mathalpha}{letters}{30} +\DeclareMathSymbol{\chi}{\mathalpha}{letters}{31} +\DeclareMathSymbol{\psi}{\mathalpha}{letters}{32} +\DeclareMathSymbol{\omega}{\mathalpha}{letters}{33} +\DeclareMathSymbol{\varepsilon}{\mathalpha}{letters}{34} +\DeclareMathSymbol{\vartheta}{\mathalpha}{letters}{35} +\DeclareMathSymbol{\varpi}{\mathalpha}{letters}{36} +\DeclareMathSymbol{\varphi}{\mathalpha}{letters}{39} +\let\varrho\rho +\let\varsigma\sigma +% \end{macrocode} +% +% We redefine the default sizes for super- and subscripts. +% Palatino, like most other type 1 fonts, is scaled linearly, so the +% default ratios (.7 and .5) may produce unreadably small characters: +% \begin{macrocode} +\def\defaultscriptratio{.76} +\def\defaultscriptscriptratio{.6} +% \end{macrocode} +% +% These default ratios are not used for any sizes that have been +% explicitly declared, so we redeclare the sizes used by the standard +% classes. At least for the lower sizes this is important as we don't +% want to end up with a 5pt font being reduced even further: +% \begin{macrocode} +\DeclareMathSizes{5} {5} {5} {5} +\DeclareMathSizes{6} {6} {5} {5} +\DeclareMathSizes{7} {7} {5} {5} +\DeclareMathSizes{8} {8} {6} {5} +\DeclareMathSizes{9} {9} {7} {5} +\DeclareMathSizes{10} {10} {7.6} {6} +\DeclareMathSizes{10.95}{10.95}{8} {6} +\DeclareMathSizes{12} {12} {9} {7} +\DeclareMathSizes{14.4} {14.4} {10} {8} +\DeclareMathSizes{17.28}{17.28}{12} {10} +\DeclareMathSizes{20.74}{20.74}{14.4} {12} +\DeclareMathSizes{24.88}{24.88}{20.74}{14.4} +% \end{macrocode} +% +% Option: Use slanted greek capitals: +% \begin{macrocode} +\DeclareOption{slantedGreek}{% + \DeclareMathSymbol{\Gamma}{\mathalpha}{letters}{0} + \DeclareMathSymbol{\Delta}{\mathalpha}{letters}{1} + \DeclareMathSymbol{\Theta}{\mathalpha}{letters}{2} + \DeclareMathSymbol{\Lambda}{\mathalpha}{letters}{3} + \DeclareMathSymbol{\Xi}{\mathalpha}{letters}{4} + \DeclareMathSymbol{\Pi}{\mathalpha}{letters}{5} + \DeclareMathSymbol{\Sigma}{\mathalpha}{letters}{6} + \DeclareMathSymbol{\Upsilon}{\mathalpha}{letters}{7} + \DeclareMathSymbol{\Phi}{\mathalpha}{letters}{8} + \DeclareMathSymbol{\Psi}{\mathalpha}{letters}{9} + \DeclareMathSymbol{\Omega}{\mathalpha}{letters}{10} +} +\let\upOmega\Omega +\let\upDelta\Delta +% \end{macrocode} +% +% Options processing: +% \begin{macrocode} +\ProcessOptions\relax +% \end{macrocode} +% +% \begin{macrocode} +\let\s@vedhbar\hbar +\AtBeginDocument{% +% \end{macrocode} +% Ensure proper scaling of the AMS fonts, even when not used +% through the amssymb or amsfonts packages: +% \begin{macrocode} + \DeclareFontFamily{U}{msa}{}% + \DeclareFontShape{U}{msa}{m}{n}{<->s*[1.042]msam10}{}% + \DeclareFontFamily{U}{msb}{}% + \DeclareFontShape{U}{msb}{m}{n}{<->s*[1.042]msbm10}{}% + \DeclareFontFamily{U}{euf}{}% + \DeclareFontShape{U}{euf}{m}{n}{<-6>eufm5<6-8>eufm7<8->eufm10}{}% + \DeclareFontShape{U}{euf}{b}{n}{<-6>eufb5<6-8>eufb7<8->eufb10}{}% +% \end{macrocode} +% In case the \textsf{amsfonts} package is loaded additionally, +% we must restore our +\hbar+: +% \begin{macrocode} + \@ifpackageloaded{amsfonts}{\let\hbar\s@vedhbar}{} +% \end{macrocode} +% Take care of +\big+ \&\ friends working with scaled math extension font, +% unless amsmath.sty is also loaded: +% \begin{macrocode} + \@ifpackageloaded{amsmath}{}{% + \newdimen\big@size + \addto@hook\every@math@size{\setbox\z@\vbox{\hbox{$($}\kern\z@}% + \global\big@size 1.2\ht\z@} + \def\bBigg@#1#2{% + {\hbox{$\left#2\vcenter to#1\big@size{}\right.\n@space$}}} + \def\big{\bBigg@\@ne} + \def\Big{\bBigg@{1.5}} + \def\bigg{\bBigg@\tw@} + \def\Bigg{\bBigg@{2.5}} + } +} +% \end{macrocode} +% +% Restore font info: +% \begin{macrocode} +\let\@font@info\s@ved@info +%</mathpple> +% \end{macrocode} +% +% \subsection*{Credits} +% \textsf{mathpple} is based on the package \textsf{mathppl} +% and the related virtual fonts, created by Aloysius Helminck. +% These were distributed in conjunction with \textsc{fontinst}~v1.335, +% but are no longer available from CTAN. +% The main changes with regard to Helminck's model are: +% \begin{itemize} +% \item +% italic Greek letters from the Euler fonts; +% \item +% +\mathcal+ from CM instead of Zapf~Chancery; +% \item +% positioning of math accents substantially improved; +% \item +% improved spacing; +% \item +% use those Type~1 fonts only, which are part of the free +% `BlueSky' distribution. +% \end{itemize} +% Special thanks to Daniel Schlieper, who suggested the +% development of the \textsf{mathpple} package, +% contributed many good ideas and helped with testing. +% +% +% \section{The \textsf{charter} package} +% \begin{macrocode} +%<*charter> +\renewcommand{\rmdefault}{bch} +\renewcommand{\bfdefault}{b} +%</charter> +% \end{macrocode} +% +% \section{The \textsf{utopia} package} +% \begin{macrocode} +%<*utopia> +\PackageWarningNoLine{utopia}{% + This package is to be regarded as obsolete.\MessageBreak + See the PSNFSS documentation} +\renewcommand{\rmdefault}{put} +\renewcommand\bfdefault{b} +%</utopia> +% \end{macrocode} +% +% +% \section{The \textsf{mathpazo} package} +% Suppress info about math fonts being redefined: +% \begin{macrocode} +%<*mathpazo> +\let\s@ved@info\@font@info +\let\@font@info\@gobble +% \end{macrocode} +% +% Options processing: +% \begin{macrocode} +\newif\ifpazo@osf +\newif\ifpazo@sc +\newif\ifpazo@slGreek +\newif\ifpazo@BB \pazo@BBtrue +\DeclareOption{osf}{\pazo@osftrue} +\DeclareOption{sc}{\pazo@sctrue} +\DeclareOption{slantedGreek}{\pazo@slGreektrue} +\DeclareOption{noBBpl}{\pazo@BBfalse} +\DeclareOption{osfeqnnum}{\OptionNotUsed} +\ProcessOptions\relax +% \end{macrocode} +% +% Make Palatino (+ppl+) the default roman font. +% If the options +osf+ or +sc+ were specified, +% use +pplj+ or +pplx+ instead, +% and make sure that +\oldstylenums+ switches to +pplj+, too. +% \begin{macrocode} +\ifpazo@osf + \renewcommand{\rmdefault}{pplj} + \renewcommand{\oldstylenums}[1]{% + {\fontfamily{pplj}\selectfont #1}} +\else\ifpazo@sc + \renewcommand{\rmdefault}{pplx} + \renewcommand{\oldstylenums}[1]{% + {\fontfamily{pplj}\selectfont #1}} +\else + \renewcommand{\rmdefault}{ppl} +\fi\fi +% \end{macrocode} +% +% The Pazo fonts provide an Euro symbol, which is now available in the +% Palatino text companion fonts. For the sake of compatibility, we still define +% the macro +\ppleuro+, which was introduced with version 8.2, and +% we make it work with the +% \textsf{eurofont} and \textsf{europs} packages: +% \begin{macrocode} +\newcommand{\ppleuro}{{\fontencoding{U}\fontfamily{fplm}\selectfont \char160}} +\AtBeginDocument{\@ifpackageloaded{europs}{\renewcommand{\EURtm}{\ppleuro}}{}} +% \end{macrocode} +% +% Now we declare the math fonts. The \textsf{mathpazo} package uses +% a Palatino text font family with OT1 encoding +% as the +operators+ and +\mathit+ alphabets. +% If the +sc+ option was specified, we use the family +pplx+. +% Otherwise we just take +ppl+, thus making sure that no oldstyle digits are +% used in math mode. Note that specifying both +sc+ and +osf+ gives +% oldstyle numbers in text and uses the family +pplx+ in math mode, +% so that the +ppl+ family is not required at all. Thus, the number +% of TFM's loaded by \TeX{} is minimized. +% \begin{macrocode} +\ifpazo@sc + \DeclareSymbolFont{operators} {OT1}{pplx}{m}{n} + \SetSymbolFont{operators}{bold} {OT1}{pplx}{b}{n} + \DeclareMathAlphabet{\mathit} {OT1}{pplx}{m}{it} + \SetMathAlphabet{\mathit}{bold} {OT1}{pplx}{b}{it} +\else + \DeclareSymbolFont{operators} {OT1}{ppl}{m}{n} + \SetSymbolFont{operators}{bold} {OT1}{ppl}{b}{n} + \DeclareMathAlphabet{\mathit} {OT1}{ppl}{m}{it} + \SetMathAlphabet{\mathit}{bold} {OT1}{ppl}{b}{it} +\fi +% \end{macrocode} +% Uppercase upright Greek +% and math symbols such as `plus', `equal' and others +% are taken from a new symbol font named +upright+. +% Its spacing is less tight than in the text font. +% \begin{macrocode} +\DeclareSymbolFont{upright} {OT1}{zplm}{m}{n} +\DeclareSymbolFont{letters} {OML}{zplm}{m}{it} +\DeclareSymbolFont{symbols} {OMS}{zplm}{m}{n} +\DeclareSymbolFont{largesymbols} {OMX}{zplm}{m}{n} +% \end{macrocode} +% \begin{macrocode} +\SetSymbolFont{upright}{bold} {OT1}{zplm}{b}{n} +\SetSymbolFont{letters}{bold} {OML}{zplm}{b}{it} +\SetSymbolFont{symbols}{bold} {OMS}{zplm}{b}{n} +\SetSymbolFont{largesymbols}{bold}{OMX}{zplm}{m}{n} +% \end{macrocode} +% \begin{macrocode} +\DeclareMathAlphabet{\mathbf} {OT1}{zplm}{b}{n} +\DeclareMathAlphabet{\mathbold} {OML}{zplm}{b}{it} +% \end{macrocode} +% \begin{macrocode} +\DeclareSymbolFontAlphabet{\mathrm} {operators} +\DeclareSymbolFontAlphabet{\mathnormal}{letters} +\DeclareSymbolFontAlphabet{\mathcal} {symbols} +% \end{macrocode} +% +% The following symbols used to come from `operators'; +% we take them from the `upright' symbol font now: +% \begin{macrocode} +\DeclareMathSymbol{!}{\mathclose}{upright}{"21} +\DeclareMathSymbol{+}{\mathbin}{upright}{"2B} +\DeclareMathSymbol{:}{\mathrel}{upright}{"3A} +% \DeclareMathSymbol{;}{\mathpunct}{operators}{"3B} % punctuation! +\DeclareMathSymbol{=}{\mathrel}{upright}{"3D} +\DeclareMathSymbol{?}{\mathclose}{upright}{"3F} +\DeclareMathDelimiter{(}{\mathopen} {upright}{"28}{largesymbols}{"00} +\DeclareMathDelimiter{)}{\mathclose}{upright}{"29}{largesymbols}{"01} +\DeclareMathDelimiter{[}{\mathopen} {upright}{"5B}{largesymbols}{"02} +\DeclareMathDelimiter{]}{\mathclose}{upright}{"5D}{largesymbols}{"03} +\DeclareMathDelimiter{/}{\mathord}{upright}{"2F}{largesymbols}{"0E} +% \DeclareMathSymbol{\colon}{\mathpunct}{operators}{"3A} % punctuation! +\DeclareMathAccent{\acute}{\mathalpha}{upright}{"13} +\DeclareMathAccent{\grave}{\mathalpha}{upright}{"12} +\DeclareMathAccent{\ddot}{\mathalpha}{upright}{"7F} +\DeclareMathAccent{\tilde}{\mathalpha}{upright}{"7E} +\DeclareMathAccent{\bar}{\mathalpha}{upright}{"16} +\DeclareMathAccent{\breve}{\mathalpha}{upright}{"15} +\DeclareMathAccent{\check}{\mathalpha}{upright}{"14} +\DeclareMathAccent{\hat}{\mathalpha}{upright}{"5E} +\DeclareMathAccent{\dot}{\mathalpha}{upright}{"5F} +\DeclareMathAccent{\mathring}{\mathalpha}{upright}{"17} +\DeclareMathSymbol{\mathdollar}{\mathord}{upright}{"24} +% \end{macrocode} +% As to uppercase Greek, see below! +% +% The follwowing symbols used to come from `letters'. +% Now they are taken from `operators', with respect to +% correct spacing of decimal numbers: +% \begin{macrocode} +\DeclareMathSymbol{,}{\mathpunct}{operators}{44} +\DeclareMathSymbol{.}{\mathord}{operators}{46} +% \end{macrocode} +% +% Use Pazo as (partial) +\mathbb+ font: +% \begin{macrocode} +\ifpazo@BB + \AtBeginDocument{% + \let\mathbb\relax + \DeclareMathAlphabet\PazoBB{U}{fplmbb}{m}{n} + \newcommand{\mathbb}{\PazoBB} + } +\fi +% \end{macrocode} +% +% Reduce the space around math operators: +% \begin{macrocode} +%\thinmuskip=2.5mu +\medmuskip=3.5mu plus 1mu minus 1mu +%\thickmuskip=4.5mu plus 1.5mu minus 1mu +% \end{macrocode} +% +% Compensate for increased letter spacing: +% \begin{macrocode} +\def\joinrel{\mathrel{\mkern-3.45mu}} +% \end{macrocode} +% +% Make +\hbar+ work with Palatino: +% \begin{macrocode} +\renewcommand{\hbar}{{\mkern0.8mu\mathchar'26\mkern-6.8muh}} +% \end{macrocode} +% +% Optionally use slanted greek capitals: +% \begin{macrocode} +\ifpazo@slGreek + \DeclareMathSymbol{\Gamma} {\mathalpha}{letters}{"00} + \DeclareMathSymbol{\Delta} {\mathalpha}{letters}{"01} + \DeclareMathSymbol{\Theta} {\mathalpha}{letters}{"02} + \DeclareMathSymbol{\Lambda} {\mathalpha}{letters}{"03} + \DeclareMathSymbol{\Xi} {\mathalpha}{letters}{"04} + \DeclareMathSymbol{\Pi} {\mathalpha}{letters}{"05} + \DeclareMathSymbol{\Sigma} {\mathalpha}{letters}{"06} + \DeclareMathSymbol{\Upsilon}{\mathalpha}{letters}{"07} + \DeclareMathSymbol{\Phi} {\mathalpha}{letters}{"08} + \DeclareMathSymbol{\Psi} {\mathalpha}{letters}{"09} + \DeclareMathSymbol{\Omega} {\mathalpha}{letters}{"0A} +\else + \DeclareMathSymbol{\Gamma}{\mathalpha}{upright}{"00} + \DeclareMathSymbol{\Delta}{\mathalpha}{upright}{"01} + \DeclareMathSymbol{\Theta}{\mathalpha}{upright}{"02} + \DeclareMathSymbol{\Lambda}{\mathalpha}{upright}{"03} + \DeclareMathSymbol{\Xi}{\mathalpha}{upright}{"04} + \DeclareMathSymbol{\Pi}{\mathalpha}{upright}{"05} + \DeclareMathSymbol{\Sigma}{\mathalpha}{upright}{"06} + \DeclareMathSymbol{\Upsilon}{\mathalpha}{upright}{"07} + \DeclareMathSymbol{\Phi}{\mathalpha}{upright}{"08} + \DeclareMathSymbol{\Psi}{\mathalpha}{upright}{"09} + \DeclareMathSymbol{\Omega}{\mathalpha}{upright}{"0A} +\fi +% \end{macrocode} +% These symbols should always be upright: +% \begin{macrocode} +\DeclareMathSymbol{\upGamma}{\mathord}{upright}{0} +\DeclareMathSymbol{\upDelta}{\mathord}{upright}{1} +\DeclareMathSymbol{\upTheta}{\mathord}{upright}{2} +\DeclareMathSymbol{\upLambda}{\mathord}{upright}{3} +\DeclareMathSymbol{\upXi}{\mathord}{upright}{4} +\DeclareMathSymbol{\upPi}{\mathord}{upright}{5} +\DeclareMathSymbol{\upSigma}{\mathord}{upright}{6} +\DeclareMathSymbol{\upUpsilon}{\mathord}{upright}{7} +\DeclareMathSymbol{\upPhi}{\mathord}{upright}{8} +\DeclareMathSymbol{\upPsi}{\mathord}{upright}{9} +\DeclareMathSymbol{\upOmega}{\mathord}{upright}{10} +% \end{macrocode} +% Make +\mathbold+ act on lowercase greek too +% \begin{macrocode} +\DeclareMathSymbol{\alpha}{\mathalpha}{letters}{"0B} +\DeclareMathSymbol{\beta}{\mathalpha}{letters}{"0C} +\DeclareMathSymbol{\gamma}{\mathalpha}{letters}{"0D} +\DeclareMathSymbol{\delta}{\mathalpha}{letters}{"0E} +\DeclareMathSymbol{\epsilon}{\mathalpha}{letters}{"0F} +\DeclareMathSymbol{\zeta}{\mathalpha}{letters}{"10} +\DeclareMathSymbol{\eta}{\mathalpha}{letters}{"11} +\DeclareMathSymbol{\theta}{\mathalpha}{letters}{"12} +\DeclareMathSymbol{\iota}{\mathalpha}{letters}{"13} +\DeclareMathSymbol{\kappa}{\mathalpha}{letters}{"14} +\DeclareMathSymbol{\lambda}{\mathalpha}{letters}{"15} +\DeclareMathSymbol{\mu}{\mathalpha}{letters}{"16} +\DeclareMathSymbol{\nu}{\mathalpha}{letters}{"17} +\DeclareMathSymbol{\xi}{\mathalpha}{letters}{"18} +\DeclareMathSymbol{\pi}{\mathalpha}{letters}{"19} +\DeclareMathSymbol{\rho}{\mathalpha}{letters}{"1A} +\DeclareMathSymbol{\sigma}{\mathalpha}{letters}{"1B} +\DeclareMathSymbol{\tau}{\mathalpha}{letters}{"1C} +\DeclareMathSymbol{\upsilon}{\mathalpha}{letters}{"1D} +\DeclareMathSymbol{\phi}{\mathalpha}{letters}{"1E} +\DeclareMathSymbol{\chi}{\mathalpha}{letters}{"1F} +\DeclareMathSymbol{\psi}{\mathalpha}{letters}{"20} +\DeclareMathSymbol{\omega}{\mathalpha}{letters}{"21} +\DeclareMathSymbol{\varepsilon}{\mathalpha}{letters}{"22} +\DeclareMathSymbol{\vartheta}{\mathalpha}{letters}{"23} +\DeclareMathSymbol{\varpi}{\mathalpha}{letters}{"24} +\DeclareMathSymbol{\varrho}{\mathalpha}{letters}{"25} +\DeclareMathSymbol{\varsigma}{\mathalpha}{letters}{"26} +\DeclareMathSymbol{\varphi}{\mathalpha}{letters}{"27} +% \end{macrocode} +% +% Finally, we save our new definition of +\hbar+ and defer some code +% until +\begin{document}+: +% \begin{macrocode} +\let\s@vedhbar\hbar +\AtBeginDocument{% +% \end{macrocode} +% Ensure proper scaling of the AMS fonts, even when not used +% through the amssymb or amsfonts packages: +% \begin{macrocode} + \DeclareFontFamily{U}{msa}{}% + \DeclareFontShape{U}{msa}{m}{n}{<->s*[1.042]msam10}{}% + \DeclareFontFamily{U}{msb}{}% + \DeclareFontShape{U}{msb}{m}{n}{<->s*[1.042]msbm10}{}% + \DeclareFontFamily{U}{euf}{}% + \DeclareFontShape{U}{euf}{m}{n}{<-6>eufm5<6-8>eufm7<8->eufm10}{}% + \DeclareFontShape{U}{euf}{b}{n}{<-6>eufb5<6-8>eufb7<8->eufb10}{}% +% \end{macrocode} +% In case the \textsf{amsfonts} package is loaded additionally, +% we must restore our +\hbar+: +% \begin{macrocode} + \@ifpackageloaded{amsfonts}{\let\hbar\s@vedhbar}{} +% \end{macrocode} +% Take care of +\big+ \&\ friends working with scaled math extension font, +% unless amsmath.sty is also loaded: +% \begin{macrocode} + \@ifpackageloaded{amsmath}{}{% + \newdimen\big@size + \addto@hook\every@math@size{\setbox\z@\vbox{\hbox{$($}\kern\z@}% + \global\big@size 1.2\ht\z@} + \def\bBigg@#1#2{% + {\hbox{$\left#2\vcenter to#1\big@size{}\right.\n@space$}}} + \def\big{\bBigg@\@ne} + \def\Big{\bBigg@{1.5}} + \def\bigg{\bBigg@\tw@} + \def\Bigg{\bBigg@{2.5}} + } +} +% \end{macrocode} +% +% We redefine the default sizes for super and subscripts. +% Palatino, like most other type 1 fonts, is scaled linearly, so the +% default ratios (0.7 and 0.5) may produce unreadably small characters. +% \begin{macrocode} +\def\defaultscriptratio{.76} +\def\defaultscriptscriptratio{.6} +% \end{macrocode} +% These default ratios are not used for any sizes that have been +% explicitly declared, so we redeclare the sizes used by the standard +% classes. At least for the lower sizes this is important as we don't +% want to end up with a 5pt font being reduced even further. +% \begin{macrocode} +\DeclareMathSizes{5} {5} {5} {5} +\DeclareMathSizes{6} {6} {5} {5} +\DeclareMathSizes{7} {7} {5} {5} +\DeclareMathSizes{8} {8} {6} {5} +\DeclareMathSizes{9} {9} {7} {5} +\DeclareMathSizes{10} {10} {7.6} {6} +\DeclareMathSizes{10.95}{10.95}{8} {6} +\DeclareMathSizes{12} {12} {9} {7} +\DeclareMathSizes{14.4} {14.4} {10} {8} +\DeclareMathSizes{17.28}{17.28}{12} {10} +\DeclareMathSizes{20.74}{20.74}{14.4} {12} +\DeclareMathSizes{24.88}{24.88}{20.74}{14.4} +% \end{macrocode} +% +% Restore font info: +% \begin{macrocode} +\let\@font@info\s@ved@info +%</mathpazo> +% \end{macrocode} +% +% \subsection*{Credits} +% The Pazo fonts and the related virtual fonts +% were created by Diego Puga. +% The \textsf{mathpazo} package was written by D.~Puga and W.~Schmidt. +% \Finale +% +\endinput +% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} diff --git a/macros/latex/required/psnfss/psfonts.ins b/macros/latex/required/psnfss/psfonts.ins new file mode 100644 index 0000000000..82db7cefa2 --- /dev/null +++ b/macros/latex/required/psnfss/psfonts.ins @@ -0,0 +1,24 @@ +%\NeedsTeXFormat{LaTeX2e}[1996/12/01] +\input docstrip +\usedir{tex/latex/psnfss} +\askonceonly +\keepsilent + +\generate{\file{times.sty} {\from{psfonts.dtx}{times}} + \file{palatino.sty} {\from{psfonts.dtx}{palatino}} + \file{courier.sty} {\from{psfonts.dtx}{courier}} + \file{helvet.sty}{\from{psfonts.dtx}{helvet}} + \file{avant.sty}{\from{psfonts.dtx}{avant}} + \file{newcent.sty} {\from{psfonts.dtx}{newcent}} + \file{bookman.sty} {\from{psfonts.dtx}{bookman}} + \file{chancery.sty} {\from{psfonts.dtx}{chancery}} + \file{pifont.sty} {\from{psfonts.dtx}{pifont}} + \file{mathpple.sty} {\from{psfonts.dtx}{mathpple}} + \file{mathptm.sty} {\from{psfonts.dtx}{mathptm}} + \file{mathptmx.sty} {\from{psfonts.dtx}{mathptmx}} + \file{charter.sty} {\from{psfonts.dtx}{charter}} + \file{utopia.sty} {\from{psfonts.dtx}{utopia}} + \file{mathpazo.sty} {\from{psfonts.dtx}{mathpazo}} +} + +\endbatchfile diff --git a/macros/latex/required/psnfss/psnfss.map b/macros/latex/required/psnfss/psnfss.map new file mode 100644 index 0000000000..2069eb4102 --- /dev/null +++ b/macros/latex/required/psnfss/psnfss.map @@ -0,0 +1,48 @@ +% dvips font map file for the Base35 fonts [PSNFSS 8.1 (WaS)] +% +eurmo10 EURM10 " .167 SlantFont" <eurm10.pfb +eurbo10 EURB10 " .167 SlantFont" <eurb10.pfb +pagd8r AvantGarde-Demi "TeXBase1Encoding ReEncodeFont" <8r.enc +pagdo8r AvantGarde-DemiOblique "TeXBase1Encoding ReEncodeFont" <8r.enc +pagk8r AvantGarde-Book "TeXBase1Encoding ReEncodeFont" <8r.enc +pagko8r AvantGarde-BookOblique "TeXBase1Encoding ReEncodeFont" <8r.enc +pbkd8r Bookman-Demi "TeXBase1Encoding ReEncodeFont" <8r.enc +pbkdi8r Bookman-DemiItalic "TeXBase1Encoding ReEncodeFont" <8r.enc +pbkdo8r Bookman-Demi " .167 SlantFont TeXBase1Encoding ReEncodeFont" <8r.enc +pbkl8r Bookman-Light "TeXBase1Encoding ReEncodeFont" <8r.enc +pbkli8r Bookman-LightItalic "TeXBase1Encoding ReEncodeFont" <8r.enc +pbklo8r Bookman-Light " .167 SlantFont TeXBase1Encoding ReEncodeFont" <8r.enc +pcrb8r Courier-Bold "TeXBase1Encoding ReEncodeFont" <8r.enc +pcrbo8r Courier-BoldOblique "TeXBase1Encoding ReEncodeFont" <8r.enc +pcrr8r Courier "TeXBase1Encoding ReEncodeFont" <8r.enc +pcrro8r Courier-Oblique "TeXBase1Encoding ReEncodeFont" <8r.enc +phvb8r Helvetica-Bold "TeXBase1Encoding ReEncodeFont" <8r.enc +phvb8rn Helvetica-Narrow-Bold "TeXBase1Encoding ReEncodeFont" <8r.enc +phvbo8r Helvetica-BoldOblique "TeXBase1Encoding ReEncodeFont" <8r.enc +phvbo8rn Helvetica-Narrow-BoldOblique "TeXBase1Encoding ReEncodeFont" <8r.enc +phvr8r Helvetica "TeXBase1Encoding ReEncodeFont" <8r.enc +phvr8rn Helvetica-Narrow "TeXBase1Encoding ReEncodeFont" <8r.enc +phvro8r Helvetica-Oblique "TeXBase1Encoding ReEncodeFont" <8r.enc +phvro8rn Helvetica-Narrow-Oblique "TeXBase1Encoding ReEncodeFont" <8r.enc +pncb8r NewCenturySchlbk-Bold "TeXBase1Encoding ReEncodeFont" <8r.enc +pncbi8r NewCenturySchlbk-BoldItalic "TeXBase1Encoding ReEncodeFont" <8r.enc +pncbo8r NewCenturySchlbk-Bold " .167 SlantFont TeXBase1Encoding ReEncodeFont" <8r.enc +pncr8r NewCenturySchlbk-Roman "TeXBase1Encoding ReEncodeFont" <8r.enc +pncri8r NewCenturySchlbk-Italic "TeXBase1Encoding ReEncodeFont" <8r.enc +pncro8r NewCenturySchlbk-Roman " .167 SlantFont TeXBase1Encoding ReEncodeFont" <8r.enc +pplb8r Palatino-Bold "TeXBase1Encoding ReEncodeFont" <8r.enc +pplbi8r Palatino-BoldItalic "TeXBase1Encoding ReEncodeFont" <8r.enc +pplbo8r Palatino-Bold " .167 SlantFont TeXBase1Encoding ReEncodeFont" <8r.enc +pplr8r Palatino-Roman "TeXBase1Encoding ReEncodeFont" <8r.enc +pplri8r Palatino-Italic "TeXBase1Encoding ReEncodeFont" <8r.enc +pplro8r Palatino-Roman " .167 SlantFont TeXBase1Encoding ReEncodeFont" <8r.enc +psyr Symbol +psyro Symbol " .167 SlantFont " +ptmb8r Times-Bold "TeXBase1Encoding ReEncodeFont" <8r.enc +ptmbi8r Times-BoldItalic "TeXBase1Encoding ReEncodeFont" <8r.enc +ptmbo8r Times-Bold " .167 SlantFont TeXBase1Encoding ReEncodeFont" <8r.enc +ptmr8r Times-Roman "TeXBase1Encoding ReEncodeFont" <8r.enc +ptmri8r Times-Italic "TeXBase1Encoding ReEncodeFont" <8r.enc +ptmro8r Times-Roman " .167 SlantFont TeXBase1Encoding ReEncodeFont" <8r.enc +pzcmi8r ZapfChancery-MediumItalic "TeXBase1Encoding ReEncodeFont" <8r.enc +pzdr ZapfDingbats diff --git a/macros/latex/required/psnfss/psnfss2e.pdf b/macros/latex/required/psnfss/psnfss2e.pdf Binary files differnew file mode 100644 index 0000000000..c7f27997cd --- /dev/null +++ b/macros/latex/required/psnfss/psnfss2e.pdf diff --git a/macros/latex/required/psnfss/psnfss2e.tex b/macros/latex/required/psnfss/psnfss2e.tex new file mode 100644 index 0000000000..2e60445264 --- /dev/null +++ b/macros/latex/required/psnfss/psnfss2e.tex @@ -0,0 +1,887 @@ +% file: psnfss2e.tex as of 2004-09-15 +% +% Copyright 2000--2004 Walter Schmidt +% +% This file may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. + +\newif\ifutopia + +% \utopiatrue +% If you have got the Utopia fonts, uncomment the above line, +% or put \utopiatrue into your ltxguide.cfg. + +\NeedsTeXFormat{LaTeX2e}[1995/12/01] + +\documentclass[11pt]{ltxguide}[1995/11/28] +\DeleteShortVerb{\|} + +% You may provide a configuration file ltxguide.cfg +% to set up your preferred paper size and page layout. +% The .cfg file should, however, not change the fonts used! + +\usepackage{mathptmx,courier} +\usepackage[scaled=0.92]{helvet} +\normalfont +\usepackage{pifont,tabularx,varioref,url} +\usepackage[T1]{fontenc} +\usepackage{textcomp} +\usepackage{ragged2e} + +\usepackage[colorlinks=false, pdfborder={0 0 0}]{hyperref} + +% some dirty hacks to make the ltxguide class look better: +\makeatletter +\renewcommand\section{\@startsection{section}{1}{\z@}% +{-3.5ex \@plus -.75ex}% +{1ex}% +{\normalfont\Large\bfseries}} +\renewcommand\subsection{\@startsection{subsection}{2}{\z@}% +{-2.5ex plus -.5ex}% +{.75ex}% +{\normalfont\large\bfseries}} +\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}% +{-2.5ex plus -.5ex}% +{.5ex}% +{\normalsize\bfseries}} +\setlength{\parskip}{1ex plus 2pt minus 1pt \relax} +% borrowed from tdsguide.cls: +\labelsep=1.1em % increase distance between item & text +\topsep=0pt % no extra skip above list in paragraph +\partopsep=0pt % no extra skip above list starting par. +\itemsep=0pt % no extra space between items +\parsep=.9\parskip % between paragraphs in items +\def\@listI{% + \leftmargin\leftmargini + } +\let\@listi\@listI +\@listi +\def\@listii{% + \leftmargin\leftmarginii + \labelwidth\leftmarginii \advance \labelwidth-\labelsep + } +\def\@listiii{% + \leftmargin\leftmarginiii + \labelwidth\leftmarginiii \advance \labelwidth-\labelsep + } +\makeatother + +% the (La)TeX logos for use with Times: +\def\ptmTeX{T\kern-.1667em\lower.5ex\hbox{E}\kern-.075emX\@} +\makeatletter +\DeclareRobustCommand{\ptmLaTeX}{L\kern-.25em + {\setbox0\hbox{T}% + \vbox to\ht0{\hbox{% + \csname S@\f@size\endcsname + \fontsize\sf@size\z@ + \math@fontsfalse\selectfont + A}% + \vss}% + }% + \kern-.10em + \TeX} +\makeatother +\let\TeX=\ptmTeX +\let\LaTeX=\ptmLaTeX + +% a bit of logical markup: +\newcommand{\ps}{PostScript} +\newcommand{\Lpack}[1]{\textsf{#1}} + +% the macros for the typeface samples: +\newlength{\rightwidth} + \rightwidth=11cm +\newlength{\leftwidth} + \leftwidth=\textwidth + \addtolength{\leftwidth}{-\rightwidth} + \addtolength{\leftwidth}{-1em} % ? +\newcommand{\sample}[5]{% + \parbox[t]{\leftwidth}{% + {\raggedright\footnotesize + #1\\ + #3/#4\par}} + \hfill + \parbox[t]{\rightwidth}{ + {\RaggedRight \fontfamily{#2}\fontsize{#3}{#4}\selectfont #5 + The sun was just rising as Dr.\ Robert entered his wife's room. + An orange glow, and against it the jagged silhouette of the mountains. + Then suddenly a dazzling sickle of incandescence between two peaks. + The sickle became a half circle and the first long shadows, + the first shafts of golden light crossed the garden outside the window. + And when one looked up again at the mountains there was the whole + unbearable glory of the risen sun. + \par}} + \par + \medskip} + + +\title{Using common \ps\ fonts with \LaTeX} + +\author{Walter Schmidt} + +\date{PSNFSS version 9.2 \\ 2004-09-15} + + +\hypersetup{pdfauthor={Walter Schmidt}, + pdftitle={Using common PostScript fonts with LaTeX}, + pdfsubject={PSNFSS v9.2}, + pdfkeywords={LaTeX PSNFSS PostScript fonts}} + + +\begin{document} +\MakeShortVerb{\+} + +\maketitle + +\tableofcontents +%\pagebreak + + +\section{What is PSNFSS\,?} + +The PSNFSS collection includes a set of files +that provide a complete working setup of the \LaTeX{} font selection scheme +(NFSS2) for use with common \ps\ fonts. +It covers the so-called `Base~35' fonts +(which are built into any Level~2 \ps\ printing device +and the Ghostscript interpreter) +and %the free Charter, Utopia and Pazo fonts. +a number of free fonts. + + + +\section{Package overview} + +The easiest way to make use of the above-mentioned typefaces is to completely +replace one or more of the font families used by \LaTeX{} as +`roman', `sans serif' and `typewriter' family and for math. +This is accomplished by the packages listed in table \ref{tab:packages}. +Its first row lists the default (Computer Modern) font families. +An empty column indicates that a package does not change the particular +font family. Some of these packages need more detailed explanation and +are described in the below sections \ref{sec:helvet}, \ref{sec:mathpazo} +and \ref{sec:mathptmx}. + +The PSNFSS distribution includes also a package +\Lpack{pifont}, which serves for accessing symbol fonts (aka `Pi~fonts'), +such as Symbol and Zapf Dingbats, see section~\ref{sec:pifont}. + + +\begin{table}[h!] +\caption{Packages for using common \ps\ fonts} +\label{tab:packages} +\medskip +{\footnotesize +\begin{center} +\renewcommand{\arraystretch}{1.2} +\begin{tabular}{|l|p{1.8cm}p{2.2cm}p{2.4cm}p{2.2cm}|} +\hline +\textbf{package} & \textbf{roman} & \textbf{sans serif} & \textbf{typewriter} & \textbf{formulas} \\\hline\hline +(none) & CM Roman & CM Sans Serif & CM Typewriter & $\approx$ CM Roman\\\hline +\Lpack{mathpazo} & Palatino + & + & + & $\approx$ Palatino\\\hline +\Lpack{mathptmx} & Times + & + & + & $\approx$ Times\\\hline +\Lpack{helvet} & + & Helvetica + & + & \\\hline +\Lpack{avant} & + & Avant~Garde + & + & \\\hline +\Lpack{courier} & + & + & Courier + & \\\hline +\Lpack{chancery} & Zapf Chancery + & + & + & \\\hline +\Lpack{bookman} & Bookman + & Avant~Garde + & Courier + & \\\hline +\Lpack{newcent} & New Century Schoolbook + & Avant~Garde + & Courier + & \\\hline +\Lpack{charter} & Charter + & + & + & \\\hline +\end{tabular} +\end{center} +} +\end{table} + + + +\section{Special considerations} + +\subsection{Output font encoding} +None of the packages listed in table~\ref{tab:packages} changes the +output font encoding from its default setting OT1. +It is, however, highly recommended to use the fonts with the extended +T1 and TS1 (text symbols) encodings by means of the commands: +\begin{quote} + +\usepackage[T1]{fontenc}+\\ + +\usepackage{textcomp}+ +\end{quote} +When using \ps\ fonts that come from `outside the \TeX{} world', +there is no reason at all to stay with the obsolete OT1~encoding, +which would not provide access to all available glyphs. +However, since these fonts were not particularly designed +for use with \TeX{}, they do \emph{not} include all of the +text companion (TS1) symbols. + + +\subsection{Euro support} +%% \NEWfeature{2003-11-17 v9.1} +From PSNFSS version~9.1 on, all supported text font families, +with the exception of \texttt{put} (Utopia), provide +a built-in Euro symbol +\texteuro+. +Using this command requires the \Lpack{textcomp} package; see above. + + +\subsection{Inter-line spacing} +With certain font families, the leading of the standard \LaTeX{} +document classes may be too small. +This results from the larger x-height of these typefaces, as compared with +Computer Modern. +Since it is a question of document design and line width, +the packages of the PSNFSS bundle do \emph{not} take care of this. +Issuing the command +\begin{quote} + +\linespread+ \arg{factor} +\end{quote} +in the preamble will globally enlarge the leading by the given factor. +Typical values for \m{factor} are in the range of $1.04\dots1.1$. + + +\subsection{Using sans serif fonts} +The packages \Lpack{helvet} and \Lpack{avant} do not change the +default text font family from `roman'. +If required, the additional command +\begin{quote} + +\renewcommand{\familydefault}{\sfdefault}+ +\end{quote} +makes \LaTeX{} use the sans serif font family (Helvetica or Avant~Garde) +as the default one in text mode. Notice, however, that this does not change the fonts +used in the formulas! + + + +\section{The package \Lpack{helvet}} +\label{sec:helvet} +Helvetica is actually somewhat larger than other typefaces +of the same nominal size. +As a result, mixing, \eg Times and Helvetica within running text +may look bad. +\begin{decl} + \texttt{[scaled=}\m{scale}\texttt{]}\\ + \texttt{[scaled]} +\end{decl} +This can be fixed by loading the package with the option +\texttt{[scaled=}\m{scale}\texttt{]}, +for instance: ++\usepackage[scaled=.92]{helvet}+. +As a result, the font family \texttt{phv} (Helvetica) will be +scaled down to 92\% of its `natural' size, which is suitable +for use with Adobe Times. +Specifying +[scaled]+ alone is equivalent to +[scaled=0.95]+% and makes +%the height of the Helvetica capital letters comply with many other typeface +%families +. + + + +\section{The package \Lpack{mathpazo}} +\label{sec:mathpazo} +Loading +%% \NEWfeature{2001-06-04 v8.2} +this package changes the default roman font family +to Adobe Palatino, and the virtual `mathpazo' fonts will be used +for math. +These virtual fonts are made up basically from Palatino Italic, with the +missing math symbols coming from the CM and Pazo math fonts. + +\subsection{Package options} + +\begin{decl} + +[sc]+\\ + +[osf]+ +\end{decl} +By default, the package \Lpack{mathpazo} uses +the typeface family +ppl+ as the roman text font family. +The option +[sc]+ selects Palatino with real smallcaps (family +pplx+) insread. +Correspondingly, the option +[osf]+ selects Palatino with smallcaps and default +oldstyle figures (family +pplj+). +Of course, oldstyle figures will be used only in text mode, as opposed to formulas. +\NEWfeature{2004-09-15 v9.2} +Using either option is strongly recommended: +Beside the real smallcaps, the font families +pplx+ and +pplj+ show further +improvements over +ppl+: Increased word space, enhanced kerning tables, +additional `dotlessj' glyph. + +\begin{decl} + +[slantedGreek]+ +\end{decl} +When the package is loaded with the +[slantedGreek]+ option, +uppercase Greek letters in math will be italic by default. + +\begin{decl} + +[noBBpl]+ +\end{decl} +This option disables the use of the Pazo fonts as a partial ++\mathbb+ alphabet -- see below. The option should be specified, +if you want to use a different `blackboard bold' font. + + +\subsection{New commands} + +\begin{decl} + +\upGamma+, +\upDelta+ \dots +\upOmega+ +\end{decl} +\NEWfeature{2004-09-15 v9.2} +Regardless of the \texttt{slantedGreek} option, +these commands always yield upright uppercase Greek letters. +Upright \emph{lowercase} Greek is, however, not available. + +\begin{decl} + +\mathbold+\\ + +\mathbb+ +\end{decl} ++\mathbold+ is a math alphabet for typesetting variables (incl.\ Greek) +in a {\bfseries\itshape bold italic} style. Do not mix this up with +\mathbf+, +which selects a {\bfseries\upshape bold upright} text font +for use in math! + ++\mathbb+ is a `blackboard bold' alphabet, whose characters +are taken from the Pazo fonts. %% \NEWfeature{2002-04-10 v9.0} +All upper case letters and the numeral `1' are available. +If you want to use a different, external, doublestroke alphabet, +load the package \Lpack{mathpazo} with the package option +[noBBppl]+, see above. + +\iffalse +\begin{decl} + +\ppleuro+ +\end{decl} +The command +\ppleuro+ typesets the Euro +symbol in a way that suits Palatino using the appropriate glyphs +from the Pazo Math font family. It is compatible with both the +\Lpack{eurofont} and \Lpack{europs} packages, and one can continue to use either +one of these packages, using the +\euro+ command from the +\Lpack{eurofont} package or the +\EUR+ command from the \Lpack{europs} package. +\fi + + +\subsection{Font size of the `large' math symbols} +With \Lpack{mathpazo}, the `large' math symbols are automatically +scaled to fit the base font size. +In contrast to standard \LaTeX{} you need not +load the package \Lpack{exscale} for this purpose! + + +\subsection{Known problems} + +In contrast to the standard CM fonts, the virtual \Lpack{mathpazo} fonts +do not provide any Greek letters in the math alphabet +\mathrm+. +Applying this math alphabet command to Greek letters +will result in garbage output. + + + +\section{The package \Lpack{mathptmx}} +\label{sec:mathptmx} +Loading this package changes the default roman font family +to Times, and the virtual `mathptmx' fonts will be used +for math. +These virtual fonts are made up basically from Times Italic, with the +missing math symbols coming from CM, RSFS (for +\mathcal+) and +Adobe~Symbol. + +\subsection{Package options} +\begin{decl} + +[slantedGreek]+ +\end{decl} +%% \NEWfeature{2001-06-04 v8.2} +When the package is loaded with this option, +uppercase Greek letters in math will be italic by default. + +\subsection{New commands} +\begin{decl} + +\upGamma+, +\upDelta+ \dots +\upOmega+ +\end{decl} +\NEWfeature{2004-09-15 v9.2} +Regardless of the \texttt{slantedGreek} option, +these commands always yield upright uppercase Greek letters. +Upright \emph{lowercase} Greek is, however, not available. + + +\subsection{Font size of the `large' math symbols} +With \Lpack{mathptmx}, the `large' math symbols are automatically scaled +to fit the base font size. In contrast to standard \LaTeX{} you need not +load the package \Lpack{exscale} for this purpose! + + +\subsection{Known bugs and deficiencies} +\begin{itemize} + \item There are no bold math fonts, and +\boldmath+ has no effect. + Use of the package \Lpack{bm} in conjunction with \Lpack{mathptmx} + is not recommended. + \item The symbols + +\jmath+, +\coprod +and +\amalg+ + are not available. +\end{itemize} + + + +\section{The package \Lpack{pifont}} +\label{sec:pifont} + +Using symbol fonts is supported by means of the +\Lpack{pifont} package, providing commands for using the Zapf Dingbats font, +as well as an interface to other families.\footnote{% +This section was adopted, with minor changes, +from \cite{companion}, 1st ed.} + +\subsection{Commands for using Zapf Dingbats} + +\begin{decl} + +\ding+ \arg{number} +\end{decl} + +A given character can be chosen via the +\ding+ command. +Its parameter is an integer that specifies the character to be +typeset. For example, +\ding{38}+ gives \ding{38}; +see table~\vref{tab:dingbats}. + +\begin{decl} + +\begin{dinglist}+ \arg{number}\\ + +\begin{dingautolist}+ \arg{number} +\end{decl} + +The +dinglist+ environment is a special itemized list. +The argument specifies the number of the character to be used +as the beginning of each item. For example, +\begin{verbatim} +\begin{dinglist}{43} + \item The first item in the list + \item The second item in the list + \item The third item in the list +\end{dinglist} +\end{verbatim} +prints +\begin{dinglist}{43} + \item The first item in the list + \item The second item in the list + \item The third item in the list +\end{dinglist} + +There also exists an environment +dingautolist+, which +allows you to build an enumerated list with a set of Zapf Dingbats +characters. In this case, the argument specifies the number +of the first character in the list. Subsequent items will be numbered +with the character following the previous one. E.g., +\begin{verbatim} +\begin{dingautolist}{192} + \item The first item + \item The second item + \item The third item +\end{dingautolist} +\end{verbatim} +prints +\begin{dingautolist}{192} + \item The first item + \item The second item + \item The third item +\end{dingautolist} + +\begin{decl} + +\dingfill+ \arg{number}\\ + +\dingline+ \arg{number} +\end{decl} + ++\dingfill+ acts like the other filling commands in \TeX, but +fills the space with a chosen symbol \dingfill{224} like that. + ++\dingline+ generates a freestanding line filled with the given symbol, +with a little space on the left and right: +\dingline{34} + + +\begin{table}[bt!] + \caption{The characters in the \ps{} font Zapf Dingbats} + \label{tab:dingbats} + \medskip + +{\footnotesize +\begin{tabular}{|rr|rr|rr|rr|rr|rr|rr|rr|} +\hline +32 & \ding{32} & 33 & \ding{33} & 34 & \ding{34} & 35 & \ding{35} & 36 & \ding{36} & 37 & \ding{37} & 38 & \ding{38} & 39 & \ding{39} \\ \hline +40 & \ding{40} & 41 & \ding{41} & 42 & \ding{42} & 43 & \ding{43} & 44 & \ding{44} & 45 & \ding{45} & 46 & \ding{46} & 47 & \ding{47} \\ \hline +48 & \ding{48} & 49 & \ding{49} & 50 & \ding{50} & 51 & \ding{51} & 52 & \ding{52} & 53 & \ding{53} & 54 & \ding{54} & 55 & \ding{55} \\ \hline +56 & \ding{56} & 57 & \ding{57} & 58 & \ding{58} & 59 & \ding{59} & 60 & \ding{60} & 61 & \ding{61} & 62 & \ding{62} & 63 & \ding{63} \\ \hline +64 & \ding{64} & 65 & \ding{65} & 66 & \ding{66} & 67 & \ding{67} & 68 & \ding{68} & 69 & \ding{69} & 70 & \ding{70} & 71 & \ding{71} \\ \hline +72 & \ding{72} & 73 & \ding{73} & 74 & \ding{74} & 75 & \ding{75} & 76 & \ding{76} & 77 & \ding{77} & 78 & \ding{78} & 79 & \ding{79} \\ \hline +80 & \ding{80} & 81 & \ding{81} & 82 & \ding{82} & 83 & \ding{83} & 84 & \ding{84} & 85 & \ding{85} & 86 & \ding{86} & 87 & \ding{87} \\ \hline +88 & \ding{88} & 89 & \ding{89} & 90 & \ding{90} & 91 & \ding{91} & 92 & \ding{92} & 93 & \ding{93} & 94 & \ding{94} & 95 & \ding{95} \\ \hline +96 & \ding{96} & 97 & \ding{97} & 98 & \ding{98} & 99 & \ding{99} & 100 & \ding{100} & 101 & \ding{101} & 102 & \ding{102} & 103 & \ding{103} \\ \hline +104 & \ding{104} & 105 & \ding{105} & 106 & \ding{106} & 107 & \ding{107} & 108 & \ding{108} & 109 & \ding{109} & 110 & \ding{110} & 111 & \ding{111} \\ \hline +112 & \ding{112} & 113 & \ding{113} & 114 & \ding{114} & 115 & \ding{115} & 116 & \ding{116} & 117 & \ding{117} & 118 & \ding{118} & 119 & \ding{119} \\ \hline +120 & \ding{120} & 121 & \ding{121} & 122 & \ding{122} & 123 & \ding{123} & 124 & \ding{124} & 125 & \ding{125} & 126 & \ding{126} & & \\ \hline + & & 161 & \ding{161} & 162 & \ding{162} & 163 & \ding{163} & 164 & \ding{164} & 165 & \ding{165} & 166 & \ding{166} & 167 & \ding{167} \\ \hline +168 & \ding{168} & 169 & \ding{169} & 170 & \ding{170} & 171 & \ding{171} & 172 & \ding{172} & 173 & \ding{173} & 174 & \ding{174} & 175 & \ding{175} \\ \hline +176 & \ding{176} & 177 & \ding{177} & 178 & \ding{178} & 179 & \ding{179} & 180 & \ding{180} & 181 & \ding{181} & 182 & \ding{182} & 183 & \ding{183} \\ \hline +184 & \ding{184} & 185 & \ding{185} & 186 & \ding{186} & 187 & \ding{187} & 188 & \ding{188} & 189 & \ding{189} & 190 & \ding{190} & 191 & \ding{191} \\ \hline +192 & \ding{192} & 193 & \ding{193} & 194 & \ding{194} & 195 & \ding{195} & 196 & \ding{196} & 197 & \ding{197} & 198 & \ding{198} & 199 & \ding{199} \\ \hline +200 & \ding{200} & 201 & \ding{201} & 202 & \ding{202} & 203 & \ding{203} & 204 & \ding{204} & 205 & \ding{205} & 206 & \ding{206} & 207 & \ding{207} \\ \hline +208 & \ding{208} & 209 & \ding{209} & 210 & \ding{210} & 211 & \ding{211} & 212 & \ding{212} & 213 & \ding{213} & 214 & \ding{214} & 215 & \ding{215} \\ \hline +216 & \ding{216} & 217 & \ding{217} & 218 & \ding{218} & 219 & \ding{219} & 220 & \ding{220} & 221 & \ding{221} & 222 & \ding{222} & 223 & \ding{223} \\ \hline +224 & \ding{224} & 225 & \ding{225} & 226 & \ding{226} & 227 & \ding{227} & 228 & \ding{228} & 229 & \ding{229} & 230 & \ding{230} & 231 & \ding{231} \\ \hline +232 & \ding{232} & 233 & \ding{233} & 234 & \ding{234} & 235 & \ding{235} & 236 & \ding{236} & 237 & \ding{237} & 238 & \ding{238} & 239 & \ding{239} \\ \hline + & & 241 & \ding{241} & 242 & \ding{242} & 243 & \ding{243} & 244 & \ding{244} & 245 & \ding{245} & 246 & \ding{246} & 247 & \ding{247} \\ \hline +248 & \ding{248} & 249 & \ding{249} & 250 & \ding{250} & 251 & \ding{251} & 252 & \ding{252} & 253 & \ding{253} & 254 & \ding{254} & & \\ \hline +\end{tabular} +\par} + +\end{table} + +\subsection{Generic commands} +The \Lpack{pifont} package has a general mechanism for coping with +Pi fonts. It provides the following generic commands with, in each case, +the first argument \m{family} specifying the name of the +Pi font family in question (such as \texttt{psy} for the Symbol font, +and \texttt{pzd} for the Zapf Dingbats font, see table~\vref{tab:families}). +If indicated, a second argument \m{number} +specifies the decimal position of a symbol in that font. + +\begin{decl} + +\Pifont+ \arg{family} +\end{decl} + +This switches to the font family \m{family} +and the encoding U. + +\begin{decl} + +\Pisymbol+ \arg{family} \arg{number} +\end{decl} + +This command typesets the specified symbol +(compare this with the +\ding+ command). + +\begin{decl} + +\begin{Pilist}+ \arg{family} \arg{number}\\ + +\begin{Piautolist}+ \arg{family} \arg{number} +\end{decl} + +In the +Pilist+ environment the specified symbol is used in front +of each item in an itemized list (compare with the +dinglist+ +environment). + ++Piautolist+ is an environment where a series of symbols starting +with the one at the decimal position \m{number} in font family +\m{family} is used to number the items in an enumerated list +(compare with the +dingautolist+ environment). + +\begin{decl} + +\Pifill+ \arg{family} \arg{number}\\ + +\Piline+ \arg{family} \arg{number} +\end{decl} + ++\Pifill+ acts like the other filling commands in \TeX, but +fills the space with a chosen symbol (compare with +\dingfill+). + ++\Piline+ typesets a line consisting of several copies of +the specified symbol, with some space at the left and right +(compare with +\dingline+). + + + +\section{NFSS classification} +Table~\vref{tab:families} lists all text and symbol font shapes +supported by the basic PSNFSS distribution, +and the related \ps\ fonts. +\NEWdescription{2004-09-15 v9.2} +With the exception of Charter and Utopia, these fonts are commercial products. +Therefore, most \TeX\ systems include free substitutes instead. + +Available encodings are OT1, T1 and TS1, except for +Symbol and Zapf~Dingbats, which are implemented with encoding U. +See \cite{fntguide} for how to access a given font shape directly. + +Only the font families +pplx+ and +pplj+ provide true small capitals +(and only in the regular series). +With the other families the shape `sc' refers to so-called `faked' small capitals, +whose typographical quality is -- at least -- questionable. + +The math font families loaded by the +\Lpack{mathptm}, \Lpack{mathptmx}, \Lpack{mathpazo} and \Lpack{mathpple} packages +are not listed here. +See the documented source file \texttt{psfonts.dtx} +for information on this topic. + +\begin{table}[p] + \caption{Font shapes supported by the basic PSNFSS distribution} + \label{tab:families} + \medskip + + {\small + \begin{tabularx}{\linewidth}{|l|l|l|>{\raggedright\arraybackslash}X|} + \hline + \textbf{family} & \textbf{series} & \textbf{shape(s)} & \textbf{\ps{} font names}\\ + \hline\hline + \multicolumn{4}{|c|}{\textit{Avant Garde}}\\ \hline + pag & m & n, sl, sc & AvantGarde-Book, AvantGarde-BookOblique\\ \hline + pag & b & n, sl, sc & AvantGarde-Demi, AvantGarde-DemiOblique\\ \hline \hline + \multicolumn{4}{|c|}{\textit{Bookman}}\\ \hline + pbk & l & n, sl, it, sc & Bookman-Light, Bookman-LightItalic\\ \hline + pbk & db & n, sl, it, sc & Bookman-Demi, Bookman-DemiItalic\\ \hline \hline + \multicolumn{4}{|c|}{\textit{Charter}}\\ \hline + bch & m & n, sl, it, sc & CharterBT-Roman, CharterBT-Italic\\ \hline + bch & b & n, sl, it, sc & CharterBT-Bold, CharterBT-BoldItalic\\ \hline \hline + \multicolumn{4}{|c|}{\textit{Courier}}\\ \hline + pcr & m & n, sl, sc & Courier, CourierOblique\\ \hline + pcr & b & n, sl, sc & Courier-Bold, Courier-BoldOblique\\ \hline \hline + \multicolumn{4}{|c|}{\textit{Helvetica}}\\ \hline + phv & m & n, sl, sc & Helvetica, Helvetica-Oblique\\ \hline + phv & b & n, sl, sc & Helvetica-Bold, Helvetica-BoldOblique\\ \hline + phv & mc & n, sl, sc & Helvetica-Narrow, Helvetica-Narrow-Oblique\\ \hline + phv & bc & n, sl, sc & Helvetica-Narrow-Bold, Helvetica-Narrow-BoldOblique\\\hline \hline + \multicolumn{4}{|c|}{\textit{New Century Schoolbook}}\\ \hline + pnc & m & n, sl, it, sc & NewCenturySchlbk-Roman, NewCenturySchlbk-Italic\\ \hline + pnc & b & n, sl, it, sc & NewCenturySchlbk-Bold, NewCenturySchlbk-BoldItalic\\ \hline \hline + \multicolumn{4}{|c|}{\textit{Palatino}}\\ \hline + ppl & m & n, sl, it, sc & Palatino-Roman, Palatino-Italic\\ \hline + ppl & b & n, sl, it, sc & Palatino-Bold, Palatino-BoldItalic\\ \hline + pplx & m & n, it, sc & Palatino-Roman, Palatino-Italic, Palatino-SC\\ \hline + pplx & b & n, it & Palatino-Bold, Palatino-BoldItalic\\ \hline + pplj & m & n, it, sc & Palatino-Roman, Palatino-SC, Palatino-Italic, Palatino-ItalicOsF\\ \hline + pplj & b & n, it & Palatino-Bold, Palatino-BoldOsF, Palatino-BoldItalic, Palatino-BoldItalicOsF\\ \hline \hline + \multicolumn{4}{|c|}{\textit{Times}}\\ \hline + ptm & m & n, sl, it, sc & Times-Roman, Times-Italic\\ \hline + ptm & b & n, sl, it, sc & Times-Bold, Times-BoldItalic\\ \hline \hline + \multicolumn{4}{|c|}{\textit{Zapf Chancery}}\\ \hline + pzc & mb & it & ZapfChancery-MediumItalic\\ \hline \hline + \multicolumn{4}{|c|}{\textit{Utopia}}\\ \hline + put & m & n, sl, it, sc & Utopia-Regular, Utopia-Italic\\ \hline + put & b & n, sl, it, sc & Utopia-Bold, Utopia-BoldItalic\\ \hline \hline + \multicolumn{4}{|c|}{\textit{Symbol}}\\ \hline + psy & m & n & Symbol\\ \hline \hline + \multicolumn{4}{|c|}{\textit{Zapf Dingbats}}\\ \hline + pzd & m & n & ZapfDingbats\\ \hline + \end{tabularx} + \par} +\end{table} + + + +\section{Obsolete packages} +The macro packages listed in table \vref{tab:obsolete} should be considered as obsolete. +They are provided for compatibility with existing documents only. + +\begin{table}[hbt] +\caption{Obsolete packages in the PSNFSS collection} +\label{tab:obsolete} +\medskip +{\footnotesize +\begin{center} +\renewcommand{\arraystretch}{1.2} +\begin{tabular}{|l|p{1.8cm}p{2.2cm}p{2.4cm}p{2.2cm}|} +\hline +\textbf{package} & \textbf{roman} & \textbf{sans serif} & \textbf{typewriter} & \textbf{math} \\\hline\hline +\Lpack{times} & Times + & Helvetica + & Courier + & \\\hline +\Lpack{palatino} & Palatino + & Helvetica + & Courier + & \\\hline +\Lpack{mathptm} & Times + & + & + & $\approx$ Times\\\hline +\Lpack{mathpple} & Palatino + & + & + & $\approx$ Palatino\\\hline +\Lpack{utopia} & Utopia + & + & + & \\\hline +\end{tabular} +\end{center} +} +\end{table} + + +\subsection{The packages \Lpack{times} and \Lpack{palatino}} +These packages do not load suitable math fonts, +and they do not scale the Helvetica fonts appropriately +to match Times and Palatino -- see section \ref{sec:helvet}. +Use \Lpack{mathptmx} or \Lpack{mathpazo} in conjunction with +\Lpack{helvet} and \Lpack{courier} instead! + +In case you need to load Times or Palatino \emph{without} the +related math fonts of the PSNFSS bundle, you can still use the +basic NFSS commands. For instance, +\begin{quote} ++\renewcommand{\rmdefault}{ptm}+ +\end{quote} +changes only the default roman font family to +\texttt{ptm}, i.e.\ Times. + +\subsection{The package \Lpack{mathptm}} +The package \Lpack{mathptm} is a predecessor to \Lpack{mathptmx}. +In contrast to the latter and to \LaTeX's standard behavior, +lowercase Greek in math is typeset upright. +Zapf Chancery is used as the calligraphic math alphabet, +which causes some problems with proper spacing. +\Lpack{mathptm} needs the font \texttt{cmex9}, which may not +be available in Type~1 format. + +\subsection{The package \Lpack{mathpple}} +\Lpack{mathpple} is a predecessor to \Lpack{mathpazo}, +using also a set of virtual math fonts to go with Palatino. +The Greek alphabet is, however, taken from the +Euler fonts (which get slanted), rather than from the Pazo fonts. +The package \Lpack{mathpple} does not support the +Palatino SC/OsF fonts, and there is no `blackboard bold' math alphabet. +Further flaws are: +\begin{itemize} + \item The spacing within numbers and function names in formulas + is somewhat too loose. + \item The +\coprod+ symbol is missing. + \item There are no bold variants of +\partial+ and +\infty+. + \item +\jmath+ is taken from the CM math italic font, which does + not blend well with Palatino. + \item DVI viewers may exhibit problems as to rendering of the artificially slanted + Greek letters. +\end{itemize} +The newer \Lpack{mathpazo} package can be considered as +superior; yet you may still use \Lpack{mathpple}, if you prefer +the shape of its Greek letters. + +\subsection{The package \Lpack{utopia}} +Use %%\NEWdescription{2003-11-17 v9.1} +of the \Lpack{utopia} +package is no longer recommended, because +the newer package \Lpack{fourier} provides a basically improved +interface to the Utopia typeface and loads suitable math fonts, too. +Notice that this package does \emph{not} belong to the PSNFSS collection! + +Furthermore, the \LaTeX3 team does no longer regard the Utopia +fonts as a \emph{required} component of \LaTeX{}, +because their license does not comply with the strict +guidelines of the FSF. + + +\section{Typeface samples} + +The following samples show the regular font of each typeface family +supported by PSNFSS. +The particular font size and baselineskip is indicated below the font name. +Notice that Helvetica is scaled to 92\,\% of the nominal size. + +\medskip + +\sample{Times}{ptm}{10}{12pt}{} + +\sample{Palatino}{pplx}{10}{12.4pt}{} + +\sample{Bookman}{pbk}{9.6}{11.5pt}{} + +\sample{Charter}{bch}{10}{12.4pt}{} + +\sample{New Century Schoolbook}{pnc}{9.6}{12pt}{} + +\ifutopia + \sample{Utopia}{put}{9.6}{12pt}{} +\fi + +\sample{Helvetica}{phv}{10}{12pt}{} + +\parbox[t]{\leftwidth}{% + {\raggedright\footnotesize + \mbox{}Avant\-Garde\\ + 9.6pt + \par}} +\hfill +\parbox[t]{\rightwidth}{ +{\fontfamily{pag}\fontsize{9.6}{11.5pt}\selectfont\raggedright + Don't use Avant Garde for typesetting larger portions of text\,! +\par}}\medskip + +\parbox[t]{\leftwidth}{ + {\raggedright\footnotesize + Courier\\ + 10/12pt + \par}} +\hfill +\parbox[t]{\rightwidth}{ +{\fontfamily{pcr}\fontsize{10}{12pt}\selectfont\raggedright + A monospaced typeface, suitable for typesetting filenames, URLs etc. +\par}}\medskip + +\parbox[t]{\leftwidth}{ + {\raggedright\footnotesize + Zapf Chancery\\ + 14.4pt + \par}} +\hfill +\parbox[t]{\rightwidth}{ +{\fontfamily{pzc}\Large\raggedright +To Hermann Zapf -- whose strokes are the best. +\par}}\medskip + + + +\section*{Credits} +The PSNFSS system was originally developed by Sebastian Rahtz. + +The virtual \Lpack{mathptm} and \Lpack{mathptmx} fonts and the related packages +were created by Alan Jeffrey, Sebastian Rathz and Ulrik Vieth. + +The \Lpack{mathpple} package and its virtual fonts are based +on earlier work by Aloysius Helminck. Special thanks to Daniel Schlieper +without whose initiative the package would not have been developed. + +The Pazo math fonts and the related virtual fonts were created +by Diego Puga. + + + +\begin{thebibliography}{1} +\raggedright + +\bibitem{companion} +Frank Mittelbach et al.: +\textit{The LaTeX Companion}.\\ +2nd edition. Addison Wesley, 2004. + +%\bibitem{gcompanion} +%Michel Goossens, Sebastian Rahtz, and +%Frank Mittelbach:\\ +%\textit{The LaTeX Graphics Companion}.\\ +%Addison Wesley Longman, 1997. + +\bibitem{fntguide} +\LaTeX3 Project Team (Ed.): +\textit{LaTeX2e font selection.}\\ +CTAN: \path{macros/latex/doc/fntguide.pdf}\\ +(Part of the \LaTeX{} online documentation) +\end{thebibliography} + + +\end{document} diff --git a/macros/latex/required/psnfss/test0.tex b/macros/latex/required/psnfss/test0.tex new file mode 100644 index 0000000000..743f6c6dca --- /dev/null +++ b/macros/latex/required/psnfss/test0.tex @@ -0,0 +1,118 @@ +\documentclass[11pt]{article} +\usepackage{mathptmx} +\usepackage[scaled=0.92]{helvet} +\usepackage{courier} +\usepackage[T1]{fontenc} +\parskip=2pt\parindent 0pt + +\begin{document} +\section{A simple test of PSNFSS2e in new and old encoding} + +\subsection{T1 encoding} + +\begin{quote}\begin{tabular}{|ll|ll|ll|}\hline +\verb|\rm| & \rm Roman & \verb|\itshape| & \itshape Italic + & \verb|\scshape| & \scshape Small Caps \\ +\verb|\em| & \em Emphatic & \verb|\slshape| & \slshape Slanted + & \verb|\ttfamily| & \ttfamily Typewriter \\ +\verb|\bfseries| & \bfseries Boldface & \verb|\sffamily| & \sffamily Sans Serif & & +\\ \hline +\end{tabular}\end{quote} + +\begin{quote}\begin{tabular}{|*{5}{ll|}}\hline +\`{o} & \verb|\`{o}| & \~{o} & \verb|\~{o}| & \v{o} & \verb|\v{o}| & +\c{o} & \verb|\c{o}| & \'{o} & \verb|\'{o}| \\ +\={o} & \verb|\={o}| & \H{o} & \verb|\H{o}| & \d{o} & \verb|\d{o}| & +\^{o} & \verb|\^{o}| & \.{o} & \verb|\.{o}| \\ +\t{oo} & \verb|\t{oo}| & \b{o} & \verb|\b{o}| & \"{o} & \verb|\"{o}| & +\u{o} & \verb|\u{o}| && \\ \hline +\end{tabular}\end{quote} + +\begin{quote}\begin{tabular}{|*{4}{ll|}}\hline +\dag & \verb|\dag| & \S & \verb|\S| & +\copyright & \verb|\copyright| &\i & \verb|\i|\\ +\ddag & \verb|\ddag| & \P & \verb|\P| & +\pounds & \verb|\pounds| & {\j} & \verb|\j|\\ +\oe & \verb|\oe| & \OE & \verb|\OE| & +\ae & \verb|\ae| & & \\ +\AE & \verb|\AE| & \aa & \verb|\aa| & +\AA & \verb|\AA| && \\ +\o & \verb|\o| & \O & \verb|\O| & +\l & \verb|\l| && \\ +\L & \verb|\L| & \ss & \verb|\ss| & +?` & \verb|?`| && \\ +!` & \verb|!`| & \ldots & \verb|\ldots| & +\LaTeX & \verb|\LaTeX| && \\ +\hline +\end{tabular}\end{quote} +{This costs `\pounds' 45 to do; {\sffamily this costs \pounds 45 to do; +\em this costs \pounds 45 in sans italic to do;} +\scshape this costs ``\pounds'' 45 to do; \em this costs \pounds 45 to do +\bfseries this costs \pounds 45 to do for a f\'ee. And so on.} +The s\=un has got his h\=at in, hip hip hip hooray! !`THE DAZED BROWN +FOX QUICKLY GAVE 12345--67890 JUMPS! --- ?`But aren't Kafka's +Schlo{\ss} and {\AE}sop's {\OE}uvres often na{\"\i}ve vis-\`{a}-vis +the d{\ae}monic ph{\oe}nix's official r\^{o}le in fluffy souffl\'{e}s? + +\newpage +\fontencoding{OT1}\renewcommand{\encodingdefault}{OT1}\selectfont + +\subsection{OT1 encoding} + +Note: do \emph{not} expect the pounds sign to be quite correct --- it +will always be in italic, and will be a dollar in the Helvetica fonts. + +\begin{quote}\begin{tabular}{|ll|ll|ll|}\hline +\verb|\rm| & \rm Roman & \verb|\itshape| & \itshape Italic + & \verb|\scshape| & \scshape Small Caps \\ +\verb|\em| & \em Emphatic & \verb|\slshape| & \slshape Slanted + & \verb|\ttfamily| & \ttfamily Typewriter \\ +\verb|\bfseries| & \bfseries Boldface & \verb|\sffamily| & \sffamily Sans Serif & & +\\ \hline +\end{tabular}\end{quote} + +\begin{quote}\begin{tabular}{|*{5}{ll|}}\hline +\`{o} & \verb|\`{o}| & \~{o} & \verb|\~{o}| & \v{o} & \verb|\v{o}| & +\c{o} & \verb|\c{o}| & \'{o} & \verb|\'{o}| \\ +\={o} & \verb|\={o}| & \H{o} & \verb|\H{o}| & \d{o} & \verb|\d{o}| & +\^{o} & \verb|\^{o}| & \.{o} & \verb|\.{o}| \\ +\t{oo} & \verb|\t{oo}| & \b{o} & \verb|\b{o}| & \"{o} & \verb|\"{o}| & +\u{o} & \verb|\u{o}| && \\ \hline +\end{tabular}\end{quote} + +\begin{quote}\begin{tabular}{|*{4}{ll|}}\hline +\dag & \verb|\dag| & \S & \verb|\S| & +\copyright & \verb|\copyright| &\i & \verb|\i|\\ +\ddag & \verb|\ddag| & \P & \verb|\P| & +\pounds & \verb|\pounds| & {\j} & \verb|\j|\\ +\oe & \verb|\oe| & \OE & \verb|\OE| & +\ae & \verb|\ae| & & \\ +\AE & \verb|\AE| & \aa & \verb|\aa| & +\AA & \verb|\AA| && \\ +\o & \verb|\o| & \O & \verb|\O| & +\l & \verb|\l| && \\ +\L & \verb|\L| & \ss & \verb|\ss| & +?` & \verb|?`| && \\ +!` & \verb|!`| & \ldots & \verb|\ldots| & +\LaTeX & \verb|\LaTeX| && \\ +\hline +\end{tabular}\end{quote} +{This costs `\pounds' 45 to do; {\sffamily this costs \pounds 45 to do; +\em this costs \pounds 45 in sans italic to do;} +\scshape this costs ``\pounds'' 45 to do; \em this costs \pounds 45 to do +\bfseries this costs \pounds 45 to do for a f\'ee. And so on.} +{\itshape Let's try USD in italic, too: \$ 45.} +The s\=un has got his h\=at in, hip hip hip hooray! !`THE DAZED BROWN +FOX QUICKLY GAVE 12345--67890 JUMPS! --- ?`But aren't Kafka's +Schlo{\ss} and {\AE}sop's {\OE}uvres often na{\"\i}ve vis-\`{a}-vis +the d{\ae}monic ph{\oe}nix's official r\^{o}le in fluffy souffl\'{e}s? + +\section{Math alphabets used with Times} +\begin{quote}\begin{tabular}{|ll|} +\hline +$1, 2, 3, \sin, \log $ & \verb|$1, 2, 3, \sin, \log $| \\ +$c, v, f, \beta, \Gamma $ & \verb|$c, v, f, \beta, \Gamma $| \\ +$\mathcal{A B C F} $ & \verb|$\mathcal{A, B, C, F} $|\\ +\hline +\end{tabular}\end{quote} +\end{document} diff --git a/macros/latex/required/psnfss/test1.tex b/macros/latex/required/psnfss/test1.tex new file mode 100644 index 0000000000..77be282aeb --- /dev/null +++ b/macros/latex/required/psnfss/test1.tex @@ -0,0 +1,51 @@ +\documentclass[11pt]{article} + +\renewcommand{\rmdefault}{ptm} +\usepackage[scaled=0.92]{helvet} +\renewcommand{\bfdefault}{b} + +\usepackage[T1]{fontenc} +\usepackage{textcomp} + +\begin{document} +\frenchspacing +\title{PSNFSS:\\ Times, Helvetica, Courier} +\author{Sebastian Rahtz \and Walter Schmidt} +\date{2004-09-06} +\maketitle +\def\Try#1#2{% +{\fontfamily{#1}\selectfont +This is typeset in #2 (#1): +\begin{quote} +\raggedright +A regular f\'ee costs 123\,\texteuro.\\ +\textit{An italic f\'ee.costs 123\,\texteuro.}\\ +\textsl{A slanted f\'ee costs 123\,\texteuro.}\\ +\textsc{A SmallCaps f\'ee.}\\ +{\bfseries A bold f\'ee costs 123\,\texteuro.\\ + \textit{A bold italic f\'ee costs 123\,\texteuro.}\\ + \textsl{A bold slanted f\'ee costs 123\,\texteuro.}\\ + \textsc{A bold SmallCaps f\'ee.}\\ +} +\end{quote} +\par +}} + +\Try{ptm}{Adobe Times Roman} +\Try{phv}{Adobe Helvetica} +\Try{pcr}{Adobe Courier} + +\textsf{In Helvetica we can try the narrow font series, too.\footnote{Thanks to Frank + Poppe for putting this in.}} +\begin{quote} +\raggedright +\fontfamily{phv}\fontseries{mc}\selectfont +\upshape A narrow f\'ee costs 123\,\texteuro.\\ +\slshape A narrow slanted f\'ee costs 123\,\texteuro.\\ +{\fontseries{bc}\selectfont +\upshape A bold narrow f\'ee costs 123\,\texteuro.\\ +\slshape A bold narrow slanted f\'ee costs 123\,\texteuro. +} +\end{quote} + +\end{document} diff --git a/macros/latex/required/psnfss/test2.tex b/macros/latex/required/psnfss/test2.tex new file mode 100644 index 0000000000..94e1f7ad2a --- /dev/null +++ b/macros/latex/required/psnfss/test2.tex @@ -0,0 +1,39 @@ +\documentclass[11pt]{article} + +\renewcommand{\rmdefault}{ppl} +\renewcommand{\bfdefault}{b} +\linespread{1.05} + +\usepackage[T1]{fontenc} +\usepackage{textcomp} + +\begin{document} +\frenchspacing +\title{PSNFSS:\\ Palatino, Bookman, \\ NewCenturySchoolbook, AvantGarde} +\author{Sebastian Rahtz \and Walter Schmidt} +\date{2003-09-30} +\maketitle +\def\Try#1#2{% +{\fontfamily{#1}\selectfont +This is typeset in #2 (#1): +\begin{quote} +\raggedright +A regular f\'ee costs 123\,\texteuro.\\ +\textit{An italic f\'ee costs 123\,\texteuro.}\\ +\textsl{A slanted f\'ee costs 123\,\texteuro.}\\ +\textsc{A SmallCaps f\'ee.}\\ +{\bfseries A bold f\'ee costs 123\,\texteuro.\\ + \textit{A bold italic f\'ee costs 123\,\texteuro.}\\ + \textsl{A bold slanted f\'ee costs 123\,\texteuro.}\\ + \textsc{A bold SmallCaps f\'ee.}\\ +} +\end{quote} +\par +}} + +\Try{ppl}{Adobe Palatino} +\Try{pbk}{Adobe Bookman} +\Try{pnc}{Adobe NewCenturySchoolbook} +\Try{pag}{Adobe AvantGarde} + +\end{document} diff --git a/macros/latex/required/psnfss/test3.tex b/macros/latex/required/psnfss/test3.tex new file mode 100644 index 0000000000..69535f626f --- /dev/null +++ b/macros/latex/required/psnfss/test3.tex @@ -0,0 +1,43 @@ +\documentclass[11pt]{article} + +\usepackage{charter} +\linespread{1.05} + +\usepackage[T1]{fontenc} +\usepackage{textcomp} + +\begin{document} +\frenchspacing +\title{PSNFSS:\\ Zapf Chancery and Charter} +\author{Sebastian Rahtz \and Walter Schmidt} +\date{2003-09-30} +\maketitle +\def\Try#1#2{% +\fontfamily{#1}\selectfont +This is typeset in #2 (#1): +\begin{quote} +\raggedright +A regular f\'ee costs 123\,\texteuro.\\ +\textit{An italic f\'ee costs 123\,\texteuro}\\ +\textsl{A slanted f\'ee costs 123\,\texteuro.}\\ +\textsc{A SmallCaps f\'ee.}\\ +{\bfseries A bold f\'ee costs 123\,\texteuro.\\ + \textit{A bold italic f\'ee costs 123\,\texteuro.}\\ + \textsl{A bold slanted f\'ee costs 123\,\texteuro.}\\ + \textsc{A bold SmallCaps f\'ee.}\\ +} +\end{quote} +\par +} + +% Zapf Chancery is available as italic font shape only: +This is typeset in Adobe Zapf Chancery (pzc): +\begin{quote} +\fontfamily{pzc}\fontshape{it}\selectfont +An italic f\'ee costs 123\,\texteuro. +\end{quote} + +\Try{bch}{Bitstream Charter} + + +\end{document} diff --git a/macros/latex/required/psnfss/utopia.map b/macros/latex/required/psnfss/utopia.map new file mode 100644 index 0000000000..a25d08c666 --- /dev/null +++ b/macros/latex/required/psnfss/utopia.map @@ -0,0 +1,7 @@ +putb8r Utopia-Bold " TeXBase1Encoding ReEncodeFont " <8r.enc <putb8a.pfb +putbi8r Utopia-BoldItalic " TeXBase1Encoding ReEncodeFont " <8r.enc <putbi8a.pfb +putbo8r Utopia-Bold " .167 SlantFont TeXBase1Encoding ReEncodeFont " <8r.enc <putb8a.pfb +putr8r Utopia-Regular " TeXBase1Encoding ReEncodeFont " <8r.enc <putr8a.pfb +putri8r Utopia-Italic " TeXBase1Encoding ReEncodeFont " <8r.enc <putri8a.pfb +putro8r Utopia-Regular " .167 SlantFont TeXBase1Encoding ReEncodeFont " <8r.enc <putr8a.pfb + |