% \iffalse meta-comment % vim: textwidth=75 %<*internal> \iffalse % %<*readme> | -------:| ----------------------------------------------------------------- vutinf:| TU Wien Faculty for Informatics template Author:| David Kaufmann E-mail:| david.kaufmann@tuwien.ac.at License:| Released under the LaTeX Project Public License v1.3c or later See:| http://www.latex-project.org/lppl.txt Short description: Some text about the class: probably the same as the abstract. % %<*internal> \fi \def\nameofplainTeX{plain} \ifx\fmtname\nameofplainTeX\else \expandafter\begingroup \fi % %<*install> \input docstrip.tex \keepsilent \askforoverwritefalse \preamble -------:| ----------------------------------------------------------------- vutinf:| TU Wien Faculty for Informatics template Author:| David Kaufmann E-mail:| david.kaufmann@tuwien.ac.at License:| Released under the LaTeX Project Public License v1.3c or later See:| http://www.latex-project.org/lppl.txt \endpreamble \postamble Copyright (C) 2020 by David Kaufmann This work may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either version 1.3c of this license or (at your option) any later version. The latest version of this license is in the file: http://www.latex-project.org/lppl.txt This work is "maintained" (as per LPPL maintenance status) by David Kaufmann. This work consists of the file .dtx and a Makefile. Running "make" generates the derived files README, vutinf.pdf and vutinf.cls. Running "make inst" installs the files in the user's TeX tree. Running "make install" installs the files in the local TeX tree. \endpostamble \usedir{tex/latex/} \generate{ \file{\jobname.cls}{\from{\jobname.dtx}{class}} } % %\endbatchfile %<*internal> \usedir{source/latex/} \generate{ \file{\jobname.ins}{\from{\jobname.dtx}{install}} } \nopreamble\nopostamble \usedir{doc/latex/} \generate{ \file{README.txt}{\from{\jobname.dtx}{readme}} } \ifx\fmtname\nameofplainTeX \expandafter\endbatchfile \else \expandafter\endgroup \fi % % \fi % % \iffalse %<*driver> \ProvidesFile{.dtx} % %\NeedsTeXFormat{LaTeX2e}[1999/12/01] %\ProvidesClass{} %<*class> [2020/01/31 v1.00 TU Wien for Informatics template] % %<*driver> \documentclass{ltxdoc} \usepackage[a4paper,margin=25mm,left=50mm,nohead]{geometry} \usepackage[numbered]{hypdoc} \EnableCrossrefs \CodelineIndex \RecordChanges \begin{document} \DocInput{\jobname.dtx} \end{document} % % \fi % % \GetFileInfo{\jobname.dtx} % \DoNotIndex{\newcommand,\newenvironment} % %\title{\textsf{} --- TU Wien Faculty for Informatics template\thanks{This file % describes version \fileversion, last revised \filedate.} %} %\author{David Kaufmann\thanks{E-mail: david.kaufmann@tuwien.ac.at}} %\date{Released \filedate} % %\maketitle % %\changes{v1.00}{2020/01/31}{First public release} % % \begin{abstract} % ==== Put abstract text here. ==== % \end{abstract} % % \section{Usage} % % ==== Put descriptive text here. ==== % % \DescribeMacro{\dummyMacro} % This macro does nothing.\index{doing nothing|usage} It is merely an % example. If this were a real macro, you would put a paragraph here % describing what the macro is supposed to do, what its mandatory and % optional arguments are, and so forth. % % \DescribeEnv{dummyEnv} % This environment does nothing. It is merely an example. % If this were a real environment, you would put a paragraph here % describing what the environment is supposed to do, what its % mandatory and optional arguments are, and so forth. % %\StopEventually{^^A % \PrintChanges % \PrintIndex %} % % \section{Implementation} % % \begin{macrocode} %<*class> \LoadClass[a4paper,final]{article} \RequirePackage[utf8]{inputenc} \RequirePackage[T1]{fontenc} \RequirePackage[a4paper,left=24mm,right=20mm,top=20mm,bottom=25mm]{geometry} \RequirePackage{graphicx} \RequirePackage{ifthen} \RequirePackage{lastpage} \RequirePackage{ragged2e} % \end{macrocode} % sans serif font % \begin{macrocode} \RequirePackage{helvet} \renewcommand{\familydefault}{\sfdefault} % \end{macrocode} % clickable links, same font for links as rest of text % \begin{macrocode} \RequirePackage[bookmarks]{hyperref} \RequirePackage{xcolor} \urlstyle{sf} \hypersetup{% colorlinks=false, linkcolor=black, linkbordercolor=red, pdfborderstyle={/S/U/W 1}% border style will be underline of width 1pt } % \end{macrocode} % \begin{macro}{\myuline} % This macro makes prettier underline lines.\\ % Sourced from: https://alexwlchan.net/2017/10/latex-underlines/ % \begin{macrocode} \RequirePackage{contour} \RequirePackage{ulem} \renewcommand{\ULdepth}{1.8pt} \contourlength{0.8pt} \newcommand{\myuline}[1]{% \uline{\phantom{#1}}% \llap{\contour{white}{#1}}% } % \end{macrocode} % \end{macro} % line spacing % \begin{macrocode} \RequirePackage{setspace} \onehalfspacing % \end{macrocode} % header % \begin{macrocode} \RequirePackage{fancyhdr} \pagestyle{fancy} \fancyhf{} % \end{macrocode} % header logo and page numbers % \begin{macrocode} \setlength\headheight{13mm} \renewcommand{\headrulewidth}{0pt} \lhead{\includegraphics[height=11mm]{vutinf-logo.pdf}} \rhead{\ifthenelse{\value{page}=1}{}{Seite \thepage|\pageref*{LastPage}\\}} \lfoot{} \cfoot{} \rfoot{} % \end{macrocode} % no indentation at line start % \begin{macrocode} \setlength{\parindent}{0cm} % \end{macrocode} % % \begin{environment}{dummyEnv} % This is a dummy environment. If it did anything, we'd describe its % implementation here. % \begin{macrocode} \newenvironment{dummyEnv}{% }{% % \end{macrocode} % \changes{v1.00a}{2020/01/31}{Added a spurious change log entry to % show what a change \emph{within} an environment definition looks % like.} % Don't use |%| to introduce a code comment within a |macrocode| % environment. Instead, you should typeset all of your comments with % LaTeX---doing so gives much prettier results. For comments within a % macro/environment body, just do an |\end{macrocode}|, include some % commentary, and do another |\begin{macrocode}|. It's that simple. % \begin{macrocode} } % \end{macrocode} % \end{environment} % % \begin{macrocode} \endinput % % \end{macrocode} %\Finale