summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/rectopma/TestTitle.tex
blob: 9ec54d5bf826af2bce2fc8f31175665bad91c675 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
% THIS IS BOTH A MINIMAL USER-MANUAL 
% OF THE PACKAGE  rectopma.sty
% AND  AN EXAMPLE OF ITS  USE 
%
% File  :   TestTitle.tex 
% Author:   Battista Benciolini
% E-mail:   <Battista.Benciolini@ing.unitn.it>
% Date  :   January  2002
% See file  rectopma.sty  for more information
%
\documentclass[a4paper,10pt]{article}
\usepackage{rectopma}   
%
\date{ }
\title{Test of the package \texttt{rectopma} \intitlebreak and 
suggestions for its use \intitlebreakvs (I need a long title)\thanks{
Comments are welcome !}}
\author{B.Benciolini\thanks{e-mail: battista.benciolini@ing.uitn.it}
\and  No Second Author\thanks{No-Where Institute}}
%
\SaveTopMatter
%
\begin{document}
\maketitle 
%
\section{Introduction}
The package \verb+rectopma+ makes it possible to reuse the main 
content of \verb+\title+ and \verb+\author+ in different parts of a 
document. 
It is also possible to force linebreaks in the title with a command 
that is only active inside the top-matter, not when the title is 
re-printed elsewhere.
%
\section{Instruction}
The new commands \verb+\intitlebreak+ and \verb+\intitlebreakvs+
(vs= vertical skip) are used to force a line break in the title 
that disappears when the title itself is re-used outside the top matter 
of the paper.
The content of \verb+\title+ and \verb+\author+ must be saved with the 
command \verb+\SaveTopMatter+ before the action of \verb+\maketitle+ 
and can be reprinted with the new commands \verb+\SavedAuthor+
and \verb+\SavedTitle+. When they are reprinted the names of the 
various authors are simply separated by commas and the content of 
\verb+\thanks+ is ignored.
%
\section{Examples}
The authors of this paper are listed here after: \SavedAuthor. This 
is obtained with \verb+\SavedAuthor+. It is also possible to reprint 
the title, by means of  \verb+\SavedTitle+, and the result is: 
\SavedTitle. The title can be printed with a different style, as in:
\textbf{\SavedTitle}, obtained  with  \verb+\textbf{\SavedTitle}+.
%
\end{document}
\endinput
%
% End of file TestPaper.tex