2003-08-04 10:26:10 +00:00
|
|
|
\documentclass{article}
|
|
|
|
|
|
|
|
\begin{document}
|
|
|
|
|
|
|
|
This document contains all sorts of layouts we are supposed to
|
|
|
|
support, along with weird nestings.
|
|
|
|
|
|
|
|
|
|
|
|
A normal paragraph
|
|
|
|
|
|
|
|
Another one
|
|
|
|
\begin{equation}
|
|
|
|
x = \sin y
|
|
|
|
\end{equation}
|
|
|
|
with maths inside
|
|
|
|
|
|
|
|
\begin{quote}
|
|
|
|
An environment...
|
|
|
|
|
|
|
|
... with two paragraphs
|
|
|
|
\end{quote}
|
|
|
|
|
|
|
|
\begin{foo}
|
|
|
|
an unknown environment
|
|
|
|
\end{foo}
|
|
|
|
|
|
|
|
|
|
|
|
\section{A section}
|
|
|
|
|
|
|
|
\section[Hello!]{A section with optional argument}
|
|
|
|
|
|
|
|
\begin{quote}
|
|
|
|
An environment
|
|
|
|
\end{quote}
|
|
|
|
|
|
|
|
\section*{A starred section}
|
|
|
|
|
|
|
|
\begin{figure}
|
|
|
|
\caption{A figure}
|
|
|
|
\end{figure}
|
|
|
|
|
|
|
|
A paragraph\footnote{hello} with a footnote and another
|
|
|
|
one\footnote{hello
|
|
|
|
|
|
|
|
there} with several paragraphs
|
|
|
|
|
|
|
|
some ERT \vspace{1cm} aa
|
|
|
|
|
|
|
|
and another paragraph
|
|
|
|
|
|
|
|
\begin{center}
|
|
|
|
Some centered stuff (does not work)
|
|
|
|
\end{center}
|
|
|
|
|
|
|
|
\begin{quotation}
|
|
|
|
An environment
|
|
|
|
|
|
|
|
\section*{with a command inside it}
|
|
|
|
\end{quotation}
|
|
|
|
|
|
|
|
\begin{quotation}
|
2003-08-05 21:46:51 +00:00
|
|
|
Another environment
|
2003-08-04 10:26:10 +00:00
|
|
|
|
|
|
|
\begin{quotation}
|
2003-08-05 21:46:51 +00:00
|
|
|
With another one inside it (with same layout)
|
2003-08-04 10:26:10 +00:00
|
|
|
|
2003-08-05 21:46:51 +00:00
|
|
|
[this one even has several paragraphs!]
|
2003-08-04 10:26:10 +00:00
|
|
|
\end{quotation}
|
|
|
|
|
|
|
|
\end{quotation}
|
|
|
|
|
2003-08-05 21:46:51 +00:00
|
|
|
We can also nest enumerations
|
2003-08-04 10:26:10 +00:00
|
|
|
|
|
|
|
\begin{enumerate}
|
|
|
|
\item Item1
|
|
|
|
\begin{enumerate}
|
|
|
|
\item Item1.a
|
2003-08-05 21:46:51 +00:00
|
|
|
|
|
|
|
\item Item1.b (there is a paragraph break in front of this)
|
2003-08-04 10:26:10 +00:00
|
|
|
\begin{itemize}
|
2003-08-05 21:46:51 +00:00
|
|
|
\item Item1.b.*
|
|
|
|
\item Item1.b.*
|
2003-08-04 10:26:10 +00:00
|
|
|
\end{itemize}
|
2003-08-05 21:46:51 +00:00
|
|
|
\end{enumerate}
|
2003-08-04 10:26:10 +00:00
|
|
|
\item Item2
|
|
|
|
\end{enumerate}
|
|
|
|
|
|
|
|
\end{document}
|