- Replace all \newcommands with \NewDocumentCommand.
- Add Ragged2e dependency for better alignment options. - Refine marginalia, widow control.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
% Specify Fonts
|
||||
\RequirePackage{fontspec}
|
||||
|
||||
\newcommand{\fontpath}{PrimeTeX/fonts}
|
||||
\NewDocumentCommand{\fontpath}{}{PrimeTeX/fonts}
|
||||
|
||||
% Main font: Roboto Serif
|
||||
\setmainfont{RobotoSerif}[
|
||||
@@ -48,13 +48,13 @@
|
||||
BoldItalicFont = RobotoSerif/RobotoSerif-ExtraBoldItalic,
|
||||
]
|
||||
|
||||
\newcommand{\serif}[1]{\textrm{#1}}
|
||||
\newcommand{\sans}[1]{\textsf{#1}}
|
||||
\newcommand{\mono}[1]{\texttt{#1}}
|
||||
\newcommand{\slab}[1]{{\sbfamily{}#1}}
|
||||
\newcommand{\code}[1]{\mono{\small{}#1}}
|
||||
\NewDocumentCommand{\serif}{m}{\textrm{#1}}
|
||||
\NewDocumentCommand{\sans}{m}{\textsf{#1}}
|
||||
\NewDocumentCommand{\mono}{m}{\texttt{#1}}
|
||||
\NewDocumentCommand{\slab}{m}{{\sbfamily{}#1}}
|
||||
\NewDocumentCommand{\code}{m}{\mono{\small{}#1}}
|
||||
|
||||
\newcommand{\objref}[1]{{\sans{\strong{#1}}}}
|
||||
\NewDocumentCommand{\objref}{m}{{\sans{\strong{#1}}}}
|
||||
|
||||
|
||||
\RequirePackage{amssymb}
|
||||
Reference in New Issue
Block a user