I think the attached file here is what you want.

Jose' Matos wrote:

On Thursday 13 November 2003 13:44, Todd O'Bryan wrote:


I'm creating a multiple choice test, in which I'd like to put code
examples right after an Enumeration letter, i.e.

1. Which of the following does foo?
(a) This is code
this is more code and should be lined up with the code
above
(b) more code
code with (b)
2. Next question



--

Luiz Eleno
Max-Planck-Institut f�r Eisenforschung
Max-Planck-Str. 1
D-40237 D�sseldorf
Tel.: +49-(0)211-67 92 481
Fax: +49-(0)211-67 92 537
[EMAIL PROTECTED]

#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Enumerate

Which of the following does foo?
\begin_deeper 
\layout Enumerate

This is code
\newline 
this is more code and should be lined up with the code
\newline 
above
\layout Enumerate

more code
\newline 
code with b
\end_deeper 
\layout Enumerate

Next question
\the_end

Reply via email to