Latex編譯出現字體獲取不到的情況


Latex編譯出現字體獲取不到的情況

 

問題描述

使用Texstudio時,出現如下錯誤:

Font shape `TU/ptm/m/n' undefined(Font) using `TU/lmr/m/n' instead
Font shape `TU/ptm/bx/n' undefined(Font) using `TU/ptm/m/n' instead
Font shape `TU/ptm/m/it' undefined(Font) using `TU/ptm/m/n' instead
Font shape `TU/ptm/bx/it' undefined(Font) using `TU/ptm/bx/n' instead
Label `model' multiply defined.
Underfull \hbox (badness 2103) in paragraph
Font shape `TU/ptm/m/sc' undefined(Font) using `TU/ptm/m/n' instead
Citation `bibid' on page 1 undefined
Citation `bibid' on page 1 undefined
Overfull \hbox (9.87708pt too wide) in paragraph
Citation `bibid' on page 5 undefined
Overfull \hbox (31.744pt too wide) in paragraph
Overfull \hbox (21.80803pt too wide) in paragraph
Overfull \hbox (21.80803pt too wide) in paragraph
Overfull \hbox (21.80803pt too wide) in paragraph
Underfull \hbox (badness 3623) in paragraph
Underfull \hbox (badness 3492) in paragraph
Some font shapes were not available, defaults substituted.
There were undefined references.
There were multiply-defined labels.

簡單的說就是,某種字體找不到,但是在投稿的指導文件間並沒有強調需要特別安裝某種字體,所以我又用miktex進行編譯,發現通過了,仔細查看了編譯配置選項,發現miktex使用PdfLatex.exe進行編譯,而texstudio中,默認使用XeLatex(這里可能是因為我聽說XeLatex對中文支持較好,以前改過配置,-_-||自己坑自己)

解決辦法

Texstudio 中 選項 -> 設置Texstudio -> 構建

在這里插入圖片描述
將XeLtax移除,添加PdfLatex即可。
---------------------
作者:strange_jiong
來源:CSDN
原文:https://blog.csdn.net/dream_allday/article/details/84997874
版權聲明:本文為博主原創文章,轉載請附上博文鏈接!


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM