From afcc7b08d045fb052c69e68395a9ea92f26d7288 Mon Sep 17 00:00:00 2001 From: Joshua Lucas Date: Tue, 21 Oct 2025 15:54:21 -0500 Subject: [PATCH] - Fix misnamed fallback font. - Create new \directory style. --- packages/Fonts.sty | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/packages/Fonts.sty b/packages/Fonts.sty index ec79a68..e4243fa 100644 --- a/packages/Fonts.sty +++ b/packages/Fonts.sty @@ -32,7 +32,7 @@ luaotfload.add_fallback( "RobotoMono", { - "NotoMono-Medium:mode=harf;", + "NotoSansMono-Medium:mode=harf;", "NotoSansSymbols-SemiBold:mode=harf;", "NotoSansSymbols2:mode=harf;", "NotoEmoji:mode=harf;", @@ -127,12 +127,18 @@ \sffamily\color{\usemenucolor{txt}}\CurrentMenuElement } -\changemenuelement*{hyphenatepaths}{first}{\__MenuKeys_path_style:} -\changemenuelement*{hyphenatepaths}{middle}{\__MenuKeys_path_style:} -\changemenuelement*{hyphenatepaths}{last}{\__MenuKeys_path_style:} -\changemenuelement*{hyphenatepaths}{single}{\__MenuKeys_path_style:} +\newmenustyle{mypaths}[ + \group_begin: + \sffamily + \color{\usemenucolor{txt}} +]{}[⏵\zws]{}{}{}[\group_end:]{autoModeColor} -\renewmenumacro{\directory}[/]{hyphenatepaths} +% \changemenuelement*{hyphenatepaths}{first}{\__MenuKeys_path_style:} +% \changemenuelement*{hyphenatepaths}{middle}{\__MenuKeys_path_style:} +% \changemenuelement*{hyphenatepaths}{last}{\__MenuKeys_path_style:} +% \changemenuelement*{hyphenatepaths}{single}{\__MenuKeys_path_style:} + +\renewmenumacro{\directory}[/]{mypaths} \renewmenumacro{\keys}[+]{shadowedroundedkeys} \renewmenumacro{\menu}[>]{angularmenus}