Please have a look at this MWE:
\documentclass{JHEP}
\usepackage{fleqn}
\author{me}
\abstract{a}
\title{t}
\begin{document}
\begin{equation}
a = b+1
\end{equation}
\end{document}
however it works, i got warning
inputting
fleqn.clo
instead of obsoletefleqn.sty
What is the difference between .clo and .sty?
If i use fleqn
as a document class option instead of the package, it gets ignored. Why?
My last question, i also got warning
You have requested document class JHEP, but the document class
provides JHEP3.
using this class. Why is that?
Best Answer
This is (apart from an initial banner which is irrelevant) the contents of
fleqn.sty
:This is provided because some people might still have LaTeX 2.09 documents with a
\documentstyle
initial line, where packages were given as option to this command and needed, for this, the.sty
extension.Don't load this file if you're using a specialized class such as
JHEP
that is meant for submissions to a journal. Either the class provides support for thefleqn
option or not, in which case the journal managers won't be happy if you use it.Actually, the class supports the option, because it has
followed by
which simply will tell you that the option is ignored. Loading
fleqn.clo
anyway would probably result in something bad.Finally the warning you get is because the class is named
JHEP.cls
, but it hasThus it's their fault.