summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/bxjalipsum/sample-bxjalipsum-2.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-08-17 21:34:35 +0000
committerKarl Berry <karl@freefriends.org>2016-08-17 21:34:35 +0000
commit02f5a1ff8007f70b1adef128a3481ea5c19ba4e8 (patch)
treee2a873dac4cb7e8a1eee6f5eb26519c62dbe57f6 /Master/texmf-dist/doc/latex/bxjalipsum/sample-bxjalipsum-2.tex
parentabf56b1cefe5e9a8dc7d890d6ae4aad07dc314d5 (diff)
bxjalipsum (17aug16)
git-svn-id: svn://tug.org/texlive/trunk@41877 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/bxjalipsum/sample-bxjalipsum-2.tex')
-rw-r--r--Master/texmf-dist/doc/latex/bxjalipsum/sample-bxjalipsum-2.tex25
1 files changed, 25 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/bxjalipsum/sample-bxjalipsum-2.tex b/Master/texmf-dist/doc/latex/bxjalipsum/sample-bxjalipsum-2.tex
new file mode 100644
index 00000000000..bd6344e6dc7
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/bxjalipsum/sample-bxjalipsum-2.tex
@@ -0,0 +1,25 @@
+% upLaTeX document
+\documentclass[uplatex,a4paper]{jsarticle}
+\usepackage{bxjalipsum}
+\usepackage{plext}% for '\bou' command
+%!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! TeX code BEGIN
+% with a bit of TeXnique...
+%% Expand 'em all!!
+\edef\wagahaiOne{\jalipsum[1]{wagahai}}
+\edef\wagahaiTwo{\jalipsum[2-5]{wagahai}}
+%% \argexpd\CMD{<argument>}
+\def\argexpd#1{\expandafter#1\expandafter}
+%!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! TeX code END
+\begin{document}
+
+% rather nonsensical examples
+% (The \bou command add "bouten" to the given text.)
+
+\argexpd\bou{\jalipsumiroha}
+
+\argexpd\bou{\wagahaiOne}
+
+% NB. The meaning of \wagahaiTwo contains \par, so it is
+% not suitable for \bou.
+
+\end{document}