~ubuntu-branches/debian/sid/pyx/sid

« back to all changes in this revision

Viewing changes to examples/text/font.txt

  • Committer: Package Import Robot
  • Author(s): Stuart Prescott
  • Date: 2012-12-17 13:45:12 UTC
  • mfrom: (1.1.4)
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: package-import@ubuntu.com-20121217134512-u0w6lrgdowsc1sfu
Tags: 0.12.1-1
* New upstream release
* Update maintainer address.
* Update copyright format URL.
* Bump standards version to 3.9.4 (no changes required).
* Drop postinst that was needed for lenny->squeeze upgrades.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
In LaTeX, there are nice packages allowing to switch fonts. Hence, for a simple
4
4
example we change the mode of the default texrunner instance to LaTeX and use
5
 
the `preamble` method to load the `palatino` package. ...
 
5
the `preamble` method to load the `times` package. ...
6
6
 
7
7
!! In general, it is also favourable to employ LaTeX when using your own Type1
8
8
fonts. Still you can also use different fonts in plain TeX if you are familiar
21
21
are therefore not explicitly included in the output of PyX. This behaviour is
22
22
<> from LaTeX, where these standard 35 fonts usually are not contained in the
23
23
standard font-map file `psfonts.map`.
24
 
If you say
 
24
If you say in the PyX configuration file
25
25
 
26
 
    text.set(fontmaps="download35.map")
 
26
    psfontmaps = psfonts.map download35.map
 
27
    pdffontmaps = pdftex.map download35.map
27
28
 
28
29
then PyX finds the corresponding fonts in the map-file and includes the fonts
29
30
in the output EPS and PDF files.