From 3258cd2e8268683705c25c2fb011c0f4875b0455 Mon Sep 17 00:00:00 2001 From: "Rifqi D. Panuluh" <69516665+nuluh@users.noreply.github.com> Date: Sun, 5 Oct 2025 11:25:52 +0000 Subject: [PATCH] fix(latex): Add SmallCapsFont fallback for pseudocode package that use \textsc in Times New Roman --- latex/thesis.cls | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/latex/thesis.cls b/latex/thesis.cls index ff07f6b..80ec0d4 100644 --- a/latex/thesis.cls +++ b/latex/thesis.cls @@ -97,7 +97,9 @@ % Fonts \defaultfontfeatures{Ligatures=TeX} -\setmainfont{Times New Roman} +\setmainfont{Times New Roman}[ + SmallCapsFont = {Latin Modern Roman}, % fallback for \textsc +] \setsansfont{Arial} \setmonofont{Courier New}