CTAN Comprehensive TeX Archive Network

Directory macros/latex/contrib/useclass

README.md

Latest Document GitHub Release CTAN

The useclass.sty Package: Load Classes as Packages

Introduction

useclass is a package that enables the usage of classes as packages. It was originally designed for the l3doc class, which is employed for documenting code with numerous useful features. However, employing the l3doc class as a package is not convenient when using the developing class as the style for the document. Therefore, this package provides a simple interface for utilizing classes as packages. The latest documentation is available here.

Installation

The following methods are available for installing and updating the package. Choose the method that best suits your needs.

Since this package is derived from the .dtx file, the easiest way to install or update it is to place or replace the useclass.sty file in the same directory as your working document. You can download useclass.sty from the GitHub Release.

For a full installation of the package, you can use a repository manager such as Live. This method will download the package from CTAN and install all required files to Directory Structure (TDS). For command-line users, the following commands can be used:

tlmgr [--usermode] install useclass
tlmgr [--usermode] update useclass

If you're a developer interested in contributing to the project's development, or if you simply want to try the latest features before they are released, you can clone the repository from GitHub and use either l3build or make to install the package.

Usage

Use \useclass to load a class with the same usage as \usepackage:

\useclass[<options>]{<class>}

where <options> and <class> are the options and the name of the loaded class, respectively.

Example:

\usepackage{useclass}
\useclass[full]{l3doc}

License

This work may be distributed and/or modified under the conditions of the Project Public License, either version 1.3c of this license or (at your option) any later version. This version of this license is in https://www.latex-project.org/lppl/lppl-1-3c.txt and the latest version of this license is in https://www.latex-project.org/lppl.txt and version 1.3c or later is part of all distributions of version 2008 or later.

Download the contents of this package in one zip archive (518.8k).

useclass – Load classes as packages

This package enables the usage of classes as packages. It was originally designed for the l3doc class, which is employed for documenting code with numerous useful features. However, employing the l3doc class as a package is not convenient when using the developing class as the style for the document. Therefore, this package provides a simple interface for utilizing classes as packages.

Packageuseclass
Bug trackerhttps://github.com/huangyxi/useclass/issues
Repositoryhttps://github.com/huangyxi/useclass
Version1.1 2024-10-03
LicensesThe Project Public License 1.3c
Copyright2024 HUANG Yuxi
MaintainerYuxi HUANG
Contained inTeX Live as useclass
MiKTeX as useclass
TopicsExperimental 3
Documentation support
...
Guest Book Sitemap Contact Contact Author