]> git.lyx.org Git - lyx.git/blob - src/tex2lyx/test/test-insets-basic.lyx.lyx
update tex2lyx tests.
[lyx.git] / src / tex2lyx / test / test-insets-basic.lyx.lyx
1 #LyX file created by tex2lyx 2.3
2 \lyxformat 544
3 \begin_document
4 \begin_header
5 \save_transient_properties true
6 \origin roundtrip
7 \textclass article
8 \begin_preamble
9 %% Do not edit unless you really know what you are doing.
10
11
12
13
14
15 \usepackage{url}
16 % the following is useful when we have the old nomencl.sty package
17 \providecommand{\printnomenclature}{\printglossary}
18 \providecommand{\makenomenclature}{\makeglossary}
19 \makenomenclature
20 \usepackage{xargs}
21 \usepackage{listings}
22 \usepackage{array}
23 \usepackage{multirow}
24 \usepackage{hhline}
25
26
27 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
28
29
30
31
32 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
33
34 % Load refstyle before prettyref so that prettyref wins.
35 % The real refstyle tests are in test-refstyle-theorems.tex.
36 \usepackage{refstyle}
37 \AtBeginDocument{\providecommand\secref[1]{\ref{sec:#1}}}
38
39
40 \def\mycommand{\textquestiondown}
41
42
43 \end_preamble
44 \use_default_options false
45 \maintain_unincluded_children false
46 \language english
47 \language_package none
48 \inputencoding iso8859-15
49 \fontencoding T1
50 \font_roman "default" "default"
51 \font_sans "default" "default"
52 \font_typewriter "default" "default"
53 \font_math "auto" "auto"
54 \font_default_family default
55 \use_non_tex_fonts false
56 \font_sc false
57 \font_osf false
58 \font_sf_scale 100 100
59 \font_tt_scale 100 100
60 \use_microtype false
61 \use_dash_ligatures true
62 \graphics default
63 \default_output_format default
64 \output_sync 0
65 \bibtex_command default
66 \index_command default
67 \paperfontsize 12
68 \spacing onehalf
69 \use_hyperref true
70 \pdf_bookmarks 0
71 \pdf_bookmarksnumbered 0
72 \pdf_bookmarksopen 0
73 \pdf_bookmarksopenlevel 1
74 \pdf_breaklinks 0
75 \pdf_pdfborder 0
76 \pdf_colorlinks 0
77 \pdf_backref section
78 \pdf_pdfusetitle 0
79 \papersize a4paper
80 \use_geometry false
81 \use_package amsmath 2
82 \use_package amssymb 2
83 \use_package cancel 0
84 \use_package esint 1
85 \use_package mathdots 0
86 \use_package mathtools 0
87 \use_package mhchem 0
88 \use_package stackrel 0
89 \use_package stmaryrd 0
90 \use_package undertilde 0
91 \cite_engine natbib
92 \cite_engine_type numerical
93 \biblio_style plainnat
94 \use_bibtopic false
95 \use_indices true
96 \paperorientation portrait
97 \suppress_date false
98 \justification true
99 \use_refstyle 0
100 \use_minted 0
101 \index Index
102 \shortcut idx
103 \color #008000
104 \end_index
105 \index new
106 \shortcut new
107 \color #008000
108 \end_index
109 \index test
110 \shortcut test
111 \color #008000
112 \end_index
113 \secnumdepth 3
114 \tocdepth 3
115 \paragraph_separation indent
116 \paragraph_indentation 3mm
117 \is_math_indent 0
118 \math_numbering_side default
119 \quotes_style english
120 \dynamic_quotes 0
121 \papercolumns 1
122 \papersides 1
123 \paperpagestyle default
124 \tracking_changes false
125 \output_changes false
126 \html_math_output 0
127 \html_css_as_file 0
128 \html_be_strict false
129 \end_header
130
131 \begin_body
132
133 \begin_layout Title
134 Title
135 \end_layout
136
137 \begin_layout Date
138 two days ago
139 \end_layout
140
141 \begin_layout Standard
142
143 \begin_inset ERT
144 status collapsed
145
146 \begin_layout Plain Layout
147 %stupid stuff
148 \end_layout
149
150 \end_inset
151
152
153 \end_layout
154
155 \begin_layout Standard
156
157 \begin_inset CommandInset toc
158 LatexCommand tableofcontents
159
160 \end_inset
161
162
163 \begin_inset CommandInset toc
164 LatexCommand lstlistoflistings
165
166 \end_inset
167
168
169 \end_layout
170
171 \begin_layout Standard
172 \noindent
173 This paragraph is not indented.
174 \end_layout
175
176 \begin_layout Section
177 References
178 \begin_inset Index idx
179 status collapsed
180
181 \begin_layout Plain Layout
182 References
183 \end_layout
184
185 \end_inset
186
187
188 \end_layout
189
190 \begin_layout Standard
191 Let's start with simple things: a label
192 \begin_inset space ~
193
194 \end_inset
195
196
197 \begin_inset CommandInset label
198 LatexCommand label
199 name "lab:test"
200
201 \end_inset
202
203  and a reference
204 \begin_inset space ~
205
206 \end_inset
207
208
209 \begin_inset CommandInset ref
210 LatexCommand ref
211 reference "lab:test"
212 plural "false"
213 caps "false"
214 noprefix "false"
215
216 \end_inset
217
218 ; note that I have tested 
219 \begin_inset Quotes eld
220 \end_inset
221
222 unbreakable space
223 \begin_inset Quotes erd
224 \end_inset
225
226  without warning (and worse than that, I just tested english quotes too...).
227 \end_layout
228
229 \begin_layout Standard
230 Of course there are other kind of references, like page reference
231 \begin_inset space ~
232
233 \end_inset
234
235
236 \begin_inset CommandInset ref
237 LatexCommand pageref
238 reference "lab:test"
239 plural "false"
240 caps "false"
241 noprefix "false"
242
243 \end_inset
244
245 , but also equation reference
246 \begin_inset space ~
247
248 \end_inset
249
250
251 \begin_inset CommandInset ref
252 LatexCommand eqref
253 reference "lab:test"
254 plural "false"
255 caps "false"
256 noprefix "false"
257
258 \end_inset
259
260  (from amsmath package), or varioref's equivalents
261 \begin_inset space ~
262
263 \end_inset
264
265
266 \begin_inset CommandInset ref
267 LatexCommand vref
268 reference "lab:test"
269 plural "false"
270 caps "false"
271 noprefix "false"
272
273 \end_inset
274
275  and
276 \begin_inset space ~
277
278 \end_inset
279
280
281 \begin_inset CommandInset ref
282 LatexCommand vpageref
283 reference "lab:test"
284 plural "false"
285 caps "false"
286 noprefix "false"
287
288 \end_inset
289
290 , without forgetting pretty references like
291 \begin_inset space ~
292
293 \end_inset
294
295
296 \begin_inset CommandInset ref
297 LatexCommand formatted
298 reference "lab:test"
299 plural "false"
300 caps "false"
301 noprefix "false"
302
303 \end_inset
304
305  as well as textual references like
306 \begin_inset space ~
307
308 \end_inset
309
310
311 \begin_inset CommandInset ref
312 LatexCommand nameref
313 reference "lab:test"
314 plural "false"
315 caps "false"
316 noprefix "false"
317
318 \end_inset
319
320 . The command 
321 \begin_inset ERT
322 status collapsed
323
324 \begin_layout Plain Layout
325
326 \backslash
327 secref
328 \end_layout
329
330 \end_inset
331
332
333 \begin_inset ERT
334 status collapsed
335
336 \begin_layout Plain Layout
337 {
338 \end_layout
339
340 \end_inset
341
342 lab:test
343 \begin_inset ERT
344 status collapsed
345
346 \begin_layout Plain Layout
347 }
348 \end_layout
349
350 \end_inset
351
352  will be parsed in ERT, since LyX does not support refstyle and prettyref natively at the same time.
353 \end_layout
354
355 \begin_layout Section
356 Cites
357 \begin_inset Index idx
358 status collapsed
359
360 \begin_layout Plain Layout
361 Cites
362 \end_layout
363
364 \end_inset
365
366
367 \end_layout
368
369 \begin_layout Standard
370 Let's start with simple things: a 
371 \backslash
372 cite: 
373 \begin_inset CommandInset citation
374 LatexCommand citep
375 after "after"
376 before ""
377 key "article-crossref"
378 literal "true"
379
380 \end_inset
381
382  and two 
383 \backslash
384 cites: 
385 \begin_inset CommandInset citation
386 LatexCommand citep
387 after "after"
388 before ""
389 key "whole-set,article-crossref"
390 literal "true"
391
392 \end_inset
393
394
395 \end_layout
396
397 \begin_layout Standard
398 Now the natbib things:
399 \end_layout
400
401 \begin_layout Standard
402
403 \backslash
404 citet: 
405 \begin_inset CommandInset citation
406 LatexCommand citet
407 after "after"
408 before "before"
409 key "article-crossref"
410 literal "true"
411
412 \end_inset
413
414  
415 \backslash
416 citet*: 
417 \begin_inset CommandInset citation
418 LatexCommand citet*
419 after "after"
420 before "before"
421 key "article-crossref"
422 literal "true"
423
424 \end_inset
425
426  
427 \backslash
428 Citet: 
429 \begin_inset CommandInset citation
430 LatexCommand Citet
431 after "after"
432 before "before"
433 key "article-crossref"
434 literal "true"
435
436 \end_inset
437
438  
439 \backslash
440 Citet*: 
441 \begin_inset CommandInset citation
442 LatexCommand Citet*
443 after "after"
444 before "before"
445 key "article-crossref"
446 literal "true"
447
448 \end_inset
449
450
451 \end_layout
452
453 \begin_layout Standard
454
455 \backslash
456 citep: 
457 \begin_inset CommandInset citation
458 LatexCommand citep
459 after "after"
460 before "before"
461 key "article-crossref"
462 literal "true"
463
464 \end_inset
465
466  
467 \backslash
468 citep*: 
469 \begin_inset CommandInset citation
470 LatexCommand citep*
471 after "after"
472 before "before"
473 key "article-crossref"
474 literal "true"
475
476 \end_inset
477
478  
479 \backslash
480 Citep: 
481 \begin_inset CommandInset citation
482 LatexCommand Citep
483 after "after"
484 before "before"
485 key "article-crossref"
486 literal "true"
487
488 \end_inset
489
490  
491 \backslash
492 Citep*: 
493 \begin_inset CommandInset citation
494 LatexCommand Citep*
495 after "after"
496 before "before"
497 key "article-crossref"
498 literal "true"
499
500 \end_inset
501
502
503 \end_layout
504
505 \begin_layout Standard
506
507 \backslash
508 citealt: 
509 \begin_inset CommandInset citation
510 LatexCommand citealt
511 after "after"
512 before "before"
513 key "article-crossref"
514 literal "true"
515
516 \end_inset
517
518  
519 \backslash
520 citealt*: 
521 \begin_inset CommandInset citation
522 LatexCommand citealt*
523 after "after"
524 before "before"
525 key "article-crossref"
526 literal "true"
527
528 \end_inset
529
530  
531 \backslash
532 Citealt: 
533 \begin_inset CommandInset citation
534 LatexCommand Citealt
535 after "after"
536 before "before"
537 key "article-crossref"
538 literal "true"
539
540 \end_inset
541
542  
543 \backslash
544 Citealt*: 
545 \begin_inset CommandInset citation
546 LatexCommand Citealt*
547 after "after"
548 before "before"
549 key "article-crossref"
550 literal "true"
551
552 \end_inset
553
554
555 \end_layout
556
557 \begin_layout Standard
558
559 \backslash
560 citealp: 
561 \begin_inset CommandInset citation
562 LatexCommand citealp
563 after "after"
564 before "before"
565 key "article-crossref"
566 literal "true"
567
568 \end_inset
569
570  
571 \backslash
572 citealp*: 
573 \begin_inset CommandInset citation
574 LatexCommand citealp*
575 after "after"
576 before "before"
577 key "article-crossref"
578 literal "true"
579
580 \end_inset
581
582  
583 \backslash
584 Citealp: 
585 \begin_inset CommandInset citation
586 LatexCommand Citep
587 after "after"
588 before "before"
589 key "article-crossref"
590 literal "true"
591
592 \end_inset
593
594  
595 \backslash
596 Citealp*: 
597 \begin_inset CommandInset citation
598 LatexCommand Citealp*
599 after "after"
600 before "before"
601 key "article-crossref"
602 literal "true"
603
604 \end_inset
605
606
607 \end_layout
608
609 \begin_layout Standard
610
611 \backslash
612 citeauthor: 
613 \begin_inset CommandInset citation
614 LatexCommand citeauthor
615 after "after"
616 before "before"
617 key "article-crossref"
618 literal "true"
619
620 \end_inset
621
622  
623 \backslash
624 citeauthor*: 
625 \begin_inset CommandInset citation
626 LatexCommand citeauthor*
627 after "after"
628 before "before"
629 key "article-crossref"
630 literal "true"
631
632 \end_inset
633
634  
635 \backslash
636 Citeauthor: 
637 \begin_inset CommandInset citation
638 LatexCommand Citeauthor
639 after "after"
640 before "before"
641 key "article-crossref"
642 literal "true"
643
644 \end_inset
645
646  
647 \backslash
648 Citeauthor*: 
649 \begin_inset CommandInset citation
650 LatexCommand Citeauthor*
651 after "after"
652 before "before"
653 key "article-crossref"
654 literal "true"
655
656 \end_inset
657
658
659 \end_layout
660
661 \begin_layout Standard
662
663 \backslash
664 citeyear: 
665 \begin_inset CommandInset citation
666 LatexCommand citeyear
667 after "after"
668 before "before"
669 key "article-crossref"
670 literal "true"
671
672 \end_inset
673
674
675 \end_layout
676
677 \begin_layout Standard
678
679 \backslash
680 citeyearpar: 
681 \begin_inset CommandInset citation
682 LatexCommand citeyearpar
683 after "after"
684 before "before"
685 key "article-crossref"
686 literal "true"
687
688 \end_inset
689
690
691 \end_layout
692
693 \begin_layout Standard
694
695 \backslash
696 nocite: 
697 \begin_inset CommandInset citation
698 LatexCommand nocite
699 after ""
700 key "article-crossref"
701 literal "true"
702
703 \end_inset
704
705
706 \end_layout
707
708 \begin_layout Standard
709
710 \begin_inset ERT
711 status collapsed
712
713 \begin_layout Plain Layout
714 % Remove duplicate call of 
715 \backslash
716 bibliography since LaTeX throws an error.
717 \end_layout
718
719 \begin_layout Plain Layout
720
721 \end_layout
722
723 \end_inset
724
725
726 \begin_inset ERT
727 status collapsed
728
729 \begin_layout Plain Layout
730 %
731 \backslash
732 bibliographystyle{unsrt}
733 \end_layout
734
735 \begin_layout Plain Layout
736
737 \end_layout
738
739 \end_inset
740
741
742 \begin_inset ERT
743 status collapsed
744
745 \begin_layout Plain Layout
746
747 \backslash
748 bibliography{xampl}
749 \end_layout
750
751 \end_inset
752
753
754 \end_layout
755
756 \begin_layout Standard
757 With 
758 \backslash
759 nocite{*}:   
760 \begin_inset CommandInset bibtex
761 LatexCommand bibtex
762 btprint "btPrintAll"
763 bibfiles "xampl"
764 options "unsrt"
765
766 \end_inset
767
768
769 \end_layout
770
771 \begin_layout Standard
772 From bug 7306: 
773 \begin_inset CommandInset citation
774 LatexCommand citet
775 after ""
776 before ""
777 key "gur+04"
778 literal "true"
779
780 \end_inset
781
782  have demonstrated that authors should not have umlauts in their names. It's OK to use them in the manüscript, though. 
783 \end_layout
784
785 \begin_layout Bibliography
786
787 \begin_inset CommandInset bibitem
788 LatexCommand bibitem
789 label "Möstl et~al.(2010)"
790 key "Mostl2010"
791 literal "true"
792
793 \end_inset
794
795  Gürkan, M.
796 \begin_inset space ~
797
798 \end_inset
799
800 A., Freitag, M., & Rasio, F.
801 \begin_inset space ~
802
803 \end_inset
804
805 A. 2004, ApJ, 604, 632 
806 \end_layout
807
808 \begin_layout Bibliography
809
810 \begin_inset CommandInset bibitem
811 LatexCommand bibitem
812 label "{{Gürkan et~al.}(2004)}"
813 key "gur+04"
814 literal "true"
815
816 \end_inset
817
818  Gürkan, M.
819 \begin_inset space ~
820
821 \end_inset
822
823 A., Freitag, M., & Rasio, F.
824 \begin_inset space ~
825
826 \end_inset
827
828 A. 2004, ApJ, 604, 632
829 \end_layout
830
831 \begin_layout Section
832 Input files
833 \begin_inset Index idx
834 status collapsed
835
836 \begin_layout Plain Layout
837 Input files
838 \end_layout
839
840 \end_inset
841
842
843 \end_layout
844
845 \begin_layout Standard
846 We can input files too, like this 
847 \begin_inset CommandInset include
848 LatexCommand input
849 preview false
850 filename "DummyDocument.lyx.lyx"
851
852 \end_inset
853
854 , or with the include variant (tests quoting as well): 
855 \begin_inset CommandInset include
856 LatexCommand include
857 preview false
858 filename "Dummy Document.tex"
859
860 \end_inset
861
862  
863 \begin_inset CommandInset include
864 LatexCommand include
865 preview false
866 filename "Dummy Document.tex"
867
868 \end_inset
869
870  
871 \begin_inset CommandInset include
872 LatexCommand include
873 preview false
874 filename "Dummy~Document.lyx.lyx"
875
876 \end_inset
877
878  
879 \begin_inset CommandInset include
880 LatexCommand include
881 preview false
882 filename "Dummy~Document.lyx.lyx"
883
884 \end_inset
885
886
887 \end_layout
888
889 \begin_layout Standard
890 We can also import PDF pages:
891 \end_layout
892
893 \begin_layout Standard
894
895 \begin_inset External
896         template PDFPages
897         filename ../../../lib/examples/beamer-icsi-logo.pdf
898         extra LaTeX "pages=-"
899         rotateAngle 22
900         rotateOrigin baselineleft
901         width 5cm
902         height 40mm
903         keepAspectRatio
904
905 \end_inset
906
907
908 \end_layout
909
910 \begin_layout Standard
911 If you prefer verbatim input, you can choose between
912 \begin_inset space ~
913
914 \end_inset
915
916
917 \begin_inset CommandInset include
918 LatexCommand verbatiminput
919 preview false
920 filename "DummyDocument.tex"
921
922 \end_inset
923
924  or
925 \begin_inset space ~
926
927 \end_inset
928
929
930 \begin_inset CommandInset include
931 LatexCommand verbatiminput*
932 preview false
933 filename "DummyDocument.tex"
934
935 \end_inset
936
937 .
938 \end_layout
939
940 \begin_layout Section
941 URLs and Hyperlinks
942 \begin_inset Index idx
943 status collapsed
944
945 \begin_layout Plain Layout
946 URL
947 \end_layout
948
949 \end_inset
950
951
952 \begin_inset CommandInset nomenclature
953 LatexCommand nomenclature
954 prefix "www"
955 symbol "URL"
956 description "uniform resource locator"
957 literal "true"
958
959 \end_inset
960
961
962 \end_layout
963
964 \begin_layout Standard
965 An URL: 
966 \begin_inset Flex Flex:URL
967 status collapsed
968
969 \begin_layout Plain Layout
970 http://www.lyx.org
971 \end_layout
972
973 \end_inset
974
975  
976 \begin_inset CommandInset nomenclature
977 LatexCommand nomenclature
978 symbol "URL2"
979 description "uniform resource locator"
980 literal "true"
981
982 \end_inset
983
984
985 \end_layout
986
987 \begin_layout Standard
988 An URL with strange characters: 
989 \begin_inset Flex Flex:URL
990 status collapsed
991
992 \begin_layout Plain Layout
993 http://www.lyx.org/percent%dollar$
994 \end_layout
995
996 \end_inset
997
998
999 \end_layout
1000
1001 \begin_layout Standard
1002 link:
1003 \begin_inset CommandInset href
1004 LatexCommand href
1005 target "www.test.test"
1006 literal "true"
1007
1008 \end_inset
1009
1010
1011 \end_layout
1012
1013 \begin_layout Standard
1014 link2:
1015 \begin_inset CommandInset href
1016 LatexCommand href
1017 target "http://www.test.test"
1018 literal "true"
1019
1020 \end_inset
1021
1022
1023 \end_layout
1024
1025 \begin_layout Standard
1026 mail:
1027 \begin_inset CommandInset href
1028 LatexCommand href
1029 name "name"
1030 target "www.test.test"
1031 type "mailto:"
1032 literal "true"
1033
1034 \end_inset
1035
1036
1037 \end_layout
1038
1039 \begin_layout Standard
1040 file:
1041 \begin_inset CommandInset href
1042 LatexCommand href
1043 target "www.test.test"
1044 type "file:"
1045 literal "true"
1046
1047 \end_inset
1048
1049
1050 \end_layout
1051
1052 \begin_layout Standard
1053 ftp:
1054 \begin_inset CommandInset href
1055 LatexCommand href
1056 target "ftp://www.test.test"
1057 literal "true"
1058
1059 \end_inset
1060
1061
1062 \end_layout
1063
1064 \begin_layout Standard
1065 ftp2:
1066 \begin_inset CommandInset href
1067 LatexCommand href
1068 name "www.test.test"
1069 target "ftp://www.test.test"
1070 literal "true"
1071
1072 \end_inset
1073
1074
1075 \end_layout
1076
1077 \begin_layout Section
1078 Lists
1079 \begin_inset Index idx
1080 status collapsed
1081
1082 \begin_layout Plain Layout
1083 Lists
1084 \end_layout
1085
1086 \end_inset
1087
1088
1089 \end_layout
1090
1091 \begin_layout Standard
1092
1093 \begin_inset FloatList figure
1094
1095 \end_inset
1096
1097
1098 \begin_inset FloatList table
1099
1100 \end_inset
1101
1102
1103 \end_layout
1104
1105 \begin_layout Section
1106 Listings
1107 \end_layout
1108
1109 \begin_layout Standard
1110 Inline: 
1111 \begin_inset listings
1112 lstparams "language={C++},keywordstyle={\color{green}}"
1113 inline true
1114 status collapsed
1115
1116 \begin_layout Plain Layout
1117 int a=5;
1118 \end_layout
1119
1120 \end_inset
1121
1122
1123 \begin_inset Newline newline
1124 \end_inset
1125
1126  Float:
1127 \end_layout
1128
1129 \begin_layout Standard
1130
1131 \begin_inset listings
1132 lstparams "caption={Example Listing float},label={lst:Example-Listing},language=Python"
1133 inline false
1134 status collapsed
1135
1136 \begin_layout Plain Layout
1137 # Example listing float
1138 \end_layout
1139
1140 \begin_layout Plain Layout
1141 def func(param):
1142 \end_layout
1143
1144 \begin_layout Plain Layout
1145     'this is a python function'
1146 \end_layout
1147
1148 \begin_layout Plain Layout
1149     pass
1150 \end_layout
1151
1152 \end_inset
1153
1154
1155 \end_layout
1156
1157 \begin_layout Standard
1158 Here is an example listing with left line numbering, step 
1159 \begin_inset Quotes eld
1160 \end_inset
1161
1162 3
1163 \begin_inset Quotes erd
1164 \end_inset
1165
1166 , language 
1167 \begin_inset Quotes eld
1168 \end_inset
1169
1170 Python
1171 \begin_inset Quotes erd
1172 \end_inset
1173
1174 , options 
1175 \begin_inset Quotes eld
1176 \end_inset
1177
1178 Extended character table
1179 \begin_inset Quotes erd
1180 \end_inset
1181
1182  and 
1183 \begin_inset Quotes eld
1184 \end_inset
1185
1186 Space
1187 \begin_inset space ~
1188
1189 \end_inset
1190
1191 as
1192 \begin_inset space ~
1193
1194 \end_inset
1195
1196 symbol
1197 \begin_inset Quotes erd
1198 \end_inset
1199
1200 , range lines 3
1201 \begin_inset space \thinspace{}
1202
1203 \end_inset
1204
1205 -
1206 \begin_inset space \thinspace{}
1207
1208 \end_inset
1209
1210 8:
1211 \end_layout
1212
1213 \begin_layout Standard
1214
1215 \begin_inset listings
1216 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
1217 inline false
1218 status collapsed
1219
1220 \begin_layout Plain Layout
1221 def func(param):
1222 \end_layout
1223
1224 \begin_layout Plain Layout
1225     'this is a python function'
1226 \end_layout
1227
1228 \begin_layout Plain Layout
1229     pass
1230 \end_layout
1231
1232 \begin_layout Plain Layout
1233 def func(param):
1234 \end_layout
1235
1236 \begin_layout Plain Layout
1237 'This is a German word: Tschüß'
1238 \end_layout
1239
1240 \begin_layout Plain Layout
1241 pass
1242 \end_layout
1243
1244 \begin_layout Plain Layout
1245 def func(param):
1246 \end_layout
1247
1248 \begin_layout Plain Layout
1249 'this is a python function'
1250 \end_layout
1251
1252 \begin_layout Plain Layout
1253 pass
1254 \end_layout
1255
1256 \end_inset
1257
1258
1259 \end_layout
1260
1261 \begin_layout Standard
1262 Special cases: 
1263 \begin_inset listings
1264 lstparams "abovecaptionskip=2em,basicstyle={\large\ttfamily},breaklines=true,extendedchars=true,firstline=2,float=h,language={[R/3 3.1]ABAP},lastline=5,numbers=left,numberstyle={\scriptsize},showspaces=true,showstringspaces=false,stepnumber=3,tabsize=4"
1265 inline false
1266 status collapsed
1267
1268 \begin_layout Plain Layout
1269 hello
1270 \end_layout
1271
1272 \end_inset
1273
1274
1275 \end_layout
1276
1277 \begin_layout Standard
1278
1279 \begin_inset listings
1280 lstparams "language=TeX"
1281 inline true
1282 status collapsed
1283
1284 \begin_layout Plain Layout
1285
1286 \backslash
1287 begin{centering} hello
1288 \end_layout
1289
1290 \end_inset
1291
1292
1293 \end_layout
1294
1295 \begin_layout Section
1296 Graphics
1297 \begin_inset Index idx
1298 status collapsed
1299
1300 \begin_layout Plain Layout
1301 Graphics
1302 \end_layout
1303
1304 \end_inset
1305
1306
1307 \end_layout
1308
1309 \begin_layout Standard
1310 There is also some basic support for graphics, in the form 
1311 \begin_inset Graphics 
1312         filename foo.eps
1313
1314 \end_inset
1315
1316 , or the slightly more elaborate 
1317 \begin_inset Graphics 
1318         filename foo.eps
1319         width 1cm
1320         height 1cm
1321         clip
1322         BoundingBox 10bp 0bp 96bp 96bp
1323
1324 \end_inset
1325
1326 .
1327 \end_layout
1328
1329 \begin_layout Section
1330 Tables
1331 \begin_inset Index idx
1332 status collapsed
1333
1334 \begin_layout Plain Layout
1335 Tables
1336 \end_layout
1337
1338 \end_inset
1339
1340
1341 \end_layout
1342
1343 \begin_layout Standard
1344 The following example is stolen from the longtable documentation. Since tex2lyx does not understand the special verbatim code that was used in the original some lines have been rewritten using 
1345 \backslash
1346 textbackslash etc. 
1347 \begin_inset ERT
1348 status collapsed
1349
1350 \begin_layout Plain Layout
1351
1352 \backslash
1353 let
1354 \backslash
1355 package
1356 \backslash
1357 textsf
1358 \end_layout
1359
1360 \end_inset
1361
1362  
1363 \begin_inset ERT
1364 status collapsed
1365
1366 \begin_layout Plain Layout
1367
1368 \backslash
1369 let
1370 \backslash
1371 env
1372 \backslash
1373 textsf
1374 \end_layout
1375
1376 \end_inset
1377
1378  
1379 \begin_inset ERT
1380 status collapsed
1381
1382 \begin_layout Plain Layout
1383
1384 \backslash
1385 let
1386 \backslash
1387 code
1388 \backslash
1389 texttt
1390 \end_layout
1391
1392 \end_inset
1393
1394  
1395 \begin_inset ERT
1396 status collapsed
1397
1398 \begin_layout Plain Layout
1399
1400 \backslash
1401 providecommand{
1402 \backslash
1403 finalclearpage}{
1404 \backslash
1405 clearpage}
1406 \end_layout
1407
1408 \end_inset
1409
1410
1411 \end_layout
1412
1413 \begin_layout Standard
1414
1415 \begin_inset Tabular 
1416 <lyxtabular version="3" rows="66" columns="2">
1417 <features rotate="0" islongtable="true">
1418 <column alignment="none" valignment="top" special="@{*}r">
1419 <column alignment="none" valignment="top" special="|p{1in}@{*}">
1420 <row endfirsthead="true">
1421 <cell alignment="none" valignment="top" bottomline="true" usebox="none">
1422 \begin_inset Text
1423
1424 \begin_layout Standard
1425 KILLED 
1426 \end_layout
1427
1428 \end_inset
1429 </cell>
1430 <cell alignment="none" valignment="top" bottomline="true" leftline="true" usebox="none">
1431 \begin_inset Text
1432
1433 \begin_layout Standard
1434 LINE!!!! 
1435 \begin_inset ERT
1436 status collapsed
1437
1438 \begin_layout Plain Layout
1439
1440 \backslash
1441 kill
1442 \end_layout
1443
1444 \end_inset
1445
1446  
1447 \begin_inset Caption Standard
1448
1449 \begin_layout Plain Layout
1450
1451 \begin_inset Argument 1
1452 status collapsed
1453
1454
1455 \begin_layout Standard
1456 An optional table caption (used in the list of tables)
1457 \end_layout
1458
1459 \end_inset
1460
1461 A long table
1462 \begin_inset CommandInset label
1463 LatexCommand label
1464 name "long"
1465
1466 \end_inset
1467
1468
1469 \end_layout
1470
1471 \end_inset
1472
1473
1474 \end_layout
1475
1476 \end_inset
1477 </cell>
1478 </row>
1479 <row endfirsthead="true">
1480 <cell multicolumn="1" alignment="none" valignment="top" topline="true" usebox="none" special="@{*}c@{*}">
1481 \begin_inset Text
1482
1483 \begin_layout Standard
1484 This part appears at the top of the table
1485 \end_layout
1486
1487 \end_inset
1488 </cell>
1489 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
1490 \begin_inset Text
1491
1492 \end_inset
1493 </cell>
1494 </row>
1495 <row endfirsthead="true">
1496 <cell alignment="none" valignment="top" bottomline="true" usebox="none">
1497 \begin_inset Text
1498
1499 \begin_layout Standard
1500
1501 \shape smallcaps
1502 First
1503 \shape default
1504
1505 \end_layout
1506
1507 \end_inset
1508 </cell>
1509 <cell alignment="none" valignment="top" bottomline="true" leftline="true" usebox="none">
1510 \begin_inset Text
1511
1512 \begin_layout Standard
1513
1514 \shape smallcaps
1515 Second
1516 \shape default
1517
1518 \end_layout
1519
1520 \end_inset
1521 </cell>
1522 </row>
1523 <row endhead="true" caption="true">
1524 <cell multicolumn="1" alignment="none" valignment="top" topline="true" bottomline="true" usebox="none">
1525 \begin_inset Text
1526
1527 \begin_layout Standard
1528
1529 \begin_inset Caption Standard
1530
1531 \begin_layout Plain Layout
1532
1533 \begin_inset Argument 1
1534 status collapsed
1535
1536
1537 \end_inset
1538
1539 (continued)
1540 \end_layout
1541
1542 \end_inset
1543
1544
1545 \end_layout
1546
1547 \end_inset
1548 </cell>
1549 <cell multicolumn="2" alignment="none" valignment="top" topline="true" bottomline="true" usebox="none">
1550 \begin_inset Text
1551
1552 \end_inset
1553 </cell>
1554 </row>
1555 <row endhead="true">
1556 <cell multicolumn="1" alignment="none" valignment="top" topline="true" usebox="none" special="@{*}c@{*}">
1557 \begin_inset Text
1558
1559 \begin_layout Standard
1560 This part appears at the top of every other page
1561 \end_layout
1562
1563 \end_inset
1564 </cell>
1565 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
1566 \begin_inset Text
1567
1568 \end_inset
1569 </cell>
1570 </row>
1571 <row endhead="true">
1572 <cell alignment="none" valignment="top" bottomline="true" usebox="none">
1573 \begin_inset Text
1574
1575 \begin_layout Standard
1576
1577 \series bold
1578 First
1579 \series default
1580
1581 \end_layout
1582
1583 \end_inset
1584 </cell>
1585 <cell alignment="none" valignment="top" bottomline="true" leftline="true" usebox="none">
1586 \begin_inset Text
1587
1588 \begin_layout Standard
1589
1590 \series bold
1591 Second
1592 \series default
1593
1594 \end_layout
1595
1596 \end_inset
1597 </cell>
1598 </row>
1599 <row endfoot="true" caption="true">
1600 <cell multicolumn="1" alignment="none" valignment="top" topline="true" usebox="none">
1601 \begin_inset Text
1602
1603 \begin_layout Standard
1604
1605 \begin_inset Caption Unnumbered
1606
1607 \begin_layout Plain Layout
1608 standard foot
1609 \end_layout
1610
1611 \end_inset
1612
1613
1614 \end_layout
1615
1616 \end_inset
1617 </cell>
1618 <cell multicolumn="2" alignment="none" valignment="top" topline="true" usebox="none">
1619 \begin_inset Text
1620
1621 \end_inset
1622 </cell>
1623 </row>
1624 <row endfoot="true">
1625 <cell alignment="none" valignment="top" topline="true" usebox="none">
1626 \begin_inset Text
1627
1628 \begin_layout Standard
1629 This goes at the
1630 \end_layout
1631
1632 \end_inset
1633 </cell>
1634 <cell alignment="none" valignment="top" topline="true" leftline="true" usebox="none">
1635 \begin_inset Text
1636
1637 \begin_layout Standard
1638 bottom.
1639 \end_layout
1640
1641 \end_inset
1642 </cell>
1643 </row>
1644 <row endlastfoot="true" caption="true">
1645 <cell multicolumn="1" alignment="none" valignment="top" topline="true" usebox="none">
1646 \begin_inset Text
1647
1648 \begin_layout Standard
1649
1650 \begin_inset Caption Unnumbered
1651
1652 \begin_layout Plain Layout
1653 (last foot)
1654 \end_layout
1655
1656 \end_inset
1657
1658
1659 \end_layout
1660
1661 \end_inset
1662 </cell>
1663 <cell multicolumn="2" alignment="none" valignment="top" topline="true" usebox="none">
1664 \begin_inset Text
1665
1666 \end_inset
1667 </cell>
1668 </row>
1669 <row endlastfoot="true">
1670 <cell alignment="none" valignment="top" topline="true" usebox="none">
1671 \begin_inset Text
1672
1673 \begin_layout Standard
1674 These lines will
1675 \end_layout
1676
1677 \end_inset
1678 </cell>
1679 <cell alignment="none" valignment="top" topline="true" leftline="true" usebox="none">
1680 \begin_inset Text
1681
1682 \begin_layout Standard
1683 appear
1684 \end_layout
1685
1686 \end_inset
1687 </cell>
1688 </row>
1689 <row endlastfoot="true">
1690 <cell alignment="none" valignment="top" usebox="none">
1691 \begin_inset Text
1692
1693 \begin_layout Standard
1694 in place of the 
1695 \end_layout
1696
1697 \end_inset
1698 </cell>
1699 <cell alignment="none" valignment="top" leftline="true" usebox="none">
1700 \begin_inset Text
1701
1702 \begin_layout Standard
1703 usual foot
1704 \end_layout
1705
1706 \end_inset
1707 </cell>
1708 </row>
1709 <row endlastfoot="true">
1710 <cell alignment="none" valignment="top" usebox="none">
1711 \begin_inset Text
1712
1713 \begin_layout Standard
1714 at the end
1715 \end_layout
1716
1717 \end_inset
1718 </cell>
1719 <cell alignment="none" valignment="top" leftline="true" usebox="none">
1720 \begin_inset Text
1721
1722 \begin_layout Standard
1723 of the table
1724 \end_layout
1725
1726 \end_inset
1727 </cell>
1728 </row>
1729 <row>
1730 <cell alignment="none" valignment="top" topline="true" usebox="none">
1731 \begin_inset Text
1732
1733 \begin_layout Standard
1734
1735 \begin_inset ERT
1736 status collapsed
1737
1738 \begin_layout Plain Layout
1739
1740 \backslash
1741 env
1742 \end_layout
1743
1744 \end_inset
1745
1746
1747 \begin_inset ERT
1748 status collapsed
1749
1750 \begin_layout Plain Layout
1751 {
1752 \end_layout
1753
1754 \end_inset
1755
1756 longtable
1757 \begin_inset ERT
1758 status collapsed
1759
1760 \begin_layout Plain Layout
1761 }
1762 \end_layout
1763
1764 \end_inset
1765
1766  columns are specified
1767 \end_layout
1768
1769 \end_inset
1770 </cell>
1771 <cell alignment="none" valignment="top" topline="true" leftline="true" usebox="none">
1772 \begin_inset Text
1773
1774 \begin_layout Standard
1775 in the 
1776 \end_layout
1777
1778 \end_inset
1779 </cell>
1780 </row>
1781 <row>
1782 <cell alignment="none" valignment="top" usebox="none">
1783 \begin_inset Text
1784
1785 \begin_layout Standard
1786 same way as in the 
1787 \begin_inset ERT
1788 status collapsed
1789
1790 \begin_layout Plain Layout
1791
1792 \backslash
1793 env
1794 \end_layout
1795
1796 \end_inset
1797
1798
1799 \begin_inset ERT
1800 status collapsed
1801
1802 \begin_layout Plain Layout
1803 {
1804 \end_layout
1805
1806 \end_inset
1807
1808 tabular
1809 \begin_inset ERT
1810 status collapsed
1811
1812 \begin_layout Plain Layout
1813 }
1814 \end_layout
1815
1816 \end_inset
1817
1818
1819 \end_layout
1820
1821 \end_inset
1822 </cell>
1823 <cell alignment="none" valignment="top" leftline="true" usebox="none">
1824 \begin_inset Text
1825
1826 \begin_layout Standard
1827 environment.
1828 \end_layout
1829
1830 \end_inset
1831 </cell>
1832 </row>
1833 <row>
1834 <cell alignment="none" valignment="top" usebox="none">
1835 \begin_inset Text
1836
1837 \begin_layout Standard
1838
1839 \begin_inset ERT
1840 status collapsed
1841
1842 \begin_layout Plain Layout
1843
1844 \backslash
1845 code
1846 \end_layout
1847
1848 \end_inset
1849
1850
1851 \begin_inset ERT
1852 status collapsed
1853
1854 \begin_layout Plain Layout
1855 {
1856 \end_layout
1857
1858 \end_inset
1859
1860 @{*}r||p{1in}@{*}
1861 \begin_inset ERT
1862 status collapsed
1863
1864 \begin_layout Plain Layout
1865 }
1866 \end_layout
1867
1868 \end_inset
1869
1870
1871 \end_layout
1872
1873 \end_inset
1874 </cell>
1875 <cell alignment="none" valignment="top" leftline="true" usebox="none">
1876 \begin_inset Text
1877
1878 \begin_layout Standard
1879 in this case.
1880 \end_layout
1881
1882 \end_inset
1883 </cell>
1884 </row>
1885 <row>
1886 <cell alignment="none" valignment="top" usebox="none">
1887 \begin_inset Text
1888
1889 \begin_layout Standard
1890 Each row ends with a
1891 \end_layout
1892
1893 \end_inset
1894 </cell>
1895 <cell alignment="none" valignment="top" leftline="true" usebox="none">
1896 \begin_inset Text
1897
1898 \begin_layout Standard
1899
1900 \begin_inset ERT
1901 status collapsed
1902
1903 \begin_layout Plain Layout
1904
1905 \backslash
1906 code
1907 \end_layout
1908
1909 \end_inset
1910
1911
1912 \begin_inset ERT
1913 status collapsed
1914
1915 \begin_layout Plain Layout
1916 {
1917 \end_layout
1918
1919 \end_inset
1920
1921
1922 \backslash
1923
1924 \backslash
1925
1926 \begin_inset ERT
1927 status collapsed
1928
1929 \begin_layout Plain Layout
1930 }
1931 \end_layout
1932
1933 \end_inset
1934
1935  command.
1936 \end_layout
1937
1938 \end_inset
1939 </cell>
1940 </row>
1941 <row>
1942 <cell alignment="none" valignment="top" usebox="none">
1943 \begin_inset Text
1944
1945 \begin_layout Standard
1946 The 
1947 \begin_inset ERT
1948 status collapsed
1949
1950 \begin_layout Plain Layout
1951
1952 \backslash
1953 code
1954 \end_layout
1955
1956 \end_inset
1957
1958
1959 \begin_inset ERT
1960 status collapsed
1961
1962 \begin_layout Plain Layout
1963 {
1964 \end_layout
1965
1966 \end_inset
1967
1968
1969 \backslash
1970
1971 \backslash
1972
1973 \begin_inset ERT
1974 status collapsed
1975
1976 \begin_layout Plain Layout
1977 }
1978 \end_layout
1979
1980 \end_inset
1981
1982  command has an
1983 \end_layout
1984
1985 \end_inset
1986 </cell>
1987 <cell alignment="none" valignment="top" leftline="true" usebox="none">
1988 \begin_inset Text
1989
1990 \begin_layout Standard
1991 optional
1992 \end_layout
1993
1994 \end_inset
1995 </cell>
1996 </row>
1997 <row>
1998 <cell alignment="none" valignment="top" usebox="none">
1999 \begin_inset Text
2000
2001 \begin_layout Standard
2002 argument, just as in
2003 \end_layout
2004
2005 \end_inset
2006 </cell>
2007 <cell alignment="none" valignment="top" leftline="true" usebox="none">
2008 \begin_inset Text
2009
2010 \begin_layout Standard
2011 the
2012 \end_layout
2013
2014 \end_inset
2015 </cell>
2016 </row>
2017 <row>
2018 <cell alignment="none" valignment="top" usebox="none">
2019 \begin_inset Text
2020
2021 \begin_layout Standard
2022
2023 \begin_inset ERT
2024 status collapsed
2025
2026 \begin_layout Plain Layout
2027
2028 \backslash
2029 env
2030 \end_layout
2031
2032 \end_inset
2033
2034
2035 \begin_inset ERT
2036 status collapsed
2037
2038 \begin_layout Plain Layout
2039 {
2040 \end_layout
2041
2042 \end_inset
2043
2044 tabular
2045 \begin_inset ERT
2046 status collapsed
2047
2048 \begin_layout Plain Layout
2049 }
2050 \end_layout
2051
2052 \end_inset
2053
2054
2055 \end_layout
2056
2057 \end_inset
2058 </cell>
2059 <cell alignment="none" valignment="top" leftline="true" usebox="none">
2060 \begin_inset Text
2061
2062 \begin_layout Standard
2063 environment.
2064 \end_layout
2065
2066 \end_inset
2067 </cell>
2068 </row>
2069 <row>
2070 <cell alignment="none" valignment="top" usebox="none">
2071 \begin_inset Text
2072
2073 \begin_layout Standard
2074 [10pt] See the effect of 
2075 \begin_inset ERT
2076 status collapsed
2077
2078 \begin_layout Plain Layout
2079
2080 \backslash
2081 code
2082 \end_layout
2083
2084 \end_inset
2085
2086
2087 \begin_inset ERT
2088 status collapsed
2089
2090 \begin_layout Plain Layout
2091 {
2092 \end_layout
2093
2094 \end_inset
2095
2096
2097 \backslash
2098
2099 \backslash
2100 [10pt]
2101 \begin_inset ERT
2102 status collapsed
2103
2104 \begin_layout Plain Layout
2105 }
2106 \end_layout
2107
2108 \end_inset
2109
2110
2111 \end_layout
2112
2113 \end_inset
2114 </cell>
2115 <cell alignment="none" valignment="top" leftline="true" usebox="none">
2116 \begin_inset Text
2117
2118 \begin_layout Standard
2119 ?
2120 \end_layout
2121
2122 \end_inset
2123 </cell>
2124 </row>
2125 <row>
2126 <cell alignment="none" valignment="top" usebox="none">
2127 \begin_inset Text
2128
2129 \begin_layout Standard
2130 Lots of lines
2131 \end_layout
2132
2133 \end_inset
2134 </cell>
2135 <cell alignment="none" valignment="top" leftline="true" usebox="none">
2136 \begin_inset Text
2137
2138 \begin_layout Standard
2139 like this.
2140 \end_layout
2141
2142 \end_inset
2143 </cell>
2144 </row>
2145 <row>
2146 <cell alignment="none" valignment="top" usebox="none">
2147 \begin_inset Text
2148
2149 \begin_layout Standard
2150 Lots of lines
2151 \end_layout
2152
2153 \end_inset
2154 </cell>
2155 <cell alignment="none" valignment="top" leftline="true" usebox="none">
2156 \begin_inset Text
2157
2158 \begin_layout Standard
2159 like this.
2160 \end_layout
2161
2162 \end_inset
2163 </cell>
2164 </row>
2165 <row>
2166 <cell alignment="none" valignment="top" usebox="none">
2167 \begin_inset Text
2168
2169 \begin_layout Standard
2170 Lots of lines
2171 \end_layout
2172
2173 \end_inset
2174 </cell>
2175 <cell alignment="none" valignment="top" leftline="true" usebox="none">
2176 \begin_inset Text
2177
2178 \begin_layout Standard
2179 like this.
2180 \end_layout
2181
2182 \end_inset
2183 </cell>
2184 </row>
2185 <row>
2186 <cell alignment="none" valignment="top" usebox="none">
2187 \begin_inset Text
2188
2189 \begin_layout Standard
2190 Lots of lines
2191 \end_layout
2192
2193 \end_inset
2194 </cell>
2195 <cell alignment="none" valignment="top" leftline="true" usebox="none">
2196 \begin_inset Text
2197
2198 \begin_layout Standard
2199 like this.
2200 \end_layout
2201
2202 \end_inset
2203 </cell>
2204 </row>
2205 <row>
2206 <cell alignment="none" valignment="top" usebox="none">
2207 \begin_inset Text
2208
2209 \begin_layout Standard
2210 Also 
2211 \begin_inset ERT
2212 status collapsed
2213
2214 \begin_layout Plain Layout
2215
2216 \backslash
2217 code
2218 \end_layout
2219
2220 \end_inset
2221
2222
2223 \begin_inset ERT
2224 status collapsed
2225
2226 \begin_layout Plain Layout
2227 {
2228 \end_layout
2229
2230 \end_inset
2231
2232
2233 \backslash
2234 hline
2235 \begin_inset ERT
2236 status collapsed
2237
2238 \begin_layout Plain Layout
2239 }
2240 \end_layout
2241
2242 \end_inset
2243
2244  may be used,
2245 \end_layout
2246
2247 \end_inset
2248 </cell>
2249 <cell alignment="none" valignment="top" leftline="true" usebox="none">
2250 \begin_inset Text
2251
2252 \begin_layout Standard
2253 as in 
2254 \begin_inset ERT
2255 status collapsed
2256
2257 \begin_layout Plain Layout
2258
2259 \backslash
2260 env
2261 \end_layout
2262
2263 \end_inset
2264
2265
2266 \begin_inset ERT
2267 status collapsed
2268
2269 \begin_layout Plain Layout
2270 {
2271 \end_layout
2272
2273 \end_inset
2274
2275 tabular
2276 \begin_inset ERT
2277 status collapsed
2278
2279 \begin_layout Plain Layout
2280 }
2281 \end_layout
2282
2283 \end_inset
2284
2285 .
2286 \end_layout
2287
2288 \end_inset
2289 </cell>
2290 </row>
2291 <row>
2292 <cell alignment="none" valignment="top" topline="true" bottomline="true" usebox="none">
2293 \begin_inset Text
2294
2295 \begin_layout Standard
2296 That was a 
2297 \begin_inset ERT
2298 status collapsed
2299
2300 \begin_layout Plain Layout
2301
2302 \backslash
2303 code
2304 \end_layout
2305
2306 \end_inset
2307
2308
2309 \begin_inset ERT
2310 status collapsed
2311
2312 \begin_layout Plain Layout
2313 {
2314 \end_layout
2315
2316 \end_inset
2317
2318
2319 \backslash
2320 hline
2321 \begin_inset ERT
2322 status collapsed
2323
2324 \begin_layout Plain Layout
2325 }
2326 \end_layout
2327
2328 \end_inset
2329
2330
2331 \end_layout
2332
2333 \end_inset
2334 </cell>
2335 <cell alignment="none" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2336 \begin_inset Text
2337
2338 \begin_layout Standard
2339 .
2340 \end_layout
2341
2342 \end_inset
2343 </cell>
2344 </row>
2345 <row>
2346 <cell alignment="none" valignment="top" topline="true" usebox="none">
2347 \begin_inset Text
2348
2349 \begin_layout Standard
2350 That was 
2351 \begin_inset ERT
2352 status collapsed
2353
2354 \begin_layout Plain Layout
2355
2356 \backslash
2357 code
2358 \end_layout
2359
2360 \end_inset
2361
2362
2363 \begin_inset ERT
2364 status collapsed
2365
2366 \begin_layout Plain Layout
2367 {
2368 \end_layout
2369
2370 \end_inset
2371
2372
2373 \backslash
2374 hline
2375 \backslash
2376 hline
2377 \begin_inset ERT
2378 status collapsed
2379
2380 \begin_layout Plain Layout
2381 }
2382 \end_layout
2383
2384 \end_inset
2385
2386
2387 \end_layout
2388
2389 \end_inset
2390 </cell>
2391 <cell alignment="none" valignment="top" topline="true" leftline="true" usebox="none">
2392 \begin_inset Text
2393
2394 \begin_layout Standard
2395 .
2396 \end_layout
2397
2398 \end_inset
2399 </cell>
2400 </row>
2401 <row>
2402 <cell multicolumn="1" alignment="none" valignment="top" leftline="true" rightline="true" usebox="none" special="|c|">
2403 \begin_inset Text
2404
2405 \begin_layout Standard
2406 This is a 
2407 \begin_inset ERT
2408 status collapsed
2409
2410 \begin_layout Plain Layout
2411
2412 \backslash
2413 code
2414 \end_layout
2415
2416 \end_inset
2417
2418
2419 \begin_inset ERT
2420 status collapsed
2421
2422 \begin_layout Plain Layout
2423 {
2424 \end_layout
2425
2426 \end_inset
2427
2428
2429 \backslash
2430 multicolumn{2}{||c||}
2431 \begin_inset ERT
2432 status collapsed
2433
2434 \begin_layout Plain Layout
2435 }
2436 \end_layout
2437
2438 \end_inset
2439
2440
2441 \end_layout
2442
2443 \end_inset
2444 </cell>
2445 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
2446 \begin_inset Text
2447
2448 \end_inset
2449 </cell>
2450 </row>
2451 <row>
2452 <cell alignment="none" valignment="top" usebox="none">
2453 \begin_inset Text
2454
2455 \begin_layout Standard
2456 If a page break occurs at a 
2457 \begin_inset ERT
2458 status collapsed
2459
2460 \begin_layout Plain Layout
2461
2462 \backslash
2463 code
2464 \end_layout
2465
2466 \end_inset
2467
2468
2469 \begin_inset ERT
2470 status collapsed
2471
2472 \begin_layout Plain Layout
2473 {
2474 \end_layout
2475
2476 \end_inset
2477
2478
2479 \backslash
2480 hline
2481 \begin_inset ERT
2482 status collapsed
2483
2484 \begin_layout Plain Layout
2485 }
2486 \end_layout
2487
2488 \end_inset
2489
2490  then
2491 \end_layout
2492
2493 \end_inset
2494 </cell>
2495 <cell alignment="none" valignment="top" leftline="true" usebox="none">
2496 \begin_inset Text
2497
2498 \begin_layout Standard
2499 a line is drawn
2500 \end_layout
2501
2502 \end_inset
2503 </cell>
2504 </row>
2505 <row>
2506 <cell alignment="none" valignment="top" usebox="none">
2507 \begin_inset Text
2508
2509 \begin_layout Standard
2510 at the bottom of one page and at the
2511 \end_layout
2512
2513 \end_inset
2514 </cell>
2515 <cell alignment="none" valignment="top" leftline="true" usebox="none">
2516 \begin_inset Text
2517
2518 \begin_layout Standard
2519 top of the next.
2520 \end_layout
2521
2522 \end_inset
2523 </cell>
2524 </row>
2525 <row>
2526 <cell alignment="none" valignment="top" topline="true" usebox="none">
2527 \begin_inset Text
2528
2529 \begin_layout Standard
2530 The 
2531 \begin_inset ERT
2532 status collapsed
2533
2534 \begin_layout Plain Layout
2535
2536 \backslash
2537 code
2538 \end_layout
2539
2540 \end_inset
2541
2542
2543 \begin_inset ERT
2544 status collapsed
2545
2546 \begin_layout Plain Layout
2547 {
2548 \end_layout
2549
2550 \end_inset
2551
2552 [t] [b] [c]
2553 \begin_inset ERT
2554 status collapsed
2555
2556 \begin_layout Plain Layout
2557 }
2558 \end_layout
2559
2560 \end_inset
2561
2562  argument of 
2563 \begin_inset ERT
2564 status collapsed
2565
2566 \begin_layout Plain Layout
2567
2568 \backslash
2569 env
2570 \end_layout
2571
2572 \end_inset
2573
2574
2575 \begin_inset ERT
2576 status collapsed
2577
2578 \begin_layout Plain Layout
2579 {
2580 \end_layout
2581
2582 \end_inset
2583
2584 tabular
2585 \begin_inset ERT
2586 status collapsed
2587
2588 \begin_layout Plain Layout
2589 }
2590 \end_layout
2591
2592 \end_inset
2593
2594
2595 \end_layout
2596
2597 \end_inset
2598 </cell>
2599 <cell alignment="none" valignment="top" topline="true" leftline="true" usebox="none">
2600 \begin_inset Text
2601
2602 \begin_layout Standard
2603 can not be used.
2604 \end_layout
2605
2606 \end_inset
2607 </cell>
2608 </row>
2609 <row>
2610 <cell alignment="none" valignment="top" usebox="none">
2611 \begin_inset Text
2612
2613 \begin_layout Standard
2614 The optional argument may be one of
2615 \end_layout
2616
2617 \end_inset
2618 </cell>
2619 <cell alignment="none" valignment="top" leftline="true" usebox="none">
2620 \begin_inset Text
2621
2622 \begin_layout Standard
2623
2624 \begin_inset ERT
2625 status collapsed
2626
2627 \begin_layout Plain Layout
2628
2629 \backslash
2630 code
2631 \end_layout
2632
2633 \end_inset
2634
2635
2636 \begin_inset ERT
2637 status collapsed
2638
2639 \begin_layout Plain Layout
2640 {
2641 \end_layout
2642
2643 \end_inset
2644
2645 [l] [r] [c]
2646 \begin_inset ERT
2647 status collapsed
2648
2649 \begin_layout Plain Layout
2650 }
2651 \end_layout
2652
2653 \end_inset
2654
2655
2656 \end_layout
2657
2658 \end_inset
2659 </cell>
2660 </row>
2661 <row>
2662 <cell alignment="none" valignment="top" usebox="none">
2663 \begin_inset Text
2664
2665 \begin_layout Standard
2666 to specify whether the table should be
2667 \end_layout
2668
2669 \end_inset
2670 </cell>
2671 <cell alignment="none" valignment="top" leftline="true" usebox="none">
2672 \begin_inset Text
2673
2674 \begin_layout Standard
2675 adjusted
2676 \end_layout
2677
2678 \end_inset
2679 </cell>
2680 </row>
2681 <row>
2682 <cell alignment="none" valignment="top" bottomline="true" usebox="none">
2683 \begin_inset Text
2684
2685 \begin_layout Standard
2686 to the left, right
2687 \end_layout
2688
2689 \end_inset
2690 </cell>
2691 <cell alignment="none" valignment="top" bottomline="true" leftline="true" usebox="none">
2692 \begin_inset Text
2693
2694 \begin_layout Standard
2695 or centrally.
2696 \end_layout
2697
2698 \end_inset
2699 </cell>
2700 </row>
2701 <row>
2702 <cell alignment="none" valignment="top" topline="true" usebox="none">
2703 \begin_inset Text
2704
2705 \begin_layout Standard
2706 Lots of lines
2707 \end_layout
2708
2709 \end_inset
2710 </cell>
2711 <cell alignment="none" valignment="top" topline="true" leftline="true" usebox="none">
2712 \begin_inset Text
2713
2714 \begin_layout Standard
2715 like this.
2716 \end_layout
2717
2718 \end_inset
2719 </cell>
2720 </row>
2721 <row>
2722 <cell alignment="none" valignment="top" usebox="none">
2723 \begin_inset Text
2724
2725 \begin_layout Standard
2726 Lots of lines
2727 \end_layout
2728
2729 \end_inset
2730 </cell>
2731 <cell alignment="none" valignment="top" leftline="true" usebox="none">
2732 \begin_inset Text
2733
2734 \begin_layout Standard
2735 like this.
2736 \end_layout
2737
2738 \end_inset
2739 </cell>
2740 </row>
2741 <row>
2742 <cell alignment="none" valignment="top" usebox="none">
2743 \begin_inset Text
2744
2745 \begin_layout Standard
2746 Lots of lines
2747 \end_layout
2748
2749 \end_inset
2750 </cell>
2751 <cell alignment="none" valignment="top" leftline="true" usebox="none">
2752 \begin_inset Text
2753
2754 \begin_layout Standard
2755 like this.
2756 \end_layout
2757
2758 \end_inset
2759 </cell>
2760 </row>
2761 <row>
2762 <cell alignment="none" valignment="top" usebox="none">
2763 \begin_inset Text
2764
2765 \begin_layout Standard
2766 Lots of lines
2767 \end_layout
2768
2769 \end_inset
2770 </cell>
2771 <cell alignment="none" valignment="top" leftline="true" usebox="none">
2772 \begin_inset Text
2773
2774 \begin_layout Standard
2775 like this.
2776 \end_layout
2777
2778 \end_inset
2779 </cell>
2780 </row>
2781 <row>
2782 <cell alignment="none" valignment="top" usebox="none">
2783 \begin_inset Text
2784
2785 \begin_layout Standard
2786 Lots of lines
2787 \end_layout
2788
2789 \end_inset
2790 </cell>
2791 <cell alignment="none" valignment="top" leftline="true" usebox="none">
2792 \begin_inset Text
2793
2794 \begin_layout Standard
2795 like this.
2796 \end_layout
2797
2798 \end_inset
2799 </cell>
2800 </row>
2801 <row>
2802 <cell alignment="none" valignment="top" usebox="none">
2803 \begin_inset Text
2804
2805 \begin_layout Standard
2806 Lots of lines
2807 \end_layout
2808
2809 \end_inset
2810 </cell>
2811 <cell alignment="none" valignment="top" leftline="true" usebox="none">
2812 \begin_inset Text
2813
2814 \begin_layout Standard
2815 like this.
2816 \end_layout
2817
2818 \end_inset
2819 </cell>
2820 </row>
2821 <row>
2822 <cell alignment="none" valignment="top" usebox="none">
2823 \begin_inset Text
2824
2825 \begin_layout Standard
2826 Lots of lines
2827 \end_layout
2828
2829 \end_inset
2830 </cell>
2831 <cell alignment="none" valignment="top" leftline="true" usebox="none">
2832 \begin_inset Text
2833
2834 \begin_layout Standard
2835 like this.
2836 \end_layout
2837
2838 \end_inset
2839 </cell>
2840 </row>
2841 <row>
2842 <cell alignment="none" valignment="top" usebox="none">
2843 \begin_inset Text
2844
2845 \begin_layout Standard
2846 Lots of lines
2847 \end_layout
2848
2849 \end_inset
2850 </cell>
2851 <cell alignment="none" valignment="top" leftline="true" usebox="none">
2852 \begin_inset Text
2853
2854 \begin_layout Standard
2855 like this.
2856 \end_layout
2857
2858 \end_inset
2859 </cell>
2860 </row>
2861 <row>
2862 <cell alignment="none" valignment="top" usebox="none">
2863 \begin_inset Text
2864
2865 \begin_layout Standard
2866 Lots of lines
2867 \end_layout
2868
2869 \end_inset
2870 </cell>
2871 <cell alignment="none" valignment="top" leftline="true" usebox="none">
2872 \begin_inset Text
2873
2874 \begin_layout Standard
2875 like this.
2876 \end_layout
2877
2878 \end_inset
2879 </cell>
2880 </row>
2881 <row>
2882 <cell alignment="none" valignment="top" usebox="none">
2883 \begin_inset Text
2884
2885 \begin_layout Standard
2886 Lots of lines
2887 \end_layout
2888
2889 \end_inset
2890 </cell>
2891 <cell alignment="none" valignment="top" leftline="true" usebox="none">
2892 \begin_inset Text
2893
2894 \begin_layout Standard
2895 like this.
2896 \end_layout
2897
2898 \end_inset
2899 </cell>
2900 </row>
2901 <row>
2902 <cell alignment="none" valignment="top" usebox="none">
2903 \begin_inset Text
2904
2905 \begin_layout Standard
2906 Lots of lines
2907 \end_layout
2908
2909 \end_inset
2910 </cell>
2911 <cell alignment="none" valignment="top" leftline="true" usebox="none">
2912 \begin_inset Text
2913
2914 \begin_layout Standard
2915 like this.
2916 \end_layout
2917
2918 \end_inset
2919 </cell>
2920 </row>
2921 <row>
2922 <cell alignment="none" valignment="top" usebox="none">
2923 \begin_inset Text
2924
2925 \begin_layout Standard
2926 Lots of lines
2927 \end_layout
2928
2929 \end_inset
2930 </cell>
2931 <cell alignment="none" valignment="top" leftline="true" usebox="none">
2932 \begin_inset Text
2933
2934 \begin_layout Standard
2935 like this.
2936 \end_layout
2937
2938 \end_inset
2939 </cell>
2940 </row>
2941 <row>
2942 <cell alignment="none" valignment="top" usebox="none">
2943 \begin_inset Text
2944
2945 \begin_layout Standard
2946 Lots of lines
2947 \end_layout
2948
2949 \end_inset
2950 </cell>
2951 <cell alignment="none" valignment="top" leftline="true" usebox="none">
2952 \begin_inset Text
2953
2954 \begin_layout Standard
2955 like this.
2956 \end_layout
2957
2958 \end_inset
2959 </cell>
2960 </row>
2961 <row>
2962 <cell alignment="none" valignment="top" usebox="none">
2963 \begin_inset Text
2964
2965 \begin_layout Standard
2966 Lots of lines
2967 \end_layout
2968
2969 \end_inset
2970 </cell>
2971 <cell alignment="none" valignment="top" leftline="true" usebox="none">
2972 \begin_inset Text
2973
2974 \begin_layout Standard
2975 like this.
2976 \end_layout
2977
2978 \end_inset
2979 </cell>
2980 </row>
2981 <row>
2982 <cell alignment="none" valignment="top" usebox="none">
2983 \begin_inset Text
2984
2985 \begin_layout Standard
2986 Lots of lines
2987 \end_layout
2988
2989 \end_inset
2990 </cell>
2991 <cell alignment="none" valignment="top" leftline="true" usebox="none">
2992 \begin_inset Text
2993
2994 \begin_layout Standard
2995 like this.
2996 \end_layout
2997
2998 \end_inset
2999 </cell>
3000 </row>
3001 <row>
3002 <cell alignment="none" valignment="top" usebox="none">
3003 \begin_inset Text
3004
3005 \begin_layout Standard
3006 Lots of lines
3007 \end_layout
3008
3009 \end_inset
3010 </cell>
3011 <cell alignment="none" valignment="top" leftline="true" usebox="none">
3012 \begin_inset Text
3013
3014 \begin_layout Standard
3015 like this.
3016 \end_layout
3017
3018 \end_inset
3019 </cell>
3020 </row>
3021 <row>
3022 <cell alignment="none" valignment="top" usebox="none">
3023 \begin_inset Text
3024
3025 \begin_layout Standard
3026 Lots of lines
3027 \end_layout
3028
3029 \end_inset
3030 </cell>
3031 <cell alignment="none" valignment="top" leftline="true" usebox="none">
3032 \begin_inset Text
3033
3034 \begin_layout Standard
3035 like this.
3036 \end_layout
3037
3038 \end_inset
3039 </cell>
3040 </row>
3041 <row>
3042 <cell alignment="none" valignment="top" usebox="none">
3043 \begin_inset Text
3044
3045 \begin_layout Standard
3046 Lots of lines
3047 \end_layout
3048
3049 \end_inset
3050 </cell>
3051 <cell alignment="none" valignment="top" leftline="true" usebox="none">
3052 \begin_inset Text
3053
3054 \begin_layout Standard
3055 like this.
3056 \end_layout
3057
3058 \end_inset
3059 </cell>
3060 </row>
3061 <row>
3062 <cell alignment="none" valignment="top" usebox="none">
3063 \begin_inset Text
3064
3065 \begin_layout Standard
3066 Lots of lines
3067 \end_layout
3068
3069 \end_inset
3070 </cell>
3071 <cell alignment="none" valignment="top" leftline="true" usebox="none">
3072 \begin_inset Text
3073
3074 \begin_layout Standard
3075 like this.
3076 \end_layout
3077
3078 \end_inset
3079 </cell>
3080 </row>
3081 <row>
3082 <cell alignment="none" valignment="top" usebox="none">
3083 \begin_inset Text
3084
3085 \begin_layout Standard
3086 Lots of lines
3087 \end_layout
3088
3089 \end_inset
3090 </cell>
3091 <cell alignment="none" valignment="top" leftline="true" usebox="none">
3092 \begin_inset Text
3093
3094 \begin_layout Standard
3095 like this.
3096 \end_layout
3097
3098 \end_inset
3099 </cell>
3100 </row>
3101 <row>
3102 <cell alignment="none" valignment="top" usebox="none">
3103 \begin_inset Text
3104
3105 \begin_layout Standard
3106 Some lines may take up a lot of space, like this: 
3107 \end_layout
3108
3109 \end_inset
3110 </cell>
3111 <cell alignment="none" valignment="top" leftline="true" usebox="none">
3112 \begin_inset Text
3113
3114 \begin_layout Standard
3115
3116 \begin_inset ERT
3117 status collapsed
3118
3119 \begin_layout Plain Layout
3120
3121 \backslash
3122 raggedleft
3123 \end_layout
3124
3125 \end_inset
3126
3127  This last column is a 
3128 \begin_inset Quotes eld
3129 \end_inset
3130
3131 p
3132 \begin_inset Quotes erd
3133 \end_inset
3134
3135  column so this 
3136 \begin_inset Quotes eld
3137 \end_inset
3138
3139 row
3140 \begin_inset Quotes erd
3141 \end_inset
3142
3143  of the table can take up several lines. Note however that \SpecialChar TeX
3144
3145 \begin_inset space \space{}
3146
3147 \end_inset
3148
3149 will never break a page within such a row. Page breaks only occur between rows of the table or at 
3150 \begin_inset ERT
3151 status collapsed
3152
3153 \begin_layout Plain Layout
3154
3155 \backslash
3156 code
3157 \end_layout
3158
3159 \end_inset
3160
3161
3162 \begin_inset ERT
3163 status collapsed
3164
3165 \begin_layout Plain Layout
3166 {
3167 \end_layout
3168
3169 \end_inset
3170
3171
3172 \backslash
3173 hline
3174 \begin_inset ERT
3175 status collapsed
3176
3177 \begin_layout Plain Layout
3178 }
3179 \end_layout
3180
3181 \end_inset
3182
3183  commands. 
3184 \end_layout
3185
3186 \end_inset
3187 </cell>
3188 </row>
3189 <row>
3190 <cell alignment="none" valignment="top" usebox="none">
3191 \begin_inset Text
3192
3193 \begin_layout Standard
3194 Lots of lines
3195 \end_layout
3196
3197 \end_inset
3198 </cell>
3199 <cell alignment="none" valignment="top" leftline="true" usebox="none">
3200 \begin_inset Text
3201
3202 \begin_layout Standard
3203 like this.
3204 \end_layout
3205
3206 \end_inset
3207 </cell>
3208 </row>
3209 <row>
3210 <cell alignment="none" valignment="top" usebox="none">
3211 \begin_inset Text
3212
3213 \begin_layout Standard
3214 Lots of lines
3215 \end_layout
3216
3217 \end_inset
3218 </cell>
3219 <cell alignment="none" valignment="top" leftline="true" usebox="none">
3220 \begin_inset Text
3221
3222 \begin_layout Standard
3223 like this.
3224 \end_layout
3225
3226 \end_inset
3227 </cell>
3228 </row>
3229 <row>
3230 <cell alignment="none" valignment="top" usebox="none">
3231 \begin_inset Text
3232
3233 \begin_layout Standard
3234 Lots of lines
3235 \end_layout
3236
3237 \end_inset
3238 </cell>
3239 <cell alignment="none" valignment="top" leftline="true" usebox="none">
3240 \begin_inset Text
3241
3242 \begin_layout Standard
3243 like this.
3244 \end_layout
3245
3246 \end_inset
3247 </cell>
3248 </row>
3249 <row>
3250 <cell alignment="none" valignment="top" usebox="none">
3251 \begin_inset Text
3252
3253 \begin_layout Standard
3254 Lots of lines
3255 \end_layout
3256
3257 \end_inset
3258 </cell>
3259 <cell alignment="none" valignment="top" leftline="true" usebox="none">
3260 \begin_inset Text
3261
3262 \begin_layout Standard
3263 like this.
3264 \end_layout
3265
3266 \end_inset
3267 </cell>
3268 </row>
3269 <row>
3270 <cell alignment="none" valignment="top" usebox="none">
3271 \begin_inset Text
3272
3273 \begin_layout Standard
3274 Lots of lines
3275 \end_layout
3276
3277 \end_inset
3278 </cell>
3279 <cell alignment="none" valignment="top" leftline="true" usebox="none">
3280 \begin_inset Text
3281
3282 \begin_layout Standard
3283 like this.
3284 \end_layout
3285
3286 \end_inset
3287 </cell>
3288 </row>
3289 <row>
3290 <cell alignment="none" valignment="top" usebox="none">
3291 \begin_inset Text
3292
3293 \begin_layout Standard
3294 Lots of lines
3295 \end_layout
3296
3297 \end_inset
3298 </cell>
3299 <cell alignment="none" valignment="top" leftline="true" usebox="none">
3300 \begin_inset Text
3301
3302 \begin_layout Standard
3303 like this.
3304 \end_layout
3305
3306 \end_inset
3307 </cell>
3308 </row>
3309 <row>
3310 <cell alignment="none" valignment="top" usebox="none">
3311 \begin_inset Text
3312
3313 \begin_layout Standard
3314 Lots of lines
3315 \end_layout
3316
3317 \end_inset
3318 </cell>
3319 <cell alignment="none" valignment="top" leftline="true" usebox="none">
3320 \begin_inset Text
3321
3322 \begin_layout Standard
3323 like this.
3324 \end_layout
3325
3326 \end_inset
3327 </cell>
3328 </row>
3329 <row>
3330 <cell alignment="none" valignment="top" topline="true" usebox="none">
3331 \begin_inset Text
3332
3333 \begin_layout Standard
3334 Lots
3335 \begin_inset Foot
3336 status collapsed
3337
3338
3339 \begin_layout Standard
3340 This is a footnote.
3341 \end_layout
3342
3343 \end_inset
3344
3345  of lines
3346 \end_layout
3347
3348 \end_inset
3349 </cell>
3350 <cell alignment="none" valignment="top" topline="true" leftline="true" usebox="none">
3351 \begin_inset Text
3352
3353 \begin_layout Standard
3354 like this.
3355 \end_layout
3356
3357 \end_inset
3358 </cell>
3359 </row>
3360 <row>
3361 <cell alignment="none" valignment="top" usebox="none">
3362 \begin_inset Text
3363
3364 \begin_layout Standard
3365 Lots of lines
3366 \end_layout
3367
3368 \end_inset
3369 </cell>
3370 <cell alignment="none" valignment="top" leftline="true" usebox="none">
3371 \begin_inset Text
3372
3373 \begin_layout Standard
3374 like this
3375 \begin_inset Foot
3376 status collapsed
3377
3378
3379 \begin_layout Standard
3380
3381 \begin_inset ERT
3382 status collapsed
3383
3384 \begin_layout Plain Layout
3385
3386 \backslash
3387 env
3388 \end_layout
3389
3390 \end_inset
3391
3392
3393 \begin_inset ERT
3394 status collapsed
3395
3396 \begin_layout Plain Layout
3397 {
3398 \end_layout
3399
3400 \end_inset
3401
3402 longtable
3403 \begin_inset ERT
3404 status collapsed
3405
3406 \begin_layout Plain Layout
3407 }
3408 \end_layout
3409
3410 \end_inset
3411
3412  takes special precautions, so that footnotes may also be used in `p' columns.
3413 \end_layout
3414
3415 \end_inset
3416
3417
3418 \end_layout
3419
3420 \end_inset
3421 </cell>
3422 </row>
3423 <row>
3424 <cell alignment="none" valignment="top" topline="true" usebox="none">
3425 \begin_inset Text
3426
3427 \begin_layout Standard
3428 Lots of lines
3429 \end_layout
3430
3431 \end_inset
3432 </cell>
3433 <cell alignment="none" valignment="top" topline="true" leftline="true" usebox="none">
3434 \begin_inset Text
3435
3436 \begin_layout Standard
3437 like this.
3438 \end_layout
3439
3440 \end_inset
3441 </cell>
3442 </row>
3443 <row>
3444 <cell alignment="none" valignment="top" usebox="none">
3445 \begin_inset Text
3446
3447 \begin_layout Standard
3448 Lots of lines
3449 \end_layout
3450
3451 \end_inset
3452 </cell>
3453 <cell alignment="none" valignment="top" leftline="true" usebox="none">
3454 \begin_inset Text
3455
3456 \begin_layout Standard
3457 like this. 
3458 \end_layout
3459
3460 \end_inset
3461 </cell>
3462 </row>
3463 </lyxtabular>
3464
3465 \end_inset
3466
3467
3468 \end_layout
3469
3470 \begin_layout Standard
3471 From bug 7412 another example with more captions (can currently not produced in LyX): 
3472 \begin_inset Tabular 
3473 <lyxtabular version="3" rows="45" columns="2">
3474 <features rotate="0" islongtable="true" lastFootEmpty="true">
3475 <column alignment="left" valignment="top">
3476 <column alignment="left" valignment="top">
3477 <row endfirsthead="true" caption="true">
3478 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
3479 \begin_inset Text
3480
3481 \begin_layout Standard
3482
3483 \begin_inset Caption Standard
3484
3485 \begin_layout Plain Layout
3486 A long table
3487 \end_layout
3488
3489 \end_inset
3490
3491
3492 \end_layout
3493
3494 \end_inset
3495 </cell>
3496 <cell multicolumn="2" alignment="none" valignment="top" usebox="none">
3497 \begin_inset Text
3498
3499 \end_inset
3500 </cell>
3501 </row>
3502 <row endhead="true" caption="true">
3503 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
3504 \begin_inset Text
3505
3506 \begin_layout Standard
3507
3508 \begin_inset Caption Standard
3509
3510 \begin_layout Plain Layout
3511 A long table – continued
3512 \end_layout
3513
3514 \end_inset
3515
3516
3517 \end_layout
3518
3519 \end_inset
3520 </cell>
3521 <cell multicolumn="2" alignment="none" valignment="top" usebox="none">
3522 \begin_inset Text
3523
3524 \end_inset
3525 </cell>
3526 </row>
3527 <row endfoot="true">
3528 <cell multicolumn="1" alignment="none" valignment="top" usebox="none" special="r">
3529 \begin_inset Text
3530
3531 \begin_layout Standard
3532
3533 \begin_inset ERT
3534 status collapsed
3535
3536 \begin_layout Plain Layout
3537 {
3538 \end_layout
3539
3540 \end_inset
3541
3542 Continued on next page
3543 \begin_inset ERT
3544 status collapsed
3545
3546 \begin_layout Plain Layout
3547 }
3548 \end_layout
3549
3550 \end_inset
3551
3552
3553 \end_layout
3554
3555 \end_inset
3556 </cell>
3557 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
3558 \begin_inset Text
3559
3560 \end_inset
3561 </cell>
3562 </row>
3563 <row>
3564 <cell multicolumn="1" alignment="none" valignment="top" topline="true" leftline="true" rightline="true" usebox="none" special="c">
3565 \begin_inset Text
3566
3567 \begin_layout Standard
3568 Something
3569 \end_layout
3570
3571 \end_inset
3572 </cell>
3573 <cell multicolumn="1" alignment="none" valignment="top" topline="true" rightline="true" usebox="none" special="c">
3574 \begin_inset Text
3575
3576 \begin_layout Standard
3577 Description
3578 \end_layout
3579
3580 \end_inset
3581 </cell>
3582 </row>
3583 <row>
3584 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3585 \begin_inset Text
3586
3587 \begin_layout Standard
3588 Lots of lines
3589 \end_layout
3590
3591 \end_inset
3592 </cell>
3593 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
3594 \begin_inset Text
3595
3596 \begin_layout Standard
3597 like this.
3598 \end_layout
3599
3600 \end_inset
3601 </cell>
3602 </row>
3603 <row>
3604 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3605 \begin_inset Text
3606
3607 \begin_layout Standard
3608 Lots of lines
3609 \end_layout
3610
3611 \end_inset
3612 </cell>
3613 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
3614 \begin_inset Text
3615
3616 \begin_layout Standard
3617 like this.
3618 \end_layout
3619
3620 \end_inset
3621 </cell>
3622 </row>
3623 <row>
3624 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3625 \begin_inset Text
3626
3627 \begin_layout Standard
3628 Lots of lines
3629 \end_layout
3630
3631 \end_inset
3632 </cell>
3633 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
3634 \begin_inset Text
3635
3636 \begin_layout Standard
3637 like this.
3638 \end_layout
3639
3640 \end_inset
3641 </cell>
3642 </row>
3643 <row>
3644 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3645 \begin_inset Text
3646
3647 \begin_layout Standard
3648 Lots of lines
3649 \end_layout
3650
3651 \end_inset
3652 </cell>
3653 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
3654 \begin_inset Text
3655
3656 \begin_layout Standard
3657 like this.
3658 \end_layout
3659
3660 \end_inset
3661 </cell>
3662 </row>
3663 <row>
3664 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3665 \begin_inset Text
3666
3667 \begin_layout Standard
3668 Lots of lines
3669 \end_layout
3670
3671 \end_inset
3672 </cell>
3673 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
3674 \begin_inset Text
3675
3676 \begin_layout Standard
3677 like this.
3678 \end_layout
3679
3680 \end_inset
3681 </cell>
3682 </row>
3683 <row>
3684 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3685 \begin_inset Text
3686
3687 \begin_layout Standard
3688 Lots of lines
3689 \end_layout
3690
3691 \end_inset
3692 </cell>
3693 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
3694 \begin_inset Text
3695
3696 \begin_layout Standard
3697 like this.
3698 \end_layout
3699
3700 \end_inset
3701 </cell>
3702 </row>
3703 <row>
3704 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3705 \begin_inset Text
3706
3707 \begin_layout Standard
3708 Lots of lines
3709 \end_layout
3710
3711 \end_inset
3712 </cell>
3713 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
3714 \begin_inset Text
3715
3716 \begin_layout Standard
3717 like this.
3718 \end_layout
3719
3720 \end_inset
3721 </cell>
3722 </row>
3723 <row>
3724 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3725 \begin_inset Text
3726
3727 \begin_layout Standard
3728 Lots of lines
3729 \end_layout
3730
3731 \end_inset
3732 </cell>
3733 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
3734 \begin_inset Text
3735
3736 \begin_layout Standard
3737 like this.
3738 \end_layout
3739
3740 \end_inset
3741 </cell>
3742 </row>
3743 <row>
3744 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3745 \begin_inset Text
3746
3747 \begin_layout Standard
3748 Lots of lines
3749 \end_layout
3750
3751 \end_inset
3752 </cell>
3753 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
3754 \begin_inset Text
3755
3756 \begin_layout Standard
3757 like this.
3758 \end_layout
3759
3760 \end_inset
3761 </cell>
3762 </row>
3763 <row>
3764 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3765 \begin_inset Text
3766
3767 \begin_layout Standard
3768 Lots of lines
3769 \end_layout
3770
3771 \end_inset
3772 </cell>
3773 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
3774 \begin_inset Text
3775
3776 \begin_layout Standard
3777 like this.
3778 \end_layout
3779
3780 \end_inset
3781 </cell>
3782 </row>
3783 <row>
3784 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3785 \begin_inset Text
3786
3787 \begin_layout Standard
3788 Lots of lines
3789 \end_layout
3790
3791 \end_inset
3792 </cell>
3793 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
3794 \begin_inset Text
3795
3796 \begin_layout Standard
3797 like this.
3798 \end_layout
3799
3800 \end_inset
3801 </cell>
3802 </row>
3803 <row>
3804 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3805 \begin_inset Text
3806
3807 \begin_layout Standard
3808 Lots of lines
3809 \end_layout
3810
3811 \end_inset
3812 </cell>
3813 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
3814 \begin_inset Text
3815
3816 \begin_layout Standard
3817 like this.
3818 \end_layout
3819
3820 \end_inset
3821 </cell>
3822 </row>
3823 <row>
3824 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3825 \begin_inset Text
3826
3827 \begin_layout Standard
3828 Lots of lines
3829 \end_layout
3830
3831 \end_inset
3832 </cell>
3833 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
3834 \begin_inset Text
3835
3836 \begin_layout Standard
3837 like this.
3838 \end_layout
3839
3840 \end_inset
3841 </cell>
3842 </row>
3843 <row>
3844 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3845 \begin_inset Text
3846
3847 \begin_layout Standard
3848 Lots of lines
3849 \end_layout
3850
3851 \end_inset
3852 </cell>
3853 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
3854 \begin_inset Text
3855
3856 \begin_layout Standard
3857 like this.
3858 \end_layout
3859
3860 \end_inset
3861 </cell>
3862 </row>
3863 <row>
3864 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3865 \begin_inset Text
3866
3867 \begin_layout Standard
3868 Lots of lines
3869 \end_layout
3870
3871 \end_inset
3872 </cell>
3873 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
3874 \begin_inset Text
3875
3876 \begin_layout Standard
3877 like this.
3878 \end_layout
3879
3880 \end_inset
3881 </cell>
3882 </row>
3883 <row>
3884 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3885 \begin_inset Text
3886
3887 \begin_layout Standard
3888 Lots of lines
3889 \end_layout
3890
3891 \end_inset
3892 </cell>
3893 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
3894 \begin_inset Text
3895
3896 \begin_layout Standard
3897 like this.
3898 \end_layout
3899
3900 \end_inset
3901 </cell>
3902 </row>
3903 <row>
3904 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3905 \begin_inset Text
3906
3907 \begin_layout Standard
3908 Lots of lines
3909 \end_layout
3910
3911 \end_inset
3912 </cell>
3913 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
3914 \begin_inset Text
3915
3916 \begin_layout Standard
3917 like this.
3918 \end_layout
3919
3920 \end_inset
3921 </cell>
3922 </row>
3923 <row>
3924 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3925 \begin_inset Text
3926
3927 \begin_layout Standard
3928 Lots of lines
3929 \end_layout
3930
3931 \end_inset
3932 </cell>
3933 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
3934 \begin_inset Text
3935
3936 \begin_layout Standard
3937 like this.
3938 \end_layout
3939
3940 \end_inset
3941 </cell>
3942 </row>
3943 <row>
3944 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3945 \begin_inset Text
3946
3947 \begin_layout Standard
3948 Lots of lines
3949 \end_layout
3950
3951 \end_inset
3952 </cell>
3953 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
3954 \begin_inset Text
3955
3956 \begin_layout Standard
3957 like this.
3958 \end_layout
3959
3960 \end_inset
3961 </cell>
3962 </row>
3963 <row>
3964 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3965 \begin_inset Text
3966
3967 \begin_layout Standard
3968 Lots of lines
3969 \end_layout
3970
3971 \end_inset
3972 </cell>
3973 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
3974 \begin_inset Text
3975
3976 \begin_layout Standard
3977 like this.
3978 \end_layout
3979
3980 \end_inset
3981 </cell>
3982 </row>
3983 <row>
3984 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3985 \begin_inset Text
3986
3987 \begin_layout Standard
3988 Lots of lines
3989 \end_layout
3990
3991 \end_inset
3992 </cell>
3993 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
3994 \begin_inset Text
3995
3996 \begin_layout Standard
3997 like this.
3998 \end_layout
3999
4000 \end_inset
4001 </cell>
4002 </row>
4003 <row>
4004 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4005 \begin_inset Text
4006
4007 \begin_layout Standard
4008 Lots of lines
4009 \end_layout
4010
4011 \end_inset
4012 </cell>
4013 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
4014 \begin_inset Text
4015
4016 \begin_layout Standard
4017 like this.
4018 \end_layout
4019
4020 \end_inset
4021 </cell>
4022 </row>
4023 <row>
4024 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4025 \begin_inset Text
4026
4027 \begin_layout Standard
4028 Lots of lines
4029 \end_layout
4030
4031 \end_inset
4032 </cell>
4033 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
4034 \begin_inset Text
4035
4036 \begin_layout Standard
4037 like this.
4038 \end_layout
4039
4040 \end_inset
4041 </cell>
4042 </row>
4043 <row>
4044 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4045 \begin_inset Text
4046
4047 \begin_layout Standard
4048 Lots of lines
4049 \end_layout
4050
4051 \end_inset
4052 </cell>
4053 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
4054 \begin_inset Text
4055
4056 \begin_layout Standard
4057 like this.
4058 \end_layout
4059
4060 \end_inset
4061 </cell>
4062 </row>
4063 <row>
4064 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4065 \begin_inset Text
4066
4067 \begin_layout Standard
4068 Lots of lines
4069 \end_layout
4070
4071 \end_inset
4072 </cell>
4073 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
4074 \begin_inset Text
4075
4076 \begin_layout Standard
4077 like this.
4078 \end_layout
4079
4080 \end_inset
4081 </cell>
4082 </row>
4083 <row>
4084 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4085 \begin_inset Text
4086
4087 \begin_layout Standard
4088 Lots of lines
4089 \end_layout
4090
4091 \end_inset
4092 </cell>
4093 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
4094 \begin_inset Text
4095
4096 \begin_layout Standard
4097 like this.
4098 \end_layout
4099
4100 \end_inset
4101 </cell>
4102 </row>
4103 <row>
4104 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4105 \begin_inset Text
4106
4107 \begin_layout Standard
4108 Lots of lines
4109 \end_layout
4110
4111 \end_inset
4112 </cell>
4113 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
4114 \begin_inset Text
4115
4116 \begin_layout Standard
4117 like this.
4118 \end_layout
4119
4120 \end_inset
4121 </cell>
4122 </row>
4123 <row>
4124 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4125 \begin_inset Text
4126
4127 \begin_layout Standard
4128 Lots of lines
4129 \end_layout
4130
4131 \end_inset
4132 </cell>
4133 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
4134 \begin_inset Text
4135
4136 \begin_layout Standard
4137 like this.
4138 \end_layout
4139
4140 \end_inset
4141 </cell>
4142 </row>
4143 <row>
4144 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4145 \begin_inset Text
4146
4147 \begin_layout Standard
4148 Lots of lines
4149 \end_layout
4150
4151 \end_inset
4152 </cell>
4153 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
4154 \begin_inset Text
4155
4156 \begin_layout Standard
4157 like this.
4158 \end_layout
4159
4160 \end_inset
4161 </cell>
4162 </row>
4163 <row>
4164 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4165 \begin_inset Text
4166
4167 \begin_layout Standard
4168 Lots of lines
4169 \end_layout
4170
4171 \end_inset
4172 </cell>
4173 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
4174 \begin_inset Text
4175
4176 \begin_layout Standard
4177 like this.
4178 \end_layout
4179
4180 \end_inset
4181 </cell>
4182 </row>
4183 <row>
4184 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4185 \begin_inset Text
4186
4187 \begin_layout Standard
4188 Lots of lines
4189 \end_layout
4190
4191 \end_inset
4192 </cell>
4193 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
4194 \begin_inset Text
4195
4196 \begin_layout Standard
4197 like this.
4198 \end_layout
4199
4200 \end_inset
4201 </cell>
4202 </row>
4203 <row>
4204 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4205 \begin_inset Text
4206
4207 \begin_layout Standard
4208 Lots of lines
4209 \end_layout
4210
4211 \end_inset
4212 </cell>
4213 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
4214 \begin_inset Text
4215
4216 \begin_layout Standard
4217 like this.
4218 \end_layout
4219
4220 \end_inset
4221 </cell>
4222 </row>
4223 <row>
4224 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4225 \begin_inset Text
4226
4227 \begin_layout Standard
4228 Lots of lines
4229 \end_layout
4230
4231 \end_inset
4232 </cell>
4233 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
4234 \begin_inset Text
4235
4236 \begin_layout Standard
4237 like this.
4238 \end_layout
4239
4240 \end_inset
4241 </cell>
4242 </row>
4243 <row>
4244 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4245 \begin_inset Text
4246
4247 \begin_layout Standard
4248 Lots of lines
4249 \end_layout
4250
4251 \end_inset
4252 </cell>
4253 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
4254 \begin_inset Text
4255
4256 \begin_layout Standard
4257 like this.
4258 \end_layout
4259
4260 \end_inset
4261 </cell>
4262 </row>
4263 <row>
4264 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4265 \begin_inset Text
4266
4267 \begin_layout Standard
4268 Lots of lines
4269 \end_layout
4270
4271 \end_inset
4272 </cell>
4273 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
4274 \begin_inset Text
4275
4276 \begin_layout Standard
4277 like this.
4278 \end_layout
4279
4280 \end_inset
4281 </cell>
4282 </row>
4283 <row>
4284 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4285 \begin_inset Text
4286
4287 \begin_layout Standard
4288 Lots of lines
4289 \end_layout
4290
4291 \end_inset
4292 </cell>
4293 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
4294 \begin_inset Text
4295
4296 \begin_layout Standard
4297 like this.
4298 \end_layout
4299
4300 \end_inset
4301 </cell>
4302 </row>
4303 <row>
4304 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4305 \begin_inset Text
4306
4307 \begin_layout Standard
4308 Lots of lines
4309 \end_layout
4310
4311 \end_inset
4312 </cell>
4313 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
4314 \begin_inset Text
4315
4316 \begin_layout Standard
4317 like this.
4318 \end_layout
4319
4320 \end_inset
4321 </cell>
4322 </row>
4323 <row>
4324 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4325 \begin_inset Text
4326
4327 \begin_layout Standard
4328 Lots of lines
4329 \end_layout
4330
4331 \end_inset
4332 </cell>
4333 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
4334 \begin_inset Text
4335
4336 \begin_layout Standard
4337 like this.
4338 \end_layout
4339
4340 \end_inset
4341 </cell>
4342 </row>
4343 <row>
4344 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4345 \begin_inset Text
4346
4347 \begin_layout Standard
4348 Lots of lines
4349 \end_layout
4350
4351 \end_inset
4352 </cell>
4353 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
4354 \begin_inset Text
4355
4356 \begin_layout Standard
4357 like this.
4358 \end_layout
4359
4360 \end_inset
4361 </cell>
4362 </row>
4363 <row>
4364 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4365 \begin_inset Text
4366
4367 \begin_layout Standard
4368 Lots of lines
4369 \end_layout
4370
4371 \end_inset
4372 </cell>
4373 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
4374 \begin_inset Text
4375
4376 \begin_layout Standard
4377 like this.
4378 \end_layout
4379
4380 \end_inset
4381 </cell>
4382 </row>
4383 <row>
4384 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
4385 \begin_inset Text
4386
4387 \begin_layout Standard
4388 Lots of lines
4389 \end_layout
4390
4391 \end_inset
4392 </cell>
4393 <cell alignment="left" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
4394 \begin_inset Text
4395
4396 \begin_layout Standard
4397 like this.
4398 \end_layout
4399
4400 \end_inset
4401 </cell>
4402 </row>
4403 </lyxtabular>
4404
4405 \end_inset
4406
4407
4408 \end_layout
4409
4410 \begin_layout Standard
4411 A table*:
4412 \end_layout
4413
4414 \begin_layout Standard
4415
4416 \begin_inset ERT
4417 status collapsed
4418
4419 \begin_layout Plain Layout
4420 % some comment
4421 \end_layout
4422
4423 \begin_layout Plain Layout
4424
4425 \end_layout
4426
4427 \end_inset
4428
4429
4430 \begin_inset Tabular 
4431 <lyxtabular version="3" rows="2" columns="2">
4432 <features rotate="0" tabularvalignment="bottom" tabularwidth="80col%">
4433 <column alignment="left" valignment="top">
4434 <column alignment="right" valignment="top">
4435 <row>
4436 <cell alignment="left" valignment="top" usebox="none">
4437 \begin_inset Text
4438
4439 \begin_layout Standard
4440 two
4441 \end_layout
4442
4443 \end_inset
4444 </cell>
4445 <cell alignment="none" valignment="top" usebox="none">
4446 \begin_inset Text
4447
4448 \end_inset
4449 </cell>
4450 </row>
4451 <row>
4452 <cell alignment="left" valignment="top" rotate="-50" usebox="none">
4453 \begin_inset Text
4454
4455 \begin_layout Standard
4456 lonely
4457 \end_layout
4458
4459 \end_inset
4460 </cell>
4461 <cell alignment="right" valignment="top" rotate="90" usebox="none">
4462 \begin_inset Text
4463
4464 \begin_layout Standard
4465 lines
4466 \end_layout
4467
4468 \end_inset
4469 </cell>
4470 </row>
4471 </lyxtabular>
4472
4473 \end_inset
4474
4475
4476 \end_layout
4477
4478 \begin_layout Standard
4479 A booktabs table:
4480 \end_layout
4481
4482 \begin_layout Standard
4483
4484 \begin_inset Float table
4485 placement h
4486 wide false
4487 sideways false
4488 status open
4489
4490
4491 \begin_layout Standard
4492
4493 \begin_inset Caption Standard
4494
4495 \begin_layout Plain Layout
4496
4497 \begin_inset CommandInset label
4498 LatexCommand label
4499 name "tab:Special-booktabs-table"
4500
4501 \end_inset
4502
4503 Special booktabs-table
4504 \end_layout
4505
4506 \end_inset
4507
4508
4509 \end_layout
4510
4511 \begin_layout Standard
4512
4513 \begin_inset ERT
4514 status collapsed
4515
4516 \begin_layout Plain Layout
4517
4518 \backslash
4519 centering
4520 \end_layout
4521
4522 \end_inset
4523
4524
4525 \begin_inset ERT
4526 status collapsed
4527
4528 \begin_layout Plain Layout
4529 {}
4530 \end_layout
4531
4532 \end_inset
4533
4534
4535 \begin_inset Tabular 
4536 <lyxtabular version="3" rows="8" columns="4">
4537 <features rotate="0" booktabs="true" tabularvalignment="middle" tabularwidth="0pt">
4538 <column alignment="center" valignment="top">
4539 <column alignment="center" valignment="top">
4540 <column alignment="center" valignment="top">
4541 <column alignment="center" valignment="top">
4542 <row>
4543 <cell alignment="center" valignment="top" topline="true" usebox="none">
4544 \begin_inset Text
4545
4546 \begin_layout Standard
4547 System 
4548 \end_layout
4549
4550 \end_inset
4551 </cell>
4552 <cell alignment="center" valignment="top" topline="true" usebox="none">
4553 \begin_inset Text
4554
4555 \begin_layout Standard
4556 Chip
4557 \begin_inset space \thinspace{}
4558
4559 \end_inset
4560
4561
4562 \end_layout
4563
4564 \end_inset
4565 </cell>
4566 <cell multicolumn="1" alignment="none" valignment="top" topline="true" usebox="none" special="c">
4567 \begin_inset Text
4568
4569 \begin_layout Standard
4570 Chip
4571 \begin_inset space \thinspace{}
4572
4573 \end_inset
4574
4575 2
4576 \end_layout
4577
4578 \end_inset
4579 </cell>
4580 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4581 \begin_inset Text
4582
4583 \end_inset
4584 </cell>
4585 </row>
4586 <row>
4587 <cell alignment="center" valignment="top" usebox="none">
4588 \begin_inset Text
4589
4590 \begin_layout Standard
4591
4592 \begin_inset ERT
4593 status collapsed
4594
4595 \begin_layout Plain Layout
4596
4597 \backslash
4598 cmidrule
4599 \end_layout
4600
4601 \end_inset
4602
4603 (r)
4604 \begin_inset ERT
4605 status collapsed
4606
4607 \begin_layout Plain Layout
4608 {
4609 \end_layout
4610
4611 \end_inset
4612
4613 2-2
4614 \begin_inset ERT
4615 status collapsed
4616
4617 \begin_layout Plain Layout
4618 }
4619 \end_layout
4620
4621 \end_inset
4622
4623
4624 \begin_inset ERT
4625 status collapsed
4626
4627 \begin_layout Plain Layout
4628
4629 \backslash
4630 cmidrule
4631 \end_layout
4632
4633 \end_inset
4634
4635 (l)
4636 \begin_inset ERT
4637 status collapsed
4638
4639 \begin_layout Plain Layout
4640 {
4641 \end_layout
4642
4643 \end_inset
4644
4645 3-4
4646 \begin_inset ERT
4647 status collapsed
4648
4649 \begin_layout Plain Layout
4650 }
4651 \end_layout
4652
4653 \end_inset
4654
4655
4656 \begin_inset ERT
4657 status collapsed
4658
4659 \begin_layout Plain Layout
4660
4661 \backslash
4662 morecmidrules
4663 \end_layout
4664
4665 \end_inset
4666
4667  
4668 \begin_inset ERT
4669 status collapsed
4670
4671 \begin_layout Plain Layout
4672
4673 \backslash
4674 cmidrule
4675 \end_layout
4676
4677 \end_inset
4678
4679
4680 \begin_inset ERT
4681 status collapsed
4682
4683 \begin_layout Plain Layout
4684 {
4685 \end_layout
4686
4687 \end_inset
4688
4689 2-4
4690 \begin_inset ERT
4691 status collapsed
4692
4693 \begin_layout Plain Layout
4694 }
4695 \end_layout
4696
4697 \end_inset
4698
4699 Detector thickness in µm 
4700 \end_layout
4701
4702 \end_inset
4703 </cell>
4704 <cell alignment="center" valignment="top" usebox="none">
4705 \begin_inset Text
4706
4707 \begin_layout Standard
4708 300 
4709 \end_layout
4710
4711 \end_inset
4712 </cell>
4713 <cell alignment="center" valignment="top" usebox="none">
4714 \begin_inset Text
4715
4716 \begin_layout Standard
4717 300 
4718 \end_layout
4719
4720 \end_inset
4721 </cell>
4722 <cell alignment="center" valignment="top" usebox="none">
4723 \begin_inset Text
4724
4725 \begin_layout Standard
4726 700
4727 \end_layout
4728
4729 \end_inset
4730 </cell>
4731 </row>
4732 <row>
4733 <cell alignment="center" valignment="top" topline="true" usebox="none">
4734 \begin_inset Text
4735
4736 \begin_layout Standard
4737 Edge angle in ° 
4738 \end_layout
4739
4740 \end_inset
4741 </cell>
4742 <cell alignment="center" valignment="top" topline="true" usebox="none">
4743 \begin_inset Text
4744
4745 \begin_layout Standard
4746 3.55 
4747 \end_layout
4748
4749 \end_inset
4750 </cell>
4751 <cell alignment="center" valignment="top" topline="true" usebox="none">
4752 \begin_inset Text
4753
4754 \begin_layout Standard
4755 2.71 
4756 \end_layout
4757
4758 \end_inset
4759 </cell>
4760 <cell alignment="center" valignment="top" topline="true" usebox="none">
4761 \begin_inset Text
4762
4763 \begin_layout Standard
4764 7.99
4765 \end_layout
4766
4767 \end_inset
4768 </cell>
4769 </row>
4770 <row topspace="default">
4771 <cell alignment="center" valignment="top" usebox="none">
4772 \begin_inset Text
4773
4774 \begin_layout Standard
4775 Spatial resolution in µm 
4776 \end_layout
4777
4778 \end_inset
4779 </cell>
4780 <cell alignment="center" valignment="top" usebox="none">
4781 \begin_inset Text
4782
4783 \begin_layout Standard
4784 4.26 
4785 \end_layout
4786
4787 \end_inset
4788 </cell>
4789 <cell alignment="center" valignment="top" usebox="none">
4790 \begin_inset Text
4791
4792 \begin_layout Standard
4793 10.17 
4794 \end_layout
4795
4796 \end_inset
4797 </cell>
4798 <cell alignment="center" valignment="top" usebox="none">
4799 \begin_inset Text
4800
4801 \begin_layout Standard
4802 10.56
4803 \end_layout
4804
4805 \end_inset
4806 </cell>
4807 </row>
4808 <row topspace="default">
4809 <cell alignment="center" valignment="top" usebox="none">
4810 \begin_inset Text
4811
4812 \begin_layout Standard
4813 MTF at 
4814 \begin_inset Formula $f_{\mathrm{max}}$
4815 \end_inset
4816
4817  
4818 \end_layout
4819
4820 \end_inset
4821 </cell>
4822 <cell alignment="center" valignment="top" usebox="none">
4823 \begin_inset Text
4824
4825 \begin_layout Standard
4826 0.53 
4827 \end_layout
4828
4829 \end_inset
4830 </cell>
4831 <cell alignment="center" valignment="top" usebox="none">
4832 \begin_inset Text
4833
4834 \begin_layout Standard
4835 0.37 
4836 \end_layout
4837
4838 \end_inset
4839 </cell>
4840 <cell alignment="center" valignment="top" usebox="none">
4841 \begin_inset Text
4842
4843 \begin_layout Standard
4844 0.39
4845 \end_layout
4846
4847 \end_inset
4848 </cell>
4849 </row>
4850 <row>
4851 <cell alignment="center" valignment="top" topline="true" usebox="none">
4852 \begin_inset Text
4853
4854 \begin_layout Standard
4855
4856 \begin_inset ERT
4857 status collapsed
4858
4859 \begin_layout Plain Layout
4860
4861 \backslash
4862 morecmidrules
4863 \end_layout
4864
4865 \end_inset
4866
4867  
4868 \begin_inset ERT
4869 status collapsed
4870
4871 \begin_layout Plain Layout
4872
4873 \backslash
4874 cmidrule
4875 \end_layout
4876
4877 \end_inset
4878
4879
4880 \begin_inset ERT
4881 status collapsed
4882
4883 \begin_layout Plain Layout
4884 {
4885 \end_layout
4886
4887 \end_inset
4888
4889 3-4
4890 \begin_inset ERT
4891 status collapsed
4892
4893 \begin_layout Plain Layout
4894 }
4895 \end_layout
4896
4897 \end_inset
4898
4899 LSF-spatial resolution 
4900 \end_layout
4901
4902 \end_inset
4903 </cell>
4904 <cell alignment="center" valignment="top" topline="true" usebox="none">
4905 \begin_inset Text
4906
4907 \end_inset
4908 </cell>
4909 <cell alignment="center" valignment="top" topline="true" usebox="none">
4910 \begin_inset Text
4911
4912 \end_inset
4913 </cell>
4914 <cell alignment="none" valignment="top" topline="true" usebox="none">
4915 \begin_inset Text
4916
4917 \end_inset
4918 </cell>
4919 </row>
4920 <row>
4921 <cell alignment="center" valignment="top" usebox="none">
4922 \begin_inset Text
4923
4924 \begin_layout Standard
4925 in µm 
4926 \end_layout
4927
4928 \end_inset
4929 </cell>
4930 <cell alignment="center" valignment="top" usebox="none">
4931 \begin_inset Text
4932
4933 \begin_layout Standard
4934 129.7 
4935 \end_layout
4936
4937 \end_inset
4938 </cell>
4939 <cell alignment="center" valignment="top" usebox="none">
4940 \begin_inset Text
4941
4942 \begin_layout Standard
4943 52.75 
4944 \end_layout
4945
4946 \end_inset
4947 </cell>
4948 <cell alignment="center" valignment="top" usebox="none">
4949 \begin_inset Text
4950
4951 \begin_layout Standard
4952 50.78
4953 \end_layout
4954
4955 \end_inset
4956 </cell>
4957 </row>
4958 <row>
4959 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4960 \begin_inset Text
4961
4962 \begin_layout Standard
4963 in % of pixel size 
4964 \end_layout
4965
4966 \end_inset
4967 </cell>
4968 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4969 \begin_inset Text
4970
4971 \begin_layout Standard
4972 76.3 
4973 \end_layout
4974
4975 \end_inset
4976 </cell>
4977 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4978 \begin_inset Text
4979
4980 \begin_layout Standard
4981 95.9 
4982 \end_layout
4983
4984 \end_inset
4985 </cell>
4986 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4987 \begin_inset Text
4988
4989 \begin_layout Standard
4990 92.3
4991 \end_layout
4992
4993 \end_inset
4994 </cell>
4995 </row>
4996 </lyxtabular>
4997
4998 \end_inset
4999
5000
5001 \end_layout
5002
5003 \end_inset
5004
5005
5006 \end_layout
5007
5008 \begin_layout Standard
5009 A table using decimal alignment:
5010 \end_layout
5011
5012 \begin_layout Standard
5013
5014 \begin_inset Float table
5015 wide false
5016 sideways false
5017 status open
5018
5019
5020 \begin_layout Standard
5021
5022 \begin_inset Tabular 
5023 <lyxtabular version="3" rows="4" columns="8">
5024 <features rotate="0" tabularvalignment="middle" tabularwidth="0pt">
5025 <column alignment="center" valignment="top">
5026 <column alignment="center" valignment="top">
5027 <column alignment="right" valignment="top">
5028 <column alignment="none" valignment="top" special="@{\extracolsep{0pt}.}l">
5029 <column alignment="right" valignment="top">
5030 <column alignment="none" valignment="top" special="@{\extracolsep{0pt}.}l">
5031 <column alignment="right" valignment="top">
5032 <column alignment="none" valignment="top" special="@{\extracolsep{0pt}.}l">
5033 <row>
5034 <cell alignment="center" valignment="top" usebox="none">
5035 \begin_inset Text
5036
5037 \begin_layout Standard
5038 One 
5039 \end_layout
5040
5041 \end_inset
5042 </cell>
5043 <cell alignment="center" valignment="top" usebox="none">
5044 \begin_inset Text
5045
5046 \begin_layout Standard
5047 Two 
5048 \end_layout
5049
5050 \end_inset
5051 </cell>
5052 <cell multicolumn="1" alignment="none" valignment="top" usebox="none" special="c">
5053 \begin_inset Text
5054
5055 \begin_layout Standard
5056 Three
5057 \end_layout
5058
5059 \end_inset
5060 </cell>
5061 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
5062 \begin_inset Text
5063
5064 \end_inset
5065 </cell>
5066 <cell multicolumn="1" alignment="none" valignment="top" usebox="none" special="c">
5067 \begin_inset Text
5068
5069 \begin_layout Standard
5070 Four
5071 \end_layout
5072
5073 \end_inset
5074 </cell>
5075 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
5076 \begin_inset Text
5077
5078 \end_inset
5079 </cell>
5080 <cell multicolumn="1" alignment="none" valignment="top" usebox="none" special="c">
5081 \begin_inset Text
5082
5083 \begin_layout Standard
5084 Five
5085 \end_layout
5086
5087 \end_inset
5088 </cell>
5089 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
5090 \begin_inset Text
5091
5092 \end_inset
5093 </cell>
5094 </row>
5095 <row>
5096 <cell alignment="center" valignment="top" topline="true" usebox="none">
5097 \begin_inset Text
5098
5099 \begin_layout Standard
5100 one 
5101 \end_layout
5102
5103 \end_inset
5104 </cell>
5105 <cell alignment="center" valignment="top" topline="true" usebox="none">
5106 \begin_inset Text
5107
5108 \begin_layout Standard
5109 two 
5110 \end_layout
5111
5112 \end_inset
5113 </cell>
5114 <cell multicolumn="1" alignment="none" valignment="top" topline="true" usebox="none" special="c">
5115 \begin_inset Text
5116
5117 \begin_layout Standard
5118 three
5119 \end_layout
5120
5121 \end_inset
5122 </cell>
5123 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
5124 \begin_inset Text
5125
5126 \end_inset
5127 </cell>
5128 <cell multicolumn="1" alignment="none" valignment="top" topline="true" usebox="none" special="c">
5129 \begin_inset Text
5130
5131 \begin_layout Standard
5132 four
5133 \end_layout
5134
5135 \end_inset
5136 </cell>
5137 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
5138 \begin_inset Text
5139
5140 \end_inset
5141 </cell>
5142 <cell multicolumn="1" alignment="none" valignment="top" topline="true" usebox="none" special="c">
5143 \begin_inset Text
5144
5145 \begin_layout Standard
5146 five
5147 \end_layout
5148
5149 \end_inset
5150 </cell>
5151 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
5152 \begin_inset Text
5153
5154 \end_inset
5155 </cell>
5156 </row>
5157 <row>
5158 <cell alignment="center" valignment="top" usebox="none">
5159 \begin_inset Text
5160
5161 \begin_layout Standard
5162 He 
5163 \end_layout
5164
5165 \end_inset
5166 </cell>
5167 <cell alignment="center" valignment="top" usebox="none">
5168 \begin_inset Text
5169
5170 \begin_layout Standard
5171
5172 \end_layout
5173
5174 \end_inset
5175 </cell>
5176 <cell alignment="right" valignment="top" usebox="none">
5177 \begin_inset Text
5178
5179 \begin_layout Standard
5180 2
5181 \end_layout
5182
5183 \end_inset
5184 </cell>
5185 <cell alignment="none" valignment="top" usebox="none">
5186 \begin_inset Text
5187
5188 \begin_layout Standard
5189 77234 
5190 \end_layout
5191
5192 \end_inset
5193 </cell>
5194 <cell alignment="right" valignment="top" usebox="none">
5195 \begin_inset Text
5196
5197 \begin_layout Standard
5198 45672
5199 \end_layout
5200
5201 \end_inset
5202 </cell>
5203 <cell alignment="none" valignment="top" usebox="none">
5204 \begin_inset Text
5205
5206 \end_inset
5207 </cell>
5208 <cell alignment="right" valignment="top" usebox="none">
5209 \begin_inset Text
5210
5211 \begin_layout Standard
5212 0
5213 \end_layout
5214
5215 \end_inset
5216 </cell>
5217 <cell alignment="none" valignment="top" usebox="none">
5218 \begin_inset Text
5219
5220 \begin_layout Standard
5221 69 
5222 \end_layout
5223
5224 \end_inset
5225 </cell>
5226 </row>
5227 <row>
5228 <cell alignment="center" valignment="top" usebox="none">
5229 \begin_inset Text
5230
5231 \begin_layout Standard
5232
5233 \end_layout
5234
5235 \end_inset
5236 </cell>
5237 <cell alignment="center" valignment="top" usebox="none">
5238 \begin_inset Text
5239
5240 \begin_layout Standard
5241
5242 \end_layout
5243
5244 \end_inset
5245 </cell>
5246 <cell alignment="right" valignment="top" usebox="none">
5247 \begin_inset Text
5248
5249 \begin_layout Standard
5250 12537
5251 \end_layout
5252
5253 \end_inset
5254 </cell>
5255 <cell alignment="none" valignment="top" usebox="none">
5256 \begin_inset Text
5257
5258 \begin_layout Standard
5259 64 
5260 \end_layout
5261
5262 \end_inset
5263 </cell>
5264 <cell alignment="right" valignment="top" usebox="none">
5265 \begin_inset Text
5266
5267 \begin_layout Standard
5268 37
5269 \end_layout
5270
5271 \end_inset
5272 </cell>
5273 <cell alignment="none" valignment="top" usebox="none">
5274 \begin_inset Text
5275
5276 \begin_layout Standard
5277 66345 
5278 \end_layout
5279
5280 \end_inset
5281 </cell>
5282 <cell alignment="right" valignment="top" usebox="none">
5283 \begin_inset Text
5284
5285 \begin_layout Standard
5286 86
5287 \end_layout
5288
5289 \end_inset
5290 </cell>
5291 <cell alignment="none" valignment="top" usebox="none">
5292 \begin_inset Text
5293
5294 \begin_layout Standard
5295 37 
5296 \end_layout
5297
5298 \end_inset
5299 </cell>
5300 </row>
5301 </lyxtabular>
5302
5303 \end_inset
5304
5305
5306 \end_layout
5307
5308 \end_inset
5309
5310
5311 \end_layout
5312
5313 \begin_layout Section
5314 Macros
5315 \end_layout
5316
5317 \begin_layout Standard
5318 LyX supports several kinds of macros: def 
5319 \begin_inset FormulaMacro
5320 \def\macroa #1{a #1 a}
5321 \end_inset
5322
5323  global def 
5324 \begin_inset FormulaMacro
5325 \def\macrob #1{b #1 b}
5326 \end_inset
5327
5328  long def 
5329 \begin_inset FormulaMacro
5330 \def\macroc #1{c #1 c}
5331 \end_inset
5332
5333  global long def 
5334 \begin_inset FormulaMacro
5335 \def\macrod #1{d #1 d}
5336 \end_inset
5337
5338  providecommand 
5339 \begin_inset ERT
5340 status collapsed
5341
5342 \begin_layout Plain Layout
5343
5344 \backslash
5345 providecommand{
5346 \backslash
5347 macroe}[1]{e #1 e}
5348 \end_layout
5349
5350 \end_inset
5351
5352  providecommand* 
5353 \begin_inset ERT
5354 status collapsed
5355
5356 \begin_layout Plain Layout
5357
5358 \backslash
5359 providecommand*{
5360 \backslash
5361 macrof}[1]{f #1 f}
5362 \end_layout
5363
5364 \end_inset
5365
5366  newcommand 
5367 \begin_inset FormulaMacro
5368 \newcommand{\macrog}[1]{g #1 g}
5369 \end_inset
5370
5371  renewcommand 
5372 \begin_inset FormulaMacro
5373 \renewcommand{\macrog}[1]{h #1 h}
5374 \end_inset
5375
5376  newcommand* 
5377 \begin_inset ERT
5378 status collapsed
5379
5380 \begin_layout Plain Layout
5381
5382 \backslash
5383 newcommand*{
5384 \backslash
5385 macroi}[1]{i #1 i}
5386 \end_layout
5387
5388 \end_inset
5389
5390  renewcommand* 
5391 \begin_inset ERT
5392 status collapsed
5393
5394 \begin_layout Plain Layout
5395
5396 \backslash
5397 renewcommand*{
5398 \backslash
5399 macroi}[1]{j #1 j}
5400 \end_layout
5401
5402 \end_inset
5403
5404  providecommandx 
5405 \begin_inset ERT
5406 status collapsed
5407
5408 \begin_layout Plain Layout
5409
5410 \backslash
5411 providecommandx{
5412 \backslash
5413 macrok}[1]{k #1 k}
5414 \end_layout
5415
5416 \end_inset
5417
5418  providecommandx* 
5419 \begin_inset ERT
5420 status collapsed
5421
5422 \begin_layout Plain Layout
5423
5424 \backslash
5425 providecommandx*{
5426 \backslash
5427 macrok}[1]{l #1 l}
5428 \end_layout
5429
5430 \end_inset
5431
5432  newcommandx 
5433 \begin_inset FormulaMacro
5434 \newcommandx{\macrom}[1]{m #1 m}
5435 \end_inset
5436
5437  renewcommandx 
5438 \begin_inset FormulaMacro
5439 \renewcommandx{\macrom}[1]{n #1 n}
5440 \end_inset
5441
5442  newcommandx* 
5443 \begin_inset ERT
5444 status collapsed
5445
5446 \begin_layout Plain Layout
5447
5448 \backslash
5449 newcommandx*{
5450 \backslash
5451 macroo}[1]{o #1 o}
5452 \end_layout
5453
5454 \end_inset
5455
5456  renewcommandx* 
5457 \begin_inset ERT
5458 status collapsed
5459
5460 \begin_layout Plain Layout
5461
5462 \backslash
5463 renewcommandx*{
5464 \backslash
5465 macroo}[1]{p #1 p}
5466 \end_layout
5467
5468 \end_inset
5469
5470  DeclareRobustCommand 
5471 \begin_inset ERT
5472 status collapsed
5473
5474 \begin_layout Plain Layout
5475
5476 \backslash
5477 DeclareRobustCommand{
5478 \backslash
5479 macroq}[1]{q #1 q}
5480 \end_layout
5481
5482 \end_inset
5483
5484  DeclareRobustCommand* 
5485 \begin_inset ERT
5486 status collapsed
5487
5488 \begin_layout Plain Layout
5489
5490 \backslash
5491 DeclareRobustCommand*{
5492 \backslash
5493 macror}[1]{r #1 r}
5494 \end_layout
5495
5496 \end_inset
5497
5498  DeclareRobustCommandx 
5499 \begin_inset ERT
5500 status collapsed
5501
5502 \begin_layout Plain Layout
5503
5504 \backslash
5505 DeclareRobustCommandx{
5506 \backslash
5507 macros}[1]{s #1 s}
5508 \end_layout
5509
5510 \end_inset
5511
5512  DeclareRobustCommandx* 
5513 \begin_inset ERT
5514 status collapsed
5515
5516 \begin_layout Plain Layout
5517
5518 \backslash
5519 DeclareRobustCommandx*{
5520 \backslash
5521 macrot}[1]{t #1 t}
5522 \end_layout
5523
5524 \end_inset
5525
5526
5527 \end_layout
5528
5529 \begin_layout Standard
5530 Now use them all: 
5531 \begin_inset ERT
5532 status collapsed
5533
5534 \begin_layout Plain Layout
5535
5536 \backslash
5537 macroa
5538 \end_layout
5539
5540 \end_inset
5541
5542
5543 \begin_inset ERT
5544 status collapsed
5545
5546 \begin_layout Plain Layout
5547 {
5548 \end_layout
5549
5550 \end_inset
5551
5552 x
5553 \begin_inset ERT
5554 status collapsed
5555
5556 \begin_layout Plain Layout
5557 }
5558 \end_layout
5559
5560 \end_inset
5561
5562  
5563 \begin_inset ERT
5564 status collapsed
5565
5566 \begin_layout Plain Layout
5567
5568 \backslash
5569 macrob
5570 \end_layout
5571
5572 \end_inset
5573
5574
5575 \begin_inset ERT
5576 status collapsed
5577
5578 \begin_layout Plain Layout
5579 {
5580 \end_layout
5581
5582 \end_inset
5583
5584 x
5585 \begin_inset ERT
5586 status collapsed
5587
5588 \begin_layout Plain Layout
5589 }
5590 \end_layout
5591
5592 \end_inset
5593
5594  
5595 \begin_inset ERT
5596 status collapsed
5597
5598 \begin_layout Plain Layout
5599
5600 \backslash
5601 macroc
5602 \end_layout
5603
5604 \end_inset
5605
5606
5607 \begin_inset ERT
5608 status collapsed
5609
5610 \begin_layout Plain Layout
5611 {
5612 \end_layout
5613
5614 \end_inset
5615
5616 x
5617 \begin_inset ERT
5618 status collapsed
5619
5620 \begin_layout Plain Layout
5621 }
5622 \end_layout
5623
5624 \end_inset
5625
5626  
5627 \begin_inset ERT
5628 status collapsed
5629
5630 \begin_layout Plain Layout
5631
5632 \backslash
5633 macrod
5634 \end_layout
5635
5636 \end_inset
5637
5638
5639 \begin_inset ERT
5640 status collapsed
5641
5642 \begin_layout Plain Layout
5643 {
5644 \end_layout
5645
5646 \end_inset
5647
5648 x
5649 \begin_inset ERT
5650 status collapsed
5651
5652 \begin_layout Plain Layout
5653 }
5654 \end_layout
5655
5656 \end_inset
5657
5658  
5659 \begin_inset ERT
5660 status collapsed
5661
5662 \begin_layout Plain Layout
5663
5664 \backslash
5665 macroe{
5666 \end_layout
5667
5668 \end_inset
5669
5670 x
5671 \begin_inset ERT
5672 status collapsed
5673
5674 \begin_layout Plain Layout
5675 }
5676 \end_layout
5677
5678 \end_inset
5679
5680  
5681 \begin_inset ERT
5682 status collapsed
5683
5684 \begin_layout Plain Layout
5685
5686 \backslash
5687 macrof{
5688 \end_layout
5689
5690 \end_inset
5691
5692 x
5693 \begin_inset ERT
5694 status collapsed
5695
5696 \begin_layout Plain Layout
5697 }
5698 \end_layout
5699
5700 \end_inset
5701
5702  
5703 \begin_inset ERT
5704 status collapsed
5705
5706 \begin_layout Plain Layout
5707
5708 \backslash
5709 macrog{
5710 \end_layout
5711
5712 \end_inset
5713
5714 x
5715 \begin_inset ERT
5716 status collapsed
5717
5718 \begin_layout Plain Layout
5719 }
5720 \end_layout
5721
5722 \end_inset
5723
5724  
5725 \begin_inset ERT
5726 status collapsed
5727
5728 \begin_layout Plain Layout
5729
5730 \backslash
5731 macroi{
5732 \end_layout
5733
5734 \end_inset
5735
5736 x
5737 \begin_inset ERT
5738 status collapsed
5739
5740 \begin_layout Plain Layout
5741 }
5742 \end_layout
5743
5744 \end_inset
5745
5746  
5747 \begin_inset ERT
5748 status collapsed
5749
5750 \begin_layout Plain Layout
5751
5752 \backslash
5753 macrok{
5754 \end_layout
5755
5756 \end_inset
5757
5758 x
5759 \begin_inset ERT
5760 status collapsed
5761
5762 \begin_layout Plain Layout
5763 }
5764 \end_layout
5765
5766 \end_inset
5767
5768  
5769 \begin_inset ERT
5770 status collapsed
5771
5772 \begin_layout Plain Layout
5773
5774 \backslash
5775 macrom{
5776 \end_layout
5777
5778 \end_inset
5779
5780 x
5781 \begin_inset ERT
5782 status collapsed
5783
5784 \begin_layout Plain Layout
5785 }
5786 \end_layout
5787
5788 \end_inset
5789
5790  
5791 \begin_inset ERT
5792 status collapsed
5793
5794 \begin_layout Plain Layout
5795
5796 \backslash
5797 macroo{
5798 \end_layout
5799
5800 \end_inset
5801
5802 x
5803 \begin_inset ERT
5804 status collapsed
5805
5806 \begin_layout Plain Layout
5807 }
5808 \end_layout
5809
5810 \end_inset
5811
5812  
5813 \begin_inset ERT
5814 status collapsed
5815
5816 \begin_layout Plain Layout
5817
5818 \backslash
5819 macroq{
5820 \end_layout
5821
5822 \end_inset
5823
5824 x
5825 \begin_inset ERT
5826 status collapsed
5827
5828 \begin_layout Plain Layout
5829 }
5830 \end_layout
5831
5832 \end_inset
5833
5834  
5835 \begin_inset ERT
5836 status collapsed
5837
5838 \begin_layout Plain Layout
5839
5840 \backslash
5841 macror{
5842 \end_layout
5843
5844 \end_inset
5845
5846 x
5847 \begin_inset ERT
5848 status collapsed
5849
5850 \begin_layout Plain Layout
5851 }
5852 \end_layout
5853
5854 \end_inset
5855
5856  The following tow don't work, but they should??? 
5857 \begin_inset ERT
5858 status collapsed
5859
5860 \begin_layout Plain Layout
5861 %
5862 \backslash
5863 macros{x} 
5864 \backslash
5865 macrot{x}
5866 \end_layout
5867
5868 \end_inset
5869
5870
5871 \end_layout
5872
5873 \begin_layout Section
5874 Special formattings
5875 \begin_inset Index idx
5876 status collapsed
5877
5878 \begin_layout Plain Layout
5879 Special formattings
5880 \end_layout
5881
5882 \end_inset
5883
5884
5885 \end_layout
5886
5887 \begin_layout Subsection
5888 Rules
5889 \end_layout
5890
5891 \begin_layout Standard
5892 test
5893 \end_layout
5894
5895 \begin_layout Standard
5896
5897 \size tiny
5898
5899 \begin_inset CommandInset line
5900 LatexCommand rule
5901 offset "0.5ex"
5902 width "100line%"
5903 height "1pt"
5904
5905 \end_inset
5906
5907
5908 \size default
5909
5910 \size tiny
5911
5912 \end_layout
5913
5914 \begin_layout Standard
5915 test 
5916 \size giant
5917 Test
5918 \size default
5919  
5920 \size tiny
5921 test
5922 \size default
5923  test
5924 \end_layout
5925
5926 \begin_layout Standard
5927
5928 \size giant
5929
5930 \end_layout
5931
5932 \begin_layout Standard
5933 \noindent
5934
5935 \size giant
5936
5937 \begin_inset CommandInset line
5938 LatexCommand rule
5939 offset "0.5ex"
5940 width "100line%"
5941 height "1pt"
5942
5943 \end_inset
5944
5945
5946 \size default
5947
5948 \size giant
5949
5950 \end_layout
5951
5952 \begin_layout Standard
5953 test
5954 \begin_inset CommandInset line
5955 LatexCommand rule
5956 offset "0.1text%"
5957 width "100col%"
5958 height "5theight%"
5959
5960 \end_inset
5961
5962
5963 \end_layout
5964
5965 \begin_layout Standard
5966 test
5967 \end_layout
5968
5969 \begin_layout Standard
5970
5971 \begin_inset CommandInset line
5972 LatexCommand rule
5973 offset "0.5ex"
5974 width "100col%"
5975 height "1pt"
5976
5977 \end_inset
5978
5979
5980 \end_layout
5981
5982 \begin_layout Standard
5983 \noindent
5984
5985 \begin_inset CommandInset line
5986 LatexCommand rule
5987 width "1ex"
5988 height "0.5cc"
5989
5990 \end_inset
5991
5992 test
5993 \end_layout
5994
5995 \begin_layout Standard
5996
5997 \color red
5998
5999 \begin_inset CommandInset line
6000 LatexCommand rule
6001 offset "-4ex"
6002 width "5in"
6003 height "1cm"
6004
6005 \end_inset
6006
6007
6008 \color inherit
6009
6010 \end_layout
6011
6012 \begin_layout Subsection
6013 Phantoms
6014 \end_layout
6015
6016 \begin_layout Standard
6017 test
6018 \begin_inset Phantom Phantom
6019 status open
6020
6021 \begin_layout Plain Layout
6022 Wow
6023 \end_layout
6024
6025 \end_inset
6026
6027 test
6028 \end_layout
6029
6030 \begin_layout Standard
6031 test
6032 \begin_inset Phantom HPhantom
6033 status open
6034
6035 \begin_layout Plain Layout
6036
6037 \color green
6038 W
6039 \color inherit
6040
6041 \series bold
6042 ow
6043 \series default
6044
6045 \begin_inset script superscript
6046
6047 \begin_layout Plain Layout
6048 Wow
6049 \end_layout
6050
6051 \end_inset
6052
6053
6054 \end_layout
6055
6056 \end_inset
6057
6058 test
6059 \end_layout
6060
6061 \begin_layout Standard
6062 test
6063 \begin_inset Phantom VPhantom
6064 status open
6065
6066 \begin_layout Plain Layout
6067 Wow
6068 \backslash
6069 &%
6070 \end_layout
6071
6072 \end_inset
6073
6074 test
6075 \end_layout
6076
6077 \begin_layout Standard
6078
6079 \begin_inset Formula $test\hphantom{Wow}test$
6080 \end_inset
6081
6082
6083 \end_layout
6084
6085 \begin_layout Standard
6086
6087 \begin_inset Formula \[
6088 test\phantom{\textcolor{green}{W}\mathbf{ow}\textsuperscript{Wow}}test
6089 \]
6090 \end_inset
6091
6092
6093 \end_layout
6094
6095 \begin_layout Standard
6096
6097 \begin_inset Formula $test\vphantom{Wow\&\%}test$
6098 \end_inset
6099
6100
6101 \end_layout
6102
6103 \begin_layout Subsection
6104 TIPA
6105 \end_layout
6106
6107 \begin_layout Standard
6108
6109 \begin_inset IPA
6110
6111 \begin_layout Standard
6112 e̥ e̊ e̬ e̤ ḛ e̼ e̪ e̺ e̻ e
6113 \begin_inset script superscript
6114
6115 \begin_layout Plain Layout
6116 h
6117 \end_layout
6118
6119 \end_inset
6120
6121  e̹ e̜ e̟ e̠ (don't mix up with e̱) ë e̽ e̩ e̩ e̯ e˞e
6122 \begin_inset script superscript
6123
6124 \begin_layout Plain Layout
6125 w
6126 \end_layout
6127
6128 \end_inset
6129
6130  e
6131 \begin_inset script superscript
6132
6133 \begin_layout Plain Layout
6134 j
6135 \end_layout
6136
6137 \end_inset
6138
6139  e
6140 \begin_inset script superscript
6141
6142 \begin_layout Plain Layout
6143 ɣ
6144 \end_layout
6145
6146 \end_inset
6147
6148  e
6149 \begin_inset script superscript
6150
6151 \begin_layout Plain Layout
6152 ʕ
6153 \end_layout
6154
6155 \end_inset
6156
6157  e̴ e̝ e̞ e̘ e̙ ẽ e
6158 \begin_inset script superscript
6159
6160 \begin_layout Plain Layout
6161 n
6162 \end_layout
6163
6164 \end_inset
6165
6166  e
6167 \begin_inset script superscript
6168
6169 \begin_layout Plain Layout
6170 l
6171 \end_layout
6172
6173 \end_inset
6174
6175  e˺ e̋
6176 \end_layout
6177
6178 \begin_layout Standard
6179 è ē é ȅ ě ê e᷄ e᷅ e᷈ ĕ 
6180 \end_layout
6181
6182 \end_inset
6183
6184
6185 \end_layout
6186
6187 \begin_layout Standard
6188
6189 \begin_inset IPA
6190
6191 \begin_layout Standard
6192 pbtd
6193 \begin_inset ERT
6194 status collapsed
6195
6196 \begin_layout Plain Layout
6197
6198 \backslash
6199 :
6200 \end_layout
6201
6202 \end_inset
6203
6204 t
6205 \begin_inset ERT
6206 status collapsed
6207
6208 \begin_layout Plain Layout
6209
6210 \backslash
6211 :
6212 \end_layout
6213
6214 \end_inset
6215
6216 dcɟkɡq
6217 \begin_inset ERT
6218 status collapsed
6219
6220 \begin_layout Plain Layout
6221
6222 \backslash
6223 ;
6224 \end_layout
6225
6226 \end_inset
6227
6228 G
6229 \end_layout
6230
6231 \end_inset
6232
6233  
6234 \begin_inset IPA
6235
6236 \begin_layout Standard
6237 PmMn
6238 \begin_inset ERT
6239 status collapsed
6240
6241 \begin_layout Plain Layout
6242
6243 \backslash
6244 :
6245 \end_layout
6246
6247 \end_inset
6248
6249 nɲN
6250 \begin_inset ERT
6251 status collapsed
6252
6253 \begin_layout Plain Layout
6254
6255 \backslash
6256 ;
6257 \end_layout
6258
6259 \end_inset
6260
6261 N
6262 \begin_inset ERT
6263 status collapsed
6264
6265 \begin_layout Plain Layout
6266
6267 \backslash
6268 ;
6269 \end_layout
6270
6271 \end_inset
6272
6273 Br
6274 \begin_inset ERT
6275 status collapsed
6276
6277 \begin_layout Plain Layout
6278
6279 \backslash
6280 ;
6281 \end_layout
6282
6283 \end_inset
6284
6285 RR
6286 \end_layout
6287
6288 \end_inset
6289
6290  
6291 \begin_inset IPA
6292
6293 \begin_layout Standard
6294
6295 \begin_inset ERT
6296 status collapsed
6297
6298 \begin_layout Plain Layout
6299
6300 \backslash
6301 :
6302 \end_layout
6303
6304 \end_inset
6305
6306 rFBfvTDszSZ
6307 \begin_inset ERT
6308 status collapsed
6309
6310 \begin_layout Plain Layout
6311
6312 \backslash
6313 :
6314 \end_layout
6315
6316 \end_inset
6317
6318 s
6319 \end_layout
6320
6321 \end_inset
6322
6323  
6324 \begin_inset IPA
6325
6326 \begin_layout Standard
6327
6328 \begin_inset ERT
6329 status collapsed
6330
6331 \begin_layout Plain Layout
6332
6333 \backslash
6334 :
6335 \end_layout
6336
6337 \end_inset
6338
6339 zçJxGXKħQhHɬ
6340 \end_layout
6341
6342 \end_inset
6343
6344  
6345 \begin_inset IPA
6346
6347 \begin_layout Standard
6348 ɮVɹ
6349 \begin_inset ERT
6350 status collapsed
6351
6352 \begin_layout Plain Layout
6353
6354 \backslash
6355 :
6356 \end_layout
6357
6358 \end_inset
6359
6360 Rhɰl
6361 \begin_inset ERT
6362 status collapsed
6363
6364 \begin_layout Plain Layout
6365
6366 \backslash
6367 :
6368 \end_layout
6369
6370 \end_inset
6371
6372 lL
6373 \begin_inset ERT
6374 status collapsed
6375
6376 \begin_layout Plain Layout
6377
6378 \backslash
6379 ;
6380 \end_layout
6381
6382 \end_inset
6383
6384 L
6385 \end_layout
6386
6387 \end_inset
6388
6389
6390 \end_layout
6391
6392 \begin_layout Standard
6393
6394 \begin_inset IPA
6395
6396 \begin_layout Standard
6397 ʘ|!ǂ||ɓɗʄɠʛe'
6398 \end_layout
6399
6400 \end_inset
6401
6402
6403 \end_layout
6404
6405 \begin_layout Standard
6406
6407 \begin_inset IPA
6408
6409 \begin_layout Standard
6410 iy1ʉW
6411 \color red
6412 uIY
6413 \color inherit
6414 Ueø987o@Eœ3ɞ2Oæ5aɶA6
6415 \end_layout
6416
6417 \end_inset
6418
6419
6420 \end_layout
6421
6422 \begin_layout Standard
6423
6424 \begin_inset IPA
6425
6426 \begin_layout Standard
6427 ʍw4
6428 \begin_inset ERT
6429 status collapsed
6430
6431 \begin_layout Plain Layout
6432
6433 \backslash
6434 ;
6435 \end_layout
6436
6437 \end_inset
6438
6439 HʢʡCʑɺɧ
6440 \begin_inset IPADeco toptiebar
6441 status open
6442
6443 \begin_layout Standard
6444 ar
6445 \end_layout
6446
6447 \end_inset
6448
6449
6450 \begin_inset IPADeco bottomtiebar
6451 status open
6452
6453 \begin_layout Standard
6454 tz
6455 \end_layout
6456
6457 \end_inset
6458
6459
6460 \end_layout
6461
6462 \end_inset
6463
6464
6465 \end_layout
6466
6467 \begin_layout Standard
6468
6469 \begin_inset IPA
6470
6471 \begin_layout Standard
6472 :;eˈˌ|‖.͡*
6473 \begin_inset ERT
6474 status collapsed
6475
6476 \begin_layout Plain Layout
6477 {
6478 \end_layout
6479
6480 \end_inset
6481
6482  
6483 \begin_inset ERT
6484 status collapsed
6485
6486 \begin_layout Plain Layout
6487 }
6488 \end_layout
6489
6490 \end_inset
6491
6492
6493 \end_layout
6494
6495 \end_inset
6496
6497
6498 \end_layout
6499
6500 \begin_layout Standard
6501
6502 \begin_inset IPA
6503
6504 \begin_layout Standard
6505 ˥˦˧˨˩ꜜꜛ\IPAChar \tone{15}
6506 \IPAChar \tone{51}
6507 \IPAChar \tone{45}
6508 \IPAChar \tone{12}
6509 \IPAChar \tone{454}
6510 ↗↘
6511 \end_layout
6512
6513 \end_inset
6514
6515
6516 \end_layout
6517
6518 \begin_layout Standard
6519 TIPA code in math: 
6520 \begin_inset Formula $\textipa{\tone{55}|\text{\!b{}\!d{}\!g{}\!G{}\textglobfall{}\textvertline{}\textdoublevertline{}}}$
6521 \end_inset
6522
6523
6524 \end_layout
6525
6526 \begin_layout Subsection
6527 Line breaks
6528 \begin_inset Index breaks
6529 status collapsed
6530
6531 \begin_layout Plain Layout
6532 Line breaks
6533 \end_layout
6534
6535 \end_inset
6536
6537
6538 \end_layout
6539
6540 \begin_layout Standard
6541 They can also or be broken by a newline
6542 \begin_inset Newline newline
6543 \end_inset
6544
6545  or by a starred newline 
6546 \begin_inset ERT
6547 status collapsed
6548
6549 \begin_layout Plain Layout
6550
6551 \backslash
6552
6553 \backslash
6554 *
6555 \end_layout
6556
6557 \end_inset
6558
6559 or by a newline with space, comment and argument 
6560 \begin_inset ERT
6561 status collapsed
6562
6563 \begin_layout Plain Layout
6564
6565 \backslash
6566
6567 \backslash
6568 [3cm]
6569 \end_layout
6570
6571 \end_inset
6572
6573  or by a newline command 
6574 \begin_inset Newline newline
6575 \end_inset
6576
6577 or by a line break 
6578 \begin_inset Newline linebreak
6579 \end_inset
6580
6581 or by a defined line break 
6582 \begin_inset ERT
6583 status collapsed
6584
6585 \begin_layout Plain Layout
6586
6587 \backslash
6588 linebreak[4]
6589 \end_layout
6590
6591 \end_inset
6592
6593
6594 \end_layout
6595
6596 \begin_layout Standard
6597 There are even newlines with weird arguments, but these are not handled by LyX
6598 \begin_inset ERT
6599 status collapsed
6600
6601 \begin_layout Plain Layout
6602
6603 \backslash
6604
6605 \backslash
6606 *[1cm]
6607 \end_layout
6608
6609 \end_inset
6610
6611  so we try to use ERT in this case.
6612 \end_layout
6613
6614 \begin_layout Subsection
6615 Page breaks
6616 \begin_inset Index breaks
6617 status collapsed
6618
6619 \begin_layout Plain Layout
6620 Page breaks
6621 \end_layout
6622
6623 \end_inset
6624
6625
6626 \end_layout
6627
6628 \begin_layout Standard
6629 They can also or be broken by a newpage 
6630 \begin_inset Newpage newpage
6631 \end_inset
6632
6633 or by a page break 
6634 \begin_inset Newpage pagebreak
6635 \end_inset
6636
6637 or by a defined page break 
6638 \begin_inset ERT
6639 status collapsed
6640
6641 \begin_layout Plain Layout
6642
6643 \backslash
6644 pagebreak[4]
6645 \end_layout
6646
6647 \end_inset
6648
6649
6650 \end_layout
6651
6652 \begin_layout Section
6653 Special characters
6654 \begin_inset Index idx
6655 status collapsed
6656
6657 \begin_layout Plain Layout
6658 Special characters
6659 \end_layout
6660
6661 \end_inset
6662
6663
6664 \end_layout
6665
6666 \begin_layout Standard
6667 Then one has those macros with a long name for a short meaning, like ~, ^ or 
6668 \backslash
6669 , \SpecialChar breakableslash
6670 , \SpecialChar nobreakdash
6671  and the characters that LaTeX wants to espace because they are active, like _&#${}%.
6672 \end_layout
6673
6674 \begin_layout Standard
6675 And what about special characters like hyphe\SpecialChar softhyphen
6676 nation mark, ellipsis\SpecialChar ldots
6677 , and end-of-sentence\SpecialChar endofsentence
6678  LyX also supports a menu separator\SpecialChar menuseparator
6679 and a spif\SpecialChar ligaturebreak
6680 fy ligature break.
6681 \end_layout
6682
6683 \begin_layout Standard
6684 There are dashes: endash in short form – and long form –, emdash is alike: — and —. If we really want several hyphens in a row, we need to separate them: -
6685 \begin_inset ERT
6686 status collapsed
6687
6688 \begin_layout Plain Layout
6689 {}
6690 \end_layout
6691
6692 \end_inset
6693
6694 -, -
6695 \begin_inset ERT
6696 status collapsed
6697
6698 \begin_layout Plain Layout
6699 {}
6700 \end_layout
6701
6702 \end_inset
6703
6704 -
6705 \begin_inset ERT
6706 status collapsed
6707
6708 \begin_layout Plain Layout
6709 {}
6710 \end_layout
6711
6712 \end_inset
6713
6714 -, -
6715 \begin_inset ERT
6716 status collapsed
6717
6718 \begin_layout Plain Layout
6719 {}
6720 \end_layout
6721
6722 \end_inset
6723
6724 -
6725 \begin_inset ERT
6726 status collapsed
6727
6728 \begin_layout Plain Layout
6729 {}
6730 \end_layout
6731
6732 \end_inset
6733
6734 -
6735 \begin_inset ERT
6736 status collapsed
6737
6738 \begin_layout Plain Layout
6739 {}
6740 \end_layout
6741
6742 \end_inset
6743
6744 - etc.
6745 \end_layout
6746
6747 \begin_layout Standard
6748 LyX translates the phrases LyX, TeX, LaTeX2e and LaTeX to the commands \SpecialChar LyX
6749 , \SpecialChar TeX
6750 , \SpecialChar LaTeX2e
6751  and \SpecialChar LaTeX
6752 . If these phrases occur as part of other words (like 1LyX or aTeX or LaTeX3) they should not be put into ERT.
6753 \end_layout
6754
6755 \begin_layout Standard
6756 Test for whitespace handling of commands: The following lines should result in identical output:
6757 \end_layout
6758
6759 \begin_layout Standard
6760 builtin ^ unicodesymbols ȷ user 
6761 \begin_inset ERT
6762 status collapsed
6763
6764 \begin_layout Plain Layout
6765
6766 \backslash
6767 mycommand
6768 \end_layout
6769
6770 \end_inset
6771
6772
6773 \begin_inset ERT
6774 status collapsed
6775
6776 \begin_layout Plain Layout
6777 {}
6778 \end_layout
6779
6780 \end_inset
6781
6782  xx
6783 \end_layout
6784
6785 \begin_layout Standard
6786 builtin ^ unicodesymbols ȷ user 
6787 \begin_inset ERT
6788 status collapsed
6789
6790 \begin_layout Plain Layout
6791
6792 \backslash
6793 mycommand
6794 \end_layout
6795
6796 \end_inset
6797
6798
6799 \begin_inset ERT
6800 status collapsed
6801
6802 \begin_layout Plain Layout
6803 {}
6804 \end_layout
6805
6806 \end_inset
6807
6808  xx
6809 \end_layout
6810
6811 \begin_layout Standard
6812 builtin ^ unicodesymbols ȷ user 
6813 \begin_inset ERT
6814 status collapsed
6815
6816 \begin_layout Plain Layout
6817
6818 \backslash
6819 mycommand
6820 \end_layout
6821
6822 \end_inset
6823
6824  
6825 \begin_inset ERT
6826 status collapsed
6827
6828 \begin_layout Plain Layout
6829 % and another
6830 \end_layout
6831
6832 \begin_layout Plain Layout
6833
6834 \end_layout
6835
6836 \end_inset
6837
6838
6839 \begin_inset ERT
6840 status collapsed
6841
6842 \begin_layout Plain Layout
6843 {}
6844 \end_layout
6845
6846 \end_inset
6847
6848  xx
6849 \end_layout
6850
6851 \begin_layout Standard
6852 A sub
6853 \begin_inset script subscript
6854
6855 \begin_layout Plain Layout
6856 sc
6857 \emph on
6858 ript
6859 \emph default
6860
6861 \end_layout
6862
6863 \end_inset
6864
6865  and super
6866 \begin_inset script superscript
6867
6868 \begin_layout Plain Layout
6869 script with 
6870 \begin_inset Formula $a^2+b^2=c^2$
6871 \end_inset
6872
6873  math
6874 \end_layout
6875
6876 \end_inset
6877
6878 .
6879 \end_layout
6880
6881 \begin_layout Standard
6882 latex2writer outputs quotes in braces like 
6883 \begin_inset Quotes ers
6884 \end_inset
6885
6886 . We swallow the, but this was one broken (bug 8903).
6887 \end_layout
6888
6889 \begin_layout Section
6890 Mathematics
6891 \begin_inset Index idx
6892 status collapsed
6893
6894 \begin_layout Plain Layout
6895 Mathematics
6896 \end_layout
6897
6898 \end_inset
6899
6900
6901 \end_layout
6902
6903 \begin_layout Standard
6904 Let 
6905 \begin_inset Formula $f:\left[  a,b\right]  \rightarrow%TCIMACRO{\U{211d} }%
6906 %BeginExpansion
6907 \mathbb{R}
6908 %EndExpansion
6909 $
6910 \end_inset
6911
6912 .
6913 \end_layout
6914
6915 \begin_layout Standard
6916
6917 \begin_inset Formula \[
6918 \begin{array}{rclccc}
6919 1 + 2 & = & 3 
6920 \multicolumn{3}{c}{4 < 5 \leq 6 }
6921 \end{array}
6922 \]
6923 \end_inset
6924
6925
6926 \end_layout
6927
6928 \begin_layout Section
6929 Lists/Indices
6930 \end_layout
6931
6932 \begin_layout Standard
6933 single 
6934 \backslash
6935 addcontentsline: 
6936 \begin_inset ERT
6937 status collapsed
6938
6939 \begin_layout Plain Layout
6940
6941 \backslash
6942 addcontentsline{toc}{section}{test}
6943 \end_layout
6944
6945 \end_inset
6946
6947
6948 \end_layout
6949
6950 \begin_layout Standard
6951 with 
6952 \backslash
6953 addcontentsline and 
6954 \backslash
6955 phantomsection:
6956 \end_layout
6957
6958 \begin_layout Standard
6959  
6960 \begin_inset CommandInset bibtex
6961 LatexCommand bibtex
6962 bibfiles "xampl"
6963 options "bibtotoc,test"
6964
6965 \end_inset
6966
6967
6968 \end_layout
6969
6970 \begin_layout Standard
6971 normal:
6972 \end_layout
6973
6974 \begin_layout Standard
6975  
6976 \begin_inset CommandInset bibtex
6977 LatexCommand bibtex
6978 bibfiles "xampl"
6979 options "test"
6980
6981 \end_inset
6982
6983
6984 \end_layout
6985
6986 \begin_layout Standard
6987 with wrong 
6988 \backslash
6989 addcontentsline:
6990 \end_layout
6991
6992 \begin_layout Standard
6993
6994 \begin_inset ERT
6995 status collapsed
6996
6997 \begin_layout Plain Layout
6998
6999 \backslash
7000 bibliographystyle{test}
7001 \end_layout
7002
7003 \end_inset
7004
7005  
7006 \begin_inset ERT
7007 status collapsed
7008
7009 \begin_layout Plain Layout
7010
7011 \backslash
7012 addcontentsline{toc}{section}{test}
7013 \end_layout
7014
7015 \end_inset
7016
7017   
7018 \begin_inset CommandInset bibtex
7019 LatexCommand bibtex
7020 bibfiles "xampl"
7021 options "test"
7022
7023 \end_inset
7024
7025
7026 \end_layout
7027
7028 \begin_layout Standard
7029 with 
7030 \backslash
7031 addcontentsline and 
7032 \backslash
7033 nocite{*}:
7034 \end_layout
7035
7036 \begin_layout Standard
7037   
7038 \begin_inset CommandInset bibtex
7039 LatexCommand bibtex
7040 btprint "btPrintAll"
7041 bibfiles "xampl"
7042 options "bibtotoc,test"
7043
7044 \end_inset
7045
7046
7047 \end_layout
7048
7049 \begin_layout Standard
7050 undefined index:
7051 \end_layout
7052
7053 \begin_layout Standard
7054
7055 \begin_inset CommandInset index_print
7056 LatexCommand printindex
7057 type "idx"
7058 literal "true"
7059
7060 \end_inset
7061
7062
7063 \end_layout
7064
7065 \begin_layout Standard
7066 index 
7067 \begin_inset ERT
7068 status collapsed
7069
7070 \begin_layout Plain Layout
7071 "
7072 \end_layout
7073
7074 \end_inset
7075
7076 idx
7077 \begin_inset ERT
7078 status collapsed
7079
7080 \begin_layout Plain Layout
7081 "
7082 \end_layout
7083
7084 \end_inset
7085
7086 :
7087 \end_layout
7088
7089 \begin_layout Standard
7090
7091 \begin_inset CommandInset index_print
7092 LatexCommand printindex
7093 type "idx"
7094 literal "true"
7095
7096 \end_inset
7097
7098
7099 \end_layout
7100
7101 \begin_layout Standard
7102 index 
7103 \begin_inset ERT
7104 status collapsed
7105
7106 \begin_layout Plain Layout
7107 "
7108 \end_layout
7109
7110 \end_inset
7111
7112 new
7113 \begin_inset ERT
7114 status collapsed
7115
7116 \begin_layout Plain Layout
7117 "
7118 \end_layout
7119
7120 \end_inset
7121
7122 :
7123 \end_layout
7124
7125 \begin_layout Standard
7126
7127 \begin_inset CommandInset index_print
7128 LatexCommand printindex
7129 type "new"
7130 literal "true"
7131
7132 \end_inset
7133
7134
7135 \end_layout
7136
7137 \begin_layout Standard
7138 subindex 
7139 \begin_inset ERT
7140 status collapsed
7141
7142 \begin_layout Plain Layout
7143 "
7144 \end_layout
7145
7146 \end_inset
7147
7148 new
7149 \begin_inset ERT
7150 status collapsed
7151
7152 \begin_layout Plain Layout
7153 "
7154 \end_layout
7155
7156 \end_inset
7157
7158 :
7159 \end_layout
7160
7161 \begin_layout Standard
7162
7163 \begin_inset CommandInset index_print
7164 LatexCommand printsubindex
7165 type "idx"
7166 literal "true"
7167
7168 \end_inset
7169
7170
7171 \end_layout
7172
7173 \begin_layout Standard
7174 index of all indices:
7175 \end_layout
7176
7177 \begin_layout Standard
7178
7179 \begin_inset CommandInset index_print
7180 LatexCommand printindex*
7181
7182 \end_inset
7183
7184
7185 \end_layout
7186
7187 \begin_layout Standard
7188 subindex of all indices:
7189 \end_layout
7190
7191 \begin_layout Standard
7192
7193 \begin_inset CommandInset index_print
7194 LatexCommand printsubindex*
7195
7196 \end_inset
7197
7198
7199 \end_layout
7200
7201 \begin_layout Standard
7202 normal nomenclature:
7203 \end_layout
7204
7205 \begin_layout Standard
7206
7207 \begin_inset CommandInset nomencl_print
7208 LatexCommand printnomenclature
7209 set_width "none"
7210
7211 \end_inset
7212
7213 hello
7214 \end_layout
7215
7216 \begin_layout Standard
7217 manually set width: 
7218 \begin_inset ERT
7219 status collapsed
7220
7221 \begin_layout Plain Layout
7222
7223 \backslash
7224 settowidth{
7225 \backslash
7226 nomlabelwidth}{URL2}
7227 \end_layout
7228
7229 \end_inset
7230
7231  
7232 \begin_inset CommandInset nomencl_print
7233 LatexCommand printnomenclature
7234 set_width "none"
7235
7236 \end_inset
7237
7238
7239 \end_layout
7240
7241 \begin_layout Standard
7242 nomenclature with set width:
7243 \end_layout
7244
7245 \begin_layout Standard
7246
7247 \begin_inset CommandInset nomencl_print
7248 LatexCommand printnomenclature
7249 set_width "custom"
7250 width "2line%"
7251 \end_inset
7252
7253
7254 \end_layout
7255
7256 \end_body
7257 \end_document