![在类中添加几何选项会导致出现“未使用的全局选项”警告](https://linux22.com/image/420579/%E5%9C%A8%E7%B1%BB%E4%B8%AD%E6%B7%BB%E5%8A%A0%E5%87%A0%E4%BD%95%E9%80%89%E9%A1%B9%E4%BC%9A%E5%AF%BC%E8%87%B4%E5%87%BA%E7%8E%B0%E2%80%9C%E6%9C%AA%E4%BD%BF%E7%94%A8%E7%9A%84%E5%85%A8%E5%B1%80%E9%80%89%E9%A1%B9%E2%80%9D%E8%AD%A6%E5%91%8A.png)
Unused global option(s):[showframe]
虽然选项已传递给geometry
包,但这个小例子仍会引发警告
\documentclass[showframe]{article}
\usepackage{geometry}
\begin{document}
text
\end{document}
相同示例不会产生带有graphicx
包的警告
\documentclass[demo]{article}
\usepackage{graphicx}
\begin{document}
\includegraphics[width=5cm]{image}
\end{document}