Mohamed HOUSSNI wrote: > it's: \def\captionof#1#2{{\def\@captype{#1}#2}} > instead of: \def\@captionof#1#2{{\def\@captype{#1}#2}} That works great, Mohamed! Thank you very much! -Peter