# Questionnaire template? [duplicate]

Is there a template available that allows me to create questionnaires like this one?

http://www.ergo-online.de/site.aspx?url=html/software/verfahren_zur_beurteilung_der/fragebogen_isonorm_online.htm

EDIT:

\begin{table}[htb]
\begin{tikzpicture}
\node (table) [inner sep=0pt] {
\begin{tabularx}{\textwidth}{|X|c|c|c|c|c|X|}
\hline
The software ... & - - & - & -/+ & + & + + &\\
\hline
is complicated to use & $\square$ & $\square$ & $\square$ & $\square$ & $\square$ & is not complicated to use\\
\hline
bietet nicht alle Funktionen um die anfallenden Aufgaben effizient zu bewältigen  & $\square$ & $\square$ & $\square$ & $\square$ & $\square$ & bietet alle Funktionen, um die anfallenden Aufgaben effizient zu bewältigen
\end{tabularx}
};
\draw (table.north west) rectangle (table.south east);
\end{tikzpicture}
\end{table}


But now I have to problems. First how can I center the checkboxes (\square) vertically?

How can i make the table wider? I tried to use \pagewidth instead of \textwidth but this doesnt work.

-

## marked as duplicate by Kurt, Nils L, barbara beeton, Martin Schröder, mafpJun 12 '13 at 18:52

You can do this using a simple tabular and the right symbol ($\circ$, ...) See also this question tex.stackexchange.com/q/9975/2975 –  Martin Scharrer Feb 17 '11 at 14:48
@Martin Scharrer. Thanks so I was able to create a small example. Just some issues remaining ;) –  RoflcoptrException Feb 17 '11 at 15:33
@Christian: Longer tabulars can be split using longtable or supertabular. –  Martin Scharrer Feb 17 '11 at 16:14
@Martin I have moved my comment into an answer. –  Christian Lindig Feb 17 '11 at 16:28
See the similar, less specific qn tex.stackexchange.com/questions/5468/… –  Charles Stewart Jun 11 '13 at 12:37

You can use the m column type to center the checkboxes vertically. If you want to make the tabular wider then \textwidth, like 1.2\textwidth, surround it with \makebox[\textwidth]{ ... } to center it.

Here the example code. Note also the  to typeset the - and + symbols.

\documentclass{article}

\usepackage{amssymb}
\usepackage{array}
\usepackage{tabularx}

\newcolumntype{S}{>{\centering\arraybackslash}m{1.5em}}

\renewcommand{\tabularxcolumn}[1]{m{#1}} % redefine 'X' to use 'm'

\begin{document}

\makebox[\textwidth]{%
\begin{tabularx}{1.2\textwidth}{|X|S|S|S|S|S|X|}
\hline
The software ... & $--$ & $-$ & $-/+$ & $+$ & $++$ &\\
\hline
is complicated to use & $\square$ & $\square$ & $\square$ & $\square$ & $\square$ & is not complicated to use\\
\hline
bietet nicht alle Funktionen um die anfallenden Aufgaben effizient zu bewältigen  & $\square$ & $\square$ & $\square$ & $\square$ & $\square$ & bietet alle Funktionen, um die anfallenden Aufgaben effizient zu bewältigen
\end{tabularx}%
}

\end{document}

-

%% we now define the questions
\newcommand{\question}[1]{
\hfill \relax1.\theqnumber\hfill\hfill &\textsf{#1} &{\small\yesno} & {\small\yesno} &{\small\yesno}\stepcounter{qnumber}\\ \hline
}

%% we now define the questions
1.0 &\multicolumn{4}{|l|}{\bf\textsf{#1}}\\ \hline %
}
\newcommand{\divider}{\hline}
\begin{longtable}{|c| p{5.61cm}|p{1.5cm}|p{1.5cm}|  p{1.55cm} |}
\divider
Sl.     &Quality Checks & A     & B     &C\\
\divider\divider

The actual version is a bit more complicated, uses an environment etc. I use a longtable` as inevitably you will somewhere end with a two page questionnaire.