]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/test-structure.tex
Make --without-include-boost compile (autotools)
[lyx.git] / src / tex2lyx / test-structure.tex
index d48767b953e975bd1f257a5c06041b5c5c09eb58..dc1ea29b23b28dc046873801d1d4284e908965e0 100644 (file)
@@ -1,18 +1,21 @@
 \documentclass{article}
 
+\newenvironment{foo}{==[}{]==}
+
 \begin{document}
 
 This document contains all sorts of layouts we are supposed to
 support, along with weird nestings.
 
+At time you will see that I use subsubsections in weird places. The
+intent is just to make sure that I can include a macro-type layout
+everyzhere it makes sense.
 
 A normal paragraph
-
-Another one 
-\begin{equation} 
-x = \sin y 
-\end{equation} 
-with maths inside
+\begin{equation}
+x = \sin y
+\end{equation}
+with maths inside it.
 
 \begin{quote}
 An environment...
@@ -40,7 +43,7 @@ An environment
 \end{figure}
 
 A paragraph\footnote{hello} with a footnote and another
-one\footnote{hello 
+one\footnote{hello
 
 there} with several paragraphs
 
@@ -55,7 +58,7 @@ Some centered stuff (does not work)
 \begin{quotation}
 An environment
 
-\section*{with a command inside it}
+\subsubsection*{with a command inside it}
 \end{quotation}
 
 \begin{quotation}
@@ -85,4 +88,33 @@ We can also nest enumerations
 \item Item2
 \end{enumerate}
 
+Let's see what happens when normal paragraphs are inserted in lists:
+
+\begin{itemize}
+\item the first item
+
+with some explanatory text under it
+
+and a second paragraph for good measure
+
+\subsubsection*{we can even have one as a subsubsection}
+
+\item the second item
+
+\item the third item
+
+\subsubsection*{and a sssection heading inside it (why not?)}
+\end{itemize}
+
+What else? Well, we have descriptions:
+\begin{description}
+\item[A] first item
+\item[B] second one
+\end{description}
+
+or even bibliography
+\begin{thebibliography}{9}
+\bibitem{FOO} Edward Bar. \emph{The Foo Book}. (1999)
+\end{thebibliography}
+
 \end{document}