summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/delimtxt/test1.tex
blob: 74f76101dfcd95ac430f9037943071f3be90a28d (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
27
28
29
30
31
%%
%% This is file `tmexamp1.tex',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% textmerg.dtx  (with options: `examp')
%% 
\documentclass[12pt]{letter}
\usepackage[ansinew]{inputenc}

\usepackage{delimtxt}
\begin{document}
\Fields{\Title\Forenames\Surname
   \Address\Grade}
{\catcode`\^^I=12
\SetDel^^I}
\DelimRead{resultb.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'.