Closed sidibu closed 2 years ago
Providing an Option here would probably mess with the freedom to customize \theFancyVerbLine
yourself...
For tudalgo anyways, the standardized centered text ensures an uniform look across all documents.
If you want to use the template for other purposes you can just put something similar to this in the preamble:
\renewcommand{\theFancyVerbLine}{\tikz{\node[text width=5mm,inner sep=0pt,text align=right]{\ttfamily\textcolor{white}{\scriptsize\arabic{FancyVerbLine}}};}}
I would like to align the number one to nine, not centered, but on the right-hand side. Could you provide an option argument for the codeBlock environment to configure the alignment of line numbers?