lyx_mirror/src/tex2lyx/test-structure.tex

89 lines
1.3 KiB
TeX
Raw Normal View History

\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}
Another environment
\begin{quotation}
With another one inside it (with same layout)
[this one even has several paragraphs!]
\end{quotation}
\end{quotation}
We can also nest enumerations
\begin{enumerate}
\item Item1
\begin{enumerate}
\item Item1.a
\item Item1.b (there is a paragraph break in front of this)
\begin{itemize}
\item Item1.b.*
\item Item1.b.*
\end{itemize}
\end{enumerate}
\item Item2
\end{enumerate}
\end{document}