summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/mathastext/README
blob: 65c683f71a9a384321b977873623da374d52dc4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
        +-------------------------------------------+
        +              mathastext 1.13b             +
        + `Use the text font in simple mathematics' +
        +                                           +
        +             jfbu (at) free.fr             +
        +-------------------------------------------+

This is the README file for the LaTeX2e package `mathastext',
version 1.13b, 2011/03/15

Copyright (C) 2011 by Jean-Francois Burnol.

	The files of this package may be distributed and/or modified
	under the conditions of the LaTeX Project Public License,
	either version 1.3 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.3 or later is part of all distributions of
	LaTeX version 2003/12/01 or later.


                        INSTALLATION

Run latex on mathastext.ins to create mathastext.sty from
mathastext.dtx and put it where LaTeX can find it.

To generate documentation, including the commented source code, run
latex on mathastext.dtx

Numerous examples of use are available at 

           http://jf.burnol.free.fr/mathsastext.html


                            USAGE

              \usepackage[options]{mathastext}
              after other font related packages

main options: 
   italic, LGRgreek, eulergreek, symbolgreek, defaultmathsizes

This will make the document use the main text font also in
mathematics mode. With the `italic' option, the Latin letters use
the italic shape in math mode. Digits and log-like operator names
will be upright (if the text font is upright). So one can now
typeset documents (containing simple mathematics formulas) with a
quite arbitrary TeX text font, without worrying too much that nobody
ever designed accompanying math fonts.

If the text font is also available in LGR encoding, then the option
LGRgreek will pick up the Greek letters from the text font in that
encoding. It is also possible to use either the Euler of the
Postscript Symbol font for Greek letters, and they can be scaled by
an arbitrary factor to let them fit better with the document text
font.

As mathastext by default only modifies the font for Latin letters
and typographical characters, almost all in the 32-127 ascii range,
it is possible to let other packages take care of setting up the
math fonts, in particular for the Greek letters (but they should be
loaded before mathastext).

Additionally mathastext provides a simple interface to use different
fonts in the same document, be it for math or text (not that we
recommend abusing it!).

Using mathastext without the `italic' option usually reduces the
size of the final PDF file. The option `symbolmax' will get quite a
few mathematicals glyph from the postscript Symbol font included in
all LaTeX distributions, so that for documents with simple
mathematics, the default math fonts might be completely
avoided. This sometimes leads to smaller PDF files.

CHANGE LOG

1.13b

   *  when the Symbol font is used for \prod and \sum this 
      will be only for inline math; display math will use the
      default glyphs 

1.13

   *  the LGRgreek option is added.

   *  internal changes for better readability of the code.


1.12

   *  various bugs have been corrected.

   *  the endash and alldelims options are active by default.

   *  the package is more Unicode aware.

   *  the \Mathastext command has been improved to
      facilitate the mechanism of math versions also when
      using XeTeX or LuaTeX (with package fontspec.) 

   *  the en-dash and dotless i and j now work with all
      encodings, Unicode inclusive.