source: trunk/IPs/systemC/processor/Morpheo/Documentation/sty/poster-style.sty @ 91

Last change on this file since 91 was 91, checked in by rosiere, 15 years ago

Documentation

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