Producing fillable forms

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.

How to do it...

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:

  1. 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}
  2. Set a small margin to save space on screen:
    \usepackage[margin=0.4cm]{geometry}
  3. Set the ...

Get LaTeX Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.