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