Jeremy C. Reed wrote:
> I want to use lyx to write/format a questionnaire. I want it to have blank
> lines like:
> ______________________________________________________________________
>
> ______________________________________________________________________
>
> ______________________________________________________________________
>
> And checkboxes, like:
>
> Y N
> [] [] Do you want ... ?
>
have a look at the attached lyx and ps-file (zipped).
it's very easy to get want you want.
but have a look at ctan for the brief description
of all packages. maybe that there is one with a better
layout than this one ... ;-)
Herbert
--
http://www.educat.hu-berlin.de/~voss/lyx/
#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\begin_preamble
\usepackage{setspace}
\usepackage{wasysym}
\newcommand\myYN{$\stackrel{\mathrm{Y}}{\Box}\qquad\stackrel{\mathrm{N}}{\Box}\quad$}
\end_preamble
\language english
\inputencoding latin1
\fontscheme default
\graphics default
\float_placement !htb
\paperfontsize 12
\spacing single
\papersize a4paper
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language german
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default
\layout Standard
\backslash
usepackage{setspace} in latex preamble
\layout Standard
\latex latex
\backslash
doublespace
\layout Standard
\latex latex
\backslash
hrulefill
\layout Standard
\latex latex
\backslash
hrulefill
\layout Standard
\latex latex
\backslash
hrulefill
\layout Standard
And now some checkboxes with
\backslash
usepackage{wasysym} in preamble
\layout Standard
Whats your answer?
\layout Standard
\latex latex
$
\backslash
stackrel{
\backslash
mathrm{Y}}{
\backslash
Box}
\backslash
qquad
\backslash
stackrel{
\backslash
mathrm{N}}{
\backslash
Box}
\backslash
quad$
\newline
\latex default
\newline
\newline
\newline
\newline
and now we have some empty lines with ctrl-enter
\layout Standard
With the new command
\layout Standard
\family typewriter
\size small
\backslash
newcommand
\backslash
myYN{$
\backslash
stackrel{
\backslash
mathrm{Y}}{
\backslash
Box}
\backslash
qquad
\backslash
stackrel{
\backslash
mathrm{N}}{
\backslash
Box}
\backslash
quad$}
\family default
\size default
\layout Standard
you can write
\backslash
myYN in Tex (red) and you'll get the two answer-boxes
\newline
\newline
\latex latex
\backslash
myYN
\latex default
Mark the answer
\the_end
test.ps.gz