From 27e9bc3254208a3161b66431767befdc660f4bec Mon Sep 17 00:00:00 2001 From: Benjamin Mako Hill Date: Sun, 12 Apr 2026 21:11:28 -0700 Subject: [PATCH] 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 --- assignment_template/mako-mem.sty | 9 --------- paper_template/cdsc-memoir.sty | 4 ---- 2 files changed, 13 deletions(-) diff --git a/assignment_template/mako-mem.sty b/assignment_template/mako-mem.sty index d8f9fd7..6f5905f 100644 --- a/assignment_template/mako-mem.sty +++ b/assignment_template/mako-mem.sty @@ -21,9 +21,6 @@ % >> article-1 << \makechapterstyle{article-1}{ - \renewcommand{\rmdefault}{ugm} - \renewcommand{\sfdefault}{phv} - \setsecheadstyle{\large\scshape} \setsubsecheadstyle{\normalsize\itshape} \renewcommand{\printchaptername}{} @@ -60,9 +57,6 @@ % >> article-2 << \makechapterstyle{article-2}{ - \renewcommand{\rmdefault}{ugm} - \renewcommand{\sfdefault}{phv} - \setsecheadstyle{\large\scshape} \setsubsecheadstyle{\normalsize\itshape} \setaftersubsubsecskip{-1em} @@ -118,9 +112,6 @@ % >> article-3 << \makechapterstyle{article-3}{ - \renewcommand{\rmdefault}{ugm} - \renewcommand{\sfdefault}{phv} - \setsecheadstyle{\large\sffamily\bfseries\MakeUppercase} \setsubsecheadstyle{\normalsize\itshape} \setaftersubsubsecskip{-1em} diff --git a/paper_template/cdsc-memoir.sty b/paper_template/cdsc-memoir.sty index 3735dc5..1c370ef 100644 --- a/paper_template/cdsc-memoir.sty +++ b/paper_template/cdsc-memoir.sty @@ -103,10 +103,6 @@ % put a period after the section numbers \setsecnumformat{\csname the#1\endcsname.\enspace} -% set fonts to garamond and helvetica -\renewcommand{\rmdefault}{ugm} -\renewcommand{\sfdefault}{phv} - % material shared between the two modes \setsubsecheadstyle{\normalsize\itshape}