[英]Latex outputs “?figurename?” surrounded by question marks in output file
美好的一天,我在讓 Latex 到 output 成為一個正常的人物名稱時遇到了很多麻煩。 出於某種原因,盡管我沒有指定任何 \figurename,但每個標題都顯示為“?figurename?x”(其中 x 是圖像的編號)。 我試過改變周圍的東西,但它似乎不起作用。
這是我的序言:
\documentclass[smallextended]{svjour3}
\usepackage{mathptmx}
\usepackage{helvet}
\renewcommand*{\proofname}{proof}
\renewcommand{\familydefault}{\rmdefault}
\usepackage[T1]{fontenc}
\usepackage[latin9]{luainputenc}
\usepackage[a4paper]{geometry}
\geometry{verbose,tmargin=3cm,bmargin=3cm,lmargin=3cm,rmargin=3cm,headheight=2cm,headsep=0.5cm}
\pagestyle{empty}
\setlength{\parskip}{\smallskipamount}
\setlength{\parindent}{0pt}
\usepackage{babel}
\usepackage{float}
\usepackage{textcomp}
\usepackage{pdfpages}
\usepackage{amsmath}
\let\proof\relax
\let\endproof\relax
\usepackage{amsthm}
\usepackage{graphicx}
\usepackage[unicode=true,pdfusetitle,
bookmarks=false,
breaklinks=false,pdfborder={0 0 0},pdfborderstyle={},backref=false,colorlinks=false]
{hyperref}
\begin{filecontents*}{example.eps}
gsave
newpath
20 20 moveto
20 220 lineto
220 220 lineto
220 20 lineto
closepath
2 setlinewidth
gsave
.4 setgray fill
grestore
stroke
grestore
\end{filecontents*}
%
\RequirePackage{fix-cm}
%
\smartqed % flush right qed marks, e.g. at end of proof
%
\usepackage{graphicx}
%
\begin{document}
\title{some title}
\subtitle{some subtitle}
\author{Me}
\maketitle
\section{Introduction}
\label{intro1}
\input{input_containing_pictures.tex}
\begin{figure}
\begin{centering}
\includegraphics[scale=0.5]{img/resnetplot}
\par\end{centering}
\caption{Precision-Recall\label{fig:Curves-1}}
\end{figure}
\end{document}
難道我做錯了什么?
最后,我設法找到了錯誤:在我輸入的某處,一堆流氓\selectlanguage{english}
不斷更改文章的默認語言。 語言選項無法確定哪個 \figurename 是正確的,所以它一直向我拋出一個?figurename?。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.