| 1 | # milestonetimeline - Horizontal Milestone Timeline Package |
| 2 | |
| 3 | ## Description |
| 4 | |
| 5 | The `milestonetimeline` package provides a flexible way to create horizontal milestone |
| 6 | timelines in LaTeX documents with support for date-based positioning, label |
| 7 | rotation, and per-milestone customization. |
| 8 | |
| 9 | ## Author |
| 10 | |
| 11 | Bret Watson <[email protected]> |
| 12 | |
| 13 | ## License |
| 14 | |
| 15 | GNU General Public License v3.0 (GPL-3.0) |
| 16 | |
| 17 | This program is free software: you can redistribute it and/or modify |
| 18 | it under the terms of the GNU General Public License as published by |
| 19 | the Free Software Foundation, either version 3 of the License, or |
| 20 | (at your option) any later version. |
| 21 | |
| 22 | This program is distributed in the hope that it will be useful, |
| 23 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 24 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 25 | GNU General Public License for more details. |
| 26 | |
| 27 | You should have received a copy of the GNU General Public License |
| 28 | along with this program. If not, see <https://www.gnu.org/licenses/>. |
| 29 | |
| 30 | ## Dependencies |
| 31 | |
| 32 | - tikz |
| 33 | - xifthen |
| 34 | - xparse |
| 35 | - kvoptions |
| 36 | |
| 37 | ## Features |
| 38 | |
| 39 | - Date-based positioning (ISO format: YYYY-MM-DD) |
| 40 | - Automatic spacing (when no dates provided) |
| 41 | - Customizable label rotation (0°, 45°, 90°) |
| 42 | - Per-milestone height control |
| 43 | - Highlighted milestones (different color/shape) |
| 44 | - Compact and vertical presets |
| 45 | - Date markers on timeline |
| 46 | |
| 47 | ## Installation |
| 48 | |
| 49 | ### Option 1: CTAN (Recommended) |
| 50 | |
| 51 | ```bash |
| 52 | # Once published on CTAN, install via your TeX distribution |
| 53 | tlmgr install milestonetimeline # TeX Live |
| 54 | # or use MiKTeX Console for MiKTeX |
| 55 | |
| 56 | ## Usage |
| 57 | |
| 58 | ```latex |
| 59 | \documentclass{article} |
| 60 | \usepackage{milestonetimeline} |
| 61 | |
| 62 | \begin{document} |
| 63 | \begin{timeline}[width=14,startdate=2025-01-01,enddate=2025-12-31] |
| 64 | \milestone[above]{2025-01-15}{Kickoff} |
| 65 | \milestone[below]{2025-06-30}{Midpoint} |
| 66 | \highlightmilestone[above]{2025-12-31}{Complete} |
| 67 | \end{timeline} |
| 68 | \end{document} |
| 69 | |
| 70 | ## Documentation |
| 71 | |
| 72 | Run latex dottimeline.dtx to generate documentation. |
| 73 | |
| 74 | ## Version |
| 75 | |
| 76 | 1.0 (2026-02-25) |
| 77 | |
| 78 | ## Bug Reports |
| 79 | |
| 80 | Please report issues at: https://github.com/baradhili/latex-linear-milestone-timeline |
| 81 | ``` |