summaryrefslogtreecommitdiff
path: root/language/japanese/BX/bxjalipsum/sample-bxjalipsum-2.tex
blob: bd6344e6dc7ec25842da75b562752336dd5ec7e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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}