I try to automatise the construction of my flashcards.
I try with \foreach
(tikz) and \forloop
(forloop package), it's not working.
The error is in the two case:
! LaTeX Error: There's no line here to end.
See the LaTeX manual or LaTeX Companion for explanation.
The code :
\documentclass{flacards}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[frenchb]{babel}
\usepackage{forloop}
\begin{document}
\newcounter{ct}
\forloop{ct}{1}{\value{ct} < 11}{
\card{\arabic{ct}}{}
}
\end{document}