- Update readme.

- Create document-level aliases for \fp_to_dim:n and a couple constants.
- Clean up Fonts.sty.
- Customize bullets in itemize lists.
This commit is contained in:
2025-10-15 15:53:03 -05:00
parent 5a6509be4d
commit 47f2b67b98
4 changed files with 17 additions and 19 deletions

View File

@@ -8,7 +8,7 @@ project or include this repository as a Git submodule.
## Classes ## Classes
- Manual - Manual
- Submittal - Submittal (WIP)
## Packages ## Packages
@@ -37,6 +37,6 @@ project or include this repository as a Git submodule.
--- ---
![Prime Controls Logo](graphics/prime_controls.png) ![Prime Controls Logo](graphics/prime-controls.png)
Copyright 2025 Prime Controls LP. All rights reserved. Copyright 2025 Prime Controls LP. All rights reserved.

View File

@@ -43,14 +43,8 @@
\str_const:Nn \c_BigFloat_type_str {generic} \str_const:Nn \c_BigFloat_type_str {generic}
\fp_const:Nn \c_BigFloat_offset_fp {2.0} \fp_const:Nn \c_BigFloat_offset_fp {2.0}
\ProvideLength{\BigFloatOverhang}[\dim_use:N \c_BigFloat_overhang_dim] \let\BigFloatOverhang\c_BigFloat_overhang_dim
\NewDocumentCommand{\BigFloatOffset}{O{}}{ \let\BigFloatOffset\c_BigFloat_offset_fp
\str_if_empty:NTF #1 {
\fp_use:N \c_BigFloat_offset_fp
} {
\fp_set:Ne \c_BigFloat_offset_fp {#1}
}
}
\dim_new:N \l_BigFloat_workoverhang_dim \dim_new:N \l_BigFloat_workoverhang_dim

View File

@@ -51,7 +51,6 @@
% Main font: Roboto Serif (Light) % Main font: Roboto Serif (Light)
\setmainfont{RobotoSerif}[ \setmainfont{RobotoSerif}[
%Path = {\fontpath/},
Extension = .ttf, Extension = .ttf,
UprightFont = *-Light, UprightFont = *-Light,
BoldFont = *-SemiBold, BoldFont = *-SemiBold,
@@ -62,7 +61,6 @@
% % Sans serif font: Roboto (Medium). % % Sans serif font: Roboto (Medium).
\setsansfont{Roboto}[ \setsansfont{Roboto}[
%Path = {\fontpath/},
Extension = .ttf, Extension = .ttf,
UprightFont = *-Medium, UprightFont = *-Medium,
BoldFont = *-Bold, BoldFont = *-Bold,
@@ -73,7 +71,6 @@
% Monospace font: Roboto Mono % Monospace font: Roboto Mono
\setmonofont{RobotoMono}[ \setmonofont{RobotoMono}[
%Path = {\fontpath/},
Extension = .ttf, Extension = .ttf,
UprightFont = *-Regular, UprightFont = *-Regular,
BoldFont = *-Bold, BoldFont = *-Bold,
@@ -84,7 +81,6 @@
% Headings & Titles font: Roboto Slab (Semibold). % Headings & Titles font: Roboto Slab (Semibold).
\newfontfamily{\sbfamily}{RobotoSlab}[ \newfontfamily{\sbfamily}{RobotoSlab}[
%Path = {\fontpath/},
Extension = .ttf, Extension = .ttf,
UprightFont = *-SemiBold, UprightFont = *-SemiBold,
BoldFont = *-Black, BoldFont = *-Black,
@@ -97,9 +93,9 @@
% \setmathrm{RobotoSerif} % \setmathrm{RobotoSerif}
\NewDocumentCommand{\serif}{+m}{{\rmfamily#1}} \NewDocumentCommand{\serif}{+m}{{\rmfamily{}#1}}
\NewDocumentCommand{\sans}{+m}{{\sffamily#1}} \NewDocumentCommand{\sans}{+m}{{\sffamily{}#1}}
\NewDocumentCommand{\mono}{+m}{{\ttfamily{#1}}} \NewDocumentCommand{\mono}{+m}{{\ttfamily{}#1}}
\NewDocumentCommand{\slab}{+m}{{\sbfamily{}#1}} \NewDocumentCommand{\slab}{+m}{{\sbfamily{}#1}}
\NewDocumentCommand{\code}{+m}{\mono{\small{}#1}} \NewDocumentCommand{\code}{+m}{\mono{\small{}#1}}
@@ -111,6 +107,12 @@
% Line-breaking dot. % Line-breaking dot.
\NewDocumentCommand{\bdot}{}{.\zws} \NewDocumentCommand{\bdot}{}{.\zws}
% Bullets for itemize lists.
\renewcommand{\labelitemi}{▪}
\renewcommand{\labelitemii}{⬩}
\renewcommand{\labelitemiii}{‣}
\renewcommand{\labelitemiv}{•}
%--------------------------- MenuKeys Configuration ---------------------------- %--------------------------- MenuKeys Configuration ----------------------------
\newmenucolortheme{autoModeColor}{named}{pageColor}{textColor}{textColor}[pageColor][textColor][textColor] \newmenucolortheme{autoModeColor}{named}{pageColor}{textColor}{textColor}[pageColor][textColor][textColor]

View File

@@ -12,6 +12,8 @@
\setlength{#1}{#2}% \setlength{#1}{#2}%
} }
\let\FPToDim\fp_to_dim:n
% Redefine the commands geometry uses to draw the page frame to customize the % Redefine the commands geometry uses to draw the page frame to customize the
% color. % color.
\renewcommand{\Gm@vrule}{\color{layoutColor}\vrule width 0.2pt height\textheight depth\z@} \renewcommand{\Gm@vrule}{\color{layoutColor}\vrule width 0.2pt height\textheight depth\z@}