UWletterhead is a LaTEX class package that enables to create official PDF documents for Faculty of Mathematics, Informatics and Mechanics of University of Warsaw.
The package is based on:

[Ta strona jest utrzymywana w języku angielskim.]

## ► Example

\documentclass[polski]{UWletterhead}

\usepackage[utf8]{inputenc}

\begin{document}

Pójdźże, kiń tę chmurność w głąb flaszy!

\end{document}



## ► Quick Start Guide

• go to the directory /test
• build test.tex using pdflatex twice (execute pdflatex test.tex two times)
• open the new file test.pdf

The package needs all the files from the directory /bin to be put in the current directory of your *.tex file!

## ► Function & name font

There is a conflict between Identification Codebook and the examples given at the website of Identifaction Code.

The codebook (page 16) defines that:

• the function of a person should be given in bold, black
• the title, name, and surname should be given in regular font, black.
The examples use regular font, gray for both. Sometimes the function and the rest is put in one line, sometimes in separate lines.

The current version of the template follows Identification Codebook, except for the color that is gray not black.

Identification Codebook specifies that the address footer should be aligned left and positioned 56 mm from the left border of the page. The examples violate this, the distance is 53.5 mm instead of 56 mm.

The current version of the template follows Identification Codebook.

Identification Codebook does not specify the general margins of the documents nor spacing between the elements (e.g. the header and the body text). These values are chosen arbitrarily and can be modified by user (see \geometry and \UWheadsep macros).

## ► Arimo font

Identification Codebook specifies that the font used for all the elements of the document should be Arimo. However, as this font is not included in the standard distributions of LaTeX, using it introduces certain technical problems. One of them is, that on certain machines, the font is unable to correctly present the Polish {\l} symbol in boldface.

The current version of the template allows to use Arimo font by including option arimo in the \documentclass[]{UWletterhead} arguments. However the default font for UWletterhead is Droid, which is similar to Arimo but different.

## ► Verification

It is possible to verify the relative alignment of the elements in the document in comparison to the examples presented at the webpage of Identifiation. These examples (transformed to PDF) are available in directory \templates in the files section of this webpage. You can also download all of them in an archive.

To use one of those examples, you can include option \renewcommand{\UWoverlap}{path-to-a-given-file}, for instance:

\documentclass[polski,arimo]{UWletterhead}

\renewcommand{\UWinstitute}{Instytut Informatyki}

\renewcommand{\UWphone}{tel}
\renewcommand{\UWemail}{\ }

\renewcommand{\UWoverlap}{templates/I-Informatyki_PL.pdf}

\begin{document}

\end{document}


There are certain discrepancies, as discussed above.

## ► Measurement

An external way is to use Adobe Acrobat reader (or other tool) to measure the relative positions of the elements of the layout. For instance Adobe Acrobat provides a tool called Measuring tool under Edit ≫ Analysis menu.



=== USAGE ====================================================================

To create a file new.pdf using the template:
* Create an empty directory newDir on your computer.
* Copy to newDir all the files from /bin/.
* Create a latex file new.tex in newDir.
* Input content to new.tex (you can copy one of the examples there).
* Take care of input encoding if needed (i.e. add \usepackage[utf8]{inputenc})
* Execute command pdflatex new.tex twice (!!!)
* The produced file new.pdf contains the result of the template.

=== STRUCTURE ================================================================

* /bin			files needed to compile a new document
* /bin/Arimo-*		the fonts used by the class
* /bin/T1Arimo.fd	configuration of the Arimo font
* /bin/T1-WGL4.enc	a simple encoding file for Arimo font
* /bin/UWlogo*		logos of UW used in the headers of the documents
* /bin/MIMlogo.pdf	logo of MIM UW used in the headers of the documents

* /doc			documentation of the class and examples
* /doc/example*		two simple examples using UWletterhead.cls
* /doc/manual.tex	manual that discusses use of all the available options
and macros provided by the class
* /doc/unit_list.tex	a template file with options setting up the class for
all the units of Faculty

* /test/*		a copy of the files from /bin used to
* /test/test.tex	a test tex file

=== REQUIREMENTS =============================================================

The class is compatible with the pdflatex compiler. It does not work with
the pure LaTeX compiler.

=== INSTALLATION =============================================================

The class does not require any installation.

=== LIMIMTATIONS =============================================================

1) The class requires pdflatex to work, compiling using latex gives an error.
2) To properly find positions of all the elements of the layout, the class
requires double compilation, i.e. to obtain a complete pdf file you
need to run pdflatex twice.

=== TODO =====================================================================

* Consider adding an option to install UWletterhead as a latex package in
your system (it would remove the need of copying bin to every
directory where the class is used).

* The current way the font Arimo is provided to the package is a hack.
There may be a simple way to install the font. It is NOT included in
standard Latex distros (like texlive). It is tricky in general
to add a custom font to latex.



\NeedsTeXFormat{LaTeX2e}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Packages needed to process options and helpful macros
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\RequirePackage[dvinames]{xcolor}
\RequirePackage{ifthen}
\RequirePackage{zref-totpages}

% A macro that outputs #2 if the (!!!) macro given as the parameter #1
% produces empty output.
\newcommand{\UWifempty}[2]{\ifdefempty{#1}{#2}{}}

% A macro that outputs #2 if the (!!!) macro given as the parameter #1
% produces non-empty output.
\newcommand{\UWifnempty}[2]{\ifdefempty{#1}{}{#2}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Parameters for processing the class options
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% The default language used by the class. Other possible value (set by the
% class option english) is english.
\newcommand{\UWlanguage}{polski}

% The default font used in the documents. Altough Identification Codebook
% enforces the font Arimo, it is possible to use certain similar fonts
% instead. The reason is compatibility with various LaTeX environments.
% The default one is Droid.
\newcommand{\UWfont}{droid}

% The logo file used at the upper-left corner (including the eagle
% and the text University of Warsaw).
\newcommand{\UWlogo}{UWlogoPL.pdf}

% The logo file used at the upper-right corner (only five letters UW + MIM).
\newcommand{\MIMlogo}{MIMlogo.pdf}

% Names of the faculty, instutite, function, and/or person (can be left
% empty). These names are called unit names.
\newcommand{\UWfaculty}{Wydzia{\l} Matematyki, Informatyki i Mechaniki}
\newcommand{\UWinstitute}{}
\newcommand{\UWfunction}{}
\newcommand{\UWperson}{}

\newcommand{\UWphone}{}
\newcommand{\UWemail}{}

% Prefixes, like: 'Address: ', 'Telephone: ', 'E-mail: ', etc
\newcommand{\UWprefPhone}{}
\newcommand{\UWprefEMail}{e-mail: }

% The text of the footer, including hyperrefs
\newcommand{\UWfootText}{
\UWifnempty{\UWphone}{\UWprefPhone\href{tel:\UWphone}{\UWphone}\\}
\UWifnempty{\UWemail}{\UWprefEMail\href{mailto:\UWemail}{\UWemail}}
}

% The name of the overlap file (if needed). This file will be presented as
% a background for the whole document on each page where \UWheader is
% invoked. If you use one of the templates/... file as \UWoverlap then
% you can verify if the layout produced by UWletterhead alignes with the
% official document.
\newcommand{\UWoverlap}{}

% The distance between the header and the text below it.

% By default page numbering is on if and only if the document has more
% than one page.
\newcommand{\UWshowPages}{}

% Default colours, as specified in Identification Codebook.
\definecolor{UWdBlue}{RGB}{0,68,124}
\definecolor{UWlBlue}{RGB}{0,146,206}
\definecolor{UWsBlue}{RGB}{0,23,69}
\definecolor{UWblack}{RGB}{0,0,0}
\definecolor{UWwhite}{RGB}{255,255,255}
\definecolor{UWlGray}{RGB}{177,179,182}
\definecolor{UWdGray}{RGB}{128,130,133}

% Default font size for the body of the text.
\newcommand{\UWfontSize}{12pt}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Processing actual options of the class
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Default option: the language is Polish
\DeclareOption{polski}{
}

% The language is English, it influences the logo file, prefixes, etc
\DeclareOption{english}{
\renewcommand{\UWlanguage}{english}
\renewcommand{\UWlogo}{UWlogoEN.pdf}
\renewcommand{\UWfaculty}
{Faculty of Mathematics, Informatics and Mechanics}
\renewcommand{\UWinstitute}{}
\renewcommand{\UWfunction}{}
\renewcommand{\UWperson}{}

\renewcommand{\UWphone}{}
\renewcommand{\UWemail}{}

\renewcommand{\UWprefPhone}{}
\renewcommand{\UWprefEMail}{e-mail: }
}

% Option: the font used is DejaVu
\DeclareOption{dejavu}{
\renewcommand{\UWfont}{dejavu}
}

% Option: the font used is Arimo
\DeclareOption{arimo}{
\renewcommand{\UWfont}{arimo}
}

% Default option: the font used is Droid
\DeclareOption{droid}{
\renewcommand{\UWfont}{droid}
}

% The standard colours are translated into grayscale, for better printing
% quality on mono printers.
\DeclareOption{grayscale}{
\definecolor{UWdBlue}{RGB}{58,58,58}
\definecolor{UWlBlue}{RGB}{120,120,120}
\definecolor{UWsBlue}{RGB}{21,21,21}
}

% The option autopagenr forces page numbering to be automatic (default):
% * on if and only if the document has more than one page.
\DeclareOption{autopagenr}{
\renewcommand{\UWshowPages}{}
}

% The option pagenr forces page numbering to be on.
\DeclareOption{pagenr}{
\renewcommand{\UWshowPages}{1}
}

% The option nopagenr forces page numbering to be off.
\DeclareOption{nopagenr}{
\renewcommand{\UWshowPages}{0}
}

% Options 10pt, 11pt, and 12pt control the size of the main body text
% and are passed to the class 'letter'. The default is 12pt.
\DeclareOption{10pt}{
\renewcommand{\UWfontSize}{10pt}
}

\DeclareOption{11pt}{
\renewcommand{\UWfontSize}{11pt}
}

\DeclareOption{12pt}{
\renewcommand{\UWfontSize}{12pt}
}

\ProcessOptions

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Including the remaining packages, initial setup
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% The default font encoding is T1, it should not be modified
\RequirePackage[T1]{fontenc}

% When the chosen language is Polish.
\ifthenelse{\equal{\UWlanguage}{polski}}{
% Include package providing Polish dates etc.
\usepackage{polski}
}{}

% When the chosen font is Arimo.
\ifthenelse{\equal{\UWfont}{arimo}}{
% The font for the whole document is Arimo, as defined in
% Identification Codebook.
\renewcommand*{\rmdefault}{Arimo}
}{}

% When the chosen font is DejaVu.
\ifthenelse{\equal{\UWfont}{dejavu}}{
% The font for the whole document is DejaVu.
\usepackage{DejaVuSansCondensed}
\renewcommand*{\familydefault}{\sfdefault}
}{}

% When the chosen font is Droid.
\ifthenelse{\equal{\UWfont}{droid}}{
% The font for the whole document is Droid.
\usepackage[defaultsans]{droidsans}
\renewcommand*{\familydefault}{\sfdefault}
}{}

\RequirePackage{geometry}

% This is the default geometry. You can change it freely, the constrains
% of the layout would remain satisfied. However, you should stick to the
% following constrains:
% * left > ~55mm makes the faculty, institute, and person move right
% * top > ~45mm makes the faculty, institute, and person move down
% * bottom < ~25 makes the footnote overlap with the text (depends on the
%   actual height of the footnote, which is variable)
\geometry{
a4paper,
top=30mm,
left=35mm,
right=35mm,
bottom=30mm,
marginparwidth=20mm
}

% To prevent the header from floating around, we stick to \raggedbottom
% vertical page layout. It means that the paragraphs are not spread along
% the page and empty vertical space may be left at the bottom of the page.
\raggedbottom

% Remaining packages used by this class:
%
\RequirePackage{graphicx}
\RequirePackage{tikz}
\RequirePackage{etoolbox}
\RequirePackage{graphicx}
\RequirePackage{changepage}

\usetikzlibrary{calc}

% The footnotes are achieved using fancyhdr package
\RequirePackage{fancyhdr}

% The pagestyle that produces the expected footnotes is 'plain'
\fancyhf{}
\fancypagestyle{plain}{
\fancyfoot{}
\fancyfoot[R]{\UWfooter}
\renewcommand{\footrulewidth}{0pt}
}

% You should not modify the pagestyle (at least now).
\pagestyle{plain}

% This parameter controls linespacing in the body of the document. Changing it
% does not influence the constrains of the layout.
% Example values:
% * 1.0 means single spacing
% * 1.3 corresponds roughly to the one-and-half spacing of standard text
%   processors

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% The actual macros that produce headers and footers - positioning
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Standard shift of lines between the faculty, institute, and person.
\newcommand{\UWptshift}{1.3*12pt}

% Total left margin of the document according to the current layout.
\newcommand{\UWleftMargin}{-\oddsidemargin-\hoffset-1in}

% Total top margin of the document according to the current layout.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% The actual macros that produce headers and footers - elements
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Shows page number according to the layout defined in Identifiaction Codebook
\newcommand{\UWpageNr}{
\node[anchor=south east, xshift=-10mm, yshift=10mm]
at (current page.south east)
{\thepage};
}

% A macro producing the whole footer of a page.
\newcommand{\UWfooter}{%
% The footer is a tikz picture positioned as an overlay, relatively
% to the dimensions of the current page.
\begin{tikzpicture}[
inner sep=0pt,
outer sep=0pt,
align=left,
remember picture,
overlay,
font=\fontsize{8pt}{1em}\selectfont]

% The footer has linespread of 1.0.

% The whole footText located approximately at the center, according
% to Identification Codebook layout.
\node[anchor=south west, xshift=56mm, yshift=10mm]
at (current page.south west)
{\UWfootText};

% If \UWshowPages is empty (i.e. autopagenr option applies) then
% page numbers are shown if and only if the document has more than
% one page then.
\UWifempty{\UWshowPages}{
\ifthenelse{\equal{\ztotpages}{1}}{}{\UWpageNr}
}

% Otherwise, if \UWshowPages is non-empty (i.e. pagenr or nopagenr
% options apply) then the value of \UWshowPages dictates whether
% to show page numbers or not.
\UWifnempty{\UWshowPages}{
\ifthenelse{\equal{\UWshowPages}{1}}{\UWpageNr}{}
}
\end{tikzpicture}
}

% A macro producing the whole header of a page.
% The header consists of two parts generated separately. The first one is a
% tikz picture positioned as an overlay, relatively to the dimensions of
% the current page, in the upper-left corner. This picture contains the logo,
% i.e. the eagle and the text University of Warsaw. Additionally, in this part
% of the macro we present the overlapping picture if defined.
\begin{tikzpicture}[
inner sep=0pt,
outer sep=0pt,
remember picture,
overlay]

% If the overlap picture has been defined then it is shown in
% the following node.
\UWifnempty{\UWoverlap}{
\node[anchor=north west,minimum width=\paperwidth]
at (current page.north west)
{\includegraphics[width=\paperwidth,height=\paperheight]
{\UWoverlap}};}

% We show the UW logo with the eagle and University of Warsaw text.
\node[anchor=north west, xshift=20mm, yshift=-15mm, align=left]
at (current page.north west)
{\includegraphics[height=35mm, keepaspectratio]{\UWlogo}};

% We show a vertical bar between the logos of UW and of MIM UW.
\coordinate[xshift=115.1mm, yshift=-27mm] (UWsplU) at (current page.north west);
\coordinate[xshift=115.1mm, yshift=-39.7mm] (UWsplD) at (current page.north west);
\path[draw=UWdGray, line cap=round, line width=0.9pt] (UWsplU) -- (UWsplD);

% We show the MIM UW logo with five letters UW / MIM.
\node[anchor=north east, xshift=176.1mm, yshift=-10.4mm, align=left]
at (current page.north west)
{\includegraphics[height=43.8mm, keepaspectratio]{\MIMlogo}};
\end{tikzpicture}%
%
% The second part is positioned inside the text so that the higher the header
% is, the more it moves the rest of the body text down. This part consists of
% the lines with the faculty, institute, and/or person.
\begin{tikzpicture}[
inner sep=0pt,
outer sep=0pt,
minimum size=0pt,
minimum width=0pt,
minimum height=0pt,
align=left,
font=\fontsize{12pt}{1em}\selectfont,
anchor=base west]

% The header has linespread of 1.3 (i.e. 1.5 of standard text processors).

% This node ensures that the upper-left corner of the picture is at the
% upper-left corner of the text area where the macro is invoked.
\node at (0,0) {};

% This node ensures that if there are no unit names given then the spacing
% below the header is still appropriate.
\node at (\UWleftMargin+56mm,\UWtopMargin-50mm)	{};

% The coordinate curr will indicate the expected position of the next line.
% It is calculaded in such a way to guarantee fixed position of
% the coordinate, no mater what are the actual margins of the page.
%
% 56mm is the expected xshift of the west anchor of our lines
% 50mm is the expected yshift of the first line
% Since each line can occur or not, we start \UWptshift above
% the expected place, and each produced line will move curr down.
\coordinate (curr)
at (\UWleftMargin+56mm,\UWtopMargin-53mm+\UWptshift);

% If \UWfaculty is given, produce a node with the respective layout,
% and position (curr) below it (preserving the expected spacing).
\UWifnempty{\UWfaculty}{
\node[text=UWlBlue] (curr)
at ($(curr.base west)+(0,-\UWptshift)$)
{\textbf{\UWfaculty}};
}

% If \UWinstitute is given, produce a node with the respective layout,
% and position curr below it (preserving the expected spacing).
\UWifnempty{\UWinstitute}{
\node[text=UWlBlue] (curr)
at ($(curr.base west)+(0,-\UWptshift)$)
{\UWinstitute};
}

% If \UWfunction is given, produce a node with the respective layout,
% and position curr below it (preserving the expected spacing).
\UWifnempty{\UWfunction}{
\node[text=UWdGray] (curr)
at ($(curr.base west)+(0,-\UWptshift)$)
{\textbf{\UWfunction}};
}

% If \UWperson is given, produce a node with the respective layout,
% and position curr below it (preserving the expected spacing).
\UWifnempty{\UWperson}{
\node[text=UWdGray] (curr)
at ($(curr.base west)+(0,-\UWptshift)$)
{\UWperson};
}

% Finally we put two \vspaces, the first one removes the standard space
% below tikzpicture that is put there by Latex, the second one
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Additional macros for the standard elements of the document
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Produces a date line.
\newcommand{\UWdate}[1]{
\hfill {#1}
\vspace*{1.5cm}
}

% Produces an addressee section above the text that is aligned left
% but shifted right. The first (optional) argument defines the left space
% before the content of the paragraph.
#2
\vspace*{1.5cm}
}

% Produces a signature under the text that is aligned left but shifted right.
% The first (optional) argument defines the left space
% before the content of the paragraph.
\newcommand{\UWsignature}[2][0.5\textwidth]{
\vspace{4mm}
#2
\vspace{4mm}
}



## Manual

\documentclass[nopagenr]{UWletterhead}

% Available class options (put in the square brackets above):
% * polski - set the language to Polish, influences the logo and prefixes
% * english - set the language to English, influences the logo and prefixes

% * arimo - set the default font to Arimo
% * droid - set the default font to Droid
% * dejavu - set the default font to DejaVu

% * grayscale - transform colours to grayscale, for printing

% * autopagenr - automatically decide whether to put numbers of pages
% * pagenr - always put numbers of pages
% * nopagenr - never put numbers of pages

% * 10pt use 10pt font for the main body
% * 11pt use 11pt font for the main body
% * 12pt use 12pt font for the main body

% The defaults are: polski, droid, autopagenr, 12pt.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% If you use non-standard symbols (i.e. Polish diacretic letters), you should
% define input encoding using an option like the following ones.

% Use for utf8 encoded files
%\usepackage[utf8]{inputenc}

% Use for Windows cp1250 encoded files
%\usepackage[cp1250]{inputenc}

% Use for Latin 2 encoded files
%\usepackage[latin2]{inputenc}

% However, the attached arimo font does not contain all the Polish characters
% and therefore it is better to use the default droid font.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Control the space between the header and the body text. Identification
% Codebook does not specify that. The command is optional.

\renewcommand{\UWheadsep}{10mm} % - 10mm by default

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Control the margins of the body text. Identification
% Codebook does not specify that. Top margin influences the pages that do
% UWletterhead.cls for a discussion on reasonable margin sizes. The values
% below are the default ones.

% Modifying these values (within reasonable ranges, as defined in
% UWletterhead.cls) does not move the elements of the layout that are
% positioned accordingly to Identification Codebook.

% The current default sets the left margin in the vertical line passing
% through the middle of the logo (eagle). Another reasonable possibility
% is to set the left margin to 56mm, in that case the left margin of the
% body text is aligned to the faculty, institute, etc names.

\geometry{
top=30mm,
left=35mm,
right=30mm,
bottom=30mm
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Control the standard parts of the text (all of these commands are optional).

% There is an automatic system that shows only lines for non-empty values.
% To make it work correctly, if we want the given field to be empty, we should
% define it as an empty string, i.e. \renewcommand{\UWfaculty}{}
% A convoluted definition like:
% \newcommand{\myEmptyString}{}
% \renewcommand{\UWfaculty}{\myEmptyString}
% will not work.
% The same applies to the values \UWaddress, \UWphone, and \UWemail.

%\renewcommand{\UWfaculty}{} % - filled to MIM automatically
\renewcommand{\UWinstitute}{Instytut Informatyki} % - empty by default
%\renewcommand{\UWfunction}{} % - empty by default
%\renewcommand{\UWperson}{} % - empty by default

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Control the address line prefixes (all of these commands are optional):

%\renewcommand{\UWprefAddress}{} % - empty by default
\renewcommand{\UWprefPhone}{telefon: } % - empty by default
%\renewcommand{\UWprefEMail}{e-mail: } % - filled by default

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Control the address line values (all of these commands are optional):

% - filled by default
\renewcommand{\UWphone}{+48 22 55 44 460} % - empty by default
\renewcommand{\UWemail}{iinf@mimuw.edu.pl} % - empty by default

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% If you really need, you can overwrite the whole footer address text.
% have no effect. The default \UWfootText takes care of empty values
% and lets the phone and the email be hyperlinks. Thus, in most cases
% do not use this command.

\renewcommand{\UWfootText}{
\UWprefPhone\UWphone\\
\UWprefEMail\UWemail
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Begin the body of the document.
\begin{document}

% Use \UWdate to put the date line.

\UWdate{Warszawa, 15 kwietnia 2017}

% Use \UWaddressee to put the addressee part of the text. The first
% optional argument controls the horizontal space to the left of the
Kierownik Katedry\\
Znaczna Persona}

% Put your body text here.
Szanowna Pani Profesor,

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Identification Codebook defines that we can use the specific font (Arimo)
% in the regular or bold variant.

Nie jest dla mnie jasne co oznacza \textbf{Definicja 27} z pracy domowej.

% On the other hand, Identification Codebook does not define italic variant
% of the font. Thus, the following command, if used with arimo package option,

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% It is allowed to use math mode in the documents, however the fonts used for
% math are the standard LaTeX ones (do not comply with the choice done
% in the package).

Interesuje mnie wynik obliczenia $\sin\big(\frac{\pi}{7}\big)$?

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% You can use the macro \UWsignature to put a standarised signature.
% The first (optional) argument of the macro controls the horizontal
% space to the left of the signature.
% The command (standard for Latex) \\[10mm] puts a vertical space
% of a given height.

\UWsignature[7.5cm]{Z wyrazami szacunku,\\[10mm]Micha{\l} Skrzypczak}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Usually, the header is only on the first page. If you want to put the header
% more times in your file, you can force a new page by \newpage
% and put there \UWheader as well.
% If you want to create multiple separate documents by one file, the class
% option nopagenr (used in line 1 of this file) may be helpful. It removes
% page numbers from all the pages.

\newpage

Szanowna Pani Magister,

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% If you need to use the standarised colours, you can do it. The list of
% available colours is the following (with their RGB values):
% * UWdBlue : {  0,  68, 124}
% * UWlBlue : {  0, 146, 206}
% * UWsBlue : {  0,  23,  69}
% * UWblack : {  0,    0,  0}
% * UWwhite : {255, 255, 255}
% * UWlGray : {177, 179, 182}
% * UWdGray : {128, 130, 133}

% If the option grayscale is used then the colours \UWdBlue, \UWlBlue,
% and \UWsBlue are turned manually into grayscale, as follows:
% * UWdBlue : { 58,  58,  58}
% * UWlBlue : {120, 120, 120}
% * UWsBlue : { 21,  21,  21}

% You can colour your text using \textcolor macro.

\textcolor{UWdBlue}{Nalegam na dotrzymanie terminu!}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\UWsignature{Uszanowania,\\[5mm]Micha{\l} Skrzypczak}

\end{document}



## CHANGELOG.txt


05.03.2017
* Added other fonts than Arimo: DejaVu and Droid