summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/bidi/rapport3-xetex-bidi.def
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-04-12 17:37:46 +0000
committerKarl Berry <karl@freefriends.org>2010-04-12 17:37:46 +0000
commitafcb03dcce6a30a995944f6b94adc8782ea9f3e2 (patch)
treeb65abfecc2ed525194f04eeec40a0e27d11ff588 /Master/texmf-dist/tex/latex/bidi/rapport3-xetex-bidi.def
parentd68dc2a80b6149839a67b6498294f1b774687157 (diff)
bidi update (11apr10)
git-svn-id: svn://tug.org/texlive/trunk@17822 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/bidi/rapport3-xetex-bidi.def')
-rw-r--r--Master/texmf-dist/tex/latex/bidi/rapport3-xetex-bidi.def29
1 files changed, 24 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/bidi/rapport3-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/rapport3-xetex-bidi.def
index a2070d72781..9bbeaebbf9c 100644
--- a/Master/texmf-dist/tex/latex/bidi/rapport3-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/rapport3-xetex-bidi.def
@@ -8,13 +8,15 @@
%% License information appended.
%%
%%
-\ProvidesFile{rapport3-xetex-bidi.def}[2010/07/25 v0.2 bidi adaptations for rapport3 class for XeTeX engine]
+\ProvidesFile{rapport3-xetex-bidi.def}[2010/07/25 v0.3 bidi adaptations for rapport3 class for XeTeX engine]
\if@titlepage
\renewcommand*\TitleFont{\rmfamily}
\renewcommand*\maketitle{%
\begin{titlepage}%
\let\footnotesize\small
- \let\footnoterule\relax
+ \let\right@footnote\relax
+ \let\left@footnote\relax
+ \let\textwidth@footnote\relax
\let \footnote \thanks
\let \LTRfootnote \LTRthanks
\let \RTLfootnote \RTLthanks
@@ -210,7 +212,7 @@
\renewenvironment{abstract}{%
\titlepage
\null\vfil
- \hbox{\SectFont \abstractname}
+ \section*{\SectFont\abstractname}%
\noindent\ignorespaces}
{\par\vfil\null\endtitlepage}
\else
@@ -218,9 +220,8 @@
\if@twocolumn
\section*{\abstractname}%
\else
- \small
\bgroup\if@RTL\leftskip\else\rightskip\fi=\unitindent
- \hbox{\SectFont \abstractname}%
+ \section*{\small\SectFont\abstractname}%
\noindent\ignorespaces
\fi}
{\if@twocolumn\else\par\egroup\fi}
@@ -253,6 +254,24 @@
{\def\@noitemerr
{\@latex@warning{Empty `thebibliography' environment}}%
\endlist}
+\renewcommand*\left@footnote{%
+ \kern-3\p@
+ \kern.5\baselineskip
+ \hrule\@width\unitindent
+ \kern.4\baselineskip
+}
+\renewcommand*\right@footnote{%
+ \hbox to \columnwidth
+ {\beginR \vbox{%
+ \kern-3\p@
+ \kern.5\baselineskip
+ \hrule\@width\unitindent
+ \kern.4\baselineskip}\hfil\endR}
+}
+\renewcommand*\head@style{%
+ \interlinepenalty \@M
+ \hyphenpenalty=\@M \exhyphenpenalty=\@M
+ \if@RTL\leftskip\else\rightskip\fi=0cm plus .7\hsize\relax}
%%
%% Copyright © 2009-2010 by Vafa Khalighi <vafakh84@gmail.com>
%%