From 2c56bb6153ba9b3aa3ad24a96adc6a313b69d1c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Madeleine=20Sydney=20=C5=9Alaga?= Date: Sun, 28 Dec 2025 15:20:21 -0700 Subject: [PATCH] feat(syd-plex-latex): uhh --- pkgs/syd-plex-latex/default.nix | 2 ++ pkgs/syd-plex-latex/syd-plex.sty | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/syd-plex-latex/default.nix b/pkgs/syd-plex-latex/default.nix index 734cc02..0cd26a1 100644 --- a/pkgs/syd-plex-latex/default.nix +++ b/pkgs/syd-plex-latex/default.nix @@ -16,6 +16,8 @@ stdenvNoCC.mkDerivation (final: { unicode-math xetex fontspec + xlxtra + realscripts ]; tlType = "run"; }; diff --git a/pkgs/syd-plex-latex/syd-plex.sty b/pkgs/syd-plex-latex/syd-plex.sty index 9ef55c9..a508a82 100755 --- a/pkgs/syd-plex-latex/syd-plex.sty +++ b/pkgs/syd-plex-latex/syd-plex.sty @@ -1,5 +1,5 @@ \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{syd-plex}[2014/08/24 Configure IBM Plex fonts] +\ProvidesPackage{syd-plex}[2025/12/01 Configure IBM Plex fonts] % Redefine some commands to make unicode-math work lol. See ยง3.1 of the % unicode-math manual. @@ -8,3 +8,6 @@ \RequirePackage{plex-otf} \setmathfont{IBM Plex Math} \setmainfont{IBM Plex Serif} + +% Use sans-serif for \operatorname +\setoperatorfont\mathsf