I simply want to use the following example code, for my title page:
Code: Select all
\newcommand*{\titleAT}{\begingroup% Anatomy of a Typeface
\drop=0.1\textheight
\vspace*{\drop}
\rule{\textwidth}{1pt}\par
\vspace{2pt}\vspace{-\baselineskip}
\rule{\textwidth}{0.4pt}\par
\vspace{0.5\drop}
\centering
\textcolor{Medium}{
{\Huge THE BOOK}\\[0.5\baselineskip]
{\Large OF}\\[0.75\baselineskip]
{\Huge CONUNDRUMS}}\par
\vspace{0.25\drop}
\rule{0.3\textwidth}{0.4pt}\par
\vspace{\drop}
{\Large \scshape The Author}\par
\vfill
{\large \textcolor{Medium}{\plogo}}\\[0.5\baselineskip]
{\large\scshape the publisher}\par
\vspace*{\drop}
\endgroup}
Code: Select all
\plogo
Under ``THE AUTHOR'', I want to have my e-mail adress, and, at the place of the ``THE PUBLISHER'' text, I want there to be the current date.
My current model was this one (the comments are in French):
Code: Select all
\makeatletter
% Une commande semblable à \rlap ou \llap, mais centrant son argument
\def\clap#1{\hbox to 0pt{\hss #1\hss}}%
% Une commande centrant son contenu (à utiliser en mode vertical)
\def\ligne#1{%
\hbox to \hsize{%
\vbox{\centering #1}}}%
% Une comande qui met son premier argument à gauche, le second au
% milieu et le dernier à droite, la première ligne ce chacune de ces
% trois boites coïncidant
\def\haut#1#2#3{%
\hbox to \hsize{%
\rlap{\vtop{\raggedright #1}}%
\hss
\clap{\vtop{\centering #2}}%
\hss
\llap{\vtop{\raggedleft #3}}}}%
% Idem, mais cette fois-ci, c'est la dernière ligne
\def\bas#1#2#3{%
\hbox to \hsize{%
\rlap{\vbox{\raggedright #1}}%
\hss
\clap{\vbox{\centering #2}}%
\hss
\llap{\vbox{\raggedleft #3}}}}%
% La commande \maketitle
\def\maketitle{%
\thispagestyle{empty}\vbox to \vsize{%
%\haut{}{\@blurb}{}
\vfill
\ligne{\Large \@title}
\vspace{5mm}
\ligne{\Large \@author}
\vspace{1mm}\ligne{\texttt{<\@email>}}
\vspace{1cm}
\vfill
\vfill
\bas{}{\@location, \@date}{}
}%
\cleardoublepage
}
% Les commandes permettant de définir la date, le lieu, etc.
\def\date#1{\def\@date{#1}}
\def\author#1{\def\@author{#1}}
\def\title#1{\def\@title{#1}}
\def\location#1{\def\@location{#1}}
\def\blurb#1{\def\@blurb{#1}}
\def\email#1{\def\@email{#1}}
\def\captionof#1#2{{\def\@captype{#1}#2}}
\makeatother
and I was using:
Code: Select all
\date{\today}
\author{\textit{\Large{Merciadri Luca}}}
\location{Location}
\email{myemail}
How can I manage to do this in not ``a dirty'' way?
Thanks for suggestions.