i was looking for a continuous numbering in my document (currently a letter). So i defined a number:
\declaretheoremstyle[headfont=\scshape]{receiptstyle}
\declaretheorem[style=receiptstyle]{receipt}
So here i get my exprected enumeration in a text:
\section{income}
\subsection{income GroovyMan}
\begin{receipt}
\href{run:/doc/tax/groovyManPayroll.pdf}{income of a underrated superhero}
\end{receipt}
\subsection{income GroovyWoman}
\begin{receipt}
\href{run:/doc/tax/groovyWomanPayroll.pdf}{income of the best woman}
\end{receipt}
% ...
Smokin ... that was the feature i was looking for, and now for some completly different:
\begin{tabular}{||c|l|r|r||}\hline \hline
\begin{receipt}
not working
\end{receipt} & elle & err & err \\ \hline
This does not work, i tried \receipt but it also failed. It seems, that the scope of receipt stops before the table. Any ideas?
While i was playing with this, i got the implression, that the receipt is beeing called, cause in one case the number was increased, but i am not really sure.