diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/xetex/latex/bidi-atbegshi/test-foreground-LTR.tex |
Initial commit
Diffstat (limited to 'macros/xetex/latex/bidi-atbegshi/test-foreground-LTR.tex')
-rw-r--r-- | macros/xetex/latex/bidi-atbegshi/test-foreground-LTR.tex | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/macros/xetex/latex/bidi-atbegshi/test-foreground-LTR.tex b/macros/xetex/latex/bidi-atbegshi/test-foreground-LTR.tex new file mode 100644 index 0000000000..5b4953b2f5 --- /dev/null +++ b/macros/xetex/latex/bidi-atbegshi/test-foreground-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{% +\AtBeginShipoutUpperLeftForeground{% +\put(0,\LengthToUnit{-\ht0}){\usebox0} +} +\AtBeginShipoutUpperRightForeground{% +\put(\LengthToUnit{-\wd1},\LengthToUnit{-\ht1}){\usebox1} +} +\AtBeginShipoutLowerLeftForeground{% +\put(0,\LengthToUnit{\dp2}){\usebox2} +} +\AtBeginShipoutLowerRightForeground{% +\put(\LengthToUnit{-\wd3},\LengthToUnit{\dp3}){\usebox3} +} +} +\begin{document} +\lipsum +\end{document}
\ No newline at end of file |