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