]> git.lyx.org Git - lyx.git/blob - src/tex2lyx/test-structure.tex
architectural changes to tex2lyx
[lyx.git] / src / tex2lyx / test-structure.tex
1 \documentclass{article}
2
3 \begin{document}
4
5 This document contains all sorts of layouts we are supposed to
6 support, along with weird nestings.
7
8
9 A normal paragraph
10
11 Another one 
12 \begin{equation} 
13 x = \sin y 
14 \end{equation} 
15 with maths inside
16
17 \begin{quote}
18 An environment...
19
20 ... with two paragraphs
21 \end{quote}
22
23 \begin{foo}
24 an unknown environment
25 \end{foo}
26
27
28 \section{A section}
29
30 \section[Hello!]{A section with optional argument}
31
32 \begin{quote}
33 An environment
34 \end{quote}
35
36 \section*{A starred section}
37
38 \begin{figure}
39 \caption{A figure}
40 \end{figure}
41
42 A paragraph\footnote{hello} with a footnote and another
43 one\footnote{hello 
44
45 there} with several paragraphs
46
47 some ERT \vspace{1cm} aa
48
49 and another paragraph
50
51 \begin{center}
52 Some centered stuff (does not work)
53 \end{center}
54
55 \begin{quotation}
56 An environment
57
58 \section*{with a command inside it}
59 \end{quotation}
60
61 \begin{quotation}
62 An environment
63
64 \begin{quotation}
65 and the one inside it
66
67 actually with several paragraphs
68 \end{quotation}
69
70 \end{quotation}
71
72 We can also nest enumerations (does not work quite yet)
73
74 \begin{enumerate}
75 \item Item1
76 \begin{enumerate}
77 \item Item1.a
78 \item Item1.b
79 \end{enumerate}
80 \begin{itemize}
81 \item Item1.*
82 \item Item1.*
83 \end{itemize}
84 \item Item2
85 \end{enumerate}
86
87 \end{document}