CTAN
Comprehensive TeX Archive Network

An­nounce­ments for fetch­cls

fetch­cls – Fetch the cur­rent class name

With stan­dard you are able to check for the class in use in­vok­ing the ker­nel com­mand \@if­class­loaded. How­ever, do­ing so you can­not get the ex­plicit class name, un­less you want to loop over ev­ery pos­si­ble class name un­til \@if­class­loaded re­turns true — don't do that!

With the help of the present pack­age you can ob­tain the name of the cur­rent class with sig­nif­i­cantly less ef­fort. Just load the pack­age as usual: \usep­a­ck­age{fetch­cls}; then, the con­trol se­quence \class­name will hold the name you were look­ing for.

Pack­agefetch­cls
Ver­sion1.0 2015-08-11
Main­tainer Ruben Gian­notti

Atom Atom 1.0 feed with an­nounce­ments for pack­age fetch­cls.
RSS RSS 2.0 feed with an­nounce­ments for pack­age fetch­cls.

Guest Book Sitemap Contact Contact Author