我剛剛測試了老師留給我的模板,就遇到了編譯錯誤。調試程式碼後,我開始隔離問題,該問題是由與 phv 來源相關的內容給出的,但我無法確定原因。根據 miktex 的說法,所有必要的依賴項都已安裝並且是最新的,所以我覺得知道出了什麼問題很奇怪。我把我隔離的部分和相應的日誌留給你
\documentclass[spanish,12pt,a4paper]{book}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[spanish,activeacute]{babel}
\begin{document}
\fontfamily{phv}\selectfont{\large \textbf{Nombre}}
\end{document}
紀錄
LaTeX Font Info: Trying to load font information for T1+phv on input line 9.
("/Users/jose/Library/Application Support/MiKTeX/texmfs/install/tex/latex/psnfss/t1phv.fd"
File: t1phv.fd 2020/03/25 scalable font definitions for T1/phv.
) [1{/Users/jose/Library/Application Support/MiKTeX/texmfs/data/pdftex/config/pdftex.map}
非常感謝!