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 -> 构建
在这里插入图片描述

XeLatex移除,添加PdfLatex即可。

  • 13
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 7
    评论
评论 7
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值