\neq 打印为 '='

\neq 打印为 '='

当我尝试\neq输出时,它看起来像=。我发现了一个类似的问题 -\neq(不等于)命令不再起作用。这看起来不像我的情况(详情见下文),而且无论如何都不知道如何遵循指示(“\changenotsign加载后出现问题。” - 如果我将此命令放在我的任何命令之后,\usepackage{...}我都会收到错误)。

我的问题的一个例子:

    %% Based on a TeXnicCenter-Template by Gyorgy SZEIDL.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%------------------------------------------------------------
%
\documentclass{amsart}
%

\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
%------------------------------------------------------------
% Theorem like environments
%
\newtheorem{theorem}{Theorem}
\theoremstyle{plain}
\newtheorem{acknowledgement}{Acknowledgement}
\newtheorem{algorithm}{Algorithm}
\newtheorem{axiom}{Axiom}
\newtheorem{case}{Case}
\newtheorem{claim}{Claim}
\newtheorem{conclusion}{Conclusion}
\newtheorem{condition}{Condition}
\newtheorem{conjecture}{Conjecture}
\newtheorem{corollary}{Corollary}
\newtheorem{criterion}{Criterion}
\newtheorem{definition}{Definition}
\newtheorem{example}{Example}
\newtheorem{exercise}{Exercise}
\newtheorem{lemma}{Lemma}
\newtheorem{notation}{Notation}
\newtheorem{problem}{Problem}
\newtheorem{proposition}{Proposition}
\newtheorem{remark}{Remark}
\newtheorem{solution}{Solution}
\newtheorem{summary}{Summary}
\numberwithin{equation}{section}
%--------------------------------------------------------
\begin{document}
\title[Woo]{Woo}
\author{Blah Blah}
\date{23 January, 2016}


\maketitle

\section{Introduction}\label{se.20.10}
My problem, the following comes out like 'q = t = w'
\begin{equation}
  q \neq t \not= w
\end{equation}


\end{document}

一些闲聊背景:

几乎是新手(多年没做过乳胶了/忘记了大部分)。

我正在使用一个旧模板(TeXnicCenter-Template by Gyorgy SZEIDL)——以前对我来说很有用,所以我想保留它,但我最近将新版 latex 等下载到了我的 ubuntu 14.04 上。也许旧模板和新 latex 不能很好地协同工作?

我正在尝试快速做某件事(谁不会呢),所以如果某些事情看起来有点奇怪/缺点,我很抱歉。

也许应该单独发一篇帖子,但是...在 emacs 中,我曾经在“tex”下拉菜单中有一个“pdflatex”选项,但我记不清如何安装它了。有人能给我指出正确的方向/链接来设置它吗?

谢谢

答案1

听起来这可能是 pdf 编码的问题。通常,使用 而不是 来编译文档可以pdflatex解决latex此类问题。(或者,如果您从编辑器而不是命令行调用 LaTeX,请将编辑器设置为调用 pdflatex 而不是 latex。)

pdflatex 还有许多其他优点,例如此 tex.se 问题及其答案

相关内容