switch
==========

A constant time/expandable switch/case

For more details,  see the documentation,
[switch.pdf](http://mirrors.ctan.org/macros/latex/contrib/switch/doc/switch.pdf)
	
--------------

## Requirements
* none besides a fairly recent LaTeX distribution as recent as 2022/06/01
(with the new in kernel *\ProcessKeyOptions* and *\NewDocumentCommand*).

## Installation
The stable version is available at [CTAN](https://ctan.org/pkg/switch).

## Usage
### Stable version
Just place
```latex
  \usepackage{switch}
```

in the preamble and compile away.

## Contacting Author

For bug reports and enhancement suggestions, the preferred way is to use
[the project's issue page](https://github.com/alceu-frigeri/switch/issues).
Please be ready to provide an example code showing the bug, if any.

Please do not use the issue page for generic help on how to use the package.

* git: https://github.com/alceu-frigeri/switch

-------------
Copyright 2025-present by Alceu Frigeri

 This work may be distributed and/or modified under the
 conditions of

 * The [LaTeX Project Public License](http://www.latex-project.org/lppl.txt), version 1.3c (or later), and/or
 * The [GNU Affero General Public License](https://www.gnu.org/licenses/agpl-3.0.html), version 3 (or later)

This work has the LPPL maintenance status *maintained*.

The Current Maintainer of this work is Alceu Frigeri

-------------
## This work consist of the files

* switch.sty
    - the package itself

* README.md  (this file)
    - quick introduction

* switch.tex
* switch.bib
    - package documentation
    
* switch.pdf
    - documentation in PDF format
    
-------------

## Change log
* Version 1.1b (this)
    - switching over pkginfograb package's info
    - a bit of code optimization.

* Version 1.1a 
    - Documentation typos.

* Version 1.1 
    - Documentation: added a more advanced example.
    - added a set of commands to test the existence and undefine switches.

* Version 1.0
    - Initial setup.
