summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/eulerpx/README
blob: 2b40d66470c09b3cd8bded4df9ada68e6ab59f4a (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
================================================================================
=                                                                              =
=             Eulerpx: A Modern Interface to the Euler math fonts              =
=                                                                              =
================================================================================
=                                                                              =
=     Version 0.1                               Jabir Ali Ouassou              =
=     2016-10-01                      <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.
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.

To use the package, add this to your preamble:

   \usepackage{eulerpx}

You may use the \sfmath and \rmmath macros to switch between serif and sans fonts
for the digits and operators. For instance, if you use a KOMA-Script class, you
can put the following in your preamble to switch all footnotes to a sans font:

  \addtokomafont{footnote}{\sffamily\sfmath}

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 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



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 \sfmath implementation is inspired by the `sansmath' package. I have,
   however, modified this such that the macro does not alter the font used 
   for mathematical symbols, only the font 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.