GeneralModification of the title page

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
latexforever
Posts: 120
Joined: Fri Nov 14, 2008 9:40 pm

Modification of the title page

Post by latexforever »

Hello everybody,

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}
(called titleAT), but I neither want to have the publisher logo (called with

Code: Select all

\plogo
) nor the ``THE PUBLISHER'' text.

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}
outside of the preamble.

How can I manage to do this in not ``a dirty'' way?

Thanks for suggestions.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

marco_d
Posts: 57
Joined: Tue Jan 20, 2009 7:49 pm

Modification of the title page

Post by marco_d »

Hello,

to modify your title page you can use the environment titlepage:

Code: Select all

\begin{titlepage}
SOMETHING
\end{titlepage}
Have a look at this:
http://en.wikibooks.org/wiki/LaTeX/Title_Creation

Marco
i am German. I can not use difficult words. :-)
latexforever
Posts: 120
Joined: Fri Nov 14, 2008 9:40 pm

Re: Modification of the title page

Post by latexforever »

Thanks, I've still tried a lot of things, and it now works.

It is less complicated I think it was.

Thanks!
Post Reply