- Fix misnamed fallback font.
- Create new \directory style.
This commit is contained in:
@@ -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}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user