我刚刚.tex
使用命令从 shell 编译了一个文件latex
,看起来整个文件的文本都经过了一些奇怪的替换密码。部分输出.dvi
如下:
如您所见,数学模式基本没问题,但文本却乱码了。我做错了什么?
更新:以下代码在使用 编译时会产生上图的效果latex
。
\documentclass{article}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{times}
\usepackage{url}
\usepackage{amsmath}
\usepackage{alltt}
\usepackage[final]{graphicx}
\begin{document}
\subsubsection{Tandem mismatches effect}
The tandem mismatches (two adjacent mismatches) are taken into account but
the two first and positions cannot
be mismatched. Moreover the thermodynamic parameters are still not
available for every possible cases.
In such a case, the program, unable to compute any relevant result, will
quit with a warning.
For DNA duplexes, this program computes the hybridisation enthalpy and entropy from the elementary
parameters of each Crick's pair containing the mismatch(es).
\begin{multline*}
\Delta{}h_\mathrm{tandem-mismatch} =
\delta{}h_\mathrm{Crick's-pair-containing-tandem-mismatch} \\ +
\sum \delta{}h_\mathrm{Crick's-pair-containing-single-mismatch}
\end{multline*}
\end{document}
更新:加载times
包会导致问题。文档
\documentclass{article}
\usepackage{times}
\begin{document}
hello
\end{document}
生产
省略该\usepackage{times}
行将得到您所期望的输出。