%
% Copyright (C) 2008-2001 by Azzeddine LAZREK. All rights reserved.
%
% amexamla.tex
% This file belongs to the RyDArab package.
%


% RyDArab examples for LaTeX


\documentclass[a4paper,12pt]{article}

%Choise betwen the two folowing lines
%\usepackage{omega}

\usepackage{arabtex}
\setarab \novocalize
\usepackage{transtec}
\setcode{transtec}

%\usepackage[cp1256]{inputenc}
%\usepackage[LAE,LFE,OT1]{fontenc}
%\usepackage[farsi,arabic,french,english]{babel}
%\usepackage{poetry}
%\Novocalize

\usepackage%[]
{rydarab}

\funwithdots
%\funwithoutdots

\usepackage[parenthesis,kashidasymbol]{curext}

%\usepackage{antisym}

%\pagestyle{empty}

\setlength{\textheight}{23cm}
\setlength{\textwidth}{16cm}

\begin{document}

{\arabmath
\let\amhbox=\arhbox\relax
\input amexam
}

\newpage
{\latinmath
\let\amhbox=\arhbox\relax
\input amexam
}

\newpage
{\latinmath
%\let\arhbox=\amhbox\relax
\let\amhbox=\arfrhbox\relax
\input amexam
}

\newpage
{\latinmath
%\let\arhbox=\amhbox\relax
\let\amhbox=\arenhbox\relax
\input amexam
}

\newpage
{\arabmath
\let\amhbox=\arhbox\relax
\input amexam
}


\end{document}

\begin{arabyenv}

$$\begin{array}{\amrl{|c|ccccr|}}
\hline \amrl{c &-\infty& &0& &+\infty}\\ \hline \amrl{d'(c)&5 &+
&0&- &-{19} }\\ \hline
\amrl{ & & &2& & }\\
\amrl{d(c) & &\nwarrow& &\swarrow& }\\
\amrl{ &-\infty& & & &-7 }\\ \hline
\end{array}$$

\end{arabyenv}
