source: Sophya/trunk/DocHFI_L2/defdocl2.sty@ 4084

Last change on this file since 4084 was 1142, checked in by ansari, 25 years ago

DocL2 style file and example, work on WBS - Reza 25/8/2000

  • Property svn:executable set to *
File size: 2.0 KB
Line 
1% ------ Simple style file for HFI-L2 LaTeX documents ---------
2% R. Ansari - LAL
3% V 1.0 08/2000
4% --------------------------------------------------------------
5% Standard packages
6\usepackage{graphicx}
7% Use this package for producing PDF files (the font name can be changed)
8\usepackage{palatino}
9
10% Page sizes
11\setlength{\textwidth}{16cm}
12\setlength{\textheight}{21.5cm}
13\setlength{\topmargin}{0.5cm}
14\setlength{\oddsidemargin}{0.cm}
15\setlength{\evensidemargin}{0.cm}
16\setlength{\unitlength}{1mm}
17
18% ---------- Commands for setting up the title page ----------------
19
20% >>> The title page head and document title
21% >>> Usage: \titleph{ My document title }
22% The icon file hfi_icon_vsmall.eps in Encapsulated Postscript format is used
23% You can change the document group identification (Planck HFI-L2)
24
25\newcommand{\titleph}[1]
26{
27\vspace{1cm}
28\makebox[30mm][c]{\includegraphics[width=3cm]{hfi_icon_small.eps}}
29\hspace{5mm} \raisebox{12mm}{\rule{85 mm}{0.5 mm}\makebox[40 mm]{\bf Planck HFI-L2 }}
30\vspace{2cm}
31\begin{center}
32% \par \renewcommand{\baselinestretch}{2.0} \small
33{\LARGE \bf #1}
34\end{center}
35}
36
37% >>> The author list table
38% >>> Usage: \authors{ name1 & institute \\ name2 & institute ... }
39
40\newcommand{\authors}[1]
41{
42\vspace{3 cm}
43\begin{center}
44\begin{tabular}{ll}
45#1
46\end{tabular}
47\end{center}
48}
49
50
51% >>> Title page foot, document No, revision , and date
52% >>> Usage \titlepf{PL-HFI-OOO-YY-ZZZnnn}{1.0}{2000-08-24}
53
54\newcommand{\titlepf}[3]
55{
56\vfill
57\hfill
58\framebox[\textwidth]{\hspace{0.5cm} \large \bf #1 \hspace{1cm} Rev: #2
59\hfill #3 } \\
60}
61
62% >>> Simplified version for title page foot, with automatic insertion of date
63% >>> Usage \titlepfd{PL-HFI-OOO-YY-ZZZnnn}
64\newcommand{\titlepfd}[2]
65{
66\titlepf{#1}{#2}{\today}
67}
68
69% >>> The revision history table
70\newcommand{\revisionhistory}
71{
72\newpage
73\vspace*{1cm}
74\begin{center}
75\mbox{
76\rule{50 mm}{0.6 mm} \makebox[60 mm]{\bf Revision history} \rule{50 mm}{0.6 mm} }
77\end{center}
78\vspace{2 mm}
79}
Note: See TracBrowser for help on using the repository browser.