]> git.lyx.org Git - lyx.git/blob - lib/examples/xyfigure.lyx
Don't allow newline characters in document settings.
[lyx.git] / lib / examples / xyfigure.lyx
1 #LyX 2.0 created this file. For more info see http://www.lyx.org/
2 \lyxformat 413
3 \begin_document
4 \begin_header
5 \textclass article
6 \begin_preamble
7 \usepackage[all]{xy}
8 \end_preamble
9 \use_default_options false
10 \maintain_unincluded_children false
11 \language english
12 \language_package default
13 \inputencoding auto
14 \fontencoding global
15 \font_roman default
16 \font_sans default
17 \font_typewriter default
18 \font_default_family default
19 \use_non_tex_fonts false
20 \font_sc false
21 \font_osf false
22 \font_sf_scale 100
23 \font_tt_scale 100
24
25 \graphics default
26 \default_output_format default
27 \output_sync 0
28 \bibtex_command default
29 \index_command default
30 \paperfontsize default
31 \spacing single
32 \use_hyperref false
33 \papersize default
34 \use_geometry false
35 \use_amsmath 1
36 \use_esint 0
37 \use_mhchem 1
38 \use_mathdots 1
39 \cite_engine basic
40 \use_bibtopic false
41 \use_indices false
42 \paperorientation portrait
43 \suppress_date false
44 \use_refstyle 0
45 \index Index
46 \shortcut idx
47 \color #008000
48 \end_index
49 \secnumdepth 3
50 \tocdepth 3
51 \paragraph_separation indent
52 \paragraph_indentation default
53 \quotes_language english
54 \papercolumns 1
55 \papersides 1
56 \paperpagestyle default
57 \tracking_changes false
58 \output_changes false
59 \html_math_output 0
60 \html_css_as_file 0
61 \html_be_strict false
62 \end_header
63
64 \begin_body
65
66 \begin_layout Section*
67 Editing 
68 \begin_inset ERT
69 status collapsed
70
71 \begin_layout Plain Layout
72
73
74 \backslash
75 Xy
76 \end_layout
77
78 \end_inset
79
80 -Pic figures in LyX
81 \end_layout
82
83 \begin_layout Standard
84 Below you see an 
85 \begin_inset ERT
86 status collapsed
87
88 \begin_layout Plain Layout
89
90
91 \backslash
92 Xy
93 \end_layout
94
95 \end_inset
96
97 -Pic diagram inside LyX being edited and to the right you see how the diagram
98  appears as soon as the cursor leaves the editing area.
99 \end_layout
100
101 \begin_layout Standard
102 \begin_inset Formula \xymatrix{A\ar[d]\ar[r]  &  B\ar[d]\ar@{-->}[dl] \\
103 C\ar@{_{(}->}[r]  &  D\ar@/{}_{1pc}/[u]
104 }
105
106 \end_inset
107
108  
109 \begin_inset Formula $\xymatrix{\, & \, & \mbox{}A\ar[r]\ar[d] & B\ar[d]\ar@{-->}[dl]\\
110 \, &  & C\ar@{_{(}->}[r] & D\ar@/_{1pc}/[u]
111 }
112 $
113 \end_inset
114
115
116 \end_layout
117
118 \end_body
119 \end_document