xypic.lyx: update description of spacings

- also update all web links and squash all LaTeX warnings
This commit is contained in:
Uwe Stöhr 2013-02-16 21:48:12 +01:00
parent f82b17f2e2
commit a67cd78556
2 changed files with 204 additions and 150 deletions

View File

@ -82,7 +82,7 @@
\pdf_colorlinks true \pdf_colorlinks true
\pdf_backref false \pdf_backref false
\pdf_pdfusetitle 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 \papersize a4paper
\use_geometry false \use_geometry false
\use_amsmath 1 \use_amsmath 1
@ -95,6 +95,7 @@
\paperorientation portrait \paperorientation portrait
\suppress_date false \suppress_date false
\use_refstyle 0 \use_refstyle 0
\notefontcolor #0000ff
\index Index \index Index
\shortcut idx \shortcut idx
\color #008000 \color #008000
@ -230,8 +231,6 @@ xypic
\begin_inset Graphics \begin_inset Graphics
filename xyfigure.png filename xyfigure.png
width 75col% width 75col%
BoundingBox 0bp 0bp 580bp 440bp
clip
\end_inset \end_inset
@ -2860,7 +2859,14 @@ Xy
\end_inset \end_inset
-manual, for instance, -manual,
\begin_inset CommandInset citation
LatexCommand cite
key "xypic manual"
\end_inset
, for instance,
\family typewriter \family typewriter
\backslash \backslash
@ -2884,7 +2890,11 @@ Xy
\end_inset \end_inset
-matrix with row spacing of 1 pica. -matrix with row spacing of 1
\begin_inset space ~
\end_inset
pica.
Similarly, Similarly,
\family typewriter \family typewriter
@ -2902,26 +2912,32 @@ xymatrix@C=
} }
\family default \family default
allows to modify the space between columns. allows to modify the space between columns.
Unfortunately, these commands do currently not work inside LyX, as the Unfortunately, one cannot type
@-character is interpreted by LyX as ending the \begin_inset Quotes eld
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
Xy
\end_layout
\end_inset \end_inset
-matrix-macro.
\family typewriter
\backslash
xymatrix@R=1pc
\family default
\begin_inset Quotes erd
\end_inset
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 \end_layout
\begin_layout Standard \begin_layout Standard
Knowing that
\begin_inset ERT \begin_inset ERT
status collapsed status collapsed
@ -2938,7 +2954,11 @@ Xy
\begin_inset space ~ \begin_inset space ~
\end_inset \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 \family typewriter
\backslash \backslash
@ -2950,17 +2970,14 @@ xymatrixrowsep@
\backslash \backslash
xymatrixrowsep@ xymatrixrowsep@
\family default \family default
, add the following macro to the preamble ( .
So one can add the following macro to the preamble (
\family sans \family sans
Layout\SpecialChar \menuseparator Layout\SpecialChar \menuseparator
Document\SpecialChar \menuseparator Document\SpecialChar \menuseparator
Preamble Preamble
\family default \family default
): ):
\begin_inset Newpage pagebreak
\end_inset
\end_layout \end_layout
\begin_layout LyX-Code \begin_layout LyX-Code
@ -2968,7 +2985,7 @@ Preamble
\backslash \backslash
newcommand{ newcommand{
\backslash \backslash
xyR}[1]{% xyR}[1]{%
\end_layout \end_layout
\begin_layout LyX-Code \begin_layout LyX-Code
@ -2979,10 +2996,6 @@ xydef@
xymatrixrowsep@{#1}} xymatrixrowsep@{#1}}
\end_layout \end_layout
\begin_layout LyX-Code
\end_layout
\begin_layout Standard \begin_layout Standard
A macro A macro
\family typewriter \family typewriter
@ -3005,7 +3018,7 @@ xymatrixcolsep@
. .
Now, a figure can be scaled by entering Now, a figure can be scaled by entering
\backslash \backslash
xyR{...} into the xyR{ into the formula before the
\begin_inset ERT \begin_inset ERT
status collapsed status collapsed
@ -3040,9 +3053,51 @@ xyC
Don't forget the backslashes and remember, that the closing brace is automatica Don't forget the backslashes and remember, that the closing brace is automatica
lly supplied by LyX. lly supplied by LyX.
Inside the braces enter the dimensions. 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 \family typewriter
2pt
\backslash
xyR
\family default
etc..
\end_layout
\end_inset
\begin_inset Newline newline
\end_inset
The default is
\family typewriter
2pc
\family default \family default
. .
Here you see a diagram which is squashed vertically and stretched horizontally Here you see a diagram which is squashed vertically and stretched horizontally
@ -3050,17 +3105,14 @@ lly supplied by LyX.
\family typewriter \family typewriter
\backslash \backslash
xyR{9pc} xyR{0.5pc}
\backslash \backslash
xyC{.5pc} xyC{9pc}
\family default \family default
: :
\end_layout
\begin_layout Standard
\begin_inset Formula \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}}} C\ar@{}[ur]|{\text{{horizontal stretch}}}
} }
\] \]
@ -3068,6 +3120,20 @@ C\ar@{}[ur]|{\text{{horizontal stretch}}}
\end_inset \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 \end_layout
\begin_layout Subsection \begin_layout Subsection
@ -3312,20 +3378,7 @@ horizontal stretch
\begin_layout Subsection \begin_layout Subsection
Further Further
\family typewriter \family typewriter
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
Xy Xy
\end_layout
\end_inset
\family default \family default
-tricks -tricks
\end_layout \end_layout
@ -3429,40 +3482,11 @@ ERT
Instant preview Instant preview
\family default \family default
insets. insets.
A good and rather systematic introduction to
\family typewriter
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
Xy
\end_layout
\end_inset
\family default
-matrix is
\begin_inset CommandInset citation
LatexCommand cite
key "Ouvaton"
\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 \end_layout
\begin_layout Bibliography \begin_layout Bibliography
\begin_inset CommandInset bibitem \begin_inset CommandInset bibitem
LatexCommand bibitem LatexCommand bibitem
label "1"
key "xypic manual" key "xypic manual"
\end_inset \end_inset
@ -3486,22 +3510,7 @@ Xy
-pic User's Guide -pic User's Guide
\emph default \emph default
. .
Version 3.7, Feb. \begin_inset Newline newline
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"
\end_inset \end_inset
@ -3510,7 +3519,50 @@ status collapsed
\begin_layout Plain Layout \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/xyguide.pdf
\end_layout
\end_inset
\end_layout
\begin_layout Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "xypic reference"
\end_inset
Kristoffer H.
Rose and Ross Moore:
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
Xy
\end_layout
\end_inset
\emph on
-pic Reference Manual
\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/xyrefer.pdf
\end_layout \end_layout
\end_inset \end_inset
@ -3521,18 +3573,34 @@ http://www.tug.org/tex-archive/help/Catalogue/entries/preview-latex.html
\begin_layout Bibliography \begin_layout Bibliography
\begin_inset CommandInset bibitem \begin_inset CommandInset bibitem
LatexCommand bibitem LatexCommand bibitem
label "3"
key "xypic" key "xypic"
\end_inset \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 \begin_inset Flex URL
status collapsed status collapsed
\begin_layout Plain Layout \begin_layout Plain Layout
http://www.tug.org/tex-archive/help/Catalogue/entries/xypic.html http://www.ctan.org/pkg/xypic
\end_layout \end_layout
\end_inset \end_inset
@ -3543,12 +3611,36 @@ http://www.tug.org/tex-archive/help/Catalogue/entries/xypic.html
\begin_layout Bibliography \begin_layout Bibliography
\begin_inset CommandInset bibitem \begin_inset CommandInset bibitem
LatexCommand bibitem LatexCommand bibitem
label "4" key "instant-preview"
key "AUCTeX"
\end_inset
Homepage of preview-latex:
\begin_inset Newline newline
\end_inset
\begin_inset Flex URL
status collapsed
\begin_layout Plain Layout
http://www.gnu.org/software/auctex/preview-latex.html
\end_layout
\end_inset \end_inset
\end_layout
\begin_layout Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "AUCTeX"
\end_inset
Homepage of AUCTeX:
\begin_inset Flex URL \begin_inset Flex URL
status collapsed status collapsed
@ -3565,7 +3657,6 @@ http://www.gnu.org/software/auctex/
\begin_layout Bibliography \begin_layout Bibliography
\begin_inset CommandInset bibitem \begin_inset CommandInset bibitem
LatexCommand bibitem LatexCommand bibitem
label "5"
key "Lauda" key "Lauda"
\end_inset \end_inset
@ -3592,8 +3683,12 @@ Xy
tutorial with an archive of examples tutorial with an archive of examples
\emph default \emph default
. .
\begin_inset Newline newline
\end_inset
\begin_inset Flex URL \begin_inset Flex URL
status collapsed status open
\begin_layout Plain Layout \begin_layout Plain Layout
@ -3603,50 +3698,6 @@ http://www.math.columbia.edu/~lauda/xy/
\end_inset \end_inset
\end_layout
\begin_layout Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
label "6"
key "Ouvaton"
\end_inset
Filipp Ouvaton:
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
Xy
\end_layout
\end_inset
\emph on
-pic
\emph default
:
\emph on
Enkonduko pri Xymatrix
\emph default
.
\begin_inset Flex URL
status collapsed
\begin_layout Plain Layout
http://filip.ouvaton.org/xypic/xymatrix/index.html
\end_layout
\end_inset
\end_layout \end_layout
\end_body \end_body

View File

@ -142,17 +142,20 @@ What's new
- Do not create an empty environment variable LC_ALL when launching - Do not create an empty environment variable LC_ALL when launching
external processes (bug 8537). external processes (bug 8537).
* DOCUMENTATION AND LOCALIZATION * DOCUMENTATION AND LOCALIZATION
- Make the thesis template compilable again. - Make the thesis template compilable again.
- Fix compilation of modernCV example file for all themes. - Fix compilation of modernCV example file for all themes.
- Update the Xy-pic manual to avoid any LaTeX and LyX warning when processing
the file.
* LYXHTML * LYXHTML
* TEX2LYX * TEX2LYX
- Correct import of the command \framebox (bug 8223). - Correct import of the command \framebox (bug 8223).