source: trunk/IPs/systemC/processor/Morpheo/Documentation/Source/Include/poster-style.sty @ 23

Last change on this file since 23 was 23, checked in by rosiere, 17 years ago

Documentation pour chaque composant.
Documentation : ajout d'un poster et d'un article.
RegisterFile_Multi_Banked_Glue - non encore stable.

File size: 5.7 KB
Line 
1\usepackage{epsfig}
2\usepackage{multicol}
3\usepackage{pstricks,pst-grad}
4\usepackage[french]{babel}
5\usepackage[latin1]{inputenc}  % Pour utiliser les caractères accentués dans votre texte
6\usepackage{openbib}
7
8\bibliographystyle{plain}
9
10%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
11% Definition of some variables and colors
12%\renewcommand{\rho}{\varrho}
13%\renewcommand{\phi}{\varphi}
14\setlength{\columnsep}{3cm}
15\setlength{\columnseprule}{2mm}
16\setlength{\parindent}{0.0cm}
17
18%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
19%%%               Background                     %%%
20%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
21
22\newrgbcolor{cellLineColor}{.7. .7 .9} % lightblue
23\newrgbcolor{cellGradBegin}{1. 1. 1.}   % white
24\newrgbcolor{cellGradEnd}{.5 .5 1.}   % whiteblue
25\newrgbcolor{backgroundGradBegin}{1. 1. 1.}   % grabbegin
26\newrgbcolor{backgroundGradEnd}{1. 1. 1.}   % cellGradEnd
27
28\newcommand{\background}[1]
29           {
30             \psframe[fillstyle=gradient,gradbegin=backgroundGradBegin,gradend=backgroundGradEnd,gradmidpoint=#1](0.,0.)(1.\textwidth,-1.\textheight)
31           }
32
33%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
34%%%                Poster                        %%%
35%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
36
37\newenvironment{poster}{\begin{center} \begin{minipage}[c]{0.98\textwidth}}{\end{minipage} \end{center}}
38
39%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
40%%%                pcolumn                       %%%
41%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
42
43\newenvironment{pcolumn}[1]{\begin{minipage}{#1\textwidth}\begin{center}}{\end{center}\end{minipage}}
44
45%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
46%%%                pbox                          %%%
47%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
48
49\newcommand{\pbox}[4]{\psshadowbox[#3]{\begin{minipage}[t][#2][t]{#1}#4\end{minipage}}}
50           
51%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
52%%%%                myfig                         %%%
53%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
54%% \myfig - replacement for \figure
55%% necessary, since in multicol-environment
56%% \figure won't work
57%
58%\newcommand{\myfig}[3][0]
59%          {
60%            \begin{center}
61%              \vspace{1.5cm}
62%              \includegraphics[width=#3\hsize,angle=#1]{#2}
63%              \nobreak\medskip
64%            \end{center}
65%          }
66
67%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
68%%%%                mycaption                     %%%
69%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
70%% \mycaption - replacement for \caption
71%% necessary, since in multicol-environment \figure and
72%% therefore \caption won't work
73%
74%%\newcounter{figure}
75%\setcounter{figure}{1}
76%\newcommand{\mycaption}[1]
77%          {
78%            \vspace{1.5cm}
79%            \begin{quote}
80%              {
81%                {\sc Figure}
82%                \arabic{figure}: #1
83%              }
84%            \end{quote}
85%            \vspace{1.5cm}
86%            \stepcounter{figure}
87%          }
88
89%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
90%%%                printgraph                    %%%
91%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
92
93%% % file, Dimension, légende
94\newcommand{\printgraph}[3]
95           {
96             %\vspace*{1cm}
97             \begin{center}
98               \includegraphics[width=\columnwidth]{\dirschema/#1.eps}
99               \label{#1}
100               \nobreak\medskip
101             \end{center}
102             %\vspace*{1cm}
103
104%            \begin{figure}[htbp]
105%              \centering
106%              \includegraphics[scale=#2]{\dirschema/#1.eps}
107%              \caption{#3}
108%              \label{#1}
109%            \end{figure}
110           }
111
112\newcommand{\printgraphonly}[2]
113           {\begin{figure}[htbp]
114               \centering
115               \includegraphics[scale=#2]{\dirschema/#1.eps}
116               \label{#1}
117             \end{figure}
118           }
119           
120
121%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
122%%%                Section                       %%%
123%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
124
125\newcommand{\BoxSection}[2]
126           {
127             \vspace*{1cm}
128             \begin{center}
129               \pbox{#2}
130                    {}
131                    {linewidth=2mm,framearc=0.1,linecolor=cellLineColor,fillstyle=gradient,gradangle=0,gradbegin=cellGradBegin,gradend=cellGradEnd,gradmidpoint=1.0,framesep=1em}
132                    {
133                      \begin{center}
134                        #1
135                      \end{center}
136                    }
137             \end{center}
138             \vspace*{1cm}
139           }
140
141%\newcommand{\Title}[1]{\BoxSection{#1}{0.8\textwidth}}
142\newcommand{\Section}[1]{\BoxSection{#1}{0.8\columnwidth}}
143
144%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
145%%%                cell                          %%%
146%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
147\newcommand{\Cell}[1]{\pbox{0.9\textwidth}{}{linewidth=2mm,framearc=0.1,linecolor=cellLineColor,fillstyle=gradient,gradangle=0,gradbegin=cellGradBegin,gradend=cellGradEnd,gradmidpoint=1.0,framesep=1em}{#1}}
148
149%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
150%%%                maketitle                     %%%
151%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
152
153\def\affiliation#1{\gdef\@affiliation{#1}}
154\gdef\@affiliation{}
155
156\def\email#1{\gdef\@email{#1}}
157\gdef\@email{}
158
159\def\@maketitle
160   {
161     \vspace*{1cm}
162     \begin{center}
163       \begin{pcolumn}{0.98}
164         \pbox{0.95\textwidth}{}{linewidth=2mm,framearc=0.3,linecolor=cellLineColor,fillstyle=gradient,gradangle=0,gradbegin=cellGradBegin,gradend=cellGradEnd,gradmidpoint=1.0,framesep=1em}
165              {
166                %%% Logo gauche
167                \begin{minipage}[c][9cm][c]{0.1\textwidth}
168                  \begin{center}
169                    % \includegraphics[width=7cm,angle=0]{gklogo.eps}
170                  \end{center}
171                \end{minipage}
172                %%% Titel
173                \begin{minipage}[c][9cm][c]{0.78\textwidth}
174                  \begin{center}
175                    {\sc \Huge \@title}\\[10mm]
176                    {\Large \@author\\[7.5mm]
177                      \@email\\[7.5mm]
178                      \@affiliation}
179                  \end{center}
180                \end{minipage}
181                %%% Logo droit
182                \begin{minipage}[c][9cm][c]{0.1\textwidth}
183                  \begin{center}
184                    %  \includegraphics[width=7cm,angle=0]{gklogo.eps}
185                  \end{center}
186                \end{minipage}
187              }
188       \end{pcolumn}
189     \end{center}
190     \vspace*{1cm}
191   }
192   
Note: See TracBrowser for help on using the repository browser.