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