1\documentclass{article}
2\def\badcheck{A penalty has been added because your
3   check to us was not honored by your bank.\par}
4\def\row#1#2{(#1_1,\ldots,#1_#2)}
5\long\def\result#1{{\smallskip\moveright0.1\textwidth\vbox{\hsize 0.8\textwidth\footnotesize#1}}\smallskip}
6\newcommand{\foo}[1]{}
7
8\newcommand{\optioncmd}[2][default]{Optional parameter 1 = #1 -- parameter 2 = #2.\\}
9
10
11\newcommand{\egstart}{\begin{center}\begin{figure}}
12\newcommand{\egmid}{\end{figure}\hfill\begin{figure}}
13\newcommand{\egend}{\end{figure}\end{center}}
14\newcommand{\eempty}[1]{}
15
16\begin{document}
17
18Here is the first macro:
19
20\badcheck
21
22Yet another macro
23$$
24\row xn
25$$
26
27This should be blank between the parentheses (\eempty{b})
28
29And yet another macro
30
31\result{%
32Words within a sentence \foo\ are ended by spaces.  One space
33between words  is     equivalent      to any number. We are only
34interested in separating      one    word      from        the
35next, not in formatting       the space between them.
36}
37
38text
39\egstart
40some example
41\egend
42
43Command with optional parameters
44
45\optioncmd[p1]{p2}
46
47\optioncmd{p2}
48
49%latex2rtf: This should only show up in the .rtf file created by
50%latex2rtf: latex2rtf!
51
52\end{document}
53