1#LyX 1.6svn created this file. For more info see http://www.lyx.org/ 2\lyxformat 318 3\begin_document 4\begin_header 5\textclass article 6\language english 7\inputencoding auto 8\font_roman default 9\font_sans default 10\font_typewriter default 11\font_default_family default 12\font_sc false 13\font_osf false 14\font_sf_scale 100 15\font_tt_scale 100 16\graphics default 17\paperfontsize default 18\use_hyperref false 19\papersize default 20\use_geometry false 21\use_amsmath 1 22\use_esint 1 23\cite_engine basic 24\use_bibtopic false 25\paperorientation portrait 26\secnumdepth 3 27\tocdepth 3 28\paragraph_separation indent 29\defskip medskip 30\quotes_language english 31\papercolumns 1 32\papersides 1 33\paperpagestyle default 34\tracking_changes false 35\output_changes false 36\author "" 37\author "" 38\extra_embedded_files "" 39\end_header 40 41\begin_body 42 43\begin_layout Standard 44This is the child document 45\begin_inset Formula $1$ 46\end_inset 47 48. 49 It overwrites the macro 50\begin_inset Formula $\foo$ 51\end_inset 52 53 54\begin_inset Foot 55status open 56 57\begin_layout PlainLayout 58(should be 59\begin_inset Formula $A$ 60\end_inset 61 62 in LyX and after first inclusion in TeX). 63\end_layout 64 65\end_inset 66 67 68\begin_inset FormulaMacro 69\renewcommand{\foo}{A1} 70\end_inset 71 72 73\begin_inset Formula \[ 74\foo\mbox{ should be }A1\] 75 76\end_inset 77 78 79\end_layout 80 81\end_body 82\end_document 83