summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/mathastext/README
blob: 11c826d599c46c4fbad7fc6f621fb179c0690cb6 (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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
    +-------------------------------------------+
    +                mathastext                 +
    +                                           +
    + `Use the text font in simple mathematics' +
    +             v1.15 2012/09/26              +
    +             jfbu (at) free.fr             +
    +-------------------------------------------+


                    INSTALLATION

Run latex on mathastext.ins to create mathastext.sty from
mathastext.dtx and put mathastext.sty where LaTeX can find
it. To generate documentation, including the commented
source code, run latex on mathastext.dtx


                        USAGE

main options: italic, subdued.

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

          The document will then use the text
          font also in math mode (letters,
          digits, punctuation and a a few other
          ascii characters).      

          Optionally load further font packages
          and then make use of the
          \Mathastext[version_name] command to
          define math versions in the preamble
          and use them in the document body with
          the \MTversion{version_name} command.

          With the subdued option, mathastext is
          only active inside such a defined math
          version. 

Use the `italic' option to have the Latin letters in math
mode be in italics, as is standard. Digits and log-like
operator names (pre-defined as well as user-defined) will be
in the same shape as the text font (usually this means
upright).

For documents needing Greek letters the following is
possible:
    + no option: Greek letters defined by other packages,
    + LGRgreek: use the document text font in LGR encoding
      (further options specify the shape of the lowercase
      and uppercase Greek glyphs),  
    + eulergreek: use the Euler font for the Greek letters,
    + symbolgreek: use the Postscript Symbol font for the
      Greek letters.

Commands are provided to scale the Euler and Symbol fonts by
an arbitrary factor to let them fit better with the document
text font. 

Read the PDF documentation for more.

Examples available at http://jf.burnol.free.fr/mathsastext.html

CHANGE LOG

1.15

   *  The subdued option allows the mathastextification to
      act only locally.  

   *  Some measures taken to deal with amsmath related
      issues when using xetex or luatex.

1.14c

   *  A bug is fixed: the \Mathastext macro reinitializes
      the fonts in the normal and bold math versions, but it
      also erroneously redeclared the math alphabet changing
      commands which could have been set up in previously
      defined math versions (via earlier calls to
      \Mathastext[version_name]).

1.14b

   *  there was a bug with \$, \#, \&, \% in math mode which
      showed up when ten or more math families had been
      declared. This bug affected also the minus sign under
      the same circumstances, when Unicode engines were
      used. Fixed.

   *  the options LGRgreek and selfGreek act now a bit
      differently, and new options LGRgreeks and selfGreeks
      have been defined. 

   +  I also cleaned up a bit the code, for a more
      structured namespace.

1.14

   *  mathastext now modifies also the math alphabets \mathit,
      \mathsf and \mathtt, thus making it a quite generic
      complete manner to adapt the math configuration to fonts
      provided with no math support.

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.

Copyright (C) 2011, 2012 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.