-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

LaTeX Cookbook
By :

PDF files can be interactive. Users can fill forms before printing the entire document. With LaTeX, you can produce such forms. In this recipe, we will create a form.
Once again, we will use the hyperref
package. Our goal is to produce small paper sheets for a survey as a fillable PDF form. A yellow background will distinguish it from other papers. The format will be landscape. Let's begin the process:
Start a new document with A6 paper in landscape format and with a small interparagraph space instead of paragraph indentation. Let's take a look at the following command:
\documentclass[a6paper,landscape,parskip=half]{scrartcl}
Set a small margin to save space on screen:
\usepackage[margin=0.4cm]{geometry}
Set the background color to 30 percent yellow:
\usepackage{xcolor} \pagecolor{yellow!30}
Choose an empty
page style, so you won't get page numbers:
\pagestyle{empty}
Load the hyperref
package:
\usepackage{hyperref}
Start the document and start a Form
environment...