This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#set text(font: ("IPAexMincho")) | |
#let data = yaml("input/data.yaml") | |
= 履歴書 | |
#let today = datetime.today() | |
#let birthday = datetime(year: data.birth_day.year, month: data.birth_day.month, day: data.birth_day.day) | |
#let age = { | |
let after-birthday = today.month() > birthday.month() or ( | |
today.month() == birthday.month() and today.day() >= birthday.day() |