1 #LyX 1.6svn created this file. For more info see http://www.lyx.org/
13 \font_typewriter default
14 \font_default_family default
20 \paperfontsize default
29 \paperorientation portrait
40 \paragraph_separation indent
42 \quotes_language english
45 \paperpagestyle default
46 \tracking_changes false
50 \extra_embedded_files ""
63 \begin_layout Standard
64 \begin_inset Formula \[
65 \backslash foo\mbox{ should be }\backslash foo\]
72 \begin_layout Standard
82 \begin_inset FormulaMacro
89 \begin_layout Standard
90 \begin_inset Formula \[
91 \foo\mbox{ should be }A\]
102 \begin_layout Standard
112 \begin_inset FormulaMacro
113 \renewcommand{\foo}{B}
126 \begin_inset Formula \[
127 B\mbox{ should be }B\]
134 \begin_layout Section
135 In Paragraph Redefinition
138 \begin_layout Standard
148 \begin_inset FormulaMacro
149 \renewcommand{\foo}{C}
162 \begin_inset Formula $\foo\mbox{ should be }C$
175 \begin_inset FormulaMacro
176 \renewcommand{\foo}{D}
189 \begin_inset Formula $\foo\mbox{ should be }D$
195 \begin_layout Section
199 \begin_layout Standard
200 \begin_inset Note Note
203 \begin_layout PlainLayout
204 \begin_inset Formula $\foo\mbox{ should be }D$
210 \begin_layout Section
211 Environment local Definitions
214 \begin_layout PlainLayout
224 \begin_inset FormulaMacro
225 \renewcommand{\foo}{E}
238 \begin_inset Formula $\foo\mbox{ should be }E$
251 \begin_inset FormulaMacro
252 \renewcommand{\foo}{F}
265 \begin_inset Formula $\foo\mbox{ should be }F$
274 \begin_inset Formula $\foo\mbox{ should be }D$
280 \begin_layout Section
281 Definitions in Paragraph Style Environments
284 \begin_layout Abstract
294 \begin_inset FormulaMacro
295 \renewcommand{\foo}{G}
308 \begin_inset Formula $\foo\mbox{ should be }G$
314 \begin_layout Standard
315 \begin_inset Formula $\foo\mbox{ should be }G$
321 \begin_layout Itemize
331 \begin_inset FormulaMacro
332 \renewcommand{\foo}{H}
345 \begin_inset Formula $\foo\mbox{ should be }H$
351 \begin_layout Itemize
352 \begin_inset Formula $H\mbox{ should be }H$
365 \begin_inset FormulaMacro
366 \renewcommand{\foo}{H2}
379 \begin_inset Formula $\foo\mbox{ should be }H2$
385 \begin_layout Standard
386 \begin_inset Formula $\foo\mbox{ should be }H2$
392 \begin_layout Section
396 \begin_layout Theorem
397 \begin_inset Formula $1=0$
410 \begin_inset FormulaMacro
411 \renewcommand{\foo}{I}
424 \begin_inset Formula $\foo\mbox{ should be }I$
432 \begin_inset Formula $2=1$
436 \begin_inset Formula $\foo\mbox{ should be }I$
449 \begin_inset FormulaMacro
450 \renewcommand{\foo}{J}
463 \begin_inset Formula $\foo\mbox{ should be }J$
476 \begin_inset FormulaMacro
477 \renewcommand{\foo}{K}
490 \begin_inset Formula $\foo\mbox{ should be }K$
498 \begin_inset Formula $\foo\mbox{ should be }K$
504 \begin_layout Standard
505 \begin_inset Formula $\foo\mbox{ should be }K$
511 \begin_layout Section
515 \begin_layout Standard
517 <lyxtabular version="3" rows="2" columns="2">
519 <column alignment="center" valignment="top" leftline="true" width="0">
520 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
521 <row topline="true" bottomline="true">
522 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
525 \begin_layout PlainLayout
526 \begin_inset Formula $\foo\mbox{ should be }K$
534 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
537 \begin_layout PlainLayout
544 <row topline="true" bottomline="true">
545 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
548 \begin_layout PlainLayout
558 \begin_inset FormulaMacro
559 \renewcommand{\foo}{L}
572 \begin_inset Formula $L\mbox{ should be }L$
580 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
583 \begin_layout PlainLayout
597 \begin_layout Section
598 Depth and nested Paragraphs
601 \begin_layout Definition
603 \begin_inset Formula $x$
607 \begin_inset Formula $1$
621 \begin_inset FormulaMacro
622 \renewcommand{\foo}{M}
635 \begin_inset Formula $\foo\mbox{ should be }M$
642 \begin_layout Standard
643 \begin_inset Formula $\foo\mbox{ should be }M$
656 \begin_inset FormulaMacro
657 \renewcommand{\foo}{N}
670 \begin_inset Formula $\foo\mbox{ should be }N$
677 \begin_layout Definition
679 \begin_inset Formula $y$
683 \begin_inset Formula $2$
688 \begin_inset Formula $\foo\mbox{ should be }N$
701 \begin_inset FormulaMacro
702 \renewcommand{\foo}{O}
715 \begin_inset Formula $\foo\mbox{ should be }O$
722 \begin_layout Itemize
724 \begin_inset Formula $z$
728 \begin_inset Formula $3$
733 \begin_inset Formula $\foo\mbox{ should be }O$
746 \begin_inset FormulaMacro
747 \renewcommand{\foo}{P}
760 \begin_inset Formula $\foo\mbox{ should be }P$
767 \begin_layout Definition
769 \begin_inset Formula $\foo\mbox{ should be }P$
775 \begin_layout Standard
776 And outside the definition:
777 \begin_inset Formula $\foo\mbox{ should be }P$
783 \begin_layout Section
787 \begin_layout Standard
788 \begin_inset Branch Branch1
791 \begin_layout PlainLayout
801 \begin_inset FormulaMacro
802 \renewcommand{\foo}{Q}
815 \begin_inset Formula $\foo\mbox{ should be }Q$
826 \begin_layout Standard
827 \begin_inset Formula $\foo\mbox{ should be }Q\mbox{ if Branch1 is selected}$
833 \begin_layout Standard
834 \begin_inset Branch Branch2
837 \begin_layout PlainLayout
847 \begin_inset FormulaMacro
848 \renewcommand{\foo}{R}
861 \begin_inset Formula $\foo\mbox{ should be }R$
872 \begin_layout Standard
873 \begin_inset Formula $\foo\mbox{ should be }Q\mbox{ if Branch2 is deselected}$
879 \begin_layout Section
880 Macros in non-environment blocks
883 \begin_layout Standard
886 Some bold font block:
896 \begin_inset FormulaMacro
897 \renewcommand{\foo}{R}
910 \begin_inset Formula $\foo\mbox{ should be }R$
916 \begin_layout Standard
918 \begin_inset Formula $\foo\mbox{ should be }R$
924 \begin_layout Standard
927 Some bold font block where the macro itself is not bold:
937 \begin_inset FormulaMacro
938 \renewcommand{\foo}{S}
951 \begin_inset Formula $\foo\mbox{ should be }S$
957 \begin_layout Standard
959 \begin_inset Formula $\foo\mbox{ should be }S$
965 \begin_layout Standard
968 bold font block not starting at the paragraph start:
978 \begin_inset FormulaMacro
979 \renewcommand{\foo}{T}
992 \begin_inset Formula $\foo\mbox{ should be }T$
998 \begin_layout Standard
1001 bold font block not starting at the paragraph start:
1002 \begin_inset Formula $\foo\mbox{ should be }T$
1009 \begin_layout Standard
1012 bold font block with an
1013 \begin_inset Note Comment
1016 \begin_layout PlainLayout
1029 \begin_inset FormulaMacro
1030 \renewcommand{\foo}{U}
1050 \begin_layout Standard
1053 bold font block with an
1054 \begin_inset Note Comment
1057 \begin_layout PlainLayout
1066 \begin_layout Section
1070 \begin_layout Standard
1072 \begin_inset Float figure
1077 \begin_layout PlainLayout
1087 \begin_inset FormulaMacro
1088 \renewcommand{\foo}{V}
1092 \begin_inset Formula $\foo\mbox{ should be }V$
1098 \begin_layout PlainLayout
1099 \begin_inset Caption
1101 \begin_layout PlainLayout
1111 \begin_inset Formula $\foo\mbox{ should be }V$
1122 \begin_layout PlainLayout
1129 \begin_inset Formula $\foo\mbox{ should be }V$
1135 \begin_layout Standard
1137 \begin_inset Note Note
1140 \begin_layout PlainLayout
1150 \begin_inset FormulaMacro
1151 \renewcommand{\foo}{X}
1164 \begin_inset Formula $\foo\mbox{ should be }X$
1173 \begin_inset Formula $\foo\mbox{ should be }V$
1179 \begin_layout Standard
1181 \begin_inset Note Comment
1184 \begin_layout PlainLayout
1194 \begin_inset FormulaMacro
1195 \renewcommand{\foo}{Y}
1208 \begin_inset Formula $\foo\mbox{ should be }Y$
1217 \begin_inset Formula $\foo\mbox{ should be }Y$
1223 \begin_layout Standard
1225 \begin_inset Note Greyedout
1228 \begin_layout PlainLayout
1238 \begin_inset FormulaMacro
1239 \renewcommand{\foo}{Z}
1252 \begin_inset Formula $\foo\mbox{ should be }Z$
1261 \begin_inset Formula $\foo\mbox{ should be }Z$