\documentclass[a4paper,oneside]{article}
%\documentclass[12pt,a4paper]{article}
%\documentclass[11pt,a4paper]{article}  
%\documentclass[11pt,a4paper,pdf,colorBG]{article}
%\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[french]{babel}
\usepackage[utf8]{inputenc} %% seul:   permet d'editer les accents  é   è     ç    direct du clavier  \\ 
%..........................................................................................................
\usepackage{setspace} 												      
\usepackage{vmargin}          % Pour fixer les marges du document
\setmarginsrb
{1cm} 	%marge gauche
{0.4cm} 	%marge en haut
{1cm} %marge droite
{0.8cm} %marge en bas
{0.5cm} 	%hauteur de l'entête
{0.5cm} %distance entre l'entête et le texte
{0.5cm} 	%hauteur du pied de page
{0.5cm} %distance entre le texte et le pied de page
  %  \setmarginsrb{2cm}{1.2cm}{2cm}{1.2cm}{0cm}{0cm}{0cm}{0cm} 
\usepackage{mathtools}
\usepackage[fleqn]{amsmath}
%\usepackage{amsmath,amsthm,amssymb,yhmath,stmaryrd}
%\usepackage{amssymb}
%\usepackage{amsthm}
\usepackage{amsfonts}
\usepackage{pstricks,pst-plot,pst-text,pst-tree,pst-eps,pst-fill,pst-node,pstricks-add,pst-eucl, pst-math,pst-blur}

\usepackage[displaymath, tightpage]{preview}
\usepackage{empheq}
\usepackage{graphics}
\usepackage{graphicx}
\usepackage{color}                  %............................................. on en a besoin  pour utiliser les couleurs
\usepackage{lmodern}
 \usepackage{wrapfig}              %..............................................Pour placer les images
\usepackage{dcolumn}
\usepackage{pifont}
\usepackage{multirow}
\usepackage{multicol}

%......................................... POUR  LISTING............................
\usepackage{listings}                                     %........................... a inclure pour la fonction listing
\definecolor{grey}{rgb}{0.95,0.95,0.95}       % ..........................on définit la couleur grise  (c'est un gris très clair)
%......................................... FIN LISTING............................
\usepackage{ifpdf}               %<---- voir pdf.tex
\ifpdf
\usepackage[pdftex]{graphicx}
\else
\usepackage[dvips]{graphicx} \fi
%......................................................
\usepackage{arabtex}                %<------------ arabtex
%......................................................
%\usepackage[f]{esvect}
%\usepackage{icomma}

\usepackage{datetime}
%usepackage{ddmmyyyydate}
%\usepackage[ddmmyyyydate]{datetime}
\ddmmyyyydate
\usepackage{marvosym}      %<----  pour les icon \Telephon  \Letter
\usepackage{url}
\urlstyle{sf}

\date{2012-0-18}
\author{S\'elim Bouras}

\usepackage{hyperref}
\hypersetup{
colorlinks=true, %
breaklinks=true, %
citecolor=red, %
urlcolor= blue, %
linkcolor= blue, %
pdfauthor={S\'elim Bouras}, %
pdfsubject={guiTeX},%polyn\^ ome
pdfkeywords= {d\'ecembre 2011},%
pdfcreator=PDFLaTeX, %
pdfproducer=PDFLaTeX %
}
%........................................................................................................
\usepackage{fancybox}
%............................................................................  COLOR ................................
%    voir  :     http://wiki.mathematex.net/doku.php?id=wiki:latex:entetes   
\definecolor{shadecolor}{cmyk}{0,0,0.41,0}
%\definecolor{light-blue}{cmyk}{0.25,0,0,0}
\definecolor{light-blue}{cmyk}{.1,0,0,0}    % c passé dans MACROMATH
%\definecolor{light-green}{rgb}{.8, 1, .6}   %<--------- vert claire
%............................................................................  END COLOR ................................
%............................................................................  \newsavebox ................................
\newsavebox{\mysaveboxM} % M for math
\newsavebox{\mysaveboxT} % T for text
\newcommand*\Garybox[2][Example]{%
\sbox{\mysaveboxM}{#2}%
\sbox{\mysaveboxT}{\fcolorbox{black}{light-blue}{#1}}%
\sbox{\mysaveboxM}{%
\parbox[b][\ht\mysaveboxM+.5\ht\mysaveboxT+.5\dp\mysaveboxT][b]{%
\wd\mysaveboxM}{#2}%
}%

\sbox{\mysaveboxM}{%
\fcolorbox{black}{shadecolor}{%
\makebox[\linewidth-10em]{\usebox{\mysaveboxM}}%
}%
}%
\usebox{\mysaveboxM}%
\makebox[0pt][r]{%
\makebox[\wd\mysaveboxM][c]{%
\raisebox{\ht\mysaveboxM-0.5\ht\mysaveboxT
+0.5\dp\mysaveboxT-0.5\fboxrule}{\usebox{\mysaveboxT}}%
}%
}%
}


 \usepackage{ulem}          % pour souligner
\usepackage{soul,color} %<------------- voir \sethlcolor{green} \setulcolor{blue} \setstcolor{red}    dans input2
\sethlcolor{green} \setulcolor{blue} \setstcolor{red} %%  <----------avec le paquet  usepackage{soul,color}
\usepackage{exscale,relsize}  %  <--- pour   \mathlarger


%............................................................................  END \newsavebox ................................
\definecolor{gray2}{rgb}{0.95,0.95,0.95} % on définit la couleur grise (c'est un gris très clair)
	\definecolor{gris25}{gray}{0.85}
	                   % % % % % % % % % % % % % % % % % % % % % %   FILIGRANE % % % % % % % % % % % % % % % % %
	                   \usepackage{eso-pic,rotating,xcolor,graphicx} 
	                    \usepackage{ulem}          % pour souligner
                           \usepackage{mathrsfs} %<----------- pour la caligraphie \mathsrc{ S.BOURAS}
	                   \AddToShipoutPicture{%
	                   \unitlength 1cm
	                   \put(11,15){%
	                   \begin{rotate}{45}
	              %  \makebox(0,0){\color{gris25}\scalebox{5}{\Huge  \uwave{$\mathcal  {S. BOURAS}$}}}
	               % \makebox(0,0){\color{gray2}\scalebox{4}{\huge  \uwave{$ \mathscr  {S. B}\copyright \mathscr {URAS}$}}} %%\begin{arabtext} salim \end{arabtext}
                          \makebox(0,0){\color{gray2}\scalebox{4}{\huge  \uwave{$ \mathscr  {S. B}\copyright \mathscr {URAS}$}}}
	                   \end{rotate}}
	                   } 
	                   % % % % % % % % % % % % % % % % % % % % % %   FILIGRANE % % % % % % % % % % % % % % % % %
%............................................................................   COLOR ................................
\definecolor{shadecolor}{cmyk}{0,0,0.41,0}
\definecolor{light-blue}{cmyk}{0.25,0,0,0}
%\usepackage{fullpage,pgfpages}


\begin{document}                     %%......................................................  BEGIN   DOCUMENT ............................%%
%\pgfpagesuselayout{2 on 1}[a4paper,landscape,border shrink=5mm]  %.......................... 2 sur 1 
   \newlength{\lenA} % indentation au d?but d'une ligne
    \setlength{\lenA}{0.cm}
    \newlength{\lenB} % Taille champ dates
    \newlength{\lenC} % Taille champ description
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    % en-t?te %
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%	

\newtagform{brackets}{[}{]}
\usetagform{brackets}




%......................................................................%empheq
\begin{empheq}[box=\Ovalbox]{align}
\textcolor{red}{  \textit{\huge CoommiiiiiInGGgg }} \tag*{}\\     %..................... le \tag{}  vide  elimine la notation 
\textcolor{red}{  \textit{ \huge SooOOnnNN!!!   }}     \tag*{}   
\end{empheq} 
\definecolor{shadowcolor}{rgb}{0,.5,.5}
\setlength\shadowsize{2pt}
 \begin{empheq}[box=\shadowbox*]{align}
 \textcolor{blue}{\textit{ \textquotedblleft {\huge guiTeX}\textquotedblright}}   \tag*{}  
 \end{empheq}
%.....................................................................END empheqempheq
\begin{center}
\rule[1ex]{10cm}{.1ex}
\end{center} 

\renewcommand*\rmdefault{ppl}\normalfont\itshape
\begin{center} %...............................................Download.............................................................
%\psovalbox[linecolor=red]{\blue Download~:}\\
\textit{\textbf{Download~:}}\\
\textbf{\scriptsize  - \textit{windows}:} ~\textcolor{blue}{\scriptsize \url{http://s.bouras.free.fr/guiTeX/win/guiTeX.zip}}\\
\hspace{0.7cm}\textbf{\scriptsize  - \textit{linux} }\hspace{0.3cm} : ~\textcolor{blue}{\scriptsize \url{http://s.bouras.free.fr/guiTeX/linux/guiTeX.tar.bz2}}
\end{center}
\begin{center}
\rule[1ex]{10cm}{.1ex}
\end{center} 
\begin{center}%...............................................Screenshot............................................................
%\psovalbox[linecolor=red]
%{\blue \textit{Screenshot~:}}\\
\textit{\textbf{Screenshot~:}}\par\nopagebreak
\textcolor{blue}{\scriptsize \url{http://s.bouras.free.fr/guiTeX/}}
\end{center}
\begin{center}
\rule[1ex]{10cm}{.1ex}
\end{center} 
%................................................selim2.eps............................................................
   \begin{multicols}{2}

\begin{center}
\includegraphics[width=2cm]{lion}
\end{center}
 \begin{center}
 \includegraphics[width=3cm]{selim2}
\end{center}

 \end{multicols}

\begin{center}
\rule[1ex]{10cm}{.1ex}
\end{center}  %................................................arabtex.............................................................
 \begin{arabtext}
 bada'a  al.hu.twaTu alAuwlaY <\textbf{Premiers pas}~ :>

almu`aadalaTu    $~ a^2 + 2ab +b^2=0 ~:~$     tu`.tiy   al.halla      $a=-b$  .\end{arabtext}\begin{tiny}
\begin{arabtext}salIm yaktubu bial-`arabiyyaTa ta.hta  <...!!... \LaTeX{}><~ :~ \includegraphics[width=0.4cm]{selim}  \hfill  >   salIm buwraas      \today.  \end{arabtext}\end{tiny}


\begin{center}
\rule[1ex]{10cm}{.1ex}
\end{center} 

                	     \marginpar{\rotatebox{90}{\href{http://s.bouras.free.fr/Images/Selim2.jpg}{\includegraphics[width=0.2cm]{moi.eps}} \textit{\tiny \ul{s.bouras}:}\quad \textcolor{blue}{\tiny \href{http://s.bouras.free.fr/guiTeX}{http://s.bouras.free.fr/guiTeX}} }}	 % 	  


{\bf Source~:}  ({\it \today})\begin{scriptsize}

\lstset{numbers=left, tabsize=2, 
frame=single, breaklines=true, 
basicstyle=\ttfamily, 
numberstyle=\tiny\ttfamily, 
framexleftmargin=13mm, 
backgroundcolor=\color{grey}, 
xleftmargin=12mm}

\begin{lstlisting}
\begin{verbatim}
................
\usepackage{arabtex}

................
\begin{arabtext}
 bada'a  al.hu.twaTu alAuwlaY <\textbf{Premiers pas}~ :>
 almu`aadalaTu    $a^2 + 2ab +b^2=0$     tu`.tiy   al.halla      a=-b  .\\
 saliym yaktubu bial-`arabiyyaTa ta.hta  <\LaTeX{}> \hfill  salIm buwraas  :<\quad> \today\\ 
\end{arabtext}
................

\end{verbatim}\end{scriptsize}
\end{lstlisting}



%................... label

\begin{tiny}
\textit{\textbf{See also~:}}\\
\hspace{1cm}  -  \url{http://s.bouras.free.fr/forum/index.php?showtopic=27} .\\
\hspace{1cm}  - \href{http://s.bouras.free.fr/forum/index.php?showtopic=27}{ArabTeX} .\\
\hspace{1cm}  - soon..... \ref{selim} or is it better with \refeq{selim}?




                                 %.............................................................................................................
\begin{center}
\rule[1ex]{18cm}{.1ex}
\end{center}
\begin{arabtext} 
< : \includegraphics[width=0.4cm]{selim} >salIm buwraas  <\hspace{6cm} > -  kullu  `aam wa  'antum bi.hair -  <\hfill   >\today \end{arabtext}
\end{tiny}
\begin{center}
\rule[1ex]{18cm}{.1ex}
\end{center}
\hfill \vfill

%
   % \DoubleLigne{}
   \vfill\vfill
   \null\hfill





     \begin{center}
\begin{minipage}[t]{0.735\textwidth}
\raggedleft  %  
     \newcommand*\greenbox[1]{%
     \colorbox{light-blue!35}{\hspace{2em}#1\hspace{2em}}}
                  \rule[1ex]{15.6cm}{.1ex}\par\nobreak             
    \greenbox{
     {   
     \begin{tiny} 
\begin{arabtext} <\includegraphics[width=0.2cm]{moi.eps}~ \href{http://s.bouras.free.fr/Images/Selim2.jpg}{\textcolor{blue}{Sèlim,  \textsc{Bouras}} }
{ \href{http://s.bouras.free.fr/guiTeX}{\textcolor{cyan}{gui\TeX}}}\quad 
 % \small\itshape
    {\Telefon~t\'el\'ephone}\quad
    {\tiny \Letter~toto@gmail.com}\quad 
 {   Derni\` ere modification :\,\, {\it    mardi  \today~\dateseparator~\hhmmsstime .}}
  %  {\slshape {   Derni\` ere modification :\,\, {\it    vendredi2  \today~\dateseparator~\hhmmsstime .}}}
 >salIm buwraas 
  \end{arabtext} 
  \end{tiny}  
  }}   
  \rule[1ex]{15.6cm}{.1ex}          
\end{minipage} %\\[1em]
     \end{center}



     \begin{center}
     \tiny{
   \textcolor{blue}{\rule[1ex]{8.3cm}{.1ex}}\\
     \fcolorbox{blue}{yellow}{\Acrobatmenu{FullScreen}{Plein Ecran}}
     \fcolorbox{blue}{yellow}{\Acrobatmenu{FirstPage}{D\'ebut}}
     \fcolorbox{blue}{yellow}{\Acrobatmenu{PrevPage}{Pr\'ec\'edent}}
     \fcolorbox{blue}{yellow}{\Acrobatmenu{NextPage}{Suivant}}
     \fcolorbox{blue}{yellow}{\Acrobatmenu{GoToPage}{Page}}
     \fcolorbox{blue}{yellow}{\Acrobatmenu{LastPage}{Fin}}
     \fcolorbox{blue}{yellow}{\Acrobatmenu{ZoomIn}{Zoom}}
     \fcolorbox{blue}{yellow}{\Acrobatmenu{Quit}{Quitter}}\\
        \textcolor{blue}{\rule[1ex]{8.3cm}{.1ex}}
     }
     \end{center}

\clearpage



\[
\cramped{x^2}
\leftrightarrow x^2
\quad
\cramped[\scriptstyle]{x^2} \leftrightarrow {\scriptstyle x^2}
\]

\begin{quote}\renewcommand*\rmdefault{ppl}\normalfont\itshape
The 2005 Euro\TeX{} ................ ($\cramped{2^{2^2}}$) .......................
\end{quote}

\newtagform{brackets}{[}{]}
\usetagform{brackets}
\begin{equation*}\label{eq:mathclap-b}
\sum_{\crampedclap{a^2<b^2<c}}
\tag{\ref{eq:mathclap}*}
\end{equation*}





\[
V = \sum_{1\le i\le j\le n}^{\infty} V_{ij} \quad
X = \smashoperator{\sum_{1\le i\le j\le n}^{3456}} X_{ij} \quad
Y = \smashoperator[r]{\sum\limits_{1\le i\le j\le n}} Y_{ij} \quad
Z = \smashoperator[l]{\mathop{T}_{1\le i\le j\le n}} Z_{ij}
\]





\[
\text{a)} \lim_{n\to\infty} \max_{p\ge n} \quad
\text{b)} \lim_{n\to\infty} \max_{p^2\ge n} \quad
\text{c)} \lim_{n\to\infty} \sup_{p^2\ge nK} \quad
\text{d)} \limsup_{n\to\infty} \max_{p\ge n}
\]



\begin{quote}\renewcommand*\rmdefault{ppl}\normalfont\itshape
\begin{equation*}
a=b \label{eq:example}\tag*{Q\&A}
\end{equation*}
See \ref{eq:example} or is it better with \refeq{eq:example}?
\end{quote}



\end{document}
