diff options
Diffstat (limited to 'Master/texmf-dist/doc/xelatex/bidi-atbegshi/test-LTR.tex')
-rw-r--r-- | Master/texmf-dist/doc/xelatex/bidi-atbegshi/test-LTR.tex | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/xelatex/bidi-atbegshi/test-LTR.tex b/Master/texmf-dist/doc/xelatex/bidi-atbegshi/test-LTR.tex new file mode 100644 index 00000000000..e64e6015871 --- /dev/null +++ b/Master/texmf-dist/doc/xelatex/bidi-atbegshi/test-LTR.tex @@ -0,0 +1,25 @@ +\documentclass{article} +\usepackage{lipsum} +\usepackage{bidi-atbegshi} +\usepackage{bidi} +\setbox0\hbox{\Huge\textbf{Upper Left}} +\setbox1\hbox{\Huge\textbf{Upper Right}} +\setbox2\hbox{\Huge\textbf{Lower Left}} +\setbox3\hbox{\Huge\textbf{Lower Right}} +\AtBeginShipout{% +\AtBeginShipoutUpperLeft{% +\put(0,\LengthToUnit{-\ht0}){\usebox0} +} +\AtBeginShipoutUpperRight{% +\put(\LengthToUnit{-\wd1},\LengthToUnit{-\ht1}){\usebox1} +} +\AtBeginShipoutLowerLeft{% +\put(0,\LengthToUnit{\dp2}){\usebox2} +} +\AtBeginShipoutLowerRight{% +\put(\LengthToUnit{-\wd3},\LengthToUnit{\dp3}){\usebox3} +} +} +\begin{document} +\lipsum +\end{document}
\ No newline at end of file |