I am trying to add a colon after item number in enumerated list but this produces an error.
Here is my normal MWE:
\documentclass[a4paper]{article}
\usepackage[utf8]{inputenc}%
\usepackage[T1]{fontenc}%
\newenvironment{xenumerate}%
{\begin{enumerate}\renewcommand\labelenumi{§\theenumi}}%
{\end{enumerate}}%
\begin{document}
\begin{xenumerate}
\item first
\item second
\end{xenumerate}
\end{document}
Works like a charm. When I add colon after it it produces different errors:
\documentclass[a4paper]{article}
\usepackage[utf8]{inputenc}%
\usepackage[T1]{fontenc}%
\newenvironment{xenumerate}%
{\begin{enumerate}\renewcommand\labelenumi{§\theenumi\colon}}%
{\end{enumerate}}%
\begin{document}
\begin{xenumerate}
\item first
\item second
\end{xenumerate}
\end{document}
Anyone has an idea how I solve this but without using packages like enumerate and enumitem because they clash with some other things I have?

\renewcommand\labelenumi{§\theenumi:}}? – leandriis Feb 22 '18 at 11:08\colonis not working – stx932 Feb 22 '18 at 11:22