]> git.lyx.org Git - lyx.git/blob - autotests/mathmacros/testcases_environments.lyx
French Additional manual, translation of chapter 4 up to sec. 4.3
[lyx.git] / autotests / mathmacros / testcases_environments.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 amsart
8 \use_default_options false
9 \begin_modules
10 theorems-ams
11 eqs-within-sections
12 figs-within-sections
13 \end_modules
14 \maintain_unincluded_children false
15 \language english
16 \language_package default
17 \inputencoding auto
18 \fontencoding auto
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
25 \font_sc false
26 \font_osf false
27 \font_sf_scale 100 100
28 \font_tt_scale 100 100
29 \use_microtype false
30 \use_dash_ligatures true
31 \graphics default
32 \default_output_format default
33 \output_sync 0
34 \bibtex_command default
35 \index_command default
36 \paperfontsize default
37 \spacing single
38 \use_hyperref false
39 \papersize default
40 \use_geometry false
41 \use_package amsmath 1
42 \use_package amssymb 1
43 \use_package cancel 1
44 \use_package esint 1
45 \use_package mathdots 0
46 \use_package mathtools 1
47 \use_package mhchem 1
48 \use_package stackrel 1
49 \use_package stmaryrd 1
50 \use_package undertilde 1
51 \cite_engine basic
52 \cite_engine_type default
53 \biblio_style plain
54 \use_bibtopic false
55 \use_indices false
56 \paperorientation portrait
57 \suppress_date false
58 \justification true
59 \use_refstyle 0
60 \use_minted 0
61 \branch Branch1
62 \selected 1
63 \filename_suffix 0
64 \color #fa8a00
65 \end_branch
66 \branch Branch2
67 \selected 0
68 \filename_suffix 0
69 \color #00fabc
70 \end_branch
71 \index Index
72 \shortcut idx
73 \color #008000
74 \end_index
75 \secnumdepth 3
76 \tocdepth 3
77 \paragraph_separation indent
78 \paragraph_indentation default
79 \is_math_indent 0
80 \math_numbering_side default
81 \quotes_style english
82 \dynamic_quotes 0
83 \papercolumns 1
84 \papersides 1
85 \paperpagestyle default
86 \tablestyle default
87 \tracking_changes false
88 \output_changes false
89 \html_math_output 0
90 \html_css_as_file 0
91 \html_be_strict false
92 \end_header
93
94 \begin_body
95
96 \begin_layout Title
97 Macro Scopes
98 \end_layout
99
100 \begin_layout Section
101 Simple
102 \end_layout
103
104 \begin_layout Standard
105 \begin_inset Formula 
106 \[
107 \backslash foo\mbox{ should be }\backslash foo
108 \]
109
110 \end_inset
111
112
113 \end_layout
114
115 \begin_layout Standard
116
117 \family roman
118 \series medium
119 \shape up
120 \size normal
121 \emph off
122 \bar no
123 \noun off
124 \color none
125 \begin_inset FormulaMacro
126 \newcommand{\foo}{A}
127 \end_inset
128
129
130 \end_layout
131
132 \begin_layout Standard
133 \begin_inset Formula 
134 \[
135 \foo\mbox{ should be }A
136 \]
137
138 \end_inset
139
140
141 \end_layout
142
143 \begin_layout Section
144 Redefinition
145 \end_layout
146
147 \begin_layout Standard
148
149 \family roman
150 \series medium
151 \shape up
152 \size normal
153 \emph off
154 \bar no
155 \noun off
156 \color none
157 \begin_inset FormulaMacro
158 \renewcommand{\foo}{B}
159 \end_inset
160
161
162 \family default
163 \series default
164 \shape default
165 \size default
166 \emph default
167 \bar default
168 \noun default
169 \color inherit
170
171 \begin_inset Formula 
172 \[
173 B\mbox{ should be }B
174 \]
175
176 \end_inset
177
178
179 \end_layout
180
181 \begin_layout Section
182 In Paragraph Redefinition
183 \end_layout
184
185 \begin_layout Standard
186
187 \family roman
188 \series medium
189 \shape up
190 \size normal
191 \emph off
192 \bar no
193 \noun off
194 \color none
195 \begin_inset FormulaMacro
196 \renewcommand{\foo}{C}
197 \end_inset
198
199
200 \family default
201 \series default
202 \shape default
203 \size default
204 \emph default
205 \bar default
206 \noun default
207 \color inherit
208
209 \begin_inset Formula $\foo\mbox{ should be }C$
210 \end_inset
211
212
213 \family roman
214 \series medium
215 \shape up
216 \size normal
217 \emph off
218 \bar no
219 \noun off
220 \color none
221
222 \begin_inset FormulaMacro
223 \renewcommand{\foo}{D}
224 \end_inset
225
226
227 \family default
228 \series default
229 \shape default
230 \size default
231 \emph default
232 \bar default
233 \noun default
234 \color inherit
235
236 \begin_inset Formula $\foo\mbox{ should be }D$
237 \end_inset
238
239
240 \end_layout
241
242 \begin_layout Section
243 Environment
244 \end_layout
245
246 \begin_layout Standard
247 \begin_inset Note Note
248 status open
249
250 \begin_layout Plain Layout
251 \begin_inset Formula $\foo\mbox{ should be }D$
252 \end_inset
253
254
255 \end_layout
256
257 \begin_layout Section
258 Environment local Definitions
259 \end_layout
260
261 \begin_layout Plain Layout
262
263 \family roman
264 \series medium
265 \shape up
266 \size normal
267 \emph off
268 \bar no
269 \noun off
270 \color none
271 \begin_inset FormulaMacro
272 \renewcommand{\foo}{E}
273 \end_inset
274
275
276 \family default
277 \series default
278 \shape default
279 \size default
280 \emph default
281 \bar default
282 \noun default
283 \color inherit
284
285 \begin_inset Formula $\foo\mbox{ should be }E$
286 \end_inset
287
288
289 \family roman
290 \series medium
291 \shape up
292 \size normal
293 \emph off
294 \bar no
295 \noun off
296 \color none
297
298 \begin_inset FormulaMacro
299 \renewcommand{\foo}{F}
300 \end_inset
301
302
303 \family default
304 \series default
305 \shape default
306 \size default
307 \emph default
308 \bar default
309 \noun default
310 \color inherit
311
312 \begin_inset Formula $\foo\mbox{ should be }F$
313 \end_inset
314
315
316 \end_layout
317
318 \end_inset
319
320
321 \begin_inset Formula $\foo\mbox{ should be }D$
322 \end_inset
323
324 .
325 \end_layout
326
327 \begin_layout Section
328 Definitions in Paragraph Style Environments
329 \end_layout
330
331 \begin_layout Abstract
332
333 \family roman
334 \series medium
335 \shape up
336 \size normal
337 \emph off
338 \bar no
339 \noun off
340 \color none
341 \begin_inset FormulaMacro
342 \renewcommand{\foo}{G}
343 \end_inset
344
345
346 \family default
347 \series default
348 \shape default
349 \size default
350 \emph default
351 \bar default
352 \noun default
353 \color inherit
354
355 \begin_inset Formula $\foo\mbox{ should be }G$
356 \end_inset
357
358
359 \end_layout
360
361 \begin_layout Standard
362 \begin_inset Formula $\foo\mbox{ should be }G$
363 \end_inset
364
365 .
366 \end_layout
367
368 \begin_layout Itemize
369
370 \family roman
371 \series medium
372 \shape up
373 \size normal
374 \emph off
375 \bar no
376 \noun off
377 \color none
378 \begin_inset FormulaMacro
379 \renewcommand{\foo}{H}
380 \end_inset
381
382
383 \family default
384 \series default
385 \shape default
386 \size default
387 \emph default
388 \bar default
389 \noun default
390 \color inherit
391
392 \begin_inset Formula $\foo\mbox{ should be }H$
393 \end_inset
394
395
396 \end_layout
397
398 \begin_layout Itemize
399 \begin_inset Formula $H\mbox{ should be }H$
400 \end_inset
401
402
403 \family roman
404 \series medium
405 \shape up
406 \size normal
407 \emph off
408 \bar no
409 \noun off
410 \color none
411
412 \begin_inset FormulaMacro
413 \renewcommand{\foo}{H2}
414 \end_inset
415
416
417 \family default
418 \series default
419 \shape default
420 \size default
421 \emph default
422 \bar default
423 \noun default
424 \color inherit
425
426 \begin_inset Formula $\foo\mbox{ should be }H2$
427 \end_inset
428
429
430 \end_layout
431
432 \begin_layout Standard
433 \begin_inset Formula $\foo\mbox{ should be }H2$
434 \end_inset
435
436
437 \end_layout
438
439 \begin_layout Section
440 Theorem and Proofs
441 \end_layout
442
443 \begin_layout Theorem
444 \begin_inset Formula $1=0$
445 \end_inset
446
447
448 \family roman
449 \series medium
450 \shape up
451 \size normal
452 \emph off
453 \bar no
454 \noun off
455 \color none
456
457 \begin_inset FormulaMacro
458 \renewcommand{\foo}{I}
459 \end_inset
460
461
462 \family default
463 \series default
464 \shape default
465 \size default
466 \emph default
467 \bar default
468 \noun default
469 \color inherit
470
471 \begin_inset Formula $\foo\mbox{ should be }I$
472 \end_inset
473
474
475 \end_layout
476
477 \begin_layout Proof
478 Because 
479 \begin_inset Formula $2=1$
480 \end_inset
481
482 .
483 \begin_inset Formula $\foo\mbox{ should be }I$
484 \end_inset
485
486
487 \family roman
488 \series medium
489 \shape up
490 \size normal
491 \emph off
492 \bar no
493 \noun off
494 \color none
495
496 \begin_inset FormulaMacro
497 \renewcommand{\foo}{J}
498 \end_inset
499
500
501 \family default
502 \series default
503 \shape default
504 \size default
505 \emph default
506 \bar default
507 \noun default
508 \color inherit
509
510 \begin_inset Formula $\foo\mbox{ should be }J$
511 \end_inset
512
513 .
514 \family roman
515 \series medium
516 \shape up
517 \size normal
518 \emph off
519 \bar no
520 \noun off
521 \color none
522
523 \begin_inset FormulaMacro
524 \renewcommand{\foo}{K}
525 \end_inset
526
527
528 \family default
529 \series default
530 \shape default
531 \size default
532 \emph default
533 \bar default
534 \noun default
535 \color inherit
536
537 \begin_inset Formula $\foo\mbox{ should be }K$
538 \end_inset
539
540
541 \end_layout
542
543 \begin_layout Proof
544 Blub 
545 \begin_inset Formula $\foo\mbox{ should be }K$
546 \end_inset
547
548 .
549 \end_layout
550
551 \begin_layout Standard
552 \begin_inset Formula $\foo\mbox{ should be }K$
553 \end_inset
554
555 .
556 \end_layout
557
558 \begin_layout Section
559 Tables
560 \end_layout
561
562 \begin_layout Standard
563 \begin_inset Tabular
564 <lyxtabular version="3" rows="2" columns="2">
565 <features tabularvalignment="middle">
566 <column alignment="center" valignment="top">
567 <column alignment="center" valignment="top">
568 <row>
569 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
570 \begin_inset Text
571
572 \begin_layout Plain Layout
573 \begin_inset Formula $\foo\mbox{ should be }K$
574 \end_inset
575
576
577 \end_layout
578
579 \end_inset
580 </cell>
581 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
582 \begin_inset Text
583
584 \begin_layout Plain Layout
585 bla
586 \end_layout
587
588 \end_inset
589 </cell>
590 </row>
591 <row>
592 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
593 \begin_inset Text
594
595 \begin_layout Plain Layout
596
597 \family roman
598 \series medium
599 \shape up
600 \size normal
601 \emph off
602 \bar no
603 \noun off
604 \color none
605 \begin_inset FormulaMacro
606 \renewcommand{\foo}{L}
607 \end_inset
608
609
610 \family default
611 \series default
612 \shape default
613 \size default
614 \emph default
615 \bar default
616 \noun default
617 \color inherit
618
619 \begin_inset Formula $L\mbox{ should be }L$
620 \end_inset
621
622
623 \end_layout
624
625 \end_inset
626 </cell>
627 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
628 \begin_inset Text
629
630 \begin_layout Plain Layout
631
632 \end_layout
633
634 \end_inset
635 </cell>
636 </row>
637 </lyxtabular>
638
639 \end_inset
640
641
642 \end_layout
643
644 \begin_layout Section
645 Depth and nested Paragraphs
646 \end_layout
647
648 \begin_layout Definition
649 Let 
650 \begin_inset Formula $x$
651 \end_inset
652
653  be 
654 \begin_inset Formula $1$
655 \end_inset
656
657 .
658  
659 \family roman
660 \series medium
661 \shape up
662 \size normal
663 \emph off
664 \bar no
665 \noun off
666 \color none
667
668 \begin_inset FormulaMacro
669 \renewcommand{\foo}{M}
670 \end_inset
671
672
673 \family default
674 \series default
675 \shape default
676 \size default
677 \emph default
678 \bar default
679 \noun default
680 \color inherit
681
682 \begin_inset Formula $\foo\mbox{ should be }M$
683 \end_inset
684
685
686 \begin_inset Separator latexpar
687 \end_inset
688
689
690 \end_layout
691
692 \begin_deeper
693 \begin_layout Standard
694 \begin_inset Formula $\foo\mbox{ should be }M$
695 \end_inset
696
697
698 \family roman
699 \series medium
700 \shape up
701 \size normal
702 \emph off
703 \bar no
704 \noun off
705 \color none
706
707 \begin_inset FormulaMacro
708 \renewcommand{\foo}{N}
709 \end_inset
710
711
712 \family default
713 \series default
714 \shape default
715 \size default
716 \emph default
717 \bar default
718 \noun default
719 \color inherit
720
721 \begin_inset Formula $\foo\mbox{ should be }N$
722 \end_inset
723
724
725 \end_layout
726
727 \end_deeper
728 \begin_layout Definition
729 And furthermore let 
730 \begin_inset Formula $y$
731 \end_inset
732
733  be 
734 \begin_inset Formula $2$
735 \end_inset
736
737 .
738  
739 \begin_inset Formula $\foo\mbox{ should be }N$
740 \end_inset
741
742
743 \family roman
744 \series medium
745 \shape up
746 \size normal
747 \emph off
748 \bar no
749 \noun off
750 \color none
751
752 \begin_inset FormulaMacro
753 \renewcommand{\foo}{O}
754 \end_inset
755
756
757 \family default
758 \series default
759 \shape default
760 \size default
761 \emph default
762 \bar default
763 \noun default
764 \color inherit
765
766 \begin_inset Formula $\foo\mbox{ should be }O$
767 \end_inset
768
769
770 \begin_inset Separator latexpar
771 \end_inset
772
773
774 \end_layout
775
776 \begin_deeper
777 \begin_layout Itemize
778 Let 
779 \begin_inset Formula $z$
780 \end_inset
781
782  be 
783 \begin_inset Formula $3$
784 \end_inset
785
786 .
787  
788 \begin_inset Formula $\foo\mbox{ should be }O$
789 \end_inset
790
791  
792 \family roman
793 \series medium
794 \shape up
795 \size normal
796 \emph off
797 \bar no
798 \noun off
799 \color none
800
801 \begin_inset FormulaMacro
802 \renewcommand{\foo}{P}
803 \end_inset
804
805
806 \family default
807 \series default
808 \shape default
809 \size default
810 \emph default
811 \bar default
812 \noun default
813 \color inherit
814
815 \begin_inset Formula $\foo\mbox{ should be }P$
816 \end_inset
817
818
819 \end_layout
820
821 \end_deeper
822 \begin_layout Definition
823 Still definition: 
824 \begin_inset Formula $\foo\mbox{ should be }P$
825 \end_inset
826
827 .
828 \end_layout
829
830 \begin_layout Standard
831 And outside the definition: 
832 \begin_inset Formula $\foo\mbox{ should be }P$
833 \end_inset
834
835 .
836 \end_layout
837
838 \begin_layout Section
839 Branch
840 \end_layout
841
842 \begin_layout Standard
843 \begin_inset Branch Branch1
844 inverted 0
845 status open
846
847 \begin_layout Standard
848
849 \family roman
850 \series medium
851 \shape up
852 \size normal
853 \emph off
854 \bar no
855 \noun off
856 \color none
857 \begin_inset FormulaMacro
858 \renewcommand{\foo}{Q}
859 \end_inset
860
861
862 \family default
863 \series default
864 \shape default
865 \size default
866 \emph default
867 \bar default
868 \noun default
869 \color inherit
870
871 \begin_inset Formula $\foo\mbox{ should be }Q$
872 \end_inset
873
874
875 \end_layout
876
877 \end_inset
878
879
880 \end_layout
881
882 \begin_layout Standard
883 \begin_inset Formula $\foo\mbox{ should be }Q\mbox{ if Branch1 is selected}$
884 \end_inset
885
886
887 \end_layout
888
889 \begin_layout Standard
890 \begin_inset Branch Branch2
891 inverted 0
892 status open
893
894 \begin_layout Standard
895
896 \family roman
897 \series medium
898 \shape up
899 \size normal
900 \emph off
901 \bar no
902 \noun off
903 \color none
904 \begin_inset FormulaMacro
905 \renewcommand{\foo}{R}
906 \end_inset
907
908
909 \family default
910 \series default
911 \shape default
912 \size default
913 \emph default
914 \bar default
915 \noun default
916 \color inherit
917
918 \begin_inset Formula $\foo\mbox{ should be }R$
919 \end_inset
920
921
922 \end_layout
923
924 \end_inset
925
926
927 \end_layout
928
929 \begin_layout Standard
930 \begin_inset Formula $\foo\mbox{ should be }Q\mbox{ if Branch2 is deselected}$
931 \end_inset
932
933
934 \end_layout
935
936 \begin_layout Section
937 Macros in non-environment blocks
938 \end_layout
939
940 \begin_layout Standard
941
942 \series bold
943 Some bold font block: 
944 \family roman
945 \series medium
946 \shape up
947 \size normal
948 \emph off
949 \bar no
950 \noun off
951 \color none
952
953 \begin_inset FormulaMacro
954 \renewcommand{\foo}{R}
955 \end_inset
956
957
958 \family default
959 \series bold
960 \shape default
961 \size default
962 \emph default
963 \bar default
964 \noun default
965 \color inherit
966
967 \begin_inset Formula $\foo\mbox{ should be }R$
968 \end_inset
969
970
971 \end_layout
972
973 \begin_layout Standard
974 Now normal again: 
975 \begin_inset Formula $\foo\mbox{ should be }R$
976 \end_inset
977
978
979 \end_layout
980
981 \begin_layout Standard
982
983 \series bold
984 Some bold font block where the macro itself is not bold: 
985 \family roman
986 \series medium
987 \shape up
988 \size normal
989 \emph off
990 \bar no
991 \noun off
992 \color none
993
994 \begin_inset FormulaMacro
995 \renewcommand{\foo}{S}
996 \end_inset
997
998
999 \family default
1000 \series bold
1001 \shape default
1002 \size default
1003 \emph default
1004 \bar default
1005 \noun default
1006 \color inherit
1007
1008 \begin_inset Formula $\foo\mbox{ should be }S$
1009 \end_inset
1010
1011
1012 \end_layout
1013
1014 \begin_layout Standard
1015 Now normal again: 
1016 \begin_inset Formula $\foo\mbox{ should be }S$
1017 \end_inset
1018
1019
1020 \end_layout
1021
1022 \begin_layout Standard
1023 Some 
1024 \series bold
1025 bold font block not starting at the paragraph start: 
1026 \family roman
1027 \series medium
1028 \shape up
1029 \size normal
1030 \emph off
1031 \bar no
1032 \noun off
1033 \color none
1034
1035 \begin_inset FormulaMacro
1036 \renewcommand{\foo}{T}
1037 \end_inset
1038
1039
1040 \family default
1041 \series bold
1042 \shape default
1043 \size default
1044 \emph default
1045 \bar default
1046 \noun default
1047 \color inherit
1048
1049 \begin_inset Formula $\foo\mbox{ should be }T$
1050 \end_inset
1051
1052  Some tail text.
1053 \end_layout
1054
1055 \begin_layout Standard
1056 Some 
1057 \series bold
1058 bold font block not starting at the paragraph start:
1059 \begin_inset Formula $\foo\mbox{ should be }T$
1060 \end_inset
1061
1062 .
1063  Some tail text.
1064 \end_layout
1065
1066 \begin_layout Standard
1067 Some 
1068 \series bold
1069 bold font block with an 
1070 \begin_inset Note Comment
1071 status open
1072
1073 \begin_layout Plain Layout
1074
1075 \series bold
1076 note 
1077 \family roman
1078 \series medium
1079 \shape up
1080 \size normal
1081 \emph off
1082 \bar no
1083 \noun off
1084 \color none
1085
1086 \begin_inset FormulaMacro
1087 \renewcommand{\foo}{U}
1088 \end_inset
1089
1090
1091 \family default
1092 \series bold
1093 \shape default
1094 \size default
1095 \emph default
1096 \bar default
1097 \noun default
1098 \color inherit
1099 inset
1100 \end_layout
1101
1102 \end_inset
1103
1104  in between.
1105 \end_layout
1106
1107 \begin_layout Standard
1108 Some 
1109 \series bold
1110 bold font block with an 
1111 \begin_inset Note Comment
1112 status open
1113
1114 \begin_layout Plain Layout
1115 note inset 
1116 \end_layout
1117
1118 \end_inset
1119
1120  in between.
1121 \end_layout
1122
1123 \begin_layout Section
1124 InsetTexts
1125 \end_layout
1126
1127 \begin_layout Standard
1128 Float: 
1129 \begin_inset Float figure
1130 placement document
1131 alignment document
1132 wide false
1133 sideways false
1134 status open
1135
1136 \begin_layout Plain Layout
1137
1138 \family roman
1139 \series medium
1140 \shape up
1141 \size normal
1142 \emph off
1143 \bar no
1144 \noun off
1145 \color none
1146 \begin_inset FormulaMacro
1147 \renewcommand{\foo}{V}
1148 \end_inset
1149
1150
1151 \begin_inset Formula $\foo\mbox{ should be }V$
1152 \end_inset
1153
1154
1155 \end_layout
1156
1157 \begin_layout Plain Layout
1158 \begin_inset Caption Standard
1159
1160 \begin_layout Plain Layout
1161
1162 \family roman
1163 \series medium
1164 \shape up
1165 \size normal
1166 \emph off
1167 \bar no
1168 \noun off
1169 \color none
1170 \begin_inset Formula $\foo\mbox{ should be }V$
1171 \end_inset
1172
1173
1174 \end_layout
1175
1176 \end_inset
1177
1178
1179 \end_layout
1180
1181 \begin_layout Plain Layout
1182
1183 \end_layout
1184
1185 \end_inset
1186
1187
1188 \begin_inset Formula $\foo\mbox{ should be }V$
1189 \end_inset
1190
1191
1192 \end_layout
1193
1194 \begin_layout Standard
1195 \SpecialChar LyX
1196 -Note: 
1197 \begin_inset Note Note
1198 status open
1199
1200 \begin_layout Plain Layout
1201
1202 \family roman
1203 \series medium
1204 \shape up
1205 \size normal
1206 \emph off
1207 \bar no
1208 \noun off
1209 \color none
1210 \begin_inset FormulaMacro
1211 \renewcommand{\foo}{X}
1212 \end_inset
1213
1214
1215 \family default
1216 \series default
1217 \shape default
1218 \size default
1219 \emph default
1220 \bar default
1221 \noun default
1222 \color inherit
1223
1224 \begin_inset Formula $\foo\mbox{ should be }X$
1225 \end_inset
1226
1227
1228 \end_layout
1229
1230 \end_inset
1231
1232
1233 \begin_inset Formula $\foo\mbox{ should be }V$
1234 \end_inset
1235
1236
1237 \end_layout
1238
1239 \begin_layout Standard
1240 Comment: 
1241 \begin_inset Note Comment
1242 status open
1243
1244 \begin_layout Plain Layout
1245
1246 \family roman
1247 \series medium
1248 \shape up
1249 \size normal
1250 \emph off
1251 \bar no
1252 \noun off
1253 \color none
1254 \begin_inset FormulaMacro
1255 \renewcommand{\foo}{Y}
1256 \end_inset
1257
1258
1259 \family default
1260 \series default
1261 \shape default
1262 \size default
1263 \emph default
1264 \bar default
1265 \noun default
1266 \color inherit
1267
1268 \begin_inset Formula $\foo\mbox{ should be }Y$
1269 \end_inset
1270
1271
1272 \end_layout
1273
1274 \end_inset
1275
1276
1277 \begin_inset Formula $\foo\mbox{ should be }Y$
1278 \end_inset
1279
1280
1281 \end_layout
1282
1283 \begin_layout Standard
1284 Greyed out: 
1285 \begin_inset Note Greyedout
1286 status open
1287
1288 \begin_layout Plain Layout
1289
1290 \family roman
1291 \series medium
1292 \shape up
1293 \size normal
1294 \emph off
1295 \bar no
1296 \noun off
1297 \color none
1298 \begin_inset FormulaMacro
1299 \renewcommand{\foo}{Z}
1300 \end_inset
1301
1302
1303 \family default
1304 \series default
1305 \shape default
1306 \size default
1307 \emph default
1308 \bar default
1309 \noun default
1310 \color inherit
1311
1312 \begin_inset Formula $\foo\mbox{ should be }Z$
1313 \end_inset
1314
1315
1316 \end_layout
1317
1318 \end_inset
1319
1320
1321 \begin_inset Formula $\foo\mbox{ should be }Z$
1322 \end_inset
1323
1324
1325 \end_layout
1326
1327 \end_body
1328 \end_document