diff options
author | Karl Berry <karl@freefriends.org> | 2011-09-12 23:19:46 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-09-12 23:19:46 +0000 |
commit | f88469c89eca0b4e61129e83739e3b6c581f3743 (patch) | |
tree | 3575143e1e9abd3cba5601f06dbd6d03b79509c3 /Master/texmf-dist/source | |
parent | 9f0ad1fc573632f96f3f4778a39fac72a90fdd76 (diff) |
bidi (10sep11)
git-svn-id: svn://tug.org/texlive/trunk@23922 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r-- | Master/texmf-dist/source/latex/bidi/bidi.dtx | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/Master/texmf-dist/source/latex/bidi/bidi.dtx b/Master/texmf-dist/source/latex/bidi/bidi.dtx index 22cde038561..a7fd24b4042 100644 --- a/Master/texmf-dist/source/latex/bidi/bidi.dtx +++ b/Master/texmf-dist/source/latex/bidi/bidi.dtx @@ -5,12 +5,12 @@ %<*readme> ___________________ The bidi package -v1.2.8 +v1.2.9 This package provides a convenient interface for typesetting bidirectional texts in Plain TeX and LaTeX. -This version fixes all the bugs that were present in v1.2.7. +This version fixes all the bugs that were present in v1.2.8. ___________________ Vafa Khalighi @@ -229,7 +229,7 @@ by Vafa Khalighi. % Support for bidirectional typesetting in plain \TeX{} and \LaTeXe} % \author{Vafa Khalighi\\ % \url{vafaklg@gmail.com}} -% \date{\today\qquad Version 1.2.8} +% \date{\today\qquad Version 1.2.9} % \maketitle % \tableofcontents %\section{Introduction} @@ -244,7 +244,7 @@ by Vafa Khalighi. %in plain TeX and LaTeX. The package includes adaptations for use %with many other commonly-used packages. %Copyright (c) 2009-2011 Vafa Khalighi -%v1.2.8, 2011/09/14 +%v1.2.9, 2011/09/16 %License: LaTeX Project Public License, version 1.3c or higher (your choice) %Location on CTAN: /macros/latex/contrib/bidi %\end{lstlisting} @@ -452,19 +452,20 @@ by Vafa Khalighi. %\end{BDef} %If you pass the \texttt{twocolumn} option to the class file and if the main direction of the document is RTL, then you get RTL two column and if the main direction of the document is LTR, then you get LTR two column. In addition, \Lcs{RTLdblcol} allows you to have RTL two column typesetting and \Lcs{LTRdblcol} allows you to have LTR two column typesetting as the options of the class file. %\subsection{RTL cases} +%\marginpar{\Lcs{RTLcases} command was previously known as \Lcs{rcases} command but since there was a clash with \textsf{mathtools} package (mathtools defines \textsf{rcases} environment), we had to rename \Lcs{rcases} command to \Lcs{RTLcases} command.} %\begin{BDef} -%\Lcs{rcases}\Largb{\Lcs{text}\Largb{\Larga{brach1}}\Lcs{cr}\Lcs{text}\Largb{\Larga{brach2}}\Lcs{cr}% +%\Lcs{RTLcases}\Largb{\Lcs{text}\Largb{\Larga{brach1}}\Lcs{cr}\Lcs{text}\Largb{\Larga{brach2}}\Lcs{cr}% %\Lcs{text}\Largb{\Larga{brach3}}\ldots}\\ %\Lcs{text}\Largb{\Larga{main}} %\end{BDef} -%\Lcs{rcases} is defined in bidi for typesetting RTL cases. \Lcs{text} is defined in \textsf{amsmath} package, so this means that you need to load \textsf{amsmath} package too. -%\begin{lstlisting}[morekeywords={rcases,text}] +%\Lcs{RTLcases} is defined in bidi for typesetting RTL cases. \Lcs{text} is defined in \textsf{amsmath} package, so this means that you need to load \textsf{amsmath} package too. +%\begin{lstlisting}[morekeywords={RTLcases,text}] %\documentclass{article} %\usepackage{amsmath} %\usepackage{bidi} %\begin{document} %\setRTL -%\[\rcases{\text{men}\cr\text{women}} +%\[\RTLcases{\text{men}\cr\text{women}} %\text{Humans Beings} %\] %\end{document} @@ -2311,8 +2312,8 @@ by Vafa Khalighi. % \subsection{\textsf{bidi.sty}} % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\def\bididate{2011/09/14} -\def\bidiversion{v1.2.8} +\def\bididate{2011/09/16} +\def\bidiversion{v1.2.9} \ProvidesPackage{bidi}[\bididate\space \bidiversion\space Bidirectional typesetting in plain TeX and LaTeX] \edef\bidiinfo{% @@ -2388,7 +2389,7 @@ Location on CTAN: /macros/latex/contrib/bidi} %\fi % \subsection{\textsf{bidi.tex}} % \begin{macrocode} -\def\bididate{2011/09/14} +\def\bididate{2011/09/16} \def\bidiversion{v0.1} \catcode`@=11 \newlinechar`\^^J @@ -14489,7 +14490,7 @@ bidi implementation of tufte title] \@ifpackageloaded{sidecap}{\RequirePackage{ragged2e}}{} \DeclareOption{RTLdocument}{\@RTLtrue\@RTL@footnotetrue\g@addto@macro\document{\autofootnoterule}} \DeclareOption{rldocument}{\@RTLtrue\@RTL@footnotetrue\g@addto@macro\document{\autofootnoterule}} -\def\rcases#1{\left.\vcenter{\normalbaselines\m@th +\def\RTLcases#1{\left.\vcenter{\normalbaselines\m@th \ialign{$##\hfil$&\quad{##}\hfil\crcr#1\crcr}}\,\right\}} \def\SepMark#1{\gdef\@SepMark{\if@RTL\fi#1\if@RTL\fi}} \SepMark{.} |