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