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