UTWENTE UNIVERSITY of TWENTE PACKAGES Silke Hofstra June 30, 2015
Total Page:16
File Type:pdf, Size:1020Kb
UTWENTE UNIVERSITY OF TWENTE PACKAGES Silke Hofstra June 30, 2015 This document describes the use of the collection of utwente packages. These package that provides titles and style more in line with the University of Twente (UT) house style. Contents 1 Introduction 2 1.1 House Style .................................. 2 1.2 Typeface .................................... 2 2 Usage 4 2.1 utwentetitle .................................. 4 2.2 utwentefont .................................. 5 2.3 utwente-beamer ............................... 6 3 Installation 7 3.1 Windows ................................... 7 3.2 Linux (TEX Live) ................................ 7 3.3 Mac OSX (MacTEX) ............................. 7 3.4 Location Overview .............................. 8 4 Examples 9 4.1 Background overview ............................ 9 4.2 Simple title .................................. 10 4.3 Title Page 1 .................................. 11 4.4 Title Page 2 .................................. 1 Copyright notice: All images provided with this package are copyrighted by the Uni- versity of Twente. They have been obtained from the University of Twente website (http://www.utwente.nl/huisstijl). The LATEX code from this package is distributed under the LATEX project public license licence (http://www.latex-project.org/lppl/). 1 UTWENTE 1 INTRODUCTION 1 Introduction This package is the result of an attempt to create a nicer looking \maketitle com- mand for work on the University of Twente. It has since grown into a collection of fully functional LATEX packages. 1.1 House Style While the titles from this package are certainly more in line with the UT house style, I chose to deviate on some points. The first is page layout. The provided guidelines are as follows: The corporate and faculty material has a horizontal layout. Teaching and research have a vertical layout. In these last two categories, a vertical axis is drawn from the top down. This axis forms the boundary for the use of elements and word trademark. The typography is always positioned to the right of this axis. This package tries to follow this guideline, but the most important thing you have to do yourself: The University of Twente’s house style incorporates a range of different page layouts. These depend on the level in the brand architecture. Ev- ery publication has an airy and spacious arrangement. The pages are characterized by not being filled with text. To help style our document, an option is available (style, see 2.1.1). This option changes the typeface (see 1.2) as well. This document was created by using this option. 1.2 Typeface A challenge when creating this package was trying to use the same typeface as the official University of Twente logo. The official font family (according to their website) is Linotype Univers (except for the full stop, which is round instead of square). To me the logo looks like Linotype Univers 520 Condensed Medium. As Univers is not available in the most common 1 LATEX packages this package resorts to either the OpenType version provided to- gether with this package or an alternative font. What follows is a comparison between two alternative fonts Roboto and TEX Gyre Heros, and the official wordmark. In figure 1 a couple of fonts are shown: Linotype 1See http://www.tug.dk/FontCatalogue 2 UTWENTE 1 INTRODUCTION Univers, Roboto Condensed and TEX Gyre Heros Condensed. The first is the official wordmark. UNIVERSITEIT TWENTE. UNIVERSITEIT TWENTE. UNIVERSITEIT TWENTE. Figure 1: Fonts compared – Linotype Univers (official), Linotype Univers (from the package), Roboto Condensed and TEX Gyre Heros Condensed This package tries to load Linotype Univers by default when using X LE ATEX or LuaLATEX. An option (freefont) is available to use Roboto instead. When using pdfLATEX Roboto (Condensed) is used for the title and default style. More information on using these fonts can be found on the Font Catalogue page of 2 3 Roboto and TEX Gyre Heros . 2See http://www.tug.dk/FontCatalogue/roboto 3See http://www.tug.dk/FontCatalogue/tgheros 3 UTWENTE 2 USAGE 2 Usage 2.1 utwentetitle type1 – force use of Type 1 (pdfLATEX) fonts. 2.1.1 Options otf – force use of OpenType fonts, only for X LE ATEX and LuaLATEX. The package can be configured with the math – also replace maths fonts, only for following options: X LE ATEX and LuaLATEX. titlepage – creates a title page instead of a small title. This can also be set in 2.1.2 Commands your \documentclass options. style – Change the formatting of your The packages also provides, modifies or document. See section 1.1. uses the following commands: language = [en,nl] – set the lan- \date – set the date, reverts to the cur- guage of the University of Twente word- rent date when omitted. mark. \title – set the title. english – use the English logo. This \subtitle – set the subtitle. can also be set by setting the language \author – set the author(s). in your class options. \supervisor – set the supervisor(s). dutch – use the Dutch logo, this is de- Only visible on the title page. fault. This can also be set by setting the \course – set the course. language in your class options. \faculty – set the faculty. image = [number] – choose the ban- ner image for the title page. Several \maketitle – create the title. pictures are available (see 4.1). Custom pictures can be used by naming them 2.1.3 Overrides in the format: utwentetitle-back- [number] Options can also be overridden with the imageheight=[length] – change the following commands: image height. \titlelanguage – override the lan- imagebannerwidth – change the width guage option. of the image to the maximum banner \titleimage – override the title banner width. image (image). imageoffset=[length] – change the \titleimageoffset – override the im- vertical offset of the image. ageoffset option. imageopts=[options] – change the \titleimageopts – override the ima- options of the image. Example: ima- geopts option. geopts={height=600pt} 4 UTWENTE 2 USAGE 2.2 utwentefont 2.2.1 Options The package can be configured with the following options: default – set sans-serif as the default font family. freefont – use Roboto, the free alter- native to Univers. otf, opentype – force use of Open- Type fonts. type1, t1 – force use of Type1 fonts. math – replace the maths font. nomath – do not replace the maths font. 2.2.2 Commands The packages also provides, modifies or uses the following commands: \rounddot – produces an expensive round dot. \roboto – the Roboto font family. \robotocondensed – the Roboto con- desed font family \univers – the Univers font family. \universcn – the Univers Condensed font family. \universtitle – the Univers variant used in the University of Twente word- mark. 5 UTWENTE 2 USAGE 2.3 utwente-beamer This package hasn’t been finished. 6 UTWENTE 3 INSTALLATION 3 Installation If you’ve received the package in the form of a compressed archive (.zip, .7z, .rar, .tar.gz) you have to manually extract the archive to a location (probably a folder named texmf). This location differs per distribution and operating system. This directory structure should be placed directly inside your texmf (or equivalent) folder. 3.1 Windows 3.1.1 MiKTEX In MiKTEX you might have to add a personal folder. This can either contain the package directly or be a folder for all your own packages. To edit the list open MiKTeX > Maintenance > Settings from your start menu. 3.1.2 TEX Live To find the folder in which you should place the package, press Win+R and run cmd. In the command prompt type: kpsewhich -var-value=TEXMFHOME. Place the package inside of the tex directory in the resulting folder (both directories might have to be created). 3.2 Linux (TEX Live) Installation in Linux systems (tested only on Ubuntu) is fairly straight-forward. Your personal packages are probably installed in the texmf directory in your home di- rectory (~/texmf). Extracting the archive contents to a subfolder named tex will probably make the package work instantly. If one of the directories doesn’t exist you might have to create it. The location of the texmf folder can also be found by executing kpsewhich -var-value=TEXMFHOME in a terminal. This displays the location of your personal texmf folder. If you have sudo powers you can also edit the config file by running sudo gedit kpsewhich texmf.cnf and finding the TEXMFHOME line. Some like to change it to $HOME/.texmf so the directory is hid- den. 3.3 Mac OSX (MacTEX) The package can be placed in the tex folder inside the texmf folder in your library (which can be opened in finder by option-clicking on the ‘go’ menu). If the directory 7 UTWENTE 3 INSTALLATION doesn’t exist it might have to be created. 3.4 Location Overview Windows TEX Live C:\users\[username]\texmf\ MiKTEX Start > MiKTeX > Maintenance > Settings Linux TEX Live ~/texmf/ Mac OSX MacTEX ~/Library/texmf/ 8 UTWENTE 4 EXAMPLES 4 Examples Following are some examples of how titles look when creating them with the utwen- tetitle package. 4.1 Background overview The following background images are available for use in the package: 1 2 3 4 5 6 7 8 9 9 UTWENTE 4 EXAMPLES 4.2 Simple title This is the default replacement for \maketitle, and is fairly simple. It is meant for things that don’t require a title page. 4.2.1 LATEX 1 \documentclass[english]{article} 2 \usepackage{utwentetitle} 3 4 \title{Title} 5 \subtitle{Subtitle} 6 \author{Author} 7 \course{Course} 8 \date{First of August, 2012} 9 \faculty{Faculty of Faculties} 10 11 \begin{document} 12 \maketitle 13 \end{document} 4.2.2 Result TITLE SUBTITLE Course Author Faculty of Faculties First of August, 2012 10 UTWENTE 4 EXAMPLES 4.3 Title Page 1 The title page offers more information and more customisation options, it is a whole page after all. 4.3.1 LATEX 1 \documentclass[english,titlepage]{article} 2 \usepackage[image=4]{utwentetitle} 3 4 \title{Title} 5 \subtitle{Subtitle} 6 \author{% 7 \emph{By:}\\ 8 Author 1 -- s1234567\\ 9 Author 2 -- s1234567\\ 10 Author 3 -- s1234567\\ 11 Author 4 -- s1234567} 12 \supervisor{% 13 \emph{Supervised by:}\\ 14 Supervisor} 15 \course{Course} 16 \faculty{Faculty of Faculties} 17 18 \begin{document} 19 \maketitle 20 \end{document} 4.3.2 Result The next page is the result of the code above.