CTAN Comprehensive TeX Archive Network

Verzeichnis macros/latex/contrib/datemultical

README.md

Package: DateMultiCal 2026-10-18 v0.2.0

Named dates and multi-calendar date formatting for .

Description

datemultical provides a unified interface for defining, converting, and formatting named dates in 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 Lua. It supports all calendar systems provided by lua-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 -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 Lua.

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

Herunterladen des vollständigen Inhalts dieses Pakets in einem Zip-Archiv (202.9k).

Datemultical – Named dates, calendar conversion, and date formatting for

This package provides a unified interface for defining, converting, and formatting named dates in multiple calendar systems in . It provides a built-in backend supporting the Gregorian, Solar Hijri, and Lunar Hijri calendars under supported engines, and an extended Lua 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.

PaketDatemultical
Fehlermeldungen
Repository
Version0.2.0 2026-10-18
LizenzenThe Project Public License 1.3c
Copyright2026 Amer Amikhteh
BetreuerAmer Amikhteh
Enthalten inTeX Live als datemultical
MiKTeX als datemultical
ThemenLua-Verwendung
Persisch
Kalender
Datum und Zeit
...
Gästebuch Seiten-Struktur Impressum Autor kontaktieren