From a26fd9fb3cac3c0d17413ce2c85cc19ab19eb074 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Sun, 1 Apr 2007 23:20:22 +0200 Subject: [PATCH] Fix email --- lematema.cls | 8 ++++---- test/lematest-en.tex | 12 ++---------- test/lematest-it.tex | 14 +++----------- 3 files changed, 9 insertions(+), 25 deletions(-) diff --git a/lematema.cls b/lematema.cls index 5c2540f..5e9a570 100644 --- a/lematema.cls +++ b/lematema.cls @@ -31,10 +31,10 @@ Class for articles in ``Le Matematiche''] \usepackage{mathptmx} %%% Package `babel' for language management \RequirePackage{babel} -%%% Package `url' for urls and emails +%%% Package `url' for urls \RequirePackage{url} -%% Define an \email{...} command -\DeclareUrlCommand\email{\urlstyle{tt}} +%%% Define an \email{...} command, but let's not use the url package for this +\newcommand{\email}[1]{{e-mail: \upshape\ttfamily#1}} %%% AMS math environments and symbols \RequirePackage{amsmath} @@ -277,7 +277,7 @@ Vol.~\LM@Vol~(\LM@Year)~--~Fasc.~\LM@Num,~pp.~\LM@FirstPg--\LM@LastPg \the\@titlenote \par}% \vskip 0.5truecm% - { + {\fontsize{11.5}{14}\selectfont \begin{tabular}[t]{c}% \MakeUppercase{\@author} \end{tabular}\par diff --git a/test/lematest-en.tex b/test/lematest-en.tex index e12357c..be210a4 100644 --- a/test/lematest-en.tex +++ b/test/lematest-en.tex @@ -24,25 +24,17 @@ % its affiliation should be specified with the \address command. It's possible % to split the address on multiple lines using \\ -% To put email addresses in the affiliation, it's necessary to define commands -% for them beforehand, using \urldef. The syntax is as follow: -% \urldef{}{\email}{}: -\urldef{\anemail}{\email}{first.lastname@server.email} -\urldef{\anotheremail}{\email}{another.author@other.server} -% The commands can then be used to insert the email addresses in the \address, -% as shown below: - \author{Name Surname} \address{% Some Department\\ Some University\\ -\anemail +\email{first.lastname@server.email} } \author{Some O. Person} \address{% Other Department\\ Other University\\ -\anotheremail +\email{another.author@other.server} } % Submission date, in format yyyy/mm/dd (numerical) diff --git a/test/lematest-it.tex b/test/lematest-it.tex index ca83174..cd98fd3 100644 --- a/test/lematest-it.tex +++ b/test/lematest-it.tex @@ -27,27 +27,19 @@ % Autori dell'articolo. Inserire ogni autore con il comando \author, e % l'affiliazione con il comando \address; il comando \address può anche venir -% diviso in righe -% usando \\ - -% Nel caso si vogliano inserire gli indirizzi email degli autori, occorre -% definire due comandi mediante \urldef, con la sintassi: -% \urldef{}{\email}{}: -\urldef{\unaemail}{\email}{nome.cognome@server.email} -\urldef{\unaltraemail}{\email}{altra.email@altro.server} -% e poi inserire i comandi all'interno di \address, come mostrato sotto. +% diviso in righe usando \\ \author{Nome Cognome} \address{% Dipartimento di Questo e Quest'altro\\ Università di una Certa Città\\ -\unaemail +\email{nome.cognome@server.email} } \author{Altra Persona} \address{% Altro Dipartimento\\ Altra Università\\ -\unaltraemail +\email{altra.email@altro.server} } % Data di entrata in redazione, nella forma anno/mese/giorno -- 2.32.0.93.g670b81a890