2019-04-07 19:09:56 +00:00
|
|
|
#LyX 2.4 created this file. For more info see https://www.lyx.org/
|
|
|
|
\lyxformat 572
|
2015-12-21 10:39:48 +00:00
|
|
|
\begin_document
|
|
|
|
\begin_header
|
2019-04-07 19:09:56 +00:00
|
|
|
\save_transient_properties true
|
|
|
|
\origin unavailable
|
2015-12-21 10:39:48 +00:00
|
|
|
\textclass article
|
2019-04-07 19:09:56 +00:00
|
|
|
\use_default_options false
|
|
|
|
\maintain_unincluded_children false
|
2015-12-21 10:39:48 +00:00
|
|
|
\language english
|
2019-04-07 19:09:56 +00:00
|
|
|
\language_package default
|
2015-12-21 10:39:48 +00:00
|
|
|
\inputencoding auto
|
2019-04-07 19:09:56 +00:00
|
|
|
\fontencoding auto
|
|
|
|
\font_roman "default" "default"
|
|
|
|
\font_sans "default" "default"
|
|
|
|
\font_typewriter "default" "default"
|
|
|
|
\font_math "auto" "auto"
|
2015-12-21 10:39:48 +00:00
|
|
|
\font_default_family default
|
2019-04-07 19:09:56 +00:00
|
|
|
\use_non_tex_fonts false
|
2015-12-21 10:39:48 +00:00
|
|
|
\font_sc false
|
|
|
|
\font_osf false
|
2019-04-07 19:09:56 +00:00
|
|
|
\font_sf_scale 100 100
|
|
|
|
\font_tt_scale 100 100
|
|
|
|
\use_microtype false
|
|
|
|
\use_dash_ligatures true
|
2015-12-21 10:39:48 +00:00
|
|
|
\graphics default
|
2019-04-07 19:09:56 +00:00
|
|
|
\default_output_format default
|
|
|
|
\output_sync 0
|
|
|
|
\bibtex_command default
|
|
|
|
\index_command default
|
2015-12-21 10:39:48 +00:00
|
|
|
\paperfontsize default
|
|
|
|
\use_hyperref false
|
|
|
|
\papersize default
|
|
|
|
\use_geometry false
|
2019-04-07 19:09:56 +00:00
|
|
|
\use_package amsmath 1
|
|
|
|
\use_package amssymb 1
|
|
|
|
\use_package cancel 1
|
|
|
|
\use_package esint 1
|
|
|
|
\use_package mathdots 0
|
|
|
|
\use_package mathtools 1
|
|
|
|
\use_package mhchem 1
|
|
|
|
\use_package stackrel 1
|
|
|
|
\use_package stmaryrd 1
|
|
|
|
\use_package undertilde 1
|
2015-12-21 10:39:48 +00:00
|
|
|
\cite_engine basic
|
2019-04-07 19:09:56 +00:00
|
|
|
\cite_engine_type default
|
|
|
|
\biblio_style plain
|
2015-12-21 10:39:48 +00:00
|
|
|
\use_bibtopic false
|
2019-04-07 19:09:56 +00:00
|
|
|
\use_indices false
|
2015-12-21 10:39:48 +00:00
|
|
|
\paperorientation portrait
|
2019-04-07 19:09:56 +00:00
|
|
|
\suppress_date false
|
|
|
|
\justification true
|
|
|
|
\use_refstyle 0
|
|
|
|
\use_minted 0
|
|
|
|
\index Index
|
|
|
|
\shortcut idx
|
|
|
|
\color #008000
|
|
|
|
\end_index
|
2015-12-21 10:39:48 +00:00
|
|
|
\secnumdepth 3
|
|
|
|
\tocdepth 3
|
|
|
|
\paragraph_separation indent
|
2019-04-07 19:09:56 +00:00
|
|
|
\paragraph_indentation default
|
|
|
|
\is_math_indent 0
|
|
|
|
\math_numbering_side default
|
|
|
|
\quotes_style english
|
|
|
|
\dynamic_quotes 0
|
2015-12-21 10:39:48 +00:00
|
|
|
\papercolumns 1
|
|
|
|
\papersides 1
|
|
|
|
\paperpagestyle default
|
2019-04-07 19:09:56 +00:00
|
|
|
\tablestyle default
|
2015-12-21 10:39:48 +00:00
|
|
|
\tracking_changes false
|
|
|
|
\output_changes false
|
2019-04-07 19:09:56 +00:00
|
|
|
\html_math_output 0
|
|
|
|
\html_css_as_file 0
|
|
|
|
\html_be_strict false
|
2015-12-21 10:39:48 +00:00
|
|
|
\end_header
|
|
|
|
|
|
|
|
\begin_body
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
This is the child document
|
|
|
|
\begin_inset Formula $1$
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
.
|
|
|
|
It overwrites the macro
|
|
|
|
\begin_inset Formula $\foo$
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\begin_inset Foot
|
|
|
|
status open
|
|
|
|
|
2019-04-07 19:09:56 +00:00
|
|
|
\begin_layout Plain Layout
|
2015-12-21 10:39:48 +00:00
|
|
|
(should be
|
|
|
|
\begin_inset Formula $A$
|
|
|
|
\end_inset
|
|
|
|
|
2019-04-07 19:09:56 +00:00
|
|
|
in \SpecialChar LyX
|
|
|
|
and after first inclusion in \SpecialChar TeX
|
|
|
|
).
|
2015-12-21 10:39:48 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\begin_inset FormulaMacro
|
2019-04-07 19:09:56 +00:00
|
|
|
\newcommand{\foo}{A1}
|
2015-12-21 10:39:48 +00:00
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2019-04-07 19:09:56 +00:00
|
|
|
\begin_inset Formula
|
|
|
|
\[
|
|
|
|
\foo\mbox{ should be }A1
|
|
|
|
\]
|
2015-12-21 10:39:48 +00:00
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_body
|
|
|
|
\end_document
|