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