简体   繁体   English

标签方程式不适用于文档类别报告

[英]Label equation not working with document class report

Hi I am using the class report ( my University wants me to use it ) , but I cannot label any equation . 嗨,我正在使用课堂报告(我的大学希望我使用它),但是我无法标记任何方程式。 An except of my code : 我的代码除外:

\documentclass[12pt,a4paper]{report}
\usepackage{graphicx}
\graphicspath{ {Home/} }
\usepackage{newlfont}
\usepackage{color}
\usepackage{mathtools} 
\usepackage{amsmath}
\usepackage{cool}
\usepackage{esdiff}
\begin{document}
\begin{document}
\begin{equation} \label{eq:1}
x(t+\Delta) = x(to) + \int_{to}^{to+\Delta} f(x,t) dt 
\end{equation}
\end{document}

What are you calling label? 你叫什么标签? With your code, the equation will be correctly numbered with (1) at the end. 使用您的代码,方程式的末尾将正确编号为(1)。

If you want to call it later in the code, add for example 如果要稍后在代码中调用它,请添加例如

considering Eq.~(\ref{eq:1}) blablabla

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM