From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- macros/latex/contrib/misc/texilikecover.sty | 43 +++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 macros/latex/contrib/misc/texilikecover.sty (limited to 'macros/latex/contrib/misc/texilikecover.sty') diff --git a/macros/latex/contrib/misc/texilikecover.sty b/macros/latex/contrib/misc/texilikecover.sty new file mode 100644 index 0000000000..cdd6deb804 --- /dev/null +++ b/macros/latex/contrib/misc/texilikecover.sty @@ -0,0 +1,43 @@ +% texilikecover.sty v 0.1 5-Apr-2007 +% Copyright (C) 2007 by Alberto Simões +% +% These macros may be freely transmitted, reproduced, or modified +% provided that this notice is left intact. +% +% Quick recipe: +% \usepackage{texilikecover} +% \title{My Title} +% \subtitle{My Subtitle} +% \date{Date or version info} +% \author{Name \and Name \and Name} +% +% \begin{document} +% \maketitle +% +% Contact me using ambs -at- cpan -dot- org +% +\ProvidesPackage{texilikecover}[2007/04/05 v 0.1: Texi-like cover for LaTeX2e.] + +\newcommand{\subtitle}[1]{\def\@subtitle{#1}} + +\renewcommand{\and}{\\} + +\renewcommand{\maketitle}{ + \thispagestyle{empty} + \mbox{} + \vfill + \noindent{\huge\bf \@title}\\ + \rule{\textwidth}{3pt} + \begin{flushright} + \vskip -3mm + \@subtitle\\ + \@date + \end{flushright} + \vfill\vfill + \begin{flushleft} + \bf\Large + \@author + \end{flushleft} + \vskip -5mm\rule{\textwidth}{2pt} + \cleardoublepage +} \ No newline at end of file -- cgit v1.2.3