-#LyX 1.6.0 created this file. For more info see http://www.lyx.org/
+#LyX 1.6.1 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\font_osf false
\font_sf_scale 100
\font_tt_scale 100
+
\graphics default
\paperfontsize default
\spacing single
\paperpagestyle default
\tracking_changes false
\output_changes false
-\author ""
-\author ""
+\author ""
+\author ""
\end_header
\begin_body
\end_layout
\begin_layout Standard
+\align center
\begin_inset Graphics
- filename xyfigure.png
+ filename /usr/share/lyx/examples/xyfigure.png
scale 50
BoundingBox 0bp 0bp 580bp 440bp
clip
-Pic features that might be of use for drawing commutative diagrams, graphs
or automata.
- Section 3 explains how to use the
+ Section
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:math-editor"
+
+\end_inset
+
+ explains how to use the
\begin_inset ERT
status collapsed
\end_layout
\begin_deeper
-\begin_layout Enumerate
-Choose
-\family sans
-Layout\SpecialChar \menuseparator
-Document\SpecialChar \menuseparator
-Preamble
-\family default
- and type
-\family typewriter
-
-\begin_inset Newline newline
-\end_inset
-
-
-\backslash
-usepackage[all]{xy}.
-\end_layout
-
\begin_layout Enumerate
Inside your LyX-Document, enter the text
\family typewriter
.
+\end_layout
+
+\begin_layout Enumerate
+In some cases you need to change your document preamble (e.g.
+ when using
+\backslash
+xy macro instead of
+\backslash
+xymatrix macro).
+ Choose
+\family sans
+Layout\SpecialChar \menuseparator
+Document\SpecialChar \menuseparator
+Preamble
+\family default
+ and type
+\family typewriter
+
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+usepackage[all]{xy}.
+\begin_inset Newline newline
+\end_inset
+
+
\end_layout
\end_deeper
\begin_layout Section
Using LyX's math editor
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:math-editor"
+
+\end_inset
+
+
\end_layout
\begin_layout Standard
into the center of the figure.
\end_layout
+\begin_layout Subsection
+Another examples
+\end_layout
+
+\begin_layout Standard
+Advanced painting can be done when using the
+\backslash
+xy macro.
+ Nice collection of examples from Aaron Lauda can be found at
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Plain Layout
+
+http://www.dpmms.cam.ac.uk/~al366/xytutorial.html
+\end_layout
+
+\end_inset
+
+.
+\end_layout
+
\begin_layout Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem