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