| 1 |
# customenvs |
| 2 |
|
| 3 |
> A LaTeX package providing custom environments (MCQ, list with picked items, …) — Un package LaTeX proposant des environnements personnalisés (QCM, listes à compléter, …). |
| 4 |
|
| 5 |
--- |
| 6 |
|
| 7 |
## Installation |
| 8 |
|
| 9 |
The package is available on [CTAN](https://ctan.org/pkg/customenvs) and can be installed via your LaTeX distribution's package manager. |
| 10 |
|
| 11 |
### Via MiKTeX |
| 12 |
|
| 13 |
- **Graphically**: open the *MiKTeX Console*, go to *Packages*, search for `customenvs` and click *Install*. |
| 14 |
- **Command line**: |
| 15 |
``` |
| 16 |
mpm.exe --install customenvs |
| 17 |
``` |
| 18 |
|
| 19 |
### Via TeX Live / tlmgr |
| 20 |
|
| 21 |
``` |
| 22 |
tlmgr install customenvs |
| 23 |
``` |
| 24 |
|
| 25 |
> On Linux, you may need to prefix with `sudo` depending on your installation. |
| 26 |
|
| 27 |
### Manual installation |
| 28 |
|
| 29 |
If you want the latest version directly from this repository: |
| 30 |
|
| 31 |
1. Download the [repository](https://github.com/cpierquet/latex-packages/tree/main/customenvs) (click *Code > Download ZIP*, or clone it). |
| 32 |
2. Place all `*.sty` and `*.pdf` files in a directory where LaTeX can find it, for example: |
| 33 |
- **TeX Live / Linux**: `~/texmf/tex/latex/customenvs/` |
| 34 |
- **MiKTeX / Windows**: `C:\Users\<user>\AppData\Roaming\MiKTeX\tex\latex\customenvs\` |
| 35 |
- **macOS (MacTeX)**: `~/Library/texmf/tex/latex/customenvs/` |
| 36 |
3. Refresh the filename database: |
| 37 |
- TeX Live: `mktexlsr` or `texhash` |
| 38 |
- MiKTeX: `initexmf --update-fndb` |
| 39 |
|
| 40 |
--- |
| 41 |
|
| 42 |
## Quick start |
| 43 |
|
| 44 |
```latex |
| 45 |
\usepackage{customenvs} |
| 46 |
``` |
| 47 |
|
| 48 |
--- |
| 49 |
|
| 50 |
## Sources & Licenses |
| 51 |
|
| 52 |
| Source | License | |
| 53 |
|---|---| |
| 54 |
| [tex.stackexchange.com – fancy bordered text](https://tex.stackexchange.com/questions/504092/replicating-a-fancy-bordered-text-style-in-latex/504145#504145) | CC BY-SA 4.0 | |
| 55 |
| [svgrepo.com – Education Vectors](https://www.svgrepo.com/collection/education-vectors/) | CC BY | |
| 56 |
| [svgrepo.com – Design 8](https://www.svgrepo.com/collection/design-8/) | CC 0 | |
| 57 |
| [Bootstrap](https://getbootstrap.com) | MIT | |
| 58 |
| [solar-icon-react](https://github.com/itstor/solar-icon-react) | MIT | |
| 59 |
|
| 60 |
--- |
| 61 |
|
| 62 |
## Author & License |
| 63 |
|
| 64 |
| | | |
| 65 |
|---|---| |
| 66 |
| **Author** | Cédric Pierquet | |
| 67 |
| **Email** | [email protected] | |
| 68 |
| **License** | Released under the [LaTeX Project Public License v1.3c](http://www.latex-project.org/lppl.txt) or later | |