summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/bidi/bidituftegeneralstructure.sty
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2011-08-02 18:37:42 +0000
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2011-08-02 18:37:42 +0000
commitff94e44b3898f59065c492d5e5e597234f1b49b1 (patch)
treeca2da7b855c1964f46c29a41ed2e2c50be200d9f /Master/texmf-dist/tex/latex/bidi/bidituftegeneralstructure.sty
parent2880aaf97110f638a133d7ba59e8ecbd15150b2f (diff)
bidi v1.2.4
git-svn-id: svn://tug.org/texlive/trunk@23326 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/bidi/bidituftegeneralstructure.sty')
-rw-r--r--Master/texmf-dist/tex/latex/bidi/bidituftegeneralstructure.sty135
1 files changed, 135 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/bidi/bidituftegeneralstructure.sty b/Master/texmf-dist/tex/latex/bidi/bidituftegeneralstructure.sty
new file mode 100644
index 00000000000..fd3d8e8fd3e
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/bidi/bidituftegeneralstructure.sty
@@ -0,0 +1,135 @@
+%%
+%% This is file `bidituftegeneralstructure.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% bidi.dtx (with options: `bidituftegeneralstructure.sty')
+%%
+%% ______________________________________
+%% Copyright © 2009–2011 Vafa Khalighi
+%%
+%% License information appended.
+%%
+%%
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{bidituftegeneralstructure}[2011/06/18 v0.1
+bidi implementation of tufte general structure]
+\renewcommand\small{%
+ \@setfontsize\small\@ixpt{12}%
+ \abovedisplayskip 8.5\p@ \@plus3\p@ \@minus4\p@
+ \abovedisplayshortskip \z@ \@plus2\p@
+ \belowdisplayshortskip 4\p@ \@plus2\p@ \@minus2\p@
+ \def\@listi{\leftmargin\leftmargini
+ \topsep 4\p@ \@plus2\p@ \@minus2\p@
+ \parsep 2\p@ \@plus\p@ \@minus\p@
+ \itemsep \parsep}%
+ \belowdisplayskip \abovedisplayskip
+}
+\renewcommand\scriptsize{\@setfontsize\scriptsize\@viipt\@viiipt}
+\renewcommand\tiny{\@setfontsize\tiny\@vpt\@vipt}
+\renewcommand\large{\@setfontsize\large\@xipt{15}}
+\renewcommand\Large{\@setfontsize\Large\@xiipt{16}}
+\renewcommand\LARGE{\@setfontsize\LARGE\@xivpt{18}}
+\renewcommand\huge{\@setfontsize\huge\@xxpt{30}}
+\renewcommand\Huge{\@setfontsize\Huge{24}{36}}
+\setlength\leftmargini {1pc}
+\setlength\leftmarginii {1pc}
+\setlength\leftmarginiii {1pc}
+\setlength\leftmarginiv {1pc}
+\setlength\leftmarginv {1pc}
+\setlength\leftmarginvi {1pc}
+\setlength\labelsep {.5pc}
+\setlength\labelwidth {\leftmargini}
+\addtolength\labelwidth{-\labelsep}
+\setlength{\parindent}{1.0pc}%
+\setlength{\parskip}{0pt}%
+\RequirePackage{ragged2e}
+\setlength{\RaggedRightRightskip}{\z@ plus 0.08\hsize}
+\newcommand{\@bidituftegeneralstructure@reset@par}{%
+ \setlength{\RaggedRightParindent}{1.0pc}%
+ \setlength{\JustifyingParindent}{1.0pc}%
+ \setlength{\parindent}{1pc}%
+ \setlength{\parskip}{0pt}%
+}
+\@bidituftegeneralstructure@reset@par
+\RequirePackage{paralist}
+\def\@compactenum@{%
+ \expandafter\list\csname label\@enumctr\endcsname{%
+ \usecounter{\@enumctr}%
+ \rightmargin=2em% added this
+ \parsep\plparsep
+ \itemsep\plitemsep
+ \topsep\pltopsep
+ \partopsep\plpartopsep
+ \def\makelabel##1{\hss\llap{##1}}}}
+%%
+\providecommand\newthought[1]{%
+ \addvspace{1.0\baselineskip plus 0.5ex minus 0.2ex}%
+ \noindent\textbf{#1}%
+}
+%%
+\renewenvironment{verse}
+ {\let\\\@centercr
+ \list{}{\itemsep \z@
+ \itemindent -1pc%
+ \listparindent\itemindent
+ \rightmargin \leftmargin
+ \advance\leftmargin 1pc}%
+ \small%
+ \item\relax}
+ {\endlist}
+\renewenvironment{quotation}
+ {\list{}{\listparindent 1pc%
+ \itemindent \listparindent
+ \rightmargin \leftmargin
+ \parsep \z@ \@plus\p@}%
+ \small%
+ \item\relax\noindent\ignorespaces}
+ {\endlist}
+\renewenvironment{quote}
+ {\list{}{\rightmargin\leftmargin}%
+ \small%
+ \item\relax}
+ {\endlist}
+\renewcommand*\descriptionlabel[1]{\hspace\labelsep\normalfont\em #1}
+%%
+\@ifundefined{chapter}%
+ {\renewcommand\bibsection{\section*{\refname}}}
+ {\@ifundefined{NAT@sectionbib}%
+ {\renewcommand\bibsection{\chapter{\bibname}}}
+ {\renewcommand\bibsection{\section*{\bibname}}}}
+\RequirePackage{multicol}
+\renewenvironment{theindex}{%
+\@ifundefined{chapter}%
+ {\section*{\indexname}}%
+ {\chapter{\indexname}}%
+ \begin{fullwidth}%
+ \small%
+ \parskip0pt%
+ \parindent0pt%
+ \let\item\@idxitem%
+ \begin{multicols}{3}%
+}{%
+ \end{multicols}%
+ \end{fullwidth}%
+}
+\renewcommand\@idxitem{\par\hangindent 2em}
+\renewcommand\subitem{\par\hangindent 3em\hspace*{1em}}
+\renewcommand\subsubitem{\par\hangindent 4em\hspace*{2em}}
+\renewcommand\indexspace{\par\addvspace{1.0\baselineskip plus 0.5ex minus 0.2ex}\relax}%
+\newcommand{\lettergroup}[1]{}% swallow the letter heading in the index
+%%
+%% Copyright © 2009–2011 Vafa Khalighi <vafa018@gmail.com>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “author-maintained” (as per LPPL maintenance status)
+%% by Vafa Khalighi.
+%%
+%%
+%%
+%%
+%% End of file `bidituftegeneralstructure.sty'.