diff options
author | Karl Berry <karl@freefriends.org> | 2024-03-06 21:09:17 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-03-06 21:09:17 +0000 |
commit | a5a9055e473aad2995a732fa5e51944f0990dab0 (patch) | |
tree | 817ca92575ff92ba718cb98c4f549973c5d282c5 /Master/texmf-dist/doc | |
parent | d25ccb5d0c5cc4709aa606157c662ae5a86968e7 (diff) |
useclass (6mar24)
git-svn-id: svn://tug.org/texlive/trunk@70444 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r-- | Master/texmf-dist/doc/latex/useclass/README.md | 35 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/useclass/useclass.pdf | bin | 490171 -> 539822 bytes |
2 files changed, 31 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/latex/useclass/README.md b/Master/texmf-dist/doc/latex/useclass/README.md index baabb9b6e73..d3bd24274d6 100644 --- a/Master/texmf-dist/doc/latex/useclass/README.md +++ b/Master/texmf-dist/doc/latex/useclass/README.md @@ -1,7 +1,32 @@ -# The `useclass.sty` Package: Use Classes as Packages +# 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 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. +`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. +The latest documentation is available [here](https://github.com/huangyxi/useclass/releases/latest/download/useclass.pdf). + + +## 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](https://github.com/huangyxi/useclass/releases/latest/download/useclass.sty). + +For a full installation of the package, you can use a TeX repository manager such as TeX Live. +This method will download the package from CTAN and install all required files to TeX Directory Structure (TDS). +For command-line users, the following commands can be used: + +```bash +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`: @@ -18,9 +43,11 @@ Example: ## License This work may be distributed and/or modified under the -conditions of the LaTeX Project Public License, either version 1.3 +conditions of the LaTeX Project Public License, either version 1.3c of this license or (at your option) any later version. -The latest version of this license is in +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 LaTeX version 2008 or later. diff --git a/Master/texmf-dist/doc/latex/useclass/useclass.pdf b/Master/texmf-dist/doc/latex/useclass/useclass.pdf Binary files differindex 499da57e296..2623e72d2bd 100644 --- a/Master/texmf-dist/doc/latex/useclass/useclass.pdf +++ b/Master/texmf-dist/doc/latex/useclass/useclass.pdf |