summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/texilikecover
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-05-16 15:39:39 +0000
committerKarl Berry <karl@freefriends.org>2007-05-16 15:39:39 +0000
commit05e9c729f7f69025d3a68dbca99ebec7b319258b (patch)
treee816f795b61647ce4e79c8ebca2aa78b8e1ccdae /Master/texmf-dist/tex/latex/texilikecover
parent7a6c91d2bab775c6bd57e953da70f0882eed3b9c (diff)
new package (from single file) texilikecover (5apr07)
git-svn-id: svn://tug.org/texlive/trunk@4295 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/texilikecover')
-rw-r--r--Master/texmf-dist/tex/latex/texilikecover/texilikecover.sty43
1 files changed, 43 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/texilikecover/texilikecover.sty b/Master/texmf-dist/tex/latex/texilikecover/texilikecover.sty
new file mode 100644
index 00000000000..cdd6deb8042
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/texilikecover/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