mercoledì 27 maggio 2009

LaTeX: personalizzare \maketitle

Per personalizzare il risultato di \maketitle, mettere nel preambolo*:
\makeatletter
\def\@maketitle{\begingroup\fboxsep=1.5em
\let\footnote\thanks
\fbox{\begin{tabular}{c}
\LARGE \@title\\[1.5em]
\large\lineskip.5em
\begin{tabular}[t]{c}%
\@author
\end{tabular}\\[1em]
\large\@date
\end{tabular}}\endgroup}
\makeatother

* in questo esempio, si mette una cornice intorno a tutto il contenuto generato da \maketitle.

Nessun commento:

Google

in tutto il web in 16marzo
Per scrivere con caratteri a spaziatura fissa
  questo è il codice 
And what about this one?