summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/textmerg/tmexamp1.tex
blob: 7f3be5c00dde19a56af8afcb9fe1217dab685fab (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
26
%%
%% This is file `tmexamp1.tex',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% textmerg.dtx  (with options: `examp')
%% 
\documentclass[12pt]{letter}
\usepackage{textmerg}
\begin{document}
\Fields{\Title\Forenames\Surname
   \Address\Grade}
\Merge{results.dat}{%
\begin{letter}{\Title\ \Forenames\
   \Surname\\\Address}
   \opening{Dear \Title\ \Surname,}
   This letter is to inform you
   that you obtained grade \Grade\ in
   your recent examinations.
   \closing{Yours faithfully,}
\end{letter}}
\end{document}
\endinput
%%
%% End of file `tmexamp1.tex'.