CTAN Comprehensive TeX Archive Network

CTAN update: HEP-math-font

Date: November 15, 2026 9:53:14 AM CET
Jan Hajer submitted an update to the HEP-math-font package. Version: 2.0 2026-11-13 License: lppl1.3c Summary description: Math alphabets following the text font, with extra vector accents Announcement text:
Made the math alphabet commands composable: bold, upright and the serif, sans-serif and typewriter families combine in any order. Added \mathserif and the combined commands, the mathsf option, physical New Computer Modern faces for the Unicode engines, and virtual fonts with their generator script for pdfLaTeX. With symbols=true \mathbb is composable as well and uses AMS, DSSerif and bboldx for pdfLaTeX, and the RSFS script and Euler fraktur share one virtual font family. Replaced most fallback shapes: CM Unicode provides the bold typewriter Greek and the upright variant Greek letters and the upright serif theta for pdfLaTeX, the New Computer Modern blackboard of mathalpha replaces the AMS and DSSerif blackboard, and the remaining shapes are slanted, unless the new synthetic option is false. Added \ell and \hbar to the alphabets, and bold dotless letters for the Unicode engines. Corrected the text extracted from the sans-serif math italic Greek and other glyphs with misleading names. Added the proportional option, on by default, which sets the typewriter Latin letters and digits in the Latin Modern proportional typewriter. URLs typeset by the url package keep the letters and digits of their text font. With symbols=true and ams \mathcal is composable and uses the calligraphic capitals of the serif and sans-serif math fonts, and for pdfLaTeX the Computer Modern calligraphic capitals in the serif and the Zapf Chancery capitals in the sans-serif family. Made \mathscr composable, with Euler script as upright \mathcal. Made the alphabets and Greek letters work in hyperref bookmarks. Added the vector accents \dashedvec and \dottedvec with a dashed and a dotted shaft, derived from the glyphs of \vec and collected in the TrueType font hepaccent. Defined the alphabet commands and the Greek letter macros already when the package is loaded and again at the beginning of the document, so that copies made with \let in the preamble or with \AtBeginDocument no longer select wrong glyphs, and kept Greek letter macros redefined in the preamble. Without the generated fonts the package keeps the standard math alphabets and the vector accents fall back to \vec, and fonts generated for another version of the package are an error.
This package is located at https://mirrors.ctan.org/fonts/utilities/hep-math-font More information is at https://ctan.org/pkg/hep-math-font
Thanks for the upload. For the CTAN Team Manfred Lotz CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs .

HEP-math-font – Math alphabets following the text font, with extra vector accents

The hep-math-font package adjusts the math fonts to follow the text font: if the document is set in a sans-serif font, so is the math. Greek letters are always italic in math mode and upright in text mode. The math alphabets can be combined with each other, some math font macros are adjusted to give the expected results more consistently, and dashed and dotted vector accents are provided.

The package is loaded with \usepackage{hep-math-font}.

PackageHEP-math-font
Version2.0 2026-11-13
Copyright2019–2025 Jan Hajer
MaintainerJan Hajer

Announcements

more

Guest Book Sitemap Contact Contact Author