<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
The babel patch for two columns you mentioned got bugs and it is about when you use geometry class lets say \usepackage[left=2cm,right=2cm]{geometry} it does not set the right and left margins correctly. I fixed that in xepersian and I believe the perfect code should be<br><br>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>\def\RTL@outputdblcol{\if@firstcolumn<br>\global\@firstcolumnfalse<br>&nbsp;&nbsp;&nbsp; \global\setbox\@leftcolumn\box\@outputbox<br>&nbsp; \else \global\@firstcolumntrue<br>&nbsp;&nbsp;&nbsp; \setbox\@outputbox\vbox{%<br>&nbsp;&nbsp;&nbsp;&nbsp; \hbox to\textwidth{%<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \hbox to\columnwidth{\box\@outputbox \hss}%<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \hfil \vrule width\columnseprule\hfil<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \hbox to\columnwidth{\box\@leftcolumn \hss}%<br>&nbsp;&nbsp; }}\@combinedblfloats<br>\@outputpage \begingroup \@dblfloatplacement<br>\@startdblcolumn<br>\@whilesw\if@fcolmade \fi<br>{\@outputpage\@startdblcolumn}\endgroup<br>&nbsp;&nbsp;&nbsp; \fi}<br>\def\LTR@outputdblcol{\if@firstcolumn<br>\global\@firstcolumnfalse<br>&nbsp;&nbsp;&nbsp; \global\setbox\@leftcolumn\box\@outputbox<br>&nbsp; \else \global\@firstcolumntrue<br>&nbsp;&nbsp;&nbsp; \setbox\@outputbox\vbox{\hbox to\textwidth{%<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \hbox to\columnwidth<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {\box\@leftcolumn \hss}\hfil<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \vrule width\columnseprule\hfil<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \hbox to\columnwidth{\box\@outputbox \hss}}}%<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \@combinedblfloats<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \@outputpage \begingroup \@dblfloatplacement<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \@startdblcolumn<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \@whilesw\if@fcolmade \fi<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {\@outputpage\@startdblcolumn}\endgroup<br>&nbsp;&nbsp;&nbsp; \fi}<br>\newcommand{\RTLdblcol}{\renewcommand{\@outputdblcol}{\RTL@outputdblcol}}<br>\newcommand{\LTRdblcol}{\renewcommand{\@outputdblcol}{\LTR@outputdblcol}}<br>\RTLdblcol<br>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br><br>I reported \underline bug and others a while ago and you can look at them in the arcive namely<br><br>http://tug.org/mailman/htdig/xetex/2008-December/011359.html<br><br><br>If you really want perfect bidi support, then have a look at xepersian.sty<br><div><div><pre><br></pre></div></div>
<div>&nbsp;</div>
<div>&nbsp;</div><br /><hr />Get the new Windows Live Messenger. <a href='http://download.live.com/' target='_new'>Looking for a fresh way to share photos?</a></body>
</html>