my friends, I have several problems with cross-referencing by cleveref package. when I call this package in my appendix section, the equations are shown as "Appendix A.2 and Appendix A.2" instead of "Equations (A.5) and (A.8)". The attached images show what I typed and what I produced. How can I solve this problem?
This is a sample which generates the same problem
\documentclass[review]{article}
\usepackage[hyperfootnotes=false,raiselinks=true,colorlinks,linktoc=all]{hyperref}
\usepackage{amsmath}
\usepackage{nicefrac}
\usepackage{cleveref}
\begin{document}
\section{Bibliography styles}
There are various bibliography styles available. You can select the style of your choice in the preamble of this document. These styles are Elsevier styles based on standard styles like Harvard and Vancouver. Please use Bib\TeX\ to generate your bibliography and include DOIs whenever available.
\begin{appendix}
\setcounter{table}{1} \renewcommand{\thetable}{\Roman{table}}
\section{Turbulence models} \label{appendix:1}
In this section, the governing and model equations for three turbulence models: the zonal $k-\varepsilon$, the linear low-Reynolds $k-\varepsilon$, and the nonlinear low-Reynolds $k-\varepsilon$ are presented. Also, the relations of Yap length-scale correction term and its new differential form are given.
\subsection{Mean flow equations}
For the incompressible flow in steady state condition, the conservation laws of mass, momentum, and energy can be written as
Continuity:
\begin{eqnarray}
\frac{ \partial U_{i}}{ \partial x_{i}}=0,
\label{eq:A-1}
\end{eqnarray}
Momentum:
\begin{eqnarray}
\frac{ \partial \left( U_{j}U_{i} \right) }{ \partial x_{j}}=-\frac{1}{ \rho }\frac{ \partial P}{ \partial x_{i}}+\frac{ \partial }{ \partial x_{j}} \left( \nu \frac{ \partial U_{i}}{ \partial x_{j}}-\overline{u_{i}u_{j}}\right),
\label{eq:A-2}
\end{eqnarray}
Energy:
\begin{eqnarray}
\frac{ \partial \left( U_{j} \Theta \right) }{ \partial x_{j}}=\frac{ \partial }{ \partial x_{j}} \left( \frac{ \nu }{Pr}\frac{ \partial \Theta }{ \partial x_{j}}-\overline{u_{j} \theta } \right).
\label{eq:A-3}
\end{eqnarray}
where the first order tensor $- \rho c_{p} \overline{u_{j} \theta}$ and the second order tensor $-\rho \overline{u_{i}u_{j}}$ are the unknown turbulent heat flux and Reynolds stresses, respectively. These variables should be determined by turbulence modeling.
\subsection{Zonal $k-\varepsilon$ model}
In this turbulence model, the Reynolds stresses and heat flux are obtained by eddy-viscosity and eddy-diffusivity approximations, as follows
\begin{eqnarray}
\overline{u_{i}u_{j}}={2}\big/{3} \delta _{ij}k-\nu _{t} \left( \frac{ \partial U_{i}}{ \partial x_{j}}+\frac{ \partial U_{j}}{ \partial x_{i}} \right),
\label{eq:A-4}
\end{eqnarray}
\begin{eqnarray}
\overline{u_{i} \theta }=-\frac{ \nu _{t}}{ \sigma _{ \theta }}\frac{ \partial \Theta }{ \partial x_{i}},
\label{eq:A-5}
\end{eqnarray}
where the turbulent viscosity, $\nu_t$, is obtained from
\begin{eqnarray}
\nu _{t}=c_{ \mu }\frac{k^{2}}{ \varepsilon }.
\label{eq:A-6}
\end{eqnarray}
To obtain $\nu _{t}$, the computational domain is divided into two regions: the fully turbulent region and the low-Reynolds number near wall region. Inside the fully turbulent region, the standard high Reynolds $k-\varepsilon$ model is employed. In this turbulence model, the transport equations for turbulent kinetic energy and its dissipation rate are written as
\begin{eqnarray}
\frac{ \partial }{ \partial x_{j}} \left( U_{j}k \right) =\frac{ \partial }{ \partial x_{j}} \left[ \left( \frac{ \nu _{t}}{ \sigma _{k}} \right) \frac{ \partial k}{ \partial x_{j}} \right] +P_{k}- \varepsilon,
\label{eq:A7}
\end{eqnarray}
\begin{eqnarray}
\frac{ \partial }{ \partial x_{j}} \left( U_{j} \varepsilon \right) =\frac{ \partial }{ \partial x_{j}} \left[ \left( \frac{ \nu _{t}}{ \sigma _{ \varepsilon }} \right) \frac{ \partial \varepsilon }{ \partial x_{j}} \right] +c_{ \varepsilon 1}\frac{ \varepsilon }{k}P_{k}-c_{ \varepsilon 2}\frac{ \varepsilon ^{2}}{k},
\label{eq:A-8}
\end{eqnarray}
where the turbulent kinetic energy production term, $P_{k}$, is given by
\begin{eqnarray}
P_{k}=-\overline{u_{i}u_{j}}\frac{ \partial U_{i}}{ \partial x_{j}}.
\label{eq:A-9}
\end{eqnarray}
The coefficients in \Cref{eq:A-5,eq:A-8} Equations~\eqref{eq:A-5} and~\eqref{eq:A-8} are given in \autoref{tab:A-2}. For modeling the near wall region, a low-Reynolds number one-equation model is used. In this model, the required transport equation for turbulent kinetic energy is the same as to \autoref{eq:A7}.
On the other hand, the dissipation rate, $\varepsilon$, is obtained from the following algebraic relation
\label{appendix}
\end{appendix}
\end{document}
cleveref
for the appendix works normally just fine, please add a MWE that demonstrates your problem.eqnarray
, don't: it's known to be incompatible with bothhyperref
andcleveref
. Useequation
for single equations andalign
for multiple equations.