我对 LaTeX 还很陌生(这是我第一次尝试做任何事情),我一直收到无法读取包的错误。我想知道代码中是否有什么东西搞乱了这一切,或者这更多的是个人设置问题
我安装软件包的代码:
\documentclass[11pt, oneside]{article}
\usepackage{geometry}
\geometry{letterpaper}
\usepackage[parfill]{parskip}
\usepackage{graphicx}
\usepackage{amssymb}
错误信息:
This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live 2024) (preloaded format=pdftex)
restricted \write18 enabled.
entering extended mode
(./DiscreteHomework7.tex./DiscreteHomework7.tex:2: Undefined control sequence.
l.2 \usepackage
{geometry}
?
./DiscreteHomework7.tex:1: Undefined control sequence.
l.1 \documentclass
[11pt, oneside]{article}
?
如有任何帮助我将十分感激。