pnas/pnastwof.sty
changeset 566 33de88ae7b62
equal deleted inserted replaced
565:6a7317665868 566:33de88ae7b62
       
     1 \def\pscurrentversion{April 8b, 2008}
       
     2 %\def\pscurrentversion{May 1, 2006}
       
     3 
       
     4 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
       
     5 %% 
       
     6 %% PostScript fonts for
       
     7 %% PNASOne, the one column journal style for
       
     8 %% Proceedings of the National Academy of Sciences
       
     9 %%
       
    10 %% Prepared by Amy Hendrickson, TeXnology Inc.                          
       
    11 %%
       
    12 %% For assistance, please contact the PNAS Editorial Office:
       
    13 %% 202-334-2679
       
    14 %% pnas@nas.edu                       
       
    15 %%                                           
       
    16 %% Use: \documentclass{pnasone}
       
    17 %%      (optional font encoding) \usepackage{t1enc} or \usepackage{OT1enc}
       
    18 %%      \usepackage[<driver name>]{graphicx}
       
    19 %%      \usepackage[<driver name>]{color}
       
    20 %%      \usepackage{pnasonef}
       
    21 %%
       
    22 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
       
    23 
       
    24 %% You may need to rename these fonts to match the
       
    25 %% names of the .tfm files on your system. If you look at
       
    26 %% the directory where the .tfm files are stored you should
       
    27 %% be able to make the appropriate substitution.
       
    28 
       
    29 
       
    30 %%  Change these definitions, if necessary ====>
       
    31 
       
    32 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
       
    33 %% Times-Roman
       
    34 
       
    35 %% Dvipsone Names:
       
    36 \def\timesroman{tir}
       
    37 \def\timesbold{tib}
       
    38 \def\timesitalic{tii}
       
    39 \def\timesbolditalic{tibi}
       
    40 
       
    41 
       
    42 %% Karl Berry Names:
       
    43 %\def\timesroman{ptmr8t}
       
    44 %\def\timesbold{ptmb8t}
       
    45 %\def\timesitalic{ptmri8t}
       
    46 %\def\timesbolditalic{ptmbi8t}
       
    47 
       
    48 %% BlueSky or other TeX Systems, write in appropriate font name:
       
    49 %\def\timesroman{}
       
    50 %\def\timesbold{}
       
    51 %\def\timesitalic{}
       
    52 %\def\timesbolditalic{}
       
    53 
       
    54 
       
    55 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
       
    56 %% Helvetica
       
    57 %------------------
       
    58 %% Dvipsone
       
    59 \def\helvetica{hv}
       
    60 \def\helveticaoblique{hvo}
       
    61 \def\helveticaboldoblique{hvbo}
       
    62 \def\helveticabold{hvb}
       
    63 
       
    64 
       
    65 %% Karl Berry Names:
       
    66 %\def\helvetica{phvr}
       
    67 %\def\helveticaoblique{phvro}
       
    68 %\def\helveticaboldoblique{phvbo}
       
    69 %\def\helveticabold{phvb}
       
    70 
       
    71 %% BlueSky or other TeX Systems, write in appropriate font name:
       
    72 %\def\helvetica{}
       
    73 %\def\helveticabold{}
       
    74 %\def\helveticaoblique{}
       
    75 
       
    76 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
       
    77 %% Frutiger
       
    78 %% Use Helvetica (No need to change these font declarations,
       
    79 %% since Helvetica has been defined above.)
       
    80 
       
    81 
       
    82 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
       
    83 %% Frutiger
       
    84 %% Use Helvetica (No need to change these font declarations,
       
    85 %% since Helvetica has been defined above.)
       
    86 
       
    87 \def\frutiger{\helvetica}
       
    88 \def\frutigeroblique{\helveticaoblique}
       
    89 \def\frutigerbold{\helveticabold}
       
    90 \def\frutigerboldcondensed{\helveticabold}
       
    91 \def\frutigermed{\helvetica}
       
    92 \def\frutigerblackCond{\helveticabold}
       
    93 
       
    94 %%
       
    95 \def\dutchbold{\timesbold}
       
    96 \def\dutchmed{\timesroman}
       
    97 
       
    98 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
       
    99 %% Courier
       
   100 %% Computer Modern name
       
   101 \def\courier{cmtt10}
       
   102 
       
   103 % Dvipsone name:
       
   104 %\def\courier{com}
       
   105 
       
   106 % Berry name:
       
   107 %\def\courier{pcrr8t}
       
   108 
       
   109 %% <==== End of changes needed. Please do not make changes below this point.
       
   110 %% !!!!!!!!!
       
   111 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
       
   112 
       
   113 %% default definitions, since these fonts 
       
   114 %% will not be used:
       
   115 \let\xcourier\courier
       
   116 \def\courieroblique{pcrro8r}
       
   117 \def\courierbold{pcrb8r}
       
   118 \def\courierboldoblique{pcrbo8r}
       
   119 
       
   120 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
       
   121 % switch used in documentation:
       
   122 \def\psfonts{true}
       
   123 
       
   124 \global\let\sfdefault\helvetica
       
   125 \global\let\rmdefault\timesroman
       
   126 \global\let\ttdefault\courier
       
   127 
       
   128 \typeout{^^J^^J
       
   129 -------------------------------------------^^J
       
   130 PostScript Fonts for PNAS One Column Journal Style^^J
       
   131 \pscurrentversion^^J^^J
       
   132 IMPORTANT: If you use font encoding, as
       
   133 in \string\usepackage{T1enc},^^J please use it BEFORE
       
   134 \string\usepackage{pnasfont}, ie:^^J
       
   135 \string\documentclass{pnasone}^^J
       
   136 \string\usepackage{T1enc}^^J
       
   137 \string\usepackage[driver name]{color}^^J^^J
       
   138 \string\usepackage{pnas}^^J
       
   139 -------------------------------------------^^J
       
   140 ^^J
       
   141 }
       
   142 
       
   143 %% Times-Roman
       
   144 \xdef\timesroman{\timesroman\space}
       
   145 \xdef\timesbold{\timesbold\space}
       
   146 \xdef\timesitalic{\timesitalic\space}
       
   147 \xdef\timesbolditalic{\timesbolditalic\space}
       
   148 
       
   149 %% Helvetica
       
   150 \xdef\helvetica{\helvetica\space}
       
   151 \xdef\helveticabold{\helveticabold\space}
       
   152 \xdef\helveticaoblique{\helveticaoblique\space}
       
   153 \xdef\helveticaboldoblique{\helveticaboldoblique\space}
       
   154 
       
   155 %% Frutiger
       
   156 \xdef\frutigerbold{\frutigerbold\space}
       
   157 \xdef\frutiger{\frutiger\space}
       
   158 \xdef\frutigeroblique{\frutigeroblique\space}
       
   159 \xdef\frutigerboldcondensed{\frutigerboldcondensed\space}
       
   160 
       
   161 %% Courier
       
   162 \xdef\courier{\courier\space}
       
   163 
       
   164 %% Special Use Fonts ==>>
       
   165 \font\footnotefont\frutigermed at 6pt
       
   166 
       
   167 \font\dropcapfont=\frutigerbold at 24.5pt
       
   168 \font\sideboxfont= \helvetica at 6pt
       
   169 
       
   170 %% Running feet
       
   171   \font\footlinefont=\frutiger at7pt
       
   172   \font\footlineit=\helveticaoblique at7pt
       
   173   \font\foliofont=\frutigerbold at 7pt
       
   174 
       
   175 \font\titlefont=\frutigerboldcondensed at 22pt % 24pt baseline
       
   176   \font\authorfont=\frutigerbold at 9pt % 11 pt baseline
       
   177   \font\affilfont=\frutiger at 7pt % 8pt baseline
       
   178   \font\keywordfont=\frutiger at 7pt % 8pt baseline
       
   179 
       
   180   \font\copyrightfont=\frutiger at 6pt
       
   181   \font\copyrighttextfont=\frutiger at 6pt
       
   182 
       
   183 %% Abstract fonts
       
   184 \font\xabstractfont=\frutigerbold at 8pt
       
   185 \def\abstractfont{\sf\xabstractfont\dospecialaccents}
       
   186 \font\abstractit=\helveticaboldoblique at 8pt
       
   187 
       
   188 %% Bibliography
       
   189 \font\xbibfont=\frutigerbold at 6pt
       
   190 \def\bibfont{\sf\xbibfont\dospecialaccents}
       
   191 \font\bibitfont\helveticaboldoblique at 6pt
       
   192 \font\bibbffont\helveticabold at 6pt
       
   193 
       
   194 %% Materials and Methods
       
   195 \font\materialfont=\frutiger at 7pt
       
   196 \font\materialbffont=\helveticabold at 7pt
       
   197 \font\materialitfont=\helveticaoblique at 7pt
       
   198 
       
   199 %% Section fonts
       
   200 \font\sectionfont=\frutigerblackCond at 9pt
       
   201 \font\subsectionfont=\frutigerblackCond at 8pt
       
   202 
       
   203 %% Theorem fonts
       
   204   \font\theoremfont=\frutigerbold at 8pt
       
   205 
       
   206 %% Caption 
       
   207  \font\fignumfont=\frutigerbold at 7pt
       
   208 \font\xfigtextfont=\frutiger at 7pt
       
   209   \def\figtextfont{\small\dospecialaccents\xfigtextfont} 
       
   210 
       
   211 %% Table font
       
   212 \font\tabletextfont=\frutiger at 7.5pt
       
   213 \font\tablenotefont=\frutiger at 6pt
       
   214 \font\tablenotebffont=\frutigerbold at 6pt
       
   215 \font\tablenoteitfont=\frutigeroblique at 6pt
       
   216 \font\tabtextfont\frutigerbold at 8pt
       
   217 \font\tabnumfont\frutigerbold at 8pt
       
   218 
       
   219 \font\footlinefont=\frutiger at7pt
       
   220 
       
   221 %% ok
       
   222 %%% equivalent of bringing in .fd files
       
   223 %Filename: <encodingdefault><rmdefault>.fd
       
   224 \DeclareFontFamily{\encodingdefault}{\rmdefault}{}
       
   225 \DeclareFontShape{\encodingdefault}{\rmdefault}{b}{n}{
       
   226    <-> \timesbold
       
   227 }{}
       
   228 
       
   229 \DeclareFontShape{\encodingdefault}{\rmdefault}{b}{sc}{
       
   230    <-> cmcsc10
       
   231 }{}
       
   232 
       
   233 \DeclareFontShape{\encodingdefault}{\rmdefault}{b}{sl}{
       
   234    <-> \timesbolditalic
       
   235 }{}
       
   236 
       
   237 \DeclareFontShape{\encodingdefault}{\rmdefault}{b}{it}{
       
   238    <-> \timesbolditalic
       
   239 }{}
       
   240 
       
   241 \DeclareFontShape{\encodingdefault}{\rmdefault}{m}{n}{
       
   242    <-> \timesroman
       
   243 }{}
       
   244 
       
   245 \DeclareFontShape{\encodingdefault}{\rmdefault}{m}{sc}{
       
   246    <-> cmcsc10
       
   247 }{}
       
   248 
       
   249 \DeclareFontShape{\encodingdefault}{\rmdefault}{m}{sl}{
       
   250    <-> \timesitalic
       
   251 }{}
       
   252 
       
   253 \DeclareFontShape{\encodingdefault}{\rmdefault}{m}{it}{
       
   254    <-> \timesitalic
       
   255 }{}
       
   256 
       
   257 \DeclareFontShape{\encodingdefault}
       
   258 {\rmdefault}{bx}{n}{<->ssub * \rmdefault/b/n}{}
       
   259 
       
   260 \DeclareFontShape{\encodingdefault}
       
   261 {\rmdefault}{bx}{sc}{<->ssub * \rmdefault/b/sc}{}
       
   262 
       
   263 \DeclareFontShape{\encodingdefault}
       
   264 {\rmdefault}{bx}{sl}{<->ssub * \rmdefault/b/sl}{}
       
   265 
       
   266 \DeclareFontShape{\encodingdefault}
       
   267 {\rmdefault}{bx}{it}{<->ssub * \rmdefault/b/it}{}
       
   268 
       
   269 \DeclareFontShape{\encodingdefault}
       
   270 {\rmdefault}{l}{n}{<->ssub * \rmdefault/m/n}{}
       
   271 
       
   272 \DeclareFontShape{\encodingdefault}
       
   273 {\rmdefault}{l}{sc}{<->ssub * \rmdefault/m/sc}{}
       
   274 
       
   275 \DeclareFontShape{\encodingdefault}
       
   276 {\rmdefault}{l}{sl}{<->ssub * \rmdefault/m/sl}{}
       
   277 
       
   278 \DeclareFontShape{\encodingdefault}
       
   279 {\rmdefault}{l}{it}{<->ssub * \rmdefault/m/it}{}
       
   280 
       
   281 
       
   282 %% ok
       
   283 %\ProvidesFile{<encodingdefault><ttdefault>.fd}
       
   284 %        [1996/02/19 v2.3e Standard LaTeX font definitions]
       
   285 
       
   286 \DeclareFontFamily{\encodingdefault}{\ttdefault}{\hyphenchar \font\m@ne}
       
   287 
       
   288 \DeclareFontShape{\encodingdefault}{\ttdefault}{b}{n}{
       
   289    <-> \courierbold
       
   290 }{}
       
   291 
       
   292 \DeclareFontShape{\encodingdefault}{\ttdefault}{b}{sc}{
       
   293    <-> cmcsc10
       
   294 }{}
       
   295 
       
   296 \DeclareFontShape{\encodingdefault}{\ttdefault}{b}{sl}{
       
   297    <-> \courierboldoblique
       
   298 }{}
       
   299 
       
   300 \DeclareFontShape{\encodingdefault}{\ttdefault}{b}{it}{
       
   301    <-> \courierboldoblique
       
   302 }{}
       
   303 
       
   304 
       
   305 \DeclareFontShape{\encodingdefault}{\ttdefault}{m}{n}
       
   306      {<-> \courier
       
   307       }{}
       
   308 
       
   309 \DeclareFontShape{\encodingdefault}{\ttdefault}{m}{n}
       
   310      {<-> \courier
       
   311       }{}
       
   312 %%%%%% make sure subst shapes are available
       
   313 \DeclareFontShape{\encodingdefault}{\ttdefault}{m}{it}
       
   314      {<-> \courieroblique
       
   315       }{}
       
   316 \DeclareFontShape{\encodingdefault}{\ttdefault}{m}{sl}
       
   317      {<-> \courieroblique
       
   318       }{}
       
   319 \DeclareFontShape{\encodingdefault}{\ttdefault}{m}{sc}
       
   320      {<-> \courier
       
   321       }{}
       
   322 \DeclareFontShape{\encodingdefault}{\ttdefault}{m}{ui}
       
   323   {<->sub * \xcourier/m/it}{}
       
   324 \DeclareFontShape{\encodingdefault}{\ttdefault}{bx}{n}
       
   325   {<->sub * \xcourier/m/n}{}
       
   326 \DeclareFontShape{\encodingdefault}{\ttdefault}{bx}{it}
       
   327   {<->sub * \xcourier/m/it}{}
       
   328 \DeclareFontShape{\encodingdefault}{\ttdefault}{bx}{ui}
       
   329   {<->sub * \xcourier/m/it}{}
       
   330 %% 
       
   331 %% End of file `<encodingdefault><ttdefault>.fd'.
       
   332 
       
   333 %Filename: <encodingdefault><sfdefault>.fd
       
   334 %\ProvidesFile{\encodingdefaulthv.fd}
       
   335 %   [1996/02/19 Fontinst v1.504 font definitions for \encodingdefault/hv.]
       
   336 
       
   337 \DeclareFontFamily{\encodingdefault}{hv}{}
       
   338 
       
   339 \DeclareFontShape{\encodingdefault}{hv}{b}{n}{
       
   340    <-> \helveticabold
       
   341 }{}
       
   342 
       
   343 \DeclareFontShape{\encodingdefault}{hv}{b}{sc}{
       
   344    <-> cmcsc10
       
   345 }{}
       
   346 
       
   347 \DeclareFontShape{\encodingdefault}{hv}{m}{n}{
       
   348    <-> \helvetica
       
   349 }{}
       
   350 
       
   351 \DeclareFontShape{\encodingdefault}{hv}{m}{sc}{
       
   352    <-> cmcsc10
       
   353 }{}
       
   354 
       
   355 \DeclareFontShape{\encodingdefault}{hv}{m}{sl}{
       
   356    <-> \helveticaoblique
       
   357 }{}
       
   358 
       
   359 \DeclareFontShape{\encodingdefault}{hv}{m}{it}{
       
   360    <-> \helveticaoblique
       
   361 }{}
       
   362 
       
   363 \DeclareFontShape{\encodingdefault}{hv}{bx}{n}{<->ssub * hv/b/n}{}
       
   364 \DeclareFontShape{\encodingdefault}{hv}{bx}{sc}{<->ssub * hv/b/sc}{}
       
   365 \DeclareFontShape{\encodingdefault}{hv}{bx}{sl}{<->ssub * hv/b/sl}{}
       
   366 \DeclareFontShape{\encodingdefault}{hv}{bx}{it}{<->ssub * hv/b/it}{}
       
   367 \DeclareFontShape{\encodingdefault}{hv}{l}{n}{<->ssub * hv/m/n}{}
       
   368 \DeclareFontShape{\encodingdefault}{hv}{l}{sc}{<->ssub * hv/m/sc}{}
       
   369 \DeclareFontShape{\encodingdefault}{hv}{l}{sl}{<->ssub * hv/m/sl}{}
       
   370 \DeclareFontShape{\encodingdefault}{hv}{l}{it}{<->ssub * hv/m/it}{}
       
   371 
       
   372 
       
   373 \rm
       
   374 
       
   375 \let\dospecialaccents\relax
       
   376 
       
   377 
       
   378 
       
   379 \endinput