What number am I missing the moment I want a subcaption for my subfigure it tells me I'm missing a number for some reason. The error also disappears if I remove the roman counter option.
\documentclass[a4paper,UKenglish]{article}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{subcaption}
\renewcommand{\thesubfigure}{\roman{counter}}
\begin{document}
asdfasdf
\begin{figure}
\centering
\begin{subfigure}[b]{0.45\textwidth}
\includegraphics[scale=0.5]{example-grid-100x100pt}
\caption{asdfsfad}
\end{subfigure}
\begin{subfigure}[b]{0.45\textwidth}
\includegraphics[scale=0.5]{example-grid-100x100pt}
\end{subfigure}
\caption{Caption}
\end{figure}
\end{document}
\end{document}

subfigureandsubcaption-- have a look here -- https://tex.stackexchange.com/questions/19946/missing-number-treated-as-zero?rq=1 – js bibra Dec 13 '20 at 06:05pic1.pngetc, see https://tex.stackexchange.com/questions/231738. Do you know that you can format the code in your question (in the editor)? – Dr. Manuel Kuehner Dec 13 '20 at 06:20\parBut please make yourself familiar with "how to ask questions", at the moment your questions have a very very low quality. https://tex.meta.stackexchange.com/questions/228 and https://stackoverflow.com/help/how-to-ask – Dr. Manuel Kuehner Dec 13 '20 at 06:29