在我的某些文档中,引号显示不正确。例如,在写下“word”时,单词通常会被格式化为两个反向反引号。
我的其他一些文件没有出现同样的问题。我通常会重复使用我的标题。我尝试通过排除法来找出标题的哪个部分导致了这种情况,但到目前为止还没有成功。我的标题变得越来越杂乱无章,很多时候甚至包含文档未调用的包和样式。
我在此提供一份出现此问题的文档标题:
\documentclass[12pt]{article}
\usepackage{geometry}
\geometry{letterpaper}
\usepackage{graphicx}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{epstopdf}
\usepackage{txfonts}
\usepackage{enumerate}
\usepackage[autostyle]{csquotes}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows,positioning}
\tikzstyle{int}=[draw, minimum size=2em]
\tikzstyle{init} = [pin edge={to-,thin,black}]
\usepackage{mathpazo}
\usepackage{lettrine}
\DeclareGraphicsRule{.tif}{png}{.png}{`convert #1 `dirname #1`/`basename #1 .tif`.png}
\DeclareMathSymbol{\boxright}{\mathrel}{symbolsC}{128}
\DeclareMathOperator*{\Max}{Max}
\usepackage[round]{natbib}
\def\Vox{$^{\fbox {\/}}$}
\def\dalem{\mbox{\Vox}}
\def\prom{
\newtheorem{prop}{Proposition}[section]
\newtheorem{cor}[prop]{Corollary}
\newtheorem{lem}[prop]{Lemma}
\newtheorem{exa}[prop]{Example}
\newtheorem{sch}[prop]{Scholium}
\newtheorem{rem}[prop]{Remark}
\newtheorem{axi}[prop]{Axiom System}
\newtheorem{con}[prop]{Conjecture}
\newtheorem{theor}[prop]{Theorem}
\newtheorem{cla}[prop]{Claim}
\newtheorem{hypo}[prop]{Hypothesis}
\newtheorem{tef}[prop]{Definition}}
\pagestyle {myheadings}
\prom
\tikzset
{
box/.style={rectangle,rounded corners,draw=black, very thick, text width=7.5em, minimum height=2em,text centered},
}
\title{XXX}
\author{XXX}
\date{\today}
\begin{document}
抱歉造成您的不便。提前致以最诚挚的谢意。
答案1
删除该mathpazo
包并包含babel
USenglish 后,我得到了想要的结果,没有任何错误或警告。
\documentclass[12pt]{article}
\usepackage[USenglish]{babel}
\usepackage{geometry}
\geometry{letterpaper}
\usepackage{graphicx}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{epstopdf}
\usepackage{txfonts}
\usepackage{enumerate}
\usepackage[autostyle]{csquotes}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows,positioning}
\tikzstyle{int}=[draw, minimum size=2em]
\tikzstyle{init} = [pin edge={to-,thin,black}]
%\usepackage{mathpazo}
\usepackage{lettrine}
\DeclareGraphicsRule{.tif}{png}{.png}{`convert #1 `dirname #1`/`basename #1 .tif`.png}
\DeclareMathSymbol{\boxright}{\mathrel}{symbolsC}{128}
\DeclareMathOperator*{\Max}{Max}
\usepackage[round]{natbib}
\def\Vox{$^{\fbox {\/}}$}
\def\dalem{\mbox{\Vox}}
\def\prom{
\newtheorem{prop}{Proposition}[section]
\newtheorem{cor}[prop]{Corollary}
\newtheorem{lem}[prop]{Lemma}
\newtheorem{exa}[prop]{Example}
\newtheorem{sch}[prop]{Scholium}
\newtheorem{rem}[prop]{Remark}
\newtheorem{axi}[prop]{Axiom System}
\newtheorem{con}[prop]{Conjecture}
\newtheorem{theor}[prop]{Theorem}
\newtheorem{cla}[prop]{Claim}
\newtheorem{hypo}[prop]{Hypothesis}
\newtheorem{tef}[prop]{Definition}}
\pagestyle {myheadings}
\prom
\tikzset
{
box/.style={rectangle,rounded corners,draw=black, very thick, text width=7.5em, minimum height=2em,text centered},
}
\title{XXX}
\author{XXX}
\date{\today}
\begin{document}
Do not be alarmed. This is a `kindness'.
\end{document}