diff options
author | Karl Berry <karl@freefriends.org> | 2017-06-05 23:19:00 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-06-05 23:19:00 +0000 |
commit | 90919e4858ac87246e630dfa5b466c7ba336b8dd (patch) | |
tree | fb4d1a68af252ef7e070ff8a2d038e56fda0120e /Master | |
parent | c29ed9d2ba784c0094c2eee64f10f0cd45f3a5b5 (diff) |
rutitlepage (30may17)
git-svn-id: svn://tug.org/texlive/trunk@44485 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/rutitlepage/README.TEXLIVE | 8 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/rutitlepage/README.md | 36 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/rutitlepage/rutitlepage.pdf | bin | 0 -> 148386 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/rutitlepage/rutitlepage.dtx | 203 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/rutitlepage/rutitlepage.ins | 49 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/rutitlepage/rutitlepage.sty | 102 | ||||
-rwxr-xr-x | Master/tlpkg/bin/tlpkg-ctan-check | 2 | ||||
-rwxr-xr-x | Master/tlpkg/libexec/ctan2tds | 1 | ||||
-rw-r--r-- | Master/tlpkg/tlpsrc/collection-publishers.tlpsrc | 1 | ||||
-rw-r--r-- | Master/tlpkg/tlpsrc/rutitlepage.tlpsrc | 0 |
10 files changed, 401 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/rutitlepage/README.TEXLIVE b/Master/texmf-dist/doc/latex/rutitlepage/README.TEXLIVE new file mode 100644 index 00000000000..29084c59c1f --- /dev/null +++ b/Master/texmf-dist/doc/latex/rutitlepage/README.TEXLIVE @@ -0,0 +1,8 @@ +The following files have been removed in the TeX Live installation of +the current package, typically due to duplication, lack of space, or +missing source code. You can find these files on CTAN at + http://mirror.ctan.org/macros/latex/contrib/rutitlepage +If questions or concerns, email tex-live@tug.org. + + logo.eps + logo.pdf diff --git a/Master/texmf-dist/doc/latex/rutitlepage/README.md b/Master/texmf-dist/doc/latex/rutitlepage/README.md new file mode 100644 index 00000000000..007e28049b6 --- /dev/null +++ b/Master/texmf-dist/doc/latex/rutitlepage/README.md @@ -0,0 +1,36 @@ +# RU titlepage +## Prerequisites +- geometry +- graphicx +- ifpdf +- keyval +- iflang +- babel-dutch (optional) +- verbatim (documentation only) +- booktabs (documentation only + +The titlepage works both with `latex` and `pdflatex`. Quite possibly it works +with other \*`tex`s. + +When you use `babel` to internationalize your document in either English or +Dutch the titlepage will change accordingly. + +## Usage +To prepare the files and compile the documentation run `make`. + +To install using `tlmgr` run `make release` followed by `tlmgr install --file +rutitlepage.tar.xz`. This will install the needed dependencies. + +## Todo +- Upload to CTAN + +## Author(s) +Author: + +- Mart Lubbers + +Contributors: + +- [camilstaps](https://github.com/camilstaps) +- [dsprenkels](https://github.com/dsprenkels) +- [chriskamphuis](https://github.com/chriskamphuis) diff --git a/Master/texmf-dist/doc/latex/rutitlepage/rutitlepage.pdf b/Master/texmf-dist/doc/latex/rutitlepage/rutitlepage.pdf Binary files differnew file mode 100644 index 00000000000..4da6d7fae22 --- /dev/null +++ b/Master/texmf-dist/doc/latex/rutitlepage/rutitlepage.pdf diff --git a/Master/texmf-dist/source/latex/rutitlepage/rutitlepage.dtx b/Master/texmf-dist/source/latex/rutitlepage/rutitlepage.dtx new file mode 100644 index 00000000000..0daa71812a8 --- /dev/null +++ b/Master/texmf-dist/source/latex/rutitlepage/rutitlepage.dtx @@ -0,0 +1,203 @@ +% \iffalse meta-comment +% +% rutitlepage - A Radboud University titlepage +% Copyright 2017 Mart Lubbers (mart@martlubbers.net) +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.3 or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +% +%<*driver> +% \fi +\ProvidesFile{rutitlepage.dtx}[2017/05/30 v1.0 Initial package] +% \iffalse +\documentclass{ltxdoc} +\usepackage{rutitlepage} +\usepackage{verbatim} +\usepackage{booktabs} +\usepackage{url} +\GetFileInfo{rutitlepage.dtx} + +\urlstyle{tt} +\title{A Radboud University titlepage} +\date{\filedate{}} +\author{Mart Lubbers} + +\begin{document} +\maketitle + \DocInput{\filename} + \PrintChanges +\end{document} +%</driver> +% \fi +% +% \changes{v1.0}{2017/05/30}{Initial package} +% +% \section{Introduction} +% \texttt{rutitlepage} is an unofficial \LaTeX{} package to generate titlepages +% for the Radboud University. It uses official vector logos from the +% university. The package depends on: \texttt{geometry}, \texttt{graphicx}, +% \texttt{ifpdf}, \texttt{keyval} and \texttt{iflang}. \texttt{babel-dutch} +% (optional). +% +% \subsection{Contributors} +% \texttt{rutitlepage} is maintained by Mart Lubbers but work has been done by +% (in order of date of contribution): +% \begin{itemize} +% \item Camil Staps\footnote{\url{https://github.com/camilstaps}} +% \item Daan Sprenkels\footnote{\url{https://github.com/dsprenkels}} +% \item Chris Kamphuis\footnote{\url{https://github.com/chriskamphuis}} +% \end{itemize} +% +% Previously this titlepage originally flew around on the university for at +% least several years in many forms. I'm not sure who created it first but +% credits to them! +% +% \subsection{Issues} +% \begin{itemize} +% \item No issues\ldots +% \end{itemize} +% +% \section{Usage} +% \DescribeMacro\maketitleru +% This macro creates the actual titlepage and has the following options +% available. Note that all options are optional. +% +% \begin{tabular}{lp{.5\linewidth}l} +% \toprule +% Option & Description & Default\\ +% \midrule +% \texttt{authorstext} & The left column header. +% & \texttt{Author:}\\ +% \texttt{authors} & The left column. +% & \texttt{\textbackslash{}author}\\ +% \texttt{course} & The top middle text.\\ +% \texttt{date} & The date. +% & \texttt{\textbackslash{}date}\\ +% \texttt{institute} & The text under the logo. +% & Radboud University Nijmegen\\ +% \texttt{pagenr} & The page number of the page, this might be required to +% set to e.g.\ $1$ for some document classes.\\ +% \texttt{righttextheader} & The right column.\\ +% \texttt{righttext} & The right column header.\\ +% \texttt{righttextBheader} & The right bottom column header.\\ +% \texttt{righttextB} & The right bottom column.\\ +% \texttt{subtitle} & The text under the title.\\ +% \texttt{title} & The text between the lines. +% & \texttt{\textbackslash{}title}\\ +% \bottomrule +% \end{tabular} +% +% \section{Example} +% The following fully equipped code generates the next page: +% +% \begin{tabular}{rl} +% \texttt{\textbackslash{}maketitleru[} +% & \texttt{authors=\{John Doe\},}\\ +% & \texttt{authorstext=\{Author:\},}\\ +% & \texttt{course=\{Master Thesis\},}\\ +% & \texttt{date=\{Tomorrow\},}\\ +% & \texttt{institute=\{Radboud University Nijmegen\},}\\ +% & \texttt{righttext=\{Jane Doe\},}\\ +% & \texttt{righttextB=\{Joanne Dune\},}\\ +% & \texttt{righttextBheader=\{Second reader:\},}\\ +% & \texttt{righttextheader=\{Supervisors:\},}\\ +% & \texttt{subtitle=\{A cool subtitle for your report\},}\\ +% & \texttt{title=\{Some interesting title\}]}\\ +% \end{tabular} +%\maketitleru[ +% title={Some interesting title}, +% date={Tomorrow}, +% course={Master Thesis}, +% institute={Radboud University Nijmegen}, +% authorstext={Author:}, +% authors={John Doe}, +% righttextheader={Supervisors:}, +% righttext={Jane Doe}, +% righttextBheader={Second reader:}, +% righttextB={Joanne Dune}, +% subtitle={A cool subtitle for your report}] +%\endinput +\NeedsTeXFormat{LaTeX2e} +\ProvidesClass{rutitlepage}[2017/05/30 Mart Lubbers] +\RequirePackage{geometry,graphicx,ifpdf,keyval,iflang} +\def\@rutitletitle{\@title} +\def\@rutitledate{\@date} +\def\@rutitleauthors{\@author} +\def\@rutitlepagenr{\thepage} +\define@key{maketitleru}{authorstext}{\def\@rutitleauthorstext{#1}} +\define@key{maketitleru}{authors}{\def\@rutitleauthors{#1}} +\define@key{maketitleru}{course}{\def\@rutitlecourse{#1}} +\define@key{maketitleru}{date}{\def\@rutitledate{#1}} +\define@key{maketitleru}{institute}{\def\@rutitleinst{#1}} +\define@key{maketitleru}{pagenr}{\def\@rutitlepagenr{#1}} +\define@key{maketitleru}{righttextBheader}{\def\@rutitlerighttextbheader{#1}} +\define@key{maketitleru}{righttextB}{\def\@rutitlerighttextb{#1}} +\define@key{maketitleru}{righttextheader}{\def\@rutitlerighttextheader{#1}} +\define@key{maketitleru}{righttext}{\def\@rutitlerighttext{#1}} +\define@key{maketitleru}{subtitle}{\def\@rutitlesubtitle{#1}} +\define@key{maketitleru}{title}{\def\@rutitletitle{#1}} +\setkeys{maketitleru}{% + course={}, + institute={Radboud Universit\IfLanguageName{dutch}{eit}{y} Nijmegen}, + authorstext={\IfLanguageName{dutch}{Auteurs: }{Authors:}}, + righttextheader={}, + righttext={} +} +\newcommand{\maketitleru}[1][]{ + \setkeys{maketitleru}{#1} + \newgeometry{hmarginratio=1:1} + \begin{titlepage} + \setcounter{page}{\@rutitlepagenr} + \begin{center} + \textsc{\LARGE\@rutitlecourse}\\[1.5cm] + \ifpdf\includegraphics[height=150pt]{logo.pdf}\\ + \else\includegraphics[height=150pt]{logo.eps}\\ + \fi + \vspace{0.4cm} + \textsc{\Large\@rutitleinst}\\[1cm] + \hrule + \vspace{0.4cm} + \textbf{\large\@rutitletitle}\\[0.4cm] + \hrule + \ifdefined\@rutitlesubtitle + \vspace{0.4cm} + \textit{\@rutitlesubtitle}\\[1cm] + \else + \vspace{2cm} + \fi + \begin{minipage}[t]{0.45\textwidth} + \begin{flushleft}\large + \textit{\@rutitleauthorstext}\\ + \@rutitleauthors{} + \end{flushleft} + \end{minipage} + \begin{minipage}[t]{0.45\textwidth} + \begin{flushright}\large + \textit{\@rutitlerighttextheader}\\ + \@rutitlerighttext% + \end{flushright} + \end{minipage} + + \vspace{1cm} + \ifdefined\@rutitlerighttextb + \begin{minipage}[t]{0.45\textwidth} + ~ + \end{minipage} + \begin{minipage}[t]{0.45\textwidth} + \begin{flushright}\large + \textit{\@rutitlerighttextbheader}\\ + \@rutitlerighttextb% + \end{flushright} + \end{minipage} + \fi + \vfill + {\large\@rutitledate} + \end{center} + \end{titlepage} + \restoregeometry{} +} diff --git a/Master/texmf-dist/source/latex/rutitlepage/rutitlepage.ins b/Master/texmf-dist/source/latex/rutitlepage/rutitlepage.ins new file mode 100644 index 00000000000..342bdda30be --- /dev/null +++ b/Master/texmf-dist/source/latex/rutitlepage/rutitlepage.ins @@ -0,0 +1,49 @@ +%% +%% Copyright (C) 2017 Mart Lubbers +%% +%% This file may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% + +\input docstrip.tex +\keepsilent +\usedir{tex/latex/rutitlepage} + +\preamble +This is a generated file. + +Copyright (C) 2017 Mart Lubbers + +This file may be distributed and/or modified under the +conditions of the LaTeX Project Public License, either +version 1.3 of this license or (at your option) any later +version. The latest version of this license is in: + + http://www.latex-project.org/lppl.txt + +and version 1.3 or later is part of all distributions of +LaTeX version 2005/12/01 or later. +\endpreamble + +\generate{ + \askforoverwritefalse + \file{rutitlepage.sty}{\from{rutitlepage.dtx}{package}} +} + +%\obeyspaces +%\Msg{*} +%\Msg{* You probably need to move all created `.sty' and `.cfg'} +%\Msg{* files into a directory searched by TeX.} +%\Msg{*} +%\Msg{* And don't forget to refresh your filename database} +%\Msg{* if your TeX distribution uses such a database.} +%\Msg{*} + +\endbatchfile diff --git a/Master/texmf-dist/tex/latex/rutitlepage/rutitlepage.sty b/Master/texmf-dist/tex/latex/rutitlepage/rutitlepage.sty new file mode 100644 index 00000000000..74876af11b1 --- /dev/null +++ b/Master/texmf-dist/tex/latex/rutitlepage/rutitlepage.sty @@ -0,0 +1,102 @@ +%% +%% This is file `rutitlepage.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% rutitlepage.dtx (with options: `package') +%% This is a generated file. +%% +%% Copyright (C) 2017 Mart Lubbers +%% +%% This file may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +\NeedsTeXFormat{LaTeX2e} +\ProvidesClass{rutitlepage}[2017/05/30 Mart Lubbers] +\RequirePackage{geometry,graphicx,ifpdf,keyval,iflang} +\def\@rutitletitle{\@title} +\def\@rutitledate{\@date} +\def\@rutitleauthors{\@author} +\def\@rutitlepagenr{\thepage} +\define@key{maketitleru}{authorstext}{\def\@rutitleauthorstext{#1}} +\define@key{maketitleru}{authors}{\def\@rutitleauthors{#1}} +\define@key{maketitleru}{course}{\def\@rutitlecourse{#1}} +\define@key{maketitleru}{date}{\def\@rutitledate{#1}} +\define@key{maketitleru}{institute}{\def\@rutitleinst{#1}} +\define@key{maketitleru}{pagenr}{\def\@rutitlepagenr{#1}} +\define@key{maketitleru}{righttextBheader}{\def\@rutitlerighttextbheader{#1}} +\define@key{maketitleru}{righttextB}{\def\@rutitlerighttextb{#1}} +\define@key{maketitleru}{righttextheader}{\def\@rutitlerighttextheader{#1}} +\define@key{maketitleru}{righttext}{\def\@rutitlerighttext{#1}} +\define@key{maketitleru}{subtitle}{\def\@rutitlesubtitle{#1}} +\define@key{maketitleru}{title}{\def\@rutitletitle{#1}} +\setkeys{maketitleru}{% +course={}, +institute={Radboud Universit\IfLanguageName{dutch}{eit}{y} Nijmegen}, +authorstext={\IfLanguageName{dutch}{Auteurs: }{Authors:}}, +righttextheader={}, +righttext={} +} +\newcommand{\maketitleru}[1][]{ +\setkeys{maketitleru}{#1} +\newgeometry{hmarginratio=1:1} +\begin{titlepage} +\setcounter{page}{\@rutitlepagenr} +\begin{center} +\textsc{\LARGE\@rutitlecourse}\\[1.5cm] +\ifpdf\includegraphics[height=150pt]{logo.pdf}\\ +\else\includegraphics[height=150pt]{logo.eps}\\ +\fi +\vspace{0.4cm} +\textsc{\Large\@rutitleinst}\\[1cm] +\hrule +\vspace{0.4cm} +\textbf{\large\@rutitletitle}\\[0.4cm] +\hrule +\ifdefined\@rutitlesubtitle +\vspace{0.4cm} +\textit{\@rutitlesubtitle}\\[1cm] +\else +\vspace{2cm} +\fi +\begin{minipage}[t]{0.45\textwidth} +\begin{flushleft}\large +\textit{\@rutitleauthorstext}\\ +\@rutitleauthors{} +\end{flushleft} +\end{minipage} +\begin{minipage}[t]{0.45\textwidth} +\begin{flushright}\large +\textit{\@rutitlerighttextheader}\\ +\@rutitlerighttext% +\end{flushright} +\end{minipage} + +\vspace{1cm} +\ifdefined\@rutitlerighttextb +\begin{minipage}[t]{0.45\textwidth} +~ +\end{minipage} +\begin{minipage}[t]{0.45\textwidth} +\begin{flushright}\large +\textit{\@rutitlerighttextbheader}\\ +\@rutitlerighttextb% +\end{flushright} +\end{minipage} +\fi +\vfill +{\large\@rutitledate} +\end{center} +\end{titlepage} +\restoregeometry{} +} +\endinput +%% +%% End of file `rutitlepage.sty'. diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index cb12b9b92c9..a87468f9ee8 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -533,7 +533,7 @@ my @TLP_working = qw( romanbar romanbarpagenumber romande romanneg romannum rosario rotfloat rotpages roundbox roundrect rputover rrgtrees rsc rsfs rsfso - rterface rtkinenc rtklage rubik ruhyphen rulercompass russ + rterface rtkinenc rtklage rubik ruhyphen rulercompass russ rutitlepage rviewport rvwrite ryethesis sa-tikz sageep sanitize-umlaut sanskrit sanskrit-t1 sansmath sansmathaccent sansmathfonts diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index 1ed4f4435ea..f96040cb3a6 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -3001,6 +3001,7 @@ $standardclean = '\.head|\.tmp|\.dvi|\.log|\.out|\.aux|\.toc|\.lof|\.lot' 'pas-tableur' => '\.pdf$', # no source 'piechartmp' => 'piechartmp.pdf', # no source 'ptptex' => '(overcite|cite|wrapfig).sty', # duplicated + 'rutitlepage' => 'logo.*', # nonfree 'sapthesis' => '.*-ML.*\.pdf', # univ logos 'sectionbox' => 'example/lenna.*.jpg', # nonfree 'startex' => 'epsf.tex', # stale copy diff --git a/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc b/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc index 95a5affa605..320fc32d949 100644 --- a/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc @@ -120,6 +120,7 @@ depend resphilosophica depend resumecls depend revtex depend revtex4 +depend rutitlepage depend ryethesis depend sageep depend sapthesis diff --git a/Master/tlpkg/tlpsrc/rutitlepage.tlpsrc b/Master/tlpkg/tlpsrc/rutitlepage.tlpsrc new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/Master/tlpkg/tlpsrc/rutitlepage.tlpsrc |