Skip to content

Update template#11

Open
Favo02 wants to merge 4 commits into
LucaCorra02:mainfrom
Favo02-unimi:main
Open

Update template#11
Favo02 wants to merge 4 commits into
LucaCorra02:mainfrom
Favo02-unimi:main

Conversation

@Favo02
Copy link
Copy Markdown

@Favo02 Favo02 commented Feb 20, 2026

Ho aggiornato il template, la modifica principale è la semplificazione dell'inizializzazione nel main.

Per il resto sono necessarie un paio di modifiche dato che ora le funzioni sono tutte in inglese (informally, note, example, theorem, proof, warning) ed accettano l'argomento title.

Per aggiornare file non ancora committati (o nelle PR) basta usare il comando:

find ./ -type f -name "*.typ" -exec sed -i \
  -e 's/#teorema(\"Teorema\")/#theorem/g' \
  -e 's/#teorema(\"/#theorem(title: \"/g' \
  -e 's/#esempio/#example/g' \
  -e 's/#informalmente/#informally/g' \
  -e 's/#nota/#note/g' \
  -e 's/#attenzione/#warning/g' \
  -e 's/#dimostrazione/#proof/g' \
  -e 's/#link-teorema/#link-theorem/g' \
  {} +

This was referenced Feb 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant