summaryrefslogtreecommitdiff
path: root/macros/luatex/optex/demo/op-letter-en.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/luatex/optex/demo/op-letter-en.tex')
-rw-r--r--macros/luatex/optex/demo/op-letter-en.tex38
1 files changed, 38 insertions, 0 deletions
diff --git a/macros/luatex/optex/demo/op-letter-en.tex b/macros/luatex/optex/demo/op-letter-en.tex
new file mode 100644
index 0000000000..a7f19c43d4
--- /dev/null
+++ b/macros/luatex/optex/demo/op-letter-en.tex
@@ -0,0 +1,38 @@
+%% This is part of OpTeX project, see http://petr.olsak.net/optex
+\useOpTeX
+
+\letter % \letter OpTeX style activated
+\enlang \enquotes % Language and quote style
+\fontfam[bonum]
+
+\hfill\address
+ Alice Author
+ 123 Sender Street
+ City 4567
+
+\bigskip
+
+\address
+ Mr. Bobby Bureaucrat
+ 456 Magnolia Street
+ City 8901
+
+\hfill\today
+
+\subject Inquiry regarding \"lorem ipsum"
+
+Dear Mr. Bureaucrat,
+
+\lorem[1-2] % 2 paragraphs of blindtext
+
+Thank you for your time.
+
+With best regards,
+
+\bigskip % leave some space for signature
+\bigskip
+
+Alice Author
+
+\bye
+