]> git.lyx.org Git - lyx.git/blob - lib/examples/xyfigure.lyx
examples: update format of some example files
[lyx.git] / lib / examples / xyfigure.lyx
1 #LyX 2.1 created this file. For more info see http://www.lyx.org/
2 \lyxformat 473
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_math auto
19 \font_default_family default
20 \use_non_tex_fonts false
21 \font_sc false
22 \font_osf false
23 \font_sf_scale 100
24 \font_tt_scale 100
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_package amsmath 1
36 \use_package amssymb 1
37 \use_package cancel 0
38 \use_package esint 0
39 \use_package mathdots 1
40 \use_package mathtools 0
41 \use_package mhchem 1
42 \use_package stackrel 0
43 \use_package stmaryrd 0
44 \use_package undertilde 0
45 \cite_engine basic
46 \cite_engine_type default
47 \biblio_style plain
48 \use_bibtopic false
49 \use_indices false
50 \paperorientation portrait
51 \suppress_date false
52 \justification true
53 \use_refstyle 0
54 \index Index
55 \shortcut idx
56 \color #008000
57 \end_index
58 \secnumdepth 3
59 \tocdepth 3
60 \paragraph_separation indent
61 \paragraph_indentation default
62 \quotes_language english
63 \papercolumns 1
64 \papersides 1
65 \paperpagestyle default
66 \tracking_changes false
67 \output_changes false
68 \html_math_output 0
69 \html_css_as_file 0
70 \html_be_strict false
71 \end_header
72
73 \begin_body
74
75 \begin_layout Section*
76 Editing 
77 \begin_inset ERT
78 status collapsed
79
80 \begin_layout Plain Layout
81
82
83 \backslash
84 Xy
85 \end_layout
86
87 \end_inset
88
89 -Pic figures in LyX
90 \end_layout
91
92 \begin_layout Standard
93 Below you see an 
94 \begin_inset ERT
95 status collapsed
96
97 \begin_layout Plain Layout
98
99
100 \backslash
101 Xy
102 \end_layout
103
104 \end_inset
105
106 -Pic diagram inside LyX being edited and to the right you see how the diagram
107  appears as soon as the cursor leaves the editing area.
108 \end_layout
109
110 \begin_layout Standard
111 \begin_inset Formula \xymatrix{A\ar[d]\ar[r]  &  B\ar[d]\ar@{-->}[dl] \\
112 C\ar@{_{(}->}[r]  &  D\ar@/{}_{1pc}/[u] 
113 }
114
115 \end_inset
116
117  
118 \begin_inset Formula $\xymatrix{\, & \, & \mbox{}A\ar[r]\ar[d] & B\ar[d]\ar@{-->}[dl]\\
119 \, &  & C\ar@{_{(}->}[r] & D\ar@/_{1pc}/[u]
120 }
121 $
122 \end_inset
123
124
125 \end_layout
126
127 \end_body
128 \end_document