From 16698a8117595b681ba612a5656b8ab6ed865769 Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Sun, 21 May 2023 22:13:43 +0200 Subject: [PATCH] Aggiunta template delega. --- vim/UltiSnips/tex/templates.snippets | 53 ++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/vim/UltiSnips/tex/templates.snippets b/vim/UltiSnips/tex/templates.snippets index e464760..791dd80 100644 --- a/vim/UltiSnips/tex/templates.snippets +++ b/vim/UltiSnips/tex/templates.snippets @@ -110,6 +110,59 @@ Colgo l'occasione per porgere \end{document} endsnippet +snippet tdelega "Template per delega di Emiliano" +%!TeX ts-program = xelatex +%!TeX encoding = utf-8 Unicode +\documentclass[a4paper,12pt,boldsubject,italicsignature]{letteracdp} +\usepackage[italian]{babel} +\usepackage{fontspec,textcomp,xltxtra,xcolor} +\defaultfontfeatures{Ligatures=Common} +\setmainfont[Mapping=tex-text,Alternate=0,Numbers=OldStyle]{Warnock Pro Light} +\usepackage{hyperref} +\definecolor{darkblue}{rgb}{0 0 .53} +\hypersetup{% + colorlinks=true,% + urlcolor=darkblue,% + pdfauthor={Emiliano Vavassori}% +} + +\name{Emiliano \textsc{Vavassori}} +\address{Emiliano Vavassori\\\\ + Via B.~Moriggia, n\textdegree~197\\\\ + 24050 Covo (BG)\\\\ + Tel.~+39~338 2592939} +\place{Covo} +\signature{Emiliano Vavassori} + +\begin{document} +\begin{letter}{% + ${1:Destinatario} +}[%\registered + ${2:Oggetto} +] + +\opening{} + +Con la presente il sottoscritto Emiliano Vavassori, nato a Romano di Lombardia +il 2 dicembre 1982, residente a Covo in via B.~Moriggia n\textdegree~197, Codice +Fiscale \texttt{VVSMLN82T02H509X}, +\begin{center}\scshape\Large + Delega +\end{center} +$0 + +Colgo l'occasione per porgere + +\closing{Distinti saluti} + +%\begin{enclosures} +% \item Primo Oggetto +%\end{enclosures} + +\end{letter} +\end{document} +endsnippet + snippet tfoldedletter "Template per lettera piegata." %!TeX ts-program = xelatex %!TeX encoding = utf-8 Unicode