From 966482b48825b6eb8921b32c685b0ce8805480f8 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 16 Jul 2014 22:34:10 +0000 Subject: bidishadowtext (16jul14) git-svn-id: svn://tug.org/texlive/trunk@34633 c570f23f-e606-0410-a88d-b1316a301751 --- .../xelatex/bidishadowtext/bidishadowtext-demo.pdf | Bin 0 -> 18289 bytes .../xelatex/bidishadowtext/bidishadowtext-demo.tex | 63 +++++++++++++++++++++ .../xelatex/bidishadowtext/bidishadowtext-doc.pdf | Bin 0 -> 101629 bytes .../xelatex/bidishadowtext/bidishadowtext-doc.tex | 34 +++++++++++ 4 files changed, 97 insertions(+) create mode 100644 Master/texmf-dist/doc/xelatex/bidishadowtext/bidishadowtext-demo.pdf create mode 100644 Master/texmf-dist/doc/xelatex/bidishadowtext/bidishadowtext-demo.tex create mode 100644 Master/texmf-dist/doc/xelatex/bidishadowtext/bidishadowtext-doc.pdf create mode 100644 Master/texmf-dist/doc/xelatex/bidishadowtext/bidishadowtext-doc.tex (limited to 'Master/texmf-dist/doc/xelatex') diff --git a/Master/texmf-dist/doc/xelatex/bidishadowtext/bidishadowtext-demo.pdf b/Master/texmf-dist/doc/xelatex/bidishadowtext/bidishadowtext-demo.pdf new file mode 100644 index 00000000000..3d58b9aca9d Binary files /dev/null and b/Master/texmf-dist/doc/xelatex/bidishadowtext/bidishadowtext-demo.pdf differ diff --git a/Master/texmf-dist/doc/xelatex/bidishadowtext/bidishadowtext-demo.tex b/Master/texmf-dist/doc/xelatex/bidishadowtext/bidishadowtext-demo.tex new file mode 100644 index 00000000000..3d177369155 --- /dev/null +++ b/Master/texmf-dist/doc/xelatex/bidishadowtext/bidishadowtext-demo.tex @@ -0,0 +1,63 @@ +\documentclass{article} +\usepackage{xcolor} +\usepackage{bidishadowtext} +\usepackage{xepersian} +\settextfont{XB Yas} +\begin{document} +\bidishadowtext{این یک متن سایه‌دار است} + +\bigskip +\bidishadowoffset{2pt} +\bidishadowtext{این یک متن سایه‌دار است} + +\bigskip +\bidishadowoffsetx{1pt} +\bidishadowoffsety{4pt} +\bidishadowtext{این یک متن سایه‌دار است} + +\bigskip +\bidishadowoffset{2pt} +\bidishadowcolor{blue!40!white} +\bidishadowtext{این یک متن سایه‌دار است} + +\bigskip +\bidishadowoffset{2pt} +\bidishadowrgb{1.0, 0.5, 0.5} +\bidishadowtext{این یک متن سایه‌دار است} + +\bigskip +\definecolor{navy}{rgb}{0,0,0.5} +\bidishadowrgb{0.8, 0.8, 1} +\bidishadowoffset{1pt} +\bidishadowtext{ + {\color{navy} + \fontsize{16}{16}\selectfont +بزرگ!% +}} + +\bigskip +\bidishadowoffset{1pt} +\bidishadowtext{% + \begin{tabular}{|l|l|} + \hline + 1 & 2 \\ + 3 & 4 \\ + \hline + \end{tabular} +} + +\bigskip +\bidishadowoffset{1pt} +\bidishadowtext{$\sqrt{2\pi}e^{-n}$} + +\bigskip +\bidishadowoffset{2pt} +\bidishadowtext{% + \fontsize{32}{32}% + \selectfont% + \textcolor{navy}{% + قسمت% +} + \textcolor{red}{۴}% +} +\end{document} \ No newline at end of file diff --git a/Master/texmf-dist/doc/xelatex/bidishadowtext/bidishadowtext-doc.pdf b/Master/texmf-dist/doc/xelatex/bidishadowtext/bidishadowtext-doc.pdf new file mode 100644 index 00000000000..277321c161c Binary files /dev/null and b/Master/texmf-dist/doc/xelatex/bidishadowtext/bidishadowtext-doc.pdf differ diff --git a/Master/texmf-dist/doc/xelatex/bidishadowtext/bidishadowtext-doc.tex b/Master/texmf-dist/doc/xelatex/bidishadowtext/bidishadowtext-doc.tex new file mode 100644 index 00000000000..ba806f755e2 --- /dev/null +++ b/Master/texmf-dist/doc/xelatex/bidishadowtext/bidishadowtext-doc.tex @@ -0,0 +1,34 @@ +\documentclass{ltxdoc} +\usepackage{holtxdoc} +\begin{document} +\title{The \xpackage{bidishadowtext} Package} +\author{Vafa Khalighi\\\xemail{persian-tex@tug.org}} +\maketitle +\vskip 0pt plus 3fill +\fbox{% +\begin{minipage}{\dimexpr(\textwidth-2\fboxsep-2\fboxrule)} +If you want to report any bugs or typos and corrections in the documentation, +or ask for any new features, or suggest any improvements, or ask any questions +about the package, then please do not send any direct email to me; I will not +answer any direct email. Instead please use the issue tracker: + +\medskip + \centerline{\url{https://github.com/vafa/bidishadowtext/issues}} + +\medskip +In doing so, please always explain your issue well enough, always include +a minimal working example showing the issue, and always choose the appropriate +label for your query (i.e. if you are reporting any bugs, choose `Bug' label). +\end{minipage} +} +\tableofcontents + \section{Introduction} +The \xpackage{shadowtext} package allows you to have colored shadow text; unfortunately this package does not work well together with \xpackage{bidi} package. + + +The \xpackage{bidishadowtext} package is a re-implementation of \xpackage{shadowtext} package adding bidi support. + +\section{Documentation} +All the commands of \xpackage{shadowtext} package are prefixed with \texttt{bidi} in \xpackage{bidishadowtext} package; for instance instead using \cs{shadowtext} command; you will need to use \cs{bidishadowtext} command. You must always load \xpackage{bidishadowtext} package before \xpackage{bidi} package (or any other packages that uses \xpackage{bidi} package internally like \xpackage{xepersian} package). + +\end{document} \ No newline at end of file -- cgit v1.2.3