summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/useclass/README.md
blob: baabb9b6e735f36b8e0353b50b11792004526431 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# The `useclass.sty` Package: Use 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 LaTeX 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.

## Usage
Use `\useclass` to load a class with the same usage as `\usepackage`:
```tex
\useclass[<options>]{<class>}
```
where `<options>` and `<class>` are the options and the name of the loaded class, respectively.

Example:
```tex
\usepackage{useclass}
\useclass[full]{l3doc}
```

## License
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either version 1.3
of this license or (at your option) any later version.
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 LaTeX
version 2008 or later.