[Tugindia] Figs package FigTeX ?
E. Krishnan
ekmath at asianetindia.com
Sun May 7 05:42:14 CEST 2006
On Fri, 5 May 2006, Dr Vaibhav Shishir Banait wrote:
> Is there easy way of creating dynamic forms with the formatting of filled
> text predecided.
Here's a sample:
\documentclass[a4paper]{article}
\usepackage{array}
\begin{document}
\typeout{}
\typein[\name]{Enter your name}
\typeout{}
\typein[\dob]{Enter your date of birth}
\typeout{}
\typein[\edu]{Enter your eduactional qualification}
\begin{center}
\renewcommand{\arraystretch}{1.5}
\begin{tabular}{r@{.}p{0.4\linewidth}@{\,:\,}p{0.5\textwidth}}
1 & Name & \name\\
2 & Date of Birth & \dob\\
3 & Educational qualifications & \edu\\
\end{tabular}
\end{center}
\end{document}
When you compile this at a command prompt, you will be given instructions
llke "Enter your name" . Type in these details and you have your form
filled in.
With a simple script you can do the compilation, viewing or printing at
one go.
--
Krishnan
More information about the tugindia
mailing list