\pdf_colorlinks true
\pdf_backref false
\pdf_pdfusetitle false
-\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,pdfpagelayout=OneColumn, pdfnewwindow=true,pdfstartview=XYZ, plainpages=false, pdfpagelabels"
+\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,pdfpagelayout=OneColumn, pdfnewwindow=true,pdfstartview=XYZ, plainpages=false"
\papersize a4paper
\use_geometry false
\use_amsmath 1
\paperorientation portrait
\suppress_date false
\use_refstyle 0
+\notefontcolor #0000ff
\index Index
\shortcut idx
\color #008000
\begin_inset Graphics
filename xyfigure.png
width 75col%
- BoundingBox 0bp 0bp 580bp 440bp
- clip
\end_inset
\end_inset
--manual, for instance,
+-manual,
+\begin_inset CommandInset citation
+LatexCommand cite
+key "xypic manual"
+
+\end_inset
+
+, for instance,
\family typewriter
\backslash
\end_inset
--matrix with row spacing of 1 pica.
+-matrix with row spacing of 1
+\begin_inset space ~
+\end_inset
+
+pica.
Similarly,
\family typewriter
}
\family default
allows to modify the space between columns.
- Unfortunately, these commands do currently not work inside LyX, as the
- @-character is interpreted by LyX as ending the
-\begin_inset ERT
-status collapsed
+ Unfortunately, one cannot type
+\begin_inset Quotes eld
+\end_inset
-\begin_layout Plain Layout
+\family typewriter
\backslash
-Xy
-\end_layout
+xymatrix@R=1pc
+\family default
+\begin_inset Quotes erd
\end_inset
--matrix-macro.
-
+ into a formula to get the desired matrix because the @-character is interpreted
+ by LyX as ending the
+\family typewriter
+
+\backslash
+xymatrix
+\family default
+ command.
+ But there is another way of getting the desired matrix:
\end_layout
\begin_layout Standard
-Knowing that
\begin_inset ERT
status collapsed
\begin_inset space ~
\end_inset
- stores the values for row-spacing and column-spacing in the variables
+ stores the values for row-spacing and column-spacing in the variables
+\begin_inset Newline newline
+\end_inset
+
+
\family typewriter
\backslash
\backslash
xymatrixrowsep@
\family default
-, add the following macro to the preamble (
+.
+ So one can add the following macro to the preamble (
\family sans
Layout\SpecialChar \menuseparator
Document\SpecialChar \menuseparator
Preamble
\family default
):
-\begin_inset Newpage pagebreak
-\end_inset
-
-
\end_layout
\begin_layout LyX-Code
\backslash
newcommand{
\backslash
-xyR}[1]{%
+xyR}[1]{%
\end_layout
\begin_layout LyX-Code
xymatrixrowsep@{#1}}
\end_layout
-\begin_layout LyX-Code
-
-\end_layout
-
\begin_layout Standard
A macro
\family typewriter
.
Now, a figure can be scaled by entering
\backslash
-xyR{...} into the
+xyR{ into the formula before the
\begin_inset ERT
status collapsed
Don't forget the backslashes and remember, that the closing brace is automatica
lly supplied by LyX.
Inside the braces enter the dimensions.
- The default is
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ These commands affect all following
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+Xy
+\end_layout
+
+\end_inset
+
+-matrices.
+ Therefore don't forget to reset the values to default after the usage of
+
+\family typewriter
+
+\backslash
+xyR
+\family default
+ etc..
+\end_layout
+
+\end_inset
+
+
+\begin_inset Newline newline
+\end_inset
+
+The default is
\family typewriter
-2pt
+2pc
\family default
.
Here you see a diagram which is squashed vertically and stretched horizontally
\family typewriter
\backslash
-xyR{9pc}
+xyR{0.5pc}
\backslash
-xyC{.5pc}
+xyC{9pc}
\family default
:
-\end_layout
-
-\begin_layout Standard
\begin_inset Formula
\[
-\xyC{.5pc}\xyC{9pc}\xymatrix{A\ar[r]\ar[d] & B\\
+\xyR{.5pc}\xyC{9pc}\xymatrix{A\ar[r]\ar[d] & B\\
C\ar@{}[ur]|{\text{{horizontal stretch}}}
}
\]
\end_inset
+\begin_inset Formula $\xyR{2pc}\xyC{2pc}$
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+reset to default
+\end_layout
+
+\end_inset
+
+
\end_layout
\begin_layout Subsection
\begin_layout Subsection
Further
\family typewriter
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
Xy
-\end_layout
-
-\end_inset
-
-
\family default
-tricks
\end_layout
Instant preview
\family default
insets.
- A good and rather systematic introduction to
-\family typewriter
+\end_layout
+
+\begin_layout Bibliography
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+key "xypic manual"
+\end_inset
+
+Kristoffer H.
+ Rose:
\begin_inset ERT
status collapsed
\end_inset
-\family default
--matrix is
-\begin_inset CommandInset citation
-LatexCommand cite
-key "Ouvaton"
+\emph on
+-pic User's Guide
+\emph default
+.
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Plain Layout
+
+http://mirrors.ctan.org/macros/generic/diagrams/xypic/xy/doc/xyguide.pdf
+\end_layout
\end_inset
-.
- Even if you share with me the disadvantage of not being fluent in Esperanto,
- you will be able to understand most of it.
-
+
\end_layout
\begin_layout Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
-label "1"
-key "xypic manual"
+key "xypic reference"
\end_inset
Kristoffer H.
- Rose:
+ Rose and Ross Moore:
\begin_inset ERT
status collapsed
\emph on
--pic User's Guide
+-pic Reference Manual
\emph default
.
- Version 3.7, Feb.
- 16, 1999.
- Available as part of the
-\family typewriter
-xypic
-\family default
- LaTeX package.
-
-\end_layout
-
-\begin_layout Bibliography
-\begin_inset CommandInset bibitem
-LatexCommand bibitem
-label "2"
-key "instant-preview"
-
+\begin_inset Newline newline
\end_inset
\begin_layout Plain Layout
-http://www.tug.org/tex-archive/help/Catalogue/entries/preview-latex.html
+http://mirrors.ctan.org/macros/generic/diagrams/xypic/xy/doc/xyrefer.pdf
\end_layout
\end_inset
\begin_layout Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
-label "3"
key "xypic"
\end_inset
+Homepage of the package
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+Xy
+\end_layout
+
+\end_inset
+
+\emph on
+-pic
+\emph default
+:
\begin_inset Flex URL
status collapsed
\begin_layout Plain Layout
-http://www.tug.org/tex-archive/help/Catalogue/entries/xypic.html
+http://www.ctan.org/pkg/xypic
\end_layout
\end_inset
\begin_layout Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
-label "4"
-key "AUCTeX"
+key "instant-preview"
+
+\end_inset
+Homepage of preview-latex:
+\begin_inset Newline newline
\end_inset
\begin_layout Plain Layout
-http://www.gnu.org/software/auctex/
+http://www.gnu.org/software/auctex/preview-latex.html
\end_layout
\end_inset
\begin_layout Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
-label "5"
-key "Lauda"
-
-\end_inset
-
-Aarlon Lauda:
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-Xy
-\end_layout
+key "AUCTeX"
\end_inset
-
-\emph on
--pic
-\emph default
-
-\emph on
-tutorial with an archive of examples
-\emph default
-.
+Homepage of AUCTeX:
\begin_inset Flex URL
status collapsed
\begin_layout Plain Layout
-http://www.math.columbia.edu/~lauda/xy/
+http://www.gnu.org/software/auctex/
\end_layout
\end_inset
\begin_layout Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
-label "6"
-key "Ouvaton"
+key "Lauda"
\end_inset
-Filipp Ouvaton:
+Aarlon Lauda:
\begin_inset ERT
status collapsed
\emph on
-pic
\emph default
-:
+
\emph on
-Enkonduko pri Xymatrix
+tutorial with an archive of examples
\emph default
.
-
+\begin_inset Newline newline
+\end_inset
+
+
\begin_inset Flex URL
-status collapsed
+status open
\begin_layout Plain Layout
-http://filip.ouvaton.org/xypic/xymatrix/index.html
+http://www.math.columbia.edu/~lauda/xy/
\end_layout
\end_inset