\documentclass[a4paper,11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[english,greek]{babel}
\usepackage{amsmath}
\usepackage{alphabeta}
\title{title}
\author  {egw}
\date{\today}
\setcounter{secnumdepth}{0}% sta periexomena ta sections

\begin{document}
\maketitle
\tableofcontents
\section{ask 1}

\subsection*{ekfwnhsh}
solve: ~\ref{eq:1}:
\begin{equation}\label{eq:1}
x^2-4x-4=0
\end{equation}

\subsection*{sol}
$x=2$
\end{document} 
