表格中的单词不可读。如何使用正确的编码来显示字符?这是我的代码:
\caption{Generalized search strings for the databases}
\centering
\begin{tabularx}{\columnwidth}{|X|}
\hline
TITLE-ABS-KEY ( "electric* load forecast*" OR "electric* load predicti*" OR "electric* demand forecast*" OR "electric* demand predicti*" ) AND ( LIMIT TO ( PUBSTAGE , "final" ) ) AND ( LIMIT-TO ( SRCTYPE,"j" ) ) AND ( LIMIT-TO ( SUBJAREA , "ENGI" ) OR LIMIT-TO ( SUBJAREA , "COMP" ) OR LIMIT-TO ( SUBJAREA , "ENER" ) ) \\
\hline
\end{tabularx}
\label{tab3}
\end{table}
答案1
您的问题与表格无关,您的文档有非间断空格 U+00A0
\documentclass{article}
\usepackage[T1]{fontenc}
\UseRawInputEncoding
\begin{document}
( "el..
\end{document}
产生
解决方案很简单,删除\UseRawInputEncoding
在普通文档中永远不应使用的,它会禁用 LaTeX 对非 ascii 字符的支持。
\documentclass{article}
\usepackage[T1]{fontenc}
\begin{document}
( "el..
\end{document}
生产