I have been using a good command to enumerate my exercise list's. But now I would like the exercise number appeared in the enumeration list in addition with hyperref command. How could to do this? Is it possible? Thanks a lot.
Here is a minimum example.
\documentclass[a4paper,brazil, 12pt]{report}%{\article}
\usepackage{amsmath,amsfonts,amscd,bezier}
\usepackage{amssymb}
\usepackage{babel}
\usepackage[latin1]{inputenc}
\usepackage{color}
\usepackage{hyperref}
\usepackage[shortlabels]{enumitem}
\usepackage{multicol}
\usepackage{tasks}
\newcounter{theeq} \setcounter{theeq}{0}
\newcommand{\eq}{
\
\noindent
\refstepcounter{theeq}\textbf{\arabic{theeq}}. }
\begin{document}
\eq {\label{eq1}} Let $f: \mathbb{R} \to \mathbb{R}$ a function
\begin{enumerate}[$(\ref{eq1}. \ a)$, leftmargin=3.0em]
\item {\label{eq1a}} Prove that...
\item Next ...
\end{enumerate}
\eq XXXX
\begin{enumerate}[$(a)$, leftmargin=3.0em]
\item Prove that...
\item Next ...
\end{enumerate}
\eq Consider in exercise \ref{eq1a} bla bla bla.
\end{document}