* xypic.lyx

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28513 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2009-02-16 23:38:01 +00:00
parent 53dc4ae015
commit 0f842e6cc3

View 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 \lyxformat 345
\begin_document \begin_document
\begin_header \begin_header
@ -33,6 +33,7 @@
\font_osf false \font_osf false
\font_sf_scale 100 \font_sf_scale 100
\font_tt_scale 100 \font_tt_scale 100
\graphics default \graphics default
\paperfontsize default \paperfontsize default
\spacing single \spacing single
@ -170,8 +171,9 @@ xypic
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
\align center
\begin_inset Graphics \begin_inset Graphics
filename xyfigure.png filename /usr/share/lyx/examples/xyfigure.png
scale 50 scale 50
BoundingBox 0bp 0bp 580bp 440bp BoundingBox 0bp 0bp 580bp 440bp
clip clip
@ -276,7 +278,14 @@ Xy
-Pic features that might be of use for drawing commutative diagrams, graphs -Pic features that might be of use for drawing commutative diagrams, graphs
or automata. 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 \begin_inset ERT
status collapsed status collapsed
@ -426,24 +435,6 @@ xypic
\end_layout \end_layout
\begin_deeper \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 \begin_layout Enumerate
Inside your LyX-Document, enter the text Inside your LyX-Document, enter the text
\family typewriter \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_layout
\end_deeper \end_deeper
@ -2357,6 +2376,13 @@ restore
\begin_layout Section \begin_layout Section
Using LyX's math editor Using LyX's math editor
\begin_inset CommandInset label
LatexCommand label
name "sec:math-editor"
\end_inset
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
@ -3170,6 +3196,28 @@ horizontal stretch
into the center of the figure. into the center of the figure.
\end_layout \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_layout Bibliography
\begin_inset CommandInset bibitem \begin_inset CommandInset bibitem
LatexCommand bibitem LatexCommand bibitem