summaryrefslogtreecommitdiff
path: root/fonts/eulerpx/README
blob: 40bff6d91543df4684cd0217674e7921a9ee408d (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
147
148
================================================================================
=                                                                              =
=             Eulerpx: A Modern Interface to the Euler math fonts              =
=                                                                              =
================================================================================
=                                                                              =
=     Version 0.3.1                               Luuk Tijssen                 =
=     2021-07-12                         <ltijssen2502 at gmail dot com>       =
=                                                                              =
================================================================================

The original author of this package is Jabir Ali Ouassou (up to, and including,
v0.2.1). Newer versions of the package are updated by its new maintainer, Luuk
Tijssen. I thank Ali for his continued support in the development of this
package.

This package provides the `eulerpx' font, which started as a hybrid of multiple 
other font packages, notably eulervm and newpxmath. Its purpose is to use the 
eulervm symbols for greek and latin letters, but the newpxmath font for braces
and brackets, and the text font for digits and operators.

This package was put together with the intent to use it with the Palatino and
Optima fonts (newpxtext and classico), but may work with other combinations too;
for instance, using it with the Kepler and Biolinum fonts (kpfonts and biolinum).
It is not recommended  to use this package with the Computer Modern text font,
this looks ugly.

To use the package, add this to your preamble:

   \usepackage{eulerpx}

As of v0.3, bold math characters are accessed through the \boldsymbol macro
provided by the `amsmath' package. For more professional/serious applications,
it is recommended to load the `bm' package for this purpose instead.

Before v0.3, bold math characters were accessed through the \mathbf macro. This
macro now yields the bold text (operator) font.

This package basically loads the newpxmath package, after which it replaces the
characters which are available in the fonts provided by eulervm. Therefore, many
of the (anti-)features provided by newpxmath are carried over to this package as
well. It is recommended to also read the documentation to the newpxmath package,
which describes all of these features. This README only covers the features
added by the eulerpx package. 

As of v0.3, you can load the newpxmath package with any options before the
eulerpx package in your preamble

  \usepackage[varbb]{newpxmath}
  \usepackage{eulerpx}

such as in the above example with the option `varbb'. This will cause newpxmath
to load a different alphabet into the \mathbb macro. (Which, in the opinion of
the authors, is prettier than the default.)

Before v0.3, newpxmath was loaded with the options `upint' and `varbb' by
default. When loading the newpxmath package before the eulerpx package without
using these options would result in an options-clash LaTeX error. Upright
integrals are still set by default, but without using this option, so that the 
user is free to load newpxmath with whatever options they desire.

As of v0.2, the font for digits and operators is automatically changed to serif
or sans-serif when the bindings \rmfamily or \sffamily (respectively) are
encountered. However, it was found that the implementation of this feature lead
to inconsistency in the output. For this reason, since v0.3, the feature now has
to be explicitly enabled by using the option `sansmath', i.e.,

  \usepackage[sansmath]{eulerpx}

in order to enable its functionality. Beware that enabling this option might
lead to unexpected behavior in the output.

If the option `utf8' is provided, the package will also declare the Greek 
unicode range; i.e., if the package is included with

  \usepackage[utf8]{inputenc}
  \usepackage[utf8]{eulerpx}

then you may write your equations in the form $α + β$ instead of $\alpha +
\beta$. Note that the unicode coverage only includes the lower- and upper case
Greek alphabets, no special roman/math characters are included. For this
purpose you will need to load another package.



License
-------
Copyright 2016-2017 J. A. Ouassou
Copyright 2021 L. Tijssen

This work 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 2005/12/01 or later.

This work has the LPPL maintenance status `maintained'.

The Current Maintainer of this work is L. Tijssen.

This work consists of the file eulerpx.sty.



History
-------
2021-07-12:
  v0.3.1: Fixed a bug introduced in v0.3.0 causing the \mathnormal alphabet to
          output glyphs in newpxmath instead of Euler Roman.
2021-07-08:
  v0.3.0: Major overhaul in the way that the eulervm fonts are loaded
          internally. This fixes many bugs (caused by interfering with 
          newpxmath). The sansmath implementation is now turned off by default.
          (It was also causing inconsistent output.) \mathscr and \mathfrak
          alphabets now yield Euler Script and Euler Fraktur fonts,
          respectively. \leq, \geq, and variations are now slanted by default
          (much like the original Euler fonts). Many other changes which should
          be reflected above in this README.
2017-04-10:
  v0.2.1: Fixed a bug that prevented \infty from displaying correctly.
          [Thanks to Georg Bube for reporting the problem and solution.]
2017-02-03:
  v0.2:   Fixed a bug that messed up symbols like braces and brackets. Redefined
          the macros \sffamily and \rmfamily so that they automatically change 
          the alphabet used for operators and numbers to match the environment.
2016-10-01:
  v0.1:   Initial eulerpx package created.



Credits
-------
This package is based on the following existing packages:
 - The package `eulerpx' v0.2.1, originally written by Jabir Ali Ouassou.
 - The package `newpxmath' is loaded as a base font, to provide parentheses, 
   brackets, relations, \mathbb, etc. This was done because in the authors'
   opinion, the newpx brackets are much more aesthetic than the Euler ones.
 - The Euler symbols for latin and greek letters are then loaded. This part
   is based directly on the `eulervm' package, but it has been modified to 
   not use e.g. Euler digits and brackets. As of v0.3, support for encodings
   other than T1 has returned. It is now possible to use any encoding supported
   by newpxmath.
 - The \mathversion implementation is inspired by the `sansmath' package. I
   have modified this such that the macro does not alter the font used for
   mathematical symbols, only the fonts used for operators and numerals. This
   is useful for people that want to consistently use the Euler symbols in
   *all* environments, and only typeset operators and digits in sans/serif.