Verzeichnis macros/latex/contrib/datemultical
LaTeX Package: DateMultiCal 2026-10-18 v0.2.0
Named dates and multi-calendar date formatting for LaTeX.
Description
datemultical provides a unified interface for defining, converting, and formatting named dates in LaTeX documents.
It provides two backends:
basic: supports the Gregorian, Solar Hijri, and Lunar Hijri calendars under all supported engines, with English names and optional Persian localization;lua: selected by default under LuaLaTeX. It supports all calendar systems provided bylua-calendrica—currently 54, including the three core calendars and historical and astronomical calendars.
Newly added calendars become available automatically, without updating datemultical. The basic backend can be selected with the native option.
Installation
From CTAN
https://ctan.org/pkg/datemultical
~bash tlmgr install datemultical ~
From GitHub
~bash git clone https://github.com/gambi-shah/datemultical.git ~
Copy the files into a TeX-searchable directory, or keep them beside your document. Run mktexlsr if necessary.
Usage
~latex documentclass{article} usepackage{datemultical}
begin{document} dmcsetsh{birth}{1365}{3}{11} dmc{birth}{short} dmclh{birth}{full} end{document} ~
Use \usepackage[persian]{datemultical} for Persian localization and \usepackage[native]{datemultical} to select the basic backend under LuaLaTeX.
Lua Backend
Calendar-specific components can be defined with \dmcnew:
~latex dmcnewchinese{birth}{cycle=78,year=3,month=4,leap=false,day=24} ~
Documentation
See the main manual for configuration and examples.
License and maintainer
- License: LPPL 1.3c or later.
- Maintainer: Amer Amikhteh.
- Report bugs via the repository issue tracker.
Herunterladen des vollständigen Inhalts dieses Pakets in einem Zip-Archiv (202.9k).
Datemultical – Named dates, calendar conversion, and date formatting for LaTeX
This package provides a unified interface for defining, converting, and formatting named dates in multiple calendar systems in LaTeX. It provides a built-in TeX backend supporting the Gregorian, Solar Hijri, and Lunar Hijri calendars under supported TeX engines, and an extended LuaLaTeX backend that additionally interfaces with lua-calendrica to support a wide range of historical, astronomical, and traditional calendar systems. Dates can be stored under user-defined names, converted between supported calendars, and retrieved through a common field-based interface. The package provides predefined date styles and customizable formatting patterns, including calendar-specific month and weekday names, week information, and leap-year, leap-month, and leap-day fields. Persian localization and high-level Persian date and weekday wrappers are also provided.
| Paket | Datemultical |
| Fehlermeldungen | |
| Repository | |
| Version | 0.2.0 2026-10-18 |
| Lizenzen | The LaTeX Project Public License 1.3c |
| Copyright | 2026 Amer Amikhteh |
| Betreuer | Amer Amikhteh |
| Enthalten in | TeX Live als datemultical MiKTeX als datemultical |
| Themen | LuaTeX-Verwendung Persisch Kalender Datum und Zeit |