这件事突然发生,我不记得做过任何事来解决这个问题。我使用的是 TeX Live 和 pdfLaTeX,当我编译问题时,符号看起来不对劲,好像它们没有完全对齐。知道是什么引发了这种情况吗?示例:
这是代码,但是我尝试过其他类,仍然得到相同的渲染。我还尝试删除文本空间的设置,但没有任何效果。
\documentclass[12pt,a4wide]{amsart}
\usepackage{amsmath, amsfonts, amssymb, amsthm, mathrsfs, mathtools, mathalfa}
\usepackage{comment}
%\usepackage{yfonts}
\usepackage{subfigure}
\usepackage{matlab-prettifier}
\usepackage{enumerate}
\usepackage{enumitem}
\usepackage{stmaryrd}
\usepackage{fancyhdr}
\usepackage{bm}
\usepackage[utf8]{inputenc}
\usepackage[pdfencoding=auto, hyperfootnotes=false]{hyperref}
\usepackage{tikz,tikz-cd}
\usepackage[hang,flushmargin]{footmisc}
\usepackage{graphicx}
\usepackage{xr}
\usepackage{extarrows}
\usepackage[dvistyle, colorinlistoftodos]{todonotes}
\usetikzlibrary{matrix}
\tikzset{stretch/.initial=1}
\usetikzlibrary{calc}
\topmargin -0.5 cm
\linespread{1.3}
\evensidemargin 0cm
\oddsidemargin 0cm
\textheight 22.3 cm
\marginparwidth = 55pt
\textwidth 16cm
\setlength{\parindent}{0.7 cm}
\setlength{\footskip}{1.5 cm}
\begin{document}
asdasdasdasd This is a text document. Apparently it looks good but I see the letters a little off.\\
$\Longrightarrow$
\end{document}
这是输出:
这是 pdflatex 终端的输出:
LaTeX Warning: Unused global option(s):
[a4wide].
(./document.aux) (/usr/share/texmf-dist/tex/latex/amsfonts/umsa.fd)
(/usr/share/texmf-dist/tex/latex/amsfonts/umsb.fd)
(/usr/share/texmf-dist/tex/latex/jknapltx/ursfs.fd)
(/usr/share/texmf-dist/tex/latex/stmaryrd/Ustmry.fd)
LaTeX Font Warning: Font shape `U/stmry/b/n' undefined
(Font) using `U/stmry/m/n' instead on input line 35.
(/usr/share/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
) (/usr/share/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base.sty
(/usr/share/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
(/usr/share/texmf-dist/tex/latex/hyperref/nameref.sty
(/usr/share/texmf-dist/tex/latex/refcount/refcount.sty)
(/usr/share/texmf-dist/tex/generic/gettitlestring/gettitlestring.sty))
(./document.out) (./document.out)
Package todonotes Warning: The length marginparwidth is less than 2cm and will
most likely cause issues with the appearance of inserted todonotes. The issue c
an be solved by adding a line like \setlength {\marginparwidth }{2cm} prior to
loading the todonotes package. on input line 35.
(/usr/share/texmf-dist/tex/generic/stringenc/se-pdfdoc.def) [1
pdfTeX warning: pdflatex (file pdftex.map): cannot open font map file
] (./document.aux)
LaTeX Font Warning: Some font shapes were not available, defaults substituted.
)
Output written on document.pdf (1 page, 11597 bytes).
Transcript written on document.log.