I have some special equations in my document that I want to label differently to the rest. I want the to be labelled like (C1), (C2), etc. At the moment all I have managed to do is use
\documentclass{article}
\usepackage{amsmath}
\newcounter{Cequ}
\newenvironment{CEquation}
{\stepcounter{Cequ}%
\addtocounter{equation}{-1}%
\renewcommand\theequation{C\arabic{Cequ}}\equation}
{\endequation}
\begin{document}
\begin{CEquation}\label{equ:1}
a = b.
\end{CEquation}
\begin{equation}
c=d.
\end{equation}
\begin{CEquation}\label{equ:2}
e = f.
\end{CEquation}
As we can see from equations \eqref{equ:1} and \eqref{equ:2}
\end{document}
\documentclass{article}
\usepackage{amsmath}
\newcounter{Cequ}
\newcounter{Caux}
\newenvironment{CEquation}
{\stepcounter{Cequ}%
\addtocounter{equation}{-1}%
\renewcommand\theequation{C\arabic{Cequ}}\equation}
{\endequation}
\newenvironment{CAlign}
{\setcounter{Caux}{\theequation}
\setcounter{equation}{\theCequ}%
\renewcommand\theequation{C\arabic{equation}}
\align}
{\endalign\setcounter{Cequ}{\value{equation}}\setcounter{equation}{\theCaux}}
\begin{document}
\begin{CEquation}\label{equ:1}
a = b.
\end{CEquation}
\begin{equation}
c=d.
\end{equation}
\begin{CEquation}\label{equ:2}
e = f.
\end{CEquation}
\begin{CAlign}
e &= f \label{equ:4} \\
&= g \label{equ:5}.
\end{CAlign}
\begin{equation}
c=d.
\end{equation}
\begin{CEquation}\label{equ:6}
e = f.
\end{CEquation}
\begin{equation}\label{equ:7}
c=d.
\end{equation}
As we can see from equations \eqref{equ:1} and \eqref{equ:2}
\end{document}