Designing the Questionnaire

The first step to conduct a survey is to design the questionnaire itself. You’ll need to take some time to first figure out what questions to ask before designing the questionnaire.

We are going to use the example questionnaire in the source code repository in examples/example.tex which looks like this PDF after rendering.

Render a draft

These steps will become simpler in the near future as SDAPS is now available in CTAN and will be included in TeX Live. Once that happens, you can compile your SDAPS using LaTeX document in the same way as any other one.

It makes sense to setup an environment where you can compile the LaTeX document normally. To do so, it is recommended creating a directory and then copying in the support files. You can then store the example.tex into the same folder, the following shell commands will accomplish these steps:

$ mkdir project_draft
$ cd project_draft
$ wget
$ cp -R /usr/share/sdaps/tex/* .

Now you have a directory with a copy of example.tex, which you can edit as you wish. Take a look at the LaTeX class documentation for available options, question types and other features. Also note that most normal LaTeX options to modify document properties such as paper size or duplex/simplex printing (twoside/oneside) work as usual.

Try rendering the PDF using:

$ pdflatex example.tex

SDAPS requires running pdflatex multiple times. It is recommended to run it for three times or to use other tools (such as many LaTeX editors) which will automatically detect the number of runs necessary.

You can familiarize yourself with the LaTeX-Document and the resulting PDF-file. Notice that the PDF has a “draft” text overlayed. This is because the barcode at the bottom is just an example and it will change once the project is created.


The following topics are covered: