\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{fourier}
\usepackage[scaled]{helvet}
\usepackage[scaled]{luximono}
\usepackage{makeidx}
\usepackage{longtable}
\usepackage{multicol}
\usepackage{pst-node}
\usepackage{fvrb-ex}
\usepackage{geometry}
\usepackage{hyperref}
\usepackage{microtype}
\usepackage{xlop}

\fvset{xrightmargin=5cm,frame=single,fontsize=\small}
\geometry{a4paper,left=4cm,right=4cm,top=3cm,bottom=3cm,nohead}

\let\SBSori\SideBySideExample
\def\SideBySideExample{%
  \par\bigbreak\SBSori
}
\let\endSBSori\endSideBySideExample
\def\endSideBySideExample{%
  \endSBSori
  \par\bigskip\noindent}

\newenvironment{syntaxBNF}{%
  \catcode`\_=12
  \def\*##1*{$\langle$##1$\rangle$}%
  \def\alt{\unskip~$|$~\ignorespaces}%
  \def\sameline{\multicolumn{1}{c}{} & \null\quad}%
  \ttfamily
  \begin{center}\begin{tabular}{r@{\quad:=\quad}l}}
{\end{tabular}\end{center}}

\setlongtables
\newcommand\package[1]{\textsf{#1}}
\newcommand\file[1]{\texttt{#1}}

\newcommand\macro[1]{\texttt{$\backslash$#1}\index{#1@\texttt{\boi {#1}}}}
\newcommand\parameter[1]{\texttt{#1}\index{#1@\texttt{#1}}%
  \index{parametre@paramètre!\texttt{#1}}}

\newcommand\bull{\vrule width3pt height4pt depth-1pt}

\newcounter{stuff}
\makeindex
