1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
5 \save_transient_properties true
8 \use_default_options false
14 \maintain_unincluded_children false
16 \language_package default
19 \font_roman "default" "default"
20 \font_sans "default" "default"
21 \font_typewriter "default" "default"
22 \font_math "auto" "auto"
23 \font_default_family default
24 \use_non_tex_fonts false
27 \font_sf_scale 100 100
28 \font_tt_scale 100 100
30 \use_dash_ligatures true
32 \default_output_format default
34 \bibtex_command default
35 \index_command default
36 \paperfontsize default
41 \use_package amsmath 1
42 \use_package amssymb 1
45 \use_package mathdots 0
46 \use_package mathtools 1
48 \use_package stackrel 1
49 \use_package stmaryrd 1
50 \use_package undertilde 1
52 \cite_engine_type default
56 \paperorientation portrait
77 \paragraph_separation indent
78 \paragraph_indentation default
80 \math_numbering_side default
85 \paperpagestyle default
87 \tracking_changes false
100 \begin_layout Section
104 \begin_layout Standard
107 \backslash foo\mbox{ should be }\backslash foo
115 \begin_layout Standard
125 \begin_inset FormulaMacro
132 \begin_layout Standard
135 \foo\mbox{ should be }A
143 \begin_layout Section
147 \begin_layout Standard
157 \begin_inset FormulaMacro
158 \renewcommand{\foo}{B}
181 \begin_layout Section
182 In Paragraph Redefinition
185 \begin_layout Standard
195 \begin_inset FormulaMacro
196 \renewcommand{\foo}{C}
209 \begin_inset Formula $\foo\mbox{ should be }C$
222 \begin_inset FormulaMacro
223 \renewcommand{\foo}{D}
236 \begin_inset Formula $\foo\mbox{ should be }D$
242 \begin_layout Section
246 \begin_layout Standard
247 \begin_inset Note Note
250 \begin_layout Plain Layout
251 \begin_inset Formula $\foo\mbox{ should be }D$
257 \begin_layout Section
258 Environment local Definitions
261 \begin_layout Plain Layout
271 \begin_inset FormulaMacro
272 \renewcommand{\foo}{E}
285 \begin_inset Formula $\foo\mbox{ should be }E$
298 \begin_inset FormulaMacro
299 \renewcommand{\foo}{F}
312 \begin_inset Formula $\foo\mbox{ should be }F$
321 \begin_inset Formula $\foo\mbox{ should be }D$
327 \begin_layout Section
328 Definitions in Paragraph Style Environments
331 \begin_layout Abstract
341 \begin_inset FormulaMacro
342 \renewcommand{\foo}{G}
355 \begin_inset Formula $\foo\mbox{ should be }G$
361 \begin_layout Standard
362 \begin_inset Formula $\foo\mbox{ should be }G$
368 \begin_layout Itemize
378 \begin_inset FormulaMacro
379 \renewcommand{\foo}{H}
392 \begin_inset Formula $\foo\mbox{ should be }H$
398 \begin_layout Itemize
399 \begin_inset Formula $H\mbox{ should be }H$
412 \begin_inset FormulaMacro
413 \renewcommand{\foo}{H2}
426 \begin_inset Formula $\foo\mbox{ should be }H2$
432 \begin_layout Standard
433 \begin_inset Formula $\foo\mbox{ should be }H2$
439 \begin_layout Section
443 \begin_layout Theorem
444 \begin_inset Formula $1=0$
457 \begin_inset FormulaMacro
458 \renewcommand{\foo}{I}
471 \begin_inset Formula $\foo\mbox{ should be }I$
479 \begin_inset Formula $2=1$
483 \begin_inset Formula $\foo\mbox{ should be }I$
496 \begin_inset FormulaMacro
497 \renewcommand{\foo}{J}
510 \begin_inset Formula $\foo\mbox{ should be }J$
523 \begin_inset FormulaMacro
524 \renewcommand{\foo}{K}
537 \begin_inset Formula $\foo\mbox{ should be }K$
545 \begin_inset Formula $\foo\mbox{ should be }K$
551 \begin_layout Standard
552 \begin_inset Formula $\foo\mbox{ should be }K$
558 \begin_layout Section
562 \begin_layout Standard
564 <lyxtabular version="3" rows="2" columns="2">
565 <features tabularvalignment="middle">
566 <column alignment="center" valignment="top">
567 <column alignment="center" valignment="top">
569 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
572 \begin_layout Plain Layout
573 \begin_inset Formula $\foo\mbox{ should be }K$
581 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
584 \begin_layout Plain Layout
592 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
595 \begin_layout Plain Layout
605 \begin_inset FormulaMacro
606 \renewcommand{\foo}{L}
619 \begin_inset Formula $L\mbox{ should be }L$
627 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
630 \begin_layout Plain Layout
644 \begin_layout Section
645 Depth and nested Paragraphs
648 \begin_layout Definition
650 \begin_inset Formula $x$
654 \begin_inset Formula $1$
668 \begin_inset FormulaMacro
669 \renewcommand{\foo}{M}
682 \begin_inset Formula $\foo\mbox{ should be }M$
686 \begin_inset Separator latexpar
693 \begin_layout Standard
694 \begin_inset Formula $\foo\mbox{ should be }M$
707 \begin_inset FormulaMacro
708 \renewcommand{\foo}{N}
721 \begin_inset Formula $\foo\mbox{ should be }N$
728 \begin_layout Definition
730 \begin_inset Formula $y$
734 \begin_inset Formula $2$
739 \begin_inset Formula $\foo\mbox{ should be }N$
752 \begin_inset FormulaMacro
753 \renewcommand{\foo}{O}
766 \begin_inset Formula $\foo\mbox{ should be }O$
770 \begin_inset Separator latexpar
777 \begin_layout Itemize
779 \begin_inset Formula $z$
783 \begin_inset Formula $3$
788 \begin_inset Formula $\foo\mbox{ should be }O$
801 \begin_inset FormulaMacro
802 \renewcommand{\foo}{P}
815 \begin_inset Formula $\foo\mbox{ should be }P$
822 \begin_layout Definition
824 \begin_inset Formula $\foo\mbox{ should be }P$
830 \begin_layout Standard
831 And outside the definition:
832 \begin_inset Formula $\foo\mbox{ should be }P$
838 \begin_layout Section
842 \begin_layout Standard
843 \begin_inset Branch Branch1
847 \begin_layout Standard
857 \begin_inset FormulaMacro
858 \renewcommand{\foo}{Q}
871 \begin_inset Formula $\foo\mbox{ should be }Q$
882 \begin_layout Standard
883 \begin_inset Formula $\foo\mbox{ should be }Q\mbox{ if Branch1 is selected}$
889 \begin_layout Standard
890 \begin_inset Branch Branch2
894 \begin_layout Standard
904 \begin_inset FormulaMacro
905 \renewcommand{\foo}{R}
918 \begin_inset Formula $\foo\mbox{ should be }R$
929 \begin_layout Standard
930 \begin_inset Formula $\foo\mbox{ should be }Q\mbox{ if Branch2 is deselected}$
936 \begin_layout Section
937 Macros in non-environment blocks
940 \begin_layout Standard
943 Some bold font block:
953 \begin_inset FormulaMacro
954 \renewcommand{\foo}{R}
967 \begin_inset Formula $\foo\mbox{ should be }R$
973 \begin_layout Standard
975 \begin_inset Formula $\foo\mbox{ should be }R$
981 \begin_layout Standard
984 Some bold font block where the macro itself is not bold:
994 \begin_inset FormulaMacro
995 \renewcommand{\foo}{S}
1008 \begin_inset Formula $\foo\mbox{ should be }S$
1014 \begin_layout Standard
1016 \begin_inset Formula $\foo\mbox{ should be }S$
1022 \begin_layout Standard
1025 bold font block not starting at the paragraph start:
1035 \begin_inset FormulaMacro
1036 \renewcommand{\foo}{T}
1049 \begin_inset Formula $\foo\mbox{ should be }T$
1055 \begin_layout Standard
1058 bold font block not starting at the paragraph start:
1059 \begin_inset Formula $\foo\mbox{ should be }T$
1066 \begin_layout Standard
1069 bold font block with an
1070 \begin_inset Note Comment
1073 \begin_layout Plain Layout
1086 \begin_inset FormulaMacro
1087 \renewcommand{\foo}{U}
1107 \begin_layout Standard
1110 bold font block with an
1111 \begin_inset Note Comment
1114 \begin_layout Plain Layout
1123 \begin_layout Section
1127 \begin_layout Standard
1129 \begin_inset Float figure
1136 \begin_layout Plain Layout
1146 \begin_inset FormulaMacro
1147 \renewcommand{\foo}{V}
1151 \begin_inset Formula $\foo\mbox{ should be }V$
1157 \begin_layout Plain Layout
1158 \begin_inset Caption Standard
1160 \begin_layout Plain Layout
1170 \begin_inset Formula $\foo\mbox{ should be }V$
1181 \begin_layout Plain Layout
1188 \begin_inset Formula $\foo\mbox{ should be }V$
1194 \begin_layout Standard
1197 \begin_inset Note Note
1200 \begin_layout Plain Layout
1210 \begin_inset FormulaMacro
1211 \renewcommand{\foo}{X}
1224 \begin_inset Formula $\foo\mbox{ should be }X$
1233 \begin_inset Formula $\foo\mbox{ should be }V$
1239 \begin_layout Standard
1241 \begin_inset Note Comment
1244 \begin_layout Plain Layout
1254 \begin_inset FormulaMacro
1255 \renewcommand{\foo}{Y}
1268 \begin_inset Formula $\foo\mbox{ should be }Y$
1277 \begin_inset Formula $\foo\mbox{ should be }Y$
1283 \begin_layout Standard
1285 \begin_inset Note Greyedout
1288 \begin_layout Plain Layout
1298 \begin_inset FormulaMacro
1299 \renewcommand{\foo}{Z}
1312 \begin_inset Formula $\foo\mbox{ should be }Z$
1321 \begin_inset Formula $\foo\mbox{ should be }Z$