diff --git a/README.md b/README.md index f18b53b..8034faa 100644 --- a/README.md +++ b/README.md @@ -2,13 +2,13 @@ A $\LaTeX$ library for Prime Controls documents. -To use this library, either copy the PrimeTeX folder inside your $\LaTeX$ +To use this library, either copy the PrimeTeX folder inside your $\LaTeX$ project or include this repository as a Git submodule. ## Classes - Manual -- Submittal +- Submittal (WIP) ## 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. \ No newline at end of file diff --git a/packages/Floats.sty b/packages/Floats.sty index 71c02bf..7811f70 100644 --- a/packages/Floats.sty +++ b/packages/Floats.sty @@ -43,14 +43,8 @@ \str_const:Nn \c_BigFloat_type_str {generic} \fp_const:Nn \c_BigFloat_offset_fp {2.0} -\ProvideLength{\BigFloatOverhang}[\dim_use:N \c_BigFloat_overhang_dim] -\NewDocumentCommand{\BigFloatOffset}{O{}}{ - \str_if_empty:NTF #1 { - \fp_use:N \c_BigFloat_offset_fp - } { - \fp_set:Ne \c_BigFloat_offset_fp {#1} - } -} +\let\BigFloatOverhang\c_BigFloat_overhang_dim +\let\BigFloatOffset\c_BigFloat_offset_fp \dim_new:N \l_BigFloat_workoverhang_dim diff --git a/packages/Fonts.sty b/packages/Fonts.sty index b19c09b..dce7ed8 100644 --- a/packages/Fonts.sty +++ b/packages/Fonts.sty @@ -51,7 +51,6 @@ % Main font: Roboto Serif (Light) \setmainfont{RobotoSerif}[ - %Path = {\fontpath/}, Extension = .ttf, UprightFont = *-Light, BoldFont = *-SemiBold, @@ -62,7 +61,6 @@ % % Sans serif font: Roboto (Medium). \setsansfont{Roboto}[ - %Path = {\fontpath/}, Extension = .ttf, UprightFont = *-Medium, BoldFont = *-Bold, @@ -73,7 +71,6 @@ % Monospace font: Roboto Mono \setmonofont{RobotoMono}[ - %Path = {\fontpath/}, Extension = .ttf, UprightFont = *-Regular, BoldFont = *-Bold, @@ -84,7 +81,6 @@ % Headings & Titles font: Roboto Slab (Semibold). \newfontfamily{\sbfamily}{RobotoSlab}[ - %Path = {\fontpath/}, Extension = .ttf, UprightFont = *-SemiBold, BoldFont = *-Black, @@ -97,9 +93,9 @@ % \setmathrm{RobotoSerif} -\NewDocumentCommand{\serif}{+m}{{\rmfamily#1}} -\NewDocumentCommand{\sans}{+m}{{\sffamily#1}} -\NewDocumentCommand{\mono}{+m}{{\ttfamily{#1}}} +\NewDocumentCommand{\serif}{+m}{{\rmfamily{}#1}} +\NewDocumentCommand{\sans}{+m}{{\sffamily{}#1}} +\NewDocumentCommand{\mono}{+m}{{\ttfamily{}#1}} \NewDocumentCommand{\slab}{+m}{{\sbfamily{}#1}} \NewDocumentCommand{\code}{+m}{\mono{\small{}#1}} @@ -111,6 +107,12 @@ % Line-breaking dot. \NewDocumentCommand{\bdot}{}{.\zws} +% Bullets for itemize lists. +\renewcommand{\labelitemi}{▪} +\renewcommand{\labelitemii}{⬩} +\renewcommand{\labelitemiii}{‣} +\renewcommand{\labelitemiv}{•} + %--------------------------- MenuKeys Configuration ---------------------------- \newmenucolortheme{autoModeColor}{named}{pageColor}{textColor}{textColor}[pageColor][textColor][textColor] @@ -147,4 +149,4 @@ \NewDocumentCommand{\TabKey}{}{\keys{\TabString}} % Suppress warning about obsolete font encodings because we're using Unicode. -\@tw@hyphenatepaths@warnigfalse %[sic] \ No newline at end of file +\@tw@hyphenatepaths@warnigfalse % [sic] \ No newline at end of file diff --git a/packages/Layout.sty b/packages/Layout.sty index 59ef540..4ef91a9 100644 --- a/packages/Layout.sty +++ b/packages/Layout.sty @@ -12,6 +12,8 @@ \setlength{#1}{#2}% } +\let\FPToDim\fp_to_dim:n + % Redefine the commands geometry uses to draw the page frame to customize the % color. \renewcommand{\Gm@vrule}{\color{layoutColor}\vrule width 0.2pt height\textheight depth\z@}