]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/test-structure.tex
Fix tex2lyx linking
[lyx.git] / src / tex2lyx / test-structure.tex
index 5d6e0fc8795772be9341b7d945c6e44e018333ab..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,33 +58,63 @@ 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}
-An environment
+Another environment
 
 \begin{quotation}
-and the one inside it
+With another one inside it (with same layout)
 
-actually with several paragraphs
+[this one even has several paragraphs!]
 \end{quotation}
 
 \end{quotation}
 
-We can also nest enumerations (does not work quite yet)
+We can also nest enumerations
 
 \begin{enumerate}
 \item Item1
 \begin{enumerate}
 \item Item1.a
-\item Item1.b
-\end{enumerate}
+
+\item Item1.b (there is  a paragraph break in front of this)
 \begin{itemize}
-\item Item1.*
-\item Item1.*
+\item Item1.b.*
+\item Item1.b.*
 \end{itemize}
+\end{enumerate}
 \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}