Name Last modified Size Description
Parent Directory 20-Oct-2020 02:47 -
eulerpx.sty 10-Apr-2017 20:58 7k
= 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:
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
then you may write your equations in the form $α+β$ instead of $\alpha+\beta$.
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
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.
v0.1: Initial eulerpx package created.
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.
v0.2.1: Fixed a bug that prevented \infty from displaying correctly.
[Thanks to Georg Bube for reporting the problem and solution.]
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.