This package browser is in early development. Mind the rough edges.

texlive-fetchcls 66594

Fetch the current class name

With standard LaTeX you are able to check for the class in use invoking the kernel command \@ifclassloaded. However, doing so you cannot get the explicit class name, unless you want to loop over every possible class name until \@ifclassloaded returns true --- don't do that! With the help of the present package you can obtain the name of the current class with significantly less effort. Just load the package as usual, then, the control sequence \classname will hold the name you were looking for.

Installation

Install texlive-fetchcls 66594 as follows:

guix install texlive-fetchcls@66594

Or install the latest version:

guix install texlive-fetchcls

You can also install packages in augmented, pure or containerized environments for development or simply to try them out without polluting your user profile. See the guix shell documentation for more information.