diff options
author | Karl Berry <karl@freefriends.org> | 2015-07-03 22:05:09 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-07-03 22:05:09 +0000 |
commit | 229926b078d21f35d3d6a5e2c42449f15fbeeca6 (patch) | |
tree | 7d82706a77c53c35a4ead2e2bda686b500ac861c /Master/texmf-dist/doc/xelatex/bidihl | |
parent | 7bccd1325cbbedb9f5352aabe50e75d0c1f20cca (diff) |
bidihl (3jul15)
git-svn-id: svn://tug.org/texlive/trunk@37746 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/xelatex/bidihl')
-rw-r--r-- | Master/texmf-dist/doc/xelatex/bidihl/README | 27 | ||||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/bidihl/bidihl-doc.pdf | bin | 0 -> 123447 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/bidihl/bidihl-doc.tex | 42 | ||||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/bidihl/test-bidihl.pdf | bin | 0 -> 28108 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/bidihl/test-bidihl.tex | 17 |
5 files changed, 86 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/xelatex/bidihl/README b/Master/texmf-dist/doc/xelatex/bidihl/README new file mode 100644 index 00000000000..4c109a196d5 --- /dev/null +++ b/Master/texmf-dist/doc/xelatex/bidihl/README @@ -0,0 +1,27 @@ +_____________________ +The bidihl package +v0.1a + +Experimental bidi-aware text highlighting + +The package allows users to highlight RTL and LTR texts. + +The package only works with `xelatex' format and should be +loaded before `bidi' package. + +For more information, please see the documentation. + + +Current version release date: 2015/07/02 + +___________________ +Vafa Khalighi +persian-tex@tug.org + +Copyright © 2015 +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. diff --git a/Master/texmf-dist/doc/xelatex/bidihl/bidihl-doc.pdf b/Master/texmf-dist/doc/xelatex/bidihl/bidihl-doc.pdf Binary files differnew file mode 100644 index 00000000000..4f826d97bb7 --- /dev/null +++ b/Master/texmf-dist/doc/xelatex/bidihl/bidihl-doc.pdf diff --git a/Master/texmf-dist/doc/xelatex/bidihl/bidihl-doc.tex b/Master/texmf-dist/doc/xelatex/bidihl/bidihl-doc.tex new file mode 100644 index 00000000000..38e41a4cb1b --- /dev/null +++ b/Master/texmf-dist/doc/xelatex/bidihl/bidihl-doc.tex @@ -0,0 +1,42 @@ +\documentclass{ltxdoc} +\usepackage{framed} +\usepackage{holtxdoc} +\begin{document} +\title{The \xpackage{bidihl} Package} +\author{Vafa Khalighi\\\xemail{persian-tex@tug.org}} +\maketitle + +\begin{framed} +This manual is incomplete and the package is experimental. +\end{framed} + +\tableofcontents + +\section{Introduction} +The \xpackage{soul} package provides the \cs{hl} command for +highlighting text; unfortunately this packages does not work in right to left +documents. + +The \xpackage{bidihl} package allows users to highlight text in both right to left +and left to right directions; it needs the \xpackage{bidi} package and should always +be loaded before \xpackage{bidi} package. + + +\section{Basic usage} +\begin{declcs}{bidihl} \M{text} +\end{declcs} +Highlights the text. The default highlighting box color is yellow; if a different color is desired, then simply define a new color with +\texttt{bidihlcolor} as the name of the color; i.e. +\begin{verbatim} +\definecolor{bidihlcolor}{rgb}{0.3,0.1,0} +\end{verbatim} + +The default highlighting box height is 10pt; again if a different height is desired, then change the length of \cs{bidihlboxheight}; i.e. +\begin{verbatim} +\setlength{\bidihlboxheight}{8pt} +\end{verbatim} +The height of the highlighting box does not automatically change; you have to set its length manually. + + + +\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/xelatex/bidihl/test-bidihl.pdf b/Master/texmf-dist/doc/xelatex/bidihl/test-bidihl.pdf Binary files differnew file mode 100644 index 00000000000..b62196cec19 --- /dev/null +++ b/Master/texmf-dist/doc/xelatex/bidihl/test-bidihl.pdf diff --git a/Master/texmf-dist/doc/xelatex/bidihl/test-bidihl.tex b/Master/texmf-dist/doc/xelatex/bidihl/test-bidihl.tex new file mode 100644 index 00000000000..0ab69e20980 --- /dev/null +++ b/Master/texmf-dist/doc/xelatex/bidihl/test-bidihl.tex @@ -0,0 +1,17 @@ +\documentclass{article} +\usepackage{bidihl} +\usepackage{bidi} +\setRTL +\pagestyle{empty} +\begin{document} + +This is a test \bidihl{Vafa and What else} and the rest + +\bigskip + + +This is a test \bidihl{Vafa and we continue until we can go to the next line so we need to see what is going on} and here is the rest of the test as you can see + +This is a test as you can see and here we can \bidihl{Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.} Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. + +\end{document}
\ No newline at end of file |