18
0

Drop Type-1 font defaults from cdsc-memoir.sty and mako-mem.sty

These set \rmdefault=ugm (URW Garamond) and \sfdefault=phv (Helvetica),
which only take effect under pdflatex. Under the lualatex workflow
adopted elsewhere, text fonts are selected via fontspec in the
template's main .tex file, and these defaults were dead code.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-12 21:11:28 -07:00
parent bd8fa11def
commit 27e9bc3254
2 changed files with 0 additions and 13 deletions

View File

@@ -21,9 +21,6 @@
% >> article-1 << % >> article-1 <<
\makechapterstyle{article-1}{ \makechapterstyle{article-1}{
\renewcommand{\rmdefault}{ugm}
\renewcommand{\sfdefault}{phv}
\setsecheadstyle{\large\scshape} \setsecheadstyle{\large\scshape}
\setsubsecheadstyle{\normalsize\itshape} \setsubsecheadstyle{\normalsize\itshape}
\renewcommand{\printchaptername}{} \renewcommand{\printchaptername}{}
@@ -60,9 +57,6 @@
% >> article-2 << % >> article-2 <<
\makechapterstyle{article-2}{ \makechapterstyle{article-2}{
\renewcommand{\rmdefault}{ugm}
\renewcommand{\sfdefault}{phv}
\setsecheadstyle{\large\scshape} \setsecheadstyle{\large\scshape}
\setsubsecheadstyle{\normalsize\itshape} \setsubsecheadstyle{\normalsize\itshape}
\setaftersubsubsecskip{-1em} \setaftersubsubsecskip{-1em}
@@ -118,9 +112,6 @@
% >> article-3 << % >> article-3 <<
\makechapterstyle{article-3}{ \makechapterstyle{article-3}{
\renewcommand{\rmdefault}{ugm}
\renewcommand{\sfdefault}{phv}
\setsecheadstyle{\large\sffamily\bfseries\MakeUppercase} \setsecheadstyle{\large\sffamily\bfseries\MakeUppercase}
\setsubsecheadstyle{\normalsize\itshape} \setsubsecheadstyle{\normalsize\itshape}
\setaftersubsubsecskip{-1em} \setaftersubsubsecskip{-1em}

View File

@@ -103,10 +103,6 @@
% put a period after the section numbers % put a period after the section numbers
\setsecnumformat{\csname the#1\endcsname.\enspace} \setsecnumformat{\csname the#1\endcsname.\enspace}
% set fonts to garamond and helvetica
\renewcommand{\rmdefault}{ugm}
\renewcommand{\sfdefault}{phv}
% material shared between the two modes % material shared between the two modes
\setsubsecheadstyle{\normalsize\itshape} \setsubsecheadstyle{\normalsize\itshape}