CTAN Comprehensive TeX Archive Network

Directory fonts/eulerpx

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

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:


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


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


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


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.

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

  v0.3.1: Fixed a bug introduced in v0.3.0 causing the \mathnormal alphabet to
          output glyphs in newpxmath instead of Euler Roman.
  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.
  v0.2.1: Fixed a bug that prevented \infty from displaying correctly.
          [Thanks to Georg Bube for reporting the problem and solution.]
  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.1:   Initial eulerpx package created.

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.

Download the contents of this package in one zip archive (5.4k).

eulerpx – A modern interface for the Euler math fonts

This package provides the “eulerpx” font, which started as a hybrid of multiple other font packages, notably eulervm and newpxmath.

Its purpose is twofold:

  • To use the eulervm symbols for greek and latin, but the newpxmath font for braces and brackets, and the text font for digits and operators; and
  • to make it easy to change between a sans and a 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, but it may work with other combinations, too.

Version0.3.1 2021-07-12
LicensesThe Project Public License 1.3
Copyright2016–2017 J. A. Ouassou
2021 L. Tijssen
MaintainerLuuk Tijssen
Jabir Ali Ouassou (inactive)
Contained inTeX Live as eulerpx
MiKTeX as eulerpx
TopicsFont support
Guest Book Sitemap Contact Contact Author