summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/newlfm/test12.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/newlfm/test12.tex')
-rw-r--r--macros/latex/contrib/newlfm/test12.tex27
1 files changed, 27 insertions, 0 deletions
diff --git a/macros/latex/contrib/newlfm/test12.tex b/macros/latex/contrib/newlfm/test12.tex
new file mode 100644
index 0000000000..599e73a1c2
--- /dev/null
+++ b/macros/latex/contrib/newlfm/test12.tex
@@ -0,0 +1,27 @@
+\documentclass[stdpressrelease,11pt]{newlfm}
+\nameto{George Bush}
+\addrto{\parbox{2in}{The White House \\ Washington, DC}}
+\namefrom{My Self}
+\headline{Azalea Admiration Ascends but is Admonished}
+\newlfmP{addrf=PIT%% OK
+,addrfromphone%% Produced error [1]
+,addrfromfax%% Produces error [2]
+,printallfrom%% Ignored [3]
+,leftmarginsize=1in%
+}%%
+\begin{document}
+\closeline{Sincerely yours,}
+\greetto{Dear Mr. Bush,}
+\begin{newlfm}
+\noindent How are the azaleas?
+
+\newcounter{sentcnt}
+\setcounter{sentcnt}{0}
+\loop \ifnum\thesentcnt<20%
+ \addtocounter{sentcnt}{1}%
+\thesentcnt) Azaleas have long been associated with admonishment, and astonishing amounts
+of ability to access acknowledgement.
+ \repeat%
+
+\end{newlfm}
+\end{document}