| 1 |
pixelart 🎨 A LaTeX package to draw pixel-art pictures |
| 2 |
====================================================== |
| 3 |
|
| 4 |
 |
| 5 |
|
| 6 |
- [Usage and installation instruction](http://mirrors.ctan.org/graphics/pgf/contrib/pixelart/pixelart.pdf). |
| 7 |
- Example: The heart of the picture above was produced using the following code. |
| 8 |
|
| 9 |
```latex |
| 10 |
\pixelart[ |
| 11 |
colors={ |
| 12 |
1=red, |
| 13 |
2={red!50!black}, |
| 14 |
3={pink}, |
| 15 |
4={pink!50!red}, |
| 16 |
}, |
| 17 |
]{% |
| 18 |
..12..12.. |
| 19 |
.13411112. |
| 20 |
1341111112 |
| 21 |
1341111112 |
| 22 |
1341111112 |
| 23 |
.11111112. |
| 24 |
..111112.. |
| 25 |
...1112... |
| 26 |
....12.... |
| 27 |
} |
| 28 |
``` |
| 29 |
|
| 30 |
License |
| 31 |
------- |
| 32 |
|
| 33 |
*Copyright 2017-2023 Louis Paternault* |
| 34 |
|
| 35 |
This work may be distributed and/or modified under the conditions of the LaTeX |
| 36 |
Project Public License, either version 1.3 of this license or (at your option) |
| 37 |
any later version. |
| 38 |
|
| 39 |
The latest version of this license is in http://www.latex-project.org/lppl.txt |
| 40 |
and version 1.3 or later is part of all distributions of LaTeX version |
| 41 |
2005/12/01 or later. |