]> git.lyx.org Git - lyx.git/blob - lib/examples/xyfigure.lyx
a006733233867e725a438d5b85c93fb09a71821b
[lyx.git] / lib / examples / xyfigure.lyx
1 #LyX 1.6.0beta3 created this file. For more info see http://www.lyx.org/
2 \lyxformat 335
3 \begin_document
4 \begin_header
5 \textclass article
6 \begin_preamble
7 \usepackage[all]{xy}
8 \end_preamble
9 \language english
10 \inputencoding auto
11 \font_roman default
12 \font_sans default
13 \font_typewriter default
14 \font_default_family default
15 \font_sc false
16 \font_osf false
17 \font_sf_scale 100
18 \font_tt_scale 100
19 \graphics default
20 \paperfontsize default
21 \spacing single
22 \use_hyperref false
23 \papersize default
24 \use_geometry false
25 \use_amsmath 1
26 \use_esint 0
27 \cite_engine basic
28 \use_bibtopic false
29 \paperorientation portrait
30 \secnumdepth 3
31 \tocdepth 3
32 \paragraph_separation indent
33 \defskip medskip
34 \quotes_language english
35 \papercolumns 1
36 \papersides 1
37 \paperpagestyle default
38 \tracking_changes false
39 \output_changes false
40 \author "" 
41 \end_header
42
43 \begin_body
44
45 \begin_layout Section*
46 Editing 
47 \begin_inset ERT
48 status collapsed
49
50 \begin_layout Plain Layout
51
52
53 \backslash
54 Xy
55 \end_layout
56
57 \end_inset
58
59 -Pic figures in LyX
60 \end_layout
61
62 \begin_layout Standard
63 Below you see an 
64 \begin_inset ERT
65 status collapsed
66
67 \begin_layout Plain Layout
68
69
70 \backslash
71 Xy
72 \end_layout
73
74 \end_inset
75
76 -Pic diagram inside LyX being edited and to the right you see how the diagram
77  appears as soon as the cursor leaves the editing area.
78 \end_layout
79
80 \begin_layout Standard
81 \begin_inset Formula \xymatrix{A\ar [d]\ar [r]  &  B\ar [d]\ar @{-->}[dl] \\
82 C\ar @{_{(}->}[r]  &  D\ar @/{}_{1pc}/[u]}
83
84
85 \end_inset
86
87  
88 \begin_inset Formula $\xymatrix{\, & \, & \mbox{}A\ar [r]\ar [d] & B\ar [d]\ar @{-->}[dl]\\
89 \, &  & C\ar @{_{(}->}[r] & D\ar @/_{1pc}/[u]}
90 $
91 \end_inset
92
93
94 \end_layout
95
96 \end_body
97 \end_document