I'm using the "flashcards" document class and I want to implement an automatic numbering in the front part, such that, for example, when I write:
\documentclass[avery5388,grid,frame]{flashcards}
\cardfrontstyle[\large\slshape]{headings}
\begin{document}
\begin{flashcard}[Definition]{Something}
Text
\end{flashcard}
\end{document}
it gets rendered to "Definition (i)", where "i" is the flashcard's number in the document.
For now I tried to create a custom counter, and manually writing the code to show it inside the [Definition]
part of the flashcard's command, but it is unpractical in the long run.
Is there a better way to do it?
flashcard
class is a little bit aged, dating back to 2000 and scarce updates.tcolorbox
package with itstcbraster
library, however