Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
fichiers:fontes:utiliser_des_fontes_non_standard_en_plain_tex [2018/06/03 13:32] samcarterfichiers:fontes:utiliser_des_fontes_non_standard_en_plain_tex [2018/12/04 00:19] (Version actuelle) jejust
Ligne 1: Ligne 1:
---- +====== Using non-standard fonts in Plain TeX ====== 
-title: Using non-standard fonts in Plain TeX +
-category: fonts +
-permalink: /FAQ-fonts-pln +
-date: 2014-06-10 +
----+
  
 Plain TeX (in accordance with its description) doesn't do anything Plain TeX (in accordance with its description) doesn't do anything
Ligne 11: Ligne 7:
  
 To use something other than Knuth's default, you can use Knuth's To use something other than Knuth's default, you can use Knuth's
-mechanism, the `\fontprimitive: +mechanism, the ''\font'' primitive: 
-```latex+ 
 +<code latex>
 \font\foo=nonstdfont \font\foo=nonstdfont
 ... ...
 \foo \foo
 Text set using nonstdfont ... Text set using nonstdfont ...
-``` +</code> 
-The name you use (`nonstdfont`, above) is the name of the +The name you use (''nonstdfont'', above) is the name of the 
-`tfmfile for the font you want.+''tfm'' file for the font you want.
  
-If you want to use an italic version of `\foo`, you need to use +If you want to use an italic version of ''\foo'', you need to use 
-`\fontagain: +''\font'' again: 
-```latex+ 
 +<code latex>
 \font\fooi=nonstdfont-italic \font\fooi=nonstdfont-italic
 ... ...
 \fooi \fooi
 Text set using nonstdfont italic... Text set using nonstdfont italic...
-```+</code>
 This is all very elementary stuff, and serves for simple use of fonts. This is all very elementary stuff, and serves for simple use of fonts.
 However, there are wrinkles, the most important of which is the matter However, there are wrinkles, the most important of which is the matter
-of [font encodings](FAQ-whatenc).  One almost never sees new fonts +of [[FAQ-whatenc|font encodings]].  One almost never sees new fonts 
-that use Knuth's eccentric font encodings&nbsp;&mdash; but those encodings are+that use Knuth's eccentric font encodings --- but those encodings are
 built into Plain TeX, so that some macros of Plain TeX need to be built into Plain TeX, so that some macros of Plain TeX need to be
 changed to use the fonts.  LaTeX gets around all these problems by changed to use the fonts.  LaTeX gets around all these problems by
-using a "font selection scheme"&nbsp;&mdash; this 'NFSS' ('N'+using a "font selection scheme" --- this 'NFSS' ('N'
 for 'new', as opposed to what LaTeX 2.09 had) carries around with it for 'new', as opposed to what LaTeX 2.09 had) carries around with it
 separate information about the fonts you use, so the changes to separate information about the fonts you use, so the changes to
 encoding-specific commands happen automagically. encoding-specific commands happen automagically.
  
-If you only want to use the [EC fonts](FAQ-ECfonts), you +If you only want to use the [[FAQ-ECfonts|EC fonts]], you 
-can in principle use the [`ec-plain`](https://ctan.org/pkg/ec-plainbundle, which gives you a version+can in principle use the [[ctanpkg>ec-plain|ec-plain]] bundle, which gives you a version
 of Plain TeX which you can run in the same way that you run of Plain TeX which you can run in the same way that you run
 Plain TeX using the original CM fonts, by invoking Plain TeX using the original CM fonts, by invoking
-`tex`.  ([`Ec-plain`](https://ctan.org/pkg/Ec-plainalso extends the EC fonts,+''tex''.  ([[ctanpkg>Ec-plain|Ec-plain]] also extends the EC fonts,
 for reasons which aren't immediately clear, but which might cause for reasons which aren't immediately clear, but which might cause
 problems if you're hoping to use Type 1 versions of the fonts.) problems if you're hoping to use Type 1 versions of the fonts.)
  
-The [`font_selection`](https://ctan.org/pkg/font_selection) package provides a sort of halfway house:+The [[ctanpkg>font//selection|font//selection]] package provides a sort of halfway house:
 it provides font face and size, but not family selection.  This gives it provides font face and size, but not family selection.  This gives
 you considerable freedom, but leaves you stuck with the original you considerable freedom, but leaves you stuck with the original
Ligne 54: Ligne 52:
  
 Other Plain TeX approaches to the problem (packages Other Plain TeX approaches to the problem (packages
-[`plnfss`](https://ctan.org/pkg/plnfss), [`fontch`](https://ctan.org/pkg/fontchand [`ofs`](https://ctan.org/pkg/ofs)) break out of the+[[ctanpkg>plnfss|plnfss]], [[ctanpkg>fontch|fontch]] and [[ctanpkg>ofs|ofs]]) break out of the
 Plain TeX model, towards the sort of font selection provided by Plain TeX model, towards the sort of font selection provided by
-ConTeXt and LaTeX&nbsp;&mdash; font selection that allows you to change+ConTeXt and LaTeX --- font selection that allows you to change
 family, as well as size and face.  The remaining packages all make family, as well as size and face.  The remaining packages all make
 provision for using encodings other than Knuth's OT1. provision for using encodings other than Knuth's OT1.
  
-[`Plnfss`](https://ctan.org/pkg/Plnfsshas a rather basic set of font family details; +[[ctanpkg>Plnfss|Plnfss]] has a rather basic set of font family details; 
-however, it is capable of using font description (`fd`) files+however, it is capable of using font description (''fd'') files
 created for LaTeX.  (This is useful, since most modern mechanisms created for LaTeX.  (This is useful, since most modern mechanisms
-for integrating outline fonts with TeX generate `fdfiles+for integrating outline fonts with TeX generate ''fd'' files
 in their process.) in their process.)
  
-[`Fontch`](https://ctan.org/pkg/Fontchhas special provision for T1 and TS1+[[ctanpkg>Fontch|Fontch]] has special provision for T1 and TS1
 encodings, which you select by arcane commands, such as: encodings, which you select by arcane commands, such as:
-```latex+ 
 +<code latex>
 \let\LMTone\relax \let\LMTone\relax
 \input fontch.tex \input fontch.tex
-```+</code>
 for T1. for T1.
  
-[`Ofs`](https://ctan.org/pkg/Ofsseems to be the most thoroughly thought-through of the+[[ctanpkg>Ofs|Ofs]] seems to be the most thoroughly thought-through of the
 alternatives, and can select more than one encoding: as well as alternatives, and can select more than one encoding: as well as
 T1 it covers the encoding IL2, which is favoured in the T1 it covers the encoding IL2, which is favoured in the
-Czech Republic and Slovakia.  [`Ofs`](https://ctan.org/pkg/Ofsalso covers mathematical fonts,+Czech Republic and Slovakia.  [[ctanpkg>Ofs|Ofs]] also covers mathematical fonts,
 allowing you the dubious pleasure of using fonts such as the  allowing you the dubious pleasure of using fonts such as the 
-[`pxfontsand `txfonts`](FAQ-psfchoice).+[[FAQ-psfchoice|''pxfonts'' and ''txfonts'']].
  
-The [`pdcmac`](https://ctan.org/pkg/pdcmacPlain TeX macro package aims to be a complete +The [[ctanpkg>pdcmac|pdcmac]] Plain TeX macro package aims to be a complete 
-document preparation environment, like [Eplain](FAQ-eplain).  One +document preparation environment, like [[FAQ-eplain|Eplain]].  One 
-of its components is a font selection scheme, [`pdcfsel`](https://ctan.org/pkg/pdcmac), which+of its components is a font selection scheme, [[ctanpkg>pdcmac|pdcfsel]], which
 is rather simple but adequately powerful for many uses.  The package is rather simple but adequately powerful for many uses.  The package
 doesn't preload fonts: the user is required to declare the fonts the doesn't preload fonts: the user is required to declare the fonts the
Ligne 91: Ligne 90:
 seems not to offer a font selection scheme.) seems not to offer a font selection scheme.)
  
-The [`font-change`](https://ctan.org/pkg/font-changecollection takes a rather different +The [[ctanpkg>font-change|font-change]] collection takes a rather different 
-approach&nbsp;&mdash; it supplies what are (in effect) a series of templates+approach --- it supplies what are (in effect) a series of templates
 that may be included in a document to change font usage.  The that may be included in a document to change font usage.  The
 package's documentation shows the effect rather well. package's documentation shows the effect rather well.
  
-Simply to change font _size_ in a document (i.e., not changing+Simply to change font //size// in a document (i.e., not changing
 the default font itself), may be done using the rather straightforward the default font itself), may be done using the rather straightforward
-[`varisize`](https://ctan.org/pkg/varisize), which offers font sizes ranging from 7&nbsp;points to +[[ctanpkg>varisize|varisize]], which offers font sizes ranging from 7 points to 
-20&nbsp;points (nominal sizes, all).  Font size commands are generated when +20 points (nominal sizes, all).  Font size commands are generated when 
-any of the package files is loaded, so the `11pt.texdefines a +any of the package files is loaded, so the ''11pt.tex'' defines a 
-command `\elevenpoint`; each of the files ensures there's a "way back", +command ''\elevenpoint''; each of the files ensures there's a "way back", 
-by defining a `\tenpointcommand.+by defining a ''\tenpoint'' command. 
 + 
 + 
 +----- 
 + 
 +//Source:// [[faquk>FAQ-fonts-pln|Using non-standard fonts in Plain TeX]]
  
 +{{htmlmetatags>metatag-keywords=(LaTeX,fonts)
 +metatag-og:title=(Using non-standard fonts in Plain TeX)
 +metatag-og:site_name=(FAQ LaTeX francophone)
 +}}
  
5_fichiers/fontes/utiliser_des_fontes_non_standard_en_plain_tex.1528032749.txt.gz · Dernière modification : 2018/06/03 13:32 de samcarter
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0