- 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:
@@ -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]
|
||||
\@tw@hyphenatepaths@warnigfalse % [sic]
|
||||
Reference in New Issue
Block a user