]> git.lyx.org Git - features.git/commitdiff
* xypic.lyx
authorPavel Sanda <sanda@lyx.org>
Mon, 16 Feb 2009 23:38:01 +0000 (23:38 +0000)
committerPavel Sanda <sanda@lyx.org>
Mon, 16 Feb 2009 23:38:01 +0000 (23:38 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28513 a592a061-630c-0410-9148-cb99ea01b6c8

lib/examples/xypic.lyx

index 7e68222826073dea132dd92fa0dcf4deebd92626..8a78917f9011e170e87cf43d33cecf45a85bc865 100644 (file)
@@ -1,4 +1,4 @@
-#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
@@ -33,6 +33,7 @@
 \font_osf false
 \font_sf_scale 100
 \font_tt_scale 100
+
 \graphics default
 \paperfontsize default
 \spacing single
@@ -54,8 +55,8 @@
 \paperpagestyle default
 \tracking_changes false
 \output_changes false
-\author ""
-\author ""
+\author "" 
+\author "" 
 \end_header
 
 \begin_body
@@ -170,8 +171,9 @@ xypic
 \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
@@ -276,7 +278,14 @@ Xy
 
 -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
 
@@ -426,24 +435,6 @@ xypic
 \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
@@ -484,6 +475,34 @@ $
 
 .
  
+\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
@@ -2357,6 +2376,13 @@ restore
 
 \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
@@ -3170,6 +3196,28 @@ horizontal stretch
  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