#LyX File created by multimarkdown
\lyxformat 413
\begin_document
\begin_header
\textclass memoir
\begin_preamble
\usepackage{listings}
\usepackage{natbib}
\usepackage{nomencl}
\usepackage{booktabs}
\usepackage{refstyle}
\usepackage{varioref}
\bibpunct{(}{)}{,}{a}{,}{,}
\newref{part}{refcmd={Part \ref{#1} \vpageref{#1}}}
\newref{chapt}{refcmd={Chapter \ref{#1} \vpageref{#1}}}
\newref{secti}{refcmd={Section \ref{#1} \vpageref{#1}}}
\newref{subse}{refcmd={Subsection \ref{#1} \vpageref{#1}}}
\newref{subsu}{refcmd={Subsubsection \ref{#1} \vpageref{#1}}}
\newref{parag}{refcmd={Paragraph \ref{#1} \vpageref{#1}}}
\newref{subpa}{refcmd={Subparagraph \ref{#1} \vpageref{#1}}}
\newref{tab}{refcmd={Table \ref{#1} \vpageref{#1}}}
\newref{fig}{refcmd={Figure \ref{#1} \vpageref{#1}}}
\end_preamble
\options refpage
\begin_modules
\end_modules
\bibtex_command default
\cite_engine natbib_authoryear
\end_header
\begin_body
\begin_layout Standard
Here's a simple block:
\end_layout
\begin_layout Standard
This should be a code block, though:
\end_layout
\begin_layout Standard
\begin_inset listings
lstparams "basicstyle={\footnotesize\ttfamily}"
inline false
status collapsed
\begin_layout Plain Layout
\end_layout
\begin_layout Plain Layout
foo
\end_layout
\begin_layout Plain Layout
\end_layout
\end_inset
\end_layout
\begin_layout Standard
As should this:
\end_layout
\begin_layout Standard
\begin_inset listings
lstparams "basicstyle={\footnotesize\ttfamily}"
inline false
status collapsed
\begin_layout Plain Layout
foo
\end_layout
\end_inset
\end_layout
\begin_layout Standard
Now, nested:
\end_layout
\begin_layout Standard
This should just be an HTML comment:
\end_layout
\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
Comment
\end_layout
\end_inset
\end_layout
\begin_layout Standard
Multiline:
\end_layout
\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
Blah
Blah
\end_layout
\end_inset
\end_layout
\begin_layout Standard
Code block:
\end_layout
\begin_layout Standard
\begin_inset listings
lstparams "basicstyle={\footnotesize\ttfamily}"
inline false
status collapsed
\begin_layout Plain Layout
\end_layout
\end_inset
\end_layout
\begin_layout Standard
Just plain comment, with trailing spaces on the line:
\end_layout
\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
foo
\end_layout
\end_inset
\end_layout
\begin_layout Standard
Code:
\end_layout
\begin_layout Standard
\begin_inset listings
lstparams "basicstyle={\footnotesize\ttfamily}"
inline false
status collapsed
\begin_layout Plain Layout
\end_layout
\end_inset
\end_layout
\begin_layout Standard
Hr's:
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
\end_layout
\end_body
\end_document