texlive[66330] Master: uvaletter (3mar23)
commits+karl at tug.org
commits+karl at tug.org
Fri Mar 3 22:31:39 CET 2023
Revision: 66330
http://tug.org/svn/texlive?view=revision&revision=66330
Author: karl
Date: 2023-03-03 22:31:38 +0100 (Fri, 03 Mar 2023)
Log Message:
-----------
uvaletter (3mar23)
Modified Paths:
--------------
trunk/Master/tlpkg/bin/tlpkg-ctan-check
trunk/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc
Added Paths:
-----------
trunk/Master/texmf-dist/doc/latex/uvaletter/
trunk/Master/texmf-dist/doc/latex/uvaletter/LICENSE
trunk/Master/texmf-dist/doc/latex/uvaletter/README.md
trunk/Master/texmf-dist/doc/latex/uvaletter/demo/
trunk/Master/texmf-dist/doc/latex/uvaletter/demo/uvaletter-demo.pdf
trunk/Master/texmf-dist/doc/latex/uvaletter/demo/uvaletter-demo.tex
trunk/Master/texmf-dist/tex/latex/uvaletter/
trunk/Master/texmf-dist/tex/latex/uvaletter/uvaletter.sty
trunk/Master/tlpkg/tlpsrc/uvaletter.tlpsrc
Added: trunk/Master/texmf-dist/doc/latex/uvaletter/LICENSE
===================================================================
--- trunk/Master/texmf-dist/doc/latex/uvaletter/LICENSE (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/uvaletter/LICENSE 2023-03-03 21:31:38 UTC (rev 66330)
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2022 Michele Piazzai
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
Added: trunk/Master/texmf-dist/doc/latex/uvaletter/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/uvaletter/README.md (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/uvaletter/README.md 2023-03-03 21:31:38 UTC (rev 66330)
@@ -0,0 +1,54 @@
+<!--
+uvaletter v1.1.0
+author: Michele Piazzai
+contact: michele.piazzai at uc3m.es
+license: MIT
+-->
+
+# uvaletter
+
+This is an unofficial LaTeX package that provides a letterhead template for the University of Amsterdam. The design mimics the [official Word template](https://www.uva.nl/over-de-uva/over-de-universiteit/huisstijl/downloadstools/brief/brief.html) of the University and complies with the University's [house style](https://www.uva.nl/over-de-uva/over-de-universiteit/huisstijl/huisstijl.html).
+
+![](https://github.com/piazzai/uvaletter/blob/master/screenshot.jpg)
+
+## Installation
+
+This package is hosted on CTAN and distributed as part of MikTex and TeXLive. It can also be installed manually by cloning this repository in your `$HOME/texmf/tex/latex` folder, which is searched by LaTeX. If you do not have such a folder, you can [create it](https://www.ias.edu/math/computing/faq/local-latex-style-files).
+
+## Usage
+
+The package can be loaded with a `pageno` option that enables page numbering. Be aware that, in order for the layout to display, your letter body should be wrapped in a `letterhead` environment.
+
+Here is a minimal working example:
+
+```tex
+\documentclass{letter}
+\usepackage{uvaletter}
+
+\logo{logo.jpg}
+\recipient{foo}
+\department{bar}
+\visiting{}
+\postal{}
+\website{}
+\date{}
+\yourreference{}
+\ourreference{}
+\contactperson{}
+\phone{}
+\email{}
+\subject{}
+\enclosed{}
+
+\begin{document}
+\begin{letterhead}
+
+ Hello world!
+
+\end{letterhead}
+\end{document}
+```
+
+The `\recipient{}` and `\department{}` commands are mandatory and their arguments must be non-empty. All other commands are optional and can be removed, commented out, or left empty.
+
+In order for a logo to be displayed, you must indicate a path to the image in `\logo{}`. All official logos of the University of Amsterdam, including faculties, departments, and institutes, can be found [here](https://www.uva.nl/over-de-uva/over-de-universiteit/huisstijl/huisstijlelementen/logo/logo.html). If a path is not provided or the file is not found, the logo space is left blank.
Property changes on: trunk/Master/texmf-dist/doc/latex/uvaletter/README.md
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/uvaletter/demo/uvaletter-demo.pdf
===================================================================
(Binary files differ)
Index: trunk/Master/texmf-dist/doc/latex/uvaletter/demo/uvaletter-demo.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/uvaletter/demo/uvaletter-demo.pdf 2023-03-03 21:30:58 UTC (rev 66329)
+++ trunk/Master/texmf-dist/doc/latex/uvaletter/demo/uvaletter-demo.pdf 2023-03-03 21:31:38 UTC (rev 66330)
Property changes on: trunk/Master/texmf-dist/doc/latex/uvaletter/demo/uvaletter-demo.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/uvaletter/demo/uvaletter-demo.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/uvaletter/demo/uvaletter-demo.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/uvaletter/demo/uvaletter-demo.tex 2023-03-03 21:31:38 UTC (rev 66330)
@@ -0,0 +1,35 @@
+\documentclass[11pt]{letter}
+\usepackage[pageno]{uvaletter}
+
+\logo{logo.jpg}
+\recipient{Place Holder \\ University of \TeX \\ 123 Main St \\ Anytown \\ USA}
+\department{Amsterdam Business School}
+\visiting{Plantage Muidergracht 12 \\ 1018 TV Amsterdam \\ The Netherlands}
+\postal{P.O.~Box 15953 \\ 1001 NL Amsterdam \\ The Netherlands}
+\website{www.abs.uva.nl}
+\date{January 1, 1970}
+\yourreference{Foo}
+\ourreference{Bar}
+\contactperson{Dr.~Plaatsvervanger}
+\phone{+31\,(0)20\,525\,5250}
+\email{p.holder at uva.nl}
+\subject{Lorem ipsum dolor sit amet, consectetur adipisicing elit}
+\enclosed{Attachment 1 \\ Attachment 2}
+
+\begin{document}
+\begin{letterhead}
+
+ Beste aanhef,
+
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit. Donec gravida velit in ornare accumsan. Maecenas id lorem non dui tempus pretium ut rhoncus lectus. Donec odio nibh, ultricies non imperdiet in, interdum eget enim. Sed fringilla dui at arcu auctor, consequat aliquam mauris faucibus. Mauris fringilla magna erat, a bibendum mi interdum non. Nulla mauris massa, tincidunt et fermentum vel, auctor ac felis. Nullam quis tristique orci, nec molestie mauris. Etiam velit odio, rhoncus quis sem ac, bibendum placerat sapien. Aenean ornare magna sit amet consectetur mattis. Etiam at ante iaculis, rutrum diam ac, dignissim purus. Vivamus vehicula scelerisque aliquet.
+
+ Morbi et placerat turpis. Sed placerat ligula a ipsum pretium efficitur. In tincidunt urna quis faucibus ornare. Fusce commodo laoreet gravida. Donec tempus ante at ullamcorper imperdiet. Morbi lobortis neque eget eros luctus, vel dictum ex molestie. Proin eget viverra est. Morbi rhoncus, neque id molestie convallis, urna quam vulputate sem, id rhoncus est ex at nunc. Curabitur nisl felis, vehicula nec sapien rhoncus, imperdiet placerat erat. Curabitur tristique ipsum at odio mollis fringilla. Donec nisl leo, posuere in cursus a, ultricies ac massa. In imperdiet tempus tellus, ultrices iaculis metus bibendum ac. In quis interdum nisi.
+
+ Nulla semper maximus nibh, vel sagittis odio. Aenean feugiat nunc erat, non auctor orci fringilla vel. Maecenas in finibus odio, nec elementum lorem. Ut varius tellus nec efficitur interdum. Ut orci turpis, auctor vel odio sed, euismod malesuada mi. Sed id bibendum nisl. Aliquam erat volutpat. Integer varius sapien non nunc interdum tempor. In rutrum ac quam at vulputate. Aenean.
+
+ Met vriendelijke groet,
+
+ Dr.~Plaatsvervanger, \\ Hoogleraar Sjablonen
+
+\end{letterhead}
+\end{document}
Property changes on: trunk/Master/texmf-dist/doc/latex/uvaletter/demo/uvaletter-demo.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/uvaletter/uvaletter.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/uvaletter/uvaletter.sty (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/uvaletter/uvaletter.sty 2023-03-03 21:31:38 UTC (rev 66330)
@@ -0,0 +1,108 @@
+% uvaletter v1.1.0
+% Author: Michele Piazzai
+% Contact: michele.piazzai at uc3m.es
+% License: MIT
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{uvaletter}[2023/03/02 UvA Letter]
+
+\RequirePackage[T1]{fontenc}
+\RequirePackage[utf8]{inputenc}
+\RequirePackage[a4paper,margin=3.05cm]{geometry}
+\RequirePackage{times,microtype,fancyhdr,setspace,graphicx,ifthen,soul,lastpage}
+
+\pagestyle{fancy}
+\fancyhf{}
+\DeclareOption{pageno}{\rfoot{\tabentry Page~\thepage~of~\pageref{LastPage}}}
+
+\newenvironment{letterhead}{%
+ \ifthenelse{\equal{\@logo}{}}{}{%
+ \IfFileExists{\@logo}{%
+ \begin{minipage}{\textwidth}
+ \vspace{-2cm}\hspace{-1.31cm}\includegraphics[width=.65\textwidth]{\@logo}
+ \end{minipage}
+ }{}}
+ \begin{minipage}[b]{.4975\textwidth}
+ \raggedright\@recipient
+ \end{minipage}
+ \begin{minipage}[b]{.4975\textwidth}
+ \raggedleft\small\sffamily
+ {\bfseries\@department} \\
+ \ifthenelse{\equal{\@visiting}{}}{}{\medskip\@visiting \\}
+ \ifthenelse{\equal{\@postal}{}}{}{\medskip\@postal \\}
+ \medskip\@website
+ \end{minipage}
+
+ \bigskip\bigskip\bigskip\bigskip
+ \begin{minipage}{.3\textwidth}
+ {\tabentry Date}
+ \newline\@date
+ \end{minipage}
+ \begin{minipage}{.3\textwidth}
+ {\tabentry Your reference}
+ \newline\@yourreference
+ \end{minipage}
+ \begin{minipage}{.3\textwidth}
+ {\tabentry Our reference}
+ \newline\@ourreference
+ \end{minipage}
+
+ \begin{minipage}{.3\textwidth}
+ {\tabentry Contact person}
+ \newline\@contactperson
+ \end{minipage}
+ \begin{minipage}{.3\textwidth}
+ {\tabentry Telephone}
+ \newline\@phone
+ \end{minipage}
+ \begin{minipage}{.3\textwidth}
+ {\tabentry Email}
+ \newline\@email
+ \end{minipage}
+
+ \begin{minipage}{\textwidth}
+ {\tabentry Subject}
+ \newline\@subject
+ \end{minipage}
+
+ \ifthenelse{\equal{\@enclosed}{}}{\bigskip}{%
+ \begin{minipage}{\textwidth}
+ {\tabentry Enclosed}
+ \newline\@enclosed
+ \end{minipage}
+ \bigskip
+ }
+ \raggedright
+}{}
+
+\ProcessOptions
+\setlength{\parindent}{0pt}
+\setlength{\parskip}{1em plus 0.2em minus 0.2em}
+\renewcommand{\headrulewidth}{0pt}
+\newcommand\tabentry{\scriptsize\sffamily}
+\newcommand\logo[1]{\renewcommand\@logo{#1}}
+\newcommand\@logo{}
+\newcommand\recipient[1]{\renewcommand\@recipient{#1}}
+\newcommand\@recipient{}
+\newcommand\department[1]{\renewcommand\@department{#1}}
+\newcommand\@department{}
+\newcommand\visiting[1]{\renewcommand\@visiting{#1}}
+\newcommand\@visiting{}
+\newcommand\postal[1]{\renewcommand\@postal{#1}}
+\newcommand\@postal{}
+\newcommand\website[1]{\renewcommand\@website{#1}}
+\newcommand\@website{}
+\newcommand\yourreference[1]{\renewcommand\@yourreference{#1}}
+\newcommand\@yourreference{}
+\newcommand\ourreference[1]{\renewcommand\@ourreference{#1}}
+\newcommand\@ourreference{}
+\newcommand\contactperson[1]{\renewcommand\@contactperson{#1}}
+\newcommand\@contactperson{}
+\newcommand\phone[1]{\renewcommand\@phone{#1}}
+\newcommand\@phone{}
+\newcommand\email[1]{\renewcommand\@email{#1}}
+\newcommand\@email{}
+\newcommand\subject[1]{\renewcommand\@subject{#1}}
+\newcommand\@subject{}
+\newcommand\enclosed[1]{\renewcommand\@enclosed{#1}}
+\newcommand\@enclosed{}
Property changes on: trunk/Master/texmf-dist/tex/latex/uvaletter/uvaletter.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/tlpkg/bin/tlpkg-ctan-check
===================================================================
--- trunk/Master/tlpkg/bin/tlpkg-ctan-check 2023-03-03 21:30:58 UTC (rev 66329)
+++ trunk/Master/tlpkg/bin/tlpkg-ctan-check 2023-03-03 21:31:38 UTC (rev 66330)
@@ -865,7 +865,7 @@
upca uplatex upmethodology uppunctlm upquote
uptex-base uptex-fonts upzhkinsoku
uri url urlbst urcls urwchancal usebib ushort uspace uspatent
- ut-thesis utexasthesis utf8add utf8mex utfsym
+ ut-thesis utexasthesis utf8add utf8mex utfsym uvaletter
uwa-colours uwa-letterhead uwa-pcf uwa-pif uwmslide uwthesis
vak vancouver variablelm variations varindex varisize
varsfromjobname varwidth vaucanson-g vcell vdmlisting
Modified: trunk/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc 2023-03-03 21:30:58 UTC (rev 66329)
+++ trunk/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc 2023-03-03 21:31:38 UTC (rev 66330)
@@ -264,6 +264,7 @@
depend uspatent
depend ut-thesis
depend utexasthesis
+depend uvaletter
depend uwa-colours
depend uwa-letterhead
depend uwa-pcf
Added: trunk/Master/tlpkg/tlpsrc/uvaletter.tlpsrc
===================================================================
More information about the tex-live-commits
mailing list.