]> git.lyx.org Git - lyx.git/blob - autotests/mathmacros/Spacechild1.lyx
Amend 47f1fec9
[lyx.git] / autotests / mathmacros / Spacechild1.lyx
1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
2 \lyxformat 572
3 \begin_document
4 \begin_header
5 \save_transient_properties true
6 \origin unavailable
7 \textclass article
8 \use_default_options false
9 \maintain_unincluded_children false
10 \language english
11 \language_package default
12 \inputencoding auto
13 \fontencoding auto
14 \font_roman "default" "default"
15 \font_sans "default" "default"
16 \font_typewriter "default" "default"
17 \font_math "auto" "auto"
18 \font_default_family default
19 \use_non_tex_fonts false
20 \font_sc false
21 \font_osf false
22 \font_sf_scale 100 100
23 \font_tt_scale 100 100
24 \use_microtype false
25 \use_dash_ligatures true
26 \graphics default
27 \default_output_format default
28 \output_sync 0
29 \bibtex_command default
30 \index_command default
31 \paperfontsize default
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 1
38 \use_package esint 1
39 \use_package mathdots 0
40 \use_package mathtools 1
41 \use_package mhchem 1
42 \use_package stackrel 1
43 \use_package stmaryrd 1
44 \use_package undertilde 1
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 \use_minted 0
55 \index Index
56 \shortcut idx
57 \color #008000
58 \end_index
59 \secnumdepth 3
60 \tocdepth 3
61 \paragraph_separation indent
62 \paragraph_indentation default
63 \is_math_indent 0
64 \math_numbering_side default
65 \quotes_style english
66 \dynamic_quotes 0
67 \papercolumns 1
68 \papersides 1
69 \paperpagestyle default
70 \tablestyle default
71 \tracking_changes false
72 \output_changes false
73 \html_math_output 0
74 \html_css_as_file 0
75 \html_be_strict false
76 \end_header
77
78 \begin_body
79
80 \begin_layout Standard
81 This is the child document 
82 \begin_inset Formula $1$
83 \end_inset
84
85 .
86  It overwrites the macro 
87 \begin_inset Formula $\foo$
88 \end_inset
89
90
91 \begin_inset Foot
92 status open
93
94 \begin_layout Plain Layout
95 (should be 
96 \begin_inset Formula $A$
97 \end_inset
98
99  in \SpecialChar LyX
100  and after first inclusion in \SpecialChar TeX
101 ).
102 \end_layout
103
104 \end_inset
105
106  
107 \begin_inset FormulaMacro
108 \newcommand{\foo}{A1}
109 \end_inset
110
111
112 \begin_inset Formula 
113 \[
114 \foo\mbox{ should be }A1
115 \]
116
117 \end_inset
118
119
120 \end_layout
121
122 \end_body
123 \end_document