다음을 사용하여 서문의 글꼴을 변경하고 있습니다.
\usepackage{avant}
\renewcommand*\familydefault{\sfdefault} %% Only if the base font of the document is to be sans serif
\usepackage[T1]{fontenc}
하지만 내 minitoc은 여전히 기본 글꼴로 되어 있어요
나는 다음을 사용하여 minitoc을 구현하고 있습니다.
\usepackage{minitoc}
\renewcommand{\mtctitle}{}
\mtcsetfont{minitoc}{*}{}
%minitoc depth
\setcounter{minitocdepth}{3}
\addtocontents{minitoc}{~\hfill\textbf{Page}\par}
\mtcsetfont
하지만 명령 으로 무엇을 해야할지 모르겠습니다.
어떤 아이디어가 있나요?
답변1
LaTeX를 처음 접하는 사람이 이 질문을 우연히 발견한 경우 이 방법이 저에게 도움이 되었습니다...
\usepackage{minitoc}
\renewcommand{\mtifont}{\large\sffamily}
\renewcommand{\mtcfont}{\small\sffamily}
\renewcommand{\mtcSfont}{\small\sffamily}
\renewcommand{\mtcSSfont}{\small\sffamily}
\renewcommand{\mtcSSSfont}{\small\sffamily}