| 1 |
Awesome Boxes is all about drawing admonition blocks around text to |
| 2 |
inform or alert your readers about something particular. The specific |
| 3 |
aim of this package is to use [FontAwesome 5](https://fontawesome.com) |
| 4 |
icons to ease the illustration of these blocks. |
| 5 |
|
| 6 |
The idea of admonition blocks comes from the ones you can easily do with |
| 7 |
[AsciiDoc](http://asciidoctor.org/docs/user-manual/#admonition). |
| 8 |
|
| 9 |
For more details, please refer to the |
| 10 |
[awesomebox.pdf](https://github.com/milouse/latex-awesomebox/blob/master/awesomebox.pdf) |
| 11 |
document. |
| 12 |
|
| 13 |
Requirements |
| 14 |
============ |
| 15 |
|
| 16 |
The following LaTeX packages are required (they should be already |
| 17 |
included in your LaTeX distribution): |
| 18 |
|
| 19 |
- `array` |
| 20 |
- `fontawesome5` |
| 21 |
- `ifthen` |
| 22 |
- `xcolor` |
| 23 |
- `xparse` |
| 24 |
|
| 25 |
Installation |
| 26 |
============ |
| 27 |
|
| 28 |
Download the `awesomebox.sty` file and put it in the same folder of the |
| 29 |
document your are composing. |
| 30 |
|
| 31 |
For system wide installation, please refer to the documentation of your |
| 32 |
LaTeX distribution. |
| 33 |
|
| 34 |
Compatibility |
| 35 |
============= |
| 36 |
|
| 37 |
This repository also hosts the package `awesomebox-compat`, which |
| 38 |
depends on the `fontawesome` package, instead of `fontawesome5`. Apart |
| 39 |
from that, it has the exact same features set. |
| 40 |
|
| 41 |
This can be usefull for you if you want to use it with an old LaTeX |
| 42 |
distribution, which does not embed `fontawesome5` yet (like Overleaf |
| 43 |
system). To use it, download the file `awesomebox-compat.sty` in this |
| 44 |
repository, put it near your tex files and just replace your |
| 45 |
`\usepackage{awesomebox}` instruction by |
| 46 |
`\usepackage{awesomebox-compat}`. |
| 47 |
|
| 48 |
Be aware that icon names changes between FontAwesome and FontAwesome5 |
| 49 |
and thus using the compatibility package may break your current files. |
| 50 |
FontAwesome also requires you to use XeLaTeX or LuaTeX: you cannot use |
| 51 |
PDFLaTeX with the compatibility package. |
| 52 |
|
| 53 |
License |
| 54 |
======= |
| 55 |
|
| 56 |
Awesome Box is released under the |
| 57 |
[WTFPL](http://www.wtfpl.net/txt/copying/). A copy of this license is |
| 58 |
distributed in this package. |