\documentclass[a4paper,11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[greek,english]{babel}
\usepackage{amsmath}
\usepackage{alphabeta} 
\title{title}
\author{egw}
\date{\today}


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


\subsection*{ekfonisi}
na lithi h exisosi~\ref{eq:1}
\begin{equation}\label{eq:1}
x^2-4x-4=0
\end{equation}

\subsection*{sol}
epomenos h lisi einai $x=2$
\end{document}
