summaryrefslogtreecommitdiff
path: root/fonts/eulerpx/README
blob: 593f66d513f7b587c537bc02b4bda748a6720797 (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
================================================================================
=                                                                              =
=             Eulerpx: A Modern Interface to the Euler math fonts              =
=                                                                              =
================================================================================
=                                                                              =
=     Version 0.2.1                             Jabir Ali Ouassou              =
=     2017-04-10                      <jabirali at switzerlandmail dot ch>     =
=                                                                              =
================================================================================

This package provides the `eulerpx' font, which started as a hybrid of multiple 
other font packages, notably eulervm and newpxmath. Its purpose is twofold:
 (1) 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;
 (2) To make it easy to change between a sans and serif font for the digits and
     operators, so that the font can be used seamlessly in documents using both.
     As of v0.2, this is done automatically when you use \sffamily and \rmfamily.
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).

To use the package, add this to your preamble:

   \usepackage{eulerpx}

Note that in contrast to the eulervm package, bold math characters are accessed
through the \mathbf macro. 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$.



License
-------
Copyright 2016-2017 J. A. Ouassou

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 J. A. Ouassou.

This work consists of the file eulerpx.sty.



History
-------
2016-10-01:
  v0.1:   Initial eulerpx package created.
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.
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.]



Credits
-------
This package is based on the following existing packages:
 - 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. For maintainability, the support
   for other encodings than T1 has been removed.
 - 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.