About
Shop
LaTeX
Software
Books
Gallery
News
Contact
Blog
Settings
Account
Latest news 2024-10-15: New blog post: Tales for Our Times Book Launch.

Exercise 29: Query Form (Solution)

This is a solution to Exercise 29.
\documentclass[12pt]{scrartcl}

\usepackage{Alegreya}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}

\usepackage{wasysym}
\usepackage{pifont}

\newcommand{\cutline}[1][4em]{%
  \par\noindent
  \ifthispageodd
  {%
   \hspace*{-\dimexpr1in+\hoffset+\oddsidemargin}%
  }%
  {%
   \hspace*{-\dimexpr1in+\hoffset+\evensidemargin}%
  }%
  \rlap{%
   \makebox[\paperwidth][l]{%
     \makebox[#1]{\dotfill}\ding{33}\dotfill%
  }}\par
}

\pagestyle{empty}

\begin{document}
\begin{center}\Large\bfseries\scshape
Query Form
\end{center}

If you'd like to know more about the exciting collaboration between
the Secret Lab of Experimental Stuff and the Department of Stripy
Confectioners please fill in your details below and post this slip to:

\bigskip

\begin{tabular}{@{}l}
Miss Ingperson\\
Secret Lab of Experimental Stuff\\
University of Somewhere\\
Some City\\
AB3 4YZ
\end{tabular} 

\bigskip

\cutline

\bigskip

\Square\ I would like to receive quarterly newsletters.

\Square\ I agree to having my memory wiped.

\Square\ Yes, I'd really like to feed the ducks.

\bigskip

\begin{tabular}{@{}lp{.5\linewidth}}
Name: & \dotfill \\
Address: & \dotfill\\
 & \dotfill \\
 & \dotfill \\
 & \dotfill \\
Postcode: & \dotfill\\
Country: & \dotfill\\
Telephone: & \dotfill\\
Mobile: & \dotfill\\
Email: & \dotfill
\end{tabular}
\end{document}

Download query-form.tex or query-form.pdf.

© 2015 Dickimaw Books. "Dickimaw", "Dickimaw Books" and the Dickimaw parrot logo are trademarks. The Dickimaw parrot was painted by Magdalene Pritchett.

Terms of Use Privacy Policy Cookies Site Map FAQs