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