| 1 |
# `sunpath` -- Draw Sun Path # |
| 2 |
|
| 3 |
|
| 4 |
(C) 2024 Hồng-Phúc Bùi |
| 5 |
|
| 6 |
|
| 7 |
## Description ## |
| 8 |
|
| 9 |
This package provides tool to draw a sunpath chart like this: |
| 10 |
|
| 11 |
 |
| 12 |
|
| 13 |
## Licence ## |
| 14 |
|
| 15 |
|
| 16 |
This package may be distributed and/or modified under the conditions of the |
| 17 |
LaTeX Project Public License (LPPL), either version 1.3c of this |
| 18 |
License or any later version. The latest version |
| 19 |
of this license is in the file https://www.latex-project.org/lppl.txt |
| 20 |
|
| 21 |
## Build and Install (for Distributor) ## |
| 22 |
|
| 23 |
|
| 24 |
* To build the style file `sunpath.sty` just run **one** of |
| 25 |
|
| 26 |
``` |
| 27 |
latex sunpath.ins |
| 28 |
pdflatex sunpath.ins |
| 29 |
xelatex sunpath.ins |
| 30 |
lualatex sunpath.ins |
| 31 |
``` |
| 32 |
|
| 33 |
then you can copy `sunpath.sty` to your local `texmf` tree, where latex can find it. |
| 34 |
|
| 35 |
* To create PDF Document manual you must use `lualatex` via `l3build doc`: |
| 36 |
|
| 37 |
``` |
| 38 |
l3build doc |
| 39 |
``` |
| 40 |
|
| 41 |
You also need the TikZ-library hobby to create the curve. |
| 42 |
|
| 43 |
``` |
| 44 |
\usetikzlibrary{hobby} |
| 45 |
``` |
| 46 |
|
| 47 |
(`lualatex` because of my name, really ego right! It needs unicode to be typeset correctly.) |
| 48 |
|
| 49 |
## Development ## |
| 50 |
|
| 51 |
|
| 52 |
I try to use latex3 as much as posible. You can use |
| 53 |
|
| 54 |
``` |
| 55 |
l3build doc |
| 56 |
``` |
| 57 |
|
| 58 |
to create the style file and documentation files at once. You can also (like I also do) use `make` |
| 59 |
to call repeatly tasks. |
| 60 |
|