%\magnification=1200 %or 1095
\hsize=6.5 true in
\hoffset=0 true in
\nopagenumbers
\input arabtex.tex 
%\input iso88596.sty
%\setcode{iso8859-6}
\setverb
\novocalize
\accentshigh
\setnash

%Arabic font sizes:
\font\onetennash=nash14 scaled \magstep1
\font\twotennash=nash14 scaled \magstep2
\font\threetennash=nash14 scaled \magstep3
\font\fourtennash=nash14 scaled \magstep4
\font\fivetennash=nash14 scaled \magstep5
%bold face font sizes:
\font\onetennashbf=nash14bf scaled \magstep1
\font\twotennashbf=nash14bf scaled \magstep2
\font\threetennashbf=nash14bf scaled \magstep3
\font\fourtennashbf=nash14bf scaled \magstep4
\font\fivetennashbf=nash14bf scaled \magstep5

\newdimen \hvlength
\newdimen \hvsep
\newdimen \vindent

% define some verse dimensions, verse will be centered
\def \setversedim #1#2{% set length of half-verse, separation
\hvlength #1\relax \hvsep #2\relax 
\vindent \hsize \advance \vindent -\hvsep
\divide \vindent 2 \advance \vindent -\hvlength }

% macro for a verse with a connection
\def \connverses #1#2#3{% first half-verse, connection, second half-verse
\noindent \hspace \vindent
\spreadbox \hvlength {#1}% first block
\spreadbox \hvsep    {#2}% separator
\spreadbox \hvlength {#3}% second block
\par }

% macro for two half verses
\def \halfverses #1#2{% normal case
\connverses {#1}{\hfill}{#2}}

% make macros known to ArabTeX
\allowarab \halfverses
\allowarab \connverses

% define formatting of poetry
\setversedim {1.8in}{0.3in} %These dimensions can be changed.

\setspace {3pt plus .7fil} %Increase the fil factor for more space and less 
%kashidah.

%Sample to be followed:
%\halfverses { [first hemistich]            }
%            { [second hemistich]           }
%
%\connverses { [first hemistich]            }
%{ [kashidah or text between hemistichs} { [second hemistich] }
%
%\connverses { [first hemistich]            }
%{ [text and \hfill} { [second hemistich]   }
\setarabfont\onetennash
\centerline{<mn dywAn>}
\bigskip
\setarabfont\fourtennash
\centerline{<Al^sAb al.zryf m.hmd bn slymAn altlmsAny>}
\vskip .5 in
\setarabfont\onetennash
\centerline{<(kAml : mtfA`ln mtfA`ln mtfA`ln)>}
\bigskip
\setarabfont\twotennash
\begin{arabtext}

\halfverses                    {mA bAl h"a^g"r"uk wAln"aw_A}
                            {qd _d"ub"t"u fyk mn al^g"aw_A}
\halfverses                    {(mA byn h^g"r"ik wAlnw_A}
                            {qd _d"ub"t"u fyk mn al^gw_A)}
\halfverses                    {yA fAt"iny  bm`A.tf"iN}
                            {s"a^g"adt" lhA q"u.d"ub"u al-l"iw_A}
\halfverses                    {(yA m"u_h^g"ilA bq"awAmh}
                            {'a.g.sAn"a bAnAt al-l"iw_A)}
\halfverses                    {w.hyAT"i w^gh"ik lA slA}
                            {`nk alm"u.hbb"u wlAnw_A}
\halfverses                    {yA mn .hk_A bq"awAm"ih} 
                            {qdd"a alq.dyb"i m"u_d"i altw_A}
\halfverses                    {(yA mn .hk_A bqwAmh}
                               {qd alq.dyb 'i_dA altw_A)}
\connverses                    {mA 'ant `ndy wAlq.dy-}
                     {-----}    {-b"u al-l"ad"n"u fy .hdd"iN sw_A}
\halfverses                    {h_dAk .hrrkh alhwA}
                            {'|"u w'ant .hrrkt"a alhw_A}
\end{arabtext}
\vfill\vfill\vfill
\setspace {3pt} %plus 0fil}
\setarabfont\tennash
\begin{arabtext}
alm.sAdr: 
\par
dywAn al^sAb al.zryf , byrwt , 1891 , .s 72
\par
          fwAt alwfyAt l-lktby , ^g 2 , .s 213
\par
          nhAyT alArb l-lnwyry , ^g 2 , .s 102

\end{arabtext}
\end

