]> git.lyx.org Git - lyx.git/blob - lib/doc/EmbeddedObjects.lyx
an example for the sweave module, prepared by Gregor Gorjanc
[lyx.git] / lib / doc / EmbeddedObjects.lyx
1 #LyX 1.6.3svn created this file. For more info see http://www.lyx.org/
2 \lyxformat 345
3 \begin_document
4 \begin_header
5 \textclass scrbook
6 \begin_preamble
7 % if pdflatex is used
8 \usepackage{ifpdf}
9 \ifpdf
10
11 % set fonts for nicer pdf view
12 \IfFileExists{lmodern.sty}
13  {\usepackage{lmodern}}{}
14
15 \fi % end if pdflatex is used
16
17 % that links to image floats jumps
18 % to the beginning of the float and 
19 % not to its caption
20 \usepackage[figure]{hypcap}
21
22 % the pages of the TOC is numbered roman
23 % and a PDF-bookmark for the TOC is added
24 \let\myTOC\tableofcontents
25 \renewcommand\tableofcontents{%
26   \frontmatter
27   \pdfbookmark[1]{\contentsname}{}
28   \myTOC
29   \mainmatter }
30
31 % provides caption formatting
32 \usepackage[labelfont={bf,sf}, tableposition=top]{caption}[2004/07/16]
33
34 % provides commands to set caption
35 % beside tables/images
36 \usepackage{sidecap}
37
38 \newcommand{\TabBesBeg}{%
39  \let\MyTable\table
40  \let\MyEndtable\endtable
41  \renewenvironment{table}{\begin{SCtable}}{\end{SCtable}}}
42
43 \newcommand{\TabBesEnd}{%
44  \let\table\MyTable
45  \let\endtable\MyEndtable}
46
47 \newcommand{\FigBesBeg}{%
48  \let\MyFigure\figure
49  \let\MyEndfigure\endfigure
50  \renewenvironment{figure}{\begin{SCfigure}}{\end{SCfigure}}}
51
52 \newcommand{\FigBesEnd}{%
53  \let\figure\MyFigure
54  \let\endfigure\MyEndfigure}
55
56 % enables calculation of values,
57 \usepackage{calc}
58
59 % provides special table cell alignments
60 \usepackage{dcolumn}
61
62 % increase the bottom float placement fraction
63 \renewcommand{\bottomfraction}{0.5}
64
65 % avoids that floats are placed before their
66 % corresponding section starts
67 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
68
69 % speed up the longtable calculation
70 \setcounter{LTchunksize}{100}
71
72 % used for scaled and rotated boxes
73 \@ifundefined{rotatebox}{\usepackage{graphicx}}{}
74
75 % used for colored tables
76 \@ifundefined{textcolor}
77  {\usepackage{color}}{}
78 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
79 \definecolor{lightgrey}{gray}{0.8}
80
81 % check for package colortbl
82 % used for colored table cells
83 \newboolean{colortbl}
84 \IfFileExists{colortbl.sty}
85  {\usepackage{colortbl}
86   \setboolean{colortbl}{true}}
87  {\setboolean{colortbl}{false}}
88
89 % used for multirows
90 \usepackage{multirow}
91 %\renewcommand{\multirowsetup}{\centering}
92
93 % used for book-style tables
94 \usepackage{booktabs}
95
96 % used to have extra space in table cells
97 \@ifundefined{extrarowheight}
98  {\usepackage{array}}{}
99 \setlength{\extrarowheight}{2pt}
100
101 % used for customized tables
102 % ---
103 \newcolumntype{M}[1]
104  {>{\centering\hspace{0pt}}m{#1}}
105
106 \newcolumntype{S}[2]
107  {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
108
109 \newcolumntype{K}[1]
110  {>{\columncolor{#1}\hspace{0pt}}c}
111
112 \newcolumntype{V}{!{\vrule width 1.5pt}}
113
114 \newcolumntype{W}{!{\color{green}\vline}}
115 % ---
116
117 % insert additional vertical space of
118 % 1.5 mm between footnotes
119 \let\myFoot\footnote
120 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
121
122 % number algorithm floats within chapters
123 \numberwithin{algorithm}{chapter}
124
125 % redefine the greyed out note
126 \renewenvironment{lyxgreyedout}
127  {\textcolor{blue}\bgroup}{\egroup}
128
129 % ------------------------------------
130 % used to check for needed LaTeX packages
131 \usepackage{ifthen}
132
133 % check for package arydshln
134 % used for tables with dashed lines
135 \newboolean{arydshln}
136 \IfFileExists{arydshln.sty}
137  {\usepackage{arydshln}
138   \setboolean{arydshln}{true}}
139  {\setboolean{arydshln}{false}}
140
141 % check for package marginnote
142 % used for margin notes
143 \newboolean{marginnote}
144 \IfFileExists{marginnote.sty}
145  {\usepackage{marginnote}
146   \let\marginpar\marginnote
147   \setboolean{marginnote}{true}}
148  {\setboolean{marginnote}{false}}
149
150 % check for package sidecap
151 % used for captions on the side
152 \newboolean{sidecap}
153 \IfFileExists{sidecap.sty}
154  {\usepackage{sidecap}
155   \let\marginpar\marginnote
156   \setboolean{sidecap}{true}}
157  {\setboolean{sidecap}{false}}
158
159 % redefine the \LyX macro for PDF bookmarks
160 \def\LyX{\texorpdfstring{%
161   L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
162   {LyX}}
163 \end_preamble
164 \options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove
165 \use_default_options false
166 \language english
167 \inputencoding auto
168 \font_roman default
169 \font_sans default
170 \font_typewriter default
171 \font_default_family default
172 \font_sc false
173 \font_osf false
174 \font_sf_scale 100
175 \font_tt_scale 100
176
177 \graphics default
178 \paperfontsize 12
179 \spacing single
180 \use_hyperref true
181 \pdf_title "LyX's Figure, Table, Floats, Notes, and Boxes manual"
182 \pdf_author "LyX Team, Uwe Stöhr"
183 \pdf_subject "LyX-documentation about figures, tables, floats, notes, and boxes"
184 \pdf_keywords "LyX, Tables, Figures, Floats, Boxes, Notes"
185 \pdf_bookmarks true
186 \pdf_bookmarksnumbered true
187 \pdf_bookmarksopen true
188 \pdf_bookmarksopenlevel 1
189 \pdf_breaklinks false
190 \pdf_pdfborder false
191 \pdf_colorlinks true
192 \pdf_backref false
193 \pdf_pdfusetitle false
194 \pdf_quoted_options " linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,  pdfpagelayout=OneColumn, pdfnewwindow=true,  pdfstartview=XYZ, plainpages=false, pdfpagelabels"
195 \papersize default
196 \use_geometry false
197 \use_amsmath 2
198 \use_esint 0
199 \cite_engine basic
200 \use_bibtopic false
201 \paperorientation portrait
202 \secnumdepth 3
203 \tocdepth 3
204 \paragraph_separation skip
205 \defskip medskip
206 \quotes_language english
207 \papercolumns 1
208 \papersides 2
209 \paperpagestyle default
210 \bullet 1 1 34 -1
211 \bullet 2 2 35 -1
212 \bullet 3 2 7 -1
213 \tracking_changes false
214 \output_changes false
215 \author "" 
216 \author "" 
217 \end_header
218
219 \begin_body
220
221 \begin_layout Title
222 LyX's detailed Figure, Table, Floats, Notes, Boxes and External Material
223  manual
224 \end_layout
225
226 \begin_layout Author
227 by the LyX Team
228 \begin_inset Foot
229 status collapsed
230
231 \begin_layout Plain Layout
232 \noindent
233 If you have comments or error corrections, please send them to the LyX Documenta
234 tion mailing list: 
235 \begin_inset CommandInset href
236 LatexCommand href
237 name "lyx-docs@lists.lyx.org"
238 target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
239 type "mailto:"
240
241 \end_inset
242
243
244 \end_layout
245
246 \end_inset
247
248
249 \begin_inset Note Note
250 status collapsed
251
252 \begin_layout Plain Layout
253 author: Uwe Stöhr
254 \end_layout
255
256 \end_inset
257
258
259 \begin_inset Newline newline
260 \end_inset
261
262
263 \begin_inset Newline newline
264 \end_inset
265
266
267 \family sans
268 Version 1.6.x
269 \end_layout
270
271 \begin_layout Standard
272 \begin_inset CommandInset toc
273 LatexCommand tableofcontents
274
275 \end_inset
276
277
278 \end_layout
279
280 \begin_layout Standard
281 \begin_inset Note Note
282 status open
283
284 \begin_layout Plain Layout
285 To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
286  
287 \series bold
288 arydshln
289 \series default
290
291 \series bold
292 colortbl
293 \series default
294
295 \series bold
296 marginnote
297 \series default
298 , and 
299 \series bold
300 sidecap
301 \series default
302  must be installed.
303  If they are not installed you can export the document anyway but the sections
304  where the packages are required won't appear in the output.
305 \end_layout
306
307 \begin_layout Plain Layout
308 The latest PDF-version of this document can be found here:
309 \begin_inset Newline newline
310 \end_inset
311
312
313 \series bold
314 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
315 \end_layout
316
317 \end_inset
318
319
320 \end_layout
321
322 \begin_layout Chapter
323 Figures
324 \begin_inset Index
325 status collapsed
326
327 \begin_layout Plain Layout
328 Figures
329 \end_layout
330
331 \end_inset
332
333
334 \begin_inset Index
335 status collapsed
336
337 \begin_layout Plain Layout
338 Graphics|see
339 \begin_inset ERT
340 status collapsed
341
342 \begin_layout Plain Layout
343
344 {
345 \end_layout
346
347 \end_inset
348
349 Figures
350 \begin_inset ERT
351 status collapsed
352
353 \begin_layout Plain Layout
354
355 }
356 \end_layout
357
358 \end_inset
359
360
361 \end_layout
362
363 \end_inset
364
365
366 \end_layout
367
368 \begin_layout Section
369 Graphics Dialog
370 \begin_inset Index
371 status collapsed
372
373 \begin_layout Plain Layout
374 Figures ! Graphics Dialog
375 \end_layout
376
377 \end_inset
378
379
380 \begin_inset CommandInset label
381 LatexCommand label
382 name "sec:Graphics-Dialog"
383
384 \end_inset
385
386
387 \end_layout
388
389 \begin_layout Standard
390 To insert an image into your document, place the cursor at the text position
391  you want and click on the toolbar icon 
392 \begin_inset Graphics
393         filename ../images/dialog-show-new-inset_graphics.png
394         scale 85
395         scaleBeforeRotation
396
397 \end_inset
398
399  or use the menu 
400 \family sans
401 Insert\SpecialChar \menuseparator
402 Graphics
403 \family default
404 .
405  Then a dialog will appear to choose the file to load.
406  The image will appear in the output exactly at the position where it is
407  in the text.
408 \end_layout
409
410 \begin_layout Standard
411 The graphics dialog can be called at any time by clicking on an image.
412  This dialog has three tabs:
413 \end_layout
414
415 \begin_layout Description
416
417 \family sans
418 Graphics
419 \family default
420  Here you can choose an image file and adjust its appearance in the output.
421  The available units for the image size are explained in appendix
422 \begin_inset space ~
423 \end_inset
424
425
426 \begin_inset CommandInset ref
427 LatexCommand ref
428 reference "cha:Units-available-in"
429
430 \end_inset
431
432 .
433 \begin_inset Newline newline
434 \end_inset
435
436
437 \begin_inset Index
438 status collapsed
439
440 \begin_layout Plain Layout
441 Figures ! rotated
442 \end_layout
443
444 \end_inset
445
446 You can rotate images counter-clockwise by setting a rotation angle and
447  a rotation origin.
448  The image will also be rotated inside LyX.
449 \begin_inset Newline newline
450 \end_inset
451
452
453 \begin_inset Index
454 status collapsed
455
456 \begin_layout Plain Layout
457 Figures ! scaled
458 \end_layout
459
460 \end_inset
461
462 Images can be scaled by using a percentage value or by setting the width
463  and height explicitly.
464  If you set only the width or only the height, the other size will be determined
465  automatically.
466  If you set both, then the image will be transformed to the given size,
467  possibly distorting it.
468  To prevent the image from distortion, use the option 
469 \family sans
470 Maintain aspect ratio
471 \family default
472 .
473  The image will then be scaled so that its width and height don't exceed
474  the specified dimensions.
475 \begin_inset Newline newline
476 \end_inset
477
478 Images can be opened in a program of your choice by right-clicking on it
479  choosing the entry 
480 \family sans
481 Edit
482 \begin_inset space ~
483 \end_inset
484
485 externally
486 \family default
487  in the appearing context menu.
488  The program can be set for every image format in the file format settings
489  in LyX's preferences.
490 \end_layout
491
492 \begin_layout Description
493
494 \family sans
495 Clipping
496 \family default
497  Alternatively to the usage of scaling units it is possible to set image
498  coordinates to adjust the height and width of the image in the output.
499  The coordinates can also be calculated automatically by pressing the button
500  
501 \family sans
502 Get
503 \begin_inset space ~
504 \end_inset
505
506 from
507 \begin_inset space ~
508 \end_inset
509
510 File
511 \family default
512 .
513  The option 
514 \family sans
515 Clip
516 \begin_inset space ~
517 \end_inset
518
519 to
520 \begin_inset space ~
521 \end_inset
522
523 bounding
524 \begin_inset space ~
525 \end_inset
526
527 box
528 \family default
529  will only print the image region within the given coordinates.
530  Normally you don't need to take care about image coordinates and can ignore
531  this tab.
532 \end_layout
533
534 \begin_layout Description
535
536 \family sans
537 LaTeX
538 \begin_inset space ~
539 \end_inset
540
541 and
542 \begin_inset space ~
543 \end_inset
544
545 LyX
546 \begin_inset space ~
547 \end_inset
548
549 options
550 \family default
551  In this tab you can modify the appearance of the image within LyX and LaTeX
552  experts can specify additional LaTeX options.
553 \begin_inset Newline newline
554 \end_inset
555
556 The option 
557 \family sans
558 Draft
559 \begin_inset space ~
560 \end_inset
561
562 mode
563 \family default
564  makes the image appear in the output only as a frame with the size of the
565  image.
566 \begin_inset Newline newline
567 \end_inset
568
569 The 
570 \family sans
571 Don't
572 \begin_inset space ~
573 \end_inset
574
575 unzip
576 \begin_inset space ~
577 \end_inset
578
579 on
580 \begin_inset space ~
581 \end_inset
582
583 export
584 \family default
585  option only affects zipped EPS-graphics, e.
586 \begin_inset space \thinspace{}
587 \end_inset
588
589 g.
590 \begin_inset space \space{}
591 \end_inset
592
593
594 \emph on
595 x.eps.gz
596 \emph default
597 .
598  When the option is used the images will not be unzipped on export, since
599  LaTeX can handle them as they are.
600 \begin_inset Newline newline
601 \end_inset
602
603 Zipped EPS-graphics are useful to save disk space when you choose PostScript
604  as output format, see appendix
605 \begin_inset space ~
606 \end_inset
607
608
609 \begin_inset CommandInset ref
610 LatexCommand ref
611 reference "sec:PostScript"
612
613 \end_inset
614
615 .
616  To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows
617  console:
618 \begin_inset Newline newline
619 \end_inset
620
621
622 \series bold
623 gzip x.eps
624 \series default
625
626 \begin_inset Newline newline
627 \end_inset
628
629
630 \series bold
631 zgrep %%Bounding x.eps.gz > x.eps.bb
632 \series default
633
634 \begin_inset Newline newline
635 \end_inset
636
637 The second command creates the bounding box file 
638 \begin_inset Quotes eld
639 \end_inset
640
641 x.eps.bb
642 \begin_inset Quotes erd
643 \end_inset
644
645  that is needed by LaTeX for zipped graphics.
646 \begin_inset Newline newline
647 \end_inset
648
649 The field 
650 \family sans
651 Initialize
652 \begin_inset space ~
653 \end_inset
654
655 Group
656 \begin_inset space ~
657 \end_inset
658
659 Name
660 \family default
661  allows you define or join an image settings group.
662 \begin_inset Index
663 status collapsed
664
665 \begin_layout Plain Layout
666 Figures ! Settings grouping
667 \end_layout
668
669 \end_inset
670
671  Images within such a group share their settings, so adjusting one image
672  of the group automatically also adjusts all other images of the group in
673  the same way.
674  So you can for example change the size for a bunch of images without the
675  need to manually change each of them.
676  Joining an existing group can also be done using the context menu of the
677  image by checking the name of the desired group.
678 \end_layout
679
680 \begin_layout Standard
681 \begin_inset VSpace bigskip
682 \end_inset
683
684
685 \end_layout
686
687 \begin_layout Standard
688 This is an example image in EPS format
689 \begin_inset Foot
690 status collapsed
691
692 \begin_layout Plain Layout
693 Image formats are explained in section
694 \begin_inset space ~
695 \end_inset
696
697
698 \begin_inset CommandInset ref
699 LatexCommand ref
700 reference "sec:Image-Formats"
701
702 \end_inset
703
704 .
705 \end_layout
706
707 \end_inset
708
709  within a separate, horizontally centered paragraph:
710 \end_layout
711
712 \begin_layout Standard
713 \align center
714 \begin_inset Graphics
715         filename clipart/mobius.eps
716         scale 70
717         scaleBeforeRotation
718         rotateOrigin center
719
720 \end_inset
721
722
723 \end_layout
724
725 \begin_layout Standard
726 This is the same image like the one above but in draft mode:
727 \end_layout
728
729 \begin_layout Standard
730 \align center
731 \begin_inset Graphics
732         filename clipart/mobius.eps
733         scale 70
734         draft
735         scaleBeforeRotation
736         rotateOrigin center
737
738 \end_inset
739
740
741 \end_layout
742
743 \begin_layout Standard
744 \begin_inset Newpage newpage
745 \end_inset
746
747
748 \end_layout
749
750 \begin_layout Section
751 Figure Floats
752 \begin_inset CommandInset label
753 LatexCommand label
754 name "sec:Figure-Floats"
755
756 \end_inset
757
758
759 \begin_inset Index
760 status collapsed
761
762 \begin_layout Plain Layout
763 Floats ! Figures
764 \end_layout
765
766 \end_inset
767
768
769 \begin_inset Index
770 status collapsed
771
772 \begin_layout Plain Layout
773 Figures ! Floats
774 \end_layout
775
776 \end_inset
777
778
779 \end_layout
780
781 \begin_layout Standard
782 For general explanations about floats, have a look at section
783 \begin_inset space ~
784 \end_inset
785
786
787 \begin_inset CommandInset ref
788 LatexCommand ref
789 reference "sec:FloatIntroduction"
790
791 \end_inset
792
793 .
794 \end_layout
795
796 \begin_layout Standard
797 The toolbar button 
798 \begin_inset Graphics
799         filename ../images/float-insert_figure.png
800         scale 85
801         scaleBeforeRotation
802
803 \end_inset
804
805  and the menu 
806 \family sans
807 Insert\SpecialChar \menuseparator
808 Float\SpecialChar \menuseparator
809 Figure
810 \family default
811  inserts a float with a caption that has the label 
812 \begin_inset Quotes eld
813 \end_inset
814
815 Figure
816 \begin_inset space ~
817 \end_inset
818
819 #:
820 \begin_inset Quotes erd
821 \end_inset
822
823  (# is the actual number).
824  You can insert the image above the caption, like in Figure
825 \begin_inset space ~
826 \end_inset
827
828
829 \begin_inset CommandInset ref
830 LatexCommand ref
831 reference "fig:kill-plat"
832
833 \end_inset
834
835  or below the caption, like in Figure
836 \begin_inset space ~
837 \end_inset
838
839
840 \begin_inset CommandInset ref
841 LatexCommand ref
842 reference "fig:escher"
843
844 \end_inset
845
846 .
847  More about the caption placement is described in section
848 \begin_inset space ~
849 \end_inset
850
851
852 \begin_inset CommandInset ref
853 LatexCommand ref
854 reference "sec:Caption-Placement"
855
856 \end_inset
857
858 .
859 \end_layout
860
861 \begin_layout Standard
862 \begin_inset Float figure
863 wide false
864 sideways false
865 status open
866
867 \begin_layout Plain Layout
868 \align center
869 \begin_inset Graphics
870         filename clipart/platypus.eps
871         width 50col%
872         scaleBeforeRotation
873         rotateOrigin center
874
875 \end_inset
876
877
878 \end_layout
879
880 \begin_layout Plain Layout
881 \begin_inset Caption
882
883 \begin_layout Plain Layout
884 \begin_inset CommandInset label
885 LatexCommand label
886 name "fig:kill-plat"
887
888 \end_inset
889
890 A severely distorted platypus in a float.
891 \end_layout
892
893 \end_inset
894
895
896 \end_layout
897
898 \end_inset
899
900
901 \end_layout
902
903 \begin_layout Standard
904 \begin_inset Float figure
905 wide false
906 sideways false
907 status open
908
909 \begin_layout Plain Layout
910 \begin_inset Caption
911
912 \begin_layout Plain Layout
913 \begin_inset CommandInset label
914 LatexCommand label
915 name "fig:escher"
916
917 \end_inset
918
919 M.C.
920  Escher on acid.
921 \end_layout
922
923 \end_inset
924
925
926 \end_layout
927
928 \begin_layout Plain Layout
929 \align center
930 \begin_inset Graphics
931         filename clipart/escher-lsd.eps
932         scale 80
933         scaleBeforeRotation
934         rotateOrigin center
935
936 \end_inset
937
938
939 \end_layout
940
941 \end_inset
942
943
944 \end_layout
945
946 \begin_layout Standard
947 \begin_inset Index
948 status collapsed
949
950 \begin_layout Plain Layout
951 References ! to Figures
952 \end_layout
953
954 \end_inset
955
956 Figure
957 \begin_inset space ~
958 \end_inset
959
960
961 \begin_inset CommandInset ref
962 LatexCommand ref
963 reference "fig:kill-plat"
964
965 \end_inset
966
967  and 
968 \begin_inset CommandInset ref
969 LatexCommand ref
970 reference "fig:escher"
971
972 \end_inset
973
974  are examples of referenced figures.
975  Figures can be referenced in the text by referencing their label.
976  To do this insert a label in the caption using the menu 
977 \family sans
978 Insert\SpecialChar \menuseparator
979 Label
980 \family default
981  or the toolbar button 
982 \begin_inset Graphics
983         filename ../images/label-insert.png
984         scale 85
985         scaleBeforeRotation
986
987 \end_inset
988
989 .
990  You can now refer to the label using the menu 
991 \family sans
992 Insert\SpecialChar \menuseparator
993 Cross
994 \begin_inset space ~
995 \end_inset
996
997 reference
998 \family default
999  or the toolbar button 
1000 \begin_inset Graphics
1001         filename ../images/dialog-show-new-inset_ref.png
1002         scale 85
1003         scaleBeforeRotation
1004
1005 \end_inset
1006
1007 .
1008  It is important to use references to floats, rather than using vague references
1009  like 
1010 \begin_inset Quotes eld
1011 \end_inset
1012
1013 the figure above
1014 \begin_inset Quotes erd
1015 \end_inset
1016
1017 , because as LaTeX will reposition the floats in the final document, it
1018  might not be 
1019 \begin_inset Quotes eld
1020 \end_inset
1021
1022 above
1023 \begin_inset Quotes erd
1024 \end_inset
1025
1026  at all.
1027 \begin_inset Newline newline
1028 \end_inset
1029
1030 Referencing is explained in detail in section
1031 \begin_inset space ~
1032 \end_inset
1033
1034
1035 \begin_inset CommandInset ref
1036 LatexCommand ref
1037 reference "sec:Referencing-Floats"
1038
1039 \end_inset
1040
1041 .
1042 \end_layout
1043
1044 \begin_layout Standard
1045 Normally only one image is inserted to a figure float, but sometimes you
1046  might want to use two images with separate subcaptions.
1047  This can be done by inserting image floats into existing image floats.
1048  Note that only the main caption of the float is added to the List of Figures.
1049  Figure
1050 \begin_inset space ~
1051 \end_inset
1052
1053
1054 \begin_inset CommandInset ref
1055 LatexCommand ref
1056 reference "fig:Two-distorted-images"
1057
1058 \end_inset
1059
1060  is an example of a figure float with two images set side by side.
1061  You can also set the images one below the other.
1062  Figure
1063 \begin_inset space ~
1064 \end_inset
1065
1066
1067 \begin_inset CommandInset ref
1068 LatexCommand ref
1069 reference "fig:Undefinable-structure"
1070
1071 \end_inset
1072
1073  and 
1074 \begin_inset CommandInset ref
1075 LatexCommand ref
1076 reference "fig:A-Platypus"
1077
1078 \end_inset
1079
1080  are the subfigures.
1081 \end_layout
1082
1083 \begin_layout Standard
1084 \begin_inset Float figure
1085 wide false
1086 sideways false
1087 status open
1088
1089 \begin_layout Plain Layout
1090 \begin_inset space \hfill{}
1091 \end_inset
1092
1093
1094 \begin_inset Float figure
1095 wide false
1096 sideways false
1097 status collapsed
1098
1099 \begin_layout Plain Layout
1100 \begin_inset Caption
1101
1102 \begin_layout Plain Layout
1103 \begin_inset CommandInset label
1104 LatexCommand label
1105 name "fig:Undefinable-structure"
1106
1107 \end_inset
1108
1109 Undefinable structure.
1110 \end_layout
1111
1112 \end_inset
1113
1114
1115 \end_layout
1116
1117 \begin_layout Plain Layout
1118 \begin_inset Graphics
1119         filename clipart/escher-lsd.eps
1120         width 45col%
1121         scaleBeforeRotation
1122         groupId distorted
1123
1124 \end_inset
1125
1126
1127 \end_layout
1128
1129 \end_inset
1130
1131
1132 \begin_inset space \hfill{}
1133 \end_inset
1134
1135
1136 \begin_inset Float figure
1137 wide false
1138 sideways false
1139 status collapsed
1140
1141 \begin_layout Plain Layout
1142 \begin_inset Caption
1143
1144 \begin_layout Plain Layout
1145 \begin_inset CommandInset label
1146 LatexCommand label
1147 name "fig:A-Platypus"
1148
1149 \end_inset
1150
1151 A Platypus.
1152 \end_layout
1153
1154 \end_inset
1155
1156
1157 \end_layout
1158
1159 \begin_layout Plain Layout
1160 \begin_inset Graphics
1161         filename clipart/platypus.eps
1162         width 45col%
1163         scaleBeforeRotation
1164         groupId distorted
1165
1166 \end_inset
1167
1168
1169 \end_layout
1170
1171 \end_inset
1172
1173
1174 \begin_inset space \hfill{}
1175 \end_inset
1176
1177
1178 \end_layout
1179
1180 \begin_layout Plain Layout
1181 \begin_inset Caption
1182
1183 \begin_layout Plain Layout
1184 \begin_inset CommandInset label
1185 LatexCommand label
1186 name "fig:Two-distorted-images"
1187
1188 \end_inset
1189
1190 Two distorted images.
1191  Both images are in the image settings group named 
1192 \begin_inset Quotes eld
1193 \end_inset
1194
1195 distorted
1196 \begin_inset Quotes erd
1197 \end_inset
1198
1199 .
1200 \end_layout
1201
1202 \end_inset
1203
1204
1205 \end_layout
1206
1207 \end_inset
1208
1209
1210 \end_layout
1211
1212 \begin_layout Standard
1213 \begin_inset Newpage newpage
1214 \end_inset
1215
1216
1217 \end_layout
1218
1219 \begin_layout Section
1220 Image Formats
1221 \begin_inset CommandInset label
1222 LatexCommand label
1223 name "sec:Image-Formats"
1224
1225 \end_inset
1226
1227
1228 \begin_inset Index
1229 status collapsed
1230
1231 \begin_layout Plain Layout
1232 Image Formats
1233 \end_layout
1234
1235 \end_inset
1236
1237
1238 \begin_inset Index
1239 status collapsed
1240
1241 \begin_layout Plain Layout
1242 Figures ! Image Formats
1243 \end_layout
1244
1245 \end_inset
1246
1247
1248 \end_layout
1249
1250 \begin_layout Standard
1251 You can insert images in any known file format.
1252  But as explained in appendix
1253 \begin_inset space ~
1254 \end_inset
1255
1256
1257 \begin_inset CommandInset ref
1258 LatexCommand ref
1259 reference "cha:Output-File-Formats"
1260
1261 \end_inset
1262
1263 , every output document format allows only a few image formats.
1264  LyX uses therefore the program 
1265 \family typewriter
1266 Imagemagick
1267 \family default
1268  in the background to convert the images to the right format.
1269  To increase your work flow by avoiding these conversions in the background,
1270  you can use only the image formats that can directly be embedded in the
1271  output file format.
1272  The output file formats are explained in appendix
1273 \begin_inset space ~
1274 \end_inset
1275
1276
1277 \begin_inset CommandInset ref
1278 LatexCommand ref
1279 reference "cha:Output-File-Formats"
1280
1281 \end_inset
1282
1283 .
1284 \end_layout
1285
1286 \begin_layout Standard
1287 Similar to fonts there are two types of image formats:
1288 \end_layout
1289
1290 \begin_layout Description
1291 Bitmap
1292 \begin_inset space ~
1293 \end_inset
1294
1295 images consist of pixel values, often in a compressed form.
1296  They are therefore not fully scalable and look pixeled in large zooms.
1297  Well-known bitmap image formats are 
1298 \begin_inset Quotes eld
1299 \end_inset
1300
1301 Graphics Interchange Format
1302 \begin_inset Quotes erd
1303 \end_inset
1304
1305  (GIF, file extension 
1306 \begin_inset Quotes eld
1307 \end_inset
1308
1309
1310 \family typewriter
1311 .gif
1312 \family default
1313
1314 \begin_inset Quotes erd
1315 \end_inset
1316
1317 )
1318 \begin_inset Index
1319 status collapsed
1320
1321 \begin_layout Plain Layout
1322 GIF|see
1323 \begin_inset ERT
1324 status collapsed
1325
1326 \begin_layout Plain Layout
1327
1328 {
1329 \end_layout
1330
1331 \end_inset
1332
1333 Image formats
1334 \begin_inset ERT
1335 status collapsed
1336
1337 \begin_layout Plain Layout
1338
1339 }
1340 \end_layout
1341
1342 \end_inset
1343
1344
1345 \end_layout
1346
1347 \end_inset
1348
1349
1350 \begin_inset Quotes eld
1351 \end_inset
1352
1353 Portable Network Graphics
1354 \begin_inset Quotes erd
1355 \end_inset
1356
1357  (PNG, file extension 
1358 \begin_inset Quotes eld
1359 \end_inset
1360
1361
1362 \family typewriter
1363 .png
1364 \family default
1365
1366 \begin_inset Quotes erd
1367 \end_inset
1368
1369 )
1370 \begin_inset Index
1371 status collapsed
1372
1373 \begin_layout Plain Layout
1374 PNG|see
1375 \begin_inset ERT
1376 status collapsed
1377
1378 \begin_layout Plain Layout
1379
1380 {
1381 \end_layout
1382
1383 \end_inset
1384
1385 Image formats
1386 \begin_inset ERT
1387 status collapsed
1388
1389 \begin_layout Plain Layout
1390
1391 }
1392 \end_layout
1393
1394 \end_inset
1395
1396
1397 \end_layout
1398
1399 \end_inset
1400
1401 , and 
1402 \begin_inset Quotes eld
1403 \end_inset
1404
1405 Joint Photographic Experts Group
1406 \begin_inset Quotes erd
1407 \end_inset
1408
1409  (JPG, file extension 
1410 \begin_inset Quotes eld
1411 \end_inset
1412
1413
1414 \family typewriter
1415 .jpg
1416 \family default
1417
1418 \begin_inset Quotes erd
1419 \end_inset
1420
1421  or 
1422 \begin_inset Quotes eld
1423 \end_inset
1424
1425
1426 \family typewriter
1427 .jpeg
1428 \family default
1429
1430 \begin_inset Quotes erd
1431 \end_inset
1432
1433 )
1434 \begin_inset Index
1435 status collapsed
1436
1437 \begin_layout Plain Layout
1438 JPG|see
1439 \begin_inset ERT
1440 status collapsed
1441
1442 \begin_layout Plain Layout
1443
1444 {
1445 \end_layout
1446
1447 \end_inset
1448
1449 Image formats
1450 \begin_inset ERT
1451 status collapsed
1452
1453 \begin_layout Plain Layout
1454
1455 }
1456 \end_layout
1457
1458 \end_inset
1459
1460
1461 \end_layout
1462
1463 \end_inset
1464
1465 .
1466 \end_layout
1467
1468 \begin_layout Description
1469 Vector
1470 \begin_inset space ~
1471 \end_inset
1472
1473 images consist of vectors and can therefore be scaled to any size without
1474  data loss.
1475  The scaling ability is necessary if you want to create presentations, because
1476  presentations are always scaled by the video projector.
1477  Scaling is also useful for online documents to let the user zoom into diagrams.
1478 \begin_inset Newline newline
1479 \end_inset
1480
1481 Well-known scalable image formats are 
1482 \begin_inset Quotes eld
1483 \end_inset
1484
1485 Scalable Vector Graphics
1486 \begin_inset Quotes erd
1487 \end_inset
1488
1489  (SVG, file extension 
1490 \begin_inset Quotes eld
1491 \end_inset
1492
1493
1494 \family typewriter
1495 .svg
1496 \family default
1497
1498 \begin_inset Quotes erd
1499 \end_inset
1500
1501 )
1502 \begin_inset Index
1503 status collapsed
1504
1505 \begin_layout Plain Layout
1506 SVG|see
1507 \begin_inset ERT
1508 status collapsed
1509
1510 \begin_layout Plain Layout
1511
1512 {
1513 \end_layout
1514
1515 \end_inset
1516
1517 Image formats
1518 \begin_inset ERT
1519 status collapsed
1520
1521 \begin_layout Plain Layout
1522
1523 }
1524 \end_layout
1525
1526 \end_inset
1527
1528
1529 \end_layout
1530
1531 \end_inset
1532
1533
1534 \begin_inset Quotes eld
1535 \end_inset
1536
1537 Encapsulated PostScript
1538 \begin_inset Quotes erd
1539 \end_inset
1540
1541  (EPS, file extension 
1542 \begin_inset Quotes eld
1543 \end_inset
1544
1545
1546 \family typewriter
1547 .eps
1548 \family default
1549
1550 \begin_inset Quotes erd
1551 \end_inset
1552
1553 )
1554 \begin_inset Index
1555 status collapsed
1556
1557 \begin_layout Plain Layout
1558 EPS|see
1559 \begin_inset ERT
1560 status collapsed
1561
1562 \begin_layout Plain Layout
1563
1564 {
1565 \end_layout
1566
1567 \end_inset
1568
1569 Image formats
1570 \begin_inset ERT
1571 status collapsed
1572
1573 \begin_layout Plain Layout
1574
1575 }
1576 \end_layout
1577
1578 \end_inset
1579
1580
1581 \end_layout
1582
1583 \end_inset
1584
1585
1586 \begin_inset Quotes eld
1587 \end_inset
1588
1589 Portable Document Format
1590 \begin_inset Quotes erd
1591 \end_inset
1592
1593  (PDF, file extension 
1594 \begin_inset Quotes eld
1595 \end_inset
1596
1597
1598 \family typewriter
1599 .pdf
1600 \family default
1601
1602 \begin_inset Quotes erd
1603 \end_inset
1604
1605 )
1606 \begin_inset Index
1607 status collapsed
1608
1609 \begin_layout Plain Layout
1610 PDF
1611 \end_layout
1612
1613 \end_inset
1614
1615 , and 
1616 \begin_inset Quotes eld
1617 \end_inset
1618
1619 Windows Metafile
1620 \begin_inset Quotes erd
1621 \end_inset
1622
1623  (WMF, file extension 
1624 \begin_inset Quotes eld
1625 \end_inset
1626
1627
1628 \family typewriter
1629 .wmf
1630 \family default
1631
1632 \begin_inset Quotes erd
1633 \end_inset
1634
1635 )
1636 \begin_inset Index
1637 status collapsed
1638
1639 \begin_layout Plain Layout
1640 SVG|see
1641 \begin_inset ERT
1642 status collapsed
1643
1644 \begin_layout Plain Layout
1645
1646 {
1647 \end_layout
1648
1649 \end_inset
1650
1651 Image formats
1652 \begin_inset ERT
1653 status collapsed
1654
1655 \begin_layout Plain Layout
1656
1657 }
1658 \end_layout
1659
1660 \end_inset
1661
1662
1663 \end_layout
1664
1665 \end_inset
1666
1667 .
1668  We wrote 
1669 \begin_inset Quotes eld
1670 \end_inset
1671
1672 can be
1673 \begin_inset Quotes erd
1674 \end_inset
1675
1676 , because you can convert any bitmap image to a PDF or EPS-image and the
1677  result will still be a bitmap image.
1678  In this cases only a header with the image properties is added to the original
1679  image
1680 \begin_inset Foot
1681 status collapsed
1682
1683 \begin_layout Plain Layout
1684 In the case of PDF, the original image is additionally compressed.
1685 \end_layout
1686
1687 \end_inset
1688
1689 .
1690  The PDF-files generated by 
1691 \family typewriter
1692 Adobe Photoshop
1693 \family default
1694  are for example bitmap images.
1695 \end_layout
1696
1697 \begin_layout Standard
1698 Normally it is not possible to convert a bitmap image into a scalable one,
1699  only vice versa.
1700  Only the image formats PDF and EPS can directly be embedded to PDF and
1701  PostScript output files, respectively.
1702  SVG and WMF-images are recalculated to bitmaps when the output file is
1703  generated because there is currently no adequate WMF/SVG
1704 \begin_inset Formula $\to$
1705 \end_inset
1706
1707 PDF/EPS converter available.
1708 \end_layout
1709
1710 \begin_layout Chapter
1711 Tables
1712 \begin_inset Index
1713 status collapsed
1714
1715 \begin_layout Plain Layout
1716 Table
1717 \end_layout
1718
1719 \end_inset
1720
1721
1722 \end_layout
1723
1724 \begin_layout Section
1725 Introduction
1726 \begin_inset Index
1727 status collapsed
1728
1729 \begin_layout Plain Layout
1730 Table ! Introduction
1731 \end_layout
1732
1733 \end_inset
1734
1735
1736 \end_layout
1737
1738 \begin_layout Standard
1739 You can insert a table using either the toolbar button 
1740 \begin_inset Graphics
1741         filename ../images/tabular-insert.png
1742         scale 85
1743         scaleBeforeRotation
1744
1745 \end_inset
1746
1747  or the menu 
1748 \family sans
1749 Insert\SpecialChar \menuseparator
1750 Table
1751 \family default
1752 .
1753  The toolbar button offers you a graphical selection: Move the mouse to
1754  set the column/row number of the table that should be created and then
1755  press a mouse button.
1756  When you use the menu to create a table, a dialog will appear, asking you
1757  for the number of rows and columns.
1758 \begin_inset Newline newline
1759 \end_inset
1760
1761  The default table has lines around any cell and the first row appears separated
1762  from the rest of the table.
1763  This separation occurs due to a double line: The cells of the first row
1764  have a line below them and the cells of the second row have a line above
1765  them.
1766  Here is an example table:
1767 \end_layout
1768
1769 \begin_layout Standard
1770 \align center
1771 \begin_inset Tabular
1772 <lyxtabular version="3" rows="4" columns="4">
1773 <features>
1774 <column alignment="center" valignment="top" width="0">
1775 <column alignment="center" valignment="top" width="0">
1776 <column alignment="center" valignment="top" width="0">
1777 <column alignment="center" valignment="top" width="0">
1778 <row>
1779 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1780 \begin_inset Text
1781
1782 \begin_layout Plain Layout
1783
1784 \end_layout
1785
1786 \end_inset
1787 </cell>
1788 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1789 \begin_inset Text
1790
1791 \begin_layout Plain Layout
1792
1793 \family roman
1794 \series medium
1795 \shape up
1796 \size normal
1797 \emph off
1798 \bar no
1799 \noun off
1800 \color none
1801 1
1802 \end_layout
1803
1804 \end_inset
1805 </cell>
1806 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1807 \begin_inset Text
1808
1809 \begin_layout Plain Layout
1810 2
1811 \end_layout
1812
1813 \end_inset
1814 </cell>
1815 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1816 \begin_inset Text
1817
1818 \begin_layout Plain Layout
1819 3
1820 \end_layout
1821
1822 \end_inset
1823 </cell>
1824 </row>
1825 <row>
1826 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1827 \begin_inset Text
1828
1829 \begin_layout Plain Layout
1830
1831 \family roman
1832 \series medium
1833 \shape up
1834 \size normal
1835 \emph off
1836 \bar no
1837 \noun off
1838 \color none
1839 A
1840 \end_layout
1841
1842 \end_inset
1843 </cell>
1844 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1845 \begin_inset Text
1846
1847 \begin_layout Plain Layout
1848
1849 \end_layout
1850
1851 \end_inset
1852 </cell>
1853 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1854 \begin_inset Text
1855
1856 \begin_layout Plain Layout
1857
1858 \end_layout
1859
1860 \end_inset
1861 </cell>
1862 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1863 \begin_inset Text
1864
1865 \begin_layout Plain Layout
1866
1867 \end_layout
1868
1869 \end_inset
1870 </cell>
1871 </row>
1872 <row>
1873 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1874 \begin_inset Text
1875
1876 \begin_layout Plain Layout
1877
1878 \family roman
1879 \series medium
1880 \shape up
1881 \size normal
1882 \emph off
1883 \bar no
1884 \noun off
1885 \color none
1886 B
1887 \end_layout
1888
1889 \end_inset
1890 </cell>
1891 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1892 \begin_inset Text
1893
1894 \begin_layout Plain Layout
1895
1896 \end_layout
1897
1898 \end_inset
1899 </cell>
1900 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1901 \begin_inset Text
1902
1903 \begin_layout Plain Layout
1904
1905 \end_layout
1906
1907 \end_inset
1908 </cell>
1909 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1910 \begin_inset Text
1911
1912 \begin_layout Plain Layout
1913
1914 \end_layout
1915
1916 \end_inset
1917 </cell>
1918 </row>
1919 <row>
1920 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1921 \begin_inset Text
1922
1923 \begin_layout Plain Layout
1924
1925 \family roman
1926 \series medium
1927 \shape up
1928 \size normal
1929 \emph off
1930 \bar no
1931 \noun off
1932 \color none
1933 C
1934 \end_layout
1935
1936 \end_inset
1937 </cell>
1938 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1939 \begin_inset Text
1940
1941 \begin_layout Plain Layout
1942
1943 \end_layout
1944
1945 \end_inset
1946 </cell>
1947 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1948 \begin_inset Text
1949
1950 \begin_layout Plain Layout
1951
1952 \end_layout
1953
1954 \end_inset
1955 </cell>
1956 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1957 \begin_inset Text
1958
1959 \begin_layout Plain Layout
1960
1961 \end_layout
1962
1963 \end_inset
1964 </cell>
1965 </row>
1966 </lyxtabular>
1967
1968 \end_inset
1969
1970
1971 \end_layout
1972
1973 \begin_layout Section
1974 Table Dialog
1975 \begin_inset Index
1976 status collapsed
1977
1978 \begin_layout Plain Layout
1979 Table ! Dialog
1980 \end_layout
1981
1982 \end_inset
1983
1984
1985 \end_layout
1986
1987 \begin_layout Standard
1988 You can alter a table by clicking on it with the right mouse button, which
1989  brings up the table dialog.
1990  Here you can adjust the settings of that cell and row/column respectively
1991  where the cursor is currently placed.
1992  Most of the dialog options also work on selections.
1993  This means if you select more cells, columns or rows, the action is done
1994  for the whole selection.
1995  Note that there is a difference between selecting the 
1996 \emph on
1997 contents
1998 \emph default
1999  of the cell, and the cell itself.
2000  You can alter tables with the following tabs of the table dialog:
2001 \end_layout
2002
2003 \begin_layout Description
2004
2005 \family sans
2006 Table
2007 \begin_inset space ~
2008 \end_inset
2009
2010 Settings
2011 \family default
2012  Here you can set the horizontal alignment and the width of the current
2013  column.
2014  When you have set a width you can also adjust the vertical alignment of
2015  the current row.
2016  A given width will allow the cell to have line breaks and multiple paragraphs
2017  of text, see section
2018 \begin_inset space ~
2019 \end_inset
2020
2021
2022 \begin_inset CommandInset ref
2023 LatexCommand ref
2024 reference "sub:Multiple-Lines-in"
2025
2026 \end_inset
2027
2028 .
2029  If you set no width, the column is as wide as their widest cell content
2030  is.
2031 \begin_inset Newline newline
2032 \end_inset
2033
2034 Furthermore, you can mark one or multiple cells of one row as a multicolumn
2035  cell, see section
2036 \begin_inset space ~
2037 \end_inset
2038
2039
2040 \begin_inset CommandInset ref
2041 LatexCommand ref
2042 reference "sub:Multicolumns"
2043
2044 \end_inset
2045
2046 .
2047 \begin_inset Newline newline
2048 \end_inset
2049
2050 The rotate check boxes rotates the current cell, a selection, or the whole
2051  table counter-clockwise by 90°.
2052  The rotation is not shown within LyX, only in the output.
2053 \begin_inset Newline newline
2054 \end_inset
2055
2056
2057 \begin_inset Note Greyedout
2058 status open
2059
2060 \begin_layout Plain Layout
2061
2062 \series bold
2063 Note:
2064 \series default
2065  Not all DVI-viewers are able to display rotations.
2066 \end_layout
2067
2068 \end_inset
2069
2070
2071 \begin_inset Newline newline
2072 \end_inset
2073
2074 It is also possible to enter a LaTeX-argument which is needed for special
2075  table formattings, see section
2076 \begin_inset space ~
2077 \end_inset
2078
2079
2080 \begin_inset CommandInset ref
2081 LatexCommand ref
2082 reference "sub:Multicolumn-Calculations"
2083
2084 \end_inset
2085
2086  and 
2087 \begin_inset CommandInset ref
2088 LatexCommand ref
2089 reference "sec:Colored-Tables"
2090
2091 \end_inset
2092
2093 .
2094 \end_layout
2095
2096 \begin_layout Description
2097
2098 \family sans
2099 Borders
2100 \family default
2101  In this tab you can add and delete border lines for the current row/column.
2102 \begin_inset Newline newline
2103 \end_inset
2104
2105 Using the style option 
2106 \family sans
2107 Formal
2108 \family default
2109  will convert the table to a formal table as described in section
2110 \begin_inset space ~
2111 \end_inset
2112
2113
2114 \begin_inset CommandInset ref
2115 LatexCommand ref
2116 reference "sec:Formal-Tables"
2117
2118 \end_inset
2119
2120 .
2121 \begin_inset Newline newline
2122 \end_inset
2123
2124 You can also add here space to table rows as decribed in section
2125 \begin_inset space ~
2126 \end_inset
2127
2128
2129 \begin_inset CommandInset ref
2130 LatexCommand ref
2131 reference "sub:Row-Spacing"
2132
2133 \end_inset
2134
2135 .
2136 \end_layout
2137
2138 \begin_layout Description
2139
2140 \family sans
2141 Longtable
2142 \family default
2143  This tab is to make a table a so called 
2144 \begin_inset Quotes eld
2145 \end_inset
2146
2147
2148 \emph on
2149 longtable
2150 \emph default
2151
2152 \begin_inset Quotes erd
2153 \end_inset
2154
2155  that can run over several pages.
2156  Section
2157 \begin_inset space ~
2158 \end_inset
2159
2160
2161 \begin_inset CommandInset ref
2162 LatexCommand ref
2163 reference "sec:Longtables"
2164
2165 \end_inset
2166
2167  and 
2168 \begin_inset CommandInset ref
2169 LatexCommand ref
2170 reference "sec:Special-Longtable-Issues"
2171
2172 \end_inset
2173
2174  describe the longtable features in detail.
2175 \end_layout
2176
2177 \begin_layout Standard
2178 When the table toolbar is opened, you can move the cursor with the arrow
2179  keys from cell to cell and the property of the current cell will immediately
2180  be displayed in the dialog.
2181 \end_layout
2182
2183 \begin_layout Section
2184 Table Toolbar
2185 \begin_inset Index
2186 status collapsed
2187
2188 \begin_layout Plain Layout
2189 Table ! Toolbar
2190 \end_layout
2191
2192 \end_inset
2193
2194
2195 \end_layout
2196
2197 \begin_layout Standard
2198 The table toolbar is an alternative to the table dialog to be able to alter
2199  tables faster.
2200  It should normally appear at the bottom of LyX's main window when the cursor
2201  is inside a table.
2202  You can alternatively switch it on to appear always, by right-clicking
2203  in LyX's main menu bar.
2204 \end_layout
2205
2206 \begin_layout Standard
2207 The toolbar has the following icons:
2208 \end_layout
2209
2210 \begin_layout Labeling
2211 \labelwidthstring 00.00.0000
2212 \begin_inset Graphics
2213         filename ../images/tabular-feature_append-row.png
2214         scaleBeforeRotation
2215
2216 \end_inset
2217
2218  adds a row below the current cell or selection
2219 \end_layout
2220
2221 \begin_layout Labeling
2222 \labelwidthstring 00.00.0000
2223 \begin_inset Graphics
2224         filename ../images/tabular-feature_append-column.png
2225         scaleBeforeRotation
2226
2227 \end_inset
2228
2229  adds a column right beside the current cell or selection
2230 \end_layout
2231
2232 \begin_layout Labeling
2233 \labelwidthstring 00.00.0000
2234 \begin_inset Graphics
2235         filename ../images/tabular-feature_delete-row.png
2236         scaleBeforeRotation
2237
2238 \end_inset
2239
2240  deletes the current row or selection
2241 \end_layout
2242
2243 \begin_layout Labeling
2244 \labelwidthstring 00.00.0000
2245 \begin_inset Graphics
2246         filename ../images/tabular-feature_delete-column.png
2247         scaleBeforeRotation
2248
2249 \end_inset
2250
2251  deletes the current column or selection
2252 \end_layout
2253
2254 \begin_layout Labeling
2255 \labelwidthstring 00.00.0000
2256 \begin_inset Graphics
2257         filename ../images/tabular-feature_toggle-line-top.png
2258         scaleBeforeRotation
2259
2260 \end_inset
2261
2262  adds a line at the top of the current cell / row or of a selection
2263 \end_layout
2264
2265 \begin_layout Labeling
2266 \labelwidthstring 00.00.0000
2267 \begin_inset Graphics
2268         filename ../images/tabular-feature_toggle-line-bottom.png
2269         scaleBeforeRotation
2270
2271 \end_inset
2272
2273  adds a line at the bottom of the current cell / row or of a selection
2274 \end_layout
2275
2276 \begin_layout Labeling
2277 \labelwidthstring 00.00.0000
2278 \begin_inset Graphics
2279         filename ../images/tabular-feature_toggle-line-left.png
2280         scaleBeforeRotation
2281
2282 \end_inset
2283
2284  adds a line at the left side of the current cell / row or of a selection
2285 \end_layout
2286
2287 \begin_layout Labeling
2288 \labelwidthstring 00.00.0000
2289 \begin_inset Graphics
2290         filename ../images/tabular-feature_toggle-line-right.png
2291         scaleBeforeRotation
2292
2293 \end_inset
2294
2295  adds a line at the right side of the current cell / row or of a selection
2296 \end_layout
2297
2298 \begin_layout Labeling
2299 \labelwidthstring 00.00.0000
2300 \begin_inset Graphics
2301         filename ../images/tabular-feature_set-all-lines.png
2302         scaleBeforeRotation
2303
2304 \end_inset
2305
2306  adds lines around the current or selected cells - if the current cell no
2307  multicolumn this also affects the current row and column
2308 \end_layout
2309
2310 \begin_layout Labeling
2311 \labelwidthstring 00.00.0000
2312 \begin_inset Graphics
2313         filename ../images/tabular-feature_unset-all-lines.png
2314         scaleBeforeRotation
2315
2316 \end_inset
2317
2318  deletes all lines of the current or selected cells - if the current cell
2319  no multicolumn this also affects the current row and column
2320 \end_layout
2321
2322 \begin_layout Labeling
2323 \labelwidthstring 00.00.0000
2324 \begin_inset Graphics
2325         filename ../images/tabular-feature_m-align-left.png
2326         scaleBeforeRotation
2327
2328 \end_inset
2329
2330  left-aligns the content of the current cell / column
2331 \end_layout
2332
2333 \begin_layout Labeling
2334 \labelwidthstring 00.00.0000
2335 \begin_inset Graphics
2336         filename ../images/tabular-feature_m-align-center.png
2337         scaleBeforeRotation
2338
2339 \end_inset
2340
2341  centers the content of the current cell / column horizontally
2342 \end_layout
2343
2344 \begin_layout Labeling
2345 \labelwidthstring 00.00.0000
2346 \begin_inset Graphics
2347         filename ../images/tabular-feature_m-align-right.png
2348         scaleBeforeRotation
2349
2350 \end_inset
2351
2352  right-aligns the content of the current cell / column
2353 \end_layout
2354
2355 \begin_layout Labeling
2356 \labelwidthstring 00.00.0000
2357 \begin_inset Graphics
2358         filename ../images/tabular-feature_m-valign-top.png
2359         scaleBeforeRotation
2360
2361 \end_inset
2362
2363  aligns the content of the current cell vertically to the top
2364 \end_layout
2365
2366 \begin_layout Labeling
2367 \labelwidthstring 00.00.0000
2368 \begin_inset Graphics
2369         filename ../images/tabular-feature_m-valign-middle.png
2370         scaleBeforeRotation
2371
2372 \end_inset
2373
2374  centers the content of the current cell vertically
2375 \end_layout
2376
2377 \begin_layout Labeling
2378 \labelwidthstring 00.00.0000
2379 \begin_inset Graphics
2380         filename ../images/tabular-feature_m-valign-bottom.png
2381         scaleBeforeRotation
2382
2383 \end_inset
2384
2385  aligns the content of the current cell vertically to the bottom
2386 \end_layout
2387
2388 \begin_layout Labeling
2389 \labelwidthstring 00.00.0000
2390 \begin_inset Graphics
2391         filename ../images/tabular-feature_set-rotate-cell.png
2392         scaleBeforeRotation
2393
2394 \end_inset
2395
2396  rotates the current cell or selection counter-clockwise by 90°
2397 \end_layout
2398
2399 \begin_layout Labeling
2400 \labelwidthstring 00.00.0000
2401 \begin_inset Graphics
2402         filename ../images/tabular-feature_set-rotate-tabular.png
2403         scaleBeforeRotation
2404
2405 \end_inset
2406
2407  rotates the whole table counter-clockwise by 90°
2408 \end_layout
2409
2410 \begin_layout Labeling
2411 \labelwidthstring 00.00.0000
2412 \begin_inset Graphics
2413         filename ../images/tabular-feature_multicolumn.png
2414         scaleBeforeRotation
2415
2416 \end_inset
2417
2418  sets the current cell or selection as a multicolumn
2419 \end_layout
2420
2421 \begin_layout Standard
2422 \begin_inset Note Greyedout
2423 status open
2424
2425 \begin_layout Plain Layout
2426
2427 \series bold
2428 Note:
2429 \series default
2430  For the output the vertical alignment of the first cell in a row is used
2431  for all following cells in the row.
2432 \end_layout
2433
2434 \end_inset
2435
2436
2437 \end_layout
2438
2439 \begin_layout Section
2440 Edit Table Menu
2441 \begin_inset Index
2442 status collapsed
2443
2444 \begin_layout Plain Layout
2445 Table ! Edit Menu
2446 \end_layout
2447
2448 \end_inset
2449
2450
2451 \end_layout
2452
2453 \begin_layout Standard
2454 Additionally to the table dialog and toolbar, the menu 
2455 \family sans
2456 Edit\SpecialChar \menuseparator
2457 Table
2458 \family default
2459  allows you to add and delete border lines for the current row/column and
2460  to set the current selection as multicolumn.
2461  The menu is only available when the cursor is inside a table.
2462 \end_layout
2463
2464 \begin_layout Section
2465 Table Floats
2466 \begin_inset CommandInset label
2467 LatexCommand label
2468 name "sec:Table-Floats"
2469
2470 \end_inset
2471
2472
2473 \begin_inset Index
2474 status collapsed
2475
2476 \begin_layout Plain Layout
2477 Floats ! Tables
2478 \end_layout
2479
2480 \end_inset
2481
2482
2483 \begin_inset Index
2484 status collapsed
2485
2486 \begin_layout Plain Layout
2487 Table ! Floats
2488 \end_layout
2489
2490 \end_inset
2491
2492
2493 \end_layout
2494
2495 \begin_layout Standard
2496 For general explanations about floats, have a look at section
2497 \begin_inset space ~
2498 \end_inset
2499
2500
2501 \begin_inset CommandInset ref
2502 LatexCommand ref
2503 reference "sec:FloatIntroduction"
2504
2505 \end_inset
2506
2507 .
2508 \end_layout
2509
2510 \begin_layout Standard
2511 \begin_inset Float table
2512 placement h
2513 wide false
2514 sideways false
2515 status open
2516
2517 \begin_layout Plain Layout
2518 \begin_inset Caption
2519
2520 \begin_layout Plain Layout
2521 \begin_inset CommandInset label
2522 LatexCommand label
2523 name "tab:a table float"
2524
2525 \end_inset
2526
2527 A table float.
2528 \end_layout
2529
2530 \end_inset
2531
2532
2533 \end_layout
2534
2535 \begin_layout Plain Layout
2536 \align center
2537 \begin_inset Tabular
2538 <lyxtabular version="3" rows="3" columns="3">
2539 <features>
2540 <column alignment="center" valignment="top" width="0pt">
2541 <column alignment="center" valignment="top" width="0pt">
2542 <column alignment="center" valignment="top" width="0pt">
2543 <row>
2544 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2545 \begin_inset Text
2546
2547 \begin_layout Plain Layout
2548
2549 \family roman
2550 \series medium
2551 \shape up
2552 \size normal
2553 \emph off
2554 \bar no
2555 \noun off
2556 \color none
2557 1
2558 \end_layout
2559
2560 \end_inset
2561 </cell>
2562 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2563 \begin_inset Text
2564
2565 \begin_layout Plain Layout
2566
2567 \family roman
2568 \series medium
2569 \shape up
2570 \size normal
2571 \emph off
2572 \bar no
2573 \noun off
2574 \color none
2575 2
2576 \end_layout
2577
2578 \end_inset
2579 </cell>
2580 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2581 \begin_inset Text
2582
2583 \begin_layout Plain Layout
2584
2585 \family roman
2586 \series medium
2587 \shape up
2588 \size normal
2589 \emph off
2590 \bar no
2591 \noun off
2592 \color none
2593 3
2594 \end_layout
2595
2596 \end_inset
2597 </cell>
2598 </row>
2599 <row>
2600 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2601 \begin_inset Text
2602
2603 \begin_layout Plain Layout
2604
2605 \family roman
2606 \series medium
2607 \shape up
2608 \size normal
2609 \emph off
2610 \bar no
2611 \noun off
2612 \color none
2613 Joe
2614 \end_layout
2615
2616 \end_inset
2617 </cell>
2618 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2619 \begin_inset Text
2620
2621 \begin_layout Plain Layout
2622
2623 \family roman
2624 \series medium
2625 \shape up
2626 \size normal
2627 \emph off
2628 \bar no
2629 \noun off
2630 \color none
2631 Mary
2632 \end_layout
2633
2634 \end_inset
2635 </cell>
2636 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2637 \begin_inset Text
2638
2639 \begin_layout Plain Layout
2640
2641 \family roman
2642 \series medium
2643 \shape up
2644 \size normal
2645 \emph off
2646 \bar no
2647 \noun off
2648 \color none
2649 Ted
2650 \end_layout
2651
2652 \end_inset
2653 </cell>
2654 </row>
2655 <row>
2656 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2657 \begin_inset Text
2658
2659 \begin_layout Plain Layout
2660
2661 \family roman
2662 \series medium
2663 \shape up
2664 \size normal
2665 \emph off
2666 \bar no
2667 \noun off
2668 \color none
2669 \begin_inset Formula $\int x^{2}dx$
2670 \end_inset
2671
2672
2673 \end_layout
2674
2675 \end_inset
2676 </cell>
2677 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2678 \begin_inset Text
2679
2680 \begin_layout Plain Layout
2681
2682 \family roman
2683 \series medium
2684 \shape up
2685 \size normal
2686 \emph off
2687 \bar no
2688 \noun off
2689 \color none
2690 \begin_inset Formula $\left[\begin{array}{cc}
2691 a & b\\
2692 c & d\end{array}\right]$
2693 \end_inset
2694
2695
2696 \end_layout
2697
2698 \end_inset
2699 </cell>
2700 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2701 \begin_inset Text
2702
2703 \begin_layout Plain Layout
2704
2705 \family roman
2706 \series medium
2707 \shape up
2708 \size normal
2709 \emph off
2710 \bar no
2711 \noun off
2712 \color none
2713 \begin_inset Formula $1+1=2$
2714 \end_inset
2715
2716
2717 \end_layout
2718
2719 \end_inset
2720 </cell>
2721 </row>
2722 </lyxtabular>
2723
2724 \end_inset
2725
2726
2727 \end_layout
2728
2729 \end_inset
2730
2731
2732 \end_layout
2733
2734 \begin_layout Standard
2735 Table floats can be inserted using the menu 
2736 \family sans
2737 Insert\SpecialChar \menuseparator
2738 Float\SpecialChar \menuseparator
2739 Table
2740 \family default
2741  or the toolbar button 
2742 \begin_inset Graphics
2743         filename ../images/float-insert_table.png
2744         scale 85
2745         scaleBeforeRotation
2746
2747 \end_inset
2748
2749 .
2750 \end_layout
2751
2752 \begin_layout Standard
2753 The float appears as a collapsible box with a caption that has the label
2754  
2755 \begin_inset Quotes eld
2756 \end_inset
2757
2758 Table
2759 \begin_inset space ~
2760 \end_inset
2761
2762 #:
2763 \begin_inset Quotes erd
2764 \end_inset
2765
2766  (# is the actual table number).
2767  You can insert tables to the float above or below the caption.
2768 \end_layout
2769
2770 \begin_layout Standard
2771 Table
2772 \begin_inset space ~
2773 \end_inset
2774
2775
2776 \begin_inset CommandInset ref
2777 LatexCommand ref
2778 reference "tab:a table float"
2779
2780 \end_inset
2781
2782  is an example table within a table float.
2783 \end_layout
2784
2785 \begin_layout Standard
2786 Having the caption above the table is the common rule that is unfortunately
2787  not supported in LaTeX's standard classes.
2788  That means if you are using the document classes 
2789 \family sans
2790 article
2791 \family default
2792
2793 \family sans
2794 book
2795 \family default
2796
2797 \family sans
2798 letter
2799 \family default
2800 , or 
2801 \family sans
2802 report
2803 \family default
2804  there will be no space between the caption and the table.
2805  To insert the needed space, add the following option to the load command
2806  of the LaTeX-package 
2807 \series bold
2808 caption
2809 \series default
2810
2811 \begin_inset Index
2812 status collapsed
2813
2814 \begin_layout Plain Layout
2815 LaTeX-packages ! caption
2816 \end_layout
2817
2818 \end_inset
2819
2820  in your document preamble
2821 \begin_inset Foot
2822 status collapsed
2823
2824 \begin_layout Plain Layout
2825 For more information have a look at section
2826 \begin_inset space ~
2827 \end_inset
2828
2829
2830 \begin_inset CommandInset ref
2831 LatexCommand ref
2832 reference "sec:Caption-Placement"
2833
2834 \end_inset
2835
2836 .
2837 \end_layout
2838
2839 \end_inset
2840
2841 :
2842 \end_layout
2843
2844 \begin_layout Standard
2845
2846 \series bold
2847 tableposition=top
2848 \end_layout
2849
2850 \begin_layout Standard
2851 The package 
2852 \series bold
2853 caption
2854 \series default
2855 , which is described in section
2856 \begin_inset space ~
2857 \end_inset
2858
2859
2860 \begin_inset CommandInset ref
2861 LatexCommand ref
2862 reference "sec:Caption-Formatting"
2863
2864 \end_inset
2865
2866 , is used to adjust the caption format.
2867 \end_layout
2868
2869 \begin_layout Standard
2870 \begin_inset Index
2871 status collapsed
2872
2873 \begin_layout Plain Layout
2874 References ! to Tables
2875 \end_layout
2876
2877 \end_inset
2878
2879 Tables can be cross-referenced in the text by referencing their label.
2880  To do this insert a label in the caption using the menu 
2881 \family sans
2882 Insert\SpecialChar \menuseparator
2883 Label
2884 \family default
2885  or the toolbar button 
2886 \begin_inset Graphics
2887         filename ../images/label-insert.png
2888         scale 85
2889         scaleBeforeRotation
2890
2891 \end_inset
2892
2893 .
2894  You can now refer to the label using the menu 
2895 \family sans
2896 Insert\SpecialChar \menuseparator
2897 Cross
2898 \begin_inset space ~
2899 \end_inset
2900
2901 reference
2902 \family default
2903  or the toolbar button 
2904 \begin_inset Graphics
2905         filename ../images/dialog-show-new-inset_ref.png
2906         scale 85
2907         scaleBeforeRotation
2908
2909 \end_inset
2910
2911 .
2912 \begin_inset Newline newline
2913 \end_inset
2914
2915 Referencing is explained in detail in section
2916 \begin_inset space ~
2917 \end_inset
2918
2919
2920 \begin_inset CommandInset ref
2921 LatexCommand ref
2922 reference "sec:Referencing-Floats"
2923
2924 \end_inset
2925
2926 .
2927 \end_layout
2928
2929 \begin_layout Section
2930 Longtables
2931 \begin_inset CommandInset label
2932 LatexCommand label
2933 name "sec:Longtables"
2934
2935 \end_inset
2936
2937
2938 \begin_inset Index
2939 status collapsed
2940
2941 \begin_layout Plain Layout
2942 Longtables
2943 \end_layout
2944
2945 \end_inset
2946
2947
2948 \begin_inset Index
2949 status collapsed
2950
2951 \begin_layout Plain Layout
2952 Table ! Longtables
2953 \end_layout
2954
2955 \end_inset
2956
2957
2958 \end_layout
2959
2960 \begin_layout Standard
2961 If the table is too long to fit on one page, you can use the option 
2962 \family sans
2963 Use
2964 \begin_inset space ~
2965 \end_inset
2966
2967 long
2968 \begin_inset space ~
2969 \end_inset
2970
2971 table
2972 \family default
2973  in the tab 
2974 \family sans
2975 Longtable
2976 \family default
2977  of the table dialog to split the table automatically over more pages.
2978  Doing this enables the following options:
2979 \end_layout
2980
2981 \begin_layout Description
2982 Header: The current row is defined to be a header row that appears on all
2983  pages of the longtable; except for the first page, if 
2984 \family sans
2985 First
2986 \begin_inset space ~
2987 \end_inset
2988
2989 header
2990 \family default
2991  is defined.
2992  This therefore called the main header.
2993 \end_layout
2994
2995 \begin_layout Description
2996 First
2997 \begin_inset space ~
2998 \end_inset
2999
3000 header: The current row is defined to be a header row that appears on the
3001  first page of the longtable.
3002 \end_layout
3003
3004 \begin_layout Description
3005 Footer: The current row is defined to be a footer row that appears on all
3006  pages of the longtable; except for the last page, if 
3007 \family sans
3008 Last
3009 \begin_inset space ~
3010 \end_inset
3011
3012 footer
3013 \family default
3014  is defined.
3015 \end_layout
3016
3017 \begin_layout Description
3018 Last
3019 \begin_inset space ~
3020 \end_inset
3021
3022 footer: The current row is defined to be a footer row that appear on the
3023  last page of the longtable.
3024 \end_layout
3025
3026 \begin_layout Description
3027 Caption: The current row contains the table caption.
3028  The row is reset as single column and a caption is inserted.
3029  More about longtable captions is explained in sec.
3030 \begin_inset space \thinspace{}
3031 \end_inset
3032
3033
3034 \begin_inset CommandInset ref
3035 LatexCommand ref
3036 reference "sub:Longtable-Captions"
3037
3038 \end_inset
3039
3040 .
3041 \end_layout
3042
3043 \begin_layout Standard
3044 You can also specify a row where the table is split.
3045  See the following longtable to see how it works:
3046 \end_layout
3047
3048 \begin_layout Standard
3049 \align center
3050 \begin_inset Tabular
3051 <lyxtabular version="3" rows="69" columns="3">
3052 <features islongtable="true">
3053 <column alignment="left" valignment="top" width="0cm">
3054 <column alignment="left" valignment="top" width="0pt">
3055 <column alignment="center" valignment="top" width="0pt">
3056 <row endfirsthead="true">
3057 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3058 \begin_inset Text
3059
3060 \begin_layout Plain Layout
3061
3062 \series bold
3063 Example Phone List (ignore the names)
3064 \end_layout
3065
3066 \end_inset
3067 </cell>
3068 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3069 \begin_inset Text
3070
3071 \begin_layout Plain Layout
3072
3073 \end_layout
3074
3075 \end_inset
3076 </cell>
3077 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3078 \begin_inset Text
3079
3080 \begin_layout Plain Layout
3081
3082 \end_layout
3083
3084 \end_inset
3085 </cell>
3086 </row>
3087 <row endfirsthead="true">
3088 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3089 \begin_inset Text
3090
3091 \begin_layout Plain Layout
3092
3093 \series bold
3094 NAME
3095 \end_layout
3096
3097 \end_inset
3098 </cell>
3099 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3100 \begin_inset Text
3101
3102 \begin_layout Plain Layout
3103
3104 \end_layout
3105
3106 \end_inset
3107 </cell>
3108 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3109 \begin_inset Text
3110
3111 \begin_layout Plain Layout
3112
3113 \series bold
3114 TEL.
3115 \end_layout
3116
3117 \end_inset
3118 </cell>
3119 </row>
3120 <row endhead="true">
3121 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3122 \begin_inset Text
3123
3124 \begin_layout Plain Layout
3125
3126 \series bold
3127 Example Phone List
3128 \end_layout
3129
3130 \end_inset
3131 </cell>
3132 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3133 \begin_inset Text
3134
3135 \begin_layout Plain Layout
3136
3137 \end_layout
3138
3139 \end_inset
3140 </cell>
3141 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3142 \begin_inset Text
3143
3144 \begin_layout Plain Layout
3145
3146 \end_layout
3147
3148 \end_inset
3149 </cell>
3150 </row>
3151 <row endhead="true">
3152 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3153 \begin_inset Text
3154
3155 \begin_layout Plain Layout
3156
3157 \series bold
3158 NAME
3159 \end_layout
3160
3161 \end_inset
3162 </cell>
3163 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3164 \begin_inset Text
3165
3166 \begin_layout Plain Layout
3167
3168 \end_layout
3169
3170 \end_inset
3171 </cell>
3172 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3173 \begin_inset Text
3174
3175 \begin_layout Plain Layout
3176
3177 \series bold
3178 TEL.
3179 \end_layout
3180
3181 \end_inset
3182 </cell>
3183 </row>
3184 <row endfoot="true">
3185 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
3186 \begin_inset Text
3187
3188 \begin_layout Plain Layout
3189  continued on next page
3190 \end_layout
3191
3192 \end_inset
3193 </cell>
3194 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3195 \begin_inset Text
3196
3197 \begin_layout Plain Layout
3198
3199 \end_layout
3200
3201 \end_inset
3202 </cell>
3203 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3204 \begin_inset Text
3205
3206 \begin_layout Plain Layout
3207
3208 \end_layout
3209
3210 \end_inset
3211 </cell>
3212 </row>
3213 <row>
3214 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3215 \begin_inset Text
3216
3217 \begin_layout Plain Layout
3218
3219 \series bold
3220 Annovi
3221 \end_layout
3222
3223 \end_inset
3224 </cell>
3225 <cell alignment="center" valignment="top" usebox="none">
3226 \begin_inset Text
3227
3228 \begin_layout Plain Layout
3229 Silvia
3230 \end_layout
3231
3232 \end_inset
3233 </cell>
3234 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
3235 \begin_inset Text
3236
3237 \begin_layout Plain Layout
3238 111
3239 \end_layout
3240
3241 \end_inset
3242 </cell>
3243 </row>
3244 <row>
3245 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3246 \begin_inset Text
3247
3248 \begin_layout Plain Layout
3249
3250 \series bold
3251 Bertoli
3252 \end_layout
3253
3254 \end_inset
3255 </cell>
3256 <cell alignment="center" valignment="top" usebox="none">
3257 \begin_inset Text
3258
3259 \begin_layout Plain Layout
3260 Stefano
3261 \end_layout
3262
3263 \end_inset
3264 </cell>
3265 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3266 \begin_inset Text
3267
3268 \begin_layout Plain Layout
3269 111
3270 \end_layout
3271
3272 \end_inset
3273 </cell>
3274 </row>
3275 <row>
3276 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3277 \begin_inset Text
3278
3279 \begin_layout Plain Layout
3280
3281 \series bold
3282 Bozzi
3283 \end_layout
3284
3285 \end_inset
3286 </cell>
3287 <cell alignment="center" valignment="top" usebox="none">
3288 \begin_inset Text
3289
3290 \begin_layout Plain Layout
3291 Walter
3292 \end_layout
3293
3294 \end_inset
3295 </cell>
3296 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3297 \begin_inset Text
3298
3299 \begin_layout Plain Layout
3300 111
3301 \end_layout
3302
3303 \end_inset
3304 </cell>
3305 </row>
3306 <row>
3307 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3308 \begin_inset Text
3309
3310 \begin_layout Plain Layout
3311
3312 \series bold
3313 Cachia
3314 \end_layout
3315
3316 \end_inset
3317 </cell>
3318 <cell alignment="center" valignment="top" usebox="none">
3319 \begin_inset Text
3320
3321 \begin_layout Plain Layout
3322 Maria
3323 \end_layout
3324
3325 \end_inset
3326 </cell>
3327 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3328 \begin_inset Text
3329
3330 \begin_layout Plain Layout
3331 111
3332 \end_layout
3333
3334 \end_inset
3335 </cell>
3336 </row>
3337 <row>
3338 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3339 \begin_inset Text
3340
3341 \begin_layout Plain Layout
3342
3343 \series bold
3344 Cachia
3345 \end_layout
3346
3347 \end_inset
3348 </cell>
3349 <cell alignment="center" valignment="top" usebox="none">
3350 \begin_inset Text
3351
3352 \begin_layout Plain Layout
3353 Maurizio
3354 \end_layout
3355
3356 \end_inset
3357 </cell>
3358 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3359 \begin_inset Text
3360
3361 \begin_layout Plain Layout
3362 111
3363 \end_layout
3364
3365 \end_inset
3366 </cell>
3367 </row>
3368 <row>
3369 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3370 \begin_inset Text
3371
3372 \begin_layout Plain Layout
3373
3374 \series bold
3375 Cinquemani
3376 \end_layout
3377
3378 \end_inset
3379 </cell>
3380 <cell alignment="center" valignment="top" usebox="none">
3381 \begin_inset Text
3382
3383 \begin_layout Plain Layout
3384 Giusi
3385 \end_layout
3386
3387 \end_inset
3388 </cell>
3389 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3390 \begin_inset Text
3391
3392 \begin_layout Plain Layout
3393 111
3394 \end_layout
3395
3396 \end_inset
3397 </cell>
3398 </row>
3399 <row>
3400 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3401 \begin_inset Text
3402
3403 \begin_layout Plain Layout
3404
3405 \series bold
3406 Colin
3407 \end_layout
3408
3409 \end_inset
3410 </cell>
3411 <cell alignment="center" valignment="top" usebox="none">
3412 \begin_inset Text
3413
3414 \begin_layout Plain Layout
3415 Bernard
3416 \end_layout
3417
3418 \end_inset
3419 </cell>
3420 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3421 \begin_inset Text
3422
3423 \begin_layout Plain Layout
3424 111
3425 \end_layout
3426
3427 \end_inset
3428 </cell>
3429 </row>
3430 <row>
3431 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3432 \begin_inset Text
3433
3434 \begin_layout Plain Layout
3435
3436 \series bold
3437 Concli
3438 \end_layout
3439
3440 \end_inset
3441 </cell>
3442 <cell alignment="center" valignment="top" usebox="none">
3443 \begin_inset Text
3444
3445 \begin_layout Plain Layout
3446 Gianfranco
3447 \end_layout
3448
3449 \end_inset
3450 </cell>
3451 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3452 \begin_inset Text
3453
3454 \begin_layout Plain Layout
3455 111
3456 \end_layout
3457
3458 \end_inset
3459 </cell>
3460 </row>
3461 <row>
3462 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3463 \begin_inset Text
3464
3465 \begin_layout Plain Layout
3466
3467 \series bold
3468 Dal Bosco
3469 \end_layout
3470
3471 \end_inset
3472 </cell>
3473 <cell alignment="center" valignment="top" usebox="none">
3474 \begin_inset Text
3475
3476 \begin_layout Plain Layout
3477 Carolina
3478 \end_layout
3479
3480 \end_inset
3481 </cell>
3482 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3483 \begin_inset Text
3484
3485 \begin_layout Plain Layout
3486 111
3487 \end_layout
3488
3489 \end_inset
3490 </cell>
3491 </row>
3492 <row>
3493 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3494 \begin_inset Text
3495
3496 \begin_layout Plain Layout
3497
3498 \series bold
3499 Dalpiaz
3500 \end_layout
3501
3502 \end_inset
3503 </cell>
3504 <cell alignment="center" valignment="top" usebox="none">
3505 \begin_inset Text
3506
3507 \begin_layout Plain Layout
3508 Annamaria
3509 \end_layout
3510
3511 \end_inset
3512 </cell>
3513 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3514 \begin_inset Text
3515
3516 \begin_layout Plain Layout
3517 111
3518 \end_layout
3519
3520 \end_inset
3521 </cell>
3522 </row>
3523 <row>
3524 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3525 \begin_inset Text
3526
3527 \begin_layout Plain Layout
3528
3529 \series bold
3530 Feliciello
3531 \end_layout
3532
3533 \end_inset
3534 </cell>
3535 <cell alignment="center" valignment="top" usebox="none">
3536 \begin_inset Text
3537
3538 \begin_layout Plain Layout
3539 Domenico
3540 \end_layout
3541
3542 \end_inset
3543 </cell>
3544 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3545 \begin_inset Text
3546
3547 \begin_layout Plain Layout
3548 111
3549 \end_layout
3550
3551 \end_inset
3552 </cell>
3553 </row>
3554 <row>
3555 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3556 \begin_inset Text
3557
3558 \begin_layout Plain Layout
3559
3560 \series bold
3561 Focarelli
3562 \end_layout
3563
3564 \end_inset
3565 </cell>
3566 <cell alignment="center" valignment="top" usebox="none">
3567 \begin_inset Text
3568
3569 \begin_layout Plain Layout
3570 Paola
3571 \end_layout
3572
3573 \end_inset
3574 </cell>
3575 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3576 \begin_inset Text
3577
3578 \begin_layout Plain Layout
3579 111
3580 \end_layout
3581
3582 \end_inset
3583 </cell>
3584 </row>
3585 <row>
3586 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3587 \begin_inset Text
3588
3589 \begin_layout Plain Layout
3590
3591 \series bold
3592 Galletti
3593 \end_layout
3594
3595 \end_inset
3596 </cell>
3597 <cell alignment="center" valignment="top" usebox="none">
3598 \begin_inset Text
3599
3600 \begin_layout Plain Layout
3601 Oreste
3602 \end_layout
3603
3604 \end_inset
3605 </cell>
3606 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3607 \begin_inset Text
3608
3609 \begin_layout Plain Layout
3610 111
3611 \end_layout
3612
3613 \end_inset
3614 </cell>
3615 </row>
3616 <row>
3617 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3618 \begin_inset Text
3619
3620 \begin_layout Plain Layout
3621
3622 \series bold
3623 Gasparini
3624 \end_layout
3625
3626 \end_inset
3627 </cell>
3628 <cell alignment="center" valignment="top" usebox="none">
3629 \begin_inset Text
3630
3631 \begin_layout Plain Layout
3632 Franca
3633 \end_layout
3634
3635 \end_inset
3636 </cell>
3637 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3638 \begin_inset Text
3639
3640 \begin_layout Plain Layout
3641 111
3642 \end_layout
3643
3644 \end_inset
3645 </cell>
3646 </row>
3647 <row>
3648 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3649 \begin_inset Text
3650
3651 \begin_layout Plain Layout
3652
3653 \series bold
3654 Rizzardi
3655 \end_layout
3656
3657 \end_inset
3658 </cell>
3659 <cell alignment="center" valignment="top" usebox="none">
3660 \begin_inset Text
3661
3662 \begin_layout Plain Layout
3663 Paola
3664 \end_layout
3665
3666 \end_inset
3667 </cell>
3668 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3669 \begin_inset Text
3670
3671 \begin_layout Plain Layout
3672 111
3673 \end_layout
3674
3675 \end_inset
3676 </cell>
3677 </row>
3678 <row>
3679 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3680 \begin_inset Text
3681
3682 \begin_layout Plain Layout
3683
3684 \series bold
3685 Lassini
3686 \end_layout
3687
3688 \end_inset
3689 </cell>
3690 <cell alignment="center" valignment="top" usebox="none">
3691 \begin_inset Text
3692
3693 \begin_layout Plain Layout
3694 Giancarlo
3695 \end_layout
3696
3697 \end_inset
3698 </cell>
3699 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3700 \begin_inset Text
3701
3702 \begin_layout Plain Layout
3703 111
3704 \end_layout
3705
3706 \end_inset
3707 </cell>
3708 </row>
3709 <row>
3710 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3711 \begin_inset Text
3712
3713 \begin_layout Plain Layout
3714
3715 \series bold
3716 Malfatti
3717 \end_layout
3718
3719 \end_inset
3720 </cell>
3721 <cell alignment="center" valignment="top" usebox="none">
3722 \begin_inset Text
3723
3724 \begin_layout Plain Layout
3725 Luciano
3726 \end_layout
3727
3728 \end_inset
3729 </cell>
3730 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3731 \begin_inset Text
3732
3733 \begin_layout Plain Layout
3734 111
3735 \end_layout
3736
3737 \end_inset
3738 </cell>
3739 </row>
3740 <row>
3741 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3742 \begin_inset Text
3743
3744 \begin_layout Plain Layout
3745
3746 \series bold
3747 Malfatti
3748 \end_layout
3749
3750 \end_inset
3751 </cell>
3752 <cell alignment="center" valignment="top" usebox="none">
3753 \begin_inset Text
3754
3755 \begin_layout Plain Layout
3756 Valeriano
3757 \end_layout
3758
3759 \end_inset
3760 </cell>
3761 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3762 \begin_inset Text
3763
3764 \begin_layout Plain Layout
3765 111
3766 \end_layout
3767
3768 \end_inset
3769 </cell>
3770 </row>
3771 <row>
3772 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3773 \begin_inset Text
3774
3775 \begin_layout Plain Layout
3776
3777 \series bold
3778 Meneguzzo
3779 \end_layout
3780
3781 \end_inset
3782 </cell>
3783 <cell alignment="center" valignment="top" usebox="none">
3784 \begin_inset Text
3785
3786 \begin_layout Plain Layout
3787 Roberto
3788 \end_layout
3789
3790 \end_inset
3791 </cell>
3792 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3793 \begin_inset Text
3794
3795 \begin_layout Plain Layout
3796 111
3797 \end_layout
3798
3799 \end_inset
3800 </cell>
3801 </row>
3802 <row>
3803 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3804 \begin_inset Text
3805
3806 \begin_layout Plain Layout
3807
3808 \series bold
3809 Mezzadra
3810 \end_layout
3811
3812 \end_inset
3813 </cell>
3814 <cell alignment="center" valignment="top" usebox="none">
3815 \begin_inset Text
3816
3817 \begin_layout Plain Layout
3818 Roberto
3819 \end_layout
3820
3821 \end_inset
3822 </cell>
3823 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3824 \begin_inset Text
3825
3826 \begin_layout Plain Layout
3827 111
3828 \end_layout
3829
3830 \end_inset
3831 </cell>
3832 </row>
3833 <row>
3834 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3835 \begin_inset Text
3836
3837 \begin_layout Plain Layout
3838
3839 \series bold
3840 Pirpamer
3841 \end_layout
3842
3843 \end_inset
3844 </cell>
3845 <cell alignment="center" valignment="top" usebox="none">
3846 \begin_inset Text
3847
3848 \begin_layout Plain Layout
3849 Erich
3850 \end_layout
3851
3852 \end_inset
3853 </cell>
3854 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3855 \begin_inset Text
3856
3857 \begin_layout Plain Layout
3858 111
3859 \end_layout
3860
3861 \end_inset
3862 </cell>
3863 </row>
3864 <row>
3865 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3866 \begin_inset Text
3867
3868 \begin_layout Plain Layout
3869
3870 \series bold
3871 Pochiesa
3872 \end_layout
3873
3874 \end_inset
3875 </cell>
3876 <cell alignment="center" valignment="top" usebox="none">
3877 \begin_inset Text
3878
3879 \begin_layout Plain Layout
3880 Paolo
3881 \end_layout
3882
3883 \end_inset
3884 </cell>
3885 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3886 \begin_inset Text
3887
3888 \begin_layout Plain Layout
3889 111, 222
3890 \end_layout
3891
3892 \end_inset
3893 </cell>
3894 </row>
3895 <row>
3896 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3897 \begin_inset Text
3898
3899 \begin_layout Plain Layout
3900
3901 \series bold
3902 Radina
3903 \end_layout
3904
3905 \end_inset
3906 </cell>
3907 <cell alignment="center" valignment="top" usebox="none">
3908 \begin_inset Text
3909
3910 \begin_layout Plain Layout
3911 Claudio
3912 \end_layout
3913
3914 \end_inset
3915 </cell>
3916 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3917 \begin_inset Text
3918
3919 \begin_layout Plain Layout
3920 111
3921 \end_layout
3922
3923 \end_inset
3924 </cell>
3925 </row>
3926 <row>
3927 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3928 \begin_inset Text
3929
3930 \begin_layout Plain Layout
3931
3932 \series bold
3933 Stuffer
3934 \end_layout
3935
3936 \end_inset
3937 </cell>
3938 <cell alignment="center" valignment="top" usebox="none">
3939 \begin_inset Text
3940
3941 \begin_layout Plain Layout
3942 Oskar
3943 \end_layout
3944
3945 \end_inset
3946 </cell>
3947 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3948 \begin_inset Text
3949
3950 \begin_layout Plain Layout
3951 111
3952 \end_layout
3953
3954 \end_inset
3955 </cell>
3956 </row>
3957 <row>
3958 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3959 \begin_inset Text
3960
3961 \begin_layout Plain Layout
3962
3963 \series bold
3964 Tacchelli
3965 \end_layout
3966
3967 \end_inset
3968 </cell>
3969 <cell alignment="center" valignment="top" usebox="none">
3970 \begin_inset Text
3971
3972 \begin_layout Plain Layout
3973 Ugo
3974 \end_layout
3975
3976 \end_inset
3977 </cell>
3978 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3979 \begin_inset Text
3980
3981 \begin_layout Plain Layout
3982 111
3983 \end_layout
3984
3985 \end_inset
3986 </cell>
3987 </row>
3988 <row>
3989 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3990 \begin_inset Text
3991
3992 \begin_layout Plain Layout
3993
3994 \series bold
3995 Tezzele
3996 \end_layout
3997
3998 \end_inset
3999 </cell>
4000 <cell alignment="center" valignment="top" usebox="none">
4001 \begin_inset Text
4002
4003 \begin_layout Plain Layout
4004 Margit
4005 \end_layout
4006
4007 \end_inset
4008 </cell>
4009 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4010 \begin_inset Text
4011
4012 \begin_layout Plain Layout
4013 111
4014 \end_layout
4015
4016 \end_inset
4017 </cell>
4018 </row>
4019 <row>
4020 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4021 \begin_inset Text
4022
4023 \begin_layout Plain Layout
4024
4025 \series bold
4026 Unterkalmsteiner
4027 \end_layout
4028
4029 \end_inset
4030 </cell>
4031 <cell alignment="center" valignment="top" usebox="none">
4032 \begin_inset Text
4033
4034 \begin_layout Plain Layout
4035 Frieda
4036 \end_layout
4037
4038 \end_inset
4039 </cell>
4040 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4041 \begin_inset Text
4042
4043 \begin_layout Plain Layout
4044 111
4045 \end_layout
4046
4047 \end_inset
4048 </cell>
4049 </row>
4050 <row>
4051 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4052 \begin_inset Text
4053
4054 \begin_layout Plain Layout
4055
4056 \series bold
4057 Vieider
4058 \end_layout
4059
4060 \end_inset
4061 </cell>
4062 <cell alignment="center" valignment="top" usebox="none">
4063 \begin_inset Text
4064
4065 \begin_layout Plain Layout
4066 Hilde
4067 \end_layout
4068
4069 \end_inset
4070 </cell>
4071 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4072 \begin_inset Text
4073
4074 \begin_layout Plain Layout
4075 111
4076 \end_layout
4077
4078 \end_inset
4079 </cell>
4080 </row>
4081 <row>
4082 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4083 \begin_inset Text
4084
4085 \begin_layout Plain Layout
4086
4087 \series bold
4088 Vigna
4089 \end_layout
4090
4091 \end_inset
4092 </cell>
4093 <cell alignment="center" valignment="top" usebox="none">
4094 \begin_inset Text
4095
4096 \begin_layout Plain Layout
4097 Jürgen
4098 \end_layout
4099
4100 \end_inset
4101 </cell>
4102 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4103 \begin_inset Text
4104
4105 \begin_layout Plain Layout
4106 111
4107 \end_layout
4108
4109 \end_inset
4110 </cell>
4111 </row>
4112 <row>
4113 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4114 \begin_inset Text
4115
4116 \begin_layout Plain Layout
4117
4118 \series bold
4119 Weber
4120 \end_layout
4121
4122 \end_inset
4123 </cell>
4124 <cell alignment="center" valignment="top" usebox="none">
4125 \begin_inset Text
4126
4127 \begin_layout Plain Layout
4128 Maurizio
4129 \end_layout
4130
4131 \end_inset
4132 </cell>
4133 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4134 \begin_inset Text
4135
4136 \begin_layout Plain Layout
4137 111
4138 \end_layout
4139
4140 \end_inset
4141 </cell>
4142 </row>
4143 <row>
4144 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
4145 \begin_inset Text
4146
4147 \begin_layout Plain Layout
4148
4149 \series bold
4150 Winkler
4151 \end_layout
4152
4153 \end_inset
4154 </cell>
4155 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4156 \begin_inset Text
4157
4158 \begin_layout Plain Layout
4159 Franz
4160 \end_layout
4161
4162 \end_inset
4163 </cell>
4164 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4165 \begin_inset Text
4166
4167 \begin_layout Plain Layout
4168 111
4169 \end_layout
4170
4171 \end_inset
4172 </cell>
4173 </row>
4174 <row>
4175 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4176 \begin_inset Text
4177
4178 \begin_layout Plain Layout
4179  
4180 \end_layout
4181
4182 \end_inset
4183 </cell>
4184 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4185 \begin_inset Text
4186
4187 \begin_layout Plain Layout
4188
4189 \end_layout
4190
4191 \end_inset
4192 </cell>
4193 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4194 \begin_inset Text
4195
4196 \begin_layout Plain Layout
4197
4198 \end_layout
4199
4200 \end_inset
4201 </cell>
4202 </row>
4203 <row>
4204 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4205 \begin_inset Text
4206
4207 \begin_layout Plain Layout
4208
4209 \series bold
4210 Annovi
4211 \end_layout
4212
4213 \end_inset
4214 </cell>
4215 <cell alignment="center" valignment="top" usebox="none">
4216 \begin_inset Text
4217
4218 \begin_layout Plain Layout
4219 Silvia
4220 \end_layout
4221
4222 \end_inset
4223 </cell>
4224 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4225 \begin_inset Text
4226
4227 \begin_layout Plain Layout
4228 555
4229 \end_layout
4230
4231 \end_inset
4232 </cell>
4233 </row>
4234 <row>
4235 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4236 \begin_inset Text
4237
4238 \begin_layout Plain Layout
4239
4240 \series bold
4241 Bertoli
4242 \end_layout
4243
4244 \end_inset
4245 </cell>
4246 <cell alignment="center" valignment="top" usebox="none">
4247 \begin_inset Text
4248
4249 \begin_layout Plain Layout
4250 Stefano
4251 \end_layout
4252
4253 \end_inset
4254 </cell>
4255 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4256 \begin_inset Text
4257
4258 \begin_layout Plain Layout
4259 555
4260 \end_layout
4261
4262 \end_inset
4263 </cell>
4264 </row>
4265 <row>
4266 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4267 \begin_inset Text
4268
4269 \begin_layout Plain Layout
4270
4271 \series bold
4272 Bozzi
4273 \end_layout
4274
4275 \end_inset
4276 </cell>
4277 <cell alignment="center" valignment="top" usebox="none">
4278 \begin_inset Text
4279
4280 \begin_layout Plain Layout
4281 Walter
4282 \end_layout
4283
4284 \end_inset
4285 </cell>
4286 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4287 \begin_inset Text
4288
4289 \begin_layout Plain Layout
4290 555
4291 \end_layout
4292
4293 \end_inset
4294 </cell>
4295 </row>
4296 <row>
4297 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4298 \begin_inset Text
4299
4300 \begin_layout Plain Layout
4301
4302 \series bold
4303 Cachia
4304 \end_layout
4305
4306 \end_inset
4307 </cell>
4308 <cell alignment="center" valignment="top" usebox="none">
4309 \begin_inset Text
4310
4311 \begin_layout Plain Layout
4312 Maria
4313 \end_layout
4314
4315 \end_inset
4316 </cell>
4317 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4318 \begin_inset Text
4319
4320 \begin_layout Plain Layout
4321 555
4322 \end_layout
4323
4324 \end_inset
4325 </cell>
4326 </row>
4327 <row>
4328 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4329 \begin_inset Text
4330
4331 \begin_layout Plain Layout
4332
4333 \series bold
4334 Cachia
4335 \end_layout
4336
4337 \end_inset
4338 </cell>
4339 <cell alignment="center" valignment="top" usebox="none">
4340 \begin_inset Text
4341
4342 \begin_layout Plain Layout
4343 Maurizio
4344 \end_layout
4345
4346 \end_inset
4347 </cell>
4348 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4349 \begin_inset Text
4350
4351 \begin_layout Plain Layout
4352 555
4353 \end_layout
4354
4355 \end_inset
4356 </cell>
4357 </row>
4358 <row>
4359 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4360 \begin_inset Text
4361
4362 \begin_layout Plain Layout
4363
4364 \series bold
4365 Cinquemani
4366 \end_layout
4367
4368 \end_inset
4369 </cell>
4370 <cell alignment="center" valignment="top" usebox="none">
4371 \begin_inset Text
4372
4373 \begin_layout Plain Layout
4374 Giusi
4375 \end_layout
4376
4377 \end_inset
4378 </cell>
4379 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4380 \begin_inset Text
4381
4382 \begin_layout Plain Layout
4383 555
4384 \end_layout
4385
4386 \end_inset
4387 </cell>
4388 </row>
4389 <row>
4390 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4391 \begin_inset Text
4392
4393 \begin_layout Plain Layout
4394
4395 \series bold
4396 Colin
4397 \end_layout
4398
4399 \end_inset
4400 </cell>
4401 <cell alignment="center" valignment="top" usebox="none">
4402 \begin_inset Text
4403
4404 \begin_layout Plain Layout
4405 Bernard
4406 \end_layout
4407
4408 \end_inset
4409 </cell>
4410 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4411 \begin_inset Text
4412
4413 \begin_layout Plain Layout
4414 555
4415 \end_layout
4416
4417 \end_inset
4418 </cell>
4419 </row>
4420 <row>
4421 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4422 \begin_inset Text
4423
4424 \begin_layout Plain Layout
4425
4426 \series bold
4427 Concli
4428 \end_layout
4429
4430 \end_inset
4431 </cell>
4432 <cell alignment="center" valignment="top" usebox="none">
4433 \begin_inset Text
4434
4435 \begin_layout Plain Layout
4436 Gianfranco
4437 \end_layout
4438
4439 \end_inset
4440 </cell>
4441 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4442 \begin_inset Text
4443
4444 \begin_layout Plain Layout
4445 555
4446 \end_layout
4447
4448 \end_inset
4449 </cell>
4450 </row>
4451 <row>
4452 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4453 \begin_inset Text
4454
4455 \begin_layout Plain Layout
4456
4457 \series bold
4458 Dal Bosco
4459 \end_layout
4460
4461 \end_inset
4462 </cell>
4463 <cell alignment="center" valignment="top" usebox="none">
4464 \begin_inset Text
4465
4466 \begin_layout Plain Layout
4467 Carolina
4468 \end_layout
4469
4470 \end_inset
4471 </cell>
4472 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4473 \begin_inset Text
4474
4475 \begin_layout Plain Layout
4476 555
4477 \end_layout
4478
4479 \end_inset
4480 </cell>
4481 </row>
4482 <row>
4483 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4484 \begin_inset Text
4485
4486 \begin_layout Plain Layout
4487
4488 \series bold
4489 Dalpiaz
4490 \end_layout
4491
4492 \end_inset
4493 </cell>
4494 <cell alignment="center" valignment="top" usebox="none">
4495 \begin_inset Text
4496
4497 \begin_layout Plain Layout
4498 Annamaria
4499 \end_layout
4500
4501 \end_inset
4502 </cell>
4503 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4504 \begin_inset Text
4505
4506 \begin_layout Plain Layout
4507 555
4508 \end_layout
4509
4510 \end_inset
4511 </cell>
4512 </row>
4513 <row>
4514 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4515 \begin_inset Text
4516
4517 \begin_layout Plain Layout
4518
4519 \series bold
4520 Feliciello
4521 \end_layout
4522
4523 \end_inset
4524 </cell>
4525 <cell alignment="center" valignment="top" usebox="none">
4526 \begin_inset Text
4527
4528 \begin_layout Plain Layout
4529 Domenico
4530 \end_layout
4531
4532 \end_inset
4533 </cell>
4534 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4535 \begin_inset Text
4536
4537 \begin_layout Plain Layout
4538 555
4539 \end_layout
4540
4541 \end_inset
4542 </cell>
4543 </row>
4544 <row>
4545 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4546 \begin_inset Text
4547
4548 \begin_layout Plain Layout
4549
4550 \series bold
4551 Focarelli
4552 \end_layout
4553
4554 \end_inset
4555 </cell>
4556 <cell alignment="center" valignment="top" usebox="none">
4557 \begin_inset Text
4558
4559 \begin_layout Plain Layout
4560 Paola
4561 \end_layout
4562
4563 \end_inset
4564 </cell>
4565 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4566 \begin_inset Text
4567
4568 \begin_layout Plain Layout
4569 555
4570 \end_layout
4571
4572 \end_inset
4573 </cell>
4574 </row>
4575 <row>
4576 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4577 \begin_inset Text
4578
4579 \begin_layout Plain Layout
4580
4581 \series bold
4582 Galletti
4583 \end_layout
4584
4585 \end_inset
4586 </cell>
4587 <cell alignment="center" valignment="top" usebox="none">
4588 \begin_inset Text
4589
4590 \begin_layout Plain Layout
4591 Oreste
4592 \end_layout
4593
4594 \end_inset
4595 </cell>
4596 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4597 \begin_inset Text
4598
4599 \begin_layout Plain Layout
4600 555
4601 \end_layout
4602
4603 \end_inset
4604 </cell>
4605 </row>
4606 <row>
4607 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4608 \begin_inset Text
4609
4610 \begin_layout Plain Layout
4611
4612 \series bold
4613 Gasparini
4614 \end_layout
4615
4616 \end_inset
4617 </cell>
4618 <cell alignment="center" valignment="top" usebox="none">
4619 \begin_inset Text
4620
4621 \begin_layout Plain Layout
4622 Franca
4623 \end_layout
4624
4625 \end_inset
4626 </cell>
4627 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4628 \begin_inset Text
4629
4630 \begin_layout Plain Layout
4631 555
4632 \end_layout
4633
4634 \end_inset
4635 </cell>
4636 </row>
4637 <row>
4638 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4639 \begin_inset Text
4640
4641 \begin_layout Plain Layout
4642
4643 \series bold
4644 Rizzardi
4645 \end_layout
4646
4647 \end_inset
4648 </cell>
4649 <cell alignment="center" valignment="top" usebox="none">
4650 \begin_inset Text
4651
4652 \begin_layout Plain Layout
4653 Paola
4654 \end_layout
4655
4656 \end_inset
4657 </cell>
4658 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4659 \begin_inset Text
4660
4661 \begin_layout Plain Layout
4662 555
4663 \end_layout
4664
4665 \end_inset
4666 </cell>
4667 </row>
4668 <row>
4669 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4670 \begin_inset Text
4671
4672 \begin_layout Plain Layout
4673
4674 \series bold
4675 Lassini
4676 \end_layout
4677
4678 \end_inset
4679 </cell>
4680 <cell alignment="center" valignment="top" usebox="none">
4681 \begin_inset Text
4682
4683 \begin_layout Plain Layout
4684 Giancarlo
4685 \end_layout
4686
4687 \end_inset
4688 </cell>
4689 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4690 \begin_inset Text
4691
4692 \begin_layout Plain Layout
4693 555
4694 \end_layout
4695
4696 \end_inset
4697 </cell>
4698 </row>
4699 <row>
4700 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4701 \begin_inset Text
4702
4703 \begin_layout Plain Layout
4704
4705 \series bold
4706 Malfatti
4707 \end_layout
4708
4709 \end_inset
4710 </cell>
4711 <cell alignment="center" valignment="top" usebox="none">
4712 \begin_inset Text
4713
4714 \begin_layout Plain Layout
4715 Luciano
4716 \end_layout
4717
4718 \end_inset
4719 </cell>
4720 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4721 \begin_inset Text
4722
4723 \begin_layout Plain Layout
4724 555
4725 \end_layout
4726
4727 \end_inset
4728 </cell>
4729 </row>
4730 <row>
4731 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4732 \begin_inset Text
4733
4734 \begin_layout Plain Layout
4735
4736 \series bold
4737 Malfatti
4738 \end_layout
4739
4740 \end_inset
4741 </cell>
4742 <cell alignment="center" valignment="top" usebox="none">
4743 \begin_inset Text
4744
4745 \begin_layout Plain Layout
4746 Valeriano
4747 \end_layout
4748
4749 \end_inset
4750 </cell>
4751 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4752 \begin_inset Text
4753
4754 \begin_layout Plain Layout
4755 555
4756 \end_layout
4757
4758 \end_inset
4759 </cell>
4760 </row>
4761 <row>
4762 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4763 \begin_inset Text
4764
4765 \begin_layout Plain Layout
4766
4767 \series bold
4768 Meneguzzo
4769 \end_layout
4770
4771 \end_inset
4772 </cell>
4773 <cell alignment="center" valignment="top" usebox="none">
4774 \begin_inset Text
4775
4776 \begin_layout Plain Layout
4777 Roberto
4778 \end_layout
4779
4780 \end_inset
4781 </cell>
4782 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4783 \begin_inset Text
4784
4785 \begin_layout Plain Layout
4786 555
4787 \end_layout
4788
4789 \end_inset
4790 </cell>
4791 </row>
4792 <row>
4793 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4794 \begin_inset Text
4795
4796 \begin_layout Plain Layout
4797
4798 \series bold
4799 Mezzadra
4800 \end_layout
4801
4802 \end_inset
4803 </cell>
4804 <cell alignment="center" valignment="top" usebox="none">
4805 \begin_inset Text
4806
4807 \begin_layout Plain Layout
4808 Roberto
4809 \end_layout
4810
4811 \end_inset
4812 </cell>
4813 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4814 \begin_inset Text
4815
4816 \begin_layout Plain Layout
4817 555
4818 \end_layout
4819
4820 \end_inset
4821 </cell>
4822 </row>
4823 <row>
4824 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4825 \begin_inset Text
4826
4827 \begin_layout Plain Layout
4828
4829 \series bold
4830 Pirpamer
4831 \end_layout
4832
4833 \end_inset
4834 </cell>
4835 <cell alignment="center" valignment="top" usebox="none">
4836 \begin_inset Text
4837
4838 \begin_layout Plain Layout
4839 Erich
4840 \end_layout
4841
4842 \end_inset
4843 </cell>
4844 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4845 \begin_inset Text
4846
4847 \begin_layout Plain Layout
4848 555
4849 \end_layout
4850
4851 \end_inset
4852 </cell>
4853 </row>
4854 <row>
4855 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4856 \begin_inset Text
4857
4858 \begin_layout Plain Layout
4859
4860 \series bold
4861 Pochiesa
4862 \end_layout
4863
4864 \end_inset
4865 </cell>
4866 <cell alignment="center" valignment="top" usebox="none">
4867 \begin_inset Text
4868
4869 \begin_layout Plain Layout
4870 Paolo
4871 \end_layout
4872
4873 \end_inset
4874 </cell>
4875 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4876 \begin_inset Text
4877
4878 \begin_layout Plain Layout
4879 555, 222
4880 \end_layout
4881
4882 \end_inset
4883 </cell>
4884 </row>
4885 <row>
4886 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4887 \begin_inset Text
4888
4889 \begin_layout Plain Layout
4890
4891 \series bold
4892 Radina
4893 \end_layout
4894
4895 \end_inset
4896 </cell>
4897 <cell alignment="center" valignment="top" usebox="none">
4898 \begin_inset Text
4899
4900 \begin_layout Plain Layout
4901 Claudio
4902 \end_layout
4903
4904 \end_inset
4905 </cell>
4906 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4907 \begin_inset Text
4908
4909 \begin_layout Plain Layout
4910 555
4911 \end_layout
4912
4913 \end_inset
4914 </cell>
4915 </row>
4916 <row>
4917 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4918 \begin_inset Text
4919
4920 \begin_layout Plain Layout
4921
4922 \series bold
4923 Stuffer
4924 \end_layout
4925
4926 \end_inset
4927 </cell>
4928 <cell alignment="center" valignment="top" usebox="none">
4929 \begin_inset Text
4930
4931 \begin_layout Plain Layout
4932 Oskar
4933 \end_layout
4934
4935 \end_inset
4936 </cell>
4937 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4938 \begin_inset Text
4939
4940 \begin_layout Plain Layout
4941 555
4942 \end_layout
4943
4944 \end_inset
4945 </cell>
4946 </row>
4947 <row>
4948 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4949 \begin_inset Text
4950
4951 \begin_layout Plain Layout
4952
4953 \series bold
4954 Tacchelli
4955 \end_layout
4956
4957 \end_inset
4958 </cell>
4959 <cell alignment="center" valignment="top" usebox="none">
4960 \begin_inset Text
4961
4962 \begin_layout Plain Layout
4963 Ugo
4964 \end_layout
4965
4966 \end_inset
4967 </cell>
4968 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4969 \begin_inset Text
4970
4971 \begin_layout Plain Layout
4972 555
4973 \end_layout
4974
4975 \end_inset
4976 </cell>
4977 </row>
4978 <row>
4979 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4980 \begin_inset Text
4981
4982 \begin_layout Plain Layout
4983
4984 \series bold
4985 Tezzele
4986 \end_layout
4987
4988 \end_inset
4989 </cell>
4990 <cell alignment="center" valignment="top" usebox="none">
4991 \begin_inset Text
4992
4993 \begin_layout Plain Layout
4994 Margit
4995 \end_layout
4996
4997 \end_inset
4998 </cell>
4999 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5000 \begin_inset Text
5001
5002 \begin_layout Plain Layout
5003 555
5004 \end_layout
5005
5006 \end_inset
5007 </cell>
5008 </row>
5009 <row>
5010 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5011 \begin_inset Text
5012
5013 \begin_layout Plain Layout
5014
5015 \series bold
5016 Unterkalmsteiner
5017 \end_layout
5018
5019 \end_inset
5020 </cell>
5021 <cell alignment="center" valignment="top" usebox="none">
5022 \begin_inset Text
5023
5024 \begin_layout Plain Layout
5025 Frieda
5026 \end_layout
5027
5028 \end_inset
5029 </cell>
5030 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5031 \begin_inset Text
5032
5033 \begin_layout Plain Layout
5034 555
5035 \end_layout
5036
5037 \end_inset
5038 </cell>
5039 </row>
5040 <row>
5041 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5042 \begin_inset Text
5043
5044 \begin_layout Plain Layout
5045
5046 \series bold
5047 Vieider
5048 \end_layout
5049
5050 \end_inset
5051 </cell>
5052 <cell alignment="center" valignment="top" usebox="none">
5053 \begin_inset Text
5054
5055 \begin_layout Plain Layout
5056 Hilde
5057 \end_layout
5058
5059 \end_inset
5060 </cell>
5061 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5062 \begin_inset Text
5063
5064 \begin_layout Plain Layout
5065 555
5066 \end_layout
5067
5068 \end_inset
5069 </cell>
5070 </row>
5071 <row>
5072 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5073 \begin_inset Text
5074
5075 \begin_layout Plain Layout
5076
5077 \series bold
5078 Vigna
5079 \end_layout
5080
5081 \end_inset
5082 </cell>
5083 <cell alignment="center" valignment="top" usebox="none">
5084 \begin_inset Text
5085
5086 \begin_layout Plain Layout
5087 Jürgen
5088 \end_layout
5089
5090 \end_inset
5091 </cell>
5092 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5093 \begin_inset Text
5094
5095 \begin_layout Plain Layout
5096 999
5097 \end_layout
5098
5099 \end_inset
5100 </cell>
5101 </row>
5102 <row>
5103 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5104 \begin_inset Text
5105
5106 \begin_layout Plain Layout
5107
5108 \series bold
5109 Weber
5110 \end_layout
5111
5112 \end_inset
5113 </cell>
5114 <cell alignment="center" valignment="top" usebox="none">
5115 \begin_inset Text
5116
5117 \begin_layout Plain Layout
5118 Maurizio
5119 \end_layout
5120
5121 \end_inset
5122 </cell>
5123 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5124 \begin_inset Text
5125
5126 \begin_layout Plain Layout
5127 555
5128 \end_layout
5129
5130 \end_inset
5131 </cell>
5132 </row>
5133 <row>
5134 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
5135 \begin_inset Text
5136
5137 \begin_layout Plain Layout
5138
5139 \series bold
5140 Winkler
5141 \end_layout
5142
5143 \end_inset
5144 </cell>
5145 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
5146 \begin_inset Text
5147
5148 \begin_layout Plain Layout
5149 Franz
5150 \end_layout
5151
5152 \end_inset
5153 </cell>
5154 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
5155 \begin_inset Text
5156
5157 \begin_layout Plain Layout
5158 555
5159 \end_layout
5160
5161 \end_inset
5162 </cell>
5163 </row>
5164 <row endlastfoot="true">
5165 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
5166 \begin_inset Text
5167
5168 \begin_layout Plain Layout
5169 end
5170 \end_layout
5171
5172 \end_inset
5173 </cell>
5174 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
5175 \begin_inset Text
5176
5177 \begin_layout Plain Layout
5178
5179 \end_layout
5180
5181 \end_inset
5182 </cell>
5183 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5184 \begin_inset Text
5185
5186 \begin_layout Plain Layout
5187
5188 \end_layout
5189
5190 \end_inset
5191 </cell>
5192 </row>
5193 </lyxtabular>
5194
5195 \end_inset
5196
5197
5198 \begin_inset ERT
5199 status collapsed
5200
5201 \begin_layout Plain Layout
5202
5203
5204 \backslash
5205 addtocounter{table}{-1}
5206 \end_layout
5207
5208 \end_inset
5209
5210
5211 \begin_inset Note Note
5212 status collapsed
5213
5214 \begin_layout Plain Layout
5215 See the first greyed-out note in section
5216 \begin_inset space ~
5217 \end_inset
5218
5219
5220 \begin_inset CommandInset ref
5221 LatexCommand ref
5222 reference "sub:Longtable-Captions"
5223
5224 \end_inset
5225
5226  for an explanation of this command.
5227 \end_layout
5228
5229 \end_inset
5230
5231
5232 \end_layout
5233
5234 \begin_layout Subsection
5235 Footnotes in Longtables
5236 \begin_inset CommandInset label
5237 LatexCommand label
5238 name "sub:Footnotes-in-Longtables"
5239
5240 \end_inset
5241
5242
5243 \begin_inset Index
5244 status collapsed
5245
5246 \begin_layout Plain Layout
5247 Longtables ! Footnotes
5248 \end_layout
5249
5250 \end_inset
5251
5252
5253 \end_layout
5254
5255 \begin_layout Standard
5256 Footnotes can be inserted to every longtable cell.
5257  They appear at the bottom of the page where the table cell with the footnote
5258  appears.
5259  Table
5260 \begin_inset space ~
5261 \end_inset
5262
5263
5264 \begin_inset CommandInset ref
5265 LatexCommand ref
5266 reference "tab:DiffCaptions"
5267
5268 \end_inset
5269
5270  has for example a footnote.
5271 \end_layout
5272
5273 \begin_layout Subsection
5274 Longtable Alignment
5275 \begin_inset Index
5276 status collapsed
5277
5278 \begin_layout Plain Layout
5279 Longtables ! Alignment
5280 \end_layout
5281
5282 \end_inset
5283
5284
5285 \end_layout
5286
5287 \begin_layout Standard
5288 Longtables are by default centered.
5289  In contrary to the alignment of the table columns and row, the table alignment
5290  can currently not be changed in the table dialog.
5291  To change the alignment of longtables you have to change the value of the
5292  lengths 
5293 \series bold
5294
5295 \backslash
5296 LTleft 
5297 \series default
5298 and 
5299 \series bold
5300
5301 \backslash
5302 LTright
5303 \series default
5304  by inserting this line as TeX-Code before the corresponding longtable:
5305 \end_layout
5306
5307 \begin_layout Standard
5308
5309 \series bold
5310
5311 \backslash
5312 setlength{
5313 \backslash
5314 LTleft}{value}
5315 \end_layout
5316
5317 \begin_layout Standard
5318 Where the value can have any of the units listed in Table
5319 \begin_inset space ~
5320 \end_inset
5321
5322
5323 \begin_inset CommandInset ref
5324 LatexCommand ref
5325 reference "tab:Units"
5326
5327 \end_inset
5328
5329 .
5330  
5331 \series bold
5332
5333 \backslash
5334 LTleft
5335 \series default
5336  controls the horizontal distance from the left page border to the longtable,
5337  
5338 \series bold
5339
5340 \backslash
5341 LTright
5342 \series default
5343  the distance from the right side.
5344  The default value for both lengths is 
5345 \series bold
5346
5347 \backslash
5348 fill
5349 \series default
5350 , which is in this case the same as an horizontal fill in LyX.
5351 \end_layout
5352
5353 \begin_layout Standard
5354 The following longtable was left-aligned by setting 
5355 \series bold
5356
5357 \backslash
5358 LTleft
5359 \series default
5360  to 0
5361 \begin_inset space \thinspace{}
5362 \end_inset
5363
5364 pt.
5365 \begin_inset ERT
5366 status collapsed
5367
5368 \begin_layout Plain Layout
5369
5370
5371 \backslash
5372 setlength{
5373 \backslash
5374 LTleft}{0pt}
5375 \end_layout
5376
5377 \end_inset
5378
5379
5380 \end_layout
5381
5382 \begin_layout Standard
5383 \begin_inset Tabular
5384 <lyxtabular version="3" rows="5" columns="5">
5385 <features islongtable="true">
5386 <column alignment="center" valignment="top" width="0">
5387 <column alignment="center" valignment="top" width="0">
5388 <column alignment="center" valignment="top" width="0">
5389 <column alignment="center" valignment="top" width="0">
5390 <column alignment="center" valignment="top" width="0">
5391 <row>
5392 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5393 \begin_inset Text
5394
5395 \begin_layout Plain Layout
5396 1
5397 \end_layout
5398
5399 \end_inset
5400 </cell>
5401 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5402 \begin_inset Text
5403
5404 \begin_layout Plain Layout
5405 2
5406 \end_layout
5407
5408 \end_inset
5409 </cell>
5410 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5411 \begin_inset Text
5412
5413 \begin_layout Plain Layout
5414 3
5415 \end_layout
5416
5417 \end_inset
5418 </cell>
5419 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5420 \begin_inset Text
5421
5422 \begin_layout Plain Layout
5423 4
5424 \end_layout
5425
5426 \end_inset
5427 </cell>
5428 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5429 \begin_inset Text
5430
5431 \begin_layout Plain Layout
5432 5
5433 \end_layout
5434
5435 \end_inset
5436 </cell>
5437 </row>
5438 <row>
5439 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5440 \begin_inset Text
5441
5442 \begin_layout Plain Layout
5443 asd
5444 \end_layout
5445
5446 \end_inset
5447 </cell>
5448 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5449 \begin_inset Text
5450
5451 \begin_layout Plain Layout
5452 s
5453 \end_layout
5454
5455 \end_inset
5456 </cell>
5457 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5458 \begin_inset Text
5459
5460 \begin_layout Plain Layout
5461 s
5462 \end_layout
5463
5464 \end_inset
5465 </cell>
5466 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5467 \begin_inset Text
5468
5469 \begin_layout Plain Layout
5470 s
5471 \end_layout
5472
5473 \end_inset
5474 </cell>
5475 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5476 \begin_inset Text
5477
5478 \begin_layout Plain Layout
5479 asd
5480 \end_layout
5481
5482 \end_inset
5483 </cell>
5484 </row>
5485 <row>
5486 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5487 \begin_inset Text
5488
5489 \begin_layout Plain Layout
5490 asd
5491 \end_layout
5492
5493 \end_inset
5494 </cell>
5495 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5496 \begin_inset Text
5497
5498 \begin_layout Plain Layout
5499 s
5500 \end_layout
5501
5502 \end_inset
5503 </cell>
5504 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5505 \begin_inset Text
5506
5507 \begin_layout Plain Layout
5508 s
5509 \end_layout
5510
5511 \end_inset
5512 </cell>
5513 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5514 \begin_inset Text
5515
5516 \begin_layout Plain Layout
5517 s
5518 \end_layout
5519
5520 \end_inset
5521 </cell>
5522 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5523 \begin_inset Text
5524
5525 \begin_layout Plain Layout
5526 asd
5527 \end_layout
5528
5529 \end_inset
5530 </cell>
5531 </row>
5532 <row>
5533 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5534 \begin_inset Text
5535
5536 \begin_layout Plain Layout
5537 asd
5538 \end_layout
5539
5540 \end_inset
5541 </cell>
5542 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5543 \begin_inset Text
5544
5545 \begin_layout Plain Layout
5546 s
5547 \end_layout
5548
5549 \end_inset
5550 </cell>
5551 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5552 \begin_inset Text
5553
5554 \begin_layout Plain Layout
5555 s
5556 \end_layout
5557
5558 \end_inset
5559 </cell>
5560 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5561 \begin_inset Text
5562
5563 \begin_layout Plain Layout
5564 s
5565 \end_layout
5566
5567 \end_inset
5568 </cell>
5569 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5570 \begin_inset Text
5571
5572 \begin_layout Plain Layout
5573 asd
5574 \end_layout
5575
5576 \end_inset
5577 </cell>
5578 </row>
5579 <row>
5580 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5581 \begin_inset Text
5582
5583 \begin_layout Plain Layout
5584 asd
5585 \end_layout
5586
5587 \end_inset
5588 </cell>
5589 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5590 \begin_inset Text
5591
5592 \begin_layout Plain Layout
5593 asd
5594 \end_layout
5595
5596 \end_inset
5597 </cell>
5598 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5599 \begin_inset Text
5600
5601 \begin_layout Plain Layout
5602 asd
5603 \end_layout
5604
5605 \end_inset
5606 </cell>
5607 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5608 \begin_inset Text
5609
5610 \begin_layout Plain Layout
5611 asd
5612 \end_layout
5613
5614 \end_inset
5615 </cell>
5616 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5617 \begin_inset Text
5618
5619 \begin_layout Plain Layout
5620 asd
5621 \end_layout
5622
5623 \end_inset
5624 </cell>
5625 </row>
5626 </lyxtabular>
5627
5628 \end_inset
5629
5630
5631 \begin_inset ERT
5632 status collapsed
5633
5634 \begin_layout Plain Layout
5635
5636
5637 \backslash
5638 setlength{
5639 \backslash
5640 LTleft}{
5641 \backslash
5642 fill}
5643 \end_layout
5644
5645 \end_inset
5646
5647
5648 \begin_inset ERT
5649 status collapsed
5650
5651 \begin_layout Plain Layout
5652
5653
5654 \backslash
5655 addtocounter{table}{-1}
5656 \end_layout
5657
5658 \end_inset
5659
5660
5661 \begin_inset Note Note
5662 status collapsed
5663
5664 \begin_layout Plain Layout
5665 See the first greyed-out note in section
5666 \begin_inset space ~
5667 \end_inset
5668
5669
5670 \begin_inset CommandInset ref
5671 LatexCommand ref
5672 reference "sub:Longtable-Captions"
5673
5674 \end_inset
5675
5676  for an explanation of this command.
5677 \end_layout
5678
5679 \end_inset
5680
5681
5682 \end_layout
5683
5684 \begin_layout Subsection
5685 Longtable Captions
5686 \begin_inset Index
5687 status collapsed
5688
5689 \begin_layout Plain Layout
5690 Longtables ! Captions
5691 \end_layout
5692
5693 \end_inset
5694
5695
5696 \begin_inset CommandInset label
5697 LatexCommand label
5698 name "sub:Longtable-Captions"
5699
5700 \end_inset
5701
5702
5703 \end_layout
5704
5705 \begin_layout Standard
5706 A longtable cannot be put into a table float because floats can only be
5707  on one page.
5708  But the caption environment of floats can also be used for longtables when
5709  you use for a table row the longtable option 
5710 \family sans
5711 Caption
5712 \family default
5713  as described in sec.
5714 \begin_inset space \thinspace{}
5715 \end_inset
5716
5717
5718 \begin_inset CommandInset ref
5719 LatexCommand ref
5720 reference "sec:Longtables"
5721
5722 \end_inset
5723
5724 .
5725  Only one table row can contain the caption.
5726 \end_layout
5727
5728 \begin_layout Standard
5729 Here is a short longtable to see how it works:
5730 \end_layout
5731
5732 \begin_layout Standard
5733 \begin_inset Tabular
5734 <lyxtabular version="3" rows="6" columns="5">
5735 <features islongtable="true">
5736 <column alignment="center" valignment="top" width="0">
5737 <column alignment="center" valignment="top" width="0">
5738 <column alignment="center" valignment="top" width="0">
5739 <column alignment="center" valignment="top" width="0">
5740 <column alignment="center" valignment="top" width="0">
5741 <row caption="true">
5742 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
5743 \begin_inset Text
5744
5745 \begin_layout Plain Layout
5746 \begin_inset Caption
5747
5748 \begin_layout Plain Layout
5749 Longtable with caption
5750 \begin_inset OptArg
5751 status open
5752
5753 \begin_layout Plain Layout
5754 Longtable
5755 \end_layout
5756
5757 \end_inset
5758
5759
5760 \end_layout
5761
5762 \end_inset
5763
5764
5765 \end_layout
5766
5767 \end_inset
5768 </cell>
5769 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5770 \begin_inset Text
5771
5772 \begin_layout Plain Layout
5773
5774 \end_layout
5775
5776 \end_inset
5777 </cell>
5778 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5779 \begin_inset Text
5780
5781 \begin_layout Plain Layout
5782
5783 \end_layout
5784
5785 \end_inset
5786 </cell>
5787 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5788 \begin_inset Text
5789
5790 \begin_layout Plain Layout
5791
5792 \end_layout
5793
5794 \end_inset
5795 </cell>
5796 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5797 \begin_inset Text
5798
5799 \begin_layout Plain Layout
5800
5801 \end_layout
5802
5803 \end_inset
5804 </cell>
5805 </row>
5806 <row>
5807 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5808 \begin_inset Text
5809
5810 \begin_layout Plain Layout
5811 1
5812 \end_layout
5813
5814 \end_inset
5815 </cell>
5816 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5817 \begin_inset Text
5818
5819 \begin_layout Plain Layout
5820 2
5821 \end_layout
5822
5823 \end_inset
5824 </cell>
5825 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5826 \begin_inset Text
5827
5828 \begin_layout Plain Layout
5829 3
5830 \end_layout
5831
5832 \end_inset
5833 </cell>
5834 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5835 \begin_inset Text
5836
5837 \begin_layout Plain Layout
5838 4
5839 \end_layout
5840
5841 \end_inset
5842 </cell>
5843 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5844 \begin_inset Text
5845
5846 \begin_layout Plain Layout
5847 5
5848 \end_layout
5849
5850 \end_inset
5851 </cell>
5852 </row>
5853 <row>
5854 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5855 \begin_inset Text
5856
5857 \begin_layout Plain Layout
5858 asd
5859 \end_layout
5860
5861 \end_inset
5862 </cell>
5863 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5864 \begin_inset Text
5865
5866 \begin_layout Plain Layout
5867 s
5868 \end_layout
5869
5870 \end_inset
5871 </cell>
5872 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5873 \begin_inset Text
5874
5875 \begin_layout Plain Layout
5876 s
5877 \end_layout
5878
5879 \end_inset
5880 </cell>
5881 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5882 \begin_inset Text
5883
5884 \begin_layout Plain Layout
5885 s
5886 \end_layout
5887
5888 \end_inset
5889 </cell>
5890 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5891 \begin_inset Text
5892
5893 \begin_layout Plain Layout
5894 asd
5895 \end_layout
5896
5897 \end_inset
5898 </cell>
5899 </row>
5900 <row>
5901 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5902 \begin_inset Text
5903
5904 \begin_layout Plain Layout
5905 asd
5906 \end_layout
5907
5908 \end_inset
5909 </cell>
5910 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5911 \begin_inset Text
5912
5913 \begin_layout Plain Layout
5914 s
5915 \end_layout
5916
5917 \end_inset
5918 </cell>
5919 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5920 \begin_inset Text
5921
5922 \begin_layout Plain Layout
5923 s
5924 \end_layout
5925
5926 \end_inset
5927 </cell>
5928 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5929 \begin_inset Text
5930
5931 \begin_layout Plain Layout
5932 s
5933 \end_layout
5934
5935 \end_inset
5936 </cell>
5937 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5938 \begin_inset Text
5939
5940 \begin_layout Plain Layout
5941 asd
5942 \end_layout
5943
5944 \end_inset
5945 </cell>
5946 </row>
5947 <row>
5948 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5949 \begin_inset Text
5950
5951 \begin_layout Plain Layout
5952 asd
5953 \end_layout
5954
5955 \end_inset
5956 </cell>
5957 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5958 \begin_inset Text
5959
5960 \begin_layout Plain Layout
5961 s
5962 \end_layout
5963
5964 \end_inset
5965 </cell>
5966 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5967 \begin_inset Text
5968
5969 \begin_layout Plain Layout
5970 s
5971 \end_layout
5972
5973 \end_inset
5974 </cell>
5975 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5976 \begin_inset Text
5977
5978 \begin_layout Plain Layout
5979 s
5980 \end_layout
5981
5982 \end_inset
5983 </cell>
5984 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5985 \begin_inset Text
5986
5987 \begin_layout Plain Layout
5988 asd
5989 \end_layout
5990
5991 \end_inset
5992 </cell>
5993 </row>
5994 <row>
5995 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5996 \begin_inset Text
5997
5998 \begin_layout Plain Layout
5999 asd
6000 \end_layout
6001
6002 \end_inset
6003 </cell>
6004 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6005 \begin_inset Text
6006
6007 \begin_layout Plain Layout
6008 asd
6009 \end_layout
6010
6011 \end_inset
6012 </cell>
6013 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6014 \begin_inset Text
6015
6016 \begin_layout Plain Layout
6017 asd
6018 \end_layout
6019
6020 \end_inset
6021 </cell>
6022 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6023 \begin_inset Text
6024
6025 \begin_layout Plain Layout
6026 asd
6027 \end_layout
6028
6029 \end_inset
6030 </cell>
6031 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6032 \begin_inset Text
6033
6034 \begin_layout Plain Layout
6035 asd
6036 \end_layout
6037
6038 \end_inset
6039 </cell>
6040 </row>
6041 </lyxtabular>
6042
6043 \end_inset
6044
6045
6046 \end_layout
6047
6048 \begin_layout Standard
6049 \begin_inset VSpace medskip
6050 \end_inset
6051
6052
6053 \begin_inset Note Greyedout
6054 status open
6055
6056 \begin_layout Plain Layout
6057
6058 \series bold
6059 Note
6060 \begin_inset space ~
6061 \end_inset
6062
6063 1:
6064 \series default
6065  The table number is increased for every longtable, also if you didn't set
6066  a caption for it.
6067  For this reason you could have the case that e.
6068 \begin_inset space \thinspace{}
6069 \end_inset
6070
6071 g.
6072 \begin_inset space \space{}
6073 \end_inset
6074
6075 Table
6076 \begin_inset space ~
6077 \end_inset
6078
6079 2.4 follows on Table
6080 \begin_inset space ~
6081 \end_inset
6082
6083 2.1 in the list of tables if there are two longtables without captions.
6084  To avoid this you can add the following command in TeX-Code behind every
6085  longtable without a caption:
6086 \end_layout
6087
6088 \begin_layout Plain Layout
6089
6090 \series bold
6091
6092 \backslash
6093 addtocounter{table}{-1}
6094 \end_layout
6095
6096 \begin_layout Plain Layout
6097 This is not needed when none of your longtables have a caption and you add
6098  the following code to the document preamble:
6099 \end_layout
6100
6101 \begin_layout Plain Layout
6102
6103 \series bold
6104
6105 \backslash
6106 let
6107 \backslash
6108 myEnd
6109 \backslash
6110 endlongtable
6111 \begin_inset Newline newline
6112 \end_inset
6113
6114
6115 \backslash
6116 renewcommand{
6117 \backslash
6118 endlongtable}{
6119 \backslash
6120 myEnd
6121 \backslash
6122 addtocounter{table}{-1}}
6123 \end_layout
6124
6125 \end_inset
6126
6127
6128 \end_layout
6129
6130 \begin_layout Standard
6131 \begin_inset Note Greyedout
6132 status open
6133
6134 \begin_layout Plain Layout
6135
6136 \series bold
6137 Note
6138 \begin_inset space ~
6139 \end_inset
6140
6141 2:
6142 \series default
6143  If you are using
6144 \series bold
6145  hyperref
6146 \series default
6147
6148 \begin_inset Index
6149 status collapsed
6150
6151 \begin_layout Plain Layout
6152 LaTeX-packages ! hyperref
6153 \end_layout
6154
6155 \end_inset
6156
6157  in the 
6158 \family sans
6159 PDF Properties
6160 \family default
6161  of the 
6162 \family sans
6163 Document Settings
6164 \family default
6165  dialog to link cross-references, the link to a longtable caption will always
6166  point to the beginning of the document.
6167 \end_layout
6168
6169 \end_inset
6170
6171
6172 \end_layout
6173
6174 \begin_layout Subsubsection
6175 References to Longtables
6176 \begin_inset Index
6177 status collapsed
6178
6179 \begin_layout Plain Layout
6180 Longtables ! References
6181 \end_layout
6182
6183 \end_inset
6184
6185
6186 \end_layout
6187
6188 \begin_layout Standard
6189 \begin_inset Tabular
6190 <lyxtabular version="3" rows="6" columns="5">
6191 <features islongtable="true">
6192 <column alignment="center" valignment="top" width="0">
6193 <column alignment="center" valignment="top" width="0">
6194 <column alignment="center" valignment="top" width="0">
6195 <column alignment="center" valignment="top" width="0">
6196 <column alignment="center" valignment="top" width="0">
6197 <row caption="true">
6198 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6199 \begin_inset Text
6200
6201 \begin_layout Plain Layout
6202 \begin_inset Caption
6203
6204 \begin_layout Plain Layout
6205 Referenced longtable
6206 \begin_inset CommandInset label
6207 LatexCommand label
6208 name "tab:RefExample"
6209
6210 \end_inset
6211
6212
6213 \end_layout
6214
6215 \end_inset
6216
6217
6218 \end_layout
6219
6220 \end_inset
6221 </cell>
6222 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6223 \begin_inset Text
6224
6225 \begin_layout Plain Layout
6226
6227 \end_layout
6228
6229 \end_inset
6230 </cell>
6231 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6232 \begin_inset Text
6233
6234 \begin_layout Plain Layout
6235
6236 \end_layout
6237
6238 \end_inset
6239 </cell>
6240 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6241 \begin_inset Text
6242
6243 \begin_layout Plain Layout
6244
6245 \end_layout
6246
6247 \end_inset
6248 </cell>
6249 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6250 \begin_inset Text
6251
6252 \begin_layout Plain Layout
6253
6254 \end_layout
6255
6256 \end_inset
6257 </cell>
6258 </row>
6259 <row>
6260 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6261 \begin_inset Text
6262
6263 \begin_layout Plain Layout
6264 1
6265 \end_layout
6266
6267 \end_inset
6268 </cell>
6269 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6270 \begin_inset Text
6271
6272 \begin_layout Plain Layout
6273 2
6274 \end_layout
6275
6276 \end_inset
6277 </cell>
6278 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6279 \begin_inset Text
6280
6281 \begin_layout Plain Layout
6282 3
6283 \end_layout
6284
6285 \end_inset
6286 </cell>
6287 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6288 \begin_inset Text
6289
6290 \begin_layout Plain Layout
6291 4
6292 \end_layout
6293
6294 \end_inset
6295 </cell>
6296 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6297 \begin_inset Text
6298
6299 \begin_layout Plain Layout
6300 5
6301 \end_layout
6302
6303 \end_inset
6304 </cell>
6305 </row>
6306 <row>
6307 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6308 \begin_inset Text
6309
6310 \begin_layout Plain Layout
6311 asd
6312 \end_layout
6313
6314 \end_inset
6315 </cell>
6316 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6317 \begin_inset Text
6318
6319 \begin_layout Plain Layout
6320 s
6321 \end_layout
6322
6323 \end_inset
6324 </cell>
6325 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6326 \begin_inset Text
6327
6328 \begin_layout Plain Layout
6329 s
6330 \end_layout
6331
6332 \end_inset
6333 </cell>
6334 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6335 \begin_inset Text
6336
6337 \begin_layout Plain Layout
6338 s
6339 \end_layout
6340
6341 \end_inset
6342 </cell>
6343 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6344 \begin_inset Text
6345
6346 \begin_layout Plain Layout
6347 asd
6348 \end_layout
6349
6350 \end_inset
6351 </cell>
6352 </row>
6353 <row>
6354 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6355 \begin_inset Text
6356
6357 \begin_layout Plain Layout
6358 asd
6359 \end_layout
6360
6361 \end_inset
6362 </cell>
6363 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6364 \begin_inset Text
6365
6366 \begin_layout Plain Layout
6367 s
6368 \end_layout
6369
6370 \end_inset
6371 </cell>
6372 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6373 \begin_inset Text
6374
6375 \begin_layout Plain Layout
6376 s
6377 \end_layout
6378
6379 \end_inset
6380 </cell>
6381 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6382 \begin_inset Text
6383
6384 \begin_layout Plain Layout
6385 s
6386 \end_layout
6387
6388 \end_inset
6389 </cell>
6390 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6391 \begin_inset Text
6392
6393 \begin_layout Plain Layout
6394 asd
6395 \end_layout
6396
6397 \end_inset
6398 </cell>
6399 </row>
6400 <row>
6401 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6402 \begin_inset Text
6403
6404 \begin_layout Plain Layout
6405 asd
6406 \end_layout
6407
6408 \end_inset
6409 </cell>
6410 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6411 \begin_inset Text
6412
6413 \begin_layout Plain Layout
6414 s
6415 \end_layout
6416
6417 \end_inset
6418 </cell>
6419 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6420 \begin_inset Text
6421
6422 \begin_layout Plain Layout
6423 s
6424 \end_layout
6425
6426 \end_inset
6427 </cell>
6428 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6429 \begin_inset Text
6430
6431 \begin_layout Plain Layout
6432 s
6433 \end_layout
6434
6435 \end_inset
6436 </cell>
6437 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6438 \begin_inset Text
6439
6440 \begin_layout Plain Layout
6441 asd
6442 \end_layout
6443
6444 \end_inset
6445 </cell>
6446 </row>
6447 <row>
6448 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6449 \begin_inset Text
6450
6451 \begin_layout Plain Layout
6452 asd
6453 \end_layout
6454
6455 \end_inset
6456 </cell>
6457 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6458 \begin_inset Text
6459
6460 \begin_layout Plain Layout
6461 sad
6462 \end_layout
6463
6464 \end_inset
6465 </cell>
6466 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6467 \begin_inset Text
6468
6469 \begin_layout Plain Layout
6470 asd
6471 \end_layout
6472
6473 \end_inset
6474 </cell>
6475 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6476 \begin_inset Text
6477
6478 \begin_layout Plain Layout
6479 asd
6480 \end_layout
6481
6482 \end_inset
6483 </cell>
6484 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6485 \begin_inset Text
6486
6487 \begin_layout Plain Layout
6488 asd
6489 \end_layout
6490
6491 \end_inset
6492 </cell>
6493 </row>
6494 </lyxtabular>
6495
6496 \end_inset
6497
6498
6499 \end_layout
6500
6501 \begin_layout Standard
6502 To reference a longtable, insert a label into the caption.
6503 \end_layout
6504
6505 \begin_layout Standard
6506 This is a reference to Table
6507 \begin_inset space ~
6508 \end_inset
6509
6510
6511 \begin_inset CommandInset ref
6512 LatexCommand ref
6513 reference "tab:RefExample"
6514
6515 \end_inset
6516
6517 .
6518 \end_layout
6519
6520 \begin_layout Standard
6521 The caption layout can be set together with all other captions of your document
6522  using the LaTeX-package 
6523 \series bold
6524 caption
6525 \series default
6526
6527 \begin_inset Index
6528 status collapsed
6529
6530 \begin_layout Plain Layout
6531 LaTeX-packages ! caption
6532 \end_layout
6533
6534 \end_inset
6535
6536 , see section
6537 \begin_inset space ~
6538 \end_inset
6539
6540
6541 \begin_inset CommandInset ref
6542 LatexCommand ref
6543 reference "sec:Caption-Formatting"
6544
6545 \end_inset
6546
6547 .
6548 \end_layout
6549
6550 \begin_layout Subsubsection
6551 Caption Width
6552 \begin_inset Index
6553 status collapsed
6554
6555 \begin_layout Plain Layout
6556 Longtables ! Caption Width
6557 \end_layout
6558
6559 \end_inset
6560
6561
6562 \end_layout
6563
6564 \begin_layout Standard
6565 The maximal width of of caption lines is defined by the length 
6566 \series bold
6567
6568 \backslash
6569 LTcapwidth
6570 \series default
6571 .
6572  Its default value is 4
6573 \begin_inset space \thinspace{}
6574 \end_inset
6575
6576 in.
6577  To change it add the following command to your document preamble or as
6578  TeX-Code into your document before the longtable that should be affected
6579 \end_layout
6580
6581 \begin_layout Standard
6582
6583 \series bold
6584
6585 \backslash
6586 setlength{
6587 \backslash
6588 LTcapwidth}{width}
6589 \end_layout
6590
6591 \begin_layout Standard
6592 where the width could have one of the units listed in appendix
6593 \begin_inset space ~
6594 \end_inset
6595
6596
6597 \begin_inset CommandInset ref
6598 LatexCommand ref
6599 reference "cha:Units-available-in"
6600
6601 \end_inset
6602
6603 .
6604 \end_layout
6605
6606 \begin_layout Standard
6607 The following tables show the difference:
6608 \end_layout
6609
6610 \begin_layout Standard
6611 \begin_inset Tabular
6612 <lyxtabular version="3" rows="6" columns="5">
6613 <features islongtable="true">
6614 <column alignment="center" valignment="top" width="0">
6615 <column alignment="center" valignment="top" width="0">
6616 <column alignment="center" valignment="top" width="0">
6617 <column alignment="center" valignment="top" width="0">
6618 <column alignment="center" valignment="top" width="0">
6619 <row caption="true">
6620 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6621 \begin_inset Text
6622
6623 \begin_layout Plain Layout
6624 \begin_inset Caption
6625
6626 \begin_layout Plain Layout
6627 long full title with default width long full title with default width long
6628  full title with default width
6629 \begin_inset OptArg
6630 status collapsed
6631
6632 \begin_layout Plain Layout
6633 caption with default width
6634 \end_layout
6635
6636 \end_inset
6637
6638
6639 \end_layout
6640
6641 \end_inset
6642
6643
6644 \end_layout
6645
6646 \end_inset
6647 </cell>
6648 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6649 \begin_inset Text
6650
6651 \begin_layout Plain Layout
6652
6653 \end_layout
6654
6655 \end_inset
6656 </cell>
6657 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6658 \begin_inset Text
6659
6660 \begin_layout Plain Layout
6661
6662 \end_layout
6663
6664 \end_inset
6665 </cell>
6666 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6667 \begin_inset Text
6668
6669 \begin_layout Plain Layout
6670
6671 \end_layout
6672
6673 \end_inset
6674 </cell>
6675 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6676 \begin_inset Text
6677
6678 \begin_layout Plain Layout
6679
6680 \end_layout
6681
6682 \end_inset
6683 </cell>
6684 </row>
6685 <row>
6686 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6687 \begin_inset Text
6688
6689 \begin_layout Plain Layout
6690 1
6691 \end_layout
6692
6693 \end_inset
6694 </cell>
6695 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6696 \begin_inset Text
6697
6698 \begin_layout Plain Layout
6699 2
6700 \end_layout
6701
6702 \end_inset
6703 </cell>
6704 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6705 \begin_inset Text
6706
6707 \begin_layout Plain Layout
6708 3
6709 \end_layout
6710
6711 \end_inset
6712 </cell>
6713 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6714 \begin_inset Text
6715
6716 \begin_layout Plain Layout
6717 4
6718 \end_layout
6719
6720 \end_inset
6721 </cell>
6722 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6723 \begin_inset Text
6724
6725 \begin_layout Plain Layout
6726 5
6727 \end_layout
6728
6729 \end_inset
6730 </cell>
6731 </row>
6732 <row>
6733 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6734 \begin_inset Text
6735
6736 \begin_layout Plain Layout
6737 asd
6738 \end_layout
6739
6740 \end_inset
6741 </cell>
6742 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6743 \begin_inset Text
6744
6745 \begin_layout Plain Layout
6746 s
6747 \end_layout
6748
6749 \end_inset
6750 </cell>
6751 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6752 \begin_inset Text
6753
6754 \begin_layout Plain Layout
6755 s
6756 \end_layout
6757
6758 \end_inset
6759 </cell>
6760 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6761 \begin_inset Text
6762
6763 \begin_layout Plain Layout
6764 s
6765 \end_layout
6766
6767 \end_inset
6768 </cell>
6769 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6770 \begin_inset Text
6771
6772 \begin_layout Plain Layout
6773 asd
6774 \end_layout
6775
6776 \end_inset
6777 </cell>
6778 </row>
6779 <row>
6780 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6781 \begin_inset Text
6782
6783 \begin_layout Plain Layout
6784 asd
6785 \end_layout
6786
6787 \end_inset
6788 </cell>
6789 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6790 \begin_inset Text
6791
6792 \begin_layout Plain Layout
6793 s
6794 \end_layout
6795
6796 \end_inset
6797 </cell>
6798 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6799 \begin_inset Text
6800
6801 \begin_layout Plain Layout
6802 s
6803 \end_layout
6804
6805 \end_inset
6806 </cell>
6807 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6808 \begin_inset Text
6809
6810 \begin_layout Plain Layout
6811 s
6812 \end_layout
6813
6814 \end_inset
6815 </cell>
6816 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6817 \begin_inset Text
6818
6819 \begin_layout Plain Layout
6820 asd
6821 \end_layout
6822
6823 \end_inset
6824 </cell>
6825 </row>
6826 <row>
6827 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6828 \begin_inset Text
6829
6830 \begin_layout Plain Layout
6831 asd
6832 \end_layout
6833
6834 \end_inset
6835 </cell>
6836 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6837 \begin_inset Text
6838
6839 \begin_layout Plain Layout
6840 s
6841 \end_layout
6842
6843 \end_inset
6844 </cell>
6845 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6846 \begin_inset Text
6847
6848 \begin_layout Plain Layout
6849 s
6850 \end_layout
6851
6852 \end_inset
6853 </cell>
6854 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6855 \begin_inset Text
6856
6857 \begin_layout Plain Layout
6858 s
6859 \end_layout
6860
6861 \end_inset
6862 </cell>
6863 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6864 \begin_inset Text
6865
6866 \begin_layout Plain Layout
6867 asd
6868 \end_layout
6869
6870 \end_inset
6871 </cell>
6872 </row>
6873 <row>
6874 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6875 \begin_inset Text
6876
6877 \begin_layout Plain Layout
6878 asd
6879 \end_layout
6880
6881 \end_inset
6882 </cell>
6883 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6884 \begin_inset Text
6885
6886 \begin_layout Plain Layout
6887 sad
6888 \end_layout
6889
6890 \end_inset
6891 </cell>
6892 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6893 \begin_inset Text
6894
6895 \begin_layout Plain Layout
6896 asd
6897 \end_layout
6898
6899 \end_inset
6900 </cell>
6901 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6902 \begin_inset Text
6903
6904 \begin_layout Plain Layout
6905 asd
6906 \end_layout
6907
6908 \end_inset
6909 </cell>
6910 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6911 \begin_inset Text
6912
6913 \begin_layout Plain Layout
6914 asd
6915 \end_layout
6916
6917 \end_inset
6918 </cell>
6919 </row>
6920 </lyxtabular>
6921
6922 \end_inset
6923
6924
6925 \end_layout
6926
6927 \begin_layout Standard
6928 \begin_inset ERT
6929 status collapsed
6930
6931 \begin_layout Plain Layout
6932
6933
6934 \backslash
6935 setlength{
6936 \backslash
6937 LTcapwidth}{5cm}
6938 \end_layout
6939
6940 \end_inset
6941
6942
6943 \begin_inset Tabular
6944 <lyxtabular version="3" rows="6" columns="5">
6945 <features islongtable="true">
6946 <column alignment="center" valignment="top" width="0">
6947 <column alignment="center" valignment="top" width="0">
6948 <column alignment="center" valignment="top" width="0">
6949 <column alignment="center" valignment="top" width="0">
6950 <column alignment="center" valignment="top" width="0">
6951 <row caption="true">
6952 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6953 \begin_inset Text
6954
6955 \begin_layout Plain Layout
6956 \begin_inset Caption
6957
6958 \begin_layout Plain Layout
6959 long full title with width set to 5
6960 \begin_inset space \thinspace{}
6961 \end_inset
6962
6963 cm long full title with width set to 5
6964 \begin_inset space \thinspace{}
6965 \end_inset
6966
6967 cm long full title with width set to 5
6968 \begin_inset space \thinspace{}
6969 \end_inset
6970
6971 cm
6972 \begin_inset OptArg
6973 status collapsed
6974
6975 \begin_layout Plain Layout
6976 caption with width
6977 \begin_inset space \thinspace{}
6978 \end_inset
6979
6980 =
6981 \begin_inset space \thinspace{}
6982 \end_inset
6983
6984 5
6985 \begin_inset space \thinspace{}
6986 \end_inset
6987
6988 cm
6989 \end_layout
6990
6991 \end_inset
6992
6993
6994 \end_layout
6995
6996 \end_inset
6997
6998
6999 \end_layout
7000
7001 \end_inset
7002 </cell>
7003 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7004 \begin_inset Text
7005
7006 \begin_layout Plain Layout
7007
7008 \end_layout
7009
7010 \end_inset
7011 </cell>
7012 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7013 \begin_inset Text
7014
7015 \begin_layout Plain Layout
7016
7017 \end_layout
7018
7019 \end_inset
7020 </cell>
7021 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7022 \begin_inset Text
7023
7024 \begin_layout Plain Layout
7025
7026 \end_layout
7027
7028 \end_inset
7029 </cell>
7030 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7031 \begin_inset Text
7032
7033 \begin_layout Plain Layout
7034
7035 \end_layout
7036
7037 \end_inset
7038 </cell>
7039 </row>
7040 <row>
7041 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7042 \begin_inset Text
7043
7044 \begin_layout Plain Layout
7045 1
7046 \end_layout
7047
7048 \end_inset
7049 </cell>
7050 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7051 \begin_inset Text
7052
7053 \begin_layout Plain Layout
7054 2
7055 \end_layout
7056
7057 \end_inset
7058 </cell>
7059 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7060 \begin_inset Text
7061
7062 \begin_layout Plain Layout
7063 3
7064 \end_layout
7065
7066 \end_inset
7067 </cell>
7068 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7069 \begin_inset Text
7070
7071 \begin_layout Plain Layout
7072 4
7073 \end_layout
7074
7075 \end_inset
7076 </cell>
7077 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7078 \begin_inset Text
7079
7080 \begin_layout Plain Layout
7081 5
7082 \end_layout
7083
7084 \end_inset
7085 </cell>
7086 </row>
7087 <row>
7088 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7089 \begin_inset Text
7090
7091 \begin_layout Plain Layout
7092 asd
7093 \end_layout
7094
7095 \end_inset
7096 </cell>
7097 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7098 \begin_inset Text
7099
7100 \begin_layout Plain Layout
7101 s
7102 \end_layout
7103
7104 \end_inset
7105 </cell>
7106 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7107 \begin_inset Text
7108
7109 \begin_layout Plain Layout
7110 s
7111 \end_layout
7112
7113 \end_inset
7114 </cell>
7115 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7116 \begin_inset Text
7117
7118 \begin_layout Plain Layout
7119 s
7120 \end_layout
7121
7122 \end_inset
7123 </cell>
7124 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7125 \begin_inset Text
7126
7127 \begin_layout Plain Layout
7128 asd
7129 \end_layout
7130
7131 \end_inset
7132 </cell>
7133 </row>
7134 <row>
7135 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7136 \begin_inset Text
7137
7138 \begin_layout Plain Layout
7139 asd
7140 \end_layout
7141
7142 \end_inset
7143 </cell>
7144 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7145 \begin_inset Text
7146
7147 \begin_layout Plain Layout
7148 s
7149 \end_layout
7150
7151 \end_inset
7152 </cell>
7153 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7154 \begin_inset Text
7155
7156 \begin_layout Plain Layout
7157 s
7158 \end_layout
7159
7160 \end_inset
7161 </cell>
7162 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7163 \begin_inset Text
7164
7165 \begin_layout Plain Layout
7166 s
7167 \end_layout
7168
7169 \end_inset
7170 </cell>
7171 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7172 \begin_inset Text
7173
7174 \begin_layout Plain Layout
7175 asd
7176 \end_layout
7177
7178 \end_inset
7179 </cell>
7180 </row>
7181 <row>
7182 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7183 \begin_inset Text
7184
7185 \begin_layout Plain Layout
7186 asd
7187 \end_layout
7188
7189 \end_inset
7190 </cell>
7191 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7192 \begin_inset Text
7193
7194 \begin_layout Plain Layout
7195 s
7196 \end_layout
7197
7198 \end_inset
7199 </cell>
7200 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7201 \begin_inset Text
7202
7203 \begin_layout Plain Layout
7204 s
7205 \end_layout
7206
7207 \end_inset
7208 </cell>
7209 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7210 \begin_inset Text
7211
7212 \begin_layout Plain Layout
7213 s
7214 \end_layout
7215
7216 \end_inset
7217 </cell>
7218 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7219 \begin_inset Text
7220
7221 \begin_layout Plain Layout
7222 asd
7223 \end_layout
7224
7225 \end_inset
7226 </cell>
7227 </row>
7228 <row>
7229 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7230 \begin_inset Text
7231
7232 \begin_layout Plain Layout
7233 asd
7234 \end_layout
7235
7236 \end_inset
7237 </cell>
7238 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7239 \begin_inset Text
7240
7241 \begin_layout Plain Layout
7242 sad
7243 \end_layout
7244
7245 \end_inset
7246 </cell>
7247 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7248 \begin_inset Text
7249
7250 \begin_layout Plain Layout
7251 asd
7252 \end_layout
7253
7254 \end_inset
7255 </cell>
7256 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7257 \begin_inset Text
7258
7259 \begin_layout Plain Layout
7260 asd
7261 \end_layout
7262
7263 \end_inset
7264 </cell>
7265 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7266 \begin_inset Text
7267
7268 \begin_layout Plain Layout
7269 asd
7270 \end_layout
7271
7272 \end_inset
7273 </cell>
7274 </row>
7275 </lyxtabular>
7276
7277 \end_inset
7278
7279
7280 \end_layout
7281
7282 \begin_layout Standard
7283 \begin_inset ERT
7284 status collapsed
7285
7286 \begin_layout Plain Layout
7287
7288
7289 \backslash
7290 setlength{
7291 \backslash
7292 LTcapwidth}{4in}
7293 \end_layout
7294
7295 \end_inset
7296
7297
7298 \end_layout
7299
7300 \begin_layout Standard
7301 \begin_inset Note Greyedout
7302 status open
7303
7304 \begin_layout Plain Layout
7305
7306 \series bold
7307 Note:
7308 \series default
7309  When the LaTeX-package 
7310 \series bold
7311 caption
7312 \series default
7313
7314 \begin_inset Index
7315 status collapsed
7316
7317 \begin_layout Plain Layout
7318 LaTeX-packages ! caption
7319 \end_layout
7320
7321 \end_inset
7322
7323  is used, as in this document, the full page width is used for the caption
7324  when you use the default value of 4
7325 \begin_inset space \thinspace{}
7326 \end_inset
7327
7328 in for 
7329 \series bold
7330
7331 \backslash
7332 LTcapwidth
7333 \series default
7334 .
7335  To get in this case exactly a 4
7336 \begin_inset space \thinspace{}
7337 \end_inset
7338
7339 in wide caption, you can either use a value slightly different from 4.0
7340 \begin_inset space \thinspace{}
7341 \end_inset
7342
7343 in, e.
7344 \begin_inset space \thinspace{}
7345 \end_inset
7346
7347 g.
7348 \begin_inset space \space{}
7349 \end_inset
7350
7351 3.99
7352 \begin_inset space \thinspace{}
7353 \end_inset
7354
7355 in, or the LaTeX-command 
7356 \series bold
7357
7358 \backslash
7359 captionsetup{width=value}
7360 \series default
7361  that is provided by the 
7362 \series bold
7363 caption
7364 \series default
7365 -package.
7366 \end_layout
7367
7368 \end_inset
7369
7370
7371 \end_layout
7372
7373 \begin_layout Subsubsection
7374 Different Captions for Table Pages
7375 \begin_inset Index
7376 status collapsed
7377
7378 \begin_layout Plain Layout
7379 Longtables ! Different Captions for Pages
7380 \end_layout
7381
7382 \end_inset
7383
7384
7385 \end_layout
7386
7387 \begin_layout Standard
7388 When the table captions for the following pages should differ from the one
7389  of the first table page, insert a caption with the TeX code command
7390 \end_layout
7391
7392 \begin_layout Standard
7393
7394 \series bold
7395
7396 \backslash
7397 caption*{caption text}
7398 \backslash
7399
7400 \backslash
7401 %
7402 \end_layout
7403
7404 \begin_layout Standard
7405 in a dummy caption row that is marked as header.
7406  Table
7407 \begin_inset space ~
7408 \end_inset
7409
7410
7411 \begin_inset CommandInset ref
7412 LatexCommand ref
7413 reference "tab:DiffCaptions"
7414
7415 \end_inset
7416
7417  is an example for a longtable with different heading where the second caption
7418  doesn't include the table number.
7419 \end_layout
7420
7421 \begin_layout Standard
7422 \align center
7423 \begin_inset Tabular
7424 <lyxtabular version="3" rows="59" columns="3">
7425 <features islongtable="true" lastFootEmpty="true">
7426 <column alignment="left" valignment="top" width="0cm">
7427 <column alignment="left" valignment="top" width="0pt">
7428 <column alignment="center" valignment="top" width="0pt">
7429 <row caption="true">
7430 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
7431 \begin_inset Text
7432
7433 \begin_layout Plain Layout
7434 \begin_inset Caption
7435
7436 \begin_layout Plain Layout
7437 Example Phone List
7438 \begin_inset CommandInset label
7439 LatexCommand label
7440 name "tab:DiffCaptions"
7441
7442 \end_inset
7443
7444
7445 \begin_inset OptArg
7446 status collapsed
7447
7448 \begin_layout Plain Layout
7449 Example Phone List
7450 \end_layout
7451
7452 \end_inset
7453
7454
7455 \end_layout
7456
7457 \end_inset
7458
7459
7460 \end_layout
7461
7462 \end_inset
7463 </cell>
7464 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7465 \begin_inset Text
7466
7467 \begin_layout Plain Layout
7468
7469 \end_layout
7470
7471 \end_inset
7472 </cell>
7473 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7474 \begin_inset Text
7475
7476 \begin_layout Plain Layout
7477
7478 \end_layout
7479
7480 \end_inset
7481 </cell>
7482 </row>
7483 <row endfirsthead="true">
7484 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7485 \begin_inset Text
7486
7487 \begin_layout Plain Layout
7488
7489 \series bold
7490 Example Phone List (ignore the names)
7491 \end_layout
7492
7493 \end_inset
7494 </cell>
7495 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7496 \begin_inset Text
7497
7498 \begin_layout Plain Layout
7499
7500 \end_layout
7501
7502 \end_inset
7503 </cell>
7504 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7505 \begin_inset Text
7506
7507 \begin_layout Plain Layout
7508
7509 \end_layout
7510
7511 \end_inset
7512 </cell>
7513 </row>
7514 <row endfirsthead="true">
7515 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7516 \begin_inset Text
7517
7518 \begin_layout Plain Layout
7519
7520 \series bold
7521 NAME
7522 \end_layout
7523
7524 \end_inset
7525 </cell>
7526 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7527 \begin_inset Text
7528
7529 \begin_layout Plain Layout
7530
7531 \end_layout
7532
7533 \end_inset
7534 </cell>
7535 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7536 \begin_inset Text
7537
7538 \begin_layout Plain Layout
7539
7540 \series bold
7541 TEL.
7542 \end_layout
7543
7544 \end_inset
7545 </cell>
7546 </row>
7547 <row endhead="true">
7548 <cell alignment="left" valignment="top" leftline="true" usebox="none">
7549 \begin_inset Text
7550
7551 \begin_layout Plain Layout
7552 \begin_inset ERT
7553 status open
7554
7555 \begin_layout Plain Layout
7556
7557
7558 \backslash
7559 caption*{Continued Example Phone List}
7560 \backslash
7561
7562 \backslash
7563 %
7564 \end_layout
7565
7566 \end_inset
7567
7568
7569 \end_layout
7570
7571 \end_inset
7572 </cell>
7573 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7574 \begin_inset Text
7575
7576 \begin_layout Plain Layout
7577
7578 \end_layout
7579
7580 \end_inset
7581 </cell>
7582 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7583 \begin_inset Text
7584
7585 \begin_layout Plain Layout
7586
7587 \end_layout
7588
7589 \end_inset
7590 </cell>
7591 </row>
7592 <row endhead="true">
7593 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7594 \begin_inset Text
7595
7596 \begin_layout Plain Layout
7597
7598 \series bold
7599 Example Phone List
7600 \end_layout
7601
7602 \end_inset
7603 </cell>
7604 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7605 \begin_inset Text
7606
7607 \begin_layout Plain Layout
7608
7609 \end_layout
7610
7611 \end_inset
7612 </cell>
7613 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7614 \begin_inset Text
7615
7616 \begin_layout Plain Layout
7617
7618 \end_layout
7619
7620 \end_inset
7621 </cell>
7622 </row>
7623 <row endhead="true">
7624 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7625 \begin_inset Text
7626
7627 \begin_layout Plain Layout
7628
7629 \series bold
7630 NAME
7631 \end_layout
7632
7633 \end_inset
7634 </cell>
7635 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7636 \begin_inset Text
7637
7638 \begin_layout Plain Layout
7639
7640 \end_layout
7641
7642 \end_inset
7643 </cell>
7644 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7645 \begin_inset Text
7646
7647 \begin_layout Plain Layout
7648
7649 \series bold
7650 TEL.
7651 \end_layout
7652
7653 \end_inset
7654 </cell>
7655 </row>
7656 <row endfoot="true">
7657 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
7658 \begin_inset Text
7659
7660 \begin_layout Plain Layout
7661 continued on next page
7662 \end_layout
7663
7664 \end_inset
7665 </cell>
7666 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7667 \begin_inset Text
7668
7669 \begin_layout Plain Layout
7670
7671 \end_layout
7672
7673 \end_inset
7674 </cell>
7675 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7676 \begin_inset Text
7677
7678 \begin_layout Plain Layout
7679
7680 \end_layout
7681
7682 \end_inset
7683 </cell>
7684 </row>
7685 <row>
7686 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7687 \begin_inset Text
7688
7689 \begin_layout Plain Layout
7690
7691 \series bold
7692 Annovi
7693 \end_layout
7694
7695 \end_inset
7696 </cell>
7697 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7698 \begin_inset Text
7699
7700 \begin_layout Plain Layout
7701 Silvia
7702 \end_layout
7703
7704 \end_inset
7705 </cell>
7706 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
7707 \begin_inset Text
7708
7709 \begin_layout Plain Layout
7710 111
7711 \end_layout
7712
7713 \end_inset
7714 </cell>
7715 </row>
7716 <row>
7717 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7718 \begin_inset Text
7719
7720 \begin_layout Plain Layout
7721
7722 \series bold
7723 Bertoli
7724 \end_layout
7725
7726 \end_inset
7727 </cell>
7728 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7729 \begin_inset Text
7730
7731 \begin_layout Plain Layout
7732 Stefano
7733 \end_layout
7734
7735 \end_inset
7736 </cell>
7737 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7738 \begin_inset Text
7739
7740 \begin_layout Plain Layout
7741 111
7742 \end_layout
7743
7744 \end_inset
7745 </cell>
7746 </row>
7747 <row>
7748 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7749 \begin_inset Text
7750
7751 \begin_layout Plain Layout
7752
7753 \series bold
7754 Bozzi
7755 \end_layout
7756
7757 \end_inset
7758 </cell>
7759 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7760 \begin_inset Text
7761
7762 \begin_layout Plain Layout
7763 Walter
7764 \end_layout
7765
7766 \end_inset
7767 </cell>
7768 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7769 \begin_inset Text
7770
7771 \begin_layout Plain Layout
7772 111
7773 \end_layout
7774
7775 \end_inset
7776 </cell>
7777 </row>
7778 <row>
7779 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7780 \begin_inset Text
7781
7782 \begin_layout Plain Layout
7783
7784 \series bold
7785 Cachia
7786 \end_layout
7787
7788 \end_inset
7789 </cell>
7790 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7791 \begin_inset Text
7792
7793 \begin_layout Plain Layout
7794 Maria
7795 \end_layout
7796
7797 \end_inset
7798 </cell>
7799 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7800 \begin_inset Text
7801
7802 \begin_layout Plain Layout
7803 111
7804 \end_layout
7805
7806 \end_inset
7807 </cell>
7808 </row>
7809 <row>
7810 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7811 \begin_inset Text
7812
7813 \begin_layout Plain Layout
7814
7815 \series bold
7816 Cachia
7817 \end_layout
7818
7819 \end_inset
7820 </cell>
7821 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7822 \begin_inset Text
7823
7824 \begin_layout Plain Layout
7825 Maurizio
7826 \end_layout
7827
7828 \end_inset
7829 </cell>
7830 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7831 \begin_inset Text
7832
7833 \begin_layout Plain Layout
7834 111
7835 \end_layout
7836
7837 \end_inset
7838 </cell>
7839 </row>
7840 <row>
7841 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7842 \begin_inset Text
7843
7844 \begin_layout Plain Layout
7845
7846 \series bold
7847 Cinquemani
7848 \end_layout
7849
7850 \end_inset
7851 </cell>
7852 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7853 \begin_inset Text
7854
7855 \begin_layout Plain Layout
7856 Giusi
7857 \end_layout
7858
7859 \end_inset
7860 </cell>
7861 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7862 \begin_inset Text
7863
7864 \begin_layout Plain Layout
7865 111
7866 \end_layout
7867
7868 \end_inset
7869 </cell>
7870 </row>
7871 <row>
7872 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7873 \begin_inset Text
7874
7875 \begin_layout Plain Layout
7876
7877 \series bold
7878 Colin
7879 \end_layout
7880
7881 \end_inset
7882 </cell>
7883 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7884 \begin_inset Text
7885
7886 \begin_layout Plain Layout
7887 Bernard
7888 \end_layout
7889
7890 \end_inset
7891 </cell>
7892 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7893 \begin_inset Text
7894
7895 \begin_layout Plain Layout
7896 111
7897 \end_layout
7898
7899 \end_inset
7900 </cell>
7901 </row>
7902 <row>
7903 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7904 \begin_inset Text
7905
7906 \begin_layout Plain Layout
7907
7908 \series bold
7909 Concli
7910 \end_layout
7911
7912 \end_inset
7913 </cell>
7914 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7915 \begin_inset Text
7916
7917 \begin_layout Plain Layout
7918 Gianfranco
7919 \end_layout
7920
7921 \end_inset
7922 </cell>
7923 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7924 \begin_inset Text
7925
7926 \begin_layout Plain Layout
7927 111
7928 \end_layout
7929
7930 \end_inset
7931 </cell>
7932 </row>
7933 <row>
7934 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7935 \begin_inset Text
7936
7937 \begin_layout Plain Layout
7938
7939 \series bold
7940 Dal Bosco
7941 \end_layout
7942
7943 \end_inset
7944 </cell>
7945 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7946 \begin_inset Text
7947
7948 \begin_layout Plain Layout
7949 Carolina
7950 \end_layout
7951
7952 \end_inset
7953 </cell>
7954 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7955 \begin_inset Text
7956
7957 \begin_layout Plain Layout
7958 111
7959 \end_layout
7960
7961 \end_inset
7962 </cell>
7963 </row>
7964 <row>
7965 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7966 \begin_inset Text
7967
7968 \begin_layout Plain Layout
7969
7970 \series bold
7971 Dalpiaz
7972 \end_layout
7973
7974 \end_inset
7975 </cell>
7976 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7977 \begin_inset Text
7978
7979 \begin_layout Plain Layout
7980 Annamaria
7981 \end_layout
7982
7983 \end_inset
7984 </cell>
7985 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7986 \begin_inset Text
7987
7988 \begin_layout Plain Layout
7989 111
7990 \end_layout
7991
7992 \end_inset
7993 </cell>
7994 </row>
7995 <row>
7996 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7997 \begin_inset Text
7998
7999 \begin_layout Plain Layout
8000
8001 \series bold
8002 Feliciello
8003 \end_layout
8004
8005 \end_inset
8006 </cell>
8007 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8008 \begin_inset Text
8009
8010 \begin_layout Plain Layout
8011 Domenico
8012 \end_layout
8013
8014 \end_inset
8015 </cell>
8016 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8017 \begin_inset Text
8018
8019 \begin_layout Plain Layout
8020 111
8021 \end_layout
8022
8023 \end_inset
8024 </cell>
8025 </row>
8026 <row>
8027 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8028 \begin_inset Text
8029
8030 \begin_layout Plain Layout
8031
8032 \series bold
8033 Focarelli
8034 \end_layout
8035
8036 \end_inset
8037 </cell>
8038 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8039 \begin_inset Text
8040
8041 \begin_layout Plain Layout
8042 Paola
8043 \end_layout
8044
8045 \end_inset
8046 </cell>
8047 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8048 \begin_inset Text
8049
8050 \begin_layout Plain Layout
8051 111
8052 \end_layout
8053
8054 \end_inset
8055 </cell>
8056 </row>
8057 <row>
8058 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8059 \begin_inset Text
8060
8061 \begin_layout Plain Layout
8062
8063 \series bold
8064 Galletti
8065 \end_layout
8066
8067 \end_inset
8068 </cell>
8069 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8070 \begin_inset Text
8071
8072 \begin_layout Plain Layout
8073 Oreste
8074 \end_layout
8075
8076 \end_inset
8077 </cell>
8078 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8079 \begin_inset Text
8080
8081 \begin_layout Plain Layout
8082 111
8083 \end_layout
8084
8085 \end_inset
8086 </cell>
8087 </row>
8088 <row>
8089 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8090 \begin_inset Text
8091
8092 \begin_layout Plain Layout
8093
8094 \series bold
8095 Gasparini
8096 \end_layout
8097
8098 \end_inset
8099 </cell>
8100 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8101 \begin_inset Text
8102
8103 \begin_layout Plain Layout
8104 Franca
8105 \end_layout
8106
8107 \end_inset
8108 </cell>
8109 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8110 \begin_inset Text
8111
8112 \begin_layout Plain Layout
8113 111
8114 \end_layout
8115
8116 \end_inset
8117 </cell>
8118 </row>
8119 <row>
8120 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8121 \begin_inset Text
8122
8123 \begin_layout Plain Layout
8124
8125 \series bold
8126 Rizzardi
8127 \series default
8128
8129 \begin_inset Foot
8130 status open
8131
8132 \begin_layout Plain Layout
8133 Example footnote
8134 \end_layout
8135
8136 \end_inset
8137
8138
8139 \end_layout
8140
8141 \end_inset
8142 </cell>
8143 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8144 \begin_inset Text
8145
8146 \begin_layout Plain Layout
8147 Paola
8148 \end_layout
8149
8150 \end_inset
8151 </cell>
8152 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8153 \begin_inset Text
8154
8155 \begin_layout Plain Layout
8156 111
8157 \end_layout
8158
8159 \end_inset
8160 </cell>
8161 </row>
8162 <row>
8163 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8164 \begin_inset Text
8165
8166 \begin_layout Plain Layout
8167
8168 \series bold
8169 Lassini
8170 \end_layout
8171
8172 \end_inset
8173 </cell>
8174 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8175 \begin_inset Text
8176
8177 \begin_layout Plain Layout
8178 Giancarlo
8179 \end_layout
8180
8181 \end_inset
8182 </cell>
8183 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8184 \begin_inset Text
8185
8186 \begin_layout Plain Layout
8187 111
8188 \end_layout
8189
8190 \end_inset
8191 </cell>
8192 </row>
8193 <row>
8194 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8195 \begin_inset Text
8196
8197 \begin_layout Plain Layout
8198
8199 \series bold
8200 Malfatti
8201 \end_layout
8202
8203 \end_inset
8204 </cell>
8205 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8206 \begin_inset Text
8207
8208 \begin_layout Plain Layout
8209 Luciano
8210 \end_layout
8211
8212 \end_inset
8213 </cell>
8214 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8215 \begin_inset Text
8216
8217 \begin_layout Plain Layout
8218 111
8219 \end_layout
8220
8221 \end_inset
8222 </cell>
8223 </row>
8224 <row>
8225 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8226 \begin_inset Text
8227
8228 \begin_layout Plain Layout
8229
8230 \series bold
8231 Malfatti
8232 \end_layout
8233
8234 \end_inset
8235 </cell>
8236 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8237 \begin_inset Text
8238
8239 \begin_layout Plain Layout
8240 Valeriano
8241 \end_layout
8242
8243 \end_inset
8244 </cell>
8245 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8246 \begin_inset Text
8247
8248 \begin_layout Plain Layout
8249 111
8250 \end_layout
8251
8252 \end_inset
8253 </cell>
8254 </row>
8255 <row>
8256 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8257 \begin_inset Text
8258
8259 \begin_layout Plain Layout
8260
8261 \series bold
8262 Meneguzzo
8263 \end_layout
8264
8265 \end_inset
8266 </cell>
8267 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8268 \begin_inset Text
8269
8270 \begin_layout Plain Layout
8271 Roberto
8272 \end_layout
8273
8274 \end_inset
8275 </cell>
8276 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8277 \begin_inset Text
8278
8279 \begin_layout Plain Layout
8280 111
8281 \end_layout
8282
8283 \end_inset
8284 </cell>
8285 </row>
8286 <row>
8287 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8288 \begin_inset Text
8289
8290 \begin_layout Plain Layout
8291
8292 \series bold
8293 Mezzadra
8294 \end_layout
8295
8296 \end_inset
8297 </cell>
8298 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8299 \begin_inset Text
8300
8301 \begin_layout Plain Layout
8302 Roberto
8303 \end_layout
8304
8305 \end_inset
8306 </cell>
8307 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8308 \begin_inset Text
8309
8310 \begin_layout Plain Layout
8311 111
8312 \end_layout
8313
8314 \end_inset
8315 </cell>
8316 </row>
8317 <row>
8318 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8319 \begin_inset Text
8320
8321 \begin_layout Plain Layout
8322
8323 \series bold
8324 Pirpamer
8325 \end_layout
8326
8327 \end_inset
8328 </cell>
8329 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8330 \begin_inset Text
8331
8332 \begin_layout Plain Layout
8333 Erich
8334 \end_layout
8335
8336 \end_inset
8337 </cell>
8338 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8339 \begin_inset Text
8340
8341 \begin_layout Plain Layout
8342 111
8343 \end_layout
8344
8345 \end_inset
8346 </cell>
8347 </row>
8348 <row>
8349 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8350 \begin_inset Text
8351
8352 \begin_layout Plain Layout
8353
8354 \series bold
8355 Pochiesa
8356 \end_layout
8357
8358 \end_inset
8359 </cell>
8360 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8361 \begin_inset Text
8362
8363 \begin_layout Plain Layout
8364 Paolo
8365 \end_layout
8366
8367 \end_inset
8368 </cell>
8369 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8370 \begin_inset Text
8371
8372 \begin_layout Plain Layout
8373 111, 222
8374 \end_layout
8375
8376 \end_inset
8377 </cell>
8378 </row>
8379 <row>
8380 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8381 \begin_inset Text
8382
8383 \begin_layout Plain Layout
8384
8385 \series bold
8386 Radina
8387 \end_layout
8388
8389 \end_inset
8390 </cell>
8391 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8392 \begin_inset Text
8393
8394 \begin_layout Plain Layout
8395 Claudio
8396 \end_layout
8397
8398 \end_inset
8399 </cell>
8400 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8401 \begin_inset Text
8402
8403 \begin_layout Plain Layout
8404 111
8405 \end_layout
8406
8407 \end_inset
8408 </cell>
8409 </row>
8410 <row>
8411 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8412 \begin_inset Text
8413
8414 \begin_layout Plain Layout
8415
8416 \series bold
8417 Stuffer
8418 \end_layout
8419
8420 \end_inset
8421 </cell>
8422 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8423 \begin_inset Text
8424
8425 \begin_layout Plain Layout
8426 Oskar
8427 \end_layout
8428
8429 \end_inset
8430 </cell>
8431 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8432 \begin_inset Text
8433
8434 \begin_layout Plain Layout
8435 111
8436 \end_layout
8437
8438 \end_inset
8439 </cell>
8440 </row>
8441 <row>
8442 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8443 \begin_inset Text
8444
8445 \begin_layout Plain Layout
8446
8447 \series bold
8448 Tacchelli
8449 \end_layout
8450
8451 \end_inset
8452 </cell>
8453 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8454 \begin_inset Text
8455
8456 \begin_layout Plain Layout
8457 Ugo
8458 \end_layout
8459
8460 \end_inset
8461 </cell>
8462 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8463 \begin_inset Text
8464
8465 \begin_layout Plain Layout
8466 111
8467 \end_layout
8468
8469 \end_inset
8470 </cell>
8471 </row>
8472 <row>
8473 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8474 \begin_inset Text
8475
8476 \begin_layout Plain Layout
8477
8478 \series bold
8479 Tezzele
8480 \end_layout
8481
8482 \end_inset
8483 </cell>
8484 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8485 \begin_inset Text
8486
8487 \begin_layout Plain Layout
8488 Margit
8489 \end_layout
8490
8491 \end_inset
8492 </cell>
8493 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8494 \begin_inset Text
8495
8496 \begin_layout Plain Layout
8497 111
8498 \end_layout
8499
8500 \end_inset
8501 </cell>
8502 </row>
8503 <row>
8504 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8505 \begin_inset Text
8506
8507 \begin_layout Plain Layout
8508
8509 \series bold
8510 Unterkalmsteiner
8511 \end_layout
8512
8513 \end_inset
8514 </cell>
8515 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8516 \begin_inset Text
8517
8518 \begin_layout Plain Layout
8519 Frieda
8520 \end_layout
8521
8522 \end_inset
8523 </cell>
8524 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8525 \begin_inset Text
8526
8527 \begin_layout Plain Layout
8528 111
8529 \end_layout
8530
8531 \end_inset
8532 </cell>
8533 </row>
8534 <row>
8535 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8536 \begin_inset Text
8537
8538 \begin_layout Plain Layout
8539
8540 \series bold
8541 Vieider
8542 \end_layout
8543
8544 \end_inset
8545 </cell>
8546 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8547 \begin_inset Text
8548
8549 \begin_layout Plain Layout
8550 Hilde
8551 \end_layout
8552
8553 \end_inset
8554 </cell>
8555 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8556 \begin_inset Text
8557
8558 \begin_layout Plain Layout
8559 111
8560 \end_layout
8561
8562 \end_inset
8563 </cell>
8564 </row>
8565 <row>
8566 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8567 \begin_inset Text
8568
8569 \begin_layout Plain Layout
8570
8571 \series bold
8572 Vigna
8573 \end_layout
8574
8575 \end_inset
8576 </cell>
8577 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8578 \begin_inset Text
8579
8580 \begin_layout Plain Layout
8581 Jürgen
8582 \end_layout
8583
8584 \end_inset
8585 </cell>
8586 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8587 \begin_inset Text
8588
8589 \begin_layout Plain Layout
8590 111
8591 \end_layout
8592
8593 \end_inset
8594 </cell>
8595 </row>
8596 <row>
8597 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8598 \begin_inset Text
8599
8600 \begin_layout Plain Layout
8601
8602 \series bold
8603 Weber
8604 \end_layout
8605
8606 \end_inset
8607 </cell>
8608 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8609 \begin_inset Text
8610
8611 \begin_layout Plain Layout
8612 Maurizio
8613 \end_layout
8614
8615 \end_inset
8616 </cell>
8617 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8618 \begin_inset Text
8619
8620 \begin_layout Plain Layout
8621 111
8622 \end_layout
8623
8624 \end_inset
8625 </cell>
8626 </row>
8627 <row>
8628 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8629 \begin_inset Text
8630
8631 \begin_layout Plain Layout
8632
8633 \series bold
8634 Winkler
8635 \end_layout
8636
8637 \end_inset
8638 </cell>
8639 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8640 \begin_inset Text
8641
8642 \begin_layout Plain Layout
8643 Franz
8644 \end_layout
8645
8646 \end_inset
8647 </cell>
8648 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8649 \begin_inset Text
8650
8651 \begin_layout Plain Layout
8652 111
8653 \end_layout
8654
8655 \end_inset
8656 </cell>
8657 </row>
8658 <row>
8659 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8660 \begin_inset Text
8661
8662 \begin_layout Plain Layout
8663  
8664 \end_layout
8665
8666 \end_inset
8667 </cell>
8668 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
8669 \begin_inset Text
8670
8671 \begin_layout Plain Layout
8672
8673 \end_layout
8674
8675 \end_inset
8676 </cell>
8677 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8678 \begin_inset Text
8679
8680 \begin_layout Plain Layout
8681
8682 \end_layout
8683
8684 \end_inset
8685 </cell>
8686 </row>
8687 <row>
8688 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8689 \begin_inset Text
8690
8691 \begin_layout Plain Layout
8692
8693 \series bold
8694 Annovi
8695 \end_layout
8696
8697 \end_inset
8698 </cell>
8699 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8700 \begin_inset Text
8701
8702 \begin_layout Plain Layout
8703 Silvia
8704 \end_layout
8705
8706 \end_inset
8707 </cell>
8708 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8709 \begin_inset Text
8710
8711 \begin_layout Plain Layout
8712 555
8713 \end_layout
8714
8715 \end_inset
8716 </cell>
8717 </row>
8718 <row>
8719 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8720 \begin_inset Text
8721
8722 \begin_layout Plain Layout
8723
8724 \series bold
8725 Bertoli
8726 \end_layout
8727
8728 \end_inset
8729 </cell>
8730 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8731 \begin_inset Text
8732
8733 \begin_layout Plain Layout
8734 Stefano
8735 \end_layout
8736
8737 \end_inset
8738 </cell>
8739 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8740 \begin_inset Text
8741
8742 \begin_layout Plain Layout
8743 555
8744 \end_layout
8745
8746 \end_inset
8747 </cell>
8748 </row>
8749 <row>
8750 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8751 \begin_inset Text
8752
8753 \begin_layout Plain Layout
8754
8755 \series bold
8756 Bozzi
8757 \end_layout
8758
8759 \end_inset
8760 </cell>
8761 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8762 \begin_inset Text
8763
8764 \begin_layout Plain Layout
8765 Walter
8766 \end_layout
8767
8768 \end_inset
8769 </cell>
8770 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8771 \begin_inset Text
8772
8773 \begin_layout Plain Layout
8774 555
8775 \end_layout
8776
8777 \end_inset
8778 </cell>
8779 </row>
8780 <row>
8781 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8782 \begin_inset Text
8783
8784 \begin_layout Plain Layout
8785
8786 \series bold
8787 Cachia
8788 \end_layout
8789
8790 \end_inset
8791 </cell>
8792 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8793 \begin_inset Text
8794
8795 \begin_layout Plain Layout
8796 Maria
8797 \end_layout
8798
8799 \end_inset
8800 </cell>
8801 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8802 \begin_inset Text
8803
8804 \begin_layout Plain Layout
8805 555
8806 \end_layout
8807
8808 \end_inset
8809 </cell>
8810 </row>
8811 <row>
8812 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8813 \begin_inset Text
8814
8815 \begin_layout Plain Layout
8816
8817 \series bold
8818 Cachia
8819 \end_layout
8820
8821 \end_inset
8822 </cell>
8823 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8824 \begin_inset Text
8825
8826 \begin_layout Plain Layout
8827 Maurizio
8828 \end_layout
8829
8830 \end_inset
8831 </cell>
8832 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8833 \begin_inset Text
8834
8835 \begin_layout Plain Layout
8836 555
8837 \end_layout
8838
8839 \end_inset
8840 </cell>
8841 </row>
8842 <row>
8843 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8844 \begin_inset Text
8845
8846 \begin_layout Plain Layout
8847
8848 \series bold
8849 Cinquemani
8850 \end_layout
8851
8852 \end_inset
8853 </cell>
8854 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8855 \begin_inset Text
8856
8857 \begin_layout Plain Layout
8858 Giusi
8859 \end_layout
8860
8861 \end_inset
8862 </cell>
8863 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8864 \begin_inset Text
8865
8866 \begin_layout Plain Layout
8867 555
8868 \end_layout
8869
8870 \end_inset
8871 </cell>
8872 </row>
8873 <row>
8874 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8875 \begin_inset Text
8876
8877 \begin_layout Plain Layout
8878
8879 \series bold
8880 Colin
8881 \end_layout
8882
8883 \end_inset
8884 </cell>
8885 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8886 \begin_inset Text
8887
8888 \begin_layout Plain Layout
8889 Bernard
8890 \end_layout
8891
8892 \end_inset
8893 </cell>
8894 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8895 \begin_inset Text
8896
8897 \begin_layout Plain Layout
8898 555
8899 \end_layout
8900
8901 \end_inset
8902 </cell>
8903 </row>
8904 <row>
8905 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8906 \begin_inset Text
8907
8908 \begin_layout Plain Layout
8909
8910 \series bold
8911 Concli
8912 \end_layout
8913
8914 \end_inset
8915 </cell>
8916 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8917 \begin_inset Text
8918
8919 \begin_layout Plain Layout
8920 Gianfranco
8921 \end_layout
8922
8923 \end_inset
8924 </cell>
8925 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8926 \begin_inset Text
8927
8928 \begin_layout Plain Layout
8929 555
8930 \end_layout
8931
8932 \end_inset
8933 </cell>
8934 </row>
8935 <row>
8936 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8937 \begin_inset Text
8938
8939 \begin_layout Plain Layout
8940
8941 \series bold
8942 Dal Bosco
8943 \end_layout
8944
8945 \end_inset
8946 </cell>
8947 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8948 \begin_inset Text
8949
8950 \begin_layout Plain Layout
8951 Carolina
8952 \end_layout
8953
8954 \end_inset
8955 </cell>
8956 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8957 \begin_inset Text
8958
8959 \begin_layout Plain Layout
8960 555
8961 \end_layout
8962
8963 \end_inset
8964 </cell>
8965 </row>
8966 <row>
8967 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8968 \begin_inset Text
8969
8970 \begin_layout Plain Layout
8971
8972 \series bold
8973 Dalpiaz
8974 \end_layout
8975
8976 \end_inset
8977 </cell>
8978 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8979 \begin_inset Text
8980
8981 \begin_layout Plain Layout
8982 Annamaria
8983 \end_layout
8984
8985 \end_inset
8986 </cell>
8987 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8988 \begin_inset Text
8989
8990 \begin_layout Plain Layout
8991 555
8992 \end_layout
8993
8994 \end_inset
8995 </cell>
8996 </row>
8997 <row>
8998 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8999 \begin_inset Text
9000
9001 \begin_layout Plain Layout
9002
9003 \series bold
9004 Feliciello
9005 \end_layout
9006
9007 \end_inset
9008 </cell>
9009 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9010 \begin_inset Text
9011
9012 \begin_layout Plain Layout
9013 Domenico
9014 \end_layout
9015
9016 \end_inset
9017 </cell>
9018 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9019 \begin_inset Text
9020
9021 \begin_layout Plain Layout
9022 555
9023 \end_layout
9024
9025 \end_inset
9026 </cell>
9027 </row>
9028 <row>
9029 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9030 \begin_inset Text
9031
9032 \begin_layout Plain Layout
9033
9034 \series bold
9035 Focarelli
9036 \end_layout
9037
9038 \end_inset
9039 </cell>
9040 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9041 \begin_inset Text
9042
9043 \begin_layout Plain Layout
9044 Paola
9045 \end_layout
9046
9047 \end_inset
9048 </cell>
9049 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9050 \begin_inset Text
9051
9052 \begin_layout Plain Layout
9053 555
9054 \end_layout
9055
9056 \end_inset
9057 </cell>
9058 </row>
9059 <row>
9060 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9061 \begin_inset Text
9062
9063 \begin_layout Plain Layout
9064
9065 \series bold
9066 Galletti
9067 \end_layout
9068
9069 \end_inset
9070 </cell>
9071 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9072 \begin_inset Text
9073
9074 \begin_layout Plain Layout
9075 Oreste
9076 \end_layout
9077
9078 \end_inset
9079 </cell>
9080 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9081 \begin_inset Text
9082
9083 \begin_layout Plain Layout
9084 555
9085 \end_layout
9086
9087 \end_inset
9088 </cell>
9089 </row>
9090 <row>
9091 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9092 \begin_inset Text
9093
9094 \begin_layout Plain Layout
9095
9096 \series bold
9097 Gasparini
9098 \end_layout
9099
9100 \end_inset
9101 </cell>
9102 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9103 \begin_inset Text
9104
9105 \begin_layout Plain Layout
9106 Franca
9107 \end_layout
9108
9109 \end_inset
9110 </cell>
9111 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9112 \begin_inset Text
9113
9114 \begin_layout Plain Layout
9115 555
9116 \end_layout
9117
9118 \end_inset
9119 </cell>
9120 </row>
9121 <row>
9122 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9123 \begin_inset Text
9124
9125 \begin_layout Plain Layout
9126
9127 \series bold
9128 Rizzardi
9129 \end_layout
9130
9131 \end_inset
9132 </cell>
9133 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9134 \begin_inset Text
9135
9136 \begin_layout Plain Layout
9137 Paola
9138 \end_layout
9139
9140 \end_inset
9141 </cell>
9142 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9143 \begin_inset Text
9144
9145 \begin_layout Plain Layout
9146 555
9147 \end_layout
9148
9149 \end_inset
9150 </cell>
9151 </row>
9152 <row>
9153 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9154 \begin_inset Text
9155
9156 \begin_layout Plain Layout
9157
9158 \series bold
9159 Lassini
9160 \end_layout
9161
9162 \end_inset
9163 </cell>
9164 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9165 \begin_inset Text
9166
9167 \begin_layout Plain Layout
9168 Giancarlo
9169 \end_layout
9170
9171 \end_inset
9172 </cell>
9173 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9174 \begin_inset Text
9175
9176 \begin_layout Plain Layout
9177 555
9178 \end_layout
9179
9180 \end_inset
9181 </cell>
9182 </row>
9183 <row>
9184 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9185 \begin_inset Text
9186
9187 \begin_layout Plain Layout
9188
9189 \series bold
9190 Malfatti
9191 \end_layout
9192
9193 \end_inset
9194 </cell>
9195 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9196 \begin_inset Text
9197
9198 \begin_layout Plain Layout
9199 Luciano
9200 \end_layout
9201
9202 \end_inset
9203 </cell>
9204 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9205 \begin_inset Text
9206
9207 \begin_layout Plain Layout
9208 555
9209 \end_layout
9210
9211 \end_inset
9212 </cell>
9213 </row>
9214 <row>
9215 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9216 \begin_inset Text
9217
9218 \begin_layout Plain Layout
9219
9220 \series bold
9221 Malfatti
9222 \end_layout
9223
9224 \end_inset
9225 </cell>
9226 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9227 \begin_inset Text
9228
9229 \begin_layout Plain Layout
9230 Valeriano
9231 \end_layout
9232
9233 \end_inset
9234 </cell>
9235 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9236 \begin_inset Text
9237
9238 \begin_layout Plain Layout
9239 555
9240 \end_layout
9241
9242 \end_inset
9243 </cell>
9244 </row>
9245 <row>
9246 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9247 \begin_inset Text
9248
9249 \begin_layout Plain Layout
9250
9251 \series bold
9252 Meneguzzo
9253 \end_layout
9254
9255 \end_inset
9256 </cell>
9257 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9258 \begin_inset Text
9259
9260 \begin_layout Plain Layout
9261 Roberto
9262 \end_layout
9263
9264 \end_inset
9265 </cell>
9266 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9267 \begin_inset Text
9268
9269 \begin_layout Plain Layout
9270 555
9271 \end_layout
9272
9273 \end_inset
9274 </cell>
9275 </row>
9276 <row>
9277 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
9278 \begin_inset Text
9279
9280 \begin_layout Plain Layout
9281
9282 \series bold
9283 Mezzadra
9284 \end_layout
9285
9286 \end_inset
9287 </cell>
9288 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9289 \begin_inset Text
9290
9291 \begin_layout Plain Layout
9292 Roberto
9293 \end_layout
9294
9295 \end_inset
9296 </cell>
9297 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9298 \begin_inset Text
9299
9300 \begin_layout Plain Layout
9301 555
9302 \end_layout
9303
9304 \end_inset
9305 </cell>
9306 </row>
9307 </lyxtabular>
9308
9309 \end_inset
9310
9311
9312 \end_layout
9313
9314 \begin_layout Section
9315 Special Longtable Issues
9316 \begin_inset CommandInset label
9317 LatexCommand label
9318 name "sec:Special-Longtable-Issues"
9319
9320 \end_inset
9321
9322
9323 \end_layout
9324
9325 \begin_layout Subsection
9326 Longtable Calculation
9327 \begin_inset Index
9328 status collapsed
9329
9330 \begin_layout Plain Layout
9331 Longtables ! Calculation
9332 \end_layout
9333
9334 \end_inset
9335
9336
9337 \end_layout
9338
9339 \begin_layout Standard
9340 LaTeX calculates the height of table pages and their page breaks using so
9341  called chunks.
9342  Chunks are pieces of the tables that are at once in LaTeX's memory.
9343  The default value is historically set to only 20 table rows.
9344  If you are using longtables with many pages this may slow down the creation
9345  of your document.
9346  You can safely increase the chunk size to values of 100-1000 by adding
9347  this command line to your document preamble:
9348 \end_layout
9349
9350 \begin_layout Standard
9351
9352 \series bold
9353
9354 \backslash
9355 setcounter{LTchunksize}{100}
9356 \end_layout
9357
9358 \begin_layout Subsection
9359 Floats and Longtables
9360 \begin_inset Index
9361 status collapsed
9362
9363 \begin_layout Plain Layout
9364 Longtables ! Floats
9365 \end_layout
9366
9367 \end_inset
9368
9369
9370 \end_layout
9371
9372 \begin_layout Standard
9373 There might be problems when a float appears on the same page where a longtable
9374  starts.
9375  To avoid such situation, add the command 
9376 \series bold
9377
9378 \backslash
9379 clearpage
9380 \series default
9381  as TeX-Code before your longtable.
9382 \end_layout
9383
9384 \begin_layout Subsection
9385 Forced Page Breaks
9386 \begin_inset Index
9387 status collapsed
9388
9389 \begin_layout Plain Layout
9390 Longtables ! Forced Page Breaks
9391 \end_layout
9392
9393 \end_inset
9394
9395
9396 \end_layout
9397
9398 \begin_layout Standard
9399 By default tables are only broken between rows.
9400  If you have a cell with multiples lines and want to have a page break within
9401  the cell, insert the new line command 
9402 \begin_inset Quotes eld
9403 \end_inset
9404
9405
9406 \series bold
9407
9408 \backslash
9409
9410 \backslash
9411
9412 \series default
9413
9414 \begin_inset Quotes erd
9415 \end_inset
9416
9417  as TeX-Code at this point of the cell where it can be broken.
9418  Before the 
9419 \series bold
9420
9421 \backslash
9422
9423 \backslash
9424
9425 \series default
9426  command you have to insert in TeX-Code so many 
9427 \begin_inset Quotes eld
9428 \end_inset
9429
9430
9431 \series bold
9432 &
9433 \series default
9434
9435 \begin_inset Quotes erd
9436 \end_inset
9437
9438  characters like the number of the following table columns.
9439  The 
9440 \series bold
9441 &
9442 \series default
9443  is the character to separate table cells.
9444  Write in TeX-Code after each 
9445 \series bold
9446 &
9447 \series default
9448  the content of the corresponding following cell and delete the content
9449  of these cells.
9450 \begin_inset Newline newline
9451 \end_inset
9452
9453 Behind the the 
9454 \series bold
9455
9456 \backslash
9457
9458 \backslash
9459
9460 \series default
9461  command, insert so many 
9462 \series bold
9463 &
9464 \series default
9465  characters like the number of table columns before the current column.
9466  In Table
9467 \begin_inset space ~
9468 \end_inset
9469
9470
9471 \begin_inset CommandInset ref
9472 LatexCommand ref
9473 reference "tab:ForcedPagebreak"
9474
9475 \end_inset
9476
9477  the cell that should be broken is in the second column followed by another
9478  column.
9479  Therefore the following command was inserted in the cell as TeX-Code behind
9480  
9481 \begin_inset Quotes eld
9482 \end_inset
9483
9484
9485 \emph on
9486 Castelchiodato,
9487 \emph default
9488
9489 \begin_inset Quotes erd
9490 \end_inset
9491
9492 :
9493 \end_layout
9494
9495 \begin_layout Standard
9496
9497 \series bold
9498 & 111
9499 \backslash
9500
9501 \backslash
9502  
9503 \backslash
9504 newpage
9505 \begin_inset Newline newline
9506 \end_inset
9507
9508 &
9509 \end_layout
9510
9511 \begin_layout Standard
9512 The 
9513 \begin_inset Quotes eld
9514 \end_inset
9515
9516 111
9517 \begin_inset Quotes erd
9518 \end_inset
9519
9520  in the third columns of the row was deleted.
9521  
9522 \series bold
9523
9524 \backslash
9525 newpage
9526 \series default
9527  is only needed when a page break should definitively occur at this position,
9528  otherwise it is only a possibility to break.
9529  If your footer row of the longtable has for a certain reason no upper line
9530  but you would have a horizontal line where the cell is broken, use this
9531  command instead:
9532 \end_layout
9533
9534 \begin_layout Standard
9535
9536 \series bold
9537 & 111
9538 \backslash
9539
9540 \backslash
9541
9542 \begin_inset Newline newline
9543 \end_inset
9544
9545
9546 \backslash
9547 hline &
9548 \end_layout
9549
9550 \begin_layout Standard
9551 When the cell to be broken is in the last column, the command
9552 \end_layout
9553
9554 \begin_layout Standard
9555
9556 \series bold
9557
9558 \backslash
9559 setlength{
9560 \backslash
9561 parfillskip}{0pt}
9562 \end_layout
9563
9564 \begin_layout Standard
9565 must be inserted as TeX-Code at the beginning of the cell.
9566  This assures that the part of the cell that will be displayed on the new
9567  page appears with the full width.
9568 \end_layout
9569
9570 \begin_layout Standard
9571 \align center
9572 \begin_inset Tabular
9573 <lyxtabular version="3" rows="38" columns="3">
9574 <features islongtable="true" lastFootEmpty="true">
9575 <column alignment="left" valignment="top" width="0cm">
9576 <column alignment="left" valignment="top" width="3cm">
9577 <column alignment="center" valignment="top" width="0pt">
9578 <row caption="true">
9579 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9580 \begin_inset Text
9581
9582 \begin_layout Plain Layout
9583 \begin_inset Caption
9584
9585 \begin_layout Plain Layout
9586 Table with forced page break in table cell
9587 \begin_inset CommandInset label
9588 LatexCommand label
9589 name "tab:ForcedPagebreak"
9590
9591 \end_inset
9592
9593
9594 \begin_inset OptArg
9595 status collapsed
9596
9597 \begin_layout Plain Layout
9598 Table with forced page break in table cell
9599 \end_layout
9600
9601 \end_inset
9602
9603
9604 \end_layout
9605
9606 \end_inset
9607
9608
9609 \end_layout
9610
9611 \end_inset
9612 </cell>
9613 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9614 \begin_inset Text
9615
9616 \begin_layout Plain Layout
9617
9618 \end_layout
9619
9620 \end_inset
9621 </cell>
9622 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9623 \begin_inset Text
9624
9625 \begin_layout Plain Layout
9626
9627 \end_layout
9628
9629 \end_inset
9630 </cell>
9631 </row>
9632 <row endfirsthead="true">
9633 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9634 \begin_inset Text
9635
9636 \begin_layout Plain Layout
9637
9638 \series bold
9639 Example Phone List (ignore the names)
9640 \end_layout
9641
9642 \end_inset
9643 </cell>
9644 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9645 \begin_inset Text
9646
9647 \begin_layout Plain Layout
9648
9649 \end_layout
9650
9651 \end_inset
9652 </cell>
9653 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9654 \begin_inset Text
9655
9656 \begin_layout Plain Layout
9657
9658 \end_layout
9659
9660 \end_inset
9661 </cell>
9662 </row>
9663 <row endfirsthead="true">
9664 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9665 \begin_inset Text
9666
9667 \begin_layout Plain Layout
9668
9669 \series bold
9670 NAME
9671 \end_layout
9672
9673 \end_inset
9674 </cell>
9675 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9676 \begin_inset Text
9677
9678 \begin_layout Plain Layout
9679
9680 \end_layout
9681
9682 \end_inset
9683 </cell>
9684 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9685 \begin_inset Text
9686
9687 \begin_layout Plain Layout
9688
9689 \series bold
9690 TEL.
9691 \end_layout
9692
9693 \end_inset
9694 </cell>
9695 </row>
9696 <row endhead="true">
9697 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9698 \begin_inset Text
9699
9700 \begin_layout Plain Layout
9701 \begin_inset ERT
9702 status collapsed
9703
9704 \begin_layout Plain Layout
9705
9706
9707 \backslash
9708 caption*{Continued Example Phone List}
9709 \backslash
9710
9711 \backslash
9712 %
9713 \end_layout
9714
9715 \end_inset
9716
9717
9718 \end_layout
9719
9720 \end_inset
9721 </cell>
9722 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9723 \begin_inset Text
9724
9725 \begin_layout Plain Layout
9726
9727 \end_layout
9728
9729 \end_inset
9730 </cell>
9731 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9732 \begin_inset Text
9733
9734 \begin_layout Plain Layout
9735
9736 \end_layout
9737
9738 \end_inset
9739 </cell>
9740 </row>
9741 <row endhead="true">
9742 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9743 \begin_inset Text
9744
9745 \begin_layout Plain Layout
9746
9747 \series bold
9748 Example Phone List
9749 \end_layout
9750
9751 \end_inset
9752 </cell>
9753 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9754 \begin_inset Text
9755
9756 \begin_layout Plain Layout
9757
9758 \end_layout
9759
9760 \end_inset
9761 </cell>
9762 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9763 \begin_inset Text
9764
9765 \begin_layout Plain Layout
9766
9767 \end_layout
9768
9769 \end_inset
9770 </cell>
9771 </row>
9772 <row endhead="true">
9773 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9774 \begin_inset Text
9775
9776 \begin_layout Plain Layout
9777
9778 \series bold
9779 NAME
9780 \end_layout
9781
9782 \end_inset
9783 </cell>
9784 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9785 \begin_inset Text
9786
9787 \begin_layout Plain Layout
9788
9789 \end_layout
9790
9791 \end_inset
9792 </cell>
9793 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9794 \begin_inset Text
9795
9796 \begin_layout Plain Layout
9797
9798 \series bold
9799 TEL.
9800 \end_layout
9801
9802 \end_inset
9803 </cell>
9804 </row>
9805 <row endfoot="true">
9806 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
9807 \begin_inset Text
9808
9809 \begin_layout Plain Layout
9810 continued on next page
9811 \end_layout
9812
9813 \end_inset
9814 </cell>
9815 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9816 \begin_inset Text
9817
9818 \begin_layout Plain Layout
9819
9820 \end_layout
9821
9822 \end_inset
9823 </cell>
9824 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9825 \begin_inset Text
9826
9827 \begin_layout Plain Layout
9828
9829 \end_layout
9830
9831 \end_inset
9832 </cell>
9833 </row>
9834 <row>
9835 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9836 \begin_inset Text
9837
9838 \begin_layout Plain Layout
9839
9840 \series bold
9841 Annovi
9842 \end_layout
9843
9844 \end_inset
9845 </cell>
9846 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9847 \begin_inset Text
9848
9849 \begin_layout Plain Layout
9850 Silvia
9851 \end_layout
9852
9853 \end_inset
9854 </cell>
9855 <cell alignment="right" valignment="top" rightline="true" usebox="none">
9856 \begin_inset Text
9857
9858 \begin_layout Plain Layout
9859 111
9860 \end_layout
9861
9862 \end_inset
9863 </cell>
9864 </row>
9865 <row>
9866 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9867 \begin_inset Text
9868
9869 \begin_layout Plain Layout
9870
9871 \series bold
9872 Bertoli
9873 \end_layout
9874
9875 \end_inset
9876 </cell>
9877 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9878 \begin_inset Text
9879
9880 \begin_layout Plain Layout
9881 Stefano
9882 \end_layout
9883
9884 \end_inset
9885 </cell>
9886 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9887 \begin_inset Text
9888
9889 \begin_layout Plain Layout
9890 111
9891 \end_layout
9892
9893 \end_inset
9894 </cell>
9895 </row>
9896 <row>
9897 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9898 \begin_inset Text
9899
9900 \begin_layout Plain Layout
9901
9902 \series bold
9903 Bozzi
9904 \end_layout
9905
9906 \end_inset
9907 </cell>
9908 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9909 \begin_inset Text
9910
9911 \begin_layout Plain Layout
9912 Walter
9913 \end_layout
9914
9915 \end_inset
9916 </cell>
9917 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9918 \begin_inset Text
9919
9920 \begin_layout Plain Layout
9921 111
9922 \end_layout
9923
9924 \end_inset
9925 </cell>
9926 </row>
9927 <row>
9928 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9929 \begin_inset Text
9930
9931 \begin_layout Plain Layout
9932
9933 \series bold
9934 Cachia
9935 \end_layout
9936
9937 \end_inset
9938 </cell>
9939 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9940 \begin_inset Text
9941
9942 \begin_layout Plain Layout
9943 Maria
9944 \end_layout
9945
9946 \end_inset
9947 </cell>
9948 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9949 \begin_inset Text
9950
9951 \begin_layout Plain Layout
9952 111
9953 \end_layout
9954
9955 \end_inset
9956 </cell>
9957 </row>
9958 <row>
9959 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9960 \begin_inset Text
9961
9962 \begin_layout Plain Layout
9963
9964 \series bold
9965 Cachia
9966 \end_layout
9967
9968 \end_inset
9969 </cell>
9970 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9971 \begin_inset Text
9972
9973 \begin_layout Plain Layout
9974 Maurizio
9975 \end_layout
9976
9977 \end_inset
9978 </cell>
9979 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9980 \begin_inset Text
9981
9982 \begin_layout Plain Layout
9983 111
9984 \end_layout
9985
9986 \end_inset
9987 </cell>
9988 </row>
9989 <row>
9990 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9991 \begin_inset Text
9992
9993 \begin_layout Plain Layout
9994
9995 \series bold
9996 Cinquemani
9997 \end_layout
9998
9999 \end_inset
10000 </cell>
10001 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10002 \begin_inset Text
10003
10004 \begin_layout Plain Layout
10005 Giusi
10006 \end_layout
10007
10008 \end_inset
10009 </cell>
10010 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10011 \begin_inset Text
10012
10013 \begin_layout Plain Layout
10014 111
10015 \end_layout
10016
10017 \end_inset
10018 </cell>
10019 </row>
10020 <row>
10021 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10022 \begin_inset Text
10023
10024 \begin_layout Plain Layout
10025
10026 \series bold
10027 Colin
10028 \end_layout
10029
10030 \end_inset
10031 </cell>
10032 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10033 \begin_inset Text
10034
10035 \begin_layout Plain Layout
10036 Bernard
10037 \end_layout
10038
10039 \end_inset
10040 </cell>
10041 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10042 \begin_inset Text
10043
10044 \begin_layout Plain Layout
10045 111
10046 \end_layout
10047
10048 \end_inset
10049 </cell>
10050 </row>
10051 <row>
10052 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10053 \begin_inset Text
10054
10055 \begin_layout Plain Layout
10056
10057 \series bold
10058 Concli
10059 \end_layout
10060
10061 \end_inset
10062 </cell>
10063 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10064 \begin_inset Text
10065
10066 \begin_layout Plain Layout
10067 Gianfranco
10068 \end_layout
10069
10070 \end_inset
10071 </cell>
10072 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10073 \begin_inset Text
10074
10075 \begin_layout Plain Layout
10076 111
10077 \end_layout
10078
10079 \end_inset
10080 </cell>
10081 </row>
10082 <row>
10083 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10084 \begin_inset Text
10085
10086 \begin_layout Plain Layout
10087
10088 \series bold
10089 Dal Bosco
10090 \end_layout
10091
10092 \end_inset
10093 </cell>
10094 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10095 \begin_inset Text
10096
10097 \begin_layout Plain Layout
10098 Carolina
10099 \end_layout
10100
10101 \end_inset
10102 </cell>
10103 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10104 \begin_inset Text
10105
10106 \begin_layout Plain Layout
10107 111
10108 \end_layout
10109
10110 \end_inset
10111 </cell>
10112 </row>
10113 <row>
10114 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10115 \begin_inset Text
10116
10117 \begin_layout Plain Layout
10118
10119 \series bold
10120 Dalpiaz
10121 \end_layout
10122
10123 \end_inset
10124 </cell>
10125 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10126 \begin_inset Text
10127
10128 \begin_layout Plain Layout
10129 Annamaria
10130 \end_layout
10131
10132 \end_inset
10133 </cell>
10134 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10135 \begin_inset Text
10136
10137 \begin_layout Plain Layout
10138 111
10139 \end_layout
10140
10141 \end_inset
10142 </cell>
10143 </row>
10144 <row>
10145 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10146 \begin_inset Text
10147
10148 \begin_layout Plain Layout
10149
10150 \series bold
10151 Feliciello
10152 \end_layout
10153
10154 \end_inset
10155 </cell>
10156 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10157 \begin_inset Text
10158
10159 \begin_layout Plain Layout
10160 Domenico
10161 \end_layout
10162
10163 \end_inset
10164 </cell>
10165 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10166 \begin_inset Text
10167
10168 \begin_layout Plain Layout
10169 111
10170 \end_layout
10171
10172 \end_inset
10173 </cell>
10174 </row>
10175 <row>
10176 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10177 \begin_inset Text
10178
10179 \begin_layout Plain Layout
10180
10181 \series bold
10182 Focarelli
10183 \end_layout
10184
10185 \end_inset
10186 </cell>
10187 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10188 \begin_inset Text
10189
10190 \begin_layout Plain Layout
10191 Paola
10192 \end_layout
10193
10194 \end_inset
10195 </cell>
10196 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10197 \begin_inset Text
10198
10199 \begin_layout Plain Layout
10200 111
10201 \end_layout
10202
10203 \end_inset
10204 </cell>
10205 </row>
10206 <row>
10207 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10208 \begin_inset Text
10209
10210 \begin_layout Plain Layout
10211
10212 \series bold
10213 Galletti
10214 \end_layout
10215
10216 \end_inset
10217 </cell>
10218 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10219 \begin_inset Text
10220
10221 \begin_layout Plain Layout
10222 Oreste
10223 \end_layout
10224
10225 \end_inset
10226 </cell>
10227 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10228 \begin_inset Text
10229
10230 \begin_layout Plain Layout
10231 111
10232 \end_layout
10233
10234 \end_inset
10235 </cell>
10236 </row>
10237 <row>
10238 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10239 \begin_inset Text
10240
10241 \begin_layout Plain Layout
10242
10243 \series bold
10244 Gasparini
10245 \end_layout
10246
10247 \end_inset
10248 </cell>
10249 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10250 \begin_inset Text
10251
10252 \begin_layout Plain Layout
10253 Franca
10254 \end_layout
10255
10256 \end_inset
10257 </cell>
10258 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10259 \begin_inset Text
10260
10261 \begin_layout Plain Layout
10262 111
10263 \end_layout
10264
10265 \end_inset
10266 </cell>
10267 </row>
10268 <row>
10269 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10270 \begin_inset Text
10271
10272 \begin_layout Plain Layout
10273
10274 \series bold
10275 Lassini
10276 \end_layout
10277
10278 \end_inset
10279 </cell>
10280 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10281 \begin_inset Text
10282
10283 \begin_layout Plain Layout
10284 Giancarlo
10285 \end_layout
10286
10287 \end_inset
10288 </cell>
10289 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10290 \begin_inset Text
10291
10292 \begin_layout Plain Layout
10293 111
10294 \end_layout
10295
10296 \end_inset
10297 </cell>
10298 </row>
10299 <row>
10300 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10301 \begin_inset Text
10302
10303 \begin_layout Plain Layout
10304
10305 \series bold
10306 Malfatti
10307 \end_layout
10308
10309 \end_inset
10310 </cell>
10311 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10312 \begin_inset Text
10313
10314 \begin_layout Plain Layout
10315 Luciano
10316 \end_layout
10317
10318 \end_inset
10319 </cell>
10320 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10321 \begin_inset Text
10322
10323 \begin_layout Plain Layout
10324 111
10325 \end_layout
10326
10327 \end_inset
10328 </cell>
10329 </row>
10330 <row>
10331 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10332 \begin_inset Text
10333
10334 \begin_layout Plain Layout
10335
10336 \series bold
10337 Malfatti
10338 \end_layout
10339
10340 \end_inset
10341 </cell>
10342 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10343 \begin_inset Text
10344
10345 \begin_layout Plain Layout
10346 Valeriano
10347 \end_layout
10348
10349 \end_inset
10350 </cell>
10351 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10352 \begin_inset Text
10353
10354 \begin_layout Plain Layout
10355 111
10356 \end_layout
10357
10358 \end_inset
10359 </cell>
10360 </row>
10361 <row>
10362 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10363 \begin_inset Text
10364
10365 \begin_layout Plain Layout
10366
10367 \series bold
10368 Meneguzzo
10369 \end_layout
10370
10371 \end_inset
10372 </cell>
10373 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10374 \begin_inset Text
10375
10376 \begin_layout Plain Layout
10377 Roberto
10378 \end_layout
10379
10380 \end_inset
10381 </cell>
10382 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10383 \begin_inset Text
10384
10385 \begin_layout Plain Layout
10386 111
10387 \end_layout
10388
10389 \end_inset
10390 </cell>
10391 </row>
10392 <row>
10393 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10394 \begin_inset Text
10395
10396 \begin_layout Plain Layout
10397
10398 \series bold
10399 Mezzadra
10400 \end_layout
10401
10402 \end_inset
10403 </cell>
10404 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10405 \begin_inset Text
10406
10407 \begin_layout Plain Layout
10408 Roberto
10409 \end_layout
10410
10411 \end_inset
10412 </cell>
10413 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10414 \begin_inset Text
10415
10416 \begin_layout Plain Layout
10417 111
10418 \end_layout
10419
10420 \end_inset
10421 </cell>
10422 </row>
10423 <row>
10424 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10425 \begin_inset Text
10426
10427 \begin_layout Plain Layout
10428
10429 \series bold
10430 Pirpamer
10431 \end_layout
10432
10433 \end_inset
10434 </cell>
10435 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10436 \begin_inset Text
10437
10438 \begin_layout Plain Layout
10439 Erich
10440 \end_layout
10441
10442 \end_inset
10443 </cell>
10444 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10445 \begin_inset Text
10446
10447 \begin_layout Plain Layout
10448 111
10449 \end_layout
10450
10451 \end_inset
10452 </cell>
10453 </row>
10454 <row>
10455 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10456 \begin_inset Text
10457
10458 \begin_layout Plain Layout
10459
10460 \series bold
10461 Pochiesa
10462 \end_layout
10463
10464 \end_inset
10465 </cell>
10466 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10467 \begin_inset Text
10468
10469 \begin_layout Plain Layout
10470 Paolo
10471 \end_layout
10472
10473 \end_inset
10474 </cell>
10475 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10476 \begin_inset Text
10477
10478 \begin_layout Plain Layout
10479 111, 222
10480 \end_layout
10481
10482 \end_inset
10483 </cell>
10484 </row>
10485 <row>
10486 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10487 \begin_inset Text
10488
10489 \begin_layout Plain Layout
10490
10491 \series bold
10492 Radina
10493 \end_layout
10494
10495 \end_inset
10496 </cell>
10497 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10498 \begin_inset Text
10499
10500 \begin_layout Plain Layout
10501 Claudio
10502 \end_layout
10503
10504 \end_inset
10505 </cell>
10506 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10507 \begin_inset Text
10508
10509 \begin_layout Plain Layout
10510 111
10511 \end_layout
10512
10513 \end_inset
10514 </cell>
10515 </row>
10516 <row>
10517 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10518 \begin_inset Text
10519
10520 \begin_layout Plain Layout
10521
10522 \series bold
10523 Rizzardi
10524 \end_layout
10525
10526 \end_inset
10527 </cell>
10528 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10529 \begin_inset Text
10530
10531 \begin_layout Plain Layout
10532 Paolo, 11.
10533  Fürst von Montecompatri, 11.
10534  Fürst von Sulmona und Vivaro, 10.
10535  Fürst von Rossano, 5.
10536  Herzog von Canemorte, 11.
10537  Herzog von Palombara, 5.
10538  Herzog von Castelchiodato,
10539 \begin_inset ERT
10540 status open
10541
10542 \begin_layout Plain Layout
10543
10544 & 111
10545 \backslash
10546
10547 \backslash
10548  
10549 \backslash
10550 newpage
10551 \end_layout
10552
10553 \begin_layout Plain Layout
10554
10555 &
10556 \end_layout
10557
10558 \end_inset
10559
10560  11.
10561  Herzog von Poggionativo, 11.
10562  Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
10563  Graf von Valinfreda, 11.
10564  Baron von Cropalati, 11.
10565  Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
10566 \end_layout
10567
10568 \end_inset
10569 </cell>
10570 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10571 \begin_inset Text
10572
10573 \begin_layout Plain Layout
10574
10575 \end_layout
10576
10577 \end_inset
10578 </cell>
10579 </row>
10580 <row>
10581 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10582 \begin_inset Text
10583
10584 \begin_layout Plain Layout
10585
10586 \series bold
10587 Stuffer
10588 \end_layout
10589
10590 \end_inset
10591 </cell>
10592 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10593 \begin_inset Text
10594
10595 \begin_layout Plain Layout
10596 Oskar
10597 \end_layout
10598
10599 \end_inset
10600 </cell>
10601 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10602 \begin_inset Text
10603
10604 \begin_layout Plain Layout
10605 111
10606 \end_layout
10607
10608 \end_inset
10609 </cell>
10610 </row>
10611 <row>
10612 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10613 \begin_inset Text
10614
10615 \begin_layout Plain Layout
10616
10617 \series bold
10618 Tacchelli
10619 \end_layout
10620
10621 \end_inset
10622 </cell>
10623 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10624 \begin_inset Text
10625
10626 \begin_layout Plain Layout
10627 Ugo
10628 \end_layout
10629
10630 \end_inset
10631 </cell>
10632 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10633 \begin_inset Text
10634
10635 \begin_layout Plain Layout
10636 111
10637 \end_layout
10638
10639 \end_inset
10640 </cell>
10641 </row>
10642 <row>
10643 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10644 \begin_inset Text
10645
10646 \begin_layout Plain Layout
10647
10648 \series bold
10649 Tezzele
10650 \end_layout
10651
10652 \end_inset
10653 </cell>
10654 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10655 \begin_inset Text
10656
10657 \begin_layout Plain Layout
10658 Margit
10659 \end_layout
10660
10661 \end_inset
10662 </cell>
10663 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10664 \begin_inset Text
10665
10666 \begin_layout Plain Layout
10667 111
10668 \end_layout
10669
10670 \end_inset
10671 </cell>
10672 </row>
10673 <row>
10674 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10675 \begin_inset Text
10676
10677 \begin_layout Plain Layout
10678
10679 \series bold
10680 Unterkalmsteiner
10681 \end_layout
10682
10683 \end_inset
10684 </cell>
10685 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10686 \begin_inset Text
10687
10688 \begin_layout Plain Layout
10689 Frieda
10690 \end_layout
10691
10692 \end_inset
10693 </cell>
10694 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10695 \begin_inset Text
10696
10697 \begin_layout Plain Layout
10698 111
10699 \end_layout
10700
10701 \end_inset
10702 </cell>
10703 </row>
10704 <row>
10705 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10706 \begin_inset Text
10707
10708 \begin_layout Plain Layout
10709
10710 \series bold
10711 Vieider
10712 \end_layout
10713
10714 \end_inset
10715 </cell>
10716 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10717 \begin_inset Text
10718
10719 \begin_layout Plain Layout
10720 Hilde
10721 \end_layout
10722
10723 \end_inset
10724 </cell>
10725 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10726 \begin_inset Text
10727
10728 \begin_layout Plain Layout
10729 111
10730 \end_layout
10731
10732 \end_inset
10733 </cell>
10734 </row>
10735 <row>
10736 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10737 \begin_inset Text
10738
10739 \begin_layout Plain Layout
10740
10741 \series bold
10742 Vigna
10743 \end_layout
10744
10745 \end_inset
10746 </cell>
10747 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10748 \begin_inset Text
10749
10750 \begin_layout Plain Layout
10751 Jürgen
10752 \end_layout
10753
10754 \end_inset
10755 </cell>
10756 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10757 \begin_inset Text
10758
10759 \begin_layout Plain Layout
10760 111
10761 \end_layout
10762
10763 \end_inset
10764 </cell>
10765 </row>
10766 <row>
10767 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10768 \begin_inset Text
10769
10770 \begin_layout Plain Layout
10771
10772 \series bold
10773 Weber
10774 \end_layout
10775
10776 \end_inset
10777 </cell>
10778 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10779 \begin_inset Text
10780
10781 \begin_layout Plain Layout
10782 Maurizio
10783 \end_layout
10784
10785 \end_inset
10786 </cell>
10787 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10788 \begin_inset Text
10789
10790 \begin_layout Plain Layout
10791 111
10792 \end_layout
10793
10794 \end_inset
10795 </cell>
10796 </row>
10797 <row>
10798 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10799 \begin_inset Text
10800
10801 \begin_layout Plain Layout
10802
10803 \series bold
10804 Winkler
10805 \end_layout
10806
10807 \end_inset
10808 </cell>
10809 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10810 \begin_inset Text
10811
10812 \begin_layout Plain Layout
10813 Franz
10814 \end_layout
10815
10816 \end_inset
10817 </cell>
10818 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10819 \begin_inset Text
10820
10821 \begin_layout Plain Layout
10822 111
10823 \end_layout
10824
10825 \end_inset
10826 </cell>
10827 </row>
10828 </lyxtabular>
10829
10830 \end_inset
10831
10832
10833 \end_layout
10834
10835 \begin_layout Section
10836 Multiple Lines Columns and Rows
10837 \end_layout
10838
10839 \begin_layout Subsection
10840 Multiple Lines in Table Cells
10841 \begin_inset CommandInset label
10842 LatexCommand label
10843 name "sub:Multiple-Lines-in"
10844
10845 \end_inset
10846
10847
10848 \begin_inset Index
10849 status collapsed
10850
10851 \begin_layout Plain Layout
10852 Multiple Lines in Table Cells
10853 \end_layout
10854
10855 \end_inset
10856
10857
10858 \begin_inset Index
10859 status collapsed
10860
10861 \begin_layout Plain Layout
10862 Table ! Linebreaks
10863 \end_layout
10864
10865 \end_inset
10866
10867
10868 \end_layout
10869
10870 \begin_layout Standard
10871 \noindent
10872 \begin_inset Float table
10873 placement H
10874 wide false
10875 sideways false
10876 status open
10877
10878 \begin_layout Plain Layout
10879 \begin_inset Caption
10880
10881 \begin_layout Plain Layout
10882 \begin_inset CommandInset label
10883 LatexCommand label
10884 name "tab:Table-with-multiple"
10885
10886 \end_inset
10887
10888 Table with multiple lines in cells
10889 \end_layout
10890
10891 \end_inset
10892
10893
10894 \end_layout
10895
10896 \begin_layout Plain Layout
10897 \align center
10898 \begin_inset Tabular
10899 <lyxtabular version="3" rows="3" columns="3">
10900 <features>
10901 <column alignment="center" valignment="middle" width="2.5cm">
10902 <column alignment="center" valignment="middle" width="0">
10903 <column alignment="center" valignment="middle" width="0">
10904 <row>
10905 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10906 \begin_inset Text
10907
10908 \begin_layout Plain Layout
10909 multiple
10910 \begin_inset Newline linebreak
10911 \end_inset
10912
10913 lines
10914 \end_layout
10915
10916 \end_inset
10917 </cell>
10918 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10919 \begin_inset Text
10920
10921 \begin_layout Plain Layout
10922 b
10923 \end_layout
10924
10925 \end_inset
10926 </cell>
10927 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10928 \begin_inset Text
10929
10930 \begin_layout Plain Layout
10931 c
10932 \end_layout
10933
10934 \end_inset
10935 </cell>
10936 </row>
10937 <row>
10938 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10939 \begin_inset Text
10940
10941 \begin_layout Plain Layout
10942 d
10943 \end_layout
10944
10945 \end_inset
10946 </cell>
10947 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10948 \begin_inset Text
10949
10950 \begin_layout Plain Layout
10951 e
10952 \end_layout
10953
10954 \end_inset
10955 </cell>
10956 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10957 \begin_inset Text
10958
10959 \begin_layout Plain Layout
10960 f
10961 \end_layout
10962
10963 \end_inset
10964 </cell>
10965 </row>
10966 <row>
10967 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10968 \begin_inset Text
10969
10970 \begin_layout Plain Layout
10971 g
10972 \end_layout
10973
10974 \end_inset
10975 </cell>
10976 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10977 \begin_inset Text
10978
10979 \begin_layout Plain Layout
10980 h
10981 \end_layout
10982
10983 \end_inset
10984 </cell>
10985 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10986 \begin_inset Text
10987
10988 \begin_layout Plain Layout
10989 i
10990 \end_layout
10991
10992 \end_inset
10993 </cell>
10994 </row>
10995 </lyxtabular>
10996
10997 \end_inset
10998
10999
11000 \end_layout
11001
11002 \end_inset
11003
11004
11005 \end_layout
11006
11007 \begin_layout Standard
11008 Adjusting a fixed width for a column, enables to enter text as a paragraph
11009  with multiple lines and hyphenations.
11010 \end_layout
11011
11012 \begin_layout Standard
11013 To produce Table
11014 \begin_inset space ~
11015 \end_inset
11016
11017
11018 \begin_inset CommandInset ref
11019 LatexCommand ref
11020 reference "tab:Table-with-multiple"
11021
11022 \end_inset
11023
11024 , create a 3×3 table, mark the first cell and right-click on it.
11025  In the appearing table dialog we set a cell width of 2.5
11026 \begin_inset space \thinspace{}
11027 \end_inset
11028
11029 cm and choose centered for the vertical and horizontal alignment.
11030  The vertical alignment is used for all cells of the row.
11031  As our text is smaller than than 2.5
11032 \begin_inset space \thinspace{}
11033 \end_inset
11034
11035 cm, only one line will appear.
11036  To get two lines, a justified line break (shortcut 
11037 \begin_inset Info
11038 type  "shortcut"
11039 arg   "newline-insert linebreak"
11040 \end_inset
11041
11042 ) was added.
11043  If the text is wider than the set cell width, it will automatically be
11044  broken to several lines.
11045 \end_layout
11046
11047 \begin_layout Standard
11048 If you have a long word in a cell with a fixed width, it cannot be hyphenated
11049  by LaTeX if it is the first entry.
11050  Therefore you need to insert something, to make the word not being the
11051  first entry.
11052  So add a horizontal space of 0
11053 \begin_inset space \thinspace{}
11054 \end_inset
11055
11056 pt before the word.
11057  As the space is zero, it doesn't change the output.
11058  Table
11059 \begin_inset space ~
11060 \end_inset
11061
11062
11063 \begin_inset CommandInset ref
11064 LatexCommand ref
11065 reference "tab:Table-with-and"
11066
11067 \end_inset
11068
11069  shows the effect.
11070 \end_layout
11071
11072 \begin_layout Standard
11073 \begin_inset Float table
11074 placement h
11075 wide false
11076 sideways false
11077 status open
11078
11079 \begin_layout Plain Layout
11080 \begin_inset Caption
11081
11082 \begin_layout Plain Layout
11083 \begin_inset CommandInset label
11084 LatexCommand label
11085 name "tab:Table-with-and"
11086
11087 \end_inset
11088
11089 Table with and without hyphenation
11090 \end_layout
11091
11092 \end_inset
11093
11094
11095 \end_layout
11096
11097 \begin_layout Plain Layout
11098 \begin_inset space \hfill{}
11099 \end_inset
11100
11101
11102 \begin_inset Tabular
11103 <lyxtabular version="3" rows="3" columns="3">
11104 <features>
11105 <column alignment="center" valignment="middle" width="2.5cm">
11106 <column alignment="center" valignment="middle" width="0">
11107 <column alignment="center" valignment="middle" width="0">
11108 <row>
11109 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11110 \begin_inset Text
11111
11112 \begin_layout Plain Layout
11113 verylongtablecellword
11114 \end_layout
11115
11116 \end_inset
11117 </cell>
11118 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11119 \begin_inset Text
11120
11121 \begin_layout Plain Layout
11122 b
11123 \end_layout
11124
11125 \end_inset
11126 </cell>
11127 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11128 \begin_inset Text
11129
11130 \begin_layout Plain Layout
11131 c
11132 \end_layout
11133
11134 \end_inset
11135 </cell>
11136 </row>
11137 <row>
11138 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11139 \begin_inset Text
11140
11141 \begin_layout Plain Layout
11142 d
11143 \end_layout
11144
11145 \end_inset
11146 </cell>
11147 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11148 \begin_inset Text
11149
11150 \begin_layout Plain Layout
11151 e
11152 \end_layout
11153
11154 \end_inset
11155 </cell>
11156 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11157 \begin_inset Text
11158
11159 \begin_layout Plain Layout
11160 f
11161 \end_layout
11162
11163 \end_inset
11164 </cell>
11165 </row>
11166 <row>
11167 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11168 \begin_inset Text
11169
11170 \begin_layout Plain Layout
11171 g
11172 \end_layout
11173
11174 \end_inset
11175 </cell>
11176 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11177 \begin_inset Text
11178
11179 \begin_layout Plain Layout
11180 h
11181 \end_layout
11182
11183 \end_inset
11184 </cell>
11185 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11186 \begin_inset Text
11187
11188 \begin_layout Plain Layout
11189 i
11190 \end_layout
11191
11192 \end_inset
11193 </cell>
11194 </row>
11195 </lyxtabular>
11196
11197 \end_inset
11198
11199
11200 \begin_inset space \hfill{}
11201 \end_inset
11202
11203
11204 \begin_inset Tabular
11205 <lyxtabular version="3" rows="3" columns="3">
11206 <features>
11207 <column alignment="center" valignment="middle" width="2.5cm">
11208 <column alignment="center" valignment="middle" width="0">
11209 <column alignment="center" valignment="middle" width="0">
11210 <row>
11211 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11212 \begin_inset Text
11213
11214 \begin_layout Plain Layout
11215 \begin_inset space \hspace{}
11216 \length 0pt
11217 \end_inset
11218
11219 verylongtablecellword
11220 \end_layout
11221
11222 \end_inset
11223 </cell>
11224 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11225 \begin_inset Text
11226
11227 \begin_layout Plain Layout
11228 b
11229 \end_layout
11230
11231 \end_inset
11232 </cell>
11233 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11234 \begin_inset Text
11235
11236 \begin_layout Plain Layout
11237 c
11238 \end_layout
11239
11240 \end_inset
11241 </cell>
11242 </row>
11243 <row>
11244 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11245 \begin_inset Text
11246
11247 \begin_layout Plain Layout
11248 d
11249 \end_layout
11250
11251 \end_inset
11252 </cell>
11253 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11254 \begin_inset Text
11255
11256 \begin_layout Plain Layout
11257 e
11258 \end_layout
11259
11260 \end_inset
11261 </cell>
11262 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11263 \begin_inset Text
11264
11265 \begin_layout Plain Layout
11266 f
11267 \end_layout
11268
11269 \end_inset
11270 </cell>
11271 </row>
11272 <row>
11273 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11274 \begin_inset Text
11275
11276 \begin_layout Plain Layout
11277 g
11278 \end_layout
11279
11280 \end_inset
11281 </cell>
11282 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11283 \begin_inset Text
11284
11285 \begin_layout Plain Layout
11286 h
11287 \end_layout
11288
11289 \end_inset
11290 </cell>
11291 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11292 \begin_inset Text
11293
11294 \begin_layout Plain Layout
11295 i
11296 \end_layout
11297
11298 \end_inset
11299 </cell>
11300 </row>
11301 </lyxtabular>
11302
11303 \end_inset
11304
11305
11306 \begin_inset space \hfill{}
11307 \end_inset
11308
11309
11310 \end_layout
11311
11312 \end_inset
11313
11314
11315 \end_layout
11316
11317 \begin_layout Subsection
11318 Multicolumns
11319 \begin_inset CommandInset label
11320 LatexCommand label
11321 name "sub:Multicolumns"
11322
11323 \end_inset
11324
11325
11326 \begin_inset Index
11327 status collapsed
11328
11329 \begin_layout Plain Layout
11330 Multicolumns
11331 \end_layout
11332
11333 \end_inset
11334
11335
11336 \begin_inset Index
11337 status collapsed
11338
11339 \begin_layout Plain Layout
11340 Table ! Multicolumns
11341 \end_layout
11342
11343 \end_inset
11344
11345
11346 \end_layout
11347
11348 \begin_layout Subsubsection
11349 Multicolumn Basics
11350 \end_layout
11351
11352 \begin_layout Standard
11353 To span a cell over multiple columns, mark as much cells within a line that
11354  should be one spanned cell and use either the table-toolbar button 
11355 \begin_inset Graphics
11356         filename ../images/tabular-feature_multicolumn.png
11357         scale 85
11358         scaleBeforeRotation
11359
11360 \end_inset
11361
11362 , or the menu 
11363 \family sans
11364 Edit\SpecialChar \menuseparator
11365 Table\SpecialChar \menuseparator
11366 Multicolumn
11367 \family default
11368 , or right click on the marked cells and choose multicolumn in the appearing
11369  table dialog under the tab 
11370 \family sans
11371 Table Settings
11372 \family default
11373 .
11374 \end_layout
11375
11376 \begin_layout Standard
11377 Multicolumns have there own cell settings.
11378  That means changing cell borders, cell alignment, and the width only affects
11379  the multicolumn.
11380  Here is an example table with a multicolumn cell in the first row and one
11381  in the last row without the upper border:
11382 \end_layout
11383
11384 \begin_layout Standard
11385 \align center
11386 \begin_inset Tabular
11387 <lyxtabular version="3" rows="3" columns="4">
11388 <features firstHeadTopDL="true" firstHeadBottomDL="true">
11389 <column alignment="center" valignment="top" width="0pt">
11390 <column alignment="center" valignment="middle" width="0">
11391 <column alignment="center" valignment="top" width="0in">
11392 <column alignment="center" valignment="top" width="0pt">
11393 <row>
11394 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11395 \begin_inset Text
11396
11397 \begin_layout Plain Layout
11398 abc
11399 \end_layout
11400
11401 \end_inset
11402 </cell>
11403 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
11404 \begin_inset Text
11405
11406 \begin_layout Plain Layout
11407 def ghi
11408 \end_layout
11409
11410 \end_inset
11411 </cell>
11412 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11413 \begin_inset Text
11414
11415 \begin_layout Plain Layout
11416
11417 \end_layout
11418
11419 \end_inset
11420 </cell>
11421 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11422 \begin_inset Text
11423
11424 \begin_layout Plain Layout
11425 jkl
11426 \end_layout
11427
11428 \end_inset
11429 </cell>
11430 </row>
11431 <row>
11432 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11433 \begin_inset Text
11434
11435 \begin_layout Plain Layout
11436
11437 \family roman
11438 \series medium
11439 \shape up
11440 \size normal
11441 \emph off
11442 \bar no
11443 \noun off
11444 \color none
11445 A
11446 \end_layout
11447
11448 \end_inset
11449 </cell>
11450 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11451 \begin_inset Text
11452
11453 \begin_layout Plain Layout
11454 B
11455 \end_layout
11456
11457 \end_inset
11458 </cell>
11459 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11460 \begin_inset Text
11461
11462 \begin_layout Plain Layout
11463 C
11464 \end_layout
11465
11466 \end_inset
11467 </cell>
11468 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11469 \begin_inset Text
11470
11471 \begin_layout Plain Layout
11472 D
11473 \end_layout
11474
11475 \end_inset
11476 </cell>
11477 </row>
11478 <row>
11479 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11480 \begin_inset Text
11481
11482 \begin_layout Plain Layout
11483 1
11484 \end_layout
11485
11486 \end_inset
11487 </cell>
11488 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11489 \begin_inset Text
11490
11491 \begin_layout Plain Layout
11492 2
11493 \end_layout
11494
11495 \end_inset
11496 </cell>
11497 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11498 \begin_inset Text
11499
11500 \begin_layout Plain Layout
11501 3
11502 \end_layout
11503
11504 \end_inset
11505 </cell>
11506 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11507 \begin_inset Text
11508
11509 \begin_layout Plain Layout
11510 4
11511 \end_layout
11512
11513 \end_inset
11514 </cell>
11515 </row>
11516 </lyxtabular>
11517
11518 \end_inset
11519
11520
11521 \end_layout
11522
11523 \begin_layout Subsubsection
11524 Multicolumn Calculations
11525 \begin_inset CommandInset label
11526 LatexCommand label
11527 name "sub:Multicolumn-Calculations"
11528
11529 \end_inset
11530
11531
11532 \begin_inset Index
11533 status collapsed
11534
11535 \begin_layout Plain Layout
11536 Multicolumns ! Calculations
11537 \end_layout
11538
11539 \end_inset
11540
11541
11542 \end_layout
11543
11544 \begin_layout Standard
11545 LyX supports multicolumns directly, but we have to take notice of the cell
11546  width of the columns spanned by the multicolumn cell.
11547 \end_layout
11548
11549 \begin_layout Standard
11550 \begin_inset Float table
11551 placement h
11552 wide false
11553 sideways false
11554 status open
11555
11556 \begin_layout Plain Layout
11557 \begin_inset Caption
11558
11559 \begin_layout Plain Layout
11560 \begin_inset CommandInset label
11561 LatexCommand label
11562 name "tab:Table-with-centered"
11563
11564 \end_inset
11565
11566 Table with centered multicolumn text above two columns that have exactly
11567  half the width of the multicolumn cell
11568 \begin_inset OptArg
11569 status collapsed
11570
11571 \begin_layout Plain Layout
11572 Perfect multicolumn table
11573 \end_layout
11574
11575 \end_inset
11576
11577
11578 \end_layout
11579
11580 \end_inset
11581
11582
11583 \end_layout
11584
11585 \begin_layout Plain Layout
11586 \align center
11587 \begin_inset Tabular
11588 <lyxtabular version="3" rows="3" columns="3">
11589 <features>
11590 <column alignment="center" valignment="middle" width="0" special=">{\centering}m{1.25cm-6.2pt}">
11591 <column alignment="center" valignment="middle" width="0">
11592 <column alignment="center" valignment="top" width="0">
11593 <row>
11594 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
11595 \begin_inset Text
11596
11597 \begin_layout Plain Layout
11598 multiple lines multicolumn
11599 \end_layout
11600
11601 \end_inset
11602 </cell>
11603 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11604 \begin_inset Text
11605
11606 \begin_layout Plain Layout
11607
11608 \end_layout
11609
11610 \end_inset
11611 </cell>
11612 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11613 \begin_inset Text
11614
11615 \begin_layout Plain Layout
11616 c
11617 \end_layout
11618
11619 \end_inset
11620 </cell>
11621 </row>
11622 <row>
11623 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11624 \begin_inset Text
11625
11626 \begin_layout Plain Layout
11627 d
11628 \end_layout
11629
11630 \end_inset
11631 </cell>
11632 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11633 \begin_inset Text
11634
11635 \begin_layout Plain Layout
11636 e
11637 \end_layout
11638
11639 \end_inset
11640 </cell>
11641 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11642 \begin_inset Text
11643
11644 \begin_layout Plain Layout
11645 f
11646 \end_layout
11647
11648 \end_inset
11649 </cell>
11650 </row>
11651 <row>
11652 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11653 \begin_inset Text
11654
11655 \begin_layout Plain Layout
11656 g
11657 \end_layout
11658
11659 \end_inset
11660 </cell>
11661 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11662 \begin_inset Text
11663
11664 \begin_layout Plain Layout
11665 h
11666 \end_layout
11667
11668 \end_inset
11669 </cell>
11670 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11671 \begin_inset Text
11672
11673 \begin_layout Plain Layout
11674 i
11675 \end_layout
11676
11677 \end_inset
11678 </cell>
11679 </row>
11680 </lyxtabular>
11681
11682 \end_inset
11683
11684
11685 \end_layout
11686
11687 \end_inset
11688
11689
11690 \end_layout
11691
11692 \begin_layout Standard
11693 To create for example Table
11694 \begin_inset space ~
11695 \end_inset
11696
11697
11698 \begin_inset CommandInset ref
11699 LatexCommand ref
11700 reference "tab:Table-with-centered"
11701
11702 \end_inset
11703
11704 , mark the first two cells in the first row of a 3×3 table and right-click
11705  on them.
11706  Now choose for this cell 
11707 \emph on
11708 multicolumn
11709 \emph default
11710
11711 \emph on
11712 centered alignment
11713 \emph default
11714  and a width of 2.5
11715 \begin_inset space \thinspace{}
11716 \end_inset
11717
11718 cm in the table dialog.
11719  The spanned columns should have exactly half the width of the multicolumn
11720  cell, so that you would adjust a width of 1.25
11721 \begin_inset space \thinspace{}
11722 \end_inset
11723
11724 cm for the first column.
11725  The second column has then automatically a width of 1.25
11726 \begin_inset space \thinspace{}
11727 \end_inset
11728
11729 cm (multicolumn width - width of first column).
11730  This was done for Table
11731 \begin_inset space ~
11732 \end_inset
11733
11734
11735 \begin_inset CommandInset ref
11736 LatexCommand ref
11737 reference "tab:Table-without-half"
11738
11739 \end_inset
11740
11741 .
11742 \end_layout
11743
11744 \begin_layout Standard
11745 \begin_inset Float table
11746 wide false
11747 sideways false
11748 status open
11749
11750 \begin_layout Plain Layout
11751 \begin_inset Caption
11752
11753 \begin_layout Plain Layout
11754 \begin_inset CommandInset label
11755 LatexCommand label
11756 name "tab:Table-without-half"
11757
11758 \end_inset
11759
11760 Table where the spanned table columns have not exactly half the width of
11761  the multicolumn cell
11762 \begin_inset OptArg
11763 status collapsed
11764
11765 \begin_layout Plain Layout
11766 Imperfect multicolumn table
11767 \end_layout
11768
11769 \end_inset
11770
11771
11772 \end_layout
11773
11774 \end_inset
11775
11776
11777 \end_layout
11778
11779 \begin_layout Plain Layout
11780 \align center
11781 \begin_inset Tabular
11782 <lyxtabular version="3" rows="3" columns="3">
11783 <features>
11784 <column alignment="center" valignment="top" width="1.25cm">
11785 <column alignment="center" valignment="top" width="0">
11786 <column alignment="center" valignment="top" width="0">
11787 <row>
11788 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
11789 \begin_inset Text
11790
11791 \begin_layout Plain Layout
11792 multiple lines multicolumn
11793 \end_layout
11794
11795 \end_inset
11796 </cell>
11797 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11798 \begin_inset Text
11799
11800 \begin_layout Plain Layout
11801
11802 \end_layout
11803
11804 \end_inset
11805 </cell>
11806 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11807 \begin_inset Text
11808
11809 \begin_layout Plain Layout
11810 c
11811 \end_layout
11812
11813 \end_inset
11814 </cell>
11815 </row>
11816 <row>
11817 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11818 \begin_inset Text
11819
11820 \begin_layout Plain Layout
11821 d
11822 \end_layout
11823
11824 \end_inset
11825 </cell>
11826 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11827 \begin_inset Text
11828
11829 \begin_layout Plain Layout
11830 e
11831 \end_layout
11832
11833 \end_inset
11834 </cell>
11835 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11836 \begin_inset Text
11837
11838 \begin_layout Plain Layout
11839 f
11840 \end_layout
11841
11842 \end_inset
11843 </cell>
11844 </row>
11845 <row>
11846 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11847 \begin_inset Text
11848
11849 \begin_layout Plain Layout
11850 g
11851 \end_layout
11852
11853 \end_inset
11854 </cell>
11855 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11856 \begin_inset Text
11857
11858 \begin_layout Plain Layout
11859 h
11860 \end_layout
11861
11862 \end_inset
11863 </cell>
11864 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11865 \begin_inset Text
11866
11867 \begin_layout Plain Layout
11868 i
11869 \end_layout
11870
11871 \end_inset
11872 </cell>
11873 </row>
11874 </lyxtabular>
11875
11876 \end_inset
11877
11878
11879 \end_layout
11880
11881 \end_inset
11882
11883
11884 \end_layout
11885
11886 \begin_layout Standard
11887 You can see that the first column has not the half width of the multicolumn
11888  cell, it is a bit bigger.
11889  The reason is that the given width of a cell 
11890 \begin_inset Formula $W_{g}$
11891 \end_inset
11892
11893  is not its total width 
11894 \begin_inset Formula $W_{\mathrm{tot}}$
11895 \end_inset
11896
11897  because a cell is always a bit larger than its given width.
11898  Appendix
11899 \begin_inset space ~
11900 \end_inset
11901
11902
11903 \begin_inset CommandInset ref
11904 LatexCommand eqref
11905 reference "cha:Explanation-of-Equation"
11906
11907 \end_inset
11908
11909  explains it in detail.
11910 \end_layout
11911
11912 \begin_layout Standard
11913 The needed given width 
11914 \begin_inset Formula $W_{g\, n}$
11915 \end_inset
11916
11917  when 
11918 \emph on
11919 n
11920 \emph default
11921  columns are spanned can be calculated, so that each column has a total
11922  width of 
11923 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
11924 \end_inset
11925
11926 :
11927 \begin_inset Formula \begin{equation}
11928 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
11929
11930 \end_inset
11931
11932
11933 \end_layout
11934
11935 \begin_layout Standard
11936 In our case we have 
11937 \begin_inset Formula $n=2$
11938 \end_inset
11939
11940
11941 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
11942 \end_inset
11943
11944 cm and the default values for the lengths, so that equation 
11945 \begin_inset CommandInset ref
11946 LatexCommand ref
11947 reference "eq:Wgn"
11948
11949 \end_inset
11950
11951  becomes
11952 \begin_inset Formula \begin{equation}
11953 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
11954
11955 \end_inset
11956
11957
11958 \end_layout
11959
11960 \begin_layout Standard
11961 To enable calculations in LaTeX, the LaTeX-package 
11962 \series bold
11963 calc
11964 \series default
11965  must be loaded with the document preamble line
11966 \begin_inset Index
11967 status collapsed
11968
11969 \begin_layout Plain Layout
11970 LaTeX-packages ! calc
11971 \end_layout
11972
11973 \end_inset
11974
11975
11976 \end_layout
11977
11978 \begin_layout Standard
11979
11980 \series bold
11981
11982 \backslash
11983 usepackage{calc}
11984 \end_layout
11985
11986 \begin_layout Standard
11987 LyX does not allow to calculate lengths in the width-field of the table
11988  dialog.
11989  Therefore you have to format the column by inserting a LaTeX-argument in
11990  the dialog.
11991  Here is an overview about the arguments:
11992 \end_layout
11993
11994 \begin_layout Itemize
11995
11996 \series bold
11997 p{width}
11998 \series default
11999  creates cell with a fixed width, its text is vertically top-aligned
12000 \end_layout
12001
12002 \begin_layout Itemize
12003
12004 \series bold
12005 m{width}
12006 \series default
12007  creates cell with a fixed width, its text is vertically centered
12008 \end_layout
12009
12010 \begin_layout Itemize
12011
12012 \series bold
12013 b{width}
12014 \series default
12015  creates cell with a fixed width, its text is vertically bottom-aligned
12016 \end_layout
12017
12018 \begin_layout Standard
12019 By entering a LaTeX-argument, all cell settings set in the table dialog
12020  are overwritten.
12021 \end_layout
12022
12023 \begin_layout Standard
12024 \begin_inset Note Greyedout
12025 status open
12026
12027 \begin_layout Plain Layout
12028
12029 \series bold
12030 Note:
12031 \series default
12032  Due to a bug, LyX shows the overwritten settings anyway.
12033 \end_layout
12034
12035 \end_inset
12036
12037
12038 \end_layout
12039
12040 \begin_layout Standard
12041 As the text should be horizontally centered, the command 
12042 \series bold
12043
12044 \backslash
12045 centering
12046 \series default
12047  is added.
12048  You can now enter the following LaTeX-argument for the first spanned column:
12049 \end_layout
12050
12051 \begin_layout Standard
12052
12053 \series bold
12054 >{
12055 \backslash
12056 centering}m{1.25cm-6.2pt}
12057 \end_layout
12058
12059 \begin_layout Standard
12060 The command 
12061 \series bold
12062 >{ }
12063 \series default
12064  means, that the commands inside the braces are applied before the cell
12065  is created.
12066 \end_layout
12067
12068 \begin_layout Standard
12069 Although we have chosen centered alignment for the text of the multicolumn
12070  cell, it is still left aligned.
12071  This is because LyX only applies the alignment to single columns.
12072  So we have to use for the multicolumn the LaTeX-argument
12073 \end_layout
12074
12075 \begin_layout Standard
12076
12077 \series bold
12078 >{
12079 \backslash
12080 centering}m{2.5cm}
12081 \end_layout
12082
12083 \begin_layout Subsection
12084 Multirows
12085 \begin_inset Index
12086 status collapsed
12087
12088 \begin_layout Plain Layout
12089 Multirows
12090 \end_layout
12091
12092 \end_inset
12093
12094
12095 \begin_inset Index
12096 status collapsed
12097
12098 \begin_layout Plain Layout
12099 Table ! Multirows
12100 \end_layout
12101
12102 \end_inset
12103
12104
12105 \end_layout
12106
12107 \begin_layout Standard
12108 In contrary to multicolumns multirows are not yet supported by LyX so a
12109  bit of TeX-Code needs to be used.
12110  To use multirows load the LaTeX-package 
12111 \series bold
12112 multirow
12113 \series default
12114
12115 \begin_inset Index
12116 status collapsed
12117
12118 \begin_layout Plain Layout
12119 LaTeX-packages ! multirow
12120 \end_layout
12121
12122 \end_inset
12123
12124  in your document preamble with the command
12125 \end_layout
12126
12127 \begin_layout Standard
12128
12129 \series bold
12130
12131 \backslash
12132 usepackage{multirow}
12133 \end_layout
12134
12135 \begin_layout Standard
12136 Multirows are created with the command
12137 \end_layout
12138
12139 \begin_layout Standard
12140
12141 \series bold
12142
12143 \backslash
12144 multirow{number of rows}{cell width}{cell entry}
12145 \end_layout
12146
12147 \begin_layout Standard
12148 To create the following table:
12149 \end_layout
12150
12151 \begin_layout Standard
12152 \align center
12153 \begin_inset ERT
12154 status collapsed
12155
12156 \begin_layout Plain Layout
12157
12158
12159 \backslash
12160 renewcommand{
12161 \backslash
12162 multirowsetup}{
12163 \backslash
12164 centering}
12165 \end_layout
12166
12167 \end_inset
12168
12169
12170 \begin_inset Tabular
12171 <lyxtabular version="3" rows="3" columns="3">
12172 <features>
12173 <column alignment="center" valignment="top" width="0">
12174 <column alignment="center" valignment="top" width="0">
12175 <column alignment="center" valignment="top" width="0">
12176 <row>
12177 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12178 \begin_inset Text
12179
12180 \begin_layout Plain Layout
12181 a
12182 \end_layout
12183
12184 \end_inset
12185 </cell>
12186 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12187 \begin_inset Text
12188
12189 \begin_layout Plain Layout
12190 b
12191 \end_layout
12192
12193 \end_inset
12194 </cell>
12195 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12196 \begin_inset Text
12197
12198 \begin_layout Plain Layout
12199 c
12200 \end_layout
12201
12202 \end_inset
12203 </cell>
12204 </row>
12205 <row>
12206 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12207 \begin_inset Text
12208
12209 \begin_layout Plain Layout
12210 \begin_inset ERT
12211 status collapsed
12212
12213 \begin_layout Plain Layout
12214
12215
12216 \backslash
12217 multirow{2}{2.5cm}{
12218 \end_layout
12219
12220 \end_inset
12221
12222 multirow entry
12223 \begin_inset ERT
12224 status collapsed
12225
12226 \begin_layout Plain Layout
12227
12228 }
12229 \end_layout
12230
12231 \end_inset
12232
12233
12234 \end_layout
12235
12236 \end_inset
12237 </cell>
12238 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12239 \begin_inset Text
12240
12241 \begin_layout Plain Layout
12242 e
12243 \end_layout
12244
12245 \end_inset
12246 </cell>
12247 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12248 \begin_inset Text
12249
12250 \begin_layout Plain Layout
12251 f
12252 \end_layout
12253
12254 \end_inset
12255 </cell>
12256 </row>
12257 <row>
12258 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
12259 \begin_inset Text
12260
12261 \begin_layout Plain Layout
12262
12263 \end_layout
12264
12265 \end_inset
12266 </cell>
12267 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12268 \begin_inset Text
12269
12270 \begin_layout Plain Layout
12271 h
12272 \end_layout
12273
12274 \end_inset
12275 </cell>
12276 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12277 \begin_inset Text
12278
12279 \begin_layout Plain Layout
12280 i
12281 \end_layout
12282
12283 \end_inset
12284 </cell>
12285 </row>
12286 </lyxtabular>
12287
12288 \end_inset
12289
12290
12291 \begin_inset ERT
12292 status collapsed
12293
12294 \begin_layout Plain Layout
12295
12296
12297 \backslash
12298 renewcommand{
12299 \backslash
12300 multirowsetup}{
12301 \backslash
12302 raggedright}
12303 \end_layout
12304
12305 \end_inset
12306
12307
12308 \end_layout
12309
12310 \begin_layout Standard
12311 create a 3×3 table.
12312  To get rid of the line above the last cell in the first column, the cell
12313  is marked as multicolumn and the upper border is unset.
12314  The multirow is now created in the second row of the first column by inserting
12315  there the command
12316 \end_layout
12317
12318 \begin_layout Standard
12319
12320 \series bold
12321
12322 \backslash
12323 multirow{2}{2.5cm}{
12324 \end_layout
12325
12326 \begin_layout Standard
12327 as TeX-Code.
12328  According to the command parameters the multirow spans now two rows and
12329  has a width of 2.5
12330 \begin_inset space \thinspace{}
12331 \end_inset
12332
12333 cm.
12334  The content of the multirow cell follows outside the TeX-Code box and the
12335  command is finished with a right brace 
12336 \series bold
12337 }
12338 \series default
12339  in another TeX-Code-box behind the text.
12340 \end_layout
12341
12342 \begin_layout Standard
12343
12344 \series bold
12345
12346 \backslash
12347 multirow
12348 \series default
12349  left-aligns its content by default.
12350  To override the default, renew the command 
12351 \series bold
12352
12353 \backslash
12354 multirowsetup
12355 \series default
12356  with the command
12357 \end_layout
12358
12359 \begin_layout Standard
12360
12361 \series bold
12362
12363 \backslash
12364 renewcommand{
12365 \backslash
12366 multirowsetup}{
12367 \backslash
12368 centering}
12369 \end_layout
12370
12371 \begin_layout Standard
12372 in TeX-Code in the document preamble.
12373  Then all entries of multirow cells in the document are centered.
12374  If centering is only needed for several tables, you can renew the command
12375  in an TeX-Code box just before the table instead of the preamble.
12376  If the text should be right-aligned, replace 
12377 \series bold
12378
12379 \backslash
12380 centering
12381 \series default
12382  by 
12383 \series bold
12384
12385 \backslash
12386 raggedleft
12387 \series default
12388 .
12389  To return to left-alignment 
12390 \series bold
12391
12392 \backslash
12393 raggedright
12394 \series default
12395  is used.
12396 \end_layout
12397
12398 \begin_layout Section
12399 Formal Tables
12400 \begin_inset CommandInset label
12401 LatexCommand label
12402 name "sec:Formal-Tables"
12403
12404 \end_inset
12405
12406
12407 \begin_inset Index
12408 status collapsed
12409
12410 \begin_layout Plain Layout
12411 Table ! Formal
12412 \end_layout
12413
12414 \end_inset
12415
12416
12417 \end_layout
12418
12419 \begin_layout Standard
12420 Tables are often typeset in books similar to Table
12421 \begin_inset space ~
12422 \end_inset
12423
12424
12425 \begin_inset CommandInset ref
12426 LatexCommand ref
12427 reference "tab:Example-booktabs-table"
12428
12429 \end_inset
12430
12431 .
12432  This kind of tables is called 
12433 \begin_inset Quotes eld
12434 \end_inset
12435
12436
12437 \emph on
12438 formal
12439 \emph default
12440
12441 \begin_inset Quotes erd
12442 \end_inset
12443
12444 .
12445  To make a table a formal table use the option 
12446 \family sans
12447 Formal
12448 \family default
12449  in the 
12450 \family sans
12451 Borders
12452 \family default
12453  tab of the table dialog.
12454 \end_layout
12455
12456 \begin_layout Standard
12457 \begin_inset Float table
12458 placement h
12459 wide false
12460 sideways false
12461 status open
12462
12463 \begin_layout Plain Layout
12464 \begin_inset Caption
12465
12466 \begin_layout Plain Layout
12467 \begin_inset CommandInset label
12468 LatexCommand label
12469 name "tab:Example-booktabs-table"
12470
12471 \end_inset
12472
12473 Example booktabs-table
12474 \end_layout
12475
12476 \end_inset
12477
12478
12479 \end_layout
12480
12481 \begin_layout Plain Layout
12482 \align center
12483 \begin_inset Tabular
12484 <lyxtabular version="3" rows="8" columns="4">
12485 <features booktabs="true">
12486 <column alignment="center" valignment="top" width="0">
12487 <column alignment="center" valignment="top" width="0">
12488 <column alignment="center" valignment="top" width="0">
12489 <column alignment="center" valignment="top" width="0">
12490 <row>
12491 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
12492 \begin_inset Text
12493
12494 \begin_layout Plain Layout
12495 System
12496 \end_layout
12497
12498 \end_inset
12499 </cell>
12500 <cell alignment="center" valignment="top" topline="true" usebox="none">
12501 \begin_inset Text
12502
12503 \begin_layout Plain Layout
12504 Medipix
12505 \begin_inset space \thinspace{}
12506 \end_inset
12507
12508 1
12509 \end_layout
12510
12511 \end_inset
12512 </cell>
12513 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
12514 \begin_inset Text
12515
12516 \begin_layout Plain Layout
12517 Medipix
12518 \begin_inset space \thinspace{}
12519 \end_inset
12520
12521 2
12522 \end_layout
12523
12524 \end_inset
12525 </cell>
12526 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12527 \begin_inset Text
12528
12529 \begin_layout Plain Layout
12530
12531 \end_layout
12532
12533 \end_inset
12534 </cell>
12535 </row>
12536 <row>
12537 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12538 \begin_inset Text
12539
12540 \begin_layout Plain Layout
12541 \begin_inset ERT
12542 status collapsed
12543
12544 \begin_layout Plain Layout
12545
12546
12547 \backslash
12548 cmidrule(r){2-2}
12549 \end_layout
12550
12551 \end_inset
12552
12553
12554 \begin_inset ERT
12555 status collapsed
12556
12557 \begin_layout Plain Layout
12558
12559
12560 \backslash
12561 cmidrule(l){3-4}
12562 \end_layout
12563
12564 \end_inset
12565
12566 Detector thickness [µm]
12567 \end_layout
12568
12569 \end_inset
12570 </cell>
12571 <cell alignment="center" valignment="top" usebox="none">
12572 \begin_inset Text
12573
12574 \begin_layout Plain Layout
12575 300
12576 \end_layout
12577
12578 \end_inset
12579 </cell>
12580 <cell alignment="center" valignment="top" usebox="none">
12581 \begin_inset Text
12582
12583 \begin_layout Plain Layout
12584 300
12585 \end_layout
12586
12587 \end_inset
12588 </cell>
12589 <cell alignment="center" valignment="top" usebox="none">
12590 \begin_inset Text
12591
12592 \begin_layout Plain Layout
12593 700
12594 \end_layout
12595
12596 \end_inset
12597 </cell>
12598 </row>
12599 <row>
12600 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
12601 \begin_inset Text
12602
12603 \begin_layout Plain Layout
12604 Edge angle [°]
12605 \end_layout
12606
12607 \end_inset
12608 </cell>
12609 <cell alignment="center" valignment="top" topline="true" usebox="none">
12610 \begin_inset Text
12611
12612 \begin_layout Plain Layout
12613 3.55
12614 \end_layout
12615
12616 \end_inset
12617 </cell>
12618 <cell alignment="center" valignment="top" topline="true" usebox="none">
12619 \begin_inset Text
12620
12621 \begin_layout Plain Layout
12622 2.71
12623 \end_layout
12624
12625 \end_inset
12626 </cell>
12627 <cell alignment="center" valignment="top" topline="true" usebox="none">
12628 \begin_inset Text
12629
12630 \begin_layout Plain Layout
12631 7.99
12632 \end_layout
12633
12634 \end_inset
12635 </cell>
12636 </row>
12637 <row topspace="default">
12638 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12639 \begin_inset Text
12640
12641 \begin_layout Plain Layout
12642 Spatial resolution [µm]
12643 \end_layout
12644
12645 \end_inset
12646 </cell>
12647 <cell alignment="center" valignment="top" usebox="none">
12648 \begin_inset Text
12649
12650 \begin_layout Plain Layout
12651 4.26
12652 \end_layout
12653
12654 \end_inset
12655 </cell>
12656 <cell alignment="center" valignment="top" usebox="none">
12657 \begin_inset Text
12658
12659 \begin_layout Plain Layout
12660 10.17
12661 \end_layout
12662
12663 \end_inset
12664 </cell>
12665 <cell alignment="center" valignment="top" usebox="none">
12666 \begin_inset Text
12667
12668 \begin_layout Plain Layout
12669 10.56
12670 \end_layout
12671
12672 \end_inset
12673 </cell>
12674 </row>
12675 <row topspace="default">
12676 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12677 \begin_inset Text
12678
12679 \begin_layout Plain Layout
12680 MTF at 
12681 \begin_inset Formula $f_{\mathrm{max}}$
12682 \end_inset
12683
12684
12685 \end_layout
12686
12687 \end_inset
12688 </cell>
12689 <cell alignment="center" valignment="top" usebox="none">
12690 \begin_inset Text
12691
12692 \begin_layout Plain Layout
12693 0.53
12694 \end_layout
12695
12696 \end_inset
12697 </cell>
12698 <cell alignment="center" valignment="top" usebox="none">
12699 \begin_inset Text
12700
12701 \begin_layout Plain Layout
12702 0.37
12703 \end_layout
12704
12705 \end_inset
12706 </cell>
12707 <cell alignment="center" valignment="top" usebox="none">
12708 \begin_inset Text
12709
12710 \begin_layout Plain Layout
12711 0.39
12712 \end_layout
12713
12714 \end_inset
12715 </cell>
12716 </row>
12717 <row topspace="default">
12718 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12719 \begin_inset Text
12720
12721 \begin_layout Plain Layout
12722 \begin_inset ERT
12723 status collapsed
12724
12725 \begin_layout Plain Layout
12726
12727
12728 \backslash
12729 cmidrule(l{10pt}){1-1}
12730 \end_layout
12731
12732 \end_inset
12733
12734 LSF-spatial resolution
12735 \end_layout
12736
12737 \end_inset
12738 </cell>
12739 <cell alignment="center" valignment="top" usebox="none">
12740 \begin_inset Text
12741
12742 \begin_layout Plain Layout
12743
12744 \end_layout
12745
12746 \end_inset
12747 </cell>
12748 <cell alignment="center" valignment="top" usebox="none">
12749 \begin_inset Text
12750
12751 \begin_layout Plain Layout
12752
12753 \end_layout
12754
12755 \end_inset
12756 </cell>
12757 <cell alignment="center" valignment="top" usebox="none">
12758 \begin_inset Text
12759
12760 \begin_layout Plain Layout
12761
12762 \end_layout
12763
12764 \end_inset
12765 </cell>
12766 </row>
12767 <row>
12768 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12769 \begin_inset Text
12770
12771 \begin_layout Plain Layout
12772 in Âµm
12773 \end_layout
12774
12775 \end_inset
12776 </cell>
12777 <cell alignment="center" valignment="top" usebox="none">
12778 \begin_inset Text
12779
12780 \begin_layout Plain Layout
12781 129.7
12782 \end_layout
12783
12784 \end_inset
12785 </cell>
12786 <cell alignment="center" valignment="top" usebox="none">
12787 \begin_inset Text
12788
12789 \begin_layout Plain Layout
12790 52.75
12791 \end_layout
12792
12793 \end_inset
12794 </cell>
12795 <cell alignment="center" valignment="top" usebox="none">
12796 \begin_inset Text
12797
12798 \begin_layout Plain Layout
12799 50.78
12800 \end_layout
12801
12802 \end_inset
12803 </cell>
12804 </row>
12805 <row>
12806 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
12807 \begin_inset Text
12808
12809 \begin_layout Plain Layout
12810 in % of pixel size
12811 \end_layout
12812
12813 \end_inset
12814 </cell>
12815 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12816 \begin_inset Text
12817
12818 \begin_layout Plain Layout
12819 76.3
12820 \end_layout
12821
12822 \end_inset
12823 </cell>
12824 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12825 \begin_inset Text
12826
12827 \begin_layout Plain Layout
12828 95.9
12829 \end_layout
12830
12831 \end_inset
12832 </cell>
12833 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12834 \begin_inset Text
12835
12836 \begin_layout Plain Layout
12837 92.3
12838 \end_layout
12839
12840 \end_inset
12841 </cell>
12842 </row>
12843 </lyxtabular>
12844
12845 \end_inset
12846
12847
12848 \end_layout
12849
12850 \end_inset
12851
12852
12853 \end_layout
12854
12855 \begin_layout Standard
12856 Spaces to table rows can be added using the 
12857 \family sans
12858 Borders
12859 \family default
12860  tab of the table dialog as described in section
12861 \begin_inset space ~
12862 \end_inset
12863
12864
12865 \begin_inset CommandInset ref
12866 LatexCommand ref
12867 reference "sub:Row-Spacing"
12868
12869 \end_inset
12870
12871 .
12872 \end_layout
12873
12874 \begin_layout Standard
12875 In contrary to normal tables, formal tables have no vertical table lines.
12876  The horizontal table lines can be set like for normal tables but they appear
12877  with different width in the output:
12878 \begin_inset Newline newline
12879 \end_inset
12880
12881 The first and the last table line have a default width of 0.08
12882 \begin_inset space \thinspace{}
12883 \end_inset
12884
12885 em while the other lines have a default width of 0.05
12886 \begin_inset space \thinspace{}
12887 \end_inset
12888
12889 em.
12890 \end_layout
12891
12892 \begin_layout Standard
12893 The default widths can be changed with the following preamble lines
12894 \end_layout
12895
12896 \begin_layout Standard
12897
12898 \series bold
12899
12900 \backslash
12901 let
12902 \backslash
12903 mytoprule
12904 \backslash
12905 toprule
12906 \begin_inset Newline newline
12907 \end_inset
12908
12909
12910 \backslash
12911 renewcommand{
12912 \backslash
12913 toprule}{
12914 \backslash
12915 mytoprule[width]}
12916 \end_layout
12917
12918 \begin_layout Standard
12919 This example is for the first line, the so called 
12920 \series bold
12921 toprule
12922 \series default
12923 .
12924  If you want to change the width for the last line, replace 
12925 \series bold
12926 toprule
12927 \series default
12928  by 
12929 \series bold
12930 bottomrule
12931 \series default
12932 .
12933  To change the width for the other lines replace 
12934 \series bold
12935 toprule
12936 \series default
12937  by 
12938 \series bold
12939 midrule
12940 \series default
12941 .
12942  You can use all units listed in appendix
12943 \begin_inset space ~
12944 \end_inset
12945
12946
12947 \begin_inset CommandInset ref
12948 LatexCommand ref
12949 reference "cha:Units-available-in"
12950
12951 \end_inset
12952
12953  to set the width.
12954 \end_layout
12955
12956 \begin_layout Standard
12957 Lines that don't span over all table columns can be created by setting a
12958  table line for multicolumn cells.
12959  LyX will then internally use the command 
12960 \series bold
12961
12962 \backslash
12963 cmidrule
12964 \series default
12965  to create this line.
12966  Its full scheme is
12967 \end_layout
12968
12969 \begin_layout Standard
12970
12971 \series bold
12972
12973 \backslash
12974 cmidrule[width](trim){startcol-endcol}
12975 \end_layout
12976
12977 \begin_layout Standard
12978 The options of 
12979 \series bold
12980
12981 \backslash
12982 cmidrule
12983 \series default
12984  are are currently not supported by LyX so you have to use TeX-Code to be
12985  able to use them.
12986  
12987 \series bold
12988
12989 \backslash
12990 cmidrule
12991 \series default
12992 s can manually be created by inserting the command as TeX-Code as first
12993  cell entry of the first cell of a row.
12994  The line is then drawn in the output above the current row.
12995 \end_layout
12996
12997 \begin_layout Standard
12998 The default for the width is 0.03
12999 \begin_inset space \thinspace{}
13000 \end_inset
13001
13002 em.
13003  Startcol is the number of the column where the line starts and endcol the
13004  column number where the line ends.
13005  The endcol always needs to be specified, also when the line should span
13006  only one column.
13007  The optional parameter trim could be either 
13008 \emph on
13009 l{trimwidth}
13010 \emph default
13011 , or 
13012 \emph on
13013 r{trimwidth}
13014 \emph default
13015  where the trimwidth is also optional.
13016  Using for example the parameter 
13017 \emph on
13018 l{2pt}
13019 \emph default
13020  means that the line is trimmed from its left end by 2
13021 \begin_inset space \thinspace{}
13022 \end_inset
13023
13024 pt.
13025  If you don't specify the trimwidth the lines are trimmed by the default
13026  of 0.5
13027 \begin_inset space \thinspace{}
13028 \end_inset
13029
13030 em.
13031 \end_layout
13032
13033 \begin_layout Standard
13034 \begin_inset VSpace bigskip
13035 \end_inset
13036
13037 Table
13038 \begin_inset space ~
13039 \end_inset
13040
13041
13042 \begin_inset CommandInset ref
13043 LatexCommand ref
13044 reference "tab:Example-booktabs-table"
13045
13046 \end_inset
13047
13048  was created using the commands
13049 \end_layout
13050
13051 \begin_layout Standard
13052
13053 \series bold
13054
13055 \backslash
13056 cmidrule(r){2-2}
13057 \backslash
13058 cmidrule(l){3-4}
13059 \end_layout
13060
13061 \begin_layout Standard
13062 at the beginning of the in the second row and
13063 \end_layout
13064
13065 \begin_layout Standard
13066
13067 \series bold
13068
13069 \backslash
13070 cmidrule(l{10pt}){1-1}
13071 \end_layout
13072
13073 \begin_layout Standard
13074 in the sixth row.
13075 \end_layout
13076
13077 \begin_layout Standard
13078 \begin_inset VSpace bigskip
13079 \end_inset
13080
13081
13082 \end_layout
13083
13084 \begin_layout Standard
13085 You might want to have overlapping 
13086 \series bold
13087
13088 \backslash
13089 cmidrule
13090 \series default
13091 s like in Table
13092 \begin_inset space ~
13093 \end_inset
13094
13095
13096 \begin_inset CommandInset ref
13097 LatexCommand ref
13098 reference "tab:Special-booktabs-table"
13099
13100 \end_inset
13101
13102 .
13103  This can be achieved with the TeX-Code command
13104 \end_layout
13105
13106 \begin_layout Standard
13107
13108 \series bold
13109
13110 \backslash
13111 morecmidrules
13112 \end_layout
13113
13114 \begin_layout Standard
13115 The command that was used for the second row of Table
13116 \begin_inset space ~
13117 \end_inset
13118
13119
13120 \begin_inset CommandInset ref
13121 LatexCommand ref
13122 reference "tab:Special-booktabs-table"
13123
13124 \end_inset
13125
13126  is
13127 \end_layout
13128
13129 \begin_layout Standard
13130
13131 \series bold
13132
13133 \backslash
13134 cmidrule(r){2-2}
13135 \backslash
13136 cmidrule(l){3-4}
13137 \backslash
13138 morecmidrules
13139 \backslash
13140 cmidrule{2-4}
13141 \end_layout
13142
13143 \begin_layout Standard
13144 The command for the sixth row is
13145 \end_layout
13146
13147 \begin_layout Standard
13148
13149 \series bold
13150
13151 \backslash
13152 midrule
13153 \backslash
13154 morecmidrules
13155 \backslash
13156 cmidrule{3-4}
13157 \end_layout
13158
13159 \begin_layout Standard
13160 \begin_inset VSpace bigskip
13161 \end_inset
13162
13163
13164 \end_layout
13165
13166 \begin_layout Standard
13167 If you are anyway not satisfied with the border line spacing, you can use
13168  the following command to produce lines that span over all table columns
13169 \series bold
13170 :
13171 \end_layout
13172
13173 \begin_layout Standard
13174
13175 \series bold
13176
13177 \backslash
13178 specialrule{width}{space above}{space below}
13179 \end_layout
13180
13181 \begin_layout Standard
13182 For more information about these specialties, we refer to the manual of
13183  the LaTeX-package 
13184 \series bold
13185 booktabs
13186 \series default
13187  
13188 \begin_inset CommandInset citation
13189 LatexCommand cite
13190 key "booktabs"
13191
13192 \end_inset
13193
13194 .
13195 \begin_inset Index
13196 status collapsed
13197
13198 \begin_layout Plain Layout
13199 LaTeX-packages ! booktabs
13200 \end_layout
13201
13202 \end_inset
13203
13204
13205 \end_layout
13206
13207 \begin_layout Standard
13208 \begin_inset Float table
13209 placement h
13210 wide false
13211 sideways false
13212 status open
13213
13214 \begin_layout Plain Layout
13215 \begin_inset Caption
13216
13217 \begin_layout Plain Layout
13218 \begin_inset CommandInset label
13219 LatexCommand label
13220 name "tab:Special-booktabs-table"
13221
13222 \end_inset
13223
13224 Special booktabs-table
13225 \end_layout
13226
13227 \end_inset
13228
13229
13230 \end_layout
13231
13232 \begin_layout Plain Layout
13233 \align center
13234 \begin_inset Tabular
13235 <lyxtabular version="3" rows="8" columns="4">
13236 <features booktabs="true">
13237 <column alignment="center" valignment="top" width="0">
13238 <column alignment="center" valignment="top" width="0">
13239 <column alignment="center" valignment="top" width="0">
13240 <column alignment="center" valignment="top" width="0">
13241 <row>
13242 <cell alignment="center" valignment="top" topline="true" usebox="none">
13243 \begin_inset Text
13244
13245 \begin_layout Plain Layout
13246 System
13247 \end_layout
13248
13249 \end_inset
13250 </cell>
13251 <cell alignment="center" valignment="top" topline="true" usebox="none">
13252 \begin_inset Text
13253
13254 \begin_layout Plain Layout
13255 Medipix
13256 \begin_inset space \thinspace{}
13257 \end_inset
13258
13259 1
13260 \end_layout
13261
13262 \end_inset
13263 </cell>
13264 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
13265 \begin_inset Text
13266
13267 \begin_layout Plain Layout
13268 Medipix
13269 \begin_inset space \thinspace{}
13270 \end_inset
13271
13272 2
13273 \end_layout
13274
13275 \end_inset
13276 </cell>
13277 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13278 \begin_inset Text
13279
13280 \begin_layout Plain Layout
13281
13282 \end_layout
13283
13284 \end_inset
13285 </cell>
13286 </row>
13287 <row>
13288 <cell alignment="center" valignment="top" usebox="none">
13289 \begin_inset Text
13290
13291 \begin_layout Plain Layout
13292 \begin_inset ERT
13293 status collapsed
13294
13295 \begin_layout Plain Layout
13296
13297
13298 \backslash
13299 cmidrule(r){2-2}
13300 \end_layout
13301
13302 \end_inset
13303
13304
13305 \begin_inset ERT
13306 status collapsed
13307
13308 \begin_layout Plain Layout
13309
13310
13311 \backslash
13312 cmidrule(l){3-4}
13313 \end_layout
13314
13315 \end_inset
13316
13317
13318 \begin_inset ERT
13319 status collapsed
13320
13321 \begin_layout Plain Layout
13322
13323
13324 \backslash
13325 morecmidrules 
13326 \end_layout
13327
13328 \end_inset
13329
13330
13331 \begin_inset ERT
13332 status collapsed
13333
13334 \begin_layout Plain Layout
13335
13336
13337 \backslash
13338 cmidrule{2-4}
13339 \end_layout
13340
13341 \end_inset
13342
13343 Detector thickness [µm]
13344 \end_layout
13345
13346 \end_inset
13347 </cell>
13348 <cell alignment="center" valignment="top" usebox="none">
13349 \begin_inset Text
13350
13351 \begin_layout Plain Layout
13352 300
13353 \end_layout
13354
13355 \end_inset
13356 </cell>
13357 <cell alignment="center" valignment="top" usebox="none">
13358 \begin_inset Text
13359
13360 \begin_layout Plain Layout
13361 300
13362 \end_layout
13363
13364 \end_inset
13365 </cell>
13366 <cell alignment="center" valignment="top" usebox="none">
13367 \begin_inset Text
13368
13369 \begin_layout Plain Layout
13370 700
13371 \end_layout
13372
13373 \end_inset
13374 </cell>
13375 </row>
13376 <row>
13377 <cell alignment="center" valignment="top" topline="true" usebox="none">
13378 \begin_inset Text
13379
13380 \begin_layout Plain Layout
13381 Edge angle [°]
13382 \end_layout
13383
13384 \end_inset
13385 </cell>
13386 <cell alignment="center" valignment="top" topline="true" usebox="none">
13387 \begin_inset Text
13388
13389 \begin_layout Plain Layout
13390 3.55
13391 \end_layout
13392
13393 \end_inset
13394 </cell>
13395 <cell alignment="center" valignment="top" topline="true" usebox="none">
13396 \begin_inset Text
13397
13398 \begin_layout Plain Layout
13399 2.71
13400 \end_layout
13401
13402 \end_inset
13403 </cell>
13404 <cell alignment="center" valignment="top" topline="true" usebox="none">
13405 \begin_inset Text
13406
13407 \begin_layout Plain Layout
13408 7.99
13409 \end_layout
13410
13411 \end_inset
13412 </cell>
13413 </row>
13414 <row topspace="default">
13415 <cell alignment="center" valignment="top" usebox="none">
13416 \begin_inset Text
13417
13418 \begin_layout Plain Layout
13419 Spatial resolution [µm]
13420 \end_layout
13421
13422 \end_inset
13423 </cell>
13424 <cell alignment="center" valignment="top" usebox="none">
13425 \begin_inset Text
13426
13427 \begin_layout Plain Layout
13428 4.26
13429 \end_layout
13430
13431 \end_inset
13432 </cell>
13433 <cell alignment="center" valignment="top" usebox="none">
13434 \begin_inset Text
13435
13436 \begin_layout Plain Layout
13437 10.17
13438 \end_layout
13439
13440 \end_inset
13441 </cell>
13442 <cell alignment="center" valignment="top" usebox="none">
13443 \begin_inset Text
13444
13445 \begin_layout Plain Layout
13446 10.56
13447 \end_layout
13448
13449 \end_inset
13450 </cell>
13451 </row>
13452 <row topspace="default">
13453 <cell alignment="center" valignment="top" usebox="none">
13454 \begin_inset Text
13455
13456 \begin_layout Plain Layout
13457 MTF at 
13458 \begin_inset Formula $f_{\mathrm{max}}$
13459 \end_inset
13460
13461
13462 \end_layout
13463
13464 \end_inset
13465 </cell>
13466 <cell alignment="center" valignment="top" usebox="none">
13467 \begin_inset Text
13468
13469 \begin_layout Plain Layout
13470 0.53
13471 \end_layout
13472
13473 \end_inset
13474 </cell>
13475 <cell alignment="center" valignment="top" usebox="none">
13476 \begin_inset Text
13477
13478 \begin_layout Plain Layout
13479 0.37
13480 \end_layout
13481
13482 \end_inset
13483 </cell>
13484 <cell alignment="center" valignment="top" usebox="none">
13485 \begin_inset Text
13486
13487 \begin_layout Plain Layout
13488 0.39
13489 \end_layout
13490
13491 \end_inset
13492 </cell>
13493 </row>
13494 <row>
13495 <cell alignment="center" valignment="top" topline="true" usebox="none">
13496 \begin_inset Text
13497
13498 \begin_layout Plain Layout
13499 \begin_inset ERT
13500 status collapsed
13501
13502 \begin_layout Plain Layout
13503
13504
13505 \backslash
13506 morecmidrules 
13507 \end_layout
13508
13509 \end_inset
13510
13511
13512 \begin_inset ERT
13513 status collapsed
13514
13515 \begin_layout Plain Layout
13516
13517
13518 \backslash
13519 cmidrule{3-4}
13520 \end_layout
13521
13522 \end_inset
13523
13524 LSF-spatial resolution
13525 \end_layout
13526
13527 \end_inset
13528 </cell>
13529 <cell alignment="center" valignment="top" topline="true" usebox="none">
13530 \begin_inset Text
13531
13532 \begin_layout Plain Layout
13533
13534 \end_layout
13535
13536 \end_inset
13537 </cell>
13538 <cell alignment="center" valignment="top" topline="true" usebox="none">
13539 \begin_inset Text
13540
13541 \begin_layout Plain Layout
13542
13543 \end_layout
13544
13545 \end_inset
13546 </cell>
13547 <cell alignment="center" valignment="top" topline="true" usebox="none">
13548 \begin_inset Text
13549
13550 \begin_layout Plain Layout
13551
13552 \end_layout
13553
13554 \end_inset
13555 </cell>
13556 </row>
13557 <row>
13558 <cell alignment="center" valignment="top" usebox="none">
13559 \begin_inset Text
13560
13561 \begin_layout Plain Layout
13562 in Âµm
13563 \end_layout
13564
13565 \end_inset
13566 </cell>
13567 <cell alignment="center" valignment="top" usebox="none">
13568 \begin_inset Text
13569
13570 \begin_layout Plain Layout
13571 129.7
13572 \end_layout
13573
13574 \end_inset
13575 </cell>
13576 <cell alignment="center" valignment="top" usebox="none">
13577 \begin_inset Text
13578
13579 \begin_layout Plain Layout
13580 52.75
13581 \end_layout
13582
13583 \end_inset
13584 </cell>
13585 <cell alignment="center" valignment="top" usebox="none">
13586 \begin_inset Text
13587
13588 \begin_layout Plain Layout
13589 50.78
13590 \end_layout
13591
13592 \end_inset
13593 </cell>
13594 </row>
13595 <row>
13596 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13597 \begin_inset Text
13598
13599 \begin_layout Plain Layout
13600 in % of pixel size
13601 \end_layout
13602
13603 \end_inset
13604 </cell>
13605 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13606 \begin_inset Text
13607
13608 \begin_layout Plain Layout
13609 76.3
13610 \end_layout
13611
13612 \end_inset
13613 </cell>
13614 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13615 \begin_inset Text
13616
13617 \begin_layout Plain Layout
13618 95.9
13619 \end_layout
13620
13621 \end_inset
13622 </cell>
13623 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13624 \begin_inset Text
13625
13626 \begin_layout Plain Layout
13627 92.3
13628 \end_layout
13629
13630 \end_inset
13631 </cell>
13632 </row>
13633 </lyxtabular>
13634
13635 \end_inset
13636
13637
13638 \end_layout
13639
13640 \end_inset
13641
13642
13643 \end_layout
13644
13645 \begin_layout Section
13646 Vertical Table Alignment
13647 \begin_inset Index
13648 status collapsed
13649
13650 \begin_layout Plain Layout
13651 Table ! Alignment
13652 \end_layout
13653
13654 \end_inset
13655
13656
13657 \end_layout
13658
13659 \begin_layout Standard
13660 To align tables vertically in a text line the table must be inside a box.
13661  The box can then be vertically aligned as described in section
13662 \begin_inset space ~
13663 \end_inset
13664
13665
13666 \begin_inset CommandInset ref
13667 LatexCommand ref
13668 reference "sec:Box-Dialog"
13669
13670 \end_inset
13671
13672 .
13673 \end_layout
13674
13675 \begin_layout Standard
13676 In the following example the tables are inside a minipage
13677 \begin_inset Foot
13678 status collapsed
13679
13680 \begin_layout Plain Layout
13681 Minipages are described in section
13682 \begin_inset space ~
13683 \end_inset
13684
13685
13686 \begin_inset CommandInset ref
13687 LatexCommand ref
13688 reference "sec:Minipages"
13689
13690 \end_inset
13691
13692 .
13693 \end_layout
13694
13695 \end_inset
13696
13697  box that has a width of 15
13698 \begin_inset space \thinspace{}
13699 \end_inset
13700
13701 col%:
13702 \end_layout
13703
13704 \begin_layout Itemize
13705 test 
13706 \begin_inset Box Frameless
13707 position "t"
13708 hor_pos "c"
13709 has_inner_box 1
13710 inner_pos "c"
13711 use_parbox 0
13712 width "15col%"
13713 special "none"
13714 height "1in"
13715 height_special "totalheight"
13716 status collapsed
13717
13718 \begin_layout Plain Layout
13719 \begin_inset Tabular
13720 <lyxtabular version="3" rows="3" columns="3">
13721 <features>
13722 <column alignment="center" valignment="top" width="0">
13723 <column alignment="center" valignment="top" width="0">
13724 <column alignment="center" valignment="top" width="0">
13725 <row>
13726 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13727 \begin_inset Text
13728
13729 \begin_layout Plain Layout
13730 a
13731 \end_layout
13732
13733 \end_inset
13734 </cell>
13735 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13736 \begin_inset Text
13737
13738 \begin_layout Plain Layout
13739 d
13740 \end_layout
13741
13742 \end_inset
13743 </cell>
13744 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13745 \begin_inset Text
13746
13747 \begin_layout Plain Layout
13748 g
13749 \end_layout
13750
13751 \end_inset
13752 </cell>
13753 </row>
13754 <row>
13755 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13756 \begin_inset Text
13757
13758 \begin_layout Plain Layout
13759 b
13760 \end_layout
13761
13762 \end_inset
13763 </cell>
13764 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13765 \begin_inset Text
13766
13767 \begin_layout Plain Layout
13768 e
13769 \end_layout
13770
13771 \end_inset
13772 </cell>
13773 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13774 \begin_inset Text
13775
13776 \begin_layout Plain Layout
13777 h
13778 \end_layout
13779
13780 \end_inset
13781 </cell>
13782 </row>
13783 <row>
13784 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13785 \begin_inset Text
13786
13787 \begin_layout Plain Layout
13788 c
13789 \end_layout
13790
13791 \end_inset
13792 </cell>
13793 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13794 \begin_inset Text
13795
13796 \begin_layout Plain Layout
13797 f
13798 \end_layout
13799
13800 \end_inset
13801 </cell>
13802 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13803 \begin_inset Text
13804
13805 \begin_layout Plain Layout
13806 i
13807 \end_layout
13808
13809 \end_inset
13810 </cell>
13811 </row>
13812 </lyxtabular>
13813
13814 \end_inset
13815
13816
13817 \end_layout
13818
13819 \end_inset
13820
13821  test 
13822 \begin_inset ERT
13823 status collapsed
13824
13825 \begin_layout Plain Layout
13826
13827
13828 \backslash
13829 raisebox{0.85
13830 \backslash
13831 baselineskip}{
13832 \end_layout
13833
13834 \end_inset
13835
13836
13837 \begin_inset Box Frameless
13838 position "t"
13839 hor_pos "c"
13840 has_inner_box 1
13841 inner_pos "c"
13842 use_parbox 0
13843 width "15col%"
13844 special "none"
13845 height "1in"
13846 height_special "totalheight"
13847 status collapsed
13848
13849 \begin_layout Plain Layout
13850 \begin_inset Tabular
13851 <lyxtabular version="3" rows="3" columns="3">
13852 <features>
13853 <column alignment="center" valignment="top" width="0">
13854 <column alignment="center" valignment="top" width="0">
13855 <column alignment="center" valignment="top" width="0">
13856 <row>
13857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13858 \begin_inset Text
13859
13860 \begin_layout Plain Layout
13861 a
13862 \end_layout
13863
13864 \end_inset
13865 </cell>
13866 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13867 \begin_inset Text
13868
13869 \begin_layout Plain Layout
13870 d
13871 \end_layout
13872
13873 \end_inset
13874 </cell>
13875 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13876 \begin_inset Text
13877
13878 \begin_layout Plain Layout
13879 g
13880 \end_layout
13881
13882 \end_inset
13883 </cell>
13884 </row>
13885 <row>
13886 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13887 \begin_inset Text
13888
13889 \begin_layout Plain Layout
13890 b
13891 \end_layout
13892
13893 \end_inset
13894 </cell>
13895 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13896 \begin_inset Text
13897
13898 \begin_layout Plain Layout
13899 e
13900 \end_layout
13901
13902 \end_inset
13903 </cell>
13904 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13905 \begin_inset Text
13906
13907 \begin_layout Plain Layout
13908 h
13909 \end_layout
13910
13911 \end_inset
13912 </cell>
13913 </row>
13914 <row>
13915 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13916 \begin_inset Text
13917
13918 \begin_layout Plain Layout
13919 c
13920 \end_layout
13921
13922 \end_inset
13923 </cell>
13924 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13925 \begin_inset Text
13926
13927 \begin_layout Plain Layout
13928 f
13929 \end_layout
13930
13931 \end_inset
13932 </cell>
13933 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13934 \begin_inset Text
13935
13936 \begin_layout Plain Layout
13937 i
13938 \end_layout
13939
13940 \end_inset
13941 </cell>
13942 </row>
13943 </lyxtabular>
13944
13945 \end_inset
13946
13947
13948 \end_layout
13949
13950 \end_inset
13951
13952
13953 \begin_inset ERT
13954 status collapsed
13955
13956 \begin_layout Plain Layout
13957
13958 }
13959 \end_layout
13960
13961 \end_inset
13962
13963
13964 \end_layout
13965
13966 \begin_layout Itemize
13967 test 
13968 \begin_inset Box Frameless
13969 position "c"
13970 hor_pos "c"
13971 has_inner_box 1
13972 inner_pos "c"
13973 use_parbox 0
13974 width "15col%"
13975 special "none"
13976 height "1in"
13977 height_special "totalheight"
13978 status collapsed
13979
13980 \begin_layout Plain Layout
13981 \begin_inset Tabular
13982 <lyxtabular version="3" rows="3" columns="3">
13983 <features>
13984 <column alignment="center" valignment="top" width="0">
13985 <column alignment="center" valignment="top" width="0">
13986 <column alignment="center" valignment="top" width="0">
13987 <row>
13988 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13989 \begin_inset Text
13990
13991 \begin_layout Plain Layout
13992 a
13993 \end_layout
13994
13995 \end_inset
13996 </cell>
13997 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13998 \begin_inset Text
13999
14000 \begin_layout Plain Layout
14001 d
14002 \end_layout
14003
14004 \end_inset
14005 </cell>
14006 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14007 \begin_inset Text
14008
14009 \begin_layout Plain Layout
14010 g
14011 \end_layout
14012
14013 \end_inset
14014 </cell>
14015 </row>
14016 <row>
14017 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14018 \begin_inset Text
14019
14020 \begin_layout Plain Layout
14021 b
14022 \end_layout
14023
14024 \end_inset
14025 </cell>
14026 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14027 \begin_inset Text
14028
14029 \begin_layout Plain Layout
14030 e
14031 \end_layout
14032
14033 \end_inset
14034 </cell>
14035 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14036 \begin_inset Text
14037
14038 \begin_layout Plain Layout
14039 h
14040 \end_layout
14041
14042 \end_inset
14043 </cell>
14044 </row>
14045 <row>
14046 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14047 \begin_inset Text
14048
14049 \begin_layout Plain Layout
14050 c
14051 \end_layout
14052
14053 \end_inset
14054 </cell>
14055 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14056 \begin_inset Text
14057
14058 \begin_layout Plain Layout
14059 f
14060 \end_layout
14061
14062 \end_inset
14063 </cell>
14064 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14065 \begin_inset Text
14066
14067 \begin_layout Plain Layout
14068 i
14069 \end_layout
14070
14071 \end_inset
14072 </cell>
14073 </row>
14074 </lyxtabular>
14075
14076 \end_inset
14077
14078
14079 \end_layout
14080
14081 \end_inset
14082
14083
14084 \end_layout
14085
14086 \begin_layout Itemize
14087 test 
14088 \begin_inset Box Frameless
14089 position "b"
14090 hor_pos "c"
14091 has_inner_box 1
14092 inner_pos "c"
14093 use_parbox 0
14094 width "15col%"
14095 special "none"
14096 height "1in"
14097 height_special "totalheight"
14098 status collapsed
14099
14100 \begin_layout Plain Layout
14101 \begin_inset Tabular
14102 <lyxtabular version="3" rows="3" columns="3">
14103 <features>
14104 <column alignment="center" valignment="top" width="0">
14105 <column alignment="center" valignment="top" width="0">
14106 <column alignment="center" valignment="top" width="0">
14107 <row>
14108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14109 \begin_inset Text
14110
14111 \begin_layout Plain Layout
14112 a
14113 \end_layout
14114
14115 \end_inset
14116 </cell>
14117 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14118 \begin_inset Text
14119
14120 \begin_layout Plain Layout
14121 d
14122 \end_layout
14123
14124 \end_inset
14125 </cell>
14126 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14127 \begin_inset Text
14128
14129 \begin_layout Plain Layout
14130 g
14131 \end_layout
14132
14133 \end_inset
14134 </cell>
14135 </row>
14136 <row>
14137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14138 \begin_inset Text
14139
14140 \begin_layout Plain Layout
14141 b
14142 \end_layout
14143
14144 \end_inset
14145 </cell>
14146 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14147 \begin_inset Text
14148
14149 \begin_layout Plain Layout
14150 e
14151 \end_layout
14152
14153 \end_inset
14154 </cell>
14155 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14156 \begin_inset Text
14157
14158 \begin_layout Plain Layout
14159 h
14160 \end_layout
14161
14162 \end_inset
14163 </cell>
14164 </row>
14165 <row>
14166 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14167 \begin_inset Text
14168
14169 \begin_layout Plain Layout
14170 c
14171 \end_layout
14172
14173 \end_inset
14174 </cell>
14175 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14176 \begin_inset Text
14177
14178 \begin_layout Plain Layout
14179 f
14180 \end_layout
14181
14182 \end_inset
14183 </cell>
14184 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14185 \begin_inset Text
14186
14187 \begin_layout Plain Layout
14188 i
14189 \end_layout
14190
14191 \end_inset
14192 </cell>
14193 </row>
14194 </lyxtabular>
14195
14196 \end_inset
14197
14198
14199 \end_layout
14200
14201 \end_inset
14202
14203  test 
14204 \begin_inset ERT
14205 status collapsed
14206
14207 \begin_layout Plain Layout
14208
14209
14210 \backslash
14211 raisebox{-0.32
14212 \backslash
14213 baselineskip}{
14214 \end_layout
14215
14216 \end_inset
14217
14218
14219 \begin_inset Box Frameless
14220 position "b"
14221 hor_pos "c"
14222 has_inner_box 1
14223 inner_pos "c"
14224 use_parbox 0
14225 width "15col%"
14226 special "none"
14227 height "1in"
14228 height_special "totalheight"
14229 status collapsed
14230
14231 \begin_layout Plain Layout
14232 \begin_inset Tabular
14233 <lyxtabular version="3" rows="3" columns="3">
14234 <features>
14235 <column alignment="center" valignment="top" width="0">
14236 <column alignment="center" valignment="top" width="0">
14237 <column alignment="center" valignment="top" width="0">
14238 <row>
14239 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14240 \begin_inset Text
14241
14242 \begin_layout Plain Layout
14243 a
14244 \end_layout
14245
14246 \end_inset
14247 </cell>
14248 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14249 \begin_inset Text
14250
14251 \begin_layout Plain Layout
14252 d
14253 \end_layout
14254
14255 \end_inset
14256 </cell>
14257 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14258 \begin_inset Text
14259
14260 \begin_layout Plain Layout
14261 g
14262 \end_layout
14263
14264 \end_inset
14265 </cell>
14266 </row>
14267 <row>
14268 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14269 \begin_inset Text
14270
14271 \begin_layout Plain Layout
14272 b
14273 \end_layout
14274
14275 \end_inset
14276 </cell>
14277 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14278 \begin_inset Text
14279
14280 \begin_layout Plain Layout
14281 e
14282 \end_layout
14283
14284 \end_inset
14285 </cell>
14286 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14287 \begin_inset Text
14288
14289 \begin_layout Plain Layout
14290 h
14291 \end_layout
14292
14293 \end_inset
14294 </cell>
14295 </row>
14296 <row>
14297 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14298 \begin_inset Text
14299
14300 \begin_layout Plain Layout
14301 c
14302 \end_layout
14303
14304 \end_inset
14305 </cell>
14306 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14307 \begin_inset Text
14308
14309 \begin_layout Plain Layout
14310 f
14311 \end_layout
14312
14313 \end_inset
14314 </cell>
14315 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14316 \begin_inset Text
14317
14318 \begin_layout Plain Layout
14319 i
14320 \end_layout
14321
14322 \end_inset
14323 </cell>
14324 </row>
14325 </lyxtabular>
14326
14327 \end_inset
14328
14329
14330 \end_layout
14331
14332 \end_inset
14333
14334
14335 \begin_inset ERT
14336 status collapsed
14337
14338 \begin_layout Plain Layout
14339
14340 }
14341 \end_layout
14342
14343 \end_inset
14344
14345
14346 \end_layout
14347
14348 \begin_layout Standard
14349 As you can see, the content of the first and last table row is not correctly
14350  aligned with the text line where the table is in.
14351  To get this alignment, the minipage box must be set into a raisebox
14352 \begin_inset Foot
14353 status collapsed
14354
14355 \begin_layout Plain Layout
14356 Raiseboxes are described in section
14357 \begin_inset space ~
14358 \end_inset
14359
14360
14361 \begin_inset CommandInset ref
14362 LatexCommand ref
14363 reference "sub:Vertical-Alignment"
14364
14365 \end_inset
14366
14367 .
14368 \end_layout
14369
14370 \end_inset
14371
14372 .
14373  In the example above the second table in the first item is aligned using
14374  the TeX-Code-command
14375 \end_layout
14376
14377 \begin_layout Standard
14378
14379 \series bold
14380
14381 \backslash
14382 raisebox{0.85
14383 \backslash
14384 baselineskip}{
14385 \end_layout
14386
14387 \begin_layout Standard
14388 before the box.
14389  Behind the box the closing brace 
14390 \series bold
14391 }
14392 \series default
14393  is inserted as TeX-Code.
14394  For the second table in the last item the command
14395 \end_layout
14396
14397 \begin_layout Standard
14398
14399 \series bold
14400
14401 \backslash
14402 raisebox{-0.32
14403 \backslash
14404 baselineskip}{
14405 \end_layout
14406
14407 \begin_layout Standard
14408 is used.
14409 \end_layout
14410
14411 \begin_layout Standard
14412 \begin_inset Note Greyedout
14413 status open
14414
14415 \begin_layout Plain Layout
14416
14417 \series bold
14418 Note:
14419 \series default
14420  The alignment of the table row content to the surrounding text line is
14421  not exact.
14422  The needed factor of the 
14423 \series bold
14424
14425 \backslash
14426 raisebox
14427 \series default
14428  command for this alignment depends on the document font, the font size,
14429  and the table line thickness.
14430 \end_layout
14431
14432 \end_inset
14433
14434
14435 \end_layout
14436
14437 \begin_layout Section
14438 Colored Tables
14439 \begin_inset CommandInset label
14440 LatexCommand label
14441 name "sec:Colored-Tables"
14442
14443 \end_inset
14444
14445
14446 \begin_inset Index
14447 status collapsed
14448
14449 \begin_layout Plain Layout
14450 Table ! Color
14451 \end_layout
14452
14453 \end_inset
14454
14455
14456 \end_layout
14457
14458 \begin_layout Subsection
14459 Colored Cells
14460 \begin_inset Index
14461 status collapsed
14462
14463 \begin_layout Plain Layout
14464 Table Color ! for Cells
14465 \end_layout
14466
14467 \end_inset
14468
14469
14470 \begin_inset Index
14471 status collapsed
14472
14473 \begin_layout Plain Layout
14474 Color ! for Table Cells
14475 \end_layout
14476
14477 \end_inset
14478
14479
14480 \end_layout
14481
14482 \begin_layout Standard
14483 \begin_inset Float table
14484 placement h
14485 wide false
14486 sideways false
14487 status open
14488
14489 \begin_layout Plain Layout
14490 \begin_inset Caption
14491
14492 \begin_layout Plain Layout
14493 \begin_inset CommandInset label
14494 LatexCommand label
14495 name "tab:Table-colored-without"
14496
14497 \end_inset
14498
14499 Table colored without using the package 
14500 \series bold
14501 colortbl
14502 \series default
14503
14504 \begin_inset OptArg
14505 status collapsed
14506
14507 \begin_layout Plain Layout
14508 Table without colortbl
14509 \end_layout
14510
14511 \end_inset
14512
14513
14514 \end_layout
14515
14516 \end_inset
14517
14518
14519 \end_layout
14520
14521 \begin_layout Plain Layout
14522 \align center
14523 \begin_inset Tabular
14524 <lyxtabular version="3" rows="3" columns="3">
14525 <features>
14526 <column alignment="center" valignment="top" width="0">
14527 <column alignment="center" valignment="top" width="0">
14528 <column alignment="center" valignment="top" width="0">
14529 <row>
14530 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14531 \begin_inset Text
14532
14533 \begin_layout Plain Layout
14534
14535 \color green
14536 a
14537 \end_layout
14538
14539 \end_inset
14540 </cell>
14541 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14542 \begin_inset Text
14543
14544 \begin_layout Plain Layout
14545
14546 \color red
14547 b
14548 \end_layout
14549
14550 \end_inset
14551 </cell>
14552 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14553 \begin_inset Text
14554
14555 \begin_layout Plain Layout
14556
14557 \color red
14558 c
14559 \end_layout
14560
14561 \end_inset
14562 </cell>
14563 </row>
14564 <row>
14565 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14566 \begin_inset Text
14567
14568 \begin_layout Plain Layout
14569
14570 \color green
14571 d
14572 \end_layout
14573
14574 \end_inset
14575 </cell>
14576 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14577 \begin_inset Text
14578
14579 \begin_layout Plain Layout
14580
14581 \color blue
14582 e
14583 \end_layout
14584
14585 \end_inset
14586 </cell>
14587 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14588 \begin_inset Text
14589
14590 \begin_layout Plain Layout
14591
14592 \color blue
14593 f
14594 \end_layout
14595
14596 \end_inset
14597 </cell>
14598 </row>
14599 <row>
14600 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14601 \begin_inset Text
14602
14603 \begin_layout Plain Layout
14604
14605 \color green
14606 g
14607 \end_layout
14608
14609 \end_inset
14610 </cell>
14611 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14612 \begin_inset Text
14613
14614 \begin_layout Plain Layout
14615
14616 \color blue
14617 h
14618 \end_layout
14619
14620 \end_inset
14621 </cell>
14622 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14623 \begin_inset Text
14624
14625 \begin_layout Plain Layout
14626
14627 \color blue
14628 i
14629 \end_layout
14630
14631 \end_inset
14632 </cell>
14633 </row>
14634 </lyxtabular>
14635
14636 \end_inset
14637
14638
14639 \end_layout
14640
14641 \end_inset
14642
14643
14644 \end_layout
14645
14646 \begin_layout Standard
14647 If you only need colored text, mark the cells and choose a color in the
14648  menu 
14649 \family sans
14650 Edit\SpecialChar \menuseparator
14651 Text
14652 \begin_inset space ~
14653 \end_inset
14654
14655 Style
14656 \family default
14657 .
14658  This was used to create Table
14659 \begin_inset space ~
14660 \end_inset
14661
14662
14663 \begin_inset CommandInset ref
14664 LatexCommand ref
14665 reference "tab:Table-colored-without"
14666
14667 \end_inset
14668
14669 .
14670  In any other case you have to use the LaTeX-package 
14671 \series bold
14672 colortbl
14673 \series default
14674 .
14675 \begin_inset Index
14676 status collapsed
14677
14678 \begin_layout Plain Layout
14679 LaTeX-packages ! colortbl
14680 \end_layout
14681
14682 \end_inset
14683
14684
14685 \end_layout
14686
14687 \begin_layout Standard
14688 \begin_inset ERT
14689 status collapsed
14690
14691 \begin_layout Plain Layout
14692
14693
14694 \backslash
14695 ifcolortbl
14696 \end_layout
14697
14698 \end_inset
14699
14700
14701 \begin_inset Note Note
14702 status open
14703
14704 \begin_layout Plain Layout
14705 The following section part will only be displayed when the LaTeX-package
14706  
14707 \series bold
14708 colortbl
14709 \series default
14710  is installed.
14711 \end_layout
14712
14713 \end_inset
14714
14715
14716 \end_layout
14717
14718 \begin_layout Standard
14719 To create colored tables, 
14720 \series bold
14721 colortbl
14722 \series default
14723  must be loaded in the preamble with the line
14724 \end_layout
14725
14726 \begin_layout Standard
14727
14728 \series bold
14729
14730 \backslash
14731 usepackage{colortbl}
14732 \end_layout
14733
14734 \begin_layout Standard
14735 The color of a column is adjusted with the command
14736 \end_layout
14737
14738 \begin_layout Standard
14739
14740 \series bold
14741
14742 \backslash
14743 columncolor{name of color}
14744 \end_layout
14745
14746 \begin_layout Standard
14747 inside the command 
14748 \series bold
14749 >{ }
14750 \series default
14751 .
14752  More about the command 
14753 \series bold
14754 >{}
14755 \series default
14756  is described in section
14757 \begin_inset space ~
14758 \end_inset
14759
14760
14761 \begin_inset CommandInset ref
14762 LatexCommand ref
14763 reference "sub:Multicolumn-Calculations"
14764
14765 \end_inset
14766
14767 .
14768 \end_layout
14769
14770 \begin_layout Standard
14771 The following color names are predefined:
14772 \end_layout
14773
14774 \begin_layout Standard
14775
14776 \family sans
14777 red
14778 \family default
14779
14780 \family sans
14781 green
14782 \family default
14783
14784 \family sans
14785 yellow
14786 \family default
14787
14788 \family sans
14789 blue
14790 \family default
14791
14792 \family sans
14793 cyan
14794 \family default
14795
14796 \family sans
14797 magenta
14798 \family default
14799
14800 \family sans
14801 black
14802 \family default
14803  and 
14804 \family sans
14805 white
14806 \end_layout
14807
14808 \begin_layout Standard
14809 \begin_inset VSpace medskip
14810 \end_inset
14811
14812
14813 \end_layout
14814
14815 \begin_layout Standard
14816 You can also define your own color with the command
14817 \end_layout
14818
14819 \begin_layout Standard
14820
14821 \series bold
14822
14823 \backslash
14824 definecolor{color name}{color model}{color values}
14825 \end_layout
14826
14827 \begin_layout Standard
14828 The color model can be
14829 \end_layout
14830
14831 \begin_layout Labeling
14832 \labelwidthstring 00.00.0000
14833 cmyk: cyan, magenta, yellow, black
14834 \end_layout
14835
14836 \begin_layout Labeling
14837 \labelwidthstring 00.00.0000
14838 rgb: red, green blue
14839 \end_layout
14840
14841 \begin_layout Labeling
14842 \labelwidthstring 00.00.0000
14843 gray gray
14844 \end_layout
14845
14846 \begin_layout Standard
14847 and the color values are comma separated numbers between 0 and 1 describing
14848  the factor for the corresponding color of the color model.
14849 \end_layout
14850
14851 \begin_layout Standard
14852 You can e.
14853 \begin_inset space \thinspace{}
14854 \end_inset
14855
14856 g.
14857 \begin_inset space \space{}
14858 \end_inset
14859
14860 define the color "
14861 \emph on
14862 darkgreen
14863 \emph default
14864 " in the preamble with
14865 \end_layout
14866
14867 \begin_layout Standard
14868
14869 \series bold
14870
14871 \backslash
14872 definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
14873 \end_layout
14874
14875 \begin_layout Standard
14876 and the color "
14877 \emph on
14878 lightgray
14879 \emph default
14880 " with
14881 \end_layout
14882
14883 \begin_layout Standard
14884
14885 \series bold
14886
14887 \backslash
14888 definecolor{lightgray}{gray}{0.8}
14889 \end_layout
14890
14891 \begin_layout Standard
14892 \begin_inset VSpace medskip
14893 \end_inset
14894
14895
14896 \end_layout
14897
14898 \begin_layout Standard
14899 Lines are colored with the command
14900 \end_layout
14901
14902 \begin_layout Standard
14903
14904 \series bold
14905
14906 \backslash
14907 rowcolor{name of color}
14908 \end_layout
14909
14910 \begin_layout Standard
14911 and cells are colored with the command
14912 \end_layout
14913
14914 \begin_layout Standard
14915
14916 \series bold
14917
14918 \backslash
14919 cellcolor{name of color}
14920 \end_layout
14921
14922 \begin_layout Standard
14923 Both commands are inserted at the beginning of a cell as TeX-Code.
14924 \end_layout
14925
14926 \begin_layout Standard
14927 To color characters in the table, mark the cells and use the LyX menu 
14928 \family sans
14929 Edit\SpecialChar \menuseparator
14930 Text
14931 \begin_inset space ~
14932 \end_inset
14933
14934 Style
14935 \family default
14936 .
14937  If a cell contains TeX-Code mark only the characters, otherwise the colored
14938  TeX-Code will cause LaTeX-errors.
14939 \end_layout
14940
14941 \begin_layout Standard
14942 \begin_inset Note Greyedout
14943 status open
14944
14945 \begin_layout Plain Layout
14946
14947 \series bold
14948 Note:
14949 \series default
14950  Not all DVI-viewers are able to display self-defined colors.
14951 \end_layout
14952
14953 \end_inset
14954
14955
14956 \end_layout
14957
14958 \begin_layout Standard
14959 \begin_inset VSpace bigskip
14960 \end_inset
14961
14962
14963 \end_layout
14964
14965 \begin_layout Standard
14966 To create Table
14967 \begin_inset space ~
14968 \end_inset
14969
14970
14971 \begin_inset CommandInset ref
14972 LatexCommand ref
14973 reference "tab:Table-colored-using"
14974
14975 \end_inset
14976
14977  do the following: The color of the first column should be 
14978 \emph on
14979 darkgreen
14980 \emph default
14981 .
14982  So insert
14983 \end_layout
14984
14985 \begin_layout Standard
14986
14987 \series bold
14988 >{
14989 \backslash
14990 columncolor{darkgreen}
14991 \backslash
14992 centering}c
14993 \end_layout
14994
14995 \begin_layout Standard
14996 as LaTeX-argument for this column.
14997  The first row should be blue, therefore the TeX-Code command
14998 \end_layout
14999
15000 \begin_layout Standard
15001
15002 \series bold
15003
15004 \backslash
15005 rowcolow{cyan}
15006 \end_layout
15007
15008 \begin_layout Standard
15009 is inserted to the first cell of this row.
15010  Note that this overwrites the column color for the first cell.
15011  The last cell of the last row is colored magenta by inserting the TeX-Code
15012  command
15013 \end_layout
15014
15015 \begin_layout Standard
15016
15017 \series bold
15018
15019 \backslash
15020 cellcolor{magenta}
15021 \end_layout
15022
15023 \begin_layout Standard
15024 The characters could now be colored using the menu 
15025 \family sans
15026 Edit\SpecialChar \menuseparator
15027 Text
15028 \begin_inset space ~
15029 \end_inset
15030
15031 Style
15032 \family default
15033 .
15034 \end_layout
15035
15036 \begin_layout Standard
15037 \begin_inset Float table
15038 placement h
15039 wide false
15040 sideways false
15041 status open
15042
15043 \begin_layout Plain Layout
15044 \begin_inset Caption
15045
15046 \begin_layout Plain Layout
15047 \begin_inset CommandInset label
15048 LatexCommand label
15049 name "tab:Table-colored-using"
15050
15051 \end_inset
15052
15053 Table colored using the package 
15054 \series bold
15055 colortbl
15056 \series default
15057
15058 \begin_inset OptArg
15059 status collapsed
15060
15061 \begin_layout Plain Layout
15062 Table with colortbl
15063 \end_layout
15064
15065 \end_inset
15066
15067
15068 \end_layout
15069
15070 \end_inset
15071
15072
15073 \end_layout
15074
15075 \begin_layout Plain Layout
15076 \align center
15077 \begin_inset Tabular
15078 <lyxtabular version="3" rows="3" columns="3">
15079 <features>
15080 <column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
15081 <column alignment="center" valignment="top" width="0">
15082 <column alignment="center" valignment="top" width="0">
15083 <row>
15084 <cell alignment="center" valignment="top" usebox="none">
15085 \begin_inset Text
15086
15087 \begin_layout Plain Layout
15088 \begin_inset ERT
15089 status collapsed
15090
15091 \begin_layout Plain Layout
15092
15093
15094 \backslash
15095 rowcolor{cyan}
15096 \end_layout
15097
15098 \end_inset
15099
15100
15101 \color magenta
15102 a
15103 \end_layout
15104
15105 \end_inset
15106 </cell>
15107 <cell alignment="center" valignment="top" usebox="none">
15108 \begin_inset Text
15109
15110 \begin_layout Plain Layout
15111
15112 \color red
15113 b
15114 \end_layout
15115
15116 \end_inset
15117 </cell>
15118 <cell alignment="center" valignment="top" usebox="none">
15119 \begin_inset Text
15120
15121 \begin_layout Plain Layout
15122
15123 \color red
15124 c
15125 \end_layout
15126
15127 \end_inset
15128 </cell>
15129 </row>
15130 <row>
15131 <cell alignment="center" valignment="top" usebox="none">
15132 \begin_inset Text
15133
15134 \begin_layout Plain Layout
15135
15136 \color yellow
15137 d
15138 \end_layout
15139
15140 \end_inset
15141 </cell>
15142 <cell alignment="center" valignment="top" usebox="none">
15143 \begin_inset Text
15144
15145 \begin_layout Plain Layout
15146
15147 \color blue
15148 e
15149 \end_layout
15150
15151 \end_inset
15152 </cell>
15153 <cell alignment="center" valignment="top" usebox="none">
15154 \begin_inset Text
15155
15156 \begin_layout Plain Layout
15157
15158 \color blue
15159 f
15160 \end_layout
15161
15162 \end_inset
15163 </cell>
15164 </row>
15165 <row>
15166 <cell alignment="center" valignment="top" usebox="none">
15167 \begin_inset Text
15168
15169 \begin_layout Plain Layout
15170
15171 \color yellow
15172 g
15173 \end_layout
15174
15175 \end_inset
15176 </cell>
15177 <cell alignment="center" valignment="top" usebox="none">
15178 \begin_inset Text
15179
15180 \begin_layout Plain Layout
15181
15182 \color blue
15183 h
15184 \end_layout
15185
15186 \end_inset
15187 </cell>
15188 <cell alignment="center" valignment="top" usebox="none">
15189 \begin_inset Text
15190
15191 \begin_layout Plain Layout
15192 \begin_inset ERT
15193 status collapsed
15194
15195 \begin_layout Plain Layout
15196
15197
15198 \backslash
15199 cellcolor{magenta}
15200 \end_layout
15201
15202 \end_inset
15203
15204
15205 \color green
15206 i
15207 \end_layout
15208
15209 \end_inset
15210 </cell>
15211 </row>
15212 </lyxtabular>
15213
15214 \end_inset
15215
15216
15217 \end_layout
15218
15219 \end_inset
15220
15221
15222 \end_layout
15223
15224 \begin_layout Standard
15225 \begin_inset ERT
15226 status collapsed
15227
15228 \begin_layout Plain Layout
15229
15230
15231 \backslash
15232 else
15233 \end_layout
15234
15235 \end_inset
15236
15237
15238 \begin_inset Note Note
15239 status open
15240
15241 \begin_layout Plain Layout
15242 The following will be displayed when the LaTeX-package 
15243 \series bold
15244 colortbl
15245 \series default
15246  is not installed:
15247 \end_layout
15248
15249 \end_inset
15250
15251
15252 \end_layout
15253
15254 \begin_layout Standard
15255 You need to install the package 
15256 \series bold
15257 colortbl
15258 \series default
15259  to see the content of this section in the output.
15260 \end_layout
15261
15262 \begin_layout Standard
15263 \begin_inset ERT
15264 status collapsed
15265
15266 \begin_layout Plain Layout
15267
15268
15269 \backslash
15270 fi
15271 \end_layout
15272
15273 \end_inset
15274
15275
15276 \end_layout
15277
15278 \begin_layout Subsection
15279 Colored Lines
15280 \begin_inset Index
15281 status collapsed
15282
15283 \begin_layout Plain Layout
15284 Table Color ! for Lines
15285 \end_layout
15286
15287 \end_inset
15288
15289
15290 \begin_inset Index
15291 status collapsed
15292
15293 \begin_layout Plain Layout
15294 Color ! for Table Lines
15295 \end_layout
15296
15297 \end_inset
15298
15299
15300 \end_layout
15301
15302 \begin_layout Standard
15303 As described in section
15304 \begin_inset space ~
15305 \end_inset
15306
15307
15308 \begin_inset CommandInset ref
15309 LatexCommand ref
15310 reference "sub:Line-Thickness"
15311
15312 \end_inset
15313
15314 , the line thickness for all lines in a table can be adjusted with the length
15315  
15316 \series bold
15317
15318 \backslash
15319 arrayrulewidth
15320 \series default
15321 .
15322  It is set to 1.5
15323 \begin_inset space \thinspace{}
15324 \end_inset
15325
15326 pt for all tables of this section.
15327 \begin_inset ERT
15328 status collapsed
15329
15330 \begin_layout Plain Layout
15331
15332
15333 \backslash
15334 setlength{
15335 \backslash
15336 arrayrulewidth}{1.5pt}
15337 \end_layout
15338
15339 \end_inset
15340
15341
15342 \end_layout
15343
15344 \begin_layout Standard
15345 To color vertical lines for example with green, create the following column
15346  format in the document preamble, according to the description in section
15347 \begin_inset space ~
15348 \end_inset
15349
15350
15351 \begin_inset CommandInset ref
15352 LatexCommand ref
15353 reference "sub:Customized-Format"
15354
15355 \end_inset
15356
15357 :
15358 \end_layout
15359
15360 \begin_layout Standard
15361
15362 \series bold
15363
15364 \backslash
15365 newcolumntype{W}{!{
15366 \backslash
15367 color{green}
15368 \backslash
15369 vline}}
15370 \end_layout
15371
15372 \begin_layout Standard
15373 For Table
15374 \begin_inset space ~
15375 \end_inset
15376
15377
15378 \begin_inset CommandInset ref
15379 LatexCommand ref
15380 reference "tab:Table-with-vertical-colored"
15381
15382 \end_inset
15383
15384  the LaTeX-argument
15385 \series bold
15386  WcW
15387 \series default
15388  was used for the last column and
15389 \series bold
15390  Wc
15391 \series default
15392  for the other columns.
15393 \end_layout
15394
15395 \begin_layout Standard
15396 If you want to have several colors, define more column formats.
15397 \end_layout
15398
15399 \begin_layout Standard
15400 \begin_inset Float table
15401 placement h
15402 wide false
15403 sideways false
15404 status open
15405
15406 \begin_layout Plain Layout
15407 \begin_inset Caption
15408
15409 \begin_layout Plain Layout
15410 \begin_inset CommandInset label
15411 LatexCommand label
15412 name "tab:Table-with-vertical-colored"
15413
15414 \end_inset
15415
15416 Table with colored vertical lines
15417 \end_layout
15418
15419 \end_inset
15420
15421
15422 \end_layout
15423
15424 \begin_layout Plain Layout
15425 \align center
15426 \begin_inset Tabular
15427 <lyxtabular version="3" rows="3" columns="3">
15428 <features>
15429 <column alignment="center" valignment="top" width="0" special="Wc">
15430 <column alignment="center" valignment="top" width="0" special="Wc">
15431 <column alignment="center" valignment="top" width="0" special="WcW">
15432 <row>
15433 <cell alignment="center" valignment="top" topline="true" usebox="none">
15434 \begin_inset Text
15435
15436 \begin_layout Plain Layout
15437 sd
15438 \end_layout
15439
15440 \end_inset
15441 </cell>
15442 <cell alignment="center" valignment="top" topline="true" usebox="none">
15443 \begin_inset Text
15444
15445 \begin_layout Plain Layout
15446
15447 \end_layout
15448
15449 \end_inset
15450 </cell>
15451 <cell alignment="center" valignment="top" topline="true" usebox="none">
15452 \begin_inset Text
15453
15454 \begin_layout Plain Layout
15455
15456 \end_layout
15457
15458 \end_inset
15459 </cell>
15460 </row>
15461 <row>
15462 <cell alignment="center" valignment="top" topline="true" usebox="none">
15463 \begin_inset Text
15464
15465 \begin_layout Plain Layout
15466
15467 \end_layout
15468
15469 \end_inset
15470 </cell>
15471 <cell alignment="center" valignment="top" topline="true" usebox="none">
15472 \begin_inset Text
15473
15474 \begin_layout Plain Layout
15475 sd
15476 \end_layout
15477
15478 \end_inset
15479 </cell>
15480 <cell alignment="center" valignment="top" topline="true" usebox="none">
15481 \begin_inset Text
15482
15483 \begin_layout Plain Layout
15484
15485 \end_layout
15486
15487 \end_inset
15488 </cell>
15489 </row>
15490 <row>
15491 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15492 \begin_inset Text
15493
15494 \begin_layout Plain Layout
15495
15496 \end_layout
15497
15498 \end_inset
15499 </cell>
15500 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15501 \begin_inset Text
15502
15503 \begin_layout Plain Layout
15504
15505 \end_layout
15506
15507 \end_inset
15508 </cell>
15509 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15510 \begin_inset Text
15511
15512 \begin_layout Plain Layout
15513 sd
15514 \end_layout
15515
15516 \end_inset
15517 </cell>
15518 </row>
15519 </lyxtabular>
15520
15521 \end_inset
15522
15523
15524 \end_layout
15525
15526 \end_inset
15527
15528
15529 \end_layout
15530
15531 \begin_layout Standard
15532 \begin_inset VSpace bigskip
15533 \end_inset
15534
15535 To color horizontal lines for example with red, like in Table
15536 \begin_inset space ~
15537 \end_inset
15538
15539
15540 \begin_inset CommandInset ref
15541 LatexCommand ref
15542 reference "tab:Table-with-horizontal-colored"
15543
15544 \end_inset
15545
15546 , insert these commands in TeX-Code before the table or table float:
15547 \end_layout
15548
15549 \begin_layout Standard
15550
15551 \series bold
15552
15553 \backslash
15554 let
15555 \backslash
15556 myHlineC
15557 \backslash
15558 hline
15559 \begin_inset Newline newline
15560 \end_inset
15561
15562
15563 \backslash
15564 renewcommand{
15565 \backslash
15566 hline}
15567 \begin_inset Newline newline
15568 \end_inset
15569
15570
15571 \begin_inset ERT
15572 status collapsed
15573
15574 \begin_layout Plain Layout
15575
15576
15577 \backslash
15578 hphantom{ }
15579 \end_layout
15580
15581 \end_inset
15582
15583 {
15584 \backslash
15585 arrayrulecolor{red}
15586 \backslash
15587 myHlineC
15588 \backslash
15589 arrayrulecolor{black}}
15590 \end_layout
15591
15592 \begin_layout Standard
15593 \begin_inset ERT
15594 status collapsed
15595
15596 \begin_layout Plain Layout
15597
15598
15599 \backslash
15600 let
15601 \backslash
15602 myHlineC
15603 \backslash
15604 hline
15605 \end_layout
15606
15607 \begin_layout Plain Layout
15608
15609
15610 \backslash
15611 renewcommand{
15612 \backslash
15613 hline}
15614 \end_layout
15615
15616 \begin_layout Plain Layout
15617
15618  {
15619 \backslash
15620 arrayrulecolor{red}
15621 \backslash
15622 myHlineC
15623 \backslash
15624 arrayrulecolor{black}}
15625 \end_layout
15626
15627 \end_inset
15628
15629
15630 \begin_inset Float table
15631 placement h
15632 wide false
15633 sideways false
15634 status open
15635
15636 \begin_layout Plain Layout
15637 \begin_inset Caption
15638
15639 \begin_layout Plain Layout
15640 \begin_inset CommandInset label
15641 LatexCommand label
15642 name "tab:Table-with-horizontal-colored"
15643
15644 \end_inset
15645
15646 Table with colored horizontal lines
15647 \end_layout
15648
15649 \end_inset
15650
15651
15652 \end_layout
15653
15654 \begin_layout Plain Layout
15655 \align center
15656 \begin_inset Tabular
15657 <lyxtabular version="3" rows="3" columns="3">
15658 <features>
15659 <column alignment="center" valignment="top" width="0">
15660 <column alignment="center" valignment="top" width="0">
15661 <column alignment="center" valignment="top" width="0">
15662 <row>
15663 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15664 \begin_inset Text
15665
15666 \begin_layout Plain Layout
15667 sd
15668 \end_layout
15669
15670 \end_inset
15671 </cell>
15672 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15673 \begin_inset Text
15674
15675 \begin_layout Plain Layout
15676
15677 \end_layout
15678
15679 \end_inset
15680 </cell>
15681 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15682 \begin_inset Text
15683
15684 \begin_layout Plain Layout
15685
15686 \end_layout
15687
15688 \end_inset
15689 </cell>
15690 </row>
15691 <row>
15692 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15693 \begin_inset Text
15694
15695 \begin_layout Plain Layout
15696
15697 \end_layout
15698
15699 \end_inset
15700 </cell>
15701 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15702 \begin_inset Text
15703
15704 \begin_layout Plain Layout
15705 sd
15706 \end_layout
15707
15708 \end_inset
15709 </cell>
15710 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15711 \begin_inset Text
15712
15713 \begin_layout Plain Layout
15714
15715 \end_layout
15716
15717 \end_inset
15718 </cell>
15719 </row>
15720 <row>
15721 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15722 \begin_inset Text
15723
15724 \begin_layout Plain Layout
15725
15726 \end_layout
15727
15728 \end_inset
15729 </cell>
15730 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15731 \begin_inset Text
15732
15733 \begin_layout Plain Layout
15734
15735 \end_layout
15736
15737 \end_inset
15738 </cell>
15739 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15740 \begin_inset Text
15741
15742 \begin_layout Plain Layout
15743 sd
15744 \end_layout
15745
15746 \end_inset
15747 </cell>
15748 </row>
15749 </lyxtabular>
15750
15751 \end_inset
15752
15753
15754 \end_layout
15755
15756 \end_inset
15757
15758
15759 \end_layout
15760
15761 \begin_layout Standard
15762 To return to the default line color black, insert this command in TeX-Code
15763  behind the table or table float:
15764 \end_layout
15765
15766 \begin_layout Standard
15767
15768 \series bold
15769
15770 \backslash
15771 renewcommand{
15772 \backslash
15773 hline}{
15774 \backslash
15775 myHlineC}
15776 \end_layout
15777
15778 \begin_layout Standard
15779 Table
15780 \begin_inset space ~
15781 \end_inset
15782
15783
15784 \begin_inset CommandInset ref
15785 LatexCommand ref
15786 reference "tab:Table-with-colored"
15787
15788 \end_inset
15789
15790  is an example with colored vertical and horizontal lines.
15791 \end_layout
15792
15793 \begin_layout Standard
15794 \begin_inset Float table
15795 placement h
15796 wide false
15797 sideways false
15798 status open
15799
15800 \begin_layout Plain Layout
15801 \begin_inset Caption
15802
15803 \begin_layout Plain Layout
15804 \begin_inset CommandInset label
15805 LatexCommand label
15806 name "tab:Table-with-colored"
15807
15808 \end_inset
15809
15810 Table with colored lines
15811 \end_layout
15812
15813 \end_inset
15814
15815
15816 \end_layout
15817
15818 \begin_layout Plain Layout
15819 \align center
15820 \begin_inset Tabular
15821 <lyxtabular version="3" rows="3" columns="3">
15822 <features>
15823 <column alignment="center" valignment="top" width="0" special="Wc">
15824 <column alignment="center" valignment="top" width="0" special="Wc">
15825 <column alignment="center" valignment="top" width="0" special="WcW">
15826 <row>
15827 <cell alignment="center" valignment="top" topline="true" usebox="none">
15828 \begin_inset Text
15829
15830 \begin_layout Plain Layout
15831 sd
15832 \end_layout
15833
15834 \end_inset
15835 </cell>
15836 <cell alignment="center" valignment="top" topline="true" usebox="none">
15837 \begin_inset Text
15838
15839 \begin_layout Plain Layout
15840
15841 \end_layout
15842
15843 \end_inset
15844 </cell>
15845 <cell alignment="center" valignment="top" topline="true" usebox="none">
15846 \begin_inset Text
15847
15848 \begin_layout Plain Layout
15849
15850 \end_layout
15851
15852 \end_inset
15853 </cell>
15854 </row>
15855 <row>
15856 <cell alignment="center" valignment="top" topline="true" usebox="none">
15857 \begin_inset Text
15858
15859 \begin_layout Plain Layout
15860
15861 \end_layout
15862
15863 \end_inset
15864 </cell>
15865 <cell alignment="center" valignment="top" topline="true" usebox="none">
15866 \begin_inset Text
15867
15868 \begin_layout Plain Layout
15869 sd
15870 \end_layout
15871
15872 \end_inset
15873 </cell>
15874 <cell alignment="center" valignment="top" topline="true" usebox="none">
15875 \begin_inset Text
15876
15877 \begin_layout Plain Layout
15878
15879 \end_layout
15880
15881 \end_inset
15882 </cell>
15883 </row>
15884 <row topspace="default">
15885 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15886 \begin_inset Text
15887
15888 \begin_layout Plain Layout
15889
15890 \end_layout
15891
15892 \end_inset
15893 </cell>
15894 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15895 \begin_inset Text
15896
15897 \begin_layout Plain Layout
15898
15899 \end_layout
15900
15901 \end_inset
15902 </cell>
15903 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15904 \begin_inset Text
15905
15906 \begin_layout Plain Layout
15907 sd
15908 \end_layout
15909
15910 \end_inset
15911 </cell>
15912 </row>
15913 </lyxtabular>
15914
15915 \end_inset
15916
15917
15918 \end_layout
15919
15920 \end_inset
15921
15922
15923 \end_layout
15924
15925 \begin_layout Standard
15926 \begin_inset ERT
15927 status collapsed
15928
15929 \begin_layout Plain Layout
15930
15931
15932 \backslash
15933 renewcommand{
15934 \backslash
15935 hline}{
15936 \backslash
15937 myHlineC}
15938 \end_layout
15939
15940 \end_inset
15941
15942
15943 \end_layout
15944
15945 \begin_layout Standard
15946 \begin_inset ERT
15947 status collapsed
15948
15949 \begin_layout Plain Layout
15950
15951
15952 \backslash
15953 setlength{
15954 \backslash
15955 arrayrulewidth}{0.4pt}
15956 \end_layout
15957
15958 \end_inset
15959
15960
15961 \end_layout
15962
15963 \begin_layout Section
15964 Table Customization
15965 \begin_inset Index
15966 status collapsed
15967
15968 \begin_layout Plain Layout
15969 Table Customization
15970 \end_layout
15971
15972 \end_inset
15973
15974
15975 \begin_inset Index
15976 status collapsed
15977
15978 \begin_layout Plain Layout
15979 Table ! Customization
15980 \end_layout
15981
15982 \end_inset
15983
15984
15985 \end_layout
15986
15987 \begin_layout Subsection
15988 Row Spacing
15989 \begin_inset CommandInset label
15990 LatexCommand label
15991 name "sub:Row-Spacing"
15992
15993 \end_inset
15994
15995
15996 \begin_inset Index
15997 status collapsed
15998
15999 \begin_layout Plain Layout
16000 Table Customization ! Row Spacing
16001 \end_layout
16002
16003 \end_inset
16004
16005
16006 \end_layout
16007
16008 \begin_layout Standard
16009 You can add vertical space to table rows in the 
16010 \family sans
16011 Borders
16012 \family default
16013  tab of the table dialog.
16014  You find there three possibilities:
16015 \end_layout
16016
16017 \begin_layout Description
16018 Top
16019 \begin_inset space ~
16020 \end_inset
16021
16022 of
16023 \begin_inset space ~
16024 \end_inset
16025
16026 row will add space above the characters of the table row.
16027  If the table is a formal table
16028 \begin_inset Foot
16029 status collapsed
16030
16031 \begin_layout Plain Layout
16032 Formal tables are explained in section
16033 \begin_inset space ~
16034 \end_inset
16035
16036
16037 \begin_inset CommandInset ref
16038 LatexCommand ref
16039 reference "sec:Formal-Tables"
16040
16041 \end_inset
16042
16043 .
16044 \end_layout
16045
16046 \end_inset
16047
16048  LyX will insert as default 0.5
16049 \begin_inset space \thinspace{}
16050 \end_inset
16051
16052 em space.
16053  For normal tables the inserted space will unfortunately destroy the vertical
16054  table lines as in the following table:
16055 \begin_inset VSpace medskip
16056 \end_inset
16057
16058
16059 \begin_inset Newline newline
16060 \end_inset
16061
16062
16063 \begin_inset space \hspace*{}
16064 \length 0pt
16065 \end_inset
16066
16067
16068 \begin_inset space \hfill{}
16069 \end_inset
16070
16071
16072 \begin_inset Tabular
16073 <lyxtabular version="3" rows="3" columns="1">
16074 <features>
16075 <column alignment="center" valignment="top" width="0">
16076 <row>
16077 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16078 \begin_inset Text
16079
16080 \begin_layout Plain Layout
16081 A
16082 \end_layout
16083
16084 \end_inset
16085 </cell>
16086 </row>
16087 <row topspace="3mm">
16088 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16089 \begin_inset Text
16090
16091 \begin_layout Plain Layout
16092 3
16093 \begin_inset space \thinspace{}
16094 \end_inset
16095
16096 mm space top of row
16097 \end_layout
16098
16099 \end_inset
16100 </cell>
16101 </row>
16102 <row>
16103 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16104 \begin_inset Text
16105
16106 \begin_layout Plain Layout
16107 C
16108 \end_layout
16109
16110 \end_inset
16111 </cell>
16112 </row>
16113 </lyxtabular>
16114
16115 \end_inset
16116
16117
16118 \begin_inset space \hfill{}
16119 \end_inset
16120
16121
16122 \begin_inset space \hspace*{}
16123 \length 0pt
16124 \end_inset
16125
16126
16127 \begin_inset VSpace medskip
16128 \end_inset
16129
16130
16131 \begin_inset Newline newline
16132 \end_inset
16133
16134 So inserting space to the top of row for normal tables is only useful when
16135  you don't have vertical lines.
16136 \end_layout
16137
16138 \begin_layout Description
16139 Bottom
16140 \begin_inset space ~
16141 \end_inset
16142
16143 of
16144 \begin_inset space ~
16145 \end_inset
16146
16147 row will add space below the characters of the table row.
16148  If the table is a formal table LyX will insert as default 0.5
16149 \begin_inset space \thinspace{}
16150 \end_inset
16151
16152 em space, for normal tables the default size is 2
16153 \begin_inset space \thinspace{}
16154 \end_inset
16155
16156 pt.
16157 \end_layout
16158
16159 \begin_layout Description
16160 Between
16161 \begin_inset space ~
16162 \end_inset
16163
16164 rows adds space between the current and the following row.
16165  If the table is a formal table LyX will insert as default 0.5
16166 \begin_inset space \thinspace{}
16167 \end_inset
16168
16169 em space.
16170  For normal tables the inserted space will unfortunately destroy the vertical
16171  table lines as in the following table:
16172 \begin_inset VSpace medskip
16173 \end_inset
16174
16175
16176 \begin_inset Newline newline
16177 \end_inset
16178
16179
16180 \begin_inset space \hspace*{}
16181 \length 0pt
16182 \end_inset
16183
16184
16185 \begin_inset space \hfill{}
16186 \end_inset
16187
16188
16189 \begin_inset Tabular
16190 <lyxtabular version="3" rows="3" columns="1">
16191 <features>
16192 <column alignment="center" valignment="top" width="0">
16193 <row>
16194 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16195 \begin_inset Text
16196
16197 \begin_layout Plain Layout
16198 A
16199 \end_layout
16200
16201 \end_inset
16202 </cell>
16203 </row>
16204 <row interlinespace="3mm">
16205 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16206 \begin_inset Text
16207
16208 \begin_layout Plain Layout
16209 \begin_inset Formula $\downarrow$
16210 \end_inset
16211
16212  3
16213 \begin_inset space \thinspace{}
16214 \end_inset
16215
16216 mm space between row 
16217 \begin_inset Formula $\downarrow$
16218 \end_inset
16219
16220
16221 \end_layout
16222
16223 \end_inset
16224 </cell>
16225 </row>
16226 <row>
16227 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16228 \begin_inset Text
16229
16230 \begin_layout Plain Layout
16231 \begin_inset Formula $\uparrow$
16232 \end_inset
16233
16234  3
16235 \begin_inset space \thinspace{}
16236 \end_inset
16237
16238 mm space between row 
16239 \begin_inset Formula $\uparrow$
16240 \end_inset
16241
16242
16243 \end_layout
16244
16245 \end_inset
16246 </cell>
16247 </row>
16248 </lyxtabular>
16249
16250 \end_inset
16251
16252
16253 \begin_inset space \hfill{}
16254 \end_inset
16255
16256
16257 \begin_inset space \hspace*{}
16258 \length 0pt
16259 \end_inset
16260
16261
16262 \begin_inset VSpace medskip
16263 \end_inset
16264
16265
16266 \begin_inset Newline newline
16267 \end_inset
16268
16269 So inserting space between rows for normal tables is only useful when you
16270  don't have vertical lines.
16271 \end_layout
16272
16273 \begin_layout Standard
16274 \begin_inset VSpace bigskip
16275 \end_inset
16276
16277 When you want to add extra height to all cells of all tables, you can do
16278  this with the following preamble lines:
16279 \end_layout
16280
16281 \begin_layout Standard
16282
16283 \series bold
16284
16285 \backslash
16286 @ifundefined{extrarowheight}
16287 \begin_inset Newline newline
16288 \end_inset
16289
16290
16291 \begin_inset ERT
16292 status collapsed
16293
16294 \begin_layout Plain Layout
16295
16296
16297 \backslash
16298 hphantom{ }
16299 \end_layout
16300
16301 \end_inset
16302
16303 {
16304 \backslash
16305 usepackage{array}}{}
16306 \begin_inset Newline newline
16307 \end_inset
16308
16309
16310 \backslash
16311 setlength{
16312 \backslash
16313 extrarowheight}{height}
16314 \end_layout
16315
16316 \begin_layout Standard
16317 But this has the disadvantage that the cell texts are no longer exactly
16318  vertically centered.
16319  (The package 
16320 \series bold
16321 array
16322 \series default
16323  will be loaded automatically by LyX when you use self defined table formats.
16324  To avoid that it is loaded twice the command 
16325 \series bold
16326
16327 \backslash
16328 @ifundefined
16329 \series default
16330  is used in the above command.)
16331 \end_layout
16332
16333 \begin_layout Standard
16334 In case you are using font sizes larger than the normal size, the table
16335  borders are often too close to the letters.
16336  This can be corrected by inserting the command 
16337 \series bold
16338
16339 \backslash
16340 strut
16341 \series default
16342  in TeX code at the beginning of a table row.
16343  Table
16344 \begin_inset space ~
16345 \end_inset
16346
16347
16348 \begin_inset CommandInset ref
16349 LatexCommand ref
16350 reference "tab:Vertical-alignment-of"
16351
16352 \end_inset
16353
16354  visualizes the effect.
16355 \end_layout
16356
16357 \begin_layout Standard
16358 \noindent
16359 \begin_inset Float table
16360 placement h
16361 wide false
16362 sideways false
16363 status open
16364
16365 \begin_layout Plain Layout
16366 \begin_inset Caption
16367
16368 \begin_layout Plain Layout
16369 \begin_inset CommandInset label
16370 LatexCommand label
16371 name "tab:Vertical-alignment-of"
16372
16373 \end_inset
16374
16375 Vertical alignment of text with large font sizes.
16376 \end_layout
16377
16378 \end_inset
16379
16380
16381 \end_layout
16382
16383 \begin_layout Plain Layout
16384 \begin_inset space \hfill{}
16385 \end_inset
16386
16387
16388 \begin_inset Float table
16389 wide false
16390 sideways false
16391 status collapsed
16392
16393 \begin_layout Plain Layout
16394 \begin_inset Caption
16395
16396 \begin_layout Plain Layout
16397 Normal table.
16398 \end_layout
16399
16400 \end_inset
16401
16402
16403 \end_layout
16404
16405 \begin_layout Plain Layout
16406 \noindent
16407 \align center
16408 \begin_inset Tabular
16409 <lyxtabular version="3" rows="6" columns="1">
16410 <features>
16411 <column alignment="left" valignment="top" width="0">
16412 <row>
16413 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16414 \begin_inset Text
16415
16416 \begin_layout Plain Layout
16417 Normal, g
16418 \end_layout
16419
16420 \end_inset
16421 </cell>
16422 </row>
16423 <row>
16424 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16425 \begin_inset Text
16426
16427 \begin_layout Plain Layout
16428
16429 \size large
16430 Large
16431 \end_layout
16432
16433 \end_inset
16434 </cell>
16435 </row>
16436 <row>
16437 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16438 \begin_inset Text
16439
16440 \begin_layout Plain Layout
16441
16442 \size larger
16443 Larger
16444 \end_layout
16445
16446 \end_inset
16447 </cell>
16448 </row>
16449 <row>
16450 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16451 \begin_inset Text
16452
16453 \begin_layout Plain Layout
16454
16455 \size largest
16456 Largest
16457 \end_layout
16458
16459 \end_inset
16460 </cell>
16461 </row>
16462 <row>
16463 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16464 \begin_inset Text
16465
16466 \begin_layout Plain Layout
16467
16468 \size huge
16469 Huge
16470 \end_layout
16471
16472 \end_inset
16473 </cell>
16474 </row>
16475 <row>
16476 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16477 \begin_inset Text
16478
16479 \begin_layout Plain Layout
16480
16481 \size huge
16482 Huger
16483 \end_layout
16484
16485 \end_inset
16486 </cell>
16487 </row>
16488 </lyxtabular>
16489
16490 \end_inset
16491
16492
16493 \end_layout
16494
16495 \end_inset
16496
16497
16498 \begin_inset space \hfill{}
16499 \end_inset
16500
16501
16502 \begin_inset Float table
16503 wide false
16504 sideways false
16505 status collapsed
16506
16507 \begin_layout Plain Layout
16508 \begin_inset Caption
16509
16510 \begin_layout Plain Layout
16511 Table using the command 
16512 \series bold
16513
16514 \backslash
16515 strut
16516 \series default
16517 .
16518 \end_layout
16519
16520 \end_inset
16521
16522
16523 \end_layout
16524
16525 \begin_layout Plain Layout
16526 \noindent
16527 \align center
16528 \begin_inset Tabular
16529 <lyxtabular version="3" rows="6" columns="1">
16530 <features>
16531 <column alignment="left" valignment="top" width="0">
16532 <row>
16533 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16534 \begin_inset Text
16535
16536 \begin_layout Plain Layout
16537 Normal, g
16538 \end_layout
16539
16540 \end_inset
16541 </cell>
16542 </row>
16543 <row>
16544 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16545 \begin_inset Text
16546
16547 \begin_layout Plain Layout
16548
16549 \size large
16550 \begin_inset ERT
16551 status collapsed
16552
16553 \begin_layout Plain Layout
16554
16555
16556 \backslash
16557 strut 
16558 \end_layout
16559
16560 \end_inset
16561
16562 Large
16563 \end_layout
16564
16565 \end_inset
16566 </cell>
16567 </row>
16568 <row>
16569 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16570 \begin_inset Text
16571
16572 \begin_layout Plain Layout
16573
16574 \size larger
16575 \begin_inset ERT
16576 status collapsed
16577
16578 \begin_layout Plain Layout
16579
16580
16581 \backslash
16582 strut 
16583 \end_layout
16584
16585 \end_inset
16586
16587 Larger
16588 \end_layout
16589
16590 \end_inset
16591 </cell>
16592 </row>
16593 <row>
16594 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16595 \begin_inset Text
16596
16597 \begin_layout Plain Layout
16598
16599 \size largest
16600 \begin_inset ERT
16601 status collapsed
16602
16603 \begin_layout Plain Layout
16604
16605
16606 \backslash
16607 strut 
16608 \end_layout
16609
16610 \end_inset
16611
16612 Largest
16613 \end_layout
16614
16615 \end_inset
16616 </cell>
16617 </row>
16618 <row>
16619 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16620 \begin_inset Text
16621
16622 \begin_layout Plain Layout
16623
16624 \size huge
16625 \begin_inset ERT
16626 status collapsed
16627
16628 \begin_layout Plain Layout
16629
16630
16631 \backslash
16632 strut 
16633 \end_layout
16634
16635 \end_inset
16636
16637 Huge
16638 \end_layout
16639
16640 \end_inset
16641 </cell>
16642 </row>
16643 <row>
16644 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16645 \begin_inset Text
16646
16647 \begin_layout Plain Layout
16648
16649 \size giant
16650 \begin_inset ERT
16651 status collapsed
16652
16653 \begin_layout Plain Layout
16654
16655
16656 \backslash
16657 strut 
16658 \end_layout
16659
16660 \end_inset
16661
16662
16663 \size huge
16664 Huger
16665 \end_layout
16666
16667 \end_inset
16668 </cell>
16669 </row>
16670 </lyxtabular>
16671
16672 \end_inset
16673
16674
16675 \end_layout
16676
16677 \end_inset
16678
16679
16680 \begin_inset space \hfill{}
16681 \end_inset
16682
16683
16684 \end_layout
16685
16686 \end_inset
16687
16688
16689 \end_layout
16690
16691 \begin_layout Subsection
16692 Special Cell Alignment
16693 \begin_inset Index
16694 status collapsed
16695
16696 \begin_layout Plain Layout
16697 Table Customization ! Special Cell Alignment
16698 \end_layout
16699
16700 \end_inset
16701
16702
16703 \end_layout
16704
16705 \begin_layout Standard
16706 Sometimes it looks better when the cell entries of a column are aligned
16707  with a special character, e.
16708 \begin_inset space \thinspace{}
16709 \end_inset
16710
16711 g.
16712 \begin_inset space \space{}
16713 \end_inset
16714
16715 with the decimal separator as in Table
16716 \begin_inset space ~
16717 \end_inset
16718
16719
16720 \begin_inset CommandInset ref
16721 LatexCommand ref
16722 reference "tab:Table-cells-of"
16723
16724 \end_inset
16725
16726 .
16727 \end_layout
16728
16729 \begin_layout Standard
16730 \begin_inset Float table
16731 placement h
16732 wide false
16733 sideways false
16734 status open
16735
16736 \begin_layout Plain Layout
16737 \begin_inset Caption
16738
16739 \begin_layout Plain Layout
16740 \begin_inset CommandInset label
16741 LatexCommand label
16742 name "tab:Table-cells-of"
16743
16744 \end_inset
16745
16746 Table cells of a column aligned with the decimal separator.
16747 \end_layout
16748
16749 \end_inset
16750
16751
16752 \end_layout
16753
16754 \begin_layout Plain Layout
16755 \align center
16756 \begin_inset Tabular
16757 <lyxtabular version="3" rows="4" columns="2">
16758 <features>
16759 <column alignment="right" valignment="top" width="0">
16760 <column alignment="left" valignment="top" width="0" special="@{}l">
16761 <row>
16762 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
16763 \begin_inset Text
16764
16765 \begin_layout Plain Layout
16766 heading
16767 \end_layout
16768
16769 \end_inset
16770 </cell>
16771 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16772 \begin_inset Text
16773
16774 \begin_layout Plain Layout
16775
16776 \end_layout
16777
16778 \end_inset
16779 </cell>
16780 </row>
16781 <row>
16782 <cell alignment="center" valignment="top" usebox="none">
16783 \begin_inset Text
16784
16785 \begin_layout Plain Layout
16786 12.
16787 \end_layout
16788
16789 \end_inset
16790 </cell>
16791 <cell alignment="center" valignment="top" usebox="none">
16792 \begin_inset Text
16793
16794 \begin_layout Plain Layout
16795 6
16796 \end_layout
16797
16798 \end_inset
16799 </cell>
16800 </row>
16801 <row>
16802 <cell alignment="center" valignment="top" usebox="none">
16803 \begin_inset Text
16804
16805 \begin_layout Plain Layout
16806 0.
16807 \end_layout
16808
16809 \end_inset
16810 </cell>
16811 <cell alignment="center" valignment="top" usebox="none">
16812 \begin_inset Text
16813
16814 \begin_layout Plain Layout
16815 68
16816 \end_layout
16817
16818 \end_inset
16819 </cell>
16820 </row>
16821 <row>
16822 <cell alignment="center" valignment="top" usebox="none">
16823 \begin_inset Text
16824
16825 \begin_layout Plain Layout
16826 -123.
16827 \end_layout
16828
16829 \end_inset
16830 </cell>
16831 <cell alignment="center" valignment="top" usebox="none">
16832 \begin_inset Text
16833
16834 \begin_layout Plain Layout
16835 0
16836 \end_layout
16837
16838 \end_inset
16839 </cell>
16840 </row>
16841 </lyxtabular>
16842
16843 \end_inset
16844
16845
16846 \end_layout
16847
16848 \end_inset
16849
16850
16851 \end_layout
16852
16853 \begin_layout Standard
16854 This table was created with a 4×2 table.
16855  The heading is a centered multicolumn.
16856  The first column is right-aligned and contains the digits before the decimal
16857  point and the decimal point.
16858  The second column is left aligned and contains the digits after the decimal
16859  point.
16860  To omit the space that is normally between two table columns, use the following
16861  LaTeX-argument for the second column:
16862 \end_layout
16863
16864 \begin_layout Standard
16865
16866 \series bold
16867 @{}l
16868 \end_layout
16869
16870 \begin_layout Standard
16871 Table
16872 \begin_inset space ~
16873 \end_inset
16874
16875
16876 \begin_inset CommandInset ref
16877 LatexCommand ref
16878 reference "tab:Several-table-cell"
16879
16880 \end_inset
16881
16882  shows some example alignments.
16883  For the alignment with the relation sign, you must add the second smallest
16884  math-space at the beginning of the last column to get the correct space
16885  surrounding the relation sign.
16886 \end_layout
16887
16888 \begin_layout Standard
16889 \begin_inset Float table
16890 wide false
16891 sideways false
16892 status open
16893
16894 \begin_layout Plain Layout
16895 \begin_inset Caption
16896
16897 \begin_layout Plain Layout
16898 \begin_inset CommandInset label
16899 LatexCommand label
16900 name "tab:Several-table-cell"
16901
16902 \end_inset
16903
16904 Several table cell alignments.
16905 \end_layout
16906
16907 \end_inset
16908
16909
16910 \end_layout
16911
16912 \begin_layout Plain Layout
16913 \align center
16914 \begin_inset Tabular
16915 <lyxtabular version="3" rows="4" columns="6">
16916 <features>
16917 <column alignment="right" valignment="top" width="0">
16918 <column alignment="left" valignment="top" width="0" special="@{}l">
16919 <column alignment="right" valignment="top" width="0">
16920 <column alignment="left" valignment="top" width="0" special="@{}l">
16921 <column alignment="right" valignment="top" width="0">
16922 <column alignment="left" valignment="top" width="0" special="@{}l">
16923 <row>
16924 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16925 \begin_inset Text
16926
16927 \begin_layout Plain Layout
16928 units
16929 \end_layout
16930
16931 \end_inset
16932 </cell>
16933 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16934 \begin_inset Text
16935
16936 \begin_layout Plain Layout
16937
16938 \end_layout
16939
16940 \end_inset
16941 </cell>
16942 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16943 \begin_inset Text
16944
16945 \begin_layout Plain Layout
16946 exponents
16947 \end_layout
16948
16949 \end_inset
16950 </cell>
16951 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16952 \begin_inset Text
16953
16954 \begin_layout Plain Layout
16955
16956 \end_layout
16957
16958 \end_inset
16959 </cell>
16960 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
16961 \begin_inset Text
16962
16963 \begin_layout Plain Layout
16964 relations
16965 \end_layout
16966
16967 \end_inset
16968 </cell>
16969 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16970 \begin_inset Text
16971
16972 \begin_layout Plain Layout
16973
16974 \end_layout
16975
16976 \end_inset
16977 </cell>
16978 </row>
16979 <row>
16980 <cell alignment="center" valignment="top" usebox="none">
16981 \begin_inset Text
16982
16983 \begin_layout Plain Layout
16984 12×
16985 \end_layout
16986
16987 \end_inset
16988 </cell>
16989 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16990 \begin_inset Text
16991
16992 \begin_layout Plain Layout
16993 24
16994 \begin_inset space \thinspace{}
16995 \end_inset
16996
16997 bottles
16998 \end_layout
16999
17000 \end_inset
17001 </cell>
17002 <cell alignment="center" valignment="top" usebox="none">
17003 \begin_inset Text
17004
17005 \begin_layout Plain Layout
17006 \begin_inset Formula $10\cdot$
17007 \end_inset
17008
17009
17010 \end_layout
17011
17012 \end_inset
17013 </cell>
17014 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17015 \begin_inset Text
17016
17017 \begin_layout Plain Layout
17018 \begin_inset Formula $10^{\mbox{-}17}$
17019 \end_inset
17020
17021
17022 \end_layout
17023
17024 \end_inset
17025 </cell>
17026 <cell alignment="center" valignment="top" usebox="none">
17027 \begin_inset Text
17028
17029 \begin_layout Plain Layout
17030 \begin_inset Formula $\Gamma(t)\propto$
17031 \end_inset
17032
17033
17034 \end_layout
17035
17036 \end_inset
17037 </cell>
17038 <cell alignment="center" valignment="top" usebox="none">
17039 \begin_inset Text
17040
17041 \begin_layout Plain Layout
17042 \begin_inset Formula $\:\Upsilon(t)$
17043 \end_inset
17044
17045
17046 \end_layout
17047
17048 \end_inset
17049 </cell>
17050 </row>
17051 <row>
17052 <cell alignment="center" valignment="top" usebox="none">
17053 \begin_inset Text
17054
17055 \begin_layout Plain Layout
17056 1024×
17057 \end_layout
17058
17059 \end_inset
17060 </cell>
17061 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17062 \begin_inset Text
17063
17064 \begin_layout Plain Layout
17065 768
17066 \begin_inset space \thinspace{}
17067 \end_inset
17068
17069 Pixels
17070 \end_layout
17071
17072 \end_inset
17073 </cell>
17074 <cell alignment="center" valignment="top" usebox="none">
17075 \begin_inset Text
17076
17077 \begin_layout Plain Layout
17078 \begin_inset Formula $5.78\cdot$
17079 \end_inset
17080
17081
17082 \end_layout
17083
17084 \end_inset
17085 </cell>
17086 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17087 \begin_inset Text
17088
17089 \begin_layout Plain Layout
17090 \begin_inset Formula $10^{7}$
17091 \end_inset
17092
17093
17094 \end_layout
17095
17096 \end_inset
17097 </cell>
17098 <cell alignment="center" valignment="top" usebox="none">
17099 \begin_inset Text
17100
17101 \begin_layout Plain Layout
17102 \begin_inset Formula $A\ne$
17103 \end_inset
17104
17105
17106 \end_layout
17107
17108 \end_inset
17109 </cell>
17110 <cell alignment="center" valignment="top" usebox="none">
17111 \begin_inset Text
17112
17113 \begin_layout Plain Layout
17114 \begin_inset Formula $\: B_{\mathrm{red}}$
17115 \end_inset
17116
17117
17118 \end_layout
17119
17120 \end_inset
17121 </cell>
17122 </row>
17123 <row>
17124 <cell alignment="center" valignment="top" usebox="none">
17125 \begin_inset Text
17126
17127 \begin_layout Plain Layout
17128 32×
17129 \end_layout
17130
17131 \end_inset
17132 </cell>
17133 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17134 \begin_inset Text
17135
17136 \begin_layout Plain Layout
17137 6
17138 \begin_inset space \thinspace{}
17139 \end_inset
17140
17141 cm
17142 \end_layout
17143
17144 \end_inset
17145 </cell>
17146 <cell alignment="center" valignment="top" usebox="none">
17147 \begin_inset Text
17148
17149 \begin_layout Plain Layout
17150 -
17151 \begin_inset Formula $33.5\cdot$
17152 \end_inset
17153
17154
17155 \end_layout
17156
17157 \end_inset
17158 </cell>
17159 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17160 \begin_inset Text
17161
17162 \begin_layout Plain Layout
17163 \begin_inset Formula $10^{4}$
17164 \end_inset
17165
17166
17167 \end_layout
17168
17169 \end_inset
17170 </cell>
17171 <cell alignment="center" valignment="top" usebox="none">
17172 \begin_inset Text
17173
17174 \begin_layout Plain Layout
17175 \begin_inset Formula $\sin(\alpha)\ge$
17176 \end_inset
17177
17178
17179 \end_layout
17180
17181 \end_inset
17182 </cell>
17183 <cell alignment="center" valignment="top" usebox="none">
17184 \begin_inset Text
17185
17186 \begin_layout Plain Layout
17187 \begin_inset Formula $\:\sin(\beta)$
17188 \end_inset
17189
17190
17191 \end_layout
17192
17193 \end_inset
17194 </cell>
17195 </row>
17196 </lyxtabular>
17197
17198 \end_inset
17199
17200
17201 \end_layout
17202
17203 \end_inset
17204
17205
17206 \end_layout
17207
17208 \begin_layout Standard
17209 \begin_inset VSpace bigskip
17210 \end_inset
17211
17212 There is also the LaTeX-package 
17213 \series bold
17214 dcolumn
17215 \series default
17216
17217 \begin_inset Index
17218 status collapsed
17219
17220 \begin_layout Plain Layout
17221 LaTeX-packages ! dcolumn
17222 \end_layout
17223
17224 \end_inset
17225
17226  that provides table cell alignments.
17227  But this unfortunately treats the cell entries as math and doesn't allow
17228  formulas in table cells: The first column of Table
17229 \begin_inset space ~
17230 \end_inset
17231
17232
17233 \begin_inset CommandInset ref
17234 LatexCommand ref
17235 reference "tab:Several-table-cell"
17236
17237 \end_inset
17238
17239  will look with 
17240 \series bold
17241 dcolumn
17242 \series default
17243  like the first column in Table
17244 \begin_inset space ~
17245 \end_inset
17246
17247
17248 \begin_inset CommandInset ref
17249 LatexCommand ref
17250 reference "tab:Alignments-when"
17251
17252 \end_inset
17253
17254  and only with some tricks like the expected.
17255  The alignment of the second and third column of Table
17256 \begin_inset space ~
17257 \end_inset
17258
17259
17260 \begin_inset CommandInset ref
17261 LatexCommand ref
17262 reference "tab:Several-table-cell"
17263
17264 \end_inset
17265
17266  is not possible with 
17267 \series bold
17268 dcolumn
17269 \series default
17270 .
17271 \end_layout
17272
17273 \begin_layout Standard
17274 \begin_inset Float table
17275 placement h
17276 wide false
17277 sideways false
17278 status open
17279
17280 \begin_layout Plain Layout
17281 \begin_inset Caption
17282
17283 \begin_layout Plain Layout
17284 \begin_inset CommandInset label
17285 LatexCommand label
17286 name "tab:Alignments-when"
17287
17288 \end_inset
17289
17290 Alignments when LaTeX-package dcolumn is used.
17291  For all column alignments tricks have to be used to get the output.
17292 \end_layout
17293
17294 \end_inset
17295
17296
17297 \end_layout
17298
17299 \begin_layout Plain Layout
17300 \align center
17301 \begin_inset Tabular
17302 <lyxtabular version="3" rows="4" columns="3">
17303 <features>
17304 <column alignment="center" valignment="top" width="0" special="D{x}{\times}{-1}">
17305 <column alignment="center" valignment="top" width="0" special="D{x}{\times}{4.9}">
17306 <column alignment="center" valignment="top" width="0" special="D{~}{\,}{9.7}">
17307 <row>
17308 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
17309 \begin_inset Text
17310
17311 \begin_layout Plain Layout
17312 units
17313 \end_layout
17314
17315 \end_inset
17316 </cell>
17317 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
17318 \begin_inset Text
17319
17320 \begin_layout Plain Layout
17321 units
17322 \end_layout
17323
17324 \end_inset
17325 </cell>
17326 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
17327 \begin_inset Text
17328
17329 \begin_layout Plain Layout
17330 units
17331 \end_layout
17332
17333 \end_inset
17334 </cell>
17335 </row>
17336 <row>
17337 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17338 \begin_inset Text
17339
17340 \begin_layout Plain Layout
17341 12x24
17342 \begin_inset space \thinspace{}
17343 \end_inset
17344
17345 bottles
17346 \end_layout
17347
17348 \end_inset
17349 </cell>
17350 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17351 \begin_inset Text
17352
17353 \begin_layout Plain Layout
17354 12x24
17355 \begin_inset space \thinspace{}
17356 \end_inset
17357
17358
17359 \begin_inset Formula $\mbox{bottles}$
17360 \end_inset
17361
17362
17363 \end_layout
17364
17365 \end_inset
17366 </cell>
17367 <cell alignment="center" valignment="top" usebox="none">
17368 \begin_inset Text
17369
17370 \begin_layout Plain Layout
17371 12
17372 \begin_inset ERT
17373 status collapsed
17374
17375 \begin_layout Plain Layout
17376
17377
17378 \backslash
17379 times 
17380 \end_layout
17381
17382 \end_inset
17383
17384 24~
17385 \begin_inset Formula $\mbox{bottles}$
17386 \end_inset
17387
17388
17389 \end_layout
17390
17391 \end_inset
17392 </cell>
17393 </row>
17394 <row>
17395 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17396 \begin_inset Text
17397
17398 \begin_layout Plain Layout
17399 1024x768
17400 \begin_inset space \thinspace{}
17401 \end_inset
17402
17403 Pixels
17404 \end_layout
17405
17406 \end_inset
17407 </cell>
17408 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17409 \begin_inset Text
17410
17411 \begin_layout Plain Layout
17412 1024x768
17413 \begin_inset space \thinspace{}
17414 \end_inset
17415
17416
17417 \begin_inset Formula $\mbox{Pixels}$
17418 \end_inset
17419
17420
17421 \end_layout
17422
17423 \end_inset
17424 </cell>
17425 <cell alignment="center" valignment="top" usebox="none">
17426 \begin_inset Text
17427
17428 \begin_layout Plain Layout
17429 1024
17430 \begin_inset ERT
17431 status collapsed
17432
17433 \begin_layout Plain Layout
17434
17435
17436 \backslash
17437 times 
17438 \end_layout
17439
17440 \end_inset
17441
17442 768~
17443 \begin_inset Formula $\mbox{Pixels}$
17444 \end_inset
17445
17446
17447 \end_layout
17448
17449 \end_inset
17450 </cell>
17451 </row>
17452 <row>
17453 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17454 \begin_inset Text
17455
17456 \begin_layout Plain Layout
17457 32x6
17458 \begin_inset space \thinspace{}
17459 \end_inset
17460
17461 cm
17462 \end_layout
17463
17464 \end_inset
17465 </cell>
17466 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17467 \begin_inset Text
17468
17469 \begin_layout Plain Layout
17470 32x6
17471 \begin_inset space \thinspace{}
17472 \end_inset
17473
17474
17475 \begin_inset Formula $\mbox{cm}$
17476 \end_inset
17477
17478
17479 \end_layout
17480
17481 \end_inset
17482 </cell>
17483 <cell alignment="center" valignment="top" usebox="none">
17484 \begin_inset Text
17485
17486 \begin_layout Plain Layout
17487 32
17488 \begin_inset ERT
17489 status collapsed
17490
17491 \begin_layout Plain Layout
17492
17493
17494 \backslash
17495 times 
17496 \end_layout
17497
17498 \end_inset
17499
17500 6~
17501 \begin_inset Formula $\mbox{cm}$
17502 \end_inset
17503
17504
17505 \end_layout
17506
17507 \end_inset
17508 </cell>
17509 </row>
17510 </lyxtabular>
17511
17512 \end_inset
17513
17514
17515 \end_layout
17516
17517 \end_inset
17518
17519
17520 \end_layout
17521
17522 \begin_layout Subsection
17523 Customized Cell/Column Format
17524 \begin_inset CommandInset label
17525 LatexCommand label
17526 name "sub:Customized-Format"
17527
17528 \end_inset
17529
17530
17531 \begin_inset Index
17532 status collapsed
17533
17534 \begin_layout Plain Layout
17535 Table Customization ! Cell/Column Format
17536 \end_layout
17537
17538 \end_inset
17539
17540
17541 \end_layout
17542
17543 \begin_layout Standard
17544 Calculating the needed width for spanned columns like in section
17545 \begin_inset space ~
17546 \end_inset
17547
17548
17549 \begin_inset CommandInset ref
17550 LatexCommand ref
17551 reference "sub:Multicolumn-Calculations"
17552
17553 \end_inset
17554
17555  is very annoying if you have several tables with multicolumn cells.
17556  To make life easier, you can define a cell/column format in the preamble,
17557  so that it can be used in all tables of the document.
17558  The format is defined with the command
17559 \end_layout
17560
17561 \begin_layout Standard
17562
17563 \series bold
17564
17565 \backslash
17566 newcolumntype{name of format}[number of arguments]{commands}
17567 \end_layout
17568
17569 \begin_layout Standard
17570 The format name may only consist of one letter.
17571  The letters 
17572 \emph on
17573 b
17574 \emph default
17575
17576 \emph on
17577 c
17578 \emph default
17579
17580 \emph on
17581 l
17582 \emph default
17583
17584 \emph on
17585 m
17586 \emph default
17587
17588 \emph on
17589 p
17590 \emph default
17591  and 
17592 \emph on
17593 r
17594 \emph default
17595  are predefined and cannot be used.
17596  But all letters are allowed as capitals.
17597 \end_layout
17598
17599 \begin_layout Standard
17600 \begin_inset VSpace medskip
17601 \end_inset
17602
17603
17604 \end_layout
17605
17606 \begin_layout Standard
17607 For vertically and horizontally centered multicolumn cells with a fixed
17608  width you can define the cell format
17609 \end_layout
17610
17611 \begin_layout Standard
17612
17613 \series bold
17614
17615 \backslash
17616 newcolumntype{M}[1]{>{
17617 \backslash
17618 centering
17619 \backslash
17620 hspace{0pt}}m{#1}}
17621 \end_layout
17622
17623 \begin_layout Standard
17624 where 
17625 \series bold
17626
17627 \backslash
17628 hspace{0pt}
17629 \series default
17630  avoids the problem of hyphenating the first word, as described in section
17631 \begin_inset space ~
17632 \end_inset
17633
17634
17635 \begin_inset CommandInset ref
17636 LatexCommand ref
17637 reference "sub:Multiple-Lines-in"
17638
17639 \end_inset
17640
17641 .
17642  Now you can simply enter
17643 \end_layout
17644
17645 \begin_layout Standard
17646
17647 \series bold
17648 M{width}
17649 \end_layout
17650
17651 \begin_layout Standard
17652 as LaTeX-argument in the table dialog to create a multicolumn.
17653 \end_layout
17654
17655 \begin_layout Standard
17656 \begin_inset VSpace bigskip
17657 \end_inset
17658
17659
17660 \end_layout
17661
17662 \begin_layout Standard
17663 For cells spanned by a multicolumn cell, you can define the format
17664 \end_layout
17665
17666 \begin_layout Standard
17667
17668 \series bold
17669
17670 \backslash
17671 newcolumntype{S}[2]{>{
17672 \backslash
17673 centering
17674 \backslash
17675 hspace{0pt}}
17676 \begin_inset Newline newline
17677 \end_inset
17678
17679
17680 \begin_inset ERT
17681 status collapsed
17682
17683 \begin_layout Plain Layout
17684
17685
17686 \backslash
17687 phantom{
17688 \end_layout
17689
17690 \end_inset
17691
17692
17693 \backslash
17694 newcolumntype
17695 \begin_inset ERT
17696 status collapsed
17697
17698 \begin_layout Plain Layout
17699
17700 }
17701 \end_layout
17702
17703 \end_inset
17704
17705 m{(#1+(2
17706 \backslash
17707 tabcolsep+
17708 \backslash
17709 arrayrulewidth)*(1-#2))/#2}}
17710 \end_layout
17711
17712 \begin_layout Standard
17713 This format uses equation 
17714 \begin_inset CommandInset ref
17715 LatexCommand eqref
17716 reference "eq:Wgn"
17717
17718 \end_inset
17719
17720  to calculate the needed width so that each spanned cell has the same width.
17721 \end_layout
17722
17723 \begin_layout Standard
17724 You can now enter
17725 \end_layout
17726
17727 \begin_layout Standard
17728
17729 \series bold
17730 S{width of multicolumn cell}{number of spanned columns}
17731 \end_layout
17732
17733 \begin_layout Standard
17734 as LaTeX-argument of the column.
17735 \end_layout
17736
17737 \begin_layout Standard
17738 \begin_inset VSpace bigskip
17739 \end_inset
17740
17741
17742 \end_layout
17743
17744 \begin_layout Standard
17745 For colored columns, you can define
17746 \end_layout
17747
17748 \begin_layout Standard
17749
17750 \series bold
17751
17752 \backslash
17753 newcolumntype{K}[1]{>{
17754 \backslash
17755 columncolor{#1}
17756 \backslash
17757 hspace{0pt}}c}
17758 \end_layout
17759
17760 \begin_layout Standard
17761 The 
17762 \begin_inset Quotes eld
17763 \end_inset
17764
17765 c
17766 \begin_inset Quotes erd
17767 \end_inset
17768
17769  at the end creates a column with a flexible width whose text is horizontally
17770  centered.
17771  You can now enter
17772 \end_layout
17773
17774 \begin_layout Standard
17775
17776 \series bold
17777 K{color name}
17778 \end_layout
17779
17780 \begin_layout Standard
17781 as LaTeX-argument.
17782 \end_layout
17783
17784 \begin_layout Standard
17785 \begin_inset VSpace bigskip
17786 \end_inset
17787
17788
17789 \end_layout
17790
17791 \begin_layout Standard
17792 To create Table
17793 \begin_inset space ~
17794 \end_inset
17795
17796
17797 \begin_inset CommandInset ref
17798 LatexCommand ref
17799 reference "tab:Table-using-user-defined"
17800
17801 \end_inset
17802
17803  use the LaTeX-arguments
17804 \end_layout
17805
17806 \begin_layout Standard
17807
17808 \series bold
17809 M{2.5cm}
17810 \end_layout
17811
17812 \begin_layout Standard
17813 for the first column and the multicolumn,
17814 \end_layout
17815
17816 \begin_layout Standard
17817
17818 \series bold
17819 K{red}
17820 \end_layout
17821
17822 \begin_layout Standard
17823 for the the last column, and
17824 \end_layout
17825
17826 \begin_layout Standard
17827
17828 \series bold
17829 S{2.5cm}{2}
17830 \end_layout
17831
17832 \begin_layout Standard
17833 for the cells in the second column.
17834 \end_layout
17835
17836 \begin_layout Standard
17837 \begin_inset Float table
17838 placement h
17839 wide false
17840 sideways false
17841 status open
17842
17843 \begin_layout Plain Layout
17844 \begin_inset Caption
17845
17846 \begin_layout Plain Layout
17847 \begin_inset CommandInset label
17848 LatexCommand label
17849 name "tab:Table-using-user-defined"
17850
17851 \end_inset
17852
17853 Table using user-defined table formats
17854 \end_layout
17855
17856 \end_inset
17857
17858
17859 \end_layout
17860
17861 \begin_layout Plain Layout
17862 \align center
17863 \begin_inset Tabular
17864 <lyxtabular version="3" rows="3" columns="4">
17865 <features>
17866 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
17867 <column alignment="center" valignment="middle" width="0" special="S{2.5cm}{2}">
17868 <column alignment="center" valignment="middle" width="0">
17869 <column alignment="center" valignment="middle" width="0" special="K{red}">
17870 <row>
17871 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17872 \begin_inset Text
17873
17874 \begin_layout Plain Layout
17875 verylongtablecellword
17876 \end_layout
17877
17878 \end_inset
17879 </cell>
17880 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
17881 \begin_inset Text
17882
17883 \begin_layout Plain Layout
17884 multiple lines multicolumn
17885 \end_layout
17886
17887 \end_inset
17888 </cell>
17889 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17890 \begin_inset Text
17891
17892 \begin_layout Plain Layout
17893
17894 \end_layout
17895
17896 \end_inset
17897 </cell>
17898 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17899 \begin_inset Text
17900
17901 \begin_layout Plain Layout
17902 c
17903 \end_layout
17904
17905 \end_inset
17906 </cell>
17907 </row>
17908 <row>
17909 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17910 \begin_inset Text
17911
17912 \begin_layout Plain Layout
17913 d
17914 \end_layout
17915
17916 \end_inset
17917 </cell>
17918 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17919 \begin_inset Text
17920
17921 \begin_layout Plain Layout
17922 e
17923 \end_layout
17924
17925 \end_inset
17926 </cell>
17927 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17928 \begin_inset Text
17929
17930 \begin_layout Plain Layout
17931 f
17932 \end_layout
17933
17934 \end_inset
17935 </cell>
17936 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17937 \begin_inset Text
17938
17939 \begin_layout Plain Layout
17940 g
17941 \end_layout
17942
17943 \end_inset
17944 </cell>
17945 </row>
17946 <row>
17947 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17948 \begin_inset Text
17949
17950 \begin_layout Plain Layout
17951 h
17952 \end_layout
17953
17954 \end_inset
17955 </cell>
17956 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17957 \begin_inset Text
17958
17959 \begin_layout Plain Layout
17960 i
17961 \end_layout
17962
17963 \end_inset
17964 </cell>
17965 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17966 \begin_inset Text
17967
17968 \begin_layout Plain Layout
17969 j
17970 \end_layout
17971
17972 \end_inset
17973 </cell>
17974 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17975 \begin_inset Text
17976
17977 \begin_layout Plain Layout
17978 k
17979 \end_layout
17980
17981 \end_inset
17982 </cell>
17983 </row>
17984 </lyxtabular>
17985
17986 \end_inset
17987
17988
17989 \end_layout
17990
17991 \end_inset
17992
17993
17994 \end_layout
17995
17996 \begin_layout Subsection
17997 Line Thickness
17998 \begin_inset CommandInset label
17999 LatexCommand label
18000 name "sub:Line-Thickness"
18001
18002 \end_inset
18003
18004
18005 \begin_inset Index
18006 status collapsed
18007
18008 \begin_layout Plain Layout
18009 Table Customization ! Line Thickness
18010 \end_layout
18011
18012 \end_inset
18013
18014
18015 \end_layout
18016
18017 \begin_layout Standard
18018 The line thickness for all lines in a table can be adjusted with the length
18019  
18020 \series bold
18021
18022 \backslash
18023 arrayrulewidth
18024 \series default
18025 .
18026  To set for example a line thickness of 1.5
18027 \begin_inset space \thinspace{}
18028 \end_inset
18029
18030 pt, like in Table
18031 \begin_inset space ~
18032 \end_inset
18033
18034
18035 \begin_inset CommandInset ref
18036 LatexCommand ref
18037 reference "tab:Table-with-1.5"
18038
18039 \end_inset
18040
18041 , insert the command
18042 \end_layout
18043
18044 \begin_layout Standard
18045
18046 \series bold
18047
18048 \backslash
18049 setlength{
18050 \backslash
18051 arrayrulewidth}{1.5pt}
18052 \end_layout
18053
18054 \begin_layout Standard
18055 in TeX-Code before the table or table float.
18056  The changed thickness is valid for all following tables.
18057  To use the default value again, set 
18058 \series bold
18059
18060 \backslash
18061 arrayrulewidth
18062 \series default
18063  to 0.4
18064 \begin_inset space \thinspace{}
18065 \end_inset
18066
18067 pt in TeX-Code behind the table or table float.
18068 \end_layout
18069
18070 \begin_layout Standard
18071 \begin_inset ERT
18072 status collapsed
18073
18074 \begin_layout Plain Layout
18075
18076
18077 \backslash
18078 setlength{
18079 \backslash
18080 arrayrulewidth}{1.5pt}
18081 \end_layout
18082
18083 \end_inset
18084
18085
18086 \begin_inset Float table
18087 wide false
18088 sideways false
18089 status open
18090
18091 \begin_layout Plain Layout
18092 \begin_inset Caption
18093
18094 \begin_layout Plain Layout
18095 \begin_inset CommandInset label
18096 LatexCommand label
18097 name "tab:Table-with-1.5"
18098
18099 \end_inset
18100
18101 Table with 1.5
18102 \begin_inset space \thinspace{}
18103 \end_inset
18104
18105 pt thick lines
18106 \end_layout
18107
18108 \end_inset
18109
18110
18111 \end_layout
18112
18113 \begin_layout Plain Layout
18114 \align center
18115 \begin_inset Tabular
18116 <lyxtabular version="3" rows="3" columns="3">
18117 <features>
18118 <column alignment="center" valignment="top" width="0">
18119 <column alignment="center" valignment="top" width="0">
18120 <column alignment="center" valignment="top" width="0">
18121 <row>
18122 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18123 \begin_inset Text
18124
18125 \begin_layout Plain Layout
18126 sd
18127 \end_layout
18128
18129 \end_inset
18130 </cell>
18131 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18132 \begin_inset Text
18133
18134 \begin_layout Plain Layout
18135
18136 \end_layout
18137
18138 \end_inset
18139 </cell>
18140 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18141 \begin_inset Text
18142
18143 \begin_layout Plain Layout
18144
18145 \end_layout
18146
18147 \end_inset
18148 </cell>
18149 </row>
18150 <row>
18151 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18152 \begin_inset Text
18153
18154 \begin_layout Plain Layout
18155
18156 \end_layout
18157
18158 \end_inset
18159 </cell>
18160 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18161 \begin_inset Text
18162
18163 \begin_layout Plain Layout
18164 sd
18165 \end_layout
18166
18167 \end_inset
18168 </cell>
18169 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18170 \begin_inset Text
18171
18172 \begin_layout Plain Layout
18173
18174 \end_layout
18175
18176 \end_inset
18177 </cell>
18178 </row>
18179 <row>
18180 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18181 \begin_inset Text
18182
18183 \begin_layout Plain Layout
18184
18185 \end_layout
18186
18187 \end_inset
18188 </cell>
18189 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18190 \begin_inset Text
18191
18192 \begin_layout Plain Layout
18193
18194 \end_layout
18195
18196 \end_inset
18197 </cell>
18198 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18199 \begin_inset Text
18200
18201 \begin_layout Plain Layout
18202 sd
18203 \end_layout
18204
18205 \end_inset
18206 </cell>
18207 </row>
18208 </lyxtabular>
18209
18210 \end_inset
18211
18212
18213 \end_layout
18214
18215 \end_inset
18216
18217
18218 \begin_inset ERT
18219 status collapsed
18220
18221 \begin_layout Plain Layout
18222
18223
18224 \backslash
18225 setlength{
18226 \backslash
18227 arrayrulewidth}{0.4pt}
18228 \end_layout
18229
18230 \end_inset
18231
18232
18233 \end_layout
18234
18235 \begin_layout Standard
18236 \begin_inset VSpace bigskip
18237 \end_inset
18238
18239 To set the line thickness to 1.5
18240 \begin_inset space \thinspace{}
18241 \end_inset
18242
18243 pt only for horizontal lines, like in Table
18244 \begin_inset space ~
18245 \end_inset
18246
18247
18248 \begin_inset CommandInset ref
18249 LatexCommand ref
18250 reference "tab:Table-with-horizontal"
18251
18252 \end_inset
18253
18254 , insert these commands in TeX-Code before the table or table float:
18255 \end_layout
18256
18257 \begin_layout Standard
18258
18259 \series bold
18260
18261 \backslash
18262 let
18263 \backslash
18264 myHline
18265 \backslash
18266 hline
18267 \begin_inset Newline newline
18268 \end_inset
18269
18270
18271 \backslash
18272 renewcommand{
18273 \backslash
18274 hline}
18275 \begin_inset Newline newline
18276 \end_inset
18277
18278  {
18279 \backslash
18280 noalign{
18281 \backslash
18282 global
18283 \backslash
18284 arrayrulewidth 1.5pt}
18285 \begin_inset Newline newline
18286 \end_inset
18287
18288  
18289 \backslash
18290 myHline
18291 \backslash
18292 noalign{
18293 \backslash
18294 global
18295 \backslash
18296 arrayrulewidth 0.4pt}}
18297 \end_layout
18298
18299 \begin_layout Standard
18300 To return to the default line thickness, insert this command in TeX-Code
18301  behind the table or table float:
18302 \end_layout
18303
18304 \begin_layout Standard
18305
18306 \series bold
18307
18308 \backslash
18309 renewcommand{
18310 \backslash
18311 hline}{
18312 \backslash
18313 myHline}
18314 \end_layout
18315
18316 \begin_layout Standard
18317 \begin_inset ERT
18318 status collapsed
18319
18320 \begin_layout Plain Layout
18321
18322
18323 \backslash
18324 let
18325 \backslash
18326 myHline
18327 \backslash
18328 hline
18329 \end_layout
18330
18331 \begin_layout Plain Layout
18332
18333
18334 \backslash
18335 renewcommand{
18336 \backslash
18337 hline}
18338 \end_layout
18339
18340 \begin_layout Plain Layout
18341
18342  {
18343 \backslash
18344 noalign{
18345 \backslash
18346 global
18347 \backslash
18348 arrayrulewidth 1.5pt}
18349 \end_layout
18350
18351 \begin_layout Plain Layout
18352
18353   
18354 \backslash
18355 myHline
18356 \backslash
18357 noalign{
18358 \backslash
18359 global
18360 \backslash
18361 arrayrulewidth 0.4pt}}
18362 \end_layout
18363
18364 \end_inset
18365
18366
18367 \begin_inset Float table
18368 wide false
18369 sideways false
18370 status open
18371
18372 \begin_layout Plain Layout
18373 \begin_inset Caption
18374
18375 \begin_layout Plain Layout
18376 \begin_inset CommandInset label
18377 LatexCommand label
18378 name "tab:Table-with-horizontal"
18379
18380 \end_inset
18381
18382 Table with 1.5
18383 \begin_inset space \thinspace{}
18384 \end_inset
18385
18386 pt thick horizontal lines
18387 \end_layout
18388
18389 \end_inset
18390
18391
18392 \end_layout
18393
18394 \begin_layout Plain Layout
18395 \align center
18396 \begin_inset Tabular
18397 <lyxtabular version="3" rows="3" columns="3">
18398 <features>
18399 <column alignment="center" valignment="top" width="0">
18400 <column alignment="center" valignment="top" width="0">
18401 <column alignment="center" valignment="top" width="0">
18402 <row>
18403 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18404 \begin_inset Text
18405
18406 \begin_layout Plain Layout
18407 sd
18408 \end_layout
18409
18410 \end_inset
18411 </cell>
18412 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18413 \begin_inset Text
18414
18415 \begin_layout Plain Layout
18416
18417 \end_layout
18418
18419 \end_inset
18420 </cell>
18421 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18422 \begin_inset Text
18423
18424 \begin_layout Plain Layout
18425
18426 \end_layout
18427
18428 \end_inset
18429 </cell>
18430 </row>
18431 <row>
18432 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18433 \begin_inset Text
18434
18435 \begin_layout Plain Layout
18436
18437 \end_layout
18438
18439 \end_inset
18440 </cell>
18441 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18442 \begin_inset Text
18443
18444 \begin_layout Plain Layout
18445 sd
18446 \end_layout
18447
18448 \end_inset
18449 </cell>
18450 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18451 \begin_inset Text
18452
18453 \begin_layout Plain Layout
18454
18455 \end_layout
18456
18457 \end_inset
18458 </cell>
18459 </row>
18460 <row>
18461 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18462 \begin_inset Text
18463
18464 \begin_layout Plain Layout
18465
18466 \end_layout
18467
18468 \end_inset
18469 </cell>
18470 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18471 \begin_inset Text
18472
18473 \begin_layout Plain Layout
18474
18475 \end_layout
18476
18477 \end_inset
18478 </cell>
18479 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18480 \begin_inset Text
18481
18482 \begin_layout Plain Layout
18483 sd
18484 \end_layout
18485
18486 \end_inset
18487 </cell>
18488 </row>
18489 </lyxtabular>
18490
18491 \end_inset
18492
18493
18494 \end_layout
18495
18496 \end_inset
18497
18498
18499 \begin_inset ERT
18500 status collapsed
18501
18502 \begin_layout Plain Layout
18503
18504
18505 \backslash
18506 renewcommand{
18507 \backslash
18508 hline}{
18509 \backslash
18510 myHline}
18511 \end_layout
18512
18513 \end_inset
18514
18515
18516 \end_layout
18517
18518 \begin_layout Standard
18519 \begin_inset VSpace bigskip
18520 \end_inset
18521
18522 To set the line thickness to 1.5
18523 \begin_inset space \thinspace{}
18524 \end_inset
18525
18526 pt only for vertical lines, create the following column format in the document
18527  preamble, according to the description in section
18528 \begin_inset space ~
18529 \end_inset
18530
18531
18532 \begin_inset CommandInset ref
18533 LatexCommand ref
18534 reference "sub:Customized-Format"
18535
18536 \end_inset
18537
18538 :
18539 \end_layout
18540
18541 \begin_layout Standard
18542
18543 \series bold
18544
18545 \backslash
18546 newcolumntype{V}{!{
18547 \backslash
18548 vrule width 1.5pt}}
18549 \end_layout
18550
18551 \begin_layout Standard
18552 For Table
18553 \begin_inset space ~
18554 \end_inset
18555
18556
18557 \begin_inset CommandInset ref
18558 LatexCommand ref
18559 reference "tab:Table-with-vertical"
18560
18561 \end_inset
18562
18563  the LaTeX-argument
18564 \end_layout
18565
18566 \begin_layout Standard
18567
18568 \series bold
18569 VcV
18570 \end_layout
18571
18572 \begin_layout Standard
18573 was used for the last column and
18574 \end_layout
18575
18576 \begin_layout Standard
18577
18578 \series bold
18579 Vc
18580 \end_layout
18581
18582 \begin_layout Standard
18583 for the other columns.
18584 \end_layout
18585
18586 \begin_layout Standard
18587 \begin_inset Float table
18588 wide false
18589 sideways false
18590 status open
18591
18592 \begin_layout Plain Layout
18593 \begin_inset Caption
18594
18595 \begin_layout Plain Layout
18596 \begin_inset CommandInset label
18597 LatexCommand label
18598 name "tab:Table-with-vertical"
18599
18600 \end_inset
18601
18602 Table with 1.5
18603 \begin_inset space \thinspace{}
18604 \end_inset
18605
18606 pt thick vertical lines
18607 \end_layout
18608
18609 \end_inset
18610
18611
18612 \end_layout
18613
18614 \begin_layout Plain Layout
18615 \align center
18616 \begin_inset Tabular
18617 <lyxtabular version="3" rows="3" columns="3">
18618 <features>
18619 <column alignment="center" valignment="top" width="0" special="Vc">
18620 <column alignment="center" valignment="top" width="0" special="Vc">
18621 <column alignment="center" valignment="top" width="0" special="VcV">
18622 <row>
18623 <cell alignment="center" valignment="top" topline="true" usebox="none">
18624 \begin_inset Text
18625
18626 \begin_layout Plain Layout
18627 sd
18628 \end_layout
18629
18630 \end_inset
18631 </cell>
18632 <cell alignment="center" valignment="top" topline="true" usebox="none">
18633 \begin_inset Text
18634
18635 \begin_layout Plain Layout
18636
18637 \end_layout
18638
18639 \end_inset
18640 </cell>
18641 <cell alignment="center" valignment="top" topline="true" usebox="none">
18642 \begin_inset Text
18643
18644 \begin_layout Plain Layout
18645
18646 \end_layout
18647
18648 \end_inset
18649 </cell>
18650 </row>
18651 <row>
18652 <cell alignment="center" valignment="top" topline="true" usebox="none">
18653 \begin_inset Text
18654
18655 \begin_layout Plain Layout
18656
18657 \end_layout
18658
18659 \end_inset
18660 </cell>
18661 <cell alignment="center" valignment="top" topline="true" usebox="none">
18662 \begin_inset Text
18663
18664 \begin_layout Plain Layout
18665 sd
18666 \end_layout
18667
18668 \end_inset
18669 </cell>
18670 <cell alignment="center" valignment="top" topline="true" usebox="none">
18671 \begin_inset Text
18672
18673 \begin_layout Plain Layout
18674
18675 \end_layout
18676
18677 \end_inset
18678 </cell>
18679 </row>
18680 <row>
18681 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18682 \begin_inset Text
18683
18684 \begin_layout Plain Layout
18685
18686 \end_layout
18687
18688 \end_inset
18689 </cell>
18690 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18691 \begin_inset Text
18692
18693 \begin_layout Plain Layout
18694
18695 \end_layout
18696
18697 \end_inset
18698 </cell>
18699 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18700 \begin_inset Text
18701
18702 \begin_layout Plain Layout
18703 sd
18704 \end_layout
18705
18706 \end_inset
18707 </cell>
18708 </row>
18709 </lyxtabular>
18710
18711 \end_inset
18712
18713
18714 \end_layout
18715
18716 \end_inset
18717
18718
18719 \end_layout
18720
18721 \begin_layout Subsection
18722 Dashed Lines
18723 \begin_inset Index
18724 status collapsed
18725
18726 \begin_layout Plain Layout
18727 Table Customization ! Dashed Lines
18728 \end_layout
18729
18730 \end_inset
18731
18732
18733 \end_layout
18734
18735 \begin_layout Standard
18736 \begin_inset ERT
18737 status collapsed
18738
18739 \begin_layout Plain Layout
18740
18741
18742 \backslash
18743 ifarydshln
18744 \end_layout
18745
18746 \end_inset
18747
18748
18749 \begin_inset Note Note
18750 status open
18751
18752 \begin_layout Plain Layout
18753 The following section will only be displayed when the LaTeX-package 
18754 \series bold
18755 arydshln
18756 \series default
18757  is installed.
18758 \end_layout
18759
18760 \end_inset
18761
18762
18763 \end_layout
18764
18765 \begin_layout Standard
18766 \begin_inset Float table
18767 placement H
18768 wide false
18769 sideways false
18770 status open
18771
18772 \begin_layout Plain Layout
18773 \begin_inset Caption
18774
18775 \begin_layout Plain Layout
18776 \begin_inset CommandInset label
18777 LatexCommand label
18778 name "tab:Table-with-dashed"
18779
18780 \end_inset
18781
18782 Table with dashed lines
18783 \end_layout
18784
18785 \end_inset
18786
18787
18788 \end_layout
18789
18790 \begin_layout Plain Layout
18791 \align center
18792 \begin_inset Tabular
18793 <lyxtabular version="3" rows="5" columns="5">
18794 <features>
18795 <column alignment="center" valignment="top" width="0">
18796 <column alignment="center" valignment="top" width="0">
18797 <column alignment="center" valignment="top" width="0" special=":c">
18798 <column alignment="center" valignment="top" width="0">
18799 <column alignment="center" valignment="top" width="0">
18800 <row>
18801 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18802 \begin_inset Text
18803
18804 \begin_layout Plain Layout
18805 a
18806 \end_layout
18807
18808 \end_inset
18809 </cell>
18810 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18811 \begin_inset Text
18812
18813 \begin_layout Plain Layout
18814 b
18815 \end_layout
18816
18817 \end_inset
18818 </cell>
18819 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18820 \begin_inset Text
18821
18822 \begin_layout Plain Layout
18823 c
18824 \end_layout
18825
18826 \end_inset
18827 </cell>
18828 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18829 \begin_inset Text
18830
18831 \begin_layout Plain Layout
18832 d
18833 \end_layout
18834
18835 \end_inset
18836 </cell>
18837 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18838 \begin_inset Text
18839
18840 \begin_layout Plain Layout
18841 e
18842 \end_layout
18843
18844 \end_inset
18845 </cell>
18846 </row>
18847 <row>
18848 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18849 \begin_inset Text
18850
18851 \begin_layout Plain Layout
18852 f
18853 \end_layout
18854
18855 \end_inset
18856 </cell>
18857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18858 \begin_inset Text
18859
18860 \begin_layout Plain Layout
18861 g
18862 \end_layout
18863
18864 \end_inset
18865 </cell>
18866 <cell alignment="center" valignment="top" topline="true" usebox="none">
18867 \begin_inset Text
18868
18869 \begin_layout Plain Layout
18870 h
18871 \end_layout
18872
18873 \end_inset
18874 </cell>
18875 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18876 \begin_inset Text
18877
18878 \begin_layout Plain Layout
18879 i
18880 \end_layout
18881
18882 \end_inset
18883 </cell>
18884 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18885 \begin_inset Text
18886
18887 \begin_layout Plain Layout
18888 j
18889 \end_layout
18890
18891 \end_inset
18892 </cell>
18893 </row>
18894 <row>
18895 <cell alignment="center" valignment="top" leftline="true" usebox="none">
18896 \begin_inset Text
18897
18898 \begin_layout Plain Layout
18899 \begin_inset ERT
18900 status collapsed
18901
18902 \begin_layout Plain Layout
18903
18904
18905 \backslash
18906 hdashline 
18907 \end_layout
18908
18909 \end_inset
18910
18911 k
18912 \end_layout
18913
18914 \end_inset
18915 </cell>
18916 <cell alignment="center" valignment="top" leftline="true" usebox="none">
18917 \begin_inset Text
18918
18919 \begin_layout Plain Layout
18920 l
18921 \end_layout
18922
18923 \end_inset
18924 </cell>
18925 <cell alignment="center" valignment="top" usebox="none">
18926 \begin_inset Text
18927
18928 \begin_layout Plain Layout
18929 m
18930 \end_layout
18931
18932 \end_inset
18933 </cell>
18934 <cell alignment="center" valignment="top" leftline="true" usebox="none">
18935 \begin_inset Text
18936
18937 \begin_layout Plain Layout
18938 n
18939 \end_layout
18940
18941 \end_inset
18942 </cell>
18943 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
18944 \begin_inset Text
18945
18946 \begin_layout Plain Layout
18947 o
18948 \end_layout
18949
18950 \end_inset
18951 </cell>
18952 </row>
18953 <row>
18954 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18955 \begin_inset Text
18956
18957 \begin_layout Plain Layout
18958 \begin_inset ERT
18959 status collapsed
18960
18961 \begin_layout Plain Layout
18962
18963
18964 \backslash
18965 cdashline{4-5}
18966 \end_layout
18967
18968 \end_inset
18969
18970 p
18971 \end_layout
18972
18973 \end_inset
18974 </cell>
18975 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18976 \begin_inset Text
18977
18978 \begin_layout Plain Layout
18979 q
18980 \end_layout
18981
18982 \end_inset
18983 </cell>
18984 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
18985 \begin_inset Text
18986
18987 \begin_layout Plain Layout
18988 r
18989 \end_layout
18990
18991 \end_inset
18992 </cell>
18993 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none" special="c:">
18994 \begin_inset Text
18995
18996 \begin_layout Plain Layout
18997 s
18998 \end_layout
18999
19000 \end_inset
19001 </cell>
19002 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19003 \begin_inset Text
19004
19005 \begin_layout Plain Layout
19006
19007 \end_layout
19008
19009 \end_inset
19010 </cell>
19011 </row>
19012 <row>
19013 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19014 \begin_inset Text
19015
19016 \begin_layout Plain Layout
19017 t
19018 \end_layout
19019
19020 \end_inset
19021 </cell>
19022 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19023 \begin_inset Text
19024
19025 \begin_layout Plain Layout
19026 u
19027 \end_layout
19028
19029 \end_inset
19030 </cell>
19031 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19032 \begin_inset Text
19033
19034 \begin_layout Plain Layout
19035 v
19036 \end_layout
19037
19038 \end_inset
19039 </cell>
19040 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19041 \begin_inset Text
19042
19043 \begin_layout Plain Layout
19044 w
19045 \end_layout
19046
19047 \end_inset
19048 </cell>
19049 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19050 \begin_inset Text
19051
19052 \begin_layout Plain Layout
19053 x
19054 \end_layout
19055
19056 \end_inset
19057 </cell>
19058 </row>
19059 </lyxtabular>
19060
19061 \end_inset
19062
19063
19064 \end_layout
19065
19066 \end_inset
19067
19068
19069 \end_layout
19070
19071 \begin_layout Standard
19072 LyX doesn't natively support dashed lines, so you have to use TeX-Code.
19073  As prerequisite the LaTeX-package 
19074 \series bold
19075 arydshln
19076 \series default
19077
19078 \begin_inset Index
19079 status collapsed
19080
19081 \begin_layout Plain Layout
19082 LaTeX-packages ! arydshln
19083 \end_layout
19084
19085 \end_inset
19086
19087  must be loaded in the document preamble with the command
19088 \end_layout
19089
19090 \begin_layout Standard
19091
19092 \series bold
19093
19094 \backslash
19095 usepackage{arydshln}
19096 \end_layout
19097
19098 \begin_layout Standard
19099 To make a vertical line dashed, enter the colon 
19100 \begin_inset Quotes eld
19101 \end_inset
19102
19103 :
19104 \begin_inset Quotes erd
19105 \end_inset
19106
19107  together with the character for the horizontal alignment as LaTeX-argument
19108  in the table cell dialog.
19109 \end_layout
19110
19111 \begin_layout Standard
19112 For a horizontal dashed line add the command
19113 \end_layout
19114
19115 \begin_layout Standard
19116
19117 \series bold
19118
19119 \backslash
19120 hdashline
19121 \end_layout
19122
19123 \begin_layout Standard
19124 in TeX-Code as first element of the first cell in the table row.
19125 \end_layout
19126
19127 \begin_layout Standard
19128 For dashed multicolumn lines use the command
19129 \end_layout
19130
19131 \begin_layout Standard
19132
19133 \series bold
19134
19135 \backslash
19136 cdashline{line number
19137 \series default
19138 }
19139 \end_layout
19140
19141 \begin_layout Standard
19142 in TeX-Code as first element of the first cell in the table row.
19143  If you have for example a multicolumn spanning over columns 2 to 4 and
19144  you want to have a dashed line above, add the command
19145 \end_layout
19146
19147 \begin_layout Standard
19148
19149 \series bold
19150
19151 \backslash
19152 cdashline{2-4}
19153 \end_layout
19154
19155 \begin_layout Standard
19156 as first element of the first cell in the row of the multicolumn.
19157 \end_layout
19158
19159 \begin_layout Standard
19160 \begin_inset VSpace bigskip
19161 \end_inset
19162
19163
19164 \end_layout
19165
19166 \begin_layout Standard
19167 Table
19168 \begin_inset space ~
19169 \end_inset
19170
19171
19172 \begin_inset CommandInset ref
19173 LatexCommand ref
19174 reference "tab:Table-with-dashed"
19175
19176 \end_inset
19177
19178  was created using 
19179 \begin_inset Quotes eld
19180 \end_inset
19181
19182
19183 \series bold
19184 :c
19185 \series default
19186
19187 \begin_inset Quotes erd
19188 \end_inset
19189
19190  as LaTeX-argument of the third column.
19191  The TeX-Code command 
19192 \series bold
19193
19194 \backslash
19195 hdashline
19196 \series default
19197  was inserted to the first cell of the third row and the the TeX-Code command
19198 \begin_inset Newline newline
19199 \end_inset
19200
19201  
19202 \series bold
19203
19204 \backslash
19205 cdashline{4-5}
19206 \series default
19207  was inserted to the first cell of the fourth row.
19208 \end_layout
19209
19210 \begin_layout Standard
19211 \begin_inset Note Greyedout
19212 status open
19213
19214 \begin_layout Plain Layout
19215
19216 \series bold
19217 Note:
19218 \series default
19219  The used LaTeX-package 
19220 \series bold
19221 arydshln
19222 \series default
19223  is apparently not compatible with the LaTeX-package 
19224 \series bold
19225 colortbl
19226 \series default
19227
19228 \begin_inset Index
19229 status collapsed
19230
19231 \begin_layout Plain Layout
19232 LaTeX-packages ! colortbl
19233 \end_layout
19234
19235 \end_inset
19236
19237  that is used for colored tables in section
19238 \begin_inset space ~
19239 \end_inset
19240
19241
19242 \begin_inset CommandInset ref
19243 LatexCommand ref
19244 reference "sec:Colored-Tables"
19245
19246 \end_inset
19247
19248 .
19249  That means colored tables cannot have dashed lines.
19250 \end_layout
19251
19252 \end_inset
19253
19254
19255 \end_layout
19256
19257 \begin_layout Standard
19258 \begin_inset ERT
19259 status collapsed
19260
19261 \begin_layout Plain Layout
19262
19263
19264 \backslash
19265 else
19266 \end_layout
19267
19268 \end_inset
19269
19270
19271 \begin_inset Note Note
19272 status open
19273
19274 \begin_layout Plain Layout
19275 The following will be displayed when the LaTeX-package 
19276 \series bold
19277 arydshln
19278 \series default
19279  is not installed:
19280 \end_layout
19281
19282 \end_inset
19283
19284
19285 \end_layout
19286
19287 \begin_layout Standard
19288 You need to install the package 
19289 \series bold
19290 arydshln
19291 \series default
19292  to see the content of this section in the output.
19293 \end_layout
19294
19295 \begin_layout Standard
19296 \begin_inset ERT
19297 status collapsed
19298
19299 \begin_layout Plain Layout
19300
19301
19302 \backslash
19303 fi
19304 \end_layout
19305
19306 \end_inset
19307
19308
19309 \end_layout
19310
19311 \begin_layout Chapter
19312 Floats
19313 \begin_inset Index
19314 status collapsed
19315
19316 \begin_layout Plain Layout
19317 Floats
19318 \end_layout
19319
19320 \end_inset
19321
19322
19323 \end_layout
19324
19325 \begin_layout Section
19326 Introduction
19327 \begin_inset CommandInset label
19328 LatexCommand label
19329 name "sec:FloatIntroduction"
19330
19331 \end_inset
19332
19333
19334 \begin_inset Index
19335 status collapsed
19336
19337 \begin_layout Plain Layout
19338 Floats ! Introduction
19339 \end_layout
19340
19341 \end_inset
19342
19343
19344 \end_layout
19345
19346 \begin_layout Standard
19347 A float is a block of text associated with some sort of label, which doesn't
19348  have a fixed location.
19349  It can 
19350 \begin_inset Quotes eld
19351 \end_inset
19352
19353 float
19354 \begin_inset Quotes erd
19355 \end_inset
19356
19357  forward or backward a page or two, to wherever it fits best.
19358  
19359 \family sans
19360 Footnotes
19361 \family default
19362  and 
19363 \family sans
19364 Margin
19365 \begin_inset space ~
19366 \end_inset
19367
19368 Notes
19369 \family default
19370  are also floats, because they can float to the next page when there are
19371  too many notes at the page.
19372 \end_layout
19373
19374 \begin_layout Standard
19375 Floats allow a high quality layout.
19376  Images and tables can evenly be spread to the pages to avoid white space
19377  and pages without text.
19378  As the floating often destroys the context between the text and the image/table
19379 , every float can be referenced in the text.
19380  Floats are therefore numbered.
19381  Referencing is described in section
19382 \begin_inset space ~
19383 \end_inset
19384
19385
19386 \begin_inset CommandInset ref
19387 LatexCommand ref
19388 reference "sec:Referencing-Floats"
19389
19390 \end_inset
19391
19392 .
19393 \end_layout
19394
19395 \begin_layout Standard
19396 To insert a float, use the menu 
19397 \family sans
19398 Insert\SpecialChar \menuseparator
19399 Float
19400 \family default
19401 .
19402  This inserts the 
19403 \family sans
19404 Caption
19405 \family default
19406  inset, a box with a label.
19407  The label will automatically be translated to the document language in
19408  the output.
19409  Behind the label you can insert the caption text.
19410  The image or table is inserted above or below the caption in a separate
19411  paragraph within the float.
19412  More about the caption placement is described in section
19413 \begin_inset space ~
19414 \end_inset
19415
19416
19417 \begin_inset CommandInset ref
19418 LatexCommand ref
19419 reference "sec:Caption-Placement"
19420
19421 \end_inset
19422
19423 .
19424  To keep your LyX-document readable, you can open and close the float box
19425  by left-clicking on the box label.
19426  A closed float box looks like this: 
19427 \begin_inset Graphics
19428         filename clipart/floatQt4.png
19429         scale 70
19430         scaleBeforeRotation
19431
19432 \end_inset
19433
19434  â€“ a gray button with a red label.
19435 \end_layout
19436
19437 \begin_layout Standard
19438 It is recommended to insert floats as a separate paragraph to avoid possible
19439  LaTeX-errors that can occur when the surrounding text is specially formatted.
19440 \end_layout
19441
19442 \begin_layout Standard
19443 Existing figures or tables can be put into a float by marking them and then
19444  pressing the corresponding toolbar button for a new float.
19445 \end_layout
19446
19447 \begin_layout Section
19448 Float Types
19449 \end_layout
19450
19451 \begin_layout Standard
19452 Besides figure and table floats that are described in section
19453 \begin_inset space ~
19454 \end_inset
19455
19456
19457 \begin_inset CommandInset ref
19458 LatexCommand ref
19459 reference "sec:Figure-Floats"
19460
19461 \end_inset
19462
19463  and 
19464 \begin_inset CommandInset ref
19465 LatexCommand ref
19466 reference "sec:Table-Floats"
19467
19468 \end_inset
19469
19470 , respectively, LyX offers the float types 
19471 \series bold
19472 Algorithm
19473 \series default
19474  and 
19475 \series bold
19476 Wrap
19477 \series default
19478 .
19479 \end_layout
19480
19481 \begin_layout Subsection
19482 Algorithm Floats
19483 \begin_inset Index
19484 status collapsed
19485
19486 \begin_layout Plain Layout
19487 Floats ! Algorithms
19488 \end_layout
19489
19490 \end_inset
19491
19492
19493 \end_layout
19494
19495 \begin_layout Standard
19496 \begin_inset Float algorithm
19497 placement h
19498 wide false
19499 sideways false
19500 status open
19501
19502 \begin_layout Plain Layout
19503 \begin_inset Caption
19504
19505 \begin_layout Plain Layout
19506 \begin_inset CommandInset label
19507 LatexCommand label
19508 name "alg:Example-Algorithm-float"
19509
19510 \end_inset
19511
19512 Example Algorithm float
19513 \end_layout
19514
19515 \end_inset
19516
19517
19518 \end_layout
19519
19520 \begin_layout LyX-Code
19521 for I in 1..N loop
19522 \begin_inset Newline newline
19523 \end_inset
19524
19525  Sum:= Sum + A(I); /*comment*/
19526 \begin_inset Newline newline
19527 \end_inset
19528
19529 end loop
19530 \begin_inset VSpace -4mm
19531 \end_inset
19532
19533
19534 \end_layout
19535
19536 \end_inset
19537
19538
19539 \end_layout
19540
19541 \begin_layout Standard
19542 This float type is inserted with the menu 
19543 \family sans
19544 Insert\SpecialChar \menuseparator
19545 Floats\SpecialChar \menuseparator
19546 Algorithm
19547 \family default
19548 .
19549  It is used for program codes and descriptions of algorithms and can be
19550  seen as an alternative to program code listings that are explained in chapter
19551 \begin_inset space ~
19552 \end_inset
19553
19554
19555 \begin_inset CommandInset ref
19556 LatexCommand ref
19557 reference "cha:Program-Code-Listings"
19558
19559 \end_inset
19560
19561 .
19562  A possible environment for algorithms is the 
19563 \family sans
19564 LyX-Code
19565 \family default
19566 , described in LyX's 
19567 \emph on
19568 Userguide
19569 \emph default
19570 .
19571  Algorithm
19572 \begin_inset space ~
19573 \end_inset
19574
19575
19576 \begin_inset CommandInset ref
19577 LatexCommand ref
19578 reference "alg:Example-Algorithm-float"
19579
19580 \end_inset
19581
19582  is an example of an algorithm float where -4
19583 \begin_inset space \thinspace{}
19584 \end_inset
19585
19586 mm vertical space was added at the end of the float to have the bottom rule
19587  exactly below the last text line.
19588 \end_layout
19589
19590 \begin_layout Standard
19591 The float label is not automatically translated into the document language.
19592  If your document is not in English, you have to do this manually by adding
19593  the following line to the document preamble
19594 \series bold
19595 :
19596 \end_layout
19597
19598 \begin_layout Standard
19599
19600 \series bold
19601
19602 \backslash
19603 floatname{algorithm}{your
19604 \begin_inset space ~
19605 \end_inset
19606
19607 name}
19608 \end_layout
19609
19610 \begin_layout Standard
19611 where 
19612 \family sans
19613 your
19614 \begin_inset space ~
19615 \end_inset
19616
19617 name
19618 \family default
19619  is the word 
19620 \begin_inset Quotes eld
19621 \end_inset
19622
19623
19624 \emph on
19625 algorithm
19626 \emph default
19627
19628 \begin_inset Quotes erd
19629 \end_inset
19630
19631  in your language.
19632 \end_layout
19633
19634 \begin_layout Standard
19635 To insert the list of algorithms you can use the menu 
19636 \family sans
19637 Insert\SpecialChar \menuseparator
19638 List
19639 \begin_inset space \thinspace{}
19640 \end_inset
19641
19642 /
19643 \begin_inset space \thinspace{}
19644 \end_inset
19645
19646 TOC\SpecialChar \menuseparator
19647 List of Algorithms
19648 \family default
19649  when your document has the same language as LyX's menu names.
19650  In other cases use this command in TeX-Code instead:
19651 \end_layout
19652
19653 \begin_layout Standard
19654
19655 \series bold
19656
19657 \backslash
19658 listof{algorithm}{your
19659 \begin_inset space ~
19660 \end_inset
19661
19662 name}
19663 \end_layout
19664
19665 \begin_layout Standard
19666 where 
19667 \family sans
19668 your
19669 \begin_inset space ~
19670 \end_inset
19671
19672 name
19673 \family default
19674  is the word 
19675 \begin_inset Quotes eld
19676 \end_inset
19677
19678
19679 \emph on
19680 List of Algorithm
19681 \emph default
19682 s
19683 \begin_inset Quotes erd
19684 \end_inset
19685
19686  in your language.
19687 \end_layout
19688
19689 \begin_layout Standard
19690 Algorithm floats are not by default numbered in the scheme 
19691 \begin_inset Quotes eld
19692 \end_inset
19693
19694 chapter.algorithm
19695 \begin_inset Quotes erd
19696 \end_inset
19697
19698  like it is the case for table and figure floats in many document-classes.
19699  To number algorithm floats in the same scheme, add this command to your
19700  document preamble:
19701 \end_layout
19702
19703 \begin_layout Standard
19704
19705 \series bold
19706
19707 \backslash
19708 numberwithin{algorithm}{chapter}
19709 \end_layout
19710
19711 \begin_layout Standard
19712 To be able to use the command 
19713 \series bold
19714
19715 \backslash
19716 numberwithin
19717 \series default
19718 , set in the tab 
19719 \family sans
19720 Math
19721 \begin_inset space ~
19722 \end_inset
19723
19724 Options
19725 \family default
19726  in the document settings the option 
19727 \family sans
19728 Use
19729 \begin_inset space ~
19730 \end_inset
19731
19732 AMS
19733 \begin_inset space ~
19734 \end_inset
19735
19736 math
19737 \begin_inset space ~
19738 \end_inset
19739
19740 package
19741 \family default
19742 .
19743 \end_layout
19744
19745 \begin_layout Subsection
19746 Wrap Floats
19747 \begin_inset Index
19748 status collapsed
19749
19750 \begin_layout Plain Layout
19751 Floats ! Wrap Floats
19752 \end_layout
19753
19754 \end_inset
19755
19756
19757 \end_layout
19758
19759 \begin_layout Standard
19760 \begin_inset Wrap figure
19761 lines 0
19762 placement l
19763 overhang 1cm
19764 width "40col%"
19765 status open
19766
19767 \begin_layout Plain Layout
19768 \begin_inset Graphics
19769         filename clipart/mobius.eps
19770         width 40col%
19771         scaleBeforeRotation
19772         rotateOrigin center
19773
19774 \end_inset
19775
19776
19777 \end_layout
19778
19779 \begin_layout Plain Layout
19780 \begin_inset Caption
19781
19782 \begin_layout Plain Layout
19783 \begin_inset CommandInset label
19784 LatexCommand label
19785 name "fig:This-is-a"
19786
19787 \end_inset
19788
19789 This is a figure wrap float.
19790 \end_layout
19791
19792 \end_inset
19793
19794
19795 \end_layout
19796
19797 \end_inset
19798
19799  This float type is used if you want to wrap text around a figure or table
19800  so that it only occupies some fraction of the column width.
19801  It can be inserted using the menu 
19802 \family sans
19803 Insert\SpecialChar \menuseparator
19804 Floats\SpecialChar \menuseparator
19805 Figure
19806 \begin_inset space ~
19807 \end_inset
19808
19809 Wrap
19810 \begin_inset space ~
19811 \end_inset
19812
19813 Float
19814 \family default
19815  or 
19816 \family sans
19817 Table
19818 \begin_inset space ~
19819 \end_inset
19820
19821 Wrap
19822 \begin_inset space ~
19823 \end_inset
19824
19825 Float
19826 \family default
19827  if the LaTeX-package 
19828 \series bold
19829 wrapfig
19830 \series default
19831
19832 \begin_inset Index
19833 status collapsed
19834
19835 \begin_layout Plain Layout
19836 LaTeX-packages ! wrapfig
19837 \begin_inset ERT
19838 status collapsed
19839
19840 \begin_layout Plain Layout
19841
19842
19843 \backslash
19844 vspace{4mm}
19845 \end_layout
19846
19847 \end_inset
19848
19849
19850 \end_layout
19851
19852 \end_inset
19853
19854  is installed.
19855 \begin_inset Foot
19856 status collapsed
19857
19858 \begin_layout Plain Layout
19859 Installing a LaTeX-package is explained it in the 
19860 \emph on
19861 LaTeX
19862 \begin_inset space ~
19863 \end_inset
19864
19865 Configuration
19866 \emph default
19867  manual.
19868 \end_layout
19869
19870 \end_inset
19871
19872  The settings of the float can be modified by right-clicking on the float
19873  box.
19874  The mandatory settings are the float 
19875 \family sans
19876 Placement
19877 \family default
19878  and its 
19879 \family sans
19880 Width
19881 \family default
19882 .
19883  Optional are the 
19884 \family sans
19885 Overhang
19886 \family default
19887  that specifies how much the float is set into the paragraph
19888 \begin_inset space \thinspace{}
19889 \end_inset
19890
19891 /
19892 \begin_inset space \thinspace{}
19893 \end_inset
19894
19895 page margin, and the 
19896 \family sans
19897 Line
19898 \begin_inset space ~
19899 \end_inset
19900
19901 span
19902 \family default
19903  that specifies how many text lines the float will approximately need.
19904  The line span is often hard to be approximated, so better only use it when
19905  you encounter float placement problems.
19906  You can furthermore decide if LaTeX is allowed to let the float float within
19907  the paragraph or to surrounding paragraphs.
19908  Figure
19909 \begin_inset space ~
19910 \end_inset
19911
19912
19913 \begin_inset CommandInset ref
19914 LatexCommand ref
19915 reference "fig:This-is-a"
19916
19917 \end_inset
19918
19919  is an example text wrap float with a width of 40
19920 \begin_inset space \thinspace{}
19921 \end_inset
19922
19923 col%, 1
19924 \begin_inset space \thinspace{}
19925 \end_inset
19926
19927 cm overhang, set to the left.
19928 \begin_inset Foot
19929 status collapsed
19930
19931 \begin_layout Plain Layout
19932 Available units are explained in appendix
19933 \begin_inset space ~
19934 \end_inset
19935
19936
19937 \begin_inset CommandInset ref
19938 LatexCommand ref
19939 reference "cha:Units-available-in"
19940
19941 \end_inset
19942
19943 .
19944 \end_layout
19945
19946 \end_inset
19947
19948
19949 \end_layout
19950
19951 \begin_layout Standard
19952 \begin_inset Note Greyedout
19953 status open
19954
19955 \begin_layout Plain Layout
19956
19957 \series bold
19958 Note:
19959 \series default
19960  Text
19961 \begin_inset space ~
19962 \end_inset
19963
19964 wrap float floats are fragile! E.
19965 \begin_inset space \thinspace{}
19966 \end_inset
19967
19968 g.
19969 \begin_inset space \space{}
19970 \end_inset
19971
19972 having a figure too close to the bottom of the page can mess things up in
19973  the way that the float doesn't appear in the output or that it is placed
19974  over some other text.
19975 \end_layout
19976
19977 \end_inset
19978
19979
19980 \end_layout
19981
19982 \begin_layout Standard
19983 In general:
19984 \end_layout
19985
19986 \begin_layout Itemize
19987 Wrap floats should not be placed in paragraphs that run over a page break.
19988  That means that wrap floats should better be inserted to the exact place
19989  when the document is nearly finished and you are able to estimate where
19990  page breaks will appear.
19991 \end_layout
19992
19993 \begin_layout Itemize
19994 Wrap floats should either be placed in an own paragraph before the paragraph
19995  where they should wrap into or within a paragraph.
19996 \end_layout
19997
19998 \begin_layout Itemize
19999 Wrap floats in consecutive paragraphs may cause troubles, so assure that
20000  there is a text paragraph between them as separator.
20001 \end_layout
20002
20003 \begin_layout Itemize
20004 Wrap floats are not allowed in section headings or tables.
20005 \end_layout
20006
20007 \begin_layout Section
20008 Float Numbering
20009 \begin_inset Index
20010 status collapsed
20011
20012 \begin_layout Plain Layout
20013 Floats ! Numbering
20014 \end_layout
20015
20016 \end_inset
20017
20018
20019 \end_layout
20020
20021 \begin_layout Standard
20022 Floats are usually numbered either independent from the sections the floats
20023  are in, or in the scheme 
20024 \begin_inset Quotes eld
20025 \end_inset
20026
20027 chapter.number
20028 \begin_inset Quotes erd
20029 \end_inset
20030
20031  or 
20032 \begin_inset Quotes eld
20033 \end_inset
20034
20035 section.number
20036 \begin_inset Quotes erd
20037 \end_inset
20038
20039 .
20040  This depends on the used document class.
20041 \end_layout
20042
20043 \begin_layout Standard
20044 To change the section independent numbering, you can use this command in
20045  the document preamble:
20046 \end_layout
20047
20048 \begin_layout Standard
20049
20050 \series bold
20051
20052 \backslash
20053 renewcommand{
20054 \backslash
20055 thetable}{
20056 \backslash
20057 roman{table}}
20058 \end_layout
20059
20060 \begin_layout Standard
20061
20062 \series bold
20063
20064 \backslash
20065 thetable
20066 \series default
20067  is the command that prints the table number, for figure floats, the command
20068  would be 
20069 \series bold
20070
20071 \backslash
20072 thefigure
20073 \series default
20074 .
20075  The command 
20076 \series bold
20077
20078 \backslash
20079 roman
20080 \series default
20081  prints in the command above the table number as small roman number.
20082 \end_layout
20083
20084 \begin_layout Standard
20085 To change the numbering scheme for example to 
20086 \begin_inset Quotes eld
20087 \end_inset
20088
20089 subsection.number
20090 \begin_inset Quotes erd
20091 \end_inset
20092
20093 , use this command in the preamble:
20094 \end_layout
20095
20096 \begin_layout Standard
20097
20098 \series bold
20099
20100 \backslash
20101 numberwithin{table}{subsection}
20102 \end_layout
20103
20104 \begin_layout Standard
20105 To be able to use the command 
20106 \series bold
20107
20108 \backslash
20109 numberwithin
20110 \series default
20111 , set in the tab 
20112 \family sans
20113 Math
20114 \begin_inset space ~
20115 \end_inset
20116
20117 Options
20118 \family default
20119  in the document settings the option 
20120 \family sans
20121 Use
20122 \begin_inset space ~
20123 \end_inset
20124
20125 AMS
20126 \begin_inset space ~
20127 \end_inset
20128
20129 math
20130 \begin_inset space ~
20131 \end_inset
20132
20133 package
20134 \family default
20135 .
20136 \end_layout
20137
20138 \begin_layout Standard
20139 Please also have a look at section
20140 \begin_inset space ~
20141 \end_inset
20142
20143
20144 \begin_inset CommandInset ref
20145 LatexCommand ref
20146 reference "sub:Footnote-Numbering"
20147
20148 \end_inset
20149
20150  for the details and important notes about the numbering commands.
20151 \end_layout
20152
20153 \begin_layout Section
20154 Referencing Floats
20155 \begin_inset CommandInset label
20156 LatexCommand label
20157 name "sec:Referencing-Floats"
20158
20159 \end_inset
20160
20161
20162 \begin_inset Index
20163 status collapsed
20164
20165 \begin_layout Plain Layout
20166 Floats ! References
20167 \end_layout
20168
20169 \end_inset
20170
20171
20172 \begin_inset Index
20173 status collapsed
20174
20175 \begin_layout Plain Layout
20176 References ! to Floats
20177 \end_layout
20178
20179 \end_inset
20180
20181
20182 \end_layout
20183
20184 \begin_layout Standard
20185 To reference a float, insert a label into its caption using the menu 
20186 \family sans
20187 Insert\SpecialChar \menuseparator
20188 Label
20189 \family default
20190  or the toolbar button 
20191 \begin_inset Graphics
20192         filename ../images/label-insert.png
20193         scale 85
20194         scaleBeforeRotation
20195
20196 \end_inset
20197
20198 .
20199  A grey label box like this one: 
20200 \begin_inset Graphics
20201         filename clipart/labelQt4.png
20202         scale 85
20203         scaleBeforeRotation
20204
20205 \end_inset
20206
20207  will be inserted and the label window pops up asking for the label text.
20208  LyX offers as text the first words of the caption with a prefix.
20209  The prefix depends on the float type, e.
20210 \begin_inset space \thinspace{}
20211 \end_inset
20212
20213 g.
20214 \begin_inset space \space{}
20215 \end_inset
20216
20217 for figure floats the prefix will be "
20218 \family sans
20219 fig:
20220 \family default
20221 ".
20222 \end_layout
20223
20224 \begin_layout Standard
20225 The label is used as anchor and name for the reference.
20226  You can refer to the label using the menu 
20227 \family sans
20228 Insert\SpecialChar \menuseparator
20229 Cross-reference
20230 \family default
20231  or the toolbar button 
20232 \begin_inset Graphics
20233         filename ../images/dialog-show-new-inset_ref.png
20234         scale 85
20235         scaleBeforeRotation
20236
20237 \end_inset
20238
20239 .
20240  A grey cross-reference box like this one: 
20241 \begin_inset Graphics
20242         filename clipart/referenceQt4.png
20243         scale 85
20244         scaleBeforeRotation
20245
20246 \end_inset
20247
20248  will be inserted and the cross-reference window appear showing all labels
20249  of the document.
20250  If you have multiple LyX-documents opened, choose the one you are working
20251  on from the drop-list at the top of the dialog.
20252  You can now sort the labels alphabetically and then choose one.
20253  At the position of the cross-reference box the float number will appear
20254  in the output.
20255 \end_layout
20256
20257 \begin_layout Standard
20258 It is recommended to use a protected space between the cross-reference name
20259  and its number to avoid line breaks between them.
20260  If a cross-reference refers to a non-existing label, you will see two question
20261  marks in the output instead of the reference.
20262 \end_layout
20263
20264 \begin_layout Standard
20265 You can change labels at any time by clicking on the label box.
20266  References to the changed label will automatically change its link to the
20267  new label text, so that you don't need to take care about this.
20268 \end_layout
20269
20270 \begin_layout Standard
20271 The button 
20272 \family sans
20273 Go
20274 \begin_inset space ~
20275 \end_inset
20276
20277 to
20278 \begin_inset space ~
20279 \end_inset
20280
20281 Label
20282 \family default
20283  in the cross-reference window sets the cursor before the referred label.
20284  The button text changes then to Go
20285 \begin_inset space ~
20286 \end_inset
20287
20288 Back and you can use it to set the cursor back to the cross-reference.
20289  Right-clicking on a cross-reference box also sets the cursor before the
20290  referenced label but without a possibility to go back.
20291 \end_layout
20292
20293 \begin_layout Subsection
20294 Cross-Reference Formats
20295 \begin_inset CommandInset label
20296 LatexCommand label
20297 name "sub:Cross-Reference-Formats"
20298
20299 \end_inset
20300
20301
20302 \begin_inset Index
20303 status collapsed
20304
20305 \begin_layout Plain Layout
20306 References ! Formats
20307 \end_layout
20308
20309 \end_inset
20310
20311
20312 \end_layout
20313
20314 \begin_layout Standard
20315 There are six varieties of cross-references:
20316 \end_layout
20317
20318 \begin_layout Description
20319 <reference>: prints the float number, this is the default: 
20320 \begin_inset CommandInset ref
20321 LatexCommand ref
20322 reference "fig:Two-distorted-images"
20323
20324 \end_inset
20325
20326
20327 \end_layout
20328
20329 \begin_layout Description
20330 (<reference>): prints the float number within two parentheses, this is the
20331  style normally used to reference formulas, especially when the reference
20332  name 
20333 \begin_inset Quotes eld
20334 \end_inset
20335
20336 Equation
20337 \begin_inset Quotes erd
20338 \end_inset
20339
20340  is omitted: 
20341 \begin_inset CommandInset ref
20342 LatexCommand eqref
20343 reference "eq:Wgn"
20344
20345 \end_inset
20346
20347
20348 \end_layout
20349
20350 \begin_layout Description
20351 <page>: prints the page number: Page
20352 \begin_inset space ~
20353 \end_inset
20354
20355
20356 \begin_inset CommandInset ref
20357 LatexCommand pageref
20358 reference "fig:Two-distorted-images"
20359
20360 \end_inset
20361
20362
20363 \end_layout
20364
20365 \begin_layout Description
20366 on
20367 \begin_inset space ~
20368 \end_inset
20369
20370 page
20371 \begin_inset space ~
20372 \end_inset
20373
20374 <page>: prints the text "on page" and the page number: 
20375 \begin_inset CommandInset ref
20376 LatexCommand vpageref
20377 reference "fig:Two-distorted-images"
20378
20379 \end_inset
20380
20381
20382 \end_layout
20383
20384 \begin_layout Description
20385 <reference>
20386 \begin_inset space ~
20387 \end_inset
20388
20389 on
20390 \begin_inset space ~
20391 \end_inset
20392
20393 page
20394 \begin_inset space ~
20395 \end_inset
20396
20397 <page>: prints the float number, the text "on page", and the page number:
20398  
20399 \begin_inset CommandInset ref
20400 LatexCommand vref
20401 reference "fig:Two-distorted-images"
20402
20403 \end_inset
20404
20405
20406 \end_layout
20407
20408 \begin_layout Description
20409 Formatted
20410 \begin_inset space ~
20411 \end_inset
20412
20413 reference: prints a self defined cross-reference format.
20414  
20415 \begin_inset Note Greyedout
20416 status open
20417
20418 \begin_layout Plain Layout
20419
20420 \series bold
20421 Note:
20422 \series default
20423  This feature is only available when you have the LaTeX-package 
20424 \series bold
20425 prettyref
20426 \series default
20427  installed.
20428 \end_layout
20429
20430 \end_inset
20431
20432
20433 \end_layout
20434
20435 \begin_layout Standard
20436 Note that the style <page> won't print the page number if the label is on
20437  the previous, the same, or the next page.
20438  You will e.
20439 \begin_inset space \thinspace{}
20440 \end_inset
20441
20442 g.
20443 \begin_inset space \space{}
20444 \end_inset
20445
20446 see the text 
20447 \begin_inset Quotes eld
20448 \end_inset
20449
20450
20451 \family sans
20452 on this page
20453 \family default
20454
20455 \begin_inset Quotes erd
20456 \end_inset
20457
20458  instead.
20459 \end_layout
20460
20461 \begin_layout Standard
20462 The number and current page of the referred document part in the output,
20463  is automatically calculated by LaTeX.
20464  The varieties are adjusted in the field 
20465 \family sans
20466 Format
20467 \family default
20468  of the cross-reference window, that appear when you click on the cross-referenc
20469 e box.
20470 \end_layout
20471
20472 \begin_layout Subsection
20473 Automatic Reference Naming
20474 \begin_inset Index
20475 status collapsed
20476
20477 \begin_layout Plain Layout
20478 References ! Automatic Reference Naming
20479 \end_layout
20480
20481 \end_inset
20482
20483
20484 \end_layout
20485
20486 \begin_layout Standard
20487 The LaTeX-package 
20488 \series bold
20489 hyperref
20490 \series default
20491
20492 \begin_inset Index
20493 status collapsed
20494
20495 \begin_layout Plain Layout
20496 LaTeX-packages ! hyperref
20497 \end_layout
20498
20499 \end_inset
20500
20501 , that is enabled in the 
20502 \family sans
20503 PDF Properties
20504 \family default
20505  of the 
20506 \family sans
20507 Document Settings
20508 \family default
20509  dialog, provides a very useful feature that cross-references automatically
20510  include the name of the referenced floats (or text parts like 
20511 \emph on
20512 section
20513 \emph default
20514 ).
20515  So you will save to write e.
20516 \begin_inset space \thinspace{}
20517 \end_inset
20518
20519 g.
20520 \begin_inset space \space{}
20521 \end_inset
20522
20523 the name 
20524 \begin_inset Quotes eld
20525 \end_inset
20526
20527 Figure
20528 \begin_inset Quotes erd
20529 \end_inset
20530
20531  before every reference to a figure.
20532  To use this feature, enable 
20533 \series bold
20534 hyperref
20535 \series default
20536  and insert this line to the LaTeX preamble:
20537 \end_layout
20538
20539 \begin_layout Standard
20540
20541 \series bold
20542
20543 \backslash
20544 AtBeginDocument{
20545 \backslash
20546 renewcommand{
20547 \backslash
20548 ref}[1]{
20549 \backslash
20550 mbox{
20551 \backslash
20552 autoref{#1}}}}
20553 \end_layout
20554
20555 \begin_layout Standard
20556 When you prefer other reference names than the default ones, for example
20557  you want instead of 
20558 \begin_inset Quotes eld
20559 \end_inset
20560
20561 section
20562 \begin_inset Quotes erd
20563 \end_inset
20564
20565  the name 
20566 \begin_inset Quotes eld
20567 \end_inset
20568
20569 sec.
20570 \begin_inset space \thinspace{}
20571 \end_inset
20572
20573
20574 \begin_inset Quotes eld
20575 \end_inset
20576
20577 , you can redefine the name by inserting this to the preamble:
20578 \end_layout
20579
20580 \begin_layout Standard
20581
20582 \series bold
20583
20584 \backslash
20585 addto
20586 \backslash
20587 extrasenglish{
20588 \backslash
20589 renewcommand{
20590 \backslash
20591 sectionautorefname}
20592 \begin_inset Newline newline
20593 \end_inset
20594
20595
20596 \begin_inset ERT
20597 status collapsed
20598
20599 \begin_layout Plain Layout
20600
20601
20602 \backslash
20603 hphantom{ }
20604 \end_layout
20605
20606 \end_inset
20607
20608 {sec.
20609 \backslash
20610 negthinspace}}
20611 \end_layout
20612
20613 \begin_layout Standard
20614 When you are using another document language than English, replace
20615 \begin_inset Newline newline
20616 \end_inset
20617
20618
20619 \series bold
20620
20621 \backslash
20622 extrasenglish
20623 \series default
20624  by 
20625 \series bold
20626
20627 \backslash
20628 extras***
20629 \series default
20630 , where *** is the name of the used language.
20631 \end_layout
20632
20633 \begin_layout Standard
20634 To get automatic names, but not for certain reference types, for example
20635  not for equations, use this preamble code:
20636 \end_layout
20637
20638 \begin_layout Standard
20639
20640 \series bold
20641
20642 \backslash
20643 newlength{
20644 \backslash
20645 abc}
20646 \begin_inset Newline newline
20647 \end_inset
20648
20649
20650 \backslash
20651 settowidth{
20652 \backslash
20653 abc}{
20654 \backslash
20655 space}
20656 \begin_inset Newline newline
20657 \end_inset
20658
20659
20660 \backslash
20661 addto
20662 \backslash
20663 extrasenglish{
20664 \backslash
20665 renewcommand{
20666 \backslash
20667 equationautorefname}
20668 \begin_inset Newline newline
20669 \end_inset
20670
20671
20672 \begin_inset ERT
20673 status collapsed
20674
20675 \begin_layout Plain Layout
20676
20677
20678 \backslash
20679 hphantom{ }
20680 \end_layout
20681
20682 \end_inset
20683
20684 {
20685 \backslash
20686 hspace{-
20687 \backslash
20688 abc}}
20689 \end_layout
20690
20691 \begin_layout Standard
20692 More about this topic can be found in 
20693 \series bold
20694 hyperref
20695 \series default
20696 's documentation 
20697 \begin_inset CommandInset citation
20698 LatexCommand cite
20699 key "hyperref"
20700
20701 \end_inset
20702
20703 .
20704 \end_layout
20705
20706 \begin_layout Standard
20707 \begin_inset Note Greyedout
20708 status open
20709
20710 \begin_layout Plain Layout
20711
20712 \series bold
20713 Note:
20714 \series default
20715  Automatic reference naming cannot be used when you use cross-references
20716  in the 
20717 \family sans
20718 Formatted
20719 \begin_inset space ~
20720 \end_inset
20721
20722 reference
20723 \family default
20724  style, as described in section
20725 \begin_inset space ~
20726 \end_inset
20727
20728
20729 \begin_inset CommandInset ref
20730 LatexCommand ref
20731 reference "sub:Cross-Reference-Formats"
20732
20733 \end_inset
20734
20735 .
20736 \end_layout
20737
20738 \end_inset
20739
20740
20741 \end_layout
20742
20743 \begin_layout Standard
20744 The 
20745 \emph on
20746 Math
20747 \emph default
20748  manual is an example where automatic reference naming is used.
20749 \end_layout
20750
20751 \begin_layout Subsection
20752 Reference Position
20753 \begin_inset CommandInset label
20754 LatexCommand label
20755 name "sub:Reference-Position"
20756
20757 \end_inset
20758
20759
20760 \begin_inset Index
20761 status collapsed
20762
20763 \begin_layout Plain Layout
20764 References ! Reference Position
20765 \end_layout
20766
20767 \end_inset
20768
20769
20770 \end_layout
20771
20772 \begin_layout Standard
20773 If you use 
20774 \series bold
20775 hyperref
20776 \series default
20777
20778 \begin_inset Index
20779 status collapsed
20780
20781 \begin_layout Plain Layout
20782 LaTeX-packages ! hyperref
20783 \end_layout
20784
20785 \end_inset
20786
20787  in the 
20788 \family sans
20789 PDF Properties
20790 \family default
20791  of the 
20792 \family sans
20793 Document Settings
20794 \family default
20795  dialog to link cross-references in the output, you will see that clicking
20796  on an image float reference jumps to the image label.
20797  The caption will be the first text part on the screen, so that you cannot
20798  see the image without scrolling.
20799  This is because the reference link anchor is placed at the position of
20800  the label.
20801  With the use of the package 
20802 \series bold
20803 hypcap
20804 \series default
20805
20806 \begin_inset Index
20807 status collapsed
20808
20809 \begin_layout Plain Layout
20810 LaTeX-packages ! hypcap
20811 \end_layout
20812
20813 \end_inset
20814
20815 , which is part of the LaTeX-package 
20816 \series bold
20817 oberdiek
20818 \series default
20819
20820 \begin_inset Index
20821 status collapsed
20822
20823 \begin_layout Plain Layout
20824 LaTeX-packages ! oberdiek
20825 \end_layout
20826
20827 \end_inset
20828
20829 , the link anchor is placed at the beginning of a float.
20830  To use this feature for figure floats, load 
20831 \series bold
20832 hypcap
20833 \series default
20834  in the document preamble with the line
20835 \end_layout
20836
20837 \begin_layout Standard
20838
20839 \series bold
20840
20841 \backslash
20842 usepackage[figure]{hypcap}
20843 \end_layout
20844
20845 \begin_layout Standard
20846 You can also use 
20847 \series bold
20848 hypcap
20849 \series default
20850  for all float types but this is not recommended for stability reasons.
20851  For more information, have a look at 
20852 \series bold
20853 hypcap
20854 \series default
20855 's manual 
20856 \begin_inset CommandInset citation
20857 LatexCommand cite
20858 key "hypcap"
20859
20860 \end_inset
20861
20862 .
20863 \end_layout
20864
20865 \begin_layout Standard
20866 \begin_inset Note Greyedout
20867 status open
20868
20869 \begin_layout Plain Layout
20870
20871 \series bold
20872 Note:
20873 \series default
20874  
20875 \series bold
20876 hypcap
20877 \series default
20878  has no effect for references to subfigures.
20879 \end_layout
20880
20881 \end_inset
20882
20883
20884 \end_layout
20885
20886 \begin_layout Section
20887 Float Placement
20888 \begin_inset CommandInset label
20889 LatexCommand label
20890 name "sec:Float-Placement"
20891
20892 \end_inset
20893
20894
20895 \begin_inset Index
20896 status collapsed
20897
20898 \begin_layout Plain Layout
20899 Floats ! Placement
20900 \end_layout
20901
20902 \end_inset
20903
20904
20905 \end_layout
20906
20907 \begin_layout Standard
20908 Right-clicking on a float-box opens a dialog where you can alter the placement
20909  options that LaTeX uses for positioning the float.
20910 \begin_inset Newline newline
20911 \end_inset
20912
20913 The option 
20914 \family sans
20915 Span
20916 \begin_inset space ~
20917 \end_inset
20918
20919 columns
20920 \family default
20921  is only useful for two-column documents: If you select it, the float will
20922  span across both columns on the page instead of being confined to just
20923  one.
20924 \begin_inset Newline newline
20925 \end_inset
20926
20927 The option 
20928 \family sans
20929 Rotate
20930 \begin_inset space ~
20931 \end_inset
20932
20933 sideways
20934 \family default
20935  is used to rotate floats, see section 
20936 \begin_inset CommandInset ref
20937 LatexCommand ref
20938 reference "sec:Rotated-Floats"
20939
20940 \end_inset
20941
20942 .
20943 \end_layout
20944
20945 \begin_layout Standard
20946 You can use one ore more of the following options in the float dialog to
20947  set the placement for a particular float when you uncheck the option 
20948 \family sans
20949 Use
20950 \begin_inset space ~
20951 \end_inset
20952
20953 default
20954 \begin_inset space ~
20955 \end_inset
20956
20957 placement
20958 \family default
20959 :
20960 \end_layout
20961
20962 \begin_layout Description
20963 Here
20964 \begin_inset space ~
20965 \end_inset
20966
20967 if
20968 \begin_inset space ~
20969 \end_inset
20970
20971 possible try to place the float on the position where it is inserted
20972 \end_layout
20973
20974 \begin_layout Description
20975 Top
20976 \begin_inset space ~
20977 \end_inset
20978
20979 of
20980 \begin_inset space ~
20981 \end_inset
20982
20983 page try to place the float on the top of the current page
20984 \end_layout
20985
20986 \begin_layout Description
20987 Bottom
20988 \begin_inset space ~
20989 \end_inset
20990
20991 of
20992 \begin_inset space ~
20993 \end_inset
20994
20995 page try to place the float on the bottom of the current page
20996 \end_layout
20997
20998 \begin_layout Description
20999 Page
21000 \begin_inset space ~
21001 \end_inset
21002
21003 of
21004 \begin_inset space ~
21005 \end_inset
21006
21007 floats try to place the float on an own page 
21008 \end_layout
21009
21010 \begin_layout Standard
21011 The order of the above option is 
21012 \emph on
21013 always
21014 \emph default
21015  used by LaTeX.
21016  That means, if you use the default placement, LaTeX will first try out
21017  
21018 \family sans
21019 Here
21020 \begin_inset space ~
21021 \end_inset
21022
21023 if
21024 \begin_inset space ~
21025 \end_inset
21026
21027 possible
21028 \family default
21029 , then 
21030 \family sans
21031 Top
21032 \begin_inset space ~
21033 \end_inset
21034
21035 of
21036 \begin_inset space ~
21037 \end_inset
21038
21039 page
21040 \family default
21041 , and then the others.
21042  If you don't use the default, LaTeX will try only the checked options but
21043  in the same order.
21044  If none of the 4 placements are possible the procedure is internally repeated
21045  but it is tried to put the float on the following page.
21046 \end_layout
21047
21048 \begin_layout Standard
21049 By default, each option has its own rules:
21050 \end_layout
21051
21052 \begin_layout Labeling
21053 \labelwidthstring 00.00.0000
21054
21055 \family sans
21056 Top
21057 \begin_inset space ~
21058 \end_inset
21059
21060 of
21061 \begin_inset space ~
21062 \end_inset
21063
21064 page
21065 \family default
21066  only floats occupying less than 70
21067 \begin_inset space \thinspace{}
21068 \end_inset
21069
21070 % of the page can be placed at the top of a page (
21071 \series bold
21072
21073 \backslash
21074 topfraction
21075 \series default
21076 )
21077 \end_layout
21078
21079 \begin_layout Labeling
21080 \labelwidthstring 00.00.0000
21081
21082 \family sans
21083 Bottom
21084 \begin_inset space ~
21085 \end_inset
21086
21087 of
21088 \begin_inset space ~
21089 \end_inset
21090
21091 page
21092 \family default
21093 : only floats occupying less than 30
21094 \begin_inset space \thinspace{}
21095 \end_inset
21096
21097 % of the page can be placed at the bottom of a page.
21098  (
21099 \series bold
21100
21101 \backslash
21102 bottomfraction
21103 \series default
21104 )
21105 \end_layout
21106
21107 \begin_layout Labeling
21108 \labelwidthstring 00.00.0000
21109
21110 \family sans
21111 Page
21112 \begin_inset space ~
21113 \end_inset
21114
21115 of
21116 \begin_inset space ~
21117 \end_inset
21118
21119 floats
21120 \family default
21121 : only if more than 50
21122 \begin_inset space \thinspace{}
21123 \end_inset
21124
21125 % of the page are occupied by floats, several floats can be set together
21126  on a page.
21127  (
21128 \series bold
21129
21130 \backslash
21131 floatpagefraction
21132 \series default
21133 )
21134 \end_layout
21135
21136 \begin_layout Standard
21137 If you don't like these rules, you can ignore them by using the additional
21138  option 
21139 \family sans
21140 Ignore
21141 \begin_inset space ~
21142 \end_inset
21143
21144 LaTeX
21145 \begin_inset space ~
21146 \end_inset
21147
21148 rules
21149 \family default
21150 .
21151 \begin_inset Newline newline
21152 \end_inset
21153
21154 You can also redefine the rules with LaTeX-commands that are given in parenthese
21155 s behind the rules description above.
21156  To increase for example the often too small default of the bottom-rule
21157  to 50
21158 \begin_inset space \thinspace{}
21159 \end_inset
21160
21161 % of the page, add this line to your document preamble:
21162 \end_layout
21163
21164 \begin_layout Standard
21165
21166 \series bold
21167
21168 \backslash
21169 renewcommand{
21170 \backslash
21171 bottomfraction}{0.5}
21172 \end_layout
21173
21174 \begin_layout Standard
21175 Sometimes you might need, under all circumstances, a float to be placed
21176  exactly at the position where it is inserted.
21177  For this case you can use the option 
21178 \family sans
21179 Here
21180 \begin_inset space ~
21181 \end_inset
21182
21183 definitely
21184 \family default
21185 .
21186  Use this option very rarely and only if the document is nearly ready to
21187  be printed.
21188  Because the float is then no longer able to 
21189 \begin_inset Quotes eld
21190 \end_inset
21191
21192 float
21193 \begin_inset Quotes erd
21194 \end_inset
21195
21196  when you change your document and this will often destroy the page layout.
21197 \end_layout
21198
21199 \begin_layout Standard
21200 There are no placement options for text wrap floats, because they are always
21201  surrounded by the text of a certain paragraph.
21202 \begin_inset VSpace bigskip
21203 \end_inset
21204
21205
21206 \end_layout
21207
21208 \begin_layout Standard
21209 Sometimes you have the problem that a float is placed at the top of a page
21210  while its corresponding section starts at the middle of the page, so that
21211  the reader could think the float is part of the previous section.
21212  To avoid this the LaTeX-command 
21213 \series bold
21214
21215 \backslash
21216 suppressfloats
21217 \series default
21218  can be used.
21219  It suppresses a given float placement for the page where it is inserted
21220  and can therefore be used to avoid that floats could be set before a section
21221  starts.
21222  To get this, add these commands to your document preamble:
21223 \end_layout
21224
21225 \begin_layout Standard
21226
21227 \series bold
21228
21229 \backslash
21230 let
21231 \backslash
21232 mySection
21233 \backslash
21234 section
21235 \begin_inset Newline newline
21236 \end_inset
21237
21238
21239 \backslash
21240 renewcommand{
21241 \backslash
21242 section}{
21243 \backslash
21244 suppressfloats[t]
21245 \backslash
21246 mySection}
21247 \end_layout
21248
21249 \begin_layout Standard
21250 You can define the same for all section headings, like chapters and subsections.
21251  This definition is not recommended to be used for small text parts like
21252  subsubsections because LaTeX may then have problems to find a suitable
21253  placement.
21254 \end_layout
21255
21256 \begin_layout Standard
21257 \begin_inset VSpace bigskip
21258 \end_inset
21259
21260 In some cases it is required to have all figures/tables at the end of the
21261  document.
21262  For this purpose the LaTeX-package 
21263 \series bold
21264 endfloat
21265 \series default
21266
21267 \begin_inset Index
21268 status collapsed
21269
21270 \begin_layout Plain Layout
21271 LaTeX-packages ! endfloat
21272 \end_layout
21273
21274 \end_inset
21275
21276  was developed.
21277  It puts all figure and table floats at the end of the document into own
21278  sections.
21279  At the original float position a text hint like 
21280 \begin_inset Quotes eld
21281 \end_inset
21282
21283
21284 \family sans
21285 [Figure
21286 \begin_inset space ~
21287 \end_inset
21288
21289 3.2 about here.]
21290 \family default
21291
21292 \begin_inset Quotes erd
21293 \end_inset
21294
21295  is inserted.
21296  The endfloat-package is loaded in the preamble with the line
21297 \end_layout
21298
21299 \begin_layout Standard
21300
21301 \series bold
21302
21303 \backslash
21304 usepackage[options]{endfloat}
21305 \end_layout
21306
21307 \begin_layout Standard
21308 There are various package options to format the created figure/table sections.
21309  For more information we refer to the 
21310 \series bold
21311 endfloat
21312 \series default
21313  documentation 
21314 \begin_inset CommandInset citation
21315 LatexCommand cite
21316 key "endfloat"
21317
21318 \end_inset
21319
21320 .
21321 \begin_inset Newline newline
21322 \end_inset
21323
21324
21325 \begin_inset Note Greyedout
21326 status open
21327
21328 \begin_layout Plain Layout
21329
21330 \series bold
21331 Note: endfloat
21332 \series default
21333  doesn't provide an automatic translation for the text hint, you have to
21334  do this manually, see section
21335 \begin_inset space ~
21336 \end_inset
21337
21338 4 in 
21339 \begin_inset CommandInset citation
21340 LatexCommand cite
21341 key "endfloat"
21342
21343 \end_inset
21344
21345 .
21346 \end_layout
21347
21348 \end_inset
21349
21350
21351 \begin_inset Newline newline
21352 \end_inset
21353
21354
21355 \begin_inset Note Greyedout
21356 status open
21357
21358 \begin_layout Plain Layout
21359
21360 \series bold
21361 Note:
21362 \series default
21363  There is currently a bug in 
21364 \series bold
21365 endfloat
21366 \series default
21367  when the caption contains a German 
21368 \begin_inset Quotes eld
21369 \end_inset
21370
21371 ß
21372 \begin_inset Quotes erd
21373 \end_inset
21374
21375 .
21376  Use in this case the command 
21377 \begin_inset Quotes eld
21378 \end_inset
21379
21380
21381 \series bold
21382
21383 \backslash
21384 ss
21385 \series default
21386
21387 \begin_inset Quotes erd
21388 \end_inset
21389
21390  in TeX-Code instead of 
21391 \begin_inset Quotes eld
21392 \end_inset
21393
21394 ß
21395 \begin_inset Quotes erd
21396 \end_inset
21397
21398 .
21399 \end_layout
21400
21401 \end_inset
21402
21403
21404 \end_layout
21405
21406 \begin_layout Standard
21407 \begin_inset VSpace bigskip
21408 \end_inset
21409
21410 For more details about float placements, have a look at LaTeX books, 
21411 \begin_inset CommandInset citation
21412 LatexCommand cite
21413 key "latexcompanion,latexguide,latexbook"
21414
21415 \end_inset
21416
21417 .
21418 \end_layout
21419
21420 \begin_layout Section
21421 Rotated Floats
21422 \begin_inset CommandInset label
21423 LatexCommand label
21424 name "sec:Rotated-Floats"
21425
21426 \end_inset
21427
21428
21429 \begin_inset Index
21430 status collapsed
21431
21432 \begin_layout Plain Layout
21433 Floats ! Rotating
21434 \end_layout
21435
21436 \end_inset
21437
21438
21439 \end_layout
21440
21441 \begin_layout Standard
21442 Especially for wide tables you might have floats rotated.
21443  To rotate a whole float including the caption, right-click on the float-box
21444  and use the option 
21445 \family sans
21446 Rotate
21447 \begin_inset space ~
21448 \end_inset
21449
21450 sideways
21451 \family default
21452 .
21453 \end_layout
21454
21455 \begin_layout Standard
21456 Rotated floats are always placed on its own page (or column, in case you
21457  have a multi-column document).
21458  You can let them span several columns using the float settings option 
21459 \family sans
21460 Span
21461 \begin_inset space ~
21462 \end_inset
21463
21464 columns
21465 \family default
21466 .
21467  Floats are rotated so that you can read them from the outside margin.
21468  To force a certain rotation direction for all pages, you can add either
21469  the option 
21470 \series bold
21471 figuresleft
21472 \series default
21473  or 
21474 \series bold
21475 figuresright
21476 \series default
21477  to the document class options.
21478 \end_layout
21479
21480 \begin_layout Standard
21481 Referencing rotated floats is the same like for normal floats, the caption
21482  format is also the same: Table
21483 \begin_inset space ~
21484 \end_inset
21485
21486
21487 \begin_inset CommandInset ref
21488 LatexCommand ref
21489 reference "tab:Rotated-table"
21490
21491 \end_inset
21492
21493  is an example of a rotated table float.
21494 \end_layout
21495
21496 \begin_layout Standard
21497 \begin_inset Note Greyedout
21498 status open
21499
21500 \begin_layout Plain Layout
21501
21502 \series bold
21503 Note:
21504 \series default
21505  Not all DVI-viewers are able to display rotated floats.
21506 \end_layout
21507
21508 \end_inset
21509
21510
21511 \end_layout
21512
21513 \begin_layout Standard
21514 \begin_inset Float table
21515 wide false
21516 sideways true
21517 status open
21518
21519 \begin_layout Plain Layout
21520 \begin_inset Caption
21521
21522 \begin_layout Plain Layout
21523 \begin_inset CommandInset label
21524 LatexCommand label
21525 name "tab:Rotated-table"
21526
21527 \end_inset
21528
21529  Rotated table
21530 \end_layout
21531
21532 \end_inset
21533
21534
21535 \end_layout
21536
21537 \begin_layout Plain Layout
21538 \align center
21539 \begin_inset Tabular
21540 <lyxtabular version="3" rows="1" columns="5">
21541 <features>
21542 <column alignment="center" valignment="top" width="0">
21543 <column alignment="center" valignment="top" width="0">
21544 <column alignment="center" valignment="top" width="0">
21545 <column alignment="center" valignment="top" width="0">
21546 <column alignment="center" valignment="top" width="0">
21547 <row>
21548 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21549 \begin_inset Text
21550
21551 \begin_layout Plain Layout
21552 test
21553 \end_layout
21554
21555 \end_inset
21556 </cell>
21557 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21558 \begin_inset Text
21559
21560 \begin_layout Plain Layout
21561 b
21562 \end_layout
21563
21564 \end_inset
21565 </cell>
21566 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21567 \begin_inset Text
21568
21569 \begin_layout Plain Layout
21570 c
21571 \end_layout
21572
21573 \end_inset
21574 </cell>
21575 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21576 \begin_inset Text
21577
21578 \begin_layout Plain Layout
21579 d
21580 \end_layout
21581
21582 \end_inset
21583 </cell>
21584 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21585 \begin_inset Text
21586
21587 \begin_layout Plain Layout
21588 e
21589 \end_layout
21590
21591 \end_inset
21592 </cell>
21593 </row>
21594 </lyxtabular>
21595
21596 \end_inset
21597
21598
21599 \end_layout
21600
21601 \end_inset
21602
21603
21604 \end_layout
21605
21606 \begin_layout Section
21607 Floats Side by Side
21608 \begin_inset Index
21609 status collapsed
21610
21611 \begin_layout Plain Layout
21612 Floats ! Side by side
21613 \end_layout
21614
21615 \end_inset
21616
21617
21618 \end_layout
21619
21620 \begin_layout Standard
21621 To place floats side by side, like for Figure
21622 \begin_inset space ~
21623 \end_inset
21624
21625
21626 \begin_inset CommandInset ref
21627 LatexCommand ref
21628 reference "fig:Float-left"
21629
21630 \end_inset
21631
21632  and 
21633 \begin_inset CommandInset ref
21634 LatexCommand ref
21635 reference "fig:Float-right"
21636
21637 \end_inset
21638
21639 , only 
21640 \emph on
21641 one
21642 \emph default
21643  float is used.
21644  In it two minipage boxes are inserted.
21645 \begin_inset Foot
21646 status collapsed
21647
21648 \begin_layout Plain Layout
21649 Minipages are explained in section
21650 \begin_inset space ~
21651 \end_inset
21652
21653
21654 \begin_inset CommandInset ref
21655 LatexCommand ref
21656 reference "sec:Minipages"
21657
21658 \end_inset
21659
21660 .
21661 \end_layout
21662
21663 \end_inset
21664
21665  The width is set to 45
21666 \begin_inset space \thinspace{}
21667 \end_inset
21668
21669 -50
21670 \begin_inset space \thinspace{}
21671 \end_inset
21672
21673 column% and the box alignment to 
21674 \family sans
21675 Bottom
21676 \family default
21677  for each minipage.
21678  The minipage boxes contain the image and the caption in the same way as
21679  they are in a float.
21680  The only difference is that the image unit 
21681 \family sans
21682 Column
21683 \begin_inset space ~
21684 \end_inset
21685
21686 Width
21687 \begin_inset space ~
21688 \end_inset
21689
21690 %
21691 \family default
21692  is now calculated according to the width of the minipage boxes.
21693 \end_layout
21694
21695 \begin_layout Standard
21696 \begin_inset Float figure
21697 wide false
21698 sideways false
21699 status open
21700
21701 \begin_layout Plain Layout
21702 \begin_inset Box Frameless
21703 position "b"
21704 hor_pos "c"
21705 has_inner_box 1
21706 inner_pos "t"
21707 use_parbox 0
21708 width "45col%"
21709 special "none"
21710 height "1in"
21711 height_special "totalheight"
21712 status open
21713
21714 \begin_layout Plain Layout
21715 \align center
21716 \begin_inset Graphics
21717         filename clipart/mobius.eps
21718         lyxscale 50
21719         width 100col%
21720         scaleBeforeRotation
21721
21722 \end_inset
21723
21724
21725 \end_layout
21726
21727 \begin_layout Plain Layout
21728 \begin_inset Caption
21729
21730 \begin_layout Plain Layout
21731 \begin_inset CommandInset label
21732 LatexCommand label
21733 name "fig:Float-left"
21734
21735 \end_inset
21736
21737 Float on the left side.
21738 \end_layout
21739
21740 \end_inset
21741
21742
21743 \end_layout
21744
21745 \end_inset
21746
21747
21748 \begin_inset space \hfill{}
21749 \end_inset
21750
21751
21752 \begin_inset Box Frameless
21753 position "b"
21754 hor_pos "c"
21755 has_inner_box 1
21756 inner_pos "t"
21757 use_parbox 0
21758 width "45col%"
21759 special "none"
21760 height "1in"
21761 height_special "totalheight"
21762 status open
21763
21764 \begin_layout Plain Layout
21765 \align center
21766 \begin_inset Graphics
21767         filename clipart/platypus.eps
21768         lyxscale 50
21769         width 100col%
21770         scaleBeforeRotation
21771
21772 \end_inset
21773
21774
21775 \end_layout
21776
21777 \begin_layout Plain Layout
21778 \begin_inset Caption
21779
21780 \begin_layout Plain Layout
21781 \begin_inset CommandInset label
21782 LatexCommand label
21783 name "fig:Float-right"
21784
21785 \end_inset
21786
21787 Float on the right side.
21788 \end_layout
21789
21790 \end_inset
21791
21792
21793 \end_layout
21794
21795 \end_inset
21796
21797
21798 \end_layout
21799
21800 \begin_layout Plain Layout
21801
21802 \end_layout
21803
21804 \end_inset
21805
21806
21807 \end_layout
21808
21809 \begin_layout Section
21810 Caption Formatting
21811 \begin_inset Index
21812 status collapsed
21813
21814 \begin_layout Plain Layout
21815 Caption ! Formatting
21816 \end_layout
21817
21818 \end_inset
21819
21820
21821 \begin_inset Index
21822 status collapsed
21823
21824 \begin_layout Plain Layout
21825 Floats ! Caption Formatting
21826 \end_layout
21827
21828 \end_inset
21829
21830
21831 \begin_inset CommandInset label
21832 LatexCommand label
21833 name "sec:Caption-Formatting"
21834
21835 \end_inset
21836
21837
21838 \end_layout
21839
21840 \begin_layout Standard
21841 The 
21842 \family sans
21843 Caption
21844 \family default
21845  environment is the default paragraph environment for 
21846 \family sans
21847 Floats
21848 \family default
21849 .
21850  On the LyX screen captions appear as label, e.
21851 \begin_inset space \thinspace{}
21852 \end_inset
21853
21854 g.
21855 \begin_inset space \space{}
21856 \end_inset
21857
21858
21859 \begin_inset Quotes eld
21860 \end_inset
21861
21862
21863 \family sans
21864 Figure #:
21865 \family default
21866
21867 \begin_inset Quotes erd
21868 \end_inset
21869
21870  followed by the caption text.
21871  
21872 \begin_inset Quotes eld
21873 \end_inset
21874
21875 #
21876 \begin_inset Quotes erd
21877 \end_inset
21878
21879  is the actual reference number.
21880  By default the label and the number are in the same font as the caption
21881  text and a colon follows the number to divide the label from the text.
21882  This caption format is not suitable for all document formats.
21883  
21884 \end_layout
21885
21886 \begin_layout Standard
21887 To change the default caption format, load the LaTeX-package 
21888 \series bold
21889 caption
21890 \series default
21891
21892 \begin_inset Index
21893 status collapsed
21894
21895 \begin_layout Plain Layout
21896 LaTeX-packages ! caption
21897 \end_layout
21898
21899 \end_inset
21900
21901  in the document preamble with this line:
21902 \end_layout
21903
21904 \begin_layout Standard
21905
21906 \series bold
21907
21908 \backslash
21909 usepackage[format definition]{caption}
21910 \end_layout
21911
21912 \begin_layout Standard
21913 To have for example the label and the number in sans-serif bold font and
21914  the table captions always above the table like in this document, use the
21915  following command:
21916 \end_layout
21917
21918 \begin_layout Standard
21919
21920 \series bold
21921
21922 \backslash
21923 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
21924 \end_layout
21925
21926 \begin_layout Standard
21927 You can also define different caption formats for the different float types.
21928  In this case load the 
21929 \series bold
21930 caption
21931 \series default
21932  package without format specific options and define the different formats
21933  with the help of the command
21934 \end_layout
21935
21936 \begin_layout Standard
21937
21938 \series bold
21939
21940 \backslash
21941 captionsetup[float type]{format definition}
21942 \end_layout
21943
21944 \begin_layout Standard
21945 in the document preamble.
21946  For example the caption formats of Figure
21947 \begin_inset space ~
21948 \end_inset
21949
21950
21951 \begin_inset CommandInset ref
21952 LatexCommand ref
21953 reference "fig:This-is-an-fig"
21954
21955 \end_inset
21956
21957  and Table
21958 \begin_inset space ~
21959 \end_inset
21960
21961
21962 \begin_inset CommandInset ref
21963 LatexCommand ref
21964 reference "tab:This-is-an-tab"
21965
21966 \end_inset
21967
21968  can be created using these commands in the document preamble:
21969 \end_layout
21970
21971 \begin_layout Standard
21972
21973 \series bold
21974
21975 \backslash
21976 usepackage[tableposition=top]{caption}
21977 \series default
21978
21979 \begin_inset Newline newline
21980 \end_inset
21981
21982
21983 \series bold
21984
21985 \backslash
21986 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
21987 \begin_inset Newline newline
21988 \end_inset
21989
21990
21991 \begin_inset ERT
21992 status collapsed
21993
21994 \begin_layout Plain Layout
21995
21996
21997 \backslash
21998 hphantom{
21999 \backslash
22000
22001 \backslash
22002 captionsetup[figure]
22003 \backslash
22004 {}
22005 \end_layout
22006
22007 \end_inset
22008
22009  labelsep=period}
22010 \begin_inset Newline newline
22011 \end_inset
22012
22013
22014 \backslash
22015 captionsetup[table]{labelfont={bf,sf}}
22016 \end_layout
22017
22018 \begin_layout Standard
22019 \begin_inset Note Greyedout
22020 status open
22021
22022 \begin_layout Plain Layout
22023
22024 \series bold
22025 Note:
22026 \series default
22027  The option 
22028 \series bold
22029 tableposition=top
22030 \series default
22031  has no effect when a 
22032 \series bold
22033 koma-script
22034 \series default
22035
22036 \begin_inset Index
22037 status collapsed
22038
22039 \begin_layout Plain Layout
22040 LaTeX-packages ! koma-script
22041 \end_layout
22042
22043 \end_inset
22044
22045  document class is used.
22046  In this case the document class option 
22047 \series bold
22048 tablecaptionabove
22049 \series default
22050  must be used.
22051 \end_layout
22052
22053 \end_inset
22054
22055
22056 \end_layout
22057
22058 \begin_layout Standard
22059 For more information about the package 
22060 \series bold
22061 caption
22062 \series default
22063  we refer to its documentation 
22064 \begin_inset CommandInset citation
22065 LatexCommand cite
22066 key "caption"
22067
22068 \end_inset
22069
22070 .
22071 \end_layout
22072
22073 \begin_layout Standard
22074 To change the label name from e.
22075 \begin_inset space \thinspace{}
22076 \end_inset
22077
22078 g.
22079 \begin_inset space \space{}
22080 \end_inset
22081
22082
22083 \begin_inset Quotes eld
22084 \end_inset
22085
22086 Figure
22087 \begin_inset Quotes erd
22088 \end_inset
22089
22090  to 
22091 \begin_inset Quotes eld
22092 \end_inset
22093
22094 Image
22095 \begin_inset Quotes erd
22096 \end_inset
22097
22098  use this preamble command:
22099 \end_layout
22100
22101 \begin_layout Standard
22102
22103 \series bold
22104
22105 \backslash
22106 renewcommand{
22107 \backslash
22108 fnum@figure}{Image~
22109 \backslash
22110 thefigure}
22111 \end_layout
22112
22113 \begin_layout Standard
22114 where 
22115 \series bold
22116
22117 \backslash
22118 thefigure
22119 \series default
22120  inserts the figure number and
22121 \series bold
22122  
22123 \begin_inset Quotes eld
22124 \end_inset
22125
22126 ~
22127 \series default
22128
22129 \begin_inset Quotes erd
22130 \end_inset
22131
22132  creates a protected space.
22133 \end_layout
22134
22135 \begin_layout Standard
22136 \begin_inset VSpace bigskip
22137 \end_inset
22138
22139 If you are using a 
22140 \series bold
22141 koma-script
22142 \series default
22143
22144 \begin_inset Index
22145 status collapsed
22146
22147 \begin_layout Plain Layout
22148 LaTeX-packages ! koma-script
22149 \end_layout
22150
22151 \end_inset
22152
22153  document class (
22154 \family sans
22155 article (koma-script)
22156 \family default
22157
22158 \family sans
22159 book (koma-script)
22160 \family default
22161
22162 \family sans
22163 letter (koma-script)
22164 \family default
22165 , or 
22166 \family sans
22167 report (koma-script)
22168 \family default
22169
22170 \begin_inset space \thinspace{}
22171 \end_inset
22172
22173 ), you can alternatively to the 
22174 \series bold
22175 caption
22176 \series default
22177  package use 
22178 \series bold
22179 koma-script
22180 \series default
22181 's built-in command 
22182 \series bold
22183
22184 \backslash
22185 setkomafont
22186 \series default
22187 .
22188  For example, to have the caption label in bold, add this command to your
22189  document preamble:
22190 \end_layout
22191
22192 \begin_layout Standard
22193
22194 \series bold
22195
22196 \backslash
22197 setkomafont{captionlabel}{
22198 \backslash
22199 bfseries}
22200 \end_layout
22201
22202 \begin_layout Standard
22203 For more information about 
22204 \series bold
22205
22206 \backslash
22207 setkomafont
22208 \series default
22209  we refer to the 
22210 \series bold
22211 koma-script
22212 \series default
22213  documentation 
22214 \begin_inset CommandInset citation
22215 LatexCommand cite
22216 key "koma-script"
22217
22218 \end_inset
22219
22220 .
22221 \end_layout
22222
22223 \begin_layout Standard
22224 \begin_inset ERT
22225 status collapsed
22226
22227 \begin_layout Plain Layout
22228
22229
22230 \backslash
22231 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
22232 }
22233 \end_layout
22234
22235 \end_inset
22236
22237
22238 \begin_inset Note Note
22239 status open
22240
22241 \begin_layout Plain Layout
22242 The caption format is changed only for this example.
22243 \end_layout
22244
22245 \end_inset
22246
22247
22248 \end_layout
22249
22250 \begin_layout Standard
22251 \begin_inset Float figure
22252 placement !p
22253 wide false
22254 sideways false
22255 status open
22256
22257 \begin_layout Plain Layout
22258 \align center
22259 \begin_inset Graphics
22260         filename clipart/mobius.eps
22261         lyxscale 50
22262         scale 50
22263         scaleBeforeRotation
22264
22265 \end_inset
22266
22267
22268 \end_layout
22269
22270 \begin_layout Plain Layout
22271 \begin_inset Caption
22272
22273 \begin_layout Plain Layout
22274 \begin_inset CommandInset label
22275 LatexCommand label
22276 name "fig:This-is-an-fig"
22277
22278 \end_inset
22279
22280 This is an example figure caption that is longer than one line to show the
22281  different caption format.
22282  Here a self-defined caption format is used.
22283 \end_layout
22284
22285 \end_inset
22286
22287
22288 \end_layout
22289
22290 \end_inset
22291
22292
22293 \end_layout
22294
22295 \begin_layout Standard
22296 \begin_inset ERT
22297 status collapsed
22298
22299 \begin_layout Plain Layout
22300
22301
22302 \backslash
22303 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
22304 on}
22305 \end_layout
22306
22307 \end_inset
22308
22309
22310 \end_layout
22311
22312 \begin_layout Standard
22313 \begin_inset Float table
22314 placement !p
22315 wide false
22316 sideways false
22317 status open
22318
22319 \begin_layout Plain Layout
22320 \begin_inset Caption
22321
22322 \begin_layout Plain Layout
22323 \begin_inset CommandInset label
22324 LatexCommand label
22325 name "tab:This-is-an-tab"
22326
22327 \end_inset
22328
22329 This is an example table caption that is longer than one line to show the
22330  different caption format.
22331  Here the standard caption format for tables in this document is used.
22332 \end_layout
22333
22334 \end_inset
22335
22336
22337 \end_layout
22338
22339 \begin_layout Plain Layout
22340 \align center
22341 \begin_inset Tabular
22342 <lyxtabular version="3" rows="1" columns="5">
22343 <features>
22344 <column alignment="center" valignment="top" width="0">
22345 <column alignment="center" valignment="top" width="0">
22346 <column alignment="center" valignment="top" width="0">
22347 <column alignment="center" valignment="top" width="0">
22348 <column alignment="center" valignment="top" width="0">
22349 <row>
22350 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22351 \begin_inset Text
22352
22353 \begin_layout Plain Layout
22354 a
22355 \end_layout
22356
22357 \end_inset
22358 </cell>
22359 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22360 \begin_inset Text
22361
22362 \begin_layout Plain Layout
22363 b
22364 \end_layout
22365
22366 \end_inset
22367 </cell>
22368 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22369 \begin_inset Text
22370
22371 \begin_layout Plain Layout
22372 c
22373 \end_layout
22374
22375 \end_inset
22376 </cell>
22377 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22378 \begin_inset Text
22379
22380 \begin_layout Plain Layout
22381 d
22382 \end_layout
22383
22384 \end_inset
22385 </cell>
22386 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22387 \begin_inset Text
22388
22389 \begin_layout Plain Layout
22390 e
22391 \end_layout
22392
22393 \end_inset
22394 </cell>
22395 </row>
22396 </lyxtabular>
22397
22398 \end_inset
22399
22400
22401 \end_layout
22402
22403 \end_inset
22404
22405
22406 \end_layout
22407
22408 \begin_layout Section
22409 Caption Placement
22410 \begin_inset Index
22411 status collapsed
22412
22413 \begin_layout Plain Layout
22414 Caption ! Placement
22415 \end_layout
22416
22417 \end_inset
22418
22419
22420 \begin_inset Index
22421 status collapsed
22422
22423 \begin_layout Plain Layout
22424 Floats ! Caption Placement
22425 \end_layout
22426
22427 \end_inset
22428
22429
22430 \begin_inset CommandInset label
22431 LatexCommand label
22432 name "sec:Caption-Placement"
22433
22434 \end_inset
22435
22436
22437 \end_layout
22438
22439 \begin_layout Standard
22440 The common caption placement rule is:
22441 \end_layout
22442
22443 \begin_layout Description
22444 Figure: Caption is set below the figure
22445 \end_layout
22446
22447 \begin_layout Description
22448 Table: Caption is set above the table
22449 \end_layout
22450
22451 \begin_layout Standard
22452 Having the caption above the table is unfortunately not supported in LaTeX's
22453  standard classes.
22454  That means if you are using the document classes 
22455 \family sans
22456 article
22457 \family default
22458
22459 \family sans
22460 book
22461 \family default
22462
22463 \family sans
22464 letter
22465 \family default
22466 , or 
22467 \family sans
22468 report
22469 \family default
22470  there will be no space between the caption and the table.
22471  To insert the needed space, add the following option to the load command
22472  of the LaTeX-package 
22473 \series bold
22474 caption
22475 \series default
22476  in your document preamble
22477 \begin_inset Foot
22478 status collapsed
22479
22480 \begin_layout Plain Layout
22481 See section
22482 \begin_inset space ~
22483 \end_inset
22484
22485
22486 \begin_inset CommandInset ref
22487 LatexCommand ref
22488 reference "sec:Caption-Formatting"
22489
22490 \end_inset
22491
22492  for more information of the package 
22493 \series bold
22494 caption
22495 \series default
22496 .
22497 \end_layout
22498
22499 \end_inset
22500
22501 :
22502 \end_layout
22503
22504 \begin_layout Standard
22505
22506 \series bold
22507 tableposition=top
22508 \end_layout
22509
22510 \begin_layout Standard
22511 If you are using a 
22512 \series bold
22513 koma-script
22514 \series default
22515
22516 \begin_inset Index
22517 status collapsed
22518
22519 \begin_layout Plain Layout
22520 LaTeX-packages ! koma-script
22521 \end_layout
22522
22523 \end_inset
22524
22525  document class (
22526 \family sans
22527 article (koma-script)
22528 \family default
22529
22530 \family sans
22531 book (koma-script)
22532 \family default
22533
22534 \family sans
22535 letter (koma-script)
22536 \family default
22537 , or 
22538 \family sans
22539 report (koma-script)
22540 \family default
22541
22542 \begin_inset space \thinspace{}
22543 \end_inset
22544
22545 ), you can alternatively to the 
22546 \series bold
22547 caption
22548 \series default
22549  package set the document class option 
22550 \series bold
22551 tablecaptionabove
22552 \series default
22553 .
22554 \end_layout
22555
22556 \begin_layout Standard
22557 \begin_inset VSpace bigskip
22558 \end_inset
22559
22560 It is also possible to set the caption beside a figure or table.
22561  To get this the LaTeX-package 
22562 \series bold
22563 sidecap
22564 \series default
22565
22566 \begin_inset Index
22567 status collapsed
22568
22569 \begin_layout Plain Layout
22570 LaTeX-packages ! sidecap
22571 \end_layout
22572
22573 \end_inset
22574
22575  has to be loaded in the document preamble with the line
22576 \end_layout
22577
22578 \begin_layout Standard
22579
22580 \series bold
22581
22582 \backslash
22583 usepackage[option]{sidecap}
22584 \end_layout
22585
22586 \begin_layout Standard
22587 If you set no option, the caption is placed on the side of the outer page
22588  margin â€“ to the right on odd pages, to the left on even pages.
22589  You can change the placement to inner margin with the option 
22590 \series bold
22591 innercaption
22592 \series default
22593 .
22594  To force the placement always to the right or left, use the option 
22595 \series bold
22596 rightcaption
22597 \series default
22598  or 
22599 \series bold
22600 leftcaption
22601 \series default
22602 , respectively.
22603 \end_layout
22604
22605 \begin_layout Standard
22606 \begin_inset ERT
22607 status collapsed
22608
22609 \begin_layout Plain Layout
22610
22611
22612 \backslash
22613 ifsidecap
22614 \end_layout
22615
22616 \end_inset
22617
22618
22619 \begin_inset Note Note
22620 status open
22621
22622 \begin_layout Plain Layout
22623 The following section will only be displayed when the LaTeX-package 
22624 \series bold
22625 sidecap
22626 \series default
22627  is installed.
22628 \end_layout
22629
22630 \end_inset
22631
22632
22633 \end_layout
22634
22635 \begin_layout Standard
22636 To place in LyX the caption of a float on the side, it is necessary to add
22637  these commands to the document preamble:
22638 \end_layout
22639
22640 \begin_layout Standard
22641
22642 \lyxline
22643
22644 \end_layout
22645
22646 \begin_layout Standard
22647
22648 \series bold
22649
22650 \backslash
22651 newcommand{
22652 \backslash
22653 TabBesBeg}{%
22654 \begin_inset Newline newline
22655 \end_inset
22656
22657
22658 \begin_inset ERT
22659 status collapsed
22660
22661 \begin_layout Plain Layout
22662
22663
22664 \backslash
22665 hphantom{ }
22666 \end_layout
22667
22668 \end_inset
22669
22670
22671 \backslash
22672 let
22673 \backslash
22674 MyTable
22675 \backslash
22676 table
22677 \begin_inset Newline newline
22678 \end_inset
22679
22680
22681 \begin_inset ERT
22682 status collapsed
22683
22684 \begin_layout Plain Layout
22685
22686
22687 \backslash
22688 hphantom{ }
22689 \end_layout
22690
22691 \end_inset
22692
22693
22694 \backslash
22695 let
22696 \backslash
22697 MyEndtable
22698 \backslash
22699 endtable
22700 \begin_inset Newline newline
22701 \end_inset
22702
22703
22704 \begin_inset ERT
22705 status collapsed
22706
22707 \begin_layout Plain Layout
22708
22709
22710 \backslash
22711 hphantom{ }
22712 \end_layout
22713
22714 \end_inset
22715
22716
22717 \backslash
22718 renewenvironment{table}{
22719 \backslash
22720 begin{SCtable}}{
22721 \backslash
22722 end{SCtable}}}
22723 \end_layout
22724
22725 \begin_layout Standard
22726
22727 \series bold
22728
22729 \backslash
22730 newcommand{
22731 \backslash
22732 TabBesEnd}{%
22733 \begin_inset Newline newline
22734 \end_inset
22735
22736
22737 \begin_inset ERT
22738 status collapsed
22739
22740 \begin_layout Plain Layout
22741
22742
22743 \backslash
22744 hphantom{ }
22745 \end_layout
22746
22747 \end_inset
22748
22749
22750 \backslash
22751 let
22752 \backslash
22753 table
22754 \backslash
22755 MyTable
22756 \begin_inset Newline newline
22757 \end_inset
22758
22759
22760 \begin_inset ERT
22761 status collapsed
22762
22763 \begin_layout Plain Layout
22764
22765
22766 \backslash
22767 hphantom{ }
22768 \end_layout
22769
22770 \end_inset
22771
22772
22773 \backslash
22774 let
22775 \backslash
22776 endtable
22777 \backslash
22778 MyEndtable
22779 \end_layout
22780
22781 \begin_layout Standard
22782
22783 \series bold
22784
22785 \backslash
22786 newcommand{
22787 \backslash
22788 FigBesBeg}{%
22789 \begin_inset Newline newline
22790 \end_inset
22791
22792
22793 \begin_inset ERT
22794 status collapsed
22795
22796 \begin_layout Plain Layout
22797
22798
22799 \backslash
22800 hphantom{ }
22801 \end_layout
22802
22803 \end_inset
22804
22805
22806 \backslash
22807 let
22808 \backslash
22809 MyFigure
22810 \backslash
22811 figure
22812 \begin_inset Newline newline
22813 \end_inset
22814
22815
22816 \begin_inset ERT
22817 status collapsed
22818
22819 \begin_layout Plain Layout
22820
22821
22822 \backslash
22823 hphantom{ }
22824 \end_layout
22825
22826 \end_inset
22827
22828
22829 \backslash
22830 let
22831 \backslash
22832 MyEndfigure
22833 \backslash
22834 endfigure
22835 \begin_inset Newline newline
22836 \end_inset
22837
22838
22839 \begin_inset ERT
22840 status collapsed
22841
22842 \begin_layout Plain Layout
22843
22844
22845 \backslash
22846 hphantom{ }
22847 \end_layout
22848
22849 \end_inset
22850
22851
22852 \backslash
22853 renewenvironment{figure}{
22854 \backslash
22855 begin{SCfigure}}{
22856 \backslash
22857 end{SCfigure}}}
22858 \end_layout
22859
22860 \begin_layout Standard
22861
22862 \series bold
22863
22864 \backslash
22865 newcommand{
22866 \backslash
22867 FigBesEnd}{%
22868 \begin_inset Newline newline
22869 \end_inset
22870
22871
22872 \begin_inset ERT
22873 status collapsed
22874
22875 \begin_layout Plain Layout
22876
22877
22878 \backslash
22879 hphantom{ }
22880 \end_layout
22881
22882 \end_inset
22883
22884
22885 \backslash
22886 let
22887 \backslash
22888 figure
22889 \backslash
22890 MyFigure
22891 \begin_inset Newline newline
22892 \end_inset
22893
22894
22895 \begin_inset ERT
22896 status collapsed
22897
22898 \begin_layout Plain Layout
22899
22900
22901 \backslash
22902 hphantom{ }
22903 \end_layout
22904
22905 \end_inset
22906
22907
22908 \backslash
22909 let
22910 \backslash
22911 endfigure
22912 \backslash
22913 MyEndfigure}
22914 \end_layout
22915
22916 \begin_layout Standard
22917
22918 \lyxline
22919
22920 \end_layout
22921
22922 \begin_layout Standard
22923 The commands allow you to redefine the floats so that the caption is set
22924  on the side.
22925  For figure floats use the command
22926 \end_layout
22927
22928 \begin_layout Standard
22929
22930 \series bold
22931
22932 \backslash
22933 FigBesBeg
22934 \end_layout
22935
22936 \begin_layout Standard
22937 in TeX-Code before the float.
22938  Behind the float insert the command
22939 \end_layout
22940
22941 \begin_layout Standard
22942
22943 \series bold
22944
22945 \backslash
22946 FigBesEnd
22947 \end_layout
22948
22949 \begin_layout Standard
22950 in TeX-Code to get back to the original float definition.
22951 \end_layout
22952
22953 \begin_layout Standard
22954 For table floats use the corresponding commands
22955 \end_layout
22956
22957 \begin_layout Standard
22958
22959 \series bold
22960
22961 \backslash
22962 TabBesBeg
22963 \series default
22964  and 
22965 \series bold
22966
22967 \backslash
22968 TabBesEnd
22969 \end_layout
22970
22971 \begin_layout Standard
22972 Figure
22973 \begin_inset space ~
22974 \end_inset
22975
22976
22977 \begin_inset CommandInset ref
22978 LatexCommand ref
22979 reference "fig:cap-beside-fig"
22980
22981 \end_inset
22982
22983  and Table
22984 \begin_inset space ~
22985 \end_inset
22986
22987
22988 \begin_inset CommandInset ref
22989 LatexCommand ref
22990 reference "tab:cap-beside-tab"
22991
22992 \end_inset
22993
22994  are examples where the caption is set beside.
22995 \end_layout
22996
22997 \begin_layout Standard
22998 You can see in the examples that the caption text appears at the top of
22999  the floats for table floats and at the bottom for figure floats.
23000  To change this, you can use the command
23001 \end_layout
23002
23003 \begin_layout Standard
23004
23005 \series bold
23006
23007 \backslash
23008 sidecaptionvpos{float type}{placement}
23009 \end_layout
23010
23011 \begin_layout Standard
23012 in the document preamble or in TeX-Code before the float.
23013  The float type is either 
23014 \family sans
23015 figure
23016 \family default
23017  or 
23018 \family sans
23019 table
23020 \family default
23021 , the placement can be 
23022 \begin_inset Quotes eld
23023 \end_inset
23024
23025
23026 \family sans
23027 t
23028 \family default
23029
23030 \begin_inset Quotes erd
23031 \end_inset
23032
23033  for top, 
23034 \begin_inset Quotes eld
23035 \end_inset
23036
23037
23038 \family sans
23039 c
23040 \family default
23041
23042 \begin_inset Quotes erd
23043 \end_inset
23044
23045  for center, or 
23046 \begin_inset Quotes eld
23047 \end_inset
23048
23049
23050 \family sans
23051 b
23052 \family default
23053
23054 \begin_inset Quotes erd
23055 \end_inset
23056
23057  for bottom.
23058  To have for example the caption of figure floats vertically centered, use
23059  the command
23060 \end_layout
23061
23062 \begin_layout Standard
23063
23064 \series bold
23065
23066 \backslash
23067 sidecaptionvpos{figure}{c}
23068 \end_layout
23069
23070 \begin_layout Standard
23071 This was used for Figure
23072 \begin_inset space ~
23073 \end_inset
23074
23075
23076 \begin_inset CommandInset ref
23077 LatexCommand ref
23078 reference "fig:cap-beside-fig-2"
23079
23080 \end_inset
23081
23082 .
23083 \end_layout
23084
23085 \begin_layout Standard
23086 \begin_inset VSpace medskip
23087 \end_inset
23088
23089 For more information about the package 
23090 \series bold
23091 sidecap
23092 \series default
23093  we refer to its documentation 
23094 \begin_inset CommandInset citation
23095 LatexCommand cite
23096 key "sidecap"
23097
23098 \end_inset
23099
23100 .
23101 \end_layout
23102
23103 \begin_layout Standard
23104 \begin_inset Note Greyedout
23105 status open
23106
23107 \begin_layout Plain Layout
23108
23109 \series bold
23110 Note:
23111 \series default
23112  The LaTeX-package 
23113 \series bold
23114 hypcap
23115 \series default
23116
23117 \begin_inset Index
23118 status collapsed
23119
23120 \begin_layout Plain Layout
23121 LaTeX-packages ! hypcap
23122 \end_layout
23123
23124 \end_inset
23125
23126 , described in section
23127 \begin_inset space ~
23128 \end_inset
23129
23130
23131 \begin_inset CommandInset ref
23132 LatexCommand ref
23133 reference "sub:Reference-Position"
23134
23135 \end_inset
23136
23137 , has no effect on floats with the caption set beside.
23138 \end_layout
23139
23140 \end_inset
23141
23142
23143 \end_layout
23144
23145 \begin_layout Standard
23146 \begin_inset ERT
23147 status collapsed
23148
23149 \begin_layout Plain Layout
23150
23151
23152 \backslash
23153 FigBesBeg 
23154 \end_layout
23155
23156 \end_inset
23157
23158
23159 \end_layout
23160
23161 \begin_layout Standard
23162 \begin_inset Float figure
23163 wide false
23164 sideways false
23165 status open
23166
23167 \begin_layout Plain Layout
23168 \begin_inset Graphics
23169         filename clipart/escher-lsd.eps
23170         scale 75
23171         scaleBeforeRotation
23172
23173 \end_inset
23174
23175
23176 \end_layout
23177
23178 \begin_layout Plain Layout
23179 \begin_inset Caption
23180
23181 \begin_layout Plain Layout
23182 \begin_inset CommandInset label
23183 LatexCommand label
23184 name "fig:cap-beside-fig"
23185
23186 \end_inset
23187
23188 This is a caption beside a figure.
23189 \end_layout
23190
23191 \end_inset
23192
23193
23194 \end_layout
23195
23196 \end_inset
23197
23198
23199 \end_layout
23200
23201 \begin_layout Standard
23202 \begin_inset ERT
23203 status collapsed
23204
23205 \begin_layout Plain Layout
23206
23207
23208 \backslash
23209 TabBesBeg 
23210 \end_layout
23211
23212 \end_inset
23213
23214
23215 \end_layout
23216
23217 \begin_layout Standard
23218 \begin_inset Float table
23219 wide false
23220 sideways false
23221 status open
23222
23223 \begin_layout Plain Layout
23224 \begin_inset Caption
23225
23226 \begin_layout Plain Layout
23227 \begin_inset CommandInset label
23228 LatexCommand label
23229 name "tab:cap-beside-tab"
23230
23231 \end_inset
23232
23233 This is a caption beside a table.
23234 \end_layout
23235
23236 \end_inset
23237
23238
23239 \end_layout
23240
23241 \begin_layout Plain Layout
23242 \begin_inset Tabular
23243 <lyxtabular version="3" rows="4" columns="5">
23244 <features>
23245 <column alignment="center" valignment="top" width="0">
23246 <column alignment="center" valignment="top" width="0">
23247 <column alignment="center" valignment="top" width="0">
23248 <column alignment="center" valignment="top" width="0">
23249 <column alignment="center" valignment="top" width="0">
23250 <row>
23251 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23252 \begin_inset Text
23253
23254 \begin_layout Plain Layout
23255 a
23256 \end_layout
23257
23258 \end_inset
23259 </cell>
23260 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23261 \begin_inset Text
23262
23263 \begin_layout Plain Layout
23264
23265 \end_layout
23266
23267 \end_inset
23268 </cell>
23269 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23270 \begin_inset Text
23271
23272 \begin_layout Plain Layout
23273 b
23274 \end_layout
23275
23276 \end_inset
23277 </cell>
23278 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23279 \begin_inset Text
23280
23281 \begin_layout Plain Layout
23282
23283 \end_layout
23284
23285 \end_inset
23286 </cell>
23287 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23288 \begin_inset Text
23289
23290 \begin_layout Plain Layout
23291 c
23292 \end_layout
23293
23294 \end_inset
23295 </cell>
23296 </row>
23297 <row>
23298 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23299 \begin_inset Text
23300
23301 \begin_layout Plain Layout
23302
23303 \end_layout
23304
23305 \end_inset
23306 </cell>
23307 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23308 \begin_inset Text
23309
23310 \begin_layout Plain Layout
23311 d
23312 \end_layout
23313
23314 \end_inset
23315 </cell>
23316 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23317 \begin_inset Text
23318
23319 \begin_layout Plain Layout
23320
23321 \end_layout
23322
23323 \end_inset
23324 </cell>
23325 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23326 \begin_inset Text
23327
23328 \begin_layout Plain Layout
23329 e
23330 \end_layout
23331
23332 \end_inset
23333 </cell>
23334 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23335 \begin_inset Text
23336
23337 \begin_layout Plain Layout
23338
23339 \end_layout
23340
23341 \end_inset
23342 </cell>
23343 </row>
23344 <row>
23345 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23346 \begin_inset Text
23347
23348 \begin_layout Plain Layout
23349 f
23350 \end_layout
23351
23352 \end_inset
23353 </cell>
23354 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23355 \begin_inset Text
23356
23357 \begin_layout Plain Layout
23358
23359 \end_layout
23360
23361 \end_inset
23362 </cell>
23363 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23364 \begin_inset Text
23365
23366 \begin_layout Plain Layout
23367 g
23368 \end_layout
23369
23370 \end_inset
23371 </cell>
23372 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23373 \begin_inset Text
23374
23375 \begin_layout Plain Layout
23376
23377 \end_layout
23378
23379 \end_inset
23380 </cell>
23381 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23382 \begin_inset Text
23383
23384 \begin_layout Plain Layout
23385 h
23386 \end_layout
23387
23388 \end_inset
23389 </cell>
23390 </row>
23391 <row>
23392 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23393 \begin_inset Text
23394
23395 \begin_layout Plain Layout
23396
23397 \end_layout
23398
23399 \end_inset
23400 </cell>
23401 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23402 \begin_inset Text
23403
23404 \begin_layout Plain Layout
23405 i
23406 \end_layout
23407
23408 \end_inset
23409 </cell>
23410 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23411 \begin_inset Text
23412
23413 \begin_layout Plain Layout
23414
23415 \end_layout
23416
23417 \end_inset
23418 </cell>
23419 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23420 \begin_inset Text
23421
23422 \begin_layout Plain Layout
23423 j
23424 \end_layout
23425
23426 \end_inset
23427 </cell>
23428 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23429 \begin_inset Text
23430
23431 \begin_layout Plain Layout
23432
23433 \end_layout
23434
23435 \end_inset
23436 </cell>
23437 </row>
23438 </lyxtabular>
23439
23440 \end_inset
23441
23442
23443 \end_layout
23444
23445 \end_inset
23446
23447
23448 \end_layout
23449
23450 \begin_layout Standard
23451 \begin_inset ERT
23452 status collapsed
23453
23454 \begin_layout Plain Layout
23455
23456
23457 \backslash
23458 TabBesEnd
23459 \end_layout
23460
23461 \end_inset
23462
23463
23464 \end_layout
23465
23466 \begin_layout Standard
23467 \begin_inset ERT
23468 status collapsed
23469
23470 \begin_layout Plain Layout
23471
23472
23473 \backslash
23474 sidecaptionvpos{figure}{c}
23475 \end_layout
23476
23477 \end_inset
23478
23479
23480 \begin_inset Float figure
23481 wide false
23482 sideways false
23483 status open
23484
23485 \begin_layout Plain Layout
23486 \begin_inset Graphics
23487         filename clipart/escher-lsd.eps
23488         scale 75
23489         scaleBeforeRotation
23490
23491 \end_inset
23492
23493
23494 \end_layout
23495
23496 \begin_layout Plain Layout
23497 \begin_inset Caption
23498
23499 \begin_layout Plain Layout
23500 \begin_inset CommandInset label
23501 LatexCommand label
23502 name "fig:cap-beside-fig-2"
23503
23504 \end_inset
23505
23506 This is a vertically centered caption beside a figure.
23507 \end_layout
23508
23509 \end_inset
23510
23511
23512 \end_layout
23513
23514 \end_inset
23515
23516
23517 \end_layout
23518
23519 \begin_layout Standard
23520 \begin_inset ERT
23521 status collapsed
23522
23523 \begin_layout Plain Layout
23524
23525
23526 \backslash
23527 FigBesEnd
23528 \end_layout
23529
23530 \end_inset
23531
23532
23533 \end_layout
23534
23535 \begin_layout Standard
23536 \begin_inset ERT
23537 status collapsed
23538
23539 \begin_layout Plain Layout
23540
23541
23542 \backslash
23543 else
23544 \end_layout
23545
23546 \end_inset
23547
23548
23549 \begin_inset Note Note
23550 status open
23551
23552 \begin_layout Plain Layout
23553 The following will be displayed when the LaTeX-package 
23554 \series bold
23555 sidecap
23556 \series default
23557  is not installed:
23558 \end_layout
23559
23560 \end_inset
23561
23562
23563 \end_layout
23564
23565 \begin_layout Standard
23566 You need to install the LaTeX-package 
23567 \series bold
23568 sidecap
23569 \series default
23570  to see the following part of this section in the output.
23571 \end_layout
23572
23573 \begin_layout Standard
23574 \begin_inset ERT
23575 status collapsed
23576
23577 \begin_layout Plain Layout
23578
23579
23580 \backslash
23581 fi
23582 \end_layout
23583
23584 \end_inset
23585
23586
23587 \end_layout
23588
23589 \begin_layout Section
23590 Listings of Floats
23591 \begin_inset Index
23592 status collapsed
23593
23594 \begin_layout Plain Layout
23595 Floats ! Float Lists
23596 \end_layout
23597
23598 \end_inset
23599
23600
23601 \end_layout
23602
23603 \begin_layout Standard
23604 Similar to the the table of contents where the sections of the document
23605  are listed, there are listings for all float types, like the figures of
23606  the documents.
23607  You can insert them via the 
23608 \family sans
23609 Insert\SpecialChar \menuseparator
23610 List
23611 \begin_inset space ~
23612 \end_inset
23613
23614 /
23615 \begin_inset space ~
23616 \end_inset
23617
23618 TOC
23619 \family default
23620  sub menus.
23621 \end_layout
23622
23623 \begin_layout Standard
23624 The list entries are the float captions or its short title, the float number,
23625  and the page number where they appear in the document.
23626 \end_layout
23627
23628 \begin_layout Standard
23629 You can find the list of figures and tables at the end of this document.
23630 \end_layout
23631
23632 \begin_layout Chapter
23633 Notes
23634 \end_layout
23635
23636 \begin_layout Section
23637 LyX Notes
23638 \begin_inset Index
23639 status collapsed
23640
23641 \begin_layout Plain Layout
23642 Notes ! LyX Notes
23643 \end_layout
23644
23645 \end_inset
23646
23647
23648 \end_layout
23649
23650 \begin_layout Standard
23651 Notes are inserted with the toolbar button 
23652 \begin_inset Graphics
23653         filename ../images/note-insert.png
23654         scale 85
23655         scaleBeforeRotation
23656
23657 \end_inset
23658
23659  or the menu 
23660 \family sans
23661 Insert\SpecialChar \menuseparator
23662 Note
23663 \family default
23664 .
23665  There are three types of notes:
23666 \end_layout
23667
23668 \begin_layout Description
23669 LyX
23670 \begin_inset space ~
23671 \end_inset
23672
23673 Note This note type is for internal notes that won't appear in the output.
23674  Its note-box looks like this:
23675 \begin_inset Newline newline
23676 \end_inset
23677
23678
23679 \begin_inset Newline newline
23680 \end_inset
23681
23682
23683 \begin_inset Graphics
23684         filename clipart/LyXNoteImageQt4.png
23685         display false
23686         scale 85
23687         scaleBeforeRotation
23688
23689 \end_inset
23690
23691  
23692 \begin_inset Note Note
23693 status open
23694
23695 \begin_layout Plain Layout
23696 This is text in a note box that doesn't appear in the output.
23697 \end_layout
23698
23699 \end_inset
23700
23701
23702 \end_layout
23703
23704 \begin_layout Description
23705 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
23706 ent, when you export the document to LaTeX via the menu 
23707 \family sans
23708 File\SpecialChar \menuseparator
23709 Export\SpecialChar \menuseparator
23710 LaTeX (pdflatex) / (plain)
23711 \family default
23712 .
23713  Its note-box looks like this:
23714 \begin_inset Newline newline
23715 \end_inset
23716
23717
23718 \begin_inset Newline newline
23719 \end_inset
23720
23721
23722 \begin_inset Graphics
23723         filename clipart/CommentNoteImageQt4.png
23724         display false
23725         scale 85
23726         scaleBeforeRotation
23727
23728 \end_inset
23729
23730  
23731 \begin_inset Note Comment
23732 status open
23733
23734 \begin_layout Plain Layout
23735 This is text in a note box that only appears as comment in LaTeX-files.
23736 \end_layout
23737
23738 \end_inset
23739
23740
23741 \end_layout
23742
23743 \begin_layout Description
23744 Greyed
23745 \begin_inset space ~
23746 \end_inset
23747
23748 Out This note will appear in the output as grey text.
23749  Its note-box looks like this:
23750 \begin_inset Newline newline
23751 \end_inset
23752
23753
23754 \begin_inset Newline newline
23755 \end_inset
23756
23757
23758 \begin_inset Graphics
23759         filename clipart/GreyedOutNoteImageQt4.png
23760         display false
23761         scale 85
23762         scaleBeforeRotation
23763
23764 \end_inset
23765
23766
23767 \begin_inset Newline newline
23768 \end_inset
23769
23770
23771 \begin_inset ERT
23772 status collapsed
23773
23774 \begin_layout Plain Layout
23775
23776
23777 \backslash
23778 renewenvironment{lyxgreyedout}
23779 \end_layout
23780
23781 \begin_layout Plain Layout
23782
23783 {
23784 \backslash
23785 textcolor[gray]{0.8}
23786 \backslash
23787 bgroup}{
23788 \backslash
23789 egroup}
23790 \end_layout
23791
23792 \end_inset
23793
23794
23795 \begin_inset Note Greyedout
23796 status open
23797
23798 \begin_layout Plain Layout
23799 This is text
23800 \begin_inset Foot
23801 status open
23802
23803 \begin_layout Plain Layout
23804 This is an example footnote within a greyed out note.
23805 \end_layout
23806
23807 \end_inset
23808
23809  of a comment that appears in the output as grey text.
23810 \end_layout
23811
23812 \end_inset
23813
23814
23815 \begin_inset ERT
23816 status collapsed
23817
23818 \begin_layout Plain Layout
23819
23820
23821 \backslash
23822 renewenvironment{lyxgreyedout}
23823 \end_layout
23824
23825 \begin_layout Plain Layout
23826
23827 {
23828 \backslash
23829 textcolor{blue}
23830 \backslash
23831 bgroup}{
23832 \backslash
23833 egroup}
23834 \end_layout
23835
23836 \end_inset
23837
23838
23839 \begin_inset Note Note
23840 status collapsed
23841
23842 \begin_layout Plain Layout
23843 The greyed out note is here redefined to show it with the original LyX definitio
23844 n because greyed out notes are redefined in the preamble of this document,
23845  as described below, to have blue text.
23846 \end_layout
23847
23848 \end_inset
23849
23850
23851 \begin_inset Newline newline
23852 \end_inset
23853
23854
23855 \begin_inset Newline newline
23856 \end_inset
23857
23858 As you can see in the example, the first line of greyed out notes is a bit
23859  indented and greyed out notes can have footnotes.
23860 \end_layout
23861
23862 \begin_layout Standard
23863 \begin_inset VSpace bigskip
23864 \end_inset
23865
23866 When you use the toolbar button 
23867 \begin_inset Graphics
23868         filename ../images/note-insert.png
23869         scale 85
23870         scaleBeforeRotation
23871
23872 \end_inset
23873
23874  to insert notes, a 
23875 \family sans
23876 LyX
23877 \begin_inset space ~
23878 \end_inset
23879
23880 Note
23881 \family default
23882  is inserted.
23883  You can switch between the five note types by right-clicking on the note-box.
23884  
23885 \family roman
23886 \series medium
23887 \bar no
23888 If you want to turn existing text into a note, mark it and click on the
23889  note
23890 \family default
23891 \series default
23892 \bar default
23893  toolbar 
23894 \family roman
23895 \series medium
23896 \bar no
23897 button
23898 \family default
23899 \series default
23900 \bar default
23901 .
23902  To change a note to text, press the backspace key when the cursor is in
23903  the first position of a note, or press the deletey key when the cursor
23904  is in the very last position of the note, respectively.
23905 \end_layout
23906
23907 \begin_layout Standard
23908 \begin_inset VSpace bigskip
23909 \end_inset
23910
23911 You can change the text color of the greyed out notes in the preamble with
23912  the following command:
23913 \end_layout
23914
23915 \begin_layout Standard
23916
23917 \series bold
23918
23919 \backslash
23920 renewenvironment{lyxgreyedout}
23921 \begin_inset Newline newline
23922 \end_inset
23923
23924
23925 \begin_inset ERT
23926 status collapsed
23927
23928 \begin_layout Plain Layout
23929
23930
23931 \backslash
23932 hphantom{ }
23933 \end_layout
23934
23935 \end_inset
23936
23937 {
23938 \backslash
23939 textcolor{color}
23940 \backslash
23941 bgroup}{
23942 \backslash
23943 egroup}
23944 \end_layout
23945
23946 \begin_layout Standard
23947 The available colors and the method to define own colors is explained in
23948  section
23949 \begin_inset space ~
23950 \end_inset
23951
23952
23953 \begin_inset CommandInset ref
23954 LatexCommand ref
23955 reference "sec:Colored-Tables"
23956
23957 \end_inset
23958
23959 .
23960 \end_layout
23961
23962 \begin_layout Standard
23963 Notes that appear in blue in this document are set using greyed out notes
23964  with blue text.
23965 \end_layout
23966
23967 \begin_layout Section
23968 Footnotes
23969 \begin_inset CommandInset label
23970 LatexCommand label
23971 name "sec:Footnotes"
23972
23973 \end_inset
23974
23975
23976 \begin_inset Index
23977 status collapsed
23978
23979 \begin_layout Plain Layout
23980 Notes ! Footnotes
23981 \end_layout
23982
23983 \end_inset
23984
23985
23986 \begin_inset Index
23987 status collapsed
23988
23989 \begin_layout Plain Layout
23990 Footnotes
23991 \end_layout
23992
23993 \end_inset
23994
23995
23996 \end_layout
23997
23998 \begin_layout Standard
23999 Footnotes can be inserted using the toolbar button 
24000 \begin_inset Graphics
24001         filename ../images/footnote-insert.png
24002         scale 85
24003         scaleBeforeRotation
24004
24005 \end_inset
24006
24007  or the menu 
24008 \family sans
24009 Insert\SpecialChar \menuseparator
24010 Footnote
24011 \family default
24012 .
24013  
24014 \family roman
24015 \series medium
24016 \bar no
24017 You'll see
24018 \family default
24019 \series default
24020 \bar default
24021  then the following footnote-box: 
24022 \begin_inset Graphics
24023         filename clipart/footnoteQt4.png
24024         scale 80
24025         scaleBeforeRotation
24026
24027 \end_inset
24028
24029  
24030 \family roman
24031 \series medium
24032 \bar no
24033 where you can enter the footnote text.
24034  If you want to turn existing text into a footnote, mark it and click on
24035  the footnote
24036 \family default
24037 \series default
24038 \bar default
24039  toolbar 
24040 \family roman
24041 \series medium
24042 \bar no
24043 button
24044 \family default
24045 \series default
24046 \bar default
24047 .
24048  To change a 
24049 \family roman
24050 \series medium
24051 \bar no
24052 footnote
24053 \family default
24054 \series default
24055 \bar default
24056  to text, press the Backspace key when the cursor is in the first position
24057  of a 
24058 \family roman
24059 \series medium
24060 \bar no
24061 footnote
24062 \family default
24063 \series default
24064 \bar default
24065 , or press the Delete key when the cursor is in the very last position of
24066  the 
24067 \family roman
24068 \series medium
24069 \bar no
24070 footnote
24071 \family default
24072 \series default
24073 \bar default
24074 , respectively.
24075 \end_layout
24076
24077 \begin_layout Standard
24078 Here is an example footnote:
24079 \family roman
24080 \series medium
24081 \bar no
24082
24083 \begin_inset Foot
24084 status open
24085
24086 \begin_layout Plain Layout
24087 \begin_inset CommandInset label
24088 LatexCommand label
24089 name "foot:This-is-an"
24090
24091 \end_inset
24092
24093 This is an example footnote.
24094 \end_layout
24095
24096 \end_inset
24097
24098
24099 \family default
24100 \series default
24101 \bar default
24102
24103 \begin_inset ERT
24104 status collapsed
24105
24106 \begin_layout Plain Layout
24107
24108
24109 \backslash
24110 newcounter{MyRepeatFoot}
24111 \end_layout
24112
24113 \begin_layout Plain Layout
24114
24115
24116 \backslash
24117 setcounter{MyRepeatFoot}{
24118 \backslash
24119 thefootnote}
24120 \end_layout
24121
24122 \end_inset
24123
24124
24125 \end_layout
24126
24127 \begin_layout Standard
24128 The footnote will appear in the output as a superscript number at the text
24129  position where the footnote box is placed.
24130  The footnote text is placed at the bottom of the current page.
24131  The footnote number is calculated by LaTeX, the numbers are consecutive.
24132  It depends on your document-class, if the footnote number is reset for
24133  every chapter.
24134 \end_layout
24135
24136 \begin_layout Standard
24137 Footnotes can be referenced like floats: Insert a label into the footnote
24138  and cross-reference this label in the text as described in section
24139 \begin_inset space ~
24140 \end_inset
24141
24142
24143 \begin_inset CommandInset ref
24144 LatexCommand ref
24145 reference "sec:Referencing-Floats"
24146
24147 \end_inset
24148
24149 .
24150 \begin_inset Newline newline
24151 \end_inset
24152
24153 This is a cross-reference of Footnote
24154 \begin_inset space ~
24155 \end_inset
24156
24157
24158 \begin_inset CommandInset ref
24159 LatexCommand ref
24160 reference "foot:This-is-an"
24161
24162 \end_inset
24163
24164 .
24165 \end_layout
24166
24167 \begin_layout Standard
24168 \begin_inset VSpace defskip
24169 \end_inset
24170
24171 To use footnotes within tables, you have to use minipages, see section
24172 \begin_inset space ~
24173 \end_inset
24174
24175
24176 \begin_inset CommandInset ref
24177 LatexCommand ref
24178 reference "sec:Minipages"
24179
24180 \end_inset
24181
24182 .
24183  Footnotes within longtables are described in section
24184 \begin_inset space ~
24185 \end_inset
24186
24187
24188 \begin_inset CommandInset ref
24189 LatexCommand ref
24190 reference "sub:Footnotes-in-Longtables"
24191
24192 \end_inset
24193
24194 .
24195 \end_layout
24196
24197 \begin_layout Standard
24198 \begin_inset VSpace defskip
24199 \end_inset
24200
24201 To create only a mark for a footnote, use the command 
24202 \series bold
24203
24204 \backslash
24205 footnotemark[number]
24206 \series default
24207  in TeX-Code.
24208  This is used when you have the same annotation several times in a text
24209  but doesn't want to print the footnote text every time.
24210 \begin_inset Newline newline
24211 \end_inset
24212
24213 As you don't know the number of the repeating footnote while you are writing
24214  the text, you have to store its number.
24215  For the following footnote mark example, these commands were inserted in
24216  TeX-Code behind Footnote
24217 \begin_inset space ~
24218 \end_inset
24219
24220
24221 \begin_inset CommandInset ref
24222 LatexCommand ref
24223 reference "foot:This-is-an"
24224
24225 \end_inset
24226
24227  to store the footnote number:
24228 \end_layout
24229
24230 \begin_layout Standard
24231
24232 \series bold
24233
24234 \backslash
24235 newcounter{MyRepeatFoot}
24236 \begin_inset Newline newline
24237 \end_inset
24238
24239
24240 \backslash
24241 setcounter{MyRepeatFoot}{
24242 \backslash
24243 thefootnote}
24244 \end_layout
24245
24246 \begin_layout Standard
24247 The footnote mark was then created with this command:
24248 \end_layout
24249
24250 \begin_layout Standard
24251
24252 \series bold
24253
24254 \backslash
24255 footnotemark[
24256 \backslash
24257 theMyRepeatFoot]
24258 \end_layout
24259
24260 \begin_layout Standard
24261 Here is an example footnote mark:
24262 \family roman
24263 \series medium
24264 \bar no
24265
24266 \begin_inset ERT
24267 status collapsed
24268
24269 \begin_layout Plain Layout
24270
24271
24272 \backslash
24273 footnotemark[
24274 \backslash
24275 theMyRepeatFoot]
24276 \end_layout
24277
24278 \end_inset
24279
24280
24281 \end_layout
24282
24283 \begin_layout Subsection
24284 Footnote Numbering
24285 \begin_inset CommandInset label
24286 LatexCommand label
24287 name "sub:Footnote-Numbering"
24288
24289 \end_inset
24290
24291
24292 \begin_inset Index
24293 status collapsed
24294
24295 \begin_layout Plain Layout
24296 Footnotes ! Numbering
24297 \end_layout
24298
24299 \end_inset
24300
24301
24302 \end_layout
24303
24304 \begin_layout Standard
24305 To reset the footnote number back to 1 after each section
24306 \family roman
24307 , add this command to your document preamble:
24308 \end_layout
24309
24310 \begin_layout Standard
24311
24312 \series bold
24313
24314 \backslash
24315 @addtoreset{footnote}{section}
24316 \end_layout
24317
24318 \begin_layout Standard
24319 \begin_inset VSpace bigskip
24320 \end_inset
24321
24322 The following preamble command changes the footnote numbering style to small
24323  roman numerals:
24324 \end_layout
24325
24326 \begin_layout Standard
24327
24328 \series bold
24329
24330 \backslash
24331 renewcommand{
24332 \backslash
24333 thefootnote}{
24334 \backslash
24335 roman{footnote}}
24336 \end_layout
24337
24338 \begin_layout Standard
24339 \begin_inset ERT
24340 status collapsed
24341
24342 \begin_layout Plain Layout
24343
24344
24345 \backslash
24346 renewcommand{
24347 \backslash
24348 thefootnote}{
24349 \backslash
24350 roman{footnote}}
24351 \end_layout
24352
24353 \end_inset
24354
24355  This is a footnote with roman numbering:
24356 \begin_inset Foot
24357 status open
24358
24359 \begin_layout Plain Layout
24360 This is an example footnote with roman numbering.
24361 \end_layout
24362
24363 \end_inset
24364
24365
24366 \end_layout
24367
24368 \begin_layout Standard
24369 To change the numbering style to capital roman numerals replace in the command
24370  above 
24371 \series bold
24372
24373 \backslash
24374 roman
24375 \series default
24376  by 
24377 \series bold
24378
24379 \backslash
24380 Roman
24381 \series default
24382 .
24383  To 
24384 \begin_inset Quotes eld
24385 \end_inset
24386
24387 number
24388 \begin_inset Quotes erd
24389 \end_inset
24390
24391  footnotes with capital or small Latin letters use 
24392 \series bold
24393
24394 \backslash
24395 Alph
24396 \series default
24397  or 
24398 \series bold
24399
24400 \backslash
24401 alph
24402 \series default
24403 , respectively.
24404  To 
24405 \begin_inset Quotes eld
24406 \end_inset
24407
24408 number
24409 \begin_inset Quotes erd
24410 \end_inset
24411
24412  footnotes with symbols use 
24413 \series bold
24414
24415 \backslash
24416 fnsymbol
24417 \series default
24418 .
24419 \end_layout
24420
24421 \begin_layout Standard
24422 \begin_inset Note Greyedout
24423 status open
24424
24425 \begin_layout Plain Layout
24426
24427 \series bold
24428 Note:
24429 \series default
24430  You can only number 26 footnotes with Latin letters, because this numbering
24431  is limited to single letters.
24432 \end_layout
24433
24434 \end_inset
24435
24436
24437 \begin_inset Newline newline
24438 \end_inset
24439
24440
24441 \begin_inset Note Greyedout
24442 status open
24443
24444 \begin_layout Plain Layout
24445
24446 \series bold
24447 Note:
24448 \series default
24449  You can only number 9 footnotes with symbols.
24450 \end_layout
24451
24452 \end_inset
24453
24454
24455 \end_layout
24456
24457 \begin_layout Standard
24458 To return to the default numbering style when you changed to another one,
24459  use 
24460 \series bold
24461
24462 \backslash
24463 arabic
24464 \series default
24465  instead of 
24466 \series bold
24467
24468 \backslash
24469 roman
24470 \series default
24471  in the command above.
24472 \begin_inset ERT
24473 status collapsed
24474
24475 \begin_layout Plain Layout
24476
24477
24478 \backslash
24479 renewcommand{
24480 \backslash
24481 thefootnote}{
24482 \backslash
24483 arabic{footnote}}
24484 \end_layout
24485
24486 \end_inset
24487
24488
24489 \end_layout
24490
24491 \begin_layout Standard
24492 \begin_inset VSpace bigskip
24493 \end_inset
24494
24495
24496 \end_layout
24497
24498 \begin_layout Standard
24499 If you want to have footnotes numbered in the scheme 
24500 \begin_inset Quotes eld
24501 \end_inset
24502
24503 chapter.footnote
24504 \begin_inset Quotes erd
24505 \end_inset
24506
24507 , add the following command to your document preamble:
24508 \end_layout
24509
24510 \begin_layout Standard
24511
24512 \series bold
24513
24514 \backslash
24515 numberwithin{footnote}{chapter}
24516 \end_layout
24517
24518 \begin_layout Standard
24519 To be able to use the command 
24520 \series bold
24521
24522 \backslash
24523 numberwithin
24524 \series default
24525 , set in the tab 
24526 \family sans
24527 Math
24528 \begin_inset space ~
24529 \end_inset
24530
24531 Options
24532 \family default
24533  in the document settings the option 
24534 \family sans
24535 Use
24536 \begin_inset space ~
24537 \end_inset
24538
24539 AMS
24540 \begin_inset space ~
24541 \end_inset
24542
24543 math
24544 \begin_inset space ~
24545 \end_inset
24546
24547 package
24548 \family default
24549 .
24550 \end_layout
24551
24552 \begin_layout Standard
24553 \begin_inset ERT
24554 status collapsed
24555
24556 \begin_layout Plain Layout
24557
24558
24559 \backslash
24560 numberwithin{footnote}{chapter}
24561 \end_layout
24562
24563 \end_inset
24564
24565 This is another example footnote:
24566 \series bold
24567
24568 \begin_inset Foot
24569 status open
24570
24571 \begin_layout Plain Layout
24572 This is a footnote numbered in the scheme 
24573 \begin_inset Quotes eld
24574 \end_inset
24575
24576 chapter.footnote
24577 \begin_inset Quotes erd
24578 \end_inset
24579
24580 .
24581 \end_layout
24582
24583 \end_inset
24584
24585
24586 \series default
24587
24588 \begin_inset ERT
24589 status collapsed
24590
24591 \begin_layout Plain Layout
24592
24593
24594 \backslash
24595 renewcommand{
24596 \backslash
24597 thefootnote}{
24598 \backslash
24599 arabic{footnote}}
24600 \end_layout
24601
24602 \end_inset
24603
24604
24605 \end_layout
24606
24607 \begin_layout Standard
24608 \begin_inset Note Greyedout
24609 status open
24610
24611 \begin_layout Plain Layout
24612
24613 \series bold
24614 Note:
24615 \series default
24616  
24617 \series bold
24618
24619 \backslash
24620 numberwithin
24621 \series default
24622  always prints out the footnote number as arabic number; previous redefinitions
24623  to get non-arabic numbers are overwritten.
24624 \end_layout
24625
24626 \end_inset
24627
24628
24629 \end_layout
24630
24631 \begin_layout Standard
24632 So to get for example the scheme 
24633 \begin_inset Quotes eld
24634 \end_inset
24635
24636 chapter.
24637 \backslash
24638 Roman{footnote}
24639 \begin_inset Quotes erd
24640 \end_inset
24641
24642 , use this command instead of 
24643 \series bold
24644
24645 \backslash
24646 numberwithin
24647 \series default
24648 :
24649 \end_layout
24650
24651 \begin_layout Standard
24652
24653 \series bold
24654
24655 \backslash
24656 renewcommand{
24657 \backslash
24658 thefootnote}{
24659 \backslash
24660 thechapter.
24661 \backslash
24662 Roman{footnote}}
24663 \end_layout
24664
24665 \begin_layout Subsection
24666 Footnote Placement
24667 \begin_inset Index
24668 status collapsed
24669
24670 \begin_layout Plain Layout
24671 Footnotes ! Placement
24672 \end_layout
24673
24674 \end_inset
24675
24676
24677 \end_layout
24678
24679 \begin_layout Standard
24680 If you have several footnotes in one page, they appear without vertical
24681  space between them at the bottom of the page.
24682  To make them better readable you can e.
24683 \begin_inset space \thinspace{}
24684 \end_inset
24685
24686 g.
24687 \begin_inset space \space{}
24688 \end_inset
24689
24690 add 1.5
24691 \begin_inset space \thinspace{}
24692 \end_inset
24693
24694 mm space with the following preamble command:
24695 \end_layout
24696
24697 \begin_layout Standard
24698
24699 \series bold
24700
24701 \backslash
24702 let
24703 \backslash
24704 myFoot
24705 \backslash
24706 footnote
24707 \begin_inset Newline newline
24708 \end_inset
24709
24710
24711 \backslash
24712 renewcommand{
24713 \backslash
24714 footnote}[1]{
24715 \backslash
24716 myFoot{#1
24717 \backslash
24718 vspace{1.5mm}}}
24719 \end_layout
24720
24721 \begin_layout Standard
24722 \begin_inset VSpace bigskip
24723 \end_inset
24724
24725 In a two-column document the footnotes appear at the bottom of every column,
24726  see Figure
24727 \begin_inset space ~
24728 \end_inset
24729
24730
24731 \begin_inset CommandInset ref
24732 LatexCommand ref
24733 reference "fig:Standard-footnote-placement"
24734
24735 \end_inset
24736
24737 .
24738  If the footnotes should only appear at the bottom of the right column,
24739  as in Figure
24740 \begin_inset space ~
24741 \end_inset
24742
24743
24744 \begin_inset CommandInset ref
24745 LatexCommand ref
24746 reference "fig:Footnote-placement-in"
24747
24748 \end_inset
24749
24750 , use the LaTeX-package 
24751 \series bold
24752 ftnright
24753 \series default
24754
24755 \begin_inset Index
24756 status collapsed
24757
24758 \begin_layout Plain Layout
24759 LaTeX-packages ! ftnright
24760 \end_layout
24761
24762 \end_inset
24763
24764  with this command in the document preamble:
24765 \end_layout
24766
24767 \begin_layout Standard
24768
24769 \series bold
24770
24771 \backslash
24772 usepackage{ftnright}
24773 \end_layout
24774
24775 \begin_layout Standard
24776 \begin_inset Float figure
24777 placement !h
24778 wide false
24779 sideways false
24780 status open
24781
24782 \begin_layout Plain Layout
24783 \begin_inset ERT
24784 status collapsed
24785
24786 \begin_layout Plain Layout
24787
24788
24789 \backslash
24790 framebox{
24791 \end_layout
24792
24793 \end_inset
24794
24795
24796 \begin_inset Graphics
24797         filename clipart/without_fntright.pdf
24798         width 100col%
24799         scaleBeforeRotation
24800
24801 \end_inset
24802
24803
24804 \begin_inset ERT
24805 status collapsed
24806
24807 \begin_layout Plain Layout
24808
24809 }
24810 \end_layout
24811
24812 \end_inset
24813
24814
24815 \end_layout
24816
24817 \begin_layout Plain Layout
24818 \begin_inset Caption
24819
24820 \begin_layout Plain Layout
24821 \begin_inset CommandInset label
24822 LatexCommand label
24823 name "fig:Standard-footnote-placement"
24824
24825 \end_inset
24826
24827 Standard footnote placement in two-column documents.
24828 \end_layout
24829
24830 \end_inset
24831
24832
24833 \end_layout
24834
24835 \end_inset
24836
24837
24838 \end_layout
24839
24840 \begin_layout Standard
24841 \begin_inset Float figure
24842 placement !h
24843 wide false
24844 sideways false
24845 status open
24846
24847 \begin_layout Plain Layout
24848 \begin_inset ERT
24849 status collapsed
24850
24851 \begin_layout Plain Layout
24852
24853
24854 \backslash
24855 framebox{
24856 \end_layout
24857
24858 \end_inset
24859
24860
24861 \begin_inset Graphics
24862         filename clipart/with_fntright.pdf
24863         width 100col%
24864         scaleBeforeRotation
24865
24866 \end_inset
24867
24868
24869 \begin_inset ERT
24870 status collapsed
24871
24872 \begin_layout Plain Layout
24873
24874 }
24875 \end_layout
24876
24877 \end_inset
24878
24879
24880 \end_layout
24881
24882 \begin_layout Plain Layout
24883 \begin_inset Caption
24884
24885 \begin_layout Plain Layout
24886 \begin_inset CommandInset label
24887 LatexCommand label
24888 name "fig:Footnote-placement-in"
24889
24890 \end_inset
24891
24892 Footnote placement in two-column documents when the LaTeX-package 
24893 \series bold
24894 ftnright
24895 \series default
24896  is used.
24897 \end_layout
24898
24899 \end_inset
24900
24901
24902 \end_layout
24903
24904 \end_inset
24905
24906
24907 \end_layout
24908
24909 \begin_layout Standard
24910 \begin_inset VSpace bigskip
24911 \end_inset
24912
24913 In some scientific literature it is usual to collect the footnotes and print
24914  them in a separate paragraph at the the end of a section, like in Figure
24915 \begin_inset space ~
24916 \end_inset
24917
24918
24919 \begin_inset CommandInset ref
24920 LatexCommand ref
24921 reference "fig:Endnotes----footnotes"
24922
24923 \end_inset
24924
24925 .
24926  They are then so called 
24927 \begin_inset Quotes eld
24928 \end_inset
24929
24930 endnotes
24931 \begin_inset Quotes erd
24932 \end_inset
24933
24934 .
24935 \begin_inset Index
24936 status collapsed
24937
24938 \begin_layout Plain Layout
24939 Endnotes
24940 \end_layout
24941
24942 \end_inset
24943
24944  To use endnotes instead of footnotes in your document, load the LaTeX-package
24945  
24946 \series bold
24947 endnotes
24948 \series default
24949
24950 \begin_inset Index
24951 status collapsed
24952
24953 \begin_layout Plain Layout
24954 LaTeX-packages ! endnotes
24955 \end_layout
24956
24957 \end_inset
24958
24959  with the document preamble lines
24960 \end_layout
24961
24962 \begin_layout Standard
24963
24964 \series bold
24965
24966 \backslash
24967 usepackage{endnotes}
24968 \begin_inset Newline newline
24969 \end_inset
24970
24971
24972 \backslash
24973 let
24974 \backslash
24975 footnote
24976 \backslash
24977 endnote
24978 \end_layout
24979
24980 \begin_layout Standard
24981 To insert the collected footnotes, insert the command
24982 \end_layout
24983
24984 \begin_layout Standard
24985
24986 \series bold
24987
24988 \backslash
24989 theendnotes
24990 \end_layout
24991
24992 \begin_layout Standard
24993 in TeX-Code at the the end of a section or chapter.
24994 \end_layout
24995
24996 \begin_layout Standard
24997 \begin_inset Float figure
24998 wide false
24999 sideways false
25000 status open
25001
25002 \begin_layout Plain Layout
25003 \align center
25004 \begin_inset ERT
25005 status collapsed
25006
25007 \begin_layout Plain Layout
25008
25009
25010 \backslash
25011 framebox{
25012 \end_layout
25013
25014 \end_inset
25015
25016
25017 \begin_inset Graphics
25018         filename clipart/endnotes.pdf
25019         scaleBeforeRotation
25020
25021 \end_inset
25022
25023
25024 \begin_inset ERT
25025 status collapsed
25026
25027 \begin_layout Plain Layout
25028
25029 }
25030 \end_layout
25031
25032 \end_inset
25033
25034
25035 \end_layout
25036
25037 \begin_layout Plain Layout
25038 \begin_inset Caption
25039
25040 \begin_layout Plain Layout
25041 \begin_inset CommandInset label
25042 LatexCommand label
25043 name "fig:Endnotes----footnotes"
25044
25045 \end_inset
25046
25047 Endnotes â€“ footnotes are printed in a separate paragraph at the end of sections
25048  or chapters.
25049 \end_layout
25050
25051 \end_inset
25052
25053
25054 \end_layout
25055
25056 \end_inset
25057
25058
25059 \end_layout
25060
25061 \begin_layout Standard
25062 \begin_inset VSpace medskip
25063 \end_inset
25064
25065 The paragraph heading for the endnotes isn't automatically translated into
25066  the document language, this must be done manually.
25067  The following preamble command translate the default English name 
25068 \begin_inset Quotes eld
25069 \end_inset
25070
25071 Notes
25072 \begin_inset Quotes erd
25073 \end_inset
25074
25075  to the German translation 
25076 \begin_inset Quotes eld
25077 \end_inset
25078
25079 Anmerkungen
25080 \begin_inset Quotes erd
25081 \end_inset
25082
25083 :
25084 \end_layout
25085
25086 \begin_layout Standard
25087
25088 \series bold
25089
25090 \backslash
25091 renewcommand{
25092 \backslash
25093 notesname}{Anmerkungen}
25094 \end_layout
25095
25096 \begin_layout Standard
25097 \begin_inset VSpace medskip
25098 \end_inset
25099
25100 The numbering of endnotes can be changed like the footnote numbering as
25101  described in section
25102 \begin_inset space ~
25103 \end_inset
25104
25105
25106 \begin_inset CommandInset ref
25107 LatexCommand ref
25108 reference "sub:Footnote-Numbering"
25109
25110 \end_inset
25111
25112 ; just replace the command 
25113 \series bold
25114
25115 \backslash
25116 thefootnote
25117 \series default
25118  by 
25119 \series bold
25120
25121 \backslash
25122 theendnote
25123 \series default
25124 .
25125  To reset the endnote number use the command 
25126 \series bold
25127
25128 \backslash
25129 @addtoreset
25130 \series default
25131  as described in section
25132 \begin_inset space ~
25133 \end_inset
25134
25135
25136 \begin_inset CommandInset ref
25137 LatexCommand ref
25138 reference "sub:Footnote-Numbering"
25139
25140 \end_inset
25141
25142  and replace the command parameter 
25143 \series bold
25144 footnote
25145 \series default
25146  by 
25147 \series bold
25148 endnote
25149 \series default
25150 .
25151 \end_layout
25152
25153 \begin_layout Standard
25154 To create only a mark for an endnote, use the command 
25155 \series bold
25156
25157 \backslash
25158 endnotemark[number]
25159 \series default
25160  similar to the command 
25161 \series bold
25162
25163 \backslash
25164 footnotemark
25165 \series default
25166 , described in section
25167 \begin_inset space ~
25168 \end_inset
25169
25170
25171 \begin_inset CommandInset ref
25172 LatexCommand ref
25173 reference "sec:Footnotes"
25174
25175 \end_inset
25176
25177 .
25178 \end_layout
25179
25180 \begin_layout Standard
25181 \begin_inset VSpace bigskip
25182 \end_inset
25183
25184 Footnotes can also be placed in the page margin and the footnote text alignment
25185  can be changed, see the LaTeX-package 
25186 \series bold
25187 footmisc
25188 \series default
25189
25190 \begin_inset Index
25191 status collapsed
25192
25193 \begin_layout Plain Layout
25194 LaTeX-packages ! footmisc
25195 \end_layout
25196
25197 \end_inset
25198
25199
25200 \begin_inset CommandInset citation
25201 LatexCommand cite
25202 key "footmisc"
25203
25204 \end_inset
25205
25206  for more information about this.
25207 \end_layout
25208
25209 \begin_layout Standard
25210 For various further footnote formatting issues have a look at LaTeX-books,
25211  
25212 \begin_inset CommandInset citation
25213 LatexCommand cite
25214 key "latexcompanion,latexguide,latexbook"
25215
25216 \end_inset
25217
25218 .
25219 \end_layout
25220
25221 \begin_layout Section
25222 Margin Notes
25223 \begin_inset Index
25224 status collapsed
25225
25226 \begin_layout Plain Layout
25227 Notes ! Margin Notes
25228 \end_layout
25229
25230 \end_inset
25231
25232
25233 \end_layout
25234
25235 \begin_layout Standard
25236 Margin notes look and behave in LyX like footnotes.
25237  They are inserted via the menu 
25238 \family sans
25239 Insert\SpecialChar \menuseparator
25240 Marginal
25241 \begin_inset space ~
25242 \end_inset
25243
25244 Note
25245 \family default
25246  or the toolbar button 
25247 \begin_inset Graphics
25248         filename ../images/marginalnote-insert.png
25249         scale 85
25250         scaleBeforeRotation
25251
25252 \end_inset
25253
25254 .
25255  A grey 
25256 \family roman
25257 \series medium
25258 box with the
25259 \family default
25260 \series default
25261  red 
25262 \family roman
25263 \series medium
25264 label 
25265 \begin_inset Quotes eld
25266 \end_inset
25267
25268 margin
25269 \begin_inset Quotes erd
25270 \end_inset
25271
25272  appears where you can enter the text of the margin note.
25273 \end_layout
25274
25275 \begin_layout Standard
25276 At the side is an example margin note.
25277
25278 \family roman
25279 \series medium
25280  
25281 \begin_inset Marginal
25282 status open
25283
25284 \begin_layout Plain Layout
25285 This is a margin note.
25286 \end_layout
25287
25288 \end_inset
25289
25290
25291 \end_layout
25292
25293 \begin_layout Standard
25294 Margin notes appear at the right side in single-sided documents.
25295  In double-sided documents they appear in the outer margin â€“ left on even
25296  pages, right on odd pages.
25297  The text of margin notes is aligned opposite to the outer margin â€“ right-aligne
25298 d when the note appears in the left margin.
25299  The first line of the margin note is placed at the position of the text
25300  line where it is inserted in the document.
25301 \end_layout
25302
25303 \begin_layout Standard
25304 \begin_inset VSpace bigskip
25305 \end_inset
25306
25307 To place the margin note in the inner margin, add the command
25308 \end_layout
25309
25310 \begin_layout Standard
25311
25312 \series bold
25313
25314 \backslash
25315 reversemarginpar
25316 \end_layout
25317
25318 \begin_layout Standard
25319 in TeX-Code before a margin note.
25320  The new placement is valid for all following margin notes.
25321  
25322 \begin_inset ERT
25323 status collapsed
25324
25325 \begin_layout Plain Layout
25326
25327
25328 \backslash
25329 reversemarginpar 
25330 \end_layout
25331
25332 \end_inset
25333
25334
25335 \begin_inset Marginal
25336 status open
25337
25338 \begin_layout Plain Layout
25339 This is a margin note in the inner margin.
25340 \end_layout
25341
25342 \end_inset
25343
25344
25345 \series bold
25346
25347 \begin_inset Newline newline
25348 \end_inset
25349
25350
25351 \series default
25352
25353 \begin_inset Note Greyedout
25354 status open
25355
25356 \begin_layout Plain Layout
25357
25358 \series bold
25359 Note:
25360 \series default
25361  There is often not enough space in the inner margin so that the notes are
25362  not correctly displayed in the output.
25363 \end_layout
25364
25365 \end_inset
25366
25367
25368 \end_layout
25369
25370 \begin_layout Standard
25371 To return to the default placement insert the command
25372 \end_layout
25373
25374 \begin_layout Standard
25375
25376 \series bold
25377
25378 \backslash
25379 normalmarginpar
25380 \end_layout
25381
25382 \begin_layout Standard
25383 in TeX-Code.
25384 \begin_inset ERT
25385 status collapsed
25386
25387 \begin_layout Plain Layout
25388
25389
25390 \backslash
25391 normalmarginpar 
25392 \end_layout
25393
25394 \end_inset
25395
25396  
25397 \begin_inset Note Greyedout
25398 status open
25399
25400 \begin_layout Plain Layout
25401
25402 \series bold
25403 Note:
25404 \series default
25405  The command is ignored when it is within a paragraph where also the command
25406  
25407 \series bold
25408
25409 \backslash
25410 reversemarginpar
25411 \series default
25412  is inserted.
25413 \end_layout
25414
25415 \end_inset
25416
25417
25418 \end_layout
25419
25420 \begin_layout Standard
25421 \begin_inset VSpace bigskip
25422 \end_inset
25423
25424
25425 \family roman
25426 \series medium
25427
25428 \begin_inset Marginal
25429 status open
25430
25431 \begin_layout Plain Layout
25432 AVeryLongMarginParWord that isn't hyphenated.
25433 \end_layout
25434
25435 \end_inset
25436
25437
25438 \family default
25439 \series default
25440  Similar to the case described in section
25441 \begin_inset space ~
25442 \end_inset
25443
25444
25445 \begin_inset CommandInset ref
25446 LatexCommand ref
25447 reference "sub:Multiple-Lines-in"
25448
25449 \end_inset
25450
25451 , long words cannot be hyphenated when they are the first word in a margin
25452  note.
25453  To avoid this, insert 0
25454 \begin_inset space \thinspace{}
25455 \end_inset
25456
25457 pt horizontal space before the word
25458 \family roman
25459 \series medium
25460 .
25461  
25462 \begin_inset Marginal
25463 status open
25464
25465 \begin_layout Plain Layout
25466 \begin_inset space \hspace*{}
25467 \length 0pt
25468 \end_inset
25469
25470 AVeryLongMarginParWord that is hyphenated.
25471 \end_layout
25472
25473 \end_inset
25474
25475
25476 \end_layout
25477
25478 \begin_layout Standard
25479 \begin_inset VSpace bigskip
25480 \end_inset
25481
25482
25483 \end_layout
25484
25485 \begin_layout Standard
25486 \begin_inset Note Greyedout
25487 status open
25488
25489 \begin_layout Plain Layout
25490
25491 \series bold
25492 Note:
25493 \series default
25494  Margin notes can normally not be used inside tables, floats, and footnotes.
25495 \end_layout
25496
25497 \end_inset
25498
25499
25500 \end_layout
25501
25502 \begin_layout Standard
25503 \begin_inset VSpace bigskip
25504 \end_inset
25505
25506
25507 \end_layout
25508
25509 \begin_layout Standard
25510 \begin_inset ERT
25511 status collapsed
25512
25513 \begin_layout Plain Layout
25514
25515
25516 \backslash
25517 ifmarginnote
25518 \end_layout
25519
25520 \end_inset
25521
25522
25523 \begin_inset Note Note
25524 status open
25525
25526 \begin_layout Plain Layout
25527 The following section will only be displayed when the LaTeX-package 
25528 \series bold
25529 marginnote
25530 \series default
25531  is installed.
25532 \end_layout
25533
25534 \end_inset
25535
25536
25537 \end_layout
25538
25539 \begin_layout Standard
25540 This restriction can be evaded by using the LaTeX-package 
25541 \series bold
25542 marginnote
25543 \series default
25544
25545 \begin_inset Index
25546 status collapsed
25547
25548 \begin_layout Plain Layout
25549 LaTeX-packages ! marginnote
25550 \end_layout
25551
25552 \end_inset
25553
25554 .
25555  By adding these two lines to your document preamble, the command used by
25556  LyX for margin notes is redefined to use the command provided by the 
25557 \series bold
25558 marginnote
25559 \series default
25560 -package:
25561 \end_layout
25562
25563 \begin_layout Standard
25564
25565 \series bold
25566
25567 \backslash
25568 usepackage{marginnote}
25569 \begin_inset Newline newline
25570 \end_inset
25571
25572
25573 \backslash
25574 let
25575 \backslash
25576 marginpar
25577 \backslash
25578 marginnote
25579 \end_layout
25580
25581 \begin_layout Standard
25582 This is also used in this document because 
25583 \series bold
25584 marginnote
25585 \series default
25586  has another useful feature: You can set a vertical offset for the note.
25587  This is often needed when too many margin notes are too close together
25588  or for a better page layout.
25589  The offset is set in LyX as TeX-Code directly behind the margin note in
25590  the scheme
25591 \end_layout
25592
25593 \begin_layout Standard
25594
25595 \series bold
25596 [offset]
25597 \end_layout
25598
25599 \begin_layout Standard
25600 where the offset is a length with one of the units listed in Table
25601 \begin_inset space ~
25602 \end_inset
25603
25604
25605 \begin_inset CommandInset ref
25606 LatexCommand ref
25607 reference "tab:Units"
25608
25609 \end_inset
25610
25611 .
25612  A negative value shifts the note up, a positive value shifts it down.
25613  
25614 \family roman
25615 \series medium
25616 For example the margin note beside this text line is shifted up 1.5
25617 \begin_inset space \thinspace{}
25618 \end_inset
25619
25620 cm with the TeX-Code-command 
25621 \begin_inset Quotes eld
25622 \end_inset
25623
25624
25625 \family default
25626 \series bold
25627 [-1.5cm]
25628 \family roman
25629 \series medium
25630
25631 \begin_inset Quotes erd
25632 \end_inset
25633
25634
25635 \begin_inset Marginal
25636 status open
25637
25638 \begin_layout Plain Layout
25639 This margin note is shifted up 1.5
25640 \begin_inset space \thinspace{}
25641 \end_inset
25642
25643 cm from its original position.
25644 \end_layout
25645
25646 \end_inset
25647
25648
25649 \family default
25650 \series default
25651
25652 \begin_inset ERT
25653 status collapsed
25654
25655 \begin_layout Plain Layout
25656
25657 [-1.5cm]
25658 \end_layout
25659
25660 \end_inset
25661
25662
25663 \end_layout
25664
25665 \begin_layout Standard
25666 \begin_inset VSpace medskip
25667 \end_inset
25668
25669 With 
25670 \series bold
25671 marginnote
25672 \series default
25673  you can also change the alignment of the text in the margin note.
25674  For example the commands
25675 \end_layout
25676
25677 \begin_layout Standard
25678
25679 \series bold
25680
25681 \backslash
25682 renewcommand*{
25683 \backslash
25684 raggedleftmarginnote}{
25685 \backslash
25686 centering}
25687 \begin_inset Newline newline
25688 \end_inset
25689
25690
25691 \backslash
25692 renewcommand*{
25693 \backslash
25694 raggedrightmarginnote}{
25695 \backslash
25696 centering}
25697 \end_layout
25698
25699 \begin_layout Standard
25700 set the alignment to centered.
25701  
25702 \series bold
25703
25704 \backslash
25705 raggedleftmarginnote
25706 \series default
25707  denotes margin notes that appear at the left side.
25708 \family roman
25709 \series medium
25710
25711 \begin_inset ERT
25712 status collapsed
25713
25714 \begin_layout Plain Layout
25715
25716
25717 \backslash
25718 renewcommand*{
25719 \backslash
25720 raggedleftmarginnote}{
25721 \backslash
25722 centering}
25723 \end_layout
25724
25725 \begin_layout Plain Layout
25726
25727
25728 \backslash
25729 renewcommand*{
25730 \backslash
25731 raggedrightmarginnote}{
25732 \backslash
25733 centering}
25734 \end_layout
25735
25736 \end_inset
25737
25738
25739 \begin_inset Marginal
25740 status open
25741
25742 \begin_layout Plain Layout
25743 The text of this margin note is centered.
25744 \end_layout
25745
25746 \end_inset
25747
25748
25749 \family default
25750 \series default
25751  The default is
25752 \end_layout
25753
25754 \begin_layout Standard
25755
25756 \series bold
25757
25758 \backslash
25759 renewcommand*{
25760 \backslash
25761 raggedleftmarginnote}{
25762 \backslash
25763 raggedleft}
25764 \begin_inset Newline newline
25765 \end_inset
25766
25767
25768 \backslash
25769 renewcommand*{
25770 \backslash
25771 raggedrightmarginnote}{
25772 \backslash
25773 raggedright}
25774 \family roman
25775 \series medium
25776
25777 \begin_inset ERT
25778 status collapsed
25779
25780 \begin_layout Plain Layout
25781
25782
25783 \backslash
25784 renewcommand*{
25785 \backslash
25786 raggedleftmarginnote}{
25787 \backslash
25788 raggedleft}
25789 \end_layout
25790
25791 \begin_layout Plain Layout
25792
25793
25794 \backslash
25795 renewcommand*{
25796 \backslash
25797 raggedrightmarginnote}{
25798 \backslash
25799 raggedright}
25800 \end_layout
25801
25802 \end_inset
25803
25804
25805 \end_layout
25806
25807 \begin_layout Standard
25808 \begin_inset VSpace medskip
25809 \end_inset
25810
25811 For the other features of 
25812 \series bold
25813 marginnote
25814 \series default
25815  we refer to its documentation 
25816 \begin_inset CommandInset citation
25817 LatexCommand cite
25818 key "marginnote"
25819
25820 \end_inset
25821
25822 .
25823 \end_layout
25824
25825 \begin_layout Standard
25826 \begin_inset VSpace bigskip
25827 \end_inset
25828
25829 You can adjust the layout of margin notes by changing its definition.
25830  To create for example a header for all margin notes with the underlined,
25831  sans-serif, and bold header text 
25832 \begin_inset Quotes eld
25833 \end_inset
25834
25835
25836 \family sans
25837 \series bold
25838 \bar under
25839 Attention!
25840 \family default
25841 \series default
25842 \bar default
25843
25844 \begin_inset Quotes erd
25845 \end_inset
25846
25847 , add this to your document preamble:
25848 \end_layout
25849
25850 \begin_layout Standard
25851
25852 \series bold
25853
25854 \backslash
25855 let
25856 \backslash
25857 myMarginpar
25858 \backslash
25859 marginpar
25860 \begin_inset Newline newline
25861 \end_inset
25862
25863
25864 \backslash
25865 renewcommand{
25866 \backslash
25867 marginpar}[1]{
25868 \backslash
25869 myMarginpar{%
25870 \begin_inset Newline newline
25871 \end_inset
25872
25873
25874 \begin_inset ERT
25875 status collapsed
25876
25877 \begin_layout Plain Layout
25878
25879
25880 \backslash
25881 hphantom{ }
25882 \end_layout
25883
25884 \end_inset
25885
25886
25887 \backslash
25888 hspace{0pt}
25889 \backslash
25890 textsf{
25891 \backslash
25892 textbf{
25893 \backslash
25894 underbar{Attention!}}}%
25895 \begin_inset Newline newline
25896 \end_inset
25897
25898
25899 \begin_inset ERT
25900 status collapsed
25901
25902 \begin_layout Plain Layout
25903
25904
25905 \backslash
25906 hphantom{ }
25907 \end_layout
25908
25909 \end_inset
25910
25911
25912 \backslash
25913 vspace{1.5mm}
25914 \backslash
25915
25916 \backslash
25917 #1}}
25918 \end_layout
25919
25920 \begin_layout Standard
25921
25922 \family roman
25923 \series medium
25924 \begin_inset ERT
25925 status collapsed
25926
25927 \begin_layout Plain Layout
25928
25929
25930 \backslash
25931 let
25932 \backslash
25933 myMarginpar
25934 \backslash
25935 marginpar
25936 \end_layout
25937
25938 \begin_layout Plain Layout
25939
25940
25941 \backslash
25942 renewcommand{
25943 \backslash
25944 marginpar}[1]{
25945 \backslash
25946 myMarginpar{%
25947 \end_layout
25948
25949 \begin_layout Plain Layout
25950
25951    
25952 \backslash
25953 textsf{
25954 \backslash
25955 textbf{
25956 \backslash
25957 underbar{Attention!}}}%
25958 \end_layout
25959
25960 \begin_layout Plain Layout
25961
25962    
25963 \backslash
25964 vspace{1.5mm}
25965 \backslash
25966
25967 \backslash
25968 #1}}
25969 \end_layout
25970
25971 \end_inset
25972
25973
25974 \begin_inset Marginal
25975 status open
25976
25977 \begin_layout Plain Layout
25978 This is a margin note with a defined heading.
25979 \end_layout
25980
25981 \end_inset
25982
25983
25984 \family default
25985 \series default
25986
25987 \begin_inset ERT
25988 status collapsed
25989
25990 \begin_layout Plain Layout
25991
25992 [-1.5cm]
25993 \end_layout
25994
25995 \end_inset
25996
25997
25998 \family roman
25999 \series medium
26000
26001 \begin_inset ERT
26002 status collapsed
26003
26004 \begin_layout Plain Layout
26005
26006
26007 \backslash
26008 renewcommand{
26009 \backslash
26010 marginpar}[1]{
26011 \backslash
26012 myMarginpar{#1}}
26013 \end_layout
26014
26015 \end_inset
26016
26017
26018 \family default
26019 \series default
26020
26021 \begin_inset Note Note
26022 status collapsed
26023
26024 \begin_layout Plain Layout
26025 The margin note format is changed only for this example.
26026 \end_layout
26027
26028 \end_inset
26029
26030
26031 \end_layout
26032
26033 \begin_layout Standard
26034 \begin_inset ERT
26035 status collapsed
26036
26037 \begin_layout Plain Layout
26038
26039
26040 \backslash
26041 else
26042 \end_layout
26043
26044 \end_inset
26045
26046
26047 \begin_inset Note Note
26048 status open
26049
26050 \begin_layout Plain Layout
26051 The following will be displayed when the LaTeX-package 
26052 \series bold
26053 marginnote
26054 \series default
26055  is not installed:
26056 \end_layout
26057
26058 \end_inset
26059
26060
26061 \end_layout
26062
26063 \begin_layout Standard
26064 You need to install the LaTeX-package 
26065 \series bold
26066 marginnote
26067 \series default
26068  to see the following part of this section in the output.
26069 \end_layout
26070
26071 \begin_layout Standard
26072 \begin_inset ERT
26073 status collapsed
26074
26075 \begin_layout Plain Layout
26076
26077
26078 \backslash
26079 fi
26080 \end_layout
26081
26082 \end_inset
26083
26084
26085 \end_layout
26086
26087 \begin_layout Chapter
26088 Boxes
26089 \end_layout
26090
26091 \begin_layout Section
26092 Introduction
26093 \begin_inset Index
26094 status collapsed
26095
26096 \begin_layout Plain Layout
26097 Boxes ! Introduction
26098 \end_layout
26099
26100 \end_inset
26101
26102
26103 \end_layout
26104
26105 \begin_layout Standard
26106 Boxes are used to format a block of text.
26107  Boxes can be used to write documents with multiple languages, see section
26108 \begin_inset space ~
26109 \end_inset
26110
26111
26112 \begin_inset CommandInset ref
26113 LatexCommand ref
26114 reference "sec:Minipages"
26115
26116 \end_inset
26117
26118 , to frame texts, see section
26119 \begin_inset space ~
26120 \end_inset
26121
26122
26123 \begin_inset CommandInset ref
26124 LatexCommand ref
26125 reference "sec:Decoration"
26126
26127 \end_inset
26128
26129 , to prevent words to be hyphenated, see section
26130 \begin_inset space ~
26131 \end_inset
26132
26133
26134 \begin_inset CommandInset ref
26135 LatexCommand ref
26136 reference "sec:Prevent-Hyphenation"
26137
26138 \end_inset
26139
26140 , to align text, see section
26141 \begin_inset space ~
26142 \end_inset
26143
26144
26145 \begin_inset CommandInset ref
26146 LatexCommand ref
26147 reference "sub:Vertical-Alignment"
26148
26149 \end_inset
26150
26151 , or to set the background color of texts, see section
26152 \begin_inset space ~
26153 \end_inset
26154
26155
26156 \begin_inset CommandInset ref
26157 LatexCommand ref
26158 reference "sec:Colored-Boxes"
26159
26160 \end_inset
26161
26162 .
26163 \end_layout
26164
26165 \begin_layout Standard
26166 Boxes can be inserted with the menu 
26167 \family sans
26168 Insert\SpecialChar \menuseparator
26169 Box
26170 \family default
26171  or the toolbar button 
26172 \begin_inset Graphics
26173         filename ../images/box-insert.png
26174         scale 85
26175         scaleBeforeRotation
26176
26177 \end_inset
26178
26179 .
26180  A grey box with the label 
26181 \family sans
26182 Box (Minipage)
26183 \family default
26184
26185 \begin_inset Graphics
26186         filename clipart/BoxInsetDefaultQt4.png
26187         scale 85
26188         scaleBeforeRotation
26189
26190 \end_inset
26191
26192  will be inserted.
26193  The box type can be specified by right-clicking on the box.
26194  The appearing box dialog offers the 
26195 \family sans
26196 Inner
26197 \begin_inset space ~
26198 \end_inset
26199
26200 Box
26201 \family default
26202  types 
26203 \family sans
26204 Parbox
26205 \family default
26206  and 
26207 \family sans
26208 Minipage
26209 \family default
26210 .
26211  The type 
26212 \family sans
26213 Minipage
26214 \family default
26215  is the default for new boxes and is explained in section
26216 \begin_inset space ~
26217 \end_inset
26218
26219
26220 \begin_inset CommandInset ref
26221 LatexCommand ref
26222 reference "sec:Minipages"
26223
26224 \end_inset
26225
26226 ; the type 
26227 \family sans
26228 Parbox
26229 \family default
26230  is described in section
26231 \begin_inset space ~
26232 \end_inset
26233
26234
26235 \begin_inset CommandInset ref
26236 LatexCommand ref
26237 reference "sec:Parboxes"
26238
26239 \end_inset
26240
26241 .
26242 \end_layout
26243
26244 \begin_layout Standard
26245 Boxes aren't numbered and can therefore not be referenced like floats or
26246  footnotes.
26247 \end_layout
26248
26249 \begin_layout Standard
26250 \begin_inset Note Greyedout
26251 status open
26252
26253 \begin_layout Plain Layout
26254
26255 \series bold
26256 Note:
26257 \series default
26258  Boxes must not be the item in an 
26259 \family sans
26260 Itemize
26261 \family default
26262  or 
26263 \family sans
26264 Description
26265 \family default
26266  environment.
26267 \end_layout
26268
26269 \end_inset
26270
26271
26272 \end_layout
26273
26274 \begin_layout Standard
26275 \begin_inset Note Greyedout
26276 status open
26277
26278 \begin_layout Plain Layout
26279
26280 \series bold
26281 Note:
26282 \series default
26283  For an unknown reason you can only set the 
26284 \family sans
26285 Inner
26286 \begin_inset space ~
26287 \end_inset
26288
26289 Box
26290 \family default
26291  type to 
26292 \family sans
26293 None
26294 \family default
26295  when you use a framed box.
26296  Boxes without an 
26297 \family sans
26298 Inner
26299 \begin_inset space ~
26300 \end_inset
26301
26302 Box
26303 \family default
26304  type and without frames are explained in section
26305 \begin_inset space ~
26306 \end_inset
26307
26308
26309 \begin_inset CommandInset ref
26310 LatexCommand ref
26311 reference "sec:Prevent-Hyphenation"
26312
26313 \end_inset
26314
26315 .
26316 \end_layout
26317
26318 \end_inset
26319
26320
26321 \end_layout
26322
26323 \begin_layout Section
26324 Box Dialog
26325 \begin_inset CommandInset label
26326 LatexCommand label
26327 name "sec:Box-Dialog"
26328
26329 \end_inset
26330
26331
26332 \begin_inset Index
26333 status collapsed
26334
26335 \begin_layout Plain Layout
26336 Boxes ! Box Dialog
26337 \end_layout
26338
26339 \end_inset
26340
26341
26342 \end_layout
26343
26344 \begin_layout Subsection
26345 Size
26346 \begin_inset Index
26347 status collapsed
26348
26349 \begin_layout Plain Layout
26350 Boxes ! Size
26351 \end_layout
26352
26353 \end_inset
26354
26355
26356 \end_layout
26357
26358 \begin_layout Standard
26359 In the box dialog you can adjust the box geometry in the fields 
26360 \family sans
26361 Width
26362 \family default
26363  and 
26364 \family sans
26365 Height
26366 \family default
26367 .
26368  The available units for the geometry are explained in Table
26369 \begin_inset space ~
26370 \end_inset
26371
26372
26373 \begin_inset CommandInset ref
26374 LatexCommand ref
26375 reference "tab:Units"
26376
26377 \end_inset
26378
26379 .
26380  The field 
26381 \family sans
26382 Heigth
26383 \family default
26384  offers the following additional sizes:
26385 \end_layout
26386
26387 \begin_layout Description
26388 Depth This is the plain text 
26389 \begin_inset Quotes eld
26390 \end_inset
26391
26392 height
26393 \begin_inset Quotes erd
26394 \end_inset
26395
26396 .
26397  It ignores the total depth when there are multiple text lines in the box:
26398 \begin_inset Newline newline
26399 \end_inset
26400
26401
26402 \begin_inset Newline newline
26403 \end_inset
26404
26405
26406 \begin_inset Newline newline
26407 \end_inset
26408
26409
26410 \begin_inset Box Boxed
26411 position "c"
26412 hor_pos "c"
26413 has_inner_box 1
26414 inner_pos "c"
26415 use_parbox 0
26416 width "12col%"
26417 special "none"
26418 height "1in"
26419 height_special "depth"
26420 status collapsed
26421
26422 \begin_layout Plain Layout
26423 \align center
26424 Box height set to 1
26425 \begin_inset space \thinspace{}
26426 \end_inset
26427
26428 Depth
26429 \end_layout
26430
26431 \end_inset
26432
26433
26434 \begin_inset Newline newline
26435 \end_inset
26436
26437
26438 \begin_inset Newline newline
26439 \end_inset
26440
26441
26442 \end_layout
26443
26444 \begin_layout Description
26445 Height This is the heigth of the text that is inside the box.
26446  A value of e.
26447 \begin_inset space \thinspace{}
26448 \end_inset
26449
26450 g.
26451 \begin_inset space \space{}
26452 \end_inset
26453
26454 2 for this size will set the box heigth to 2 times the text height: 
26455 \begin_inset Box Boxed
26456 position "c"
26457 hor_pos "c"
26458 has_inner_box 1
26459 inner_pos "c"
26460 use_parbox 0
26461 width "20col%"
26462 special "none"
26463 height "2in"
26464 height_special "height"
26465 status collapsed
26466
26467 \begin_layout Plain Layout
26468 \align center
26469 Box height set to 2
26470 \begin_inset space \thinspace{}
26471 \end_inset
26472
26473 Height
26474 \end_layout
26475
26476 \end_inset
26477
26478
26479 \end_layout
26480
26481 \begin_layout Description
26482 Total
26483 \begin_inset space ~
26484 \end_inset
26485
26486 Height This is the Height
26487 \begin_inset space \thinspace{}
26488 \end_inset
26489
26490 +
26491 \begin_inset space \thinspace{}
26492 \end_inset
26493
26494 Depth: 
26495 \begin_inset Box Boxed
26496 position "c"
26497 hor_pos "c"
26498 has_inner_box 1
26499 inner_pos "c"
26500 use_parbox 0
26501 width "20col%"
26502 special "none"
26503 height "1in"
26504 height_special "totalheight"
26505 status collapsed
26506
26507 \begin_layout Plain Layout
26508 \align center
26509 Box height set to 1
26510 \begin_inset space \thinspace{}
26511 \end_inset
26512
26513 Total
26514 \begin_inset space ~
26515 \end_inset
26516
26517 Height
26518 \end_layout
26519
26520 \end_inset
26521
26522
26523 \end_layout
26524
26525 \begin_layout Description
26526 Width This sets the width of the box as heigth: 
26527 \begin_inset Box Boxed
26528 position "c"
26529 hor_pos "c"
26530 has_inner_box 1
26531 inner_pos "c"
26532 use_parbox 0
26533 width "12col%"
26534 special "none"
26535 height "1in"
26536 height_special "width"
26537 status collapsed
26538
26539 \begin_layout Plain Layout
26540 \align center
26541 Box height set to 1
26542 \begin_inset space \thinspace{}
26543 \end_inset
26544
26545 Width
26546 \end_layout
26547
26548 \end_inset
26549
26550
26551 \end_layout
26552
26553 \begin_layout Subsection
26554 Alignment
26555 \begin_inset Index
26556 status collapsed
26557
26558 \begin_layout Plain Layout
26559 Boxes ! Alignment
26560 \end_layout
26561
26562 \end_inset
26563
26564
26565 \end_layout
26566
26567 \begin_layout Standard
26568 When you have chosen an 
26569 \family sans
26570 Inner
26571 \begin_inset space ~
26572 \end_inset
26573
26574 Box
26575 \family default
26576 , the vertical box alignment can be:
26577 \end_layout
26578
26579 \begin_layout Description
26580 Top This is an example text line.
26581  
26582 \begin_inset Box Boxed
26583 position "t"
26584 hor_pos "c"
26585 has_inner_box 1
26586 inner_pos "c"
26587 use_parbox 0
26588 width "12col%"
26589 special "none"
26590 height "1in"
26591 height_special "totalheight"
26592 status collapsed
26593
26594 \begin_layout Plain Layout
26595 \align center
26596 This box is top-aligned.
26597 \end_layout
26598
26599 \end_inset
26600
26601  This is an example text line.
26602 \end_layout
26603
26604 \begin_layout Description
26605 Middle This is an example text line.
26606  
26607 \begin_inset Box Boxed
26608 position "c"
26609 hor_pos "c"
26610 has_inner_box 1
26611 inner_pos "c"
26612 use_parbox 0
26613 width "12col%"
26614 special "none"
26615 height "1in"
26616 height_special "totalheight"
26617 status collapsed
26618
26619 \begin_layout Plain Layout
26620 \align center
26621 This box is middle-aligned.
26622 \end_layout
26623
26624 \end_inset
26625
26626  This is an example text line.
26627 \end_layout
26628
26629 \begin_layout Description
26630 Bottom This is an example text line.
26631  
26632 \begin_inset Box Boxed
26633 position "b"
26634 hor_pos "c"
26635 has_inner_box 1
26636 inner_pos "c"
26637 use_parbox 0
26638 width "12col%"
26639 special "none"
26640 height "1in"
26641 height_special "totalheight"
26642 status collapsed
26643
26644 \begin_layout Plain Layout
26645 \align center
26646 This box is bottom-aligned.
26647 \end_layout
26648
26649 \end_inset
26650
26651  This is an example text line.
26652 \end_layout
26653
26654 \begin_layout Standard
26655 \begin_inset Note Greyedout
26656 status open
26657
26658 \begin_layout Plain Layout
26659
26660 \series bold
26661 Note:
26662 \series default
26663  The vertical box aligment can be lost in the output when you have two boxes
26664  in a line and one has e.
26665 \begin_inset space \thinspace{}
26666 \end_inset
26667
26668 g.
26669 \begin_inset space \space{}
26670 \end_inset
26671
26672 a shadow and the other one not.
26673 \end_layout
26674
26675 \end_inset
26676
26677
26678 \end_layout
26679
26680 \begin_layout Standard
26681 The horizontal box alignment can be set via LyX's paragraph dialog when
26682  you set the box into its own paragraph.
26683 \end_layout
26684
26685 \begin_layout Standard
26686 \begin_inset VSpace bigskip
26687 \end_inset
26688
26689 When you have chosen an 
26690 \family sans
26691 Inner
26692 \begin_inset space ~
26693 \end_inset
26694
26695 Box
26696 \family default
26697 , the box content can be vertical aligned to:
26698 \end_layout
26699
26700 \begin_layout Description
26701 top This is an example text line.
26702  
26703 \begin_inset Box Boxed
26704 position "c"
26705 hor_pos "c"
26706 has_inner_box 1
26707 inner_pos "t"
26708 use_parbox 0
26709 width "12col%"
26710 special "none"
26711 height "1.5in"
26712 height_special "totalheight"
26713 status collapsed
26714
26715 \begin_layout Plain Layout
26716 \align center
26717 This box text is top-aligned.
26718 \end_layout
26719
26720 \end_inset
26721
26722  This is an example text line.
26723 \end_layout
26724
26725 \begin_layout Description
26726 middle This is an example text line.
26727  
26728 \begin_inset Box Boxed
26729 position "c"
26730 hor_pos "c"
26731 has_inner_box 1
26732 inner_pos "c"
26733 use_parbox 0
26734 width "12col%"
26735 special "none"
26736 height "1.5in"
26737 height_special "totalheight"
26738 status collapsed
26739
26740 \begin_layout Plain Layout
26741 \align center
26742 This box text is middle-aligned.
26743 \end_layout
26744
26745 \end_inset
26746
26747  This is an example text line.
26748 \end_layout
26749
26750 \begin_layout Description
26751 bottom This is an example text line.
26752  
26753 \begin_inset Box Boxed
26754 position "c"
26755 hor_pos "c"
26756 has_inner_box 1
26757 inner_pos "b"
26758 use_parbox 0
26759 width "12col%"
26760 special "none"
26761 height "1.5in"
26762 height_special "totalheight"
26763 status collapsed
26764
26765 \begin_layout Plain Layout
26766 \align center
26767 This box text is bottom-aligned.
26768 \end_layout
26769
26770 \end_inset
26771
26772  This is an example text line.
26773 \end_layout
26774
26775 \begin_layout Description
26776 stretch This is an example text line.
26777  
26778 \begin_inset Box Boxed
26779 position "c"
26780 hor_pos "c"
26781 has_inner_box 1
26782 inner_pos "s"
26783 use_parbox 0
26784 width "12col%"
26785 special "none"
26786 height "1.5in"
26787 height_special "totalheight"
26788 status collapsed
26789
26790 \begin_layout Plain Layout
26791 \align center
26792 This box
26793 \end_layout
26794
26795 \begin_layout Plain Layout
26796 \align center
26797 text is
26798 \end_layout
26799
26800 \begin_layout Plain Layout
26801 \align center
26802 stretched.
26803 \end_layout
26804
26805 \end_inset
26806
26807  This is an example text line.
26808 \end_layout
26809
26810 \begin_layout Standard
26811 To stretch the box content, it must consist of more than one paragraph.
26812  In the example above every text line is in an own paragraph.
26813 \end_layout
26814
26815 \begin_layout Standard
26816 \begin_inset VSpace bigskip
26817 \end_inset
26818
26819 To align the box content horizontally you can use LyX's paragraph dialog
26820  when you have chosen an 
26821 \family sans
26822 Inner
26823 \begin_inset space ~
26824 \end_inset
26825
26826 Box
26827 \family default
26828 .
26829 \end_layout
26830
26831 \begin_layout Standard
26832 \align center
26833 \begin_inset Box Boxed
26834 position "c"
26835 hor_pos "c"
26836 has_inner_box 1
26837 inner_pos "s"
26838 use_parbox 0
26839 width "15col%"
26840 special "none"
26841 height "1.25in"
26842 height_special "totalheight"
26843 status collapsed
26844
26845 \begin_layout Plain Layout
26846 \align left
26847 This box
26848 \end_layout
26849
26850 \begin_layout Plain Layout
26851 \align center
26852 text is
26853 \end_layout
26854
26855 \begin_layout Plain Layout
26856 \align right
26857 stretched.
26858 \end_layout
26859
26860 \end_inset
26861
26862
26863 \end_layout
26864
26865 \begin_layout Standard
26866 If you haven't set an 
26867 \family sans
26868 Inner
26869 \begin_inset space ~
26870 \end_inset
26871
26872 Box
26873 \family default
26874 , you can align the box content horizontally in the box dialog.
26875 \end_layout
26876
26877 \begin_layout Standard
26878 \align center
26879 \begin_inset Box Boxed
26880 position "c"
26881 hor_pos "s"
26882 has_inner_box 0
26883 inner_pos "s"
26884 use_parbox 0
26885 width "90col%"
26886 special "none"
26887 height "1.25in"
26888 height_special "totalheight"
26889 status collapsed
26890
26891 \begin_layout Plain Layout
26892 \align left
26893 This box text is horizontally stretched.
26894 \end_layout
26895
26896 \end_inset
26897
26898
26899 \end_layout
26900
26901 \begin_layout Subsection
26902 Decoration
26903 \begin_inset CommandInset label
26904 LatexCommand label
26905 name "sec:Decoration"
26906
26907 \end_inset
26908
26909
26910 \begin_inset Index
26911 status collapsed
26912
26913 \begin_layout Plain Layout
26914 Boxes ! Decoration
26915 \end_layout
26916
26917 \end_inset
26918
26919
26920 \end_layout
26921
26922 \begin_layout Standard
26923 The type of the box can be specified in the box-dialog in the drop-down
26924  list 
26925 \family sans
26926 Decoration
26927 \family default
26928 .
26929  The following types are possible:
26930 \end_layout
26931
26932 \begin_layout Description
26933 Simple
26934 \begin_inset space ~
26935 \end_inset
26936
26937 rectangular
26938 \begin_inset space ~
26939 \end_inset
26940
26941 frame This draws a rectangle frame around the box.
26942  The frame line thickness has the size of 
26943 \series bold
26944
26945 \backslash
26946 fboxrule
26947 \series default
26948 .
26949  
26950 \begin_inset Box Boxed
26951 position "c"
26952 hor_pos "c"
26953 has_inner_box 1
26954 inner_pos "c"
26955 use_parbox 0
26956 width "20col%"
26957 special "none"
26958 height "1in"
26959 height_special "totalheight"
26960 status collapsed
26961
26962 \begin_layout Plain Layout
26963 \align center
26964 Rectangular box
26965 \end_layout
26966
26967 \end_inset
26968
26969
26970 \end_layout
26971
26972 \begin_layout Description
26973 Allow
26974 \begin_inset space ~
26975 \end_inset
26976
26977 page
26978 \begin_inset space ~
26979 \end_inset
26980
26981 break When you use the decoration 
26982 \family sans
26983 simple rectangular frame
26984 \family default
26985  and no inner box, you can allow page breaks within a box.
26986  Note that then, in contrary to other framed boxes, the frame always uses
26987  the whole column width, the box is set as its own paragraph, and 
26988 \series bold
26989
26990 \backslash
26991 fboxrule
26992 \series default
26993  and 
26994 \series bold
26995
26996 \backslash
26997 fboxsep
26998 \series default
26999  has no effect on this box type.
27000  The frame line thickness has the size of 
27001 \series bold
27002
27003 \backslash
27004 FrameRule
27005 \series default
27006 .
27007  
27008 \begin_inset Box Framed
27009 position "t"
27010 hor_pos "c"
27011 has_inner_box 0
27012 inner_pos "t"
27013 use_parbox 0
27014 width "100col%"
27015 special "none"
27016 height "1in"
27017 height_special "totalheight"
27018 status collapsed
27019
27020 \begin_layout Plain Layout
27021 Allow page break box
27022 \end_layout
27023
27024 \end_inset
27025
27026
27027 \end_layout
27028
27029 \begin_layout Description
27030 Oval
27031 \begin_inset space ~
27032 \end_inset
27033
27034 box,
27035 \begin_inset space ~
27036 \end_inset
27037
27038 thin This draws an oval frame around the box.
27039  The frame line thickness has the size 0.4
27040 \begin_inset space \thinspace{}
27041 \end_inset
27042
27043 pt.
27044  
27045 \begin_inset Box ovalbox
27046 position "c"
27047 hor_pos "c"
27048 has_inner_box 1
27049 inner_pos "c"
27050 use_parbox 0
27051 width "20col%"
27052 special "none"
27053 height "1in"
27054 height_special "totalheight"
27055 status collapsed
27056
27057 \begin_layout Plain Layout
27058 \align center
27059 Oval box, thin
27060 \end_layout
27061
27062 \end_inset
27063
27064
27065 \end_layout
27066
27067 \begin_layout Description
27068 Oval
27069 \begin_inset space ~
27070 \end_inset
27071
27072 box,
27073 \begin_inset space ~
27074 \end_inset
27075
27076 thick This draws an oval frame around the box.
27077  The frame line thickness has the size 0.8
27078 \begin_inset space \thinspace{}
27079 \end_inset
27080
27081 pt.
27082  
27083 \begin_inset Box Ovalbox
27084 position "c"
27085 hor_pos "c"
27086 has_inner_box 1
27087 inner_pos "c"
27088 use_parbox 0
27089 width "20col%"
27090 special "none"
27091 height "1in"
27092 height_special "totalheight"
27093 status collapsed
27094
27095 \begin_layout Plain Layout
27096 \align center
27097 Oval box, thick
27098 \end_layout
27099
27100 \end_inset
27101
27102
27103 \end_layout
27104
27105 \begin_layout Description
27106 Drop
27107 \begin_inset space ~
27108 \end_inset
27109
27110 shadow This draws a rectangle frame with a shadow around the box.
27111  The frame line thickness has the size of 
27112 \series bold
27113
27114 \backslash
27115 fboxrule
27116 \series default
27117 , the shadow has a width of 4
27118 \begin_inset space \thinspace{}
27119 \end_inset
27120
27121 pt.
27122  
27123 \begin_inset Box Shadowbox
27124 position "c"
27125 hor_pos "c"
27126 has_inner_box 1
27127 inner_pos "c"
27128 use_parbox 0
27129 width "20col%"
27130 special "none"
27131 height "1in"
27132 height_special "totalheight"
27133 status collapsed
27134
27135 \begin_layout Plain Layout
27136 \align center
27137 Shadow box
27138 \end_layout
27139
27140 \end_inset
27141
27142
27143 \end_layout
27144
27145 \begin_layout Description
27146 Shaded
27147 \begin_inset space ~
27148 \end_inset
27149
27150 background This draws a box with red background color.
27151  In contrary to colored boxes
27152 \begin_inset Foot
27153 status collapsed
27154
27155 \begin_layout Plain Layout
27156 see sec.
27157 \begin_inset space \thinspace{}
27158 \end_inset
27159
27160
27161 \begin_inset CommandInset ref
27162 LatexCommand ref
27163 reference "sec:Colored-Boxes"
27164
27165 \end_inset
27166
27167
27168 \end_layout
27169
27170 \end_inset
27171
27172 , it always uses the whole column width and the box is set as its own paragraph.
27173  
27174 \begin_inset Box Shaded
27175 position "t"
27176 hor_pos "c"
27177 has_inner_box 0
27178 inner_pos "t"
27179 use_parbox 0
27180 width "50col%"
27181 special "none"
27182 height "1in"
27183 height_special "totalheight"
27184 status collapsed
27185
27186 \begin_layout Plain Layout
27187 Shaded background box
27188 \end_layout
27189
27190 \end_inset
27191
27192
27193 \end_layout
27194
27195 \begin_layout Description
27196 Double
27197 \begin_inset space ~
27198 \end_inset
27199
27200 rectangular
27201 \begin_inset space ~
27202 \end_inset
27203
27204 frame This draws a double-line rectangle frame around the box.
27205  The line thickness of the inner frame is 0.75
27206 \begin_inset space \thinspace{}
27207 \end_inset
27208
27209
27210 \series bold
27211
27212 \backslash
27213 fboxrule
27214 \series default
27215 , the thickness of the outer frame is 1.5
27216 \begin_inset space \thinspace{}
27217 \end_inset
27218
27219
27220 \series bold
27221
27222 \backslash
27223 fboxrule
27224 \series default
27225 .
27226  The distance between the lines is 1.5
27227 \begin_inset space \thinspace{}
27228 \end_inset
27229
27230
27231 \series bold
27232
27233 \backslash
27234 fboxrule
27235 \series default
27236
27237 \begin_inset space \thinspace{}
27238 \end_inset
27239
27240 +
27241 \begin_inset space \thinspace{}
27242 \end_inset
27243
27244 0.5
27245 \begin_inset space \thinspace{}
27246 \end_inset
27247
27248 pt.
27249  
27250 \begin_inset Box Doublebox
27251 position "c"
27252 hor_pos "c"
27253 has_inner_box 1
27254 inner_pos "c"
27255 use_parbox 0
27256 width "20col%"
27257 special "none"
27258 height "1in"
27259 height_special "totalheight"
27260 status collapsed
27261
27262 \begin_layout Plain Layout
27263 \align center
27264 Double rectangular box
27265 \end_layout
27266
27267 \end_inset
27268
27269
27270 \end_layout
27271
27272 \begin_layout Standard
27273 \begin_inset VSpace bigskip
27274 \end_inset
27275
27276 LyX's box label will reflect the different frame types.
27277  To be able to use all types, the LaTeX-package 
27278 \series bold
27279 fancybox
27280 \series default
27281
27282 \begin_inset Index
27283 status collapsed
27284
27285 \begin_layout Plain Layout
27286 LaTeX-packages ! fancybox
27287 \end_layout
27288
27289 \end_inset
27290
27291  must be installed.
27292 \end_layout
27293
27294 \begin_layout Section
27295 Box customization
27296 \begin_inset Index
27297 status collapsed
27298
27299 \begin_layout Plain Layout
27300 Boxes ! Customization
27301 \end_layout
27302
27303 \end_inset
27304
27305
27306 \end_layout
27307
27308 \begin_layout Standard
27309 The default value for the size 
27310 \series bold
27311
27312 \backslash
27313 fboxrule
27314 \series default
27315  is 0.4
27316 \begin_inset space \thinspace{}
27317 \end_inset
27318
27319 pt.
27320  It can be changed with the following command in TeX-Code to e.
27321 \begin_inset space \thinspace{}
27322 \end_inset
27323
27324 g.
27325 \begin_inset space \space{}
27326 \end_inset
27327
27328 2
27329 \begin_inset space \thinspace{}
27330 \end_inset
27331
27332 pt:
27333 \end_layout
27334
27335 \begin_layout Standard
27336
27337 \series bold
27338
27339 \backslash
27340 setlength{
27341 \backslash
27342 fboxrule}{2pt}
27343 \end_layout
27344
27345 \begin_layout Standard
27346 \begin_inset ERT
27347 status collapsed
27348
27349 \begin_layout Plain Layout
27350
27351
27352 \backslash
27353 setlength{
27354 \backslash
27355 fboxrule}{2pt}
27356 \end_layout
27357
27358 \end_inset
27359
27360
27361 \begin_inset Box Boxed
27362 position "c"
27363 hor_pos "c"
27364 has_inner_box 1
27365 inner_pos "c"
27366 use_parbox 0
27367 width "25col%"
27368 special "none"
27369 height "1in"
27370 height_special "totalheight"
27371 status open
27372
27373 \begin_layout Plain Layout
27374 \align center
27375 Rectangular box with 
27376 \series bold
27377
27378 \backslash
27379 fboxrule
27380 \series default
27381
27382 \begin_inset space \thinspace{}
27383 \end_inset
27384
27385 =
27386 \begin_inset space \thinspace{}
27387 \end_inset
27388
27389 2
27390 \begin_inset space \thinspace{}
27391 \end_inset
27392
27393 pt
27394 \end_layout
27395
27396 \end_inset
27397
27398
27399 \begin_inset ERT
27400 status collapsed
27401
27402 \begin_layout Plain Layout
27403
27404
27405 \backslash
27406 setlength{
27407 \backslash
27408 fboxrule}{0.4pt}
27409 \end_layout
27410
27411 \end_inset
27412
27413
27414 \end_layout
27415
27416 \begin_layout Standard
27417 \begin_inset VSpace bigskip
27418 \end_inset
27419
27420 The space between the frame and the box content is for all frame styles
27421  by default 3
27422 \begin_inset space \thinspace{}
27423 \end_inset
27424
27425 pt.
27426  You can change it by setting the length 
27427 \series bold
27428
27429 \backslash
27430 fboxsep
27431 \series default
27432  to another value.
27433  For example the command
27434 \end_layout
27435
27436 \begin_layout Standard
27437
27438 \series bold
27439
27440 \backslash
27441 setlength{
27442 \backslash
27443 fboxsep}{10pt}
27444 \end_layout
27445
27446 \begin_layout Standard
27447 sets the value to 10
27448 \begin_inset space \thinspace{}
27449 \end_inset
27450
27451 pt, like for the following box:
27452 \end_layout
27453
27454 \begin_layout Standard
27455 \begin_inset ERT
27456 status collapsed
27457
27458 \begin_layout Plain Layout
27459
27460
27461 \backslash
27462 setlength{
27463 \backslash
27464 fboxsep}{10pt}
27465 \end_layout
27466
27467 \end_inset
27468
27469
27470 \begin_inset Box Boxed
27471 position "c"
27472 hor_pos "c"
27473 has_inner_box 1
27474 inner_pos "c"
27475 use_parbox 0
27476 width "25col%"
27477 special "none"
27478 height "1in"
27479 height_special "totalheight"
27480 status open
27481
27482 \begin_layout Plain Layout
27483 \align center
27484 Rectangular box with 
27485 \series bold
27486
27487 \backslash
27488 fboxsep
27489 \series default
27490
27491 \begin_inset space \thinspace{}
27492 \end_inset
27493
27494 =
27495 \begin_inset space \thinspace{}
27496 \end_inset
27497
27498 10
27499 \begin_inset space \thinspace{}
27500 \end_inset
27501
27502 pt
27503 \end_layout
27504
27505 \end_inset
27506
27507
27508 \begin_inset ERT
27509 status collapsed
27510
27511 \begin_layout Plain Layout
27512
27513
27514 \backslash
27515 setlength{
27516 \backslash
27517 fboxsep}{3pt}
27518 \end_layout
27519
27520 \end_inset
27521
27522
27523 \end_layout
27524
27525 \begin_layout Standard
27526 \begin_inset VSpace bigskip
27527 \end_inset
27528
27529 The diameter of the round corners of the oval boxes can be set with the
27530  command 
27531 \series bold
27532
27533 \backslash
27534 cornersize
27535 \series default
27536 .
27537  The command
27538 \end_layout
27539
27540 \begin_layout Standard
27541
27542 \series bold
27543
27544 \backslash
27545 cornersize*{1cm}
27546 \end_layout
27547
27548 \begin_layout Standard
27549 sets the diameter to 1
27550 \begin_inset space \thinspace{}
27551 \end_inset
27552
27553 cm.
27554  The command
27555 \end_layout
27556
27557 \begin_layout Standard
27558
27559 \series bold
27560
27561 \backslash
27562 cornersize{num}
27563 \end_layout
27564
27565 \begin_layout Standard
27566 sets the diameter to 
27567 \family sans
27568 num
27569 \begin_inset space \thinspace{}
27570 \end_inset
27571
27572 ×
27573 \begin_inset space \thinspace{}
27574 \end_inset
27575
27576 minimum(width and heigth of box)
27577 \family default
27578 .
27579  The default is 
27580 \series bold
27581
27582 \backslash
27583 cornersize{0.5}
27584 \series default
27585 .
27586 \end_layout
27587
27588 \begin_layout Standard
27589 \begin_inset ERT
27590 status collapsed
27591
27592 \begin_layout Plain Layout
27593
27594
27595 \backslash
27596 cornersize*{1.5cm}
27597 \end_layout
27598
27599 \end_inset
27600
27601
27602 \begin_inset Box Ovalbox
27603 position "c"
27604 hor_pos "c"
27605 has_inner_box 1
27606 inner_pos "c"
27607 use_parbox 0
27608 width "25col%"
27609 special "none"
27610 height "1in"
27611 height_special "totalheight"
27612 status open
27613
27614 \begin_layout Plain Layout
27615 \align center
27616 Oval box with 
27617 \series bold
27618
27619 \backslash
27620 cornersize
27621 \series default
27622
27623 \begin_inset space \thinspace{}
27624 \end_inset
27625
27626 =
27627 \begin_inset space \thinspace{}
27628 \end_inset
27629
27630 1.5
27631 \begin_inset space \thinspace{}
27632 \end_inset
27633
27634 cm
27635 \end_layout
27636
27637 \end_inset
27638
27639
27640 \begin_inset ERT
27641 status collapsed
27642
27643 \begin_layout Plain Layout
27644
27645
27646 \backslash
27647 cornersize{0.5}
27648 \end_layout
27649
27650 \end_inset
27651
27652
27653 \end_layout
27654
27655 \begin_layout Standard
27656 \begin_inset VSpace bigskip
27657 \end_inset
27658
27659 The size of the shadow can be adjusted by changing the length 
27660 \series bold
27661
27662 \backslash
27663 shadowsize
27664 \series default
27665 .
27666  It it set to 2
27667 \begin_inset space \thinspace{}
27668 \end_inset
27669
27670 pt for the following box by this command:
27671 \end_layout
27672
27673 \begin_layout Standard
27674
27675 \series bold
27676
27677 \backslash
27678 setlength{
27679 \backslash
27680 shadowsize}{2pt}
27681 \end_layout
27682
27683 \begin_layout Standard
27684 \begin_inset ERT
27685 status collapsed
27686
27687 \begin_layout Plain Layout
27688
27689
27690 \backslash
27691 setlength{
27692 \backslash
27693 shadowsize}{2pt}
27694 \end_layout
27695
27696 \end_inset
27697
27698
27699 \begin_inset Box Shadowbox
27700 position "c"
27701 hor_pos "c"
27702 has_inner_box 1
27703 inner_pos "c"
27704 use_parbox 0
27705 width "25col%"
27706 special "none"
27707 height "1in"
27708 height_special "totalheight"
27709 status open
27710
27711 \begin_layout Plain Layout
27712 \align center
27713 Shadow box with 
27714 \series bold
27715
27716 \backslash
27717 shadowsize
27718 \series default
27719
27720 \begin_inset space \thinspace{}
27721 \end_inset
27722
27723 =
27724 \begin_inset space \thinspace{}
27725 \end_inset
27726
27727 2
27728 \begin_inset space \thinspace{}
27729 \end_inset
27730
27731 pt
27732 \end_layout
27733
27734 \end_inset
27735
27736
27737 \begin_inset ERT
27738 status collapsed
27739
27740 \begin_layout Plain Layout
27741
27742
27743 \backslash
27744 setlength{
27745 \backslash
27746 shadowsize}{4pt}
27747 \end_layout
27748
27749 \end_inset
27750
27751
27752 \end_layout
27753
27754 \begin_layout Standard
27755 \begin_inset VSpace bigskip
27756 \end_inset
27757
27758
27759 \end_layout
27760
27761 \begin_layout Standard
27762 The default value for the size 
27763 \series bold
27764
27765 \backslash
27766 FrameRule
27767 \series default
27768  is 0.4
27769 \begin_inset space \thinspace{}
27770 \end_inset
27771
27772 pt.
27773  The default space between the note content and the frame is 9
27774 \begin_inset space \thinspace{}
27775 \end_inset
27776
27777 pt and can be changed with the value of 
27778 \series bold
27779
27780 \backslash
27781 FrameSep
27782 \series default
27783 .
27784  For example the frame appearance of the following 
27785 \family sans
27786 box
27787 \family default
27788  is set with the TeX-Code commands
27789 \end_layout
27790
27791 \begin_layout Standard
27792
27793 \series bold
27794
27795 \backslash
27796 setlength{
27797 \backslash
27798 FrameRule}{5pt}
27799 \begin_inset Newline newline
27800 \end_inset
27801
27802
27803 \backslash
27804 setlength{
27805 \backslash
27806 FrameSep}{0.5cm}
27807 \end_layout
27808
27809 \begin_layout Standard
27810 \begin_inset ERT
27811 status collapsed
27812
27813 \begin_layout Plain Layout
27814
27815
27816 \backslash
27817 setlength{
27818 \backslash
27819 FrameRule}{5pt}
27820 \end_layout
27821
27822 \begin_layout Plain Layout
27823
27824
27825 \backslash
27826 setlength{
27827 \backslash
27828 FrameSep}{0.5cm}
27829 \end_layout
27830
27831 \end_inset
27832
27833
27834 \begin_inset Box Framed
27835 position "t"
27836 hor_pos "c"
27837 has_inner_box 0
27838 inner_pos "t"
27839 use_parbox 0
27840 width "100col%"
27841 special "none"
27842 height "1in"
27843 height_special "totalheight"
27844 status open
27845
27846 \begin_layout Plain Layout
27847 This is text in an 
27848 \family sans
27849 allow page break
27850 \family default
27851  box.
27852 \end_layout
27853
27854 \end_inset
27855
27856
27857 \begin_inset ERT
27858 status collapsed
27859
27860 \begin_layout Plain Layout
27861
27862
27863 \backslash
27864 setlength{
27865 \backslash
27866 FrameRule}{0.4pt}
27867 \end_layout
27868
27869 \begin_layout Plain Layout
27870
27871
27872 \backslash
27873 setlength{
27874 \backslash
27875 FrameSep}{9pt}
27876 \end_layout
27877
27878 \end_inset
27879
27880
27881 \end_layout
27882
27883 \begin_layout Standard
27884 \begin_inset VSpace bigskip
27885 \end_inset
27886
27887
27888 \end_layout
27889
27890 \begin_layout Standard
27891 For 
27892 \family sans
27893 shaded background
27894 \family default
27895  boxes the default space between the box content and the box border is 3
27896 \begin_inset space \thinspace{}
27897 \end_inset
27898
27899 pt and can be changed with the value of 
27900 \series bold
27901
27902 \backslash
27903 fboxsep
27904 \series default
27905 .
27906  The default background color red can either be changed locally with the
27907  command 
27908 \series bold
27909
27910 \backslash
27911 definecolor{shadebox}
27912 \series default
27913  or globally with the menu 
27914 \family sans
27915 Tools\SpecialChar \menuseparator
27916 Preferences\SpecialChar \menuseparator
27917 Colors\SpecialChar \menuseparator
27918 shaded
27919 \begin_inset space ~
27920 \end_inset
27921
27922 box
27923 \family default
27924 .
27925  The scheme of the 
27926 \series bold
27927
27928 \backslash
27929 definecolor
27930 \series default
27931  command is explained in section
27932 \begin_inset space ~
27933 \end_inset
27934
27935
27936 \begin_inset CommandInset ref
27937 LatexCommand ref
27938 reference "sec:Colored-Tables"
27939
27940 \end_inset
27941
27942 .
27943 \begin_inset Foot
27944 status collapsed
27945
27946 \begin_layout Plain Layout
27947 Note that 
27948 \series bold
27949
27950 \backslash
27951 definecolor
27952 \series default
27953  requires the LaTeX-package 
27954 \series bold
27955 color
27956 \series default
27957  in the preamble, see section
27958 \begin_inset space ~
27959 \end_inset
27960
27961
27962 \begin_inset CommandInset ref
27963 LatexCommand ref
27964 reference "sec:Colored-Boxes"
27965
27966 \end_inset
27967
27968 .
27969 \end_layout
27970
27971 \end_inset
27972
27973  For example the appearance of the following shaded background note is set
27974  with the TeX-Code commands
27975 \end_layout
27976
27977 \begin_layout Standard
27978
27979 \series bold
27980
27981 \backslash
27982 setlength{
27983 \backslash
27984 fboxsep}{0.5cm}
27985 \series default
27986
27987 \begin_inset Newline newline
27988 \end_inset
27989
27990
27991 \series bold
27992
27993 \backslash
27994 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
27995 \end_layout
27996
27997 \begin_layout Standard
27998 \begin_inset ERT
27999 status collapsed
28000
28001 \begin_layout Plain Layout
28002
28003
28004 \backslash
28005 setlength{
28006 \backslash
28007 fboxsep}{0.5cm}
28008 \end_layout
28009
28010 \begin_layout Plain Layout
28011
28012
28013 \backslash
28014 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
28015 \end_layout
28016
28017 \end_inset
28018
28019
28020 \begin_inset Box Shaded
28021 position "t"
28022 hor_pos "c"
28023 has_inner_box 0
28024 inner_pos "t"
28025 use_parbox 0
28026 width "100col%"
28027 special "none"
28028 height "1in"
28029 height_special "totalheight"
28030 status open
28031
28032 \begin_layout Plain Layout
28033
28034 \color yellow
28035 This is yellow text in a
28036 \color none
28037  
28038 \family sans
28039 \color yellow
28040 shaded background
28041 \family default
28042 \color none
28043  
28044 \color yellow
28045 box with dark green background.
28046 \end_layout
28047
28048 \end_inset
28049
28050
28051 \begin_inset ERT
28052 status collapsed
28053
28054 \begin_layout Plain Layout
28055
28056
28057 \backslash
28058 setlength{
28059 \backslash
28060 fboxsep}{3pt}
28061 \end_layout
28062
28063 \begin_layout Plain Layout
28064
28065
28066 \backslash
28067 definecolor{shadecolor}{rgb}{1,0,0}
28068 \end_layout
28069
28070 \end_inset
28071
28072
28073 \end_layout
28074
28075 \begin_layout Standard
28076 \begin_inset VSpace bigskip
28077 \end_inset
28078
28079 Changed lengths and widths are valid for all boxes following the commands
28080  that change them.
28081 \end_layout
28082
28083 \begin_layout Section
28084 Minipages
28085 \begin_inset CommandInset label
28086 LatexCommand label
28087 name "sec:Minipages"
28088
28089 \end_inset
28090
28091
28092 \begin_inset Index
28093 status collapsed
28094
28095 \begin_layout Plain Layout
28096 Boxes ! Minipages
28097 \end_layout
28098
28099 \end_inset
28100
28101
28102 \end_layout
28103
28104 \begin_layout Standard
28105 Minipages are treated by LaTeX as pages within pages and can therefore for
28106  example have their own footnotes.
28107 \end_layout
28108
28109 \begin_layout Standard
28110 Minipages are useful when you write documents with different languages.
28111 \end_layout
28112
28113 \begin_layout Standard
28114 Below are two example minipages side by side.
28115  Their width is set to 45
28116 \begin_inset space \thinspace{}
28117 \end_inset
28118
28119 col% and they are separated by a horizontal fill, that was inserted via
28120  the menu 
28121 \family sans
28122 Insert\SpecialChar \menuseparator
28123 Special
28124 \begin_inset space ~
28125 \end_inset
28126
28127 Formatting\SpecialChar \menuseparator
28128 Horizontal
28129 \begin_inset space ~
28130 \end_inset
28131
28132 Fill
28133 \family default
28134 .
28135 \begin_inset Newpage newpage
28136 \end_inset
28137
28138
28139 \end_layout
28140
28141 \begin_layout Standard
28142 \begin_inset Box Frameless
28143 position "t"
28144 hor_pos "c"
28145 has_inner_box 1
28146 inner_pos "c"
28147 use_parbox 0
28148 width "45col%"
28149 special "none"
28150 height "1in"
28151 height_special "totalheight"
28152 status open
28153
28154 \begin_layout Plain Layout
28155
28156 \lang german
28157 Dies ist ein deutscher Text.
28158  Dies ist ein deutscher Text.
28159  Dies ist ein deutscher Text.
28160  Dies ist ein deutscher Text.
28161  Dies ist ein deutscher Text.
28162  Dies ist ein deutscher Text.
28163  Dies ist ein deutscher Text.
28164  Dies ist ein deutscher Text.
28165  Dies ist ein deutscher Text.
28166  Dies ist ein deutscher Text.
28167  Dies ist ein deutscher Text.
28168  Dies ist ein deutscher Text.
28169  Dies ist ein deutscher Text
28170 \begin_inset Foot
28171 status collapsed
28172
28173 \begin_layout Plain Layout
28174
28175 \lang german
28176 Dies ist eine deutsche Fußnote.
28177 \end_layout
28178
28179 \end_inset
28180
28181 .
28182  Dies ist ein deutscher Text.
28183  Dies ist ein deutscher Text.
28184 \end_layout
28185
28186 \end_inset
28187
28188
28189 \begin_inset space \hfill{}
28190 \end_inset
28191
28192
28193 \begin_inset Box Frameless
28194 position "t"
28195 hor_pos "c"
28196 has_inner_box 1
28197 inner_pos "c"
28198 use_parbox 0
28199 width "45col%"
28200 special "none"
28201 height "1in"
28202 height_special "totalheight"
28203 status open
28204
28205 \begin_layout Plain Layout
28206 This is an English Text.
28207  This is an English Text.
28208  This is an English Text.
28209  This is an English Text.
28210  This is an English Text.
28211  This is an English Text.
28212  This is an English Text.
28213  This is an English Text.
28214  This is an English Text.
28215  This is an English Text.
28216  This is an English Text.
28217  This is an English Text.
28218  This is an English Text.
28219  This is an English Text.
28220  This is an English Text.
28221  This is an English Text.
28222 \begin_inset Foot
28223 status collapsed
28224
28225 \begin_layout Plain Layout
28226 This is an English footnote.
28227 \end_layout
28228
28229 \end_inset
28230
28231  This is an English Text.
28232  
28233 \end_layout
28234
28235 \end_inset
28236
28237
28238 \end_layout
28239
28240 \begin_layout Standard
28241 \begin_inset VSpace bigskip
28242 \end_inset
28243
28244 Another application for minipages are footnotes within tables.
28245  Due to a LaTeX restriction footnotes within tables doesn't appear at the
28246  bottom of the current page.
28247  But when you put the table with the footnote to a minipage, the footnote
28248  will appear at its bottom, numbered with Latin letters.
28249  The footnote number is reset to 1 in every minipage but not outside the
28250  minipages.
28251 \end_layout
28252
28253 \begin_layout Standard
28254 The footnote of this table doesn't appear: 
28255 \begin_inset Tabular
28256 <lyxtabular version="3" rows="3" columns="4">
28257 <features>
28258 <column alignment="center" valignment="top" width="0pt">
28259 <column alignment="center" valignment="top" width="0pt">
28260 <column alignment="center" valignment="top" width="0pt">
28261 <column alignment="center" valignment="top" width="0pt">
28262 <row>
28263 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28264 \begin_inset Text
28265
28266 \begin_layout Plain Layout
28267 1
28268 \end_layout
28269
28270 \end_inset
28271 </cell>
28272 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28273 \begin_inset Text
28274
28275 \begin_layout Plain Layout
28276 2
28277 \end_layout
28278
28279 \end_inset
28280 </cell>
28281 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28282 \begin_inset Text
28283
28284 \begin_layout Plain Layout
28285 3
28286 \begin_inset Foot
28287 status collapsed
28288
28289 \begin_layout Plain Layout
28290 This is a footnote within a table.
28291 \end_layout
28292
28293 \end_inset
28294
28295
28296 \end_layout
28297
28298 \end_inset
28299 </cell>
28300 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28301 \begin_inset Text
28302
28303 \begin_layout Plain Layout
28304 4
28305 \end_layout
28306
28307 \end_inset
28308 </cell>
28309 </row>
28310 <row>
28311 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28312 \begin_inset Text
28313
28314 \begin_layout Plain Layout
28315 a
28316 \end_layout
28317
28318 \end_inset
28319 </cell>
28320 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28321 \begin_inset Text
28322
28323 \begin_layout Plain Layout
28324 b
28325 \end_layout
28326
28327 \end_inset
28328 </cell>
28329 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28330 \begin_inset Text
28331
28332 \begin_layout Plain Layout
28333 c
28334 \end_layout
28335
28336 \end_inset
28337 </cell>
28338 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28339 \begin_inset Text
28340
28341 \begin_layout Plain Layout
28342 d
28343 \end_layout
28344
28345 \end_inset
28346 </cell>
28347 </row>
28348 <row>
28349 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28350 \begin_inset Text
28351
28352 \begin_layout Plain Layout
28353 e
28354 \end_layout
28355
28356 \end_inset
28357 </cell>
28358 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28359 \begin_inset Text
28360
28361 \begin_layout Plain Layout
28362 f
28363 \end_layout
28364
28365 \end_inset
28366 </cell>
28367 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28368 \begin_inset Text
28369
28370 \begin_layout Plain Layout
28371 g
28372 \end_layout
28373
28374 \end_inset
28375 </cell>
28376 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28377 \begin_inset Text
28378
28379 \begin_layout Plain Layout
28380 h
28381 \end_layout
28382
28383 \end_inset
28384 </cell>
28385 </row>
28386 </lyxtabular>
28387
28388 \end_inset
28389
28390
28391 \end_layout
28392
28393 \begin_layout Standard
28394 \align center
28395 \begin_inset Box Frameless
28396 position "t"
28397 hor_pos "c"
28398 has_inner_box 1
28399 inner_pos "c"
28400 use_parbox 0
28401 width "30col%"
28402 special "none"
28403 height "1in"
28404 height_special "totalheight"
28405 status open
28406
28407 \begin_layout Plain Layout
28408 \align center
28409 \begin_inset Tabular
28410 <lyxtabular version="3" rows="3" columns="4">
28411 <features>
28412 <column alignment="center" valignment="top" width="0pt">
28413 <column alignment="center" valignment="top" width="0pt">
28414 <column alignment="center" valignment="top" width="0pt">
28415 <column alignment="center" valignment="top" width="0pt">
28416 <row>
28417 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28418 \begin_inset Text
28419
28420 \begin_layout Plain Layout
28421 1
28422 \end_layout
28423
28424 \end_inset
28425 </cell>
28426 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28427 \begin_inset Text
28428
28429 \begin_layout Plain Layout
28430 2
28431 \end_layout
28432
28433 \end_inset
28434 </cell>
28435 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28436 \begin_inset Text
28437
28438 \begin_layout Plain Layout
28439 3
28440 \begin_inset Foot
28441 status collapsed
28442
28443 \begin_layout Plain Layout
28444 This is a footnote within a table.
28445 \end_layout
28446
28447 \end_inset
28448
28449
28450 \end_layout
28451
28452 \end_inset
28453 </cell>
28454 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28455 \begin_inset Text
28456
28457 \begin_layout Plain Layout
28458 4
28459 \end_layout
28460
28461 \end_inset
28462 </cell>
28463 </row>
28464 <row>
28465 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28466 \begin_inset Text
28467
28468 \begin_layout Plain Layout
28469 a
28470 \end_layout
28471
28472 \end_inset
28473 </cell>
28474 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28475 \begin_inset Text
28476
28477 \begin_layout Plain Layout
28478 b
28479 \end_layout
28480
28481 \end_inset
28482 </cell>
28483 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28484 \begin_inset Text
28485
28486 \begin_layout Plain Layout
28487 c
28488 \end_layout
28489
28490 \end_inset
28491 </cell>
28492 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28493 \begin_inset Text
28494
28495 \begin_layout Plain Layout
28496 d
28497 \end_layout
28498
28499 \end_inset
28500 </cell>
28501 </row>
28502 <row>
28503 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28504 \begin_inset Text
28505
28506 \begin_layout Plain Layout
28507 e
28508 \end_layout
28509
28510 \end_inset
28511 </cell>
28512 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28513 \begin_inset Text
28514
28515 \begin_layout Plain Layout
28516 f
28517 \end_layout
28518
28519 \end_inset
28520 </cell>
28521 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28522 \begin_inset Text
28523
28524 \begin_layout Plain Layout
28525 g
28526 \end_layout
28527
28528 \end_inset
28529 </cell>
28530 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28531 \begin_inset Text
28532
28533 \begin_layout Plain Layout
28534 h
28535 \end_layout
28536
28537 \end_inset
28538 </cell>
28539 </row>
28540 </lyxtabular>
28541
28542 \end_inset
28543
28544
28545 \end_layout
28546
28547 \end_inset
28548
28549
28550 \end_layout
28551
28552 \begin_layout Standard
28553 \begin_inset VSpace bigskip
28554 \end_inset
28555
28556 The document-wide paragraph settings are ignored within minipages.
28557  That means that there will be no space between paragraphs in minipages
28558  although you set it to e.
28559 \begin_inset space \thinspace{}
28560 \end_inset
28561
28562 g.
28563 \begin_inset space \space{}
28564 \end_inset
28565
28566
28567 \family sans
28568 MedSkip
28569 \family default
28570  in the document settings.
28571 \end_layout
28572
28573 \begin_layout Standard
28574 Minipages can also be used to set a background color for text parts, see
28575  section
28576 \begin_inset space ~
28577 \end_inset
28578
28579
28580 \begin_inset CommandInset ref
28581 LatexCommand ref
28582 reference "sub:Color-for-Paragraphs"
28583
28584 \end_inset
28585
28586 .
28587 \end_layout
28588
28589 \begin_layout Standard
28590 \begin_inset Note Greyedout
28591 status open
28592
28593 \begin_layout Plain Layout
28594
28595 \series bold
28596 Note:
28597 \series default
28598  You cannot have floats or margin notes inside minipages but minipages can
28599  be used inside tables, floats, and other boxes.
28600 \end_layout
28601
28602 \end_inset
28603
28604
28605 \end_layout
28606
28607 \begin_layout Section
28608 Parboxes
28609 \begin_inset CommandInset label
28610 LatexCommand label
28611 name "sec:Parboxes"
28612
28613 \end_inset
28614
28615
28616 \begin_inset Index
28617 status collapsed
28618
28619 \begin_layout Plain Layout
28620 Boxes ! Parboxes
28621 \end_layout
28622
28623 \end_inset
28624
28625
28626 \end_layout
28627
28628 \begin_layout Standard
28629 Parboxes are very similar to minipages with the difference that they cannot
28630  have footnotes.
28631  The main difference to minipages is that minipages are in contrary to parboxes
28632  no real boxes but LaTeX-environments.
28633 \end_layout
28634
28635 \begin_layout Standard
28636 \align center
28637 \begin_inset Box Frameless
28638 position "t"
28639 hor_pos "c"
28640 has_inner_box 1
28641 inner_pos "t"
28642 use_parbox 1
28643 width "33col%"
28644 special "none"
28645 height "1in"
28646 height_special "totalheight"
28647 status collapsed
28648
28649 \begin_layout Plain Layout
28650 This a text within a parbox.
28651  This a text within a parbox.
28652 \end_layout
28653
28654 \begin_layout Plain Layout
28655 This footnote won't appear:
28656 \begin_inset Foot
28657 status collapsed
28658
28659 \begin_layout Plain Layout
28660 This footnote is inside a parbox and will therefore not appear.
28661 \end_layout
28662
28663 \end_inset
28664
28665
28666 \end_layout
28667
28668 \end_inset
28669
28670
28671 \end_layout
28672
28673 \begin_layout Section
28674 Boxes for Words and Characters
28675 \begin_inset Index
28676 status collapsed
28677
28678 \begin_layout Plain Layout
28679 Boxes ! for Characters
28680 \end_layout
28681
28682 \end_inset
28683
28684
28685 \end_layout
28686
28687 \begin_layout Subsection
28688 Prevent Hyphenation
28689 \begin_inset CommandInset label
28690 LatexCommand label
28691 name "sec:Prevent-Hyphenation"
28692
28693 \end_inset
28694
28695
28696 \begin_inset Index
28697 status collapsed
28698
28699 \begin_layout Plain Layout
28700 Boxes ! to Prevent Hyphenation
28701 \end_layout
28702
28703 \end_inset
28704
28705
28706 \end_layout
28707
28708 \begin_layout Standard
28709 You can use a special kind of boxes to prevent words or text to be hyphenated.
28710 \begin_inset Newline newline
28711 \end_inset
28712
28713 Here is an example text:
28714 \end_layout
28715
28716 \begin_layout Standard
28717 This line is an example to show how you can prevent the hyphenation of 
28718 \begin_inset Quotes eld
28719 \end_inset
28720
28721 veryverylongword
28722 \begin_inset Quotes erd
28723 \end_inset
28724
28725 .
28726 \end_layout
28727
28728 \begin_layout Standard
28729 To prevent the hyphenation of the word 
28730 \begin_inset Quotes eld
28731 \end_inset
28732
28733 veryverylongword
28734 \begin_inset Quotes erd
28735 \end_inset
28736
28737 , add the command
28738 \end_layout
28739
28740 \begin_layout Standard
28741
28742 \series bold
28743
28744 \backslash
28745 mbox{
28746 \end_layout
28747
28748 \begin_layout Standard
28749 in TeX-Code before the word.
28750  Behind the word insert a closing brace 
28751 \begin_inset Quotes eld
28752 \end_inset
28753
28754
28755 \series bold
28756 }
28757 \series default
28758
28759 \begin_inset Quotes erd
28760 \end_inset
28761
28762  in TeX-Code.
28763 \end_layout
28764
28765 \begin_layout Standard
28766 This is the result:
28767 \end_layout
28768
28769 \begin_layout Standard
28770 This line is an example to show how you can prevent the hyphenation of 
28771 \begin_inset ERT
28772 status collapsed
28773
28774 \begin_layout Plain Layout
28775
28776
28777 \backslash
28778 mbox{
28779 \end_layout
28780
28781 \end_inset
28782
28783
28784 \begin_inset Quotes eld
28785 \end_inset
28786
28787 veryverylongword
28788 \begin_inset Quotes erd
28789 \end_inset
28790
28791 .
28792 \begin_inset ERT
28793 status collapsed
28794
28795 \begin_layout Plain Layout
28796
28797 }
28798 \end_layout
28799
28800 \end_inset
28801
28802
28803 \end_layout
28804
28805 \begin_layout Standard
28806 You can alternatively set the command 
28807 \begin_inset Quotes eld
28808 \end_inset
28809
28810
28811 \series bold
28812
28813 \backslash
28814 -
28815 \series default
28816
28817 \begin_inset Quotes grd
28818 \end_inset
28819
28820  as TeX-Code directly before the word:
28821 \end_layout
28822
28823 \begin_layout Standard
28824 This line is an example to show how you can prevent the hyphenation of 
28825 \begin_inset Quotes eld
28826 \end_inset
28827
28828
28829 \begin_inset ERT
28830 status collapsed
28831
28832 \begin_layout Plain Layout
28833
28834
28835 \backslash
28836 -
28837 \end_layout
28838
28839 \end_inset
28840
28841 veryverylongword
28842 \begin_inset Quotes erd
28843 \end_inset
28844
28845 .
28846 \end_layout
28847
28848 \begin_layout Standard
28849 Of course the word now protrudes over the side margin.
28850  To avoid this, add via the menu 
28851 \family sans
28852 Insert\SpecialChar \menuseparator
28853 Special
28854 \begin_inset space ~
28855 \end_inset
28856
28857 Formatting\SpecialChar \menuseparator
28858 Line
28859 \begin_inset space ~
28860 \end_inset
28861
28862 Break
28863 \family default
28864  (shortcut 
28865 \begin_inset Info
28866 type  "shortcut"
28867 arg   "newline-insert newline"
28868 \end_inset
28869
28870 ) a line break before the word:
28871 \end_layout
28872
28873 \begin_layout Standard
28874 This line is an example to show how you can prevent the hyphenation of 
28875 \begin_inset Newline newline
28876 \end_inset
28877
28878
28879 \begin_inset ERT
28880 status collapsed
28881
28882 \begin_layout Plain Layout
28883
28884
28885 \backslash
28886 mbox{
28887 \end_layout
28888
28889 \end_inset
28890
28891
28892 \begin_inset Quotes eld
28893 \end_inset
28894
28895 veryverylongword
28896 \begin_inset Quotes erd
28897 \end_inset
28898
28899 .
28900 \begin_inset ERT
28901 status collapsed
28902
28903 \begin_layout Plain Layout
28904
28905 }
28906 \end_layout
28907
28908 \end_inset
28909
28910
28911 \end_layout
28912
28913 \begin_layout Subsection
28914 Vertical Alignment
28915 \begin_inset CommandInset label
28916 LatexCommand label
28917 name "sub:Vertical-Alignment"
28918
28919 \end_inset
28920
28921
28922 \begin_inset Index
28923 status collapsed
28924
28925 \begin_layout Plain Layout
28926 Boxes ! for Vertical Alignment
28927 \end_layout
28928
28929 \end_inset
28930
28931
28932 \begin_inset Index
28933 status collapsed
28934
28935 \begin_layout Plain Layout
28936 Boxes ! Raiseboxes
28937 \end_layout
28938
28939 \end_inset
28940
28941
28942 \end_layout
28943
28944 \begin_layout Standard
28945 With the help of the command 
28946 \series bold
28947
28948 \backslash
28949 raisebox
28950 \series default
28951  you can align words, characters or other boxes vertically to the surrounding
28952  text.
28953  
28954 \series bold
28955
28956 \backslash
28957 raisebox
28958 \series default
28959  is used with the following scheme:
28960 \end_layout
28961
28962 \begin_layout Standard
28963
28964 \series bold
28965
28966 \backslash
28967 raisebox{lift}[height][depth]{box content}
28968 \end_layout
28969
28970 \begin_layout Standard
28971 The lift can be a positive value to raise the box or a negative value to
28972  lower the box.
28973 \end_layout
28974
28975 \begin_layout Standard
28976 To align for example the word 
28977 \begin_inset Quotes eld
28978 \end_inset
28979
28980 preventing
28981 \begin_inset Quotes erd
28982 \end_inset
28983
28984  so that the bottom of the 
28985 \begin_inset Quotes eld
28986 \end_inset
28987
28988 deepest
28989 \begin_inset Quotes erd
28990 \end_inset
28991
28992  character 
28993 \begin_inset Quotes eld
28994 \end_inset
28995
28996 p
28997 \begin_inset Quotes erd
28998 \end_inset
28999
29000  is at the baseline, insert the command
29001 \end_layout
29002
29003 \begin_layout Standard
29004
29005 \series bold
29006
29007 \backslash
29008 raisebox{
29009 \backslash
29010 depth}{
29011 \end_layout
29012
29013 \begin_layout Standard
29014 in TeX-Code before the word.
29015  Behind the word insert a closing brace 
29016 \begin_inset Quotes eld
29017 \end_inset
29018
29019
29020 \series bold
29021 }
29022 \series default
29023
29024 \begin_inset Quotes erd
29025 \end_inset
29026
29027  in TeX-Code.
29028 \begin_inset Newline newline
29029 \end_inset
29030
29031 This is the result:
29032 \end_layout
29033
29034 \begin_layout Standard
29035 This is a text line with the word 
29036 \begin_inset ERT
29037 status collapsed
29038
29039 \begin_layout Plain Layout
29040
29041
29042 \backslash
29043 raisebox{
29044 \backslash
29045 depth}{
29046 \end_layout
29047
29048 \end_inset
29049
29050
29051 \begin_inset Quotes eld
29052 \end_inset
29053
29054 preventing
29055 \begin_inset Quotes erd
29056 \end_inset
29057
29058
29059 \begin_inset ERT
29060 status collapsed
29061
29062 \begin_layout Plain Layout
29063
29064 }
29065 \end_layout
29066
29067 \end_inset
29068
29069  as raised word.
29070 \end_layout
29071
29072 \begin_layout Standard
29073 \begin_inset VSpace bigskip
29074 \end_inset
29075
29076 When you raise or lower characters in a line, the line distance will be
29077  spread:
29078 \end_layout
29079
29080 \begin_layout Standard
29081 This is a text line with the word 
29082 \begin_inset ERT
29083 status collapsed
29084
29085 \begin_layout Plain Layout
29086
29087
29088 \backslash
29089 raisebox{-
29090 \backslash
29091 depth}{
29092 \end_layout
29093
29094 \end_inset
29095
29096
29097 \begin_inset Quotes eld
29098 \end_inset
29099
29100 preventing
29101 \begin_inset Quotes erd
29102 \end_inset
29103
29104
29105 \begin_inset ERT
29106 status collapsed
29107
29108 \begin_layout Plain Layout
29109
29110 }
29111 \end_layout
29112
29113 \end_inset
29114
29115  as lowered word.
29116 \begin_inset Newline newline
29117 \end_inset
29118
29119 This is a text line with the word 
29120 \begin_inset ERT
29121 status collapsed
29122
29123 \begin_layout Plain Layout
29124
29125
29126 \backslash
29127 raisebox{0.5cm}{
29128 \end_layout
29129
29130 \end_inset
29131
29132
29133 \begin_inset Quotes eld
29134 \end_inset
29135
29136 testing
29137 \begin_inset Quotes erd
29138 \end_inset
29139
29140
29141 \begin_inset ERT
29142 status collapsed
29143
29144 \begin_layout Plain Layout
29145
29146 }
29147 \end_layout
29148
29149 \end_inset
29150
29151  as raised word.
29152 \end_layout
29153
29154 \begin_layout Standard
29155 If you want to prevent this for a certain reason, set the box height to
29156  a zero value.
29157  For example use
29158 \end_layout
29159
29160 \begin_layout Standard
29161
29162 \series bold
29163
29164 \backslash
29165 raisebox{-
29166 \backslash
29167 depth}[0pt]{
29168 \end_layout
29169
29170 \begin_layout Standard
29171 This is a text line with the word 
29172 \begin_inset ERT
29173 status collapsed
29174
29175 \begin_layout Plain Layout
29176
29177
29178 \backslash
29179 raisebox{-
29180 \backslash
29181 depth}[0pt]{
29182 \end_layout
29183
29184 \end_inset
29185
29186
29187 \begin_inset Quotes eld
29188 \end_inset
29189
29190 preventing
29191 \begin_inset Quotes erd
29192 \end_inset
29193
29194
29195 \begin_inset ERT
29196 status collapsed
29197
29198 \begin_layout Plain Layout
29199
29200 }
29201 \end_layout
29202
29203 \end_inset
29204
29205  as lowered word.
29206 \begin_inset Newline newline
29207 \end_inset
29208
29209 This is a text line with the word 
29210 \begin_inset ERT
29211 status collapsed
29212
29213 \begin_layout Plain Layout
29214
29215
29216 \backslash
29217 raisebox{0.5cm}[0pt]{
29218 \end_layout
29219
29220 \end_inset
29221
29222
29223 \begin_inset Quotes eld
29224 \end_inset
29225
29226 testing
29227 \begin_inset Quotes erd
29228 \end_inset
29229
29230
29231 \begin_inset ERT
29232 status collapsed
29233
29234 \begin_layout Plain Layout
29235
29236 }
29237 \end_layout
29238
29239 \end_inset
29240
29241  as raised word.
29242 \end_layout
29243
29244 \begin_layout Section
29245 Colored Boxes
29246 \begin_inset CommandInset label
29247 LatexCommand label
29248 name "sec:Colored-Boxes"
29249
29250 \end_inset
29251
29252
29253 \begin_inset Index
29254 status collapsed
29255
29256 \begin_layout Plain Layout
29257 Boxes ! Color
29258 \end_layout
29259
29260 \end_inset
29261
29262
29263 \end_layout
29264
29265 \begin_layout Subsection
29266 Color for Text
29267 \begin_inset Index
29268 status collapsed
29269
29270 \begin_layout Plain Layout
29271 Color ! for Text
29272 \end_layout
29273
29274 \end_inset
29275
29276
29277 \end_layout
29278
29279 \begin_layout Standard
29280 To color the background of text the text must be put into a so called 
29281 \begin_inset Quotes eld
29282 \end_inset
29283
29284 colorbox
29285 \begin_inset Quotes erd
29286 \end_inset
29287
29288 .
29289  This requires that the LaTeX-package 
29290 \series bold
29291 color
29292 \series default
29293
29294 \begin_inset Index
29295 status collapsed
29296
29297 \begin_layout Plain Layout
29298 LaTeX-packages ! color
29299 \end_layout
29300
29301 \end_inset
29302
29303  is loaded in the document preamble with the command
29304 \end_layout
29305
29306 \begin_layout Standard
29307
29308 \series bold
29309
29310 \backslash
29311 @ifundefined{textcolor}
29312 \begin_inset Newline newline
29313 \end_inset
29314
29315
29316 \begin_inset ERT
29317 status collapsed
29318
29319 \begin_layout Plain Layout
29320
29321
29322 \backslash
29323 hphantom{ }
29324 \end_layout
29325
29326 \end_inset
29327
29328 {
29329 \backslash
29330 usepackage{color}}{}
29331 \end_layout
29332
29333 \begin_layout Standard
29334 The package 
29335 \series bold
29336 color
29337 \series default
29338  will be loaded automatically by LyX when you color text
29339 \begin_inset Foot
29340 status collapsed
29341
29342 \begin_layout Plain Layout
29343 To avoid that it is loaded twice the command 
29344 \series bold
29345
29346 \backslash
29347 @ifundefined
29348 \series default
29349  is used.
29350 \end_layout
29351
29352 \end_inset
29353
29354 .
29355 \end_layout
29356
29357 \begin_layout Standard
29358 \begin_inset VSpace medskip
29359 \end_inset
29360
29361 Colorboxes are created with the command 
29362 \series bold
29363
29364 \backslash
29365 colorbox
29366 \series default
29367 .
29368  This will be used with the following scheme:
29369 \end_layout
29370
29371 \begin_layout Standard
29372
29373 \series bold
29374
29375 \backslash
29376 colorbox{color}{box content}
29377 \end_layout
29378
29379 \begin_layout Standard
29380 The box content can also be a box and colorboxes can also be within other
29381  boxes.
29382 \end_layout
29383
29384 \begin_layout Standard
29385 The following colors are predefined:
29386 \begin_inset Newline newline
29387 \end_inset
29388
29389
29390 \family sans
29391 black
29392 \family default
29393
29394 \family sans
29395 blue
29396 \family default
29397
29398 \family sans
29399 cyan
29400 \family default
29401 \series bold
29402 ,
29403 \series default
29404  
29405 \family sans
29406 green
29407 \family default
29408
29409 \family sans
29410 magenta
29411 \family default
29412
29413 \family sans
29414 red
29415 \family default
29416
29417 \family sans
29418 white
29419 \family default
29420 , and 
29421 \family sans
29422 yellow
29423 \family default
29424 .
29425 \begin_inset Newline newline
29426 \end_inset
29427
29428 You can also define your own color as described in section
29429 \begin_inset space ~
29430 \end_inset
29431
29432
29433 \begin_inset CommandInset ref
29434 LatexCommand ref
29435 reference "sec:Colored-Tables"
29436
29437 \end_inset
29438
29439 .
29440 \end_layout
29441
29442 \begin_layout Standard
29443 To have e.
29444 \begin_inset space \thinspace{}
29445 \end_inset
29446
29447 g.
29448 \begin_inset space \space{}
29449 \end_inset
29450
29451 a red background for a word, insert the command
29452 \end_layout
29453
29454 \begin_layout Standard
29455
29456 \series bold
29457
29458 \backslash
29459 colorbox{red}{
29460 \end_layout
29461
29462 \begin_layout Standard
29463 before the word in TeX-Code.
29464  Behind the word insert a closing brace 
29465 \begin_inset Quotes eld
29466 \end_inset
29467
29468
29469 \series bold
29470 }
29471 \series default
29472
29473 \begin_inset Quotes erd
29474 \end_inset
29475
29476  in TeX-Code.
29477 \begin_inset Newline newline
29478 \end_inset
29479
29480 This is the result:
29481 \end_layout
29482
29483 \begin_layout Standard
29484 This is a line where the word 
29485 \begin_inset ERT
29486 status collapsed
29487
29488 \begin_layout Plain Layout
29489
29490
29491 \backslash
29492 colorbox{red}{
29493 \end_layout
29494
29495 \end_inset
29496
29497
29498 \begin_inset Quotes eld
29499 \end_inset
29500
29501 Attention!
29502 \begin_inset Quotes erd
29503 \end_inset
29504
29505
29506 \begin_inset ERT
29507 status collapsed
29508
29509 \begin_layout Plain Layout
29510
29511 }
29512 \end_layout
29513
29514 \end_inset
29515
29516  has a red background.
29517 \end_layout
29518
29519 \begin_layout Standard
29520 \begin_inset VSpace bigskip
29521 \end_inset
29522
29523 If you would have the box frame in a different color, you can use the command
29524  
29525 \series bold
29526
29527 \backslash
29528 fcolorbox
29529 \series default
29530  with the following scheme:
29531 \end_layout
29532
29533 \begin_layout Standard
29534
29535 \series bold
29536
29537 \backslash
29538 fcolorbox{frame color}{box color}{box content}
29539 \end_layout
29540
29541 \begin_layout Standard
29542
29543 \series bold
29544
29545 \backslash
29546 fcolorbox
29547 \series default
29548  is an extension to 
29549 \series bold
29550
29551 \backslash
29552 colorbox
29553 \series default
29554 .
29555  The frame thickness and the space between the frame and the box content
29556  can be adjusted with the lengths 
29557 \series bold
29558
29559 \backslash
29560 fboxrule
29561 \series default
29562  and 
29563 \series bold
29564
29565 \backslash
29566 fboxsep
29567 \series default
29568 , respectively, as described in section
29569 \begin_inset space ~
29570 \end_inset
29571
29572
29573 \begin_inset CommandInset ref
29574 LatexCommand ref
29575 reference "sec:Decoration"
29576
29577 \end_inset
29578
29579 .
29580 \end_layout
29581
29582 \begin_layout Standard
29583 For the following example the command
29584 \end_layout
29585
29586 \begin_layout Standard
29587
29588 \series bold
29589
29590 \backslash
29591 fcolorbox{cyan}{magenta}{
29592 \end_layout
29593
29594 \begin_layout Standard
29595 was used.
29596 \end_layout
29597
29598 \begin_layout Standard
29599 Here is an example where the frame line thickness was set to 1
29600 \begin_inset space \thinspace{}
29601 \end_inset
29602
29603 mm:
29604 \begin_inset Newline newline
29605 \end_inset
29606
29607
29608 \begin_inset ERT
29609 status collapsed
29610
29611 \begin_layout Plain Layout
29612
29613
29614 \backslash
29615 fboxrule 1mm 
29616 \backslash
29617 fboxsep 1mm
29618 \end_layout
29619
29620 \end_inset
29621
29622
29623 \begin_inset ERT
29624 status collapsed
29625
29626 \begin_layout Plain Layout
29627
29628
29629 \backslash
29630 fcolorbox{cyan}{magenta}{
29631 \end_layout
29632
29633 \end_inset
29634
29635 This is text within a colored, framed box.
29636 \begin_inset ERT
29637 status collapsed
29638
29639 \begin_layout Plain Layout
29640
29641 }
29642 \end_layout
29643
29644 \end_inset
29645
29646
29647 \end_layout
29648
29649 \begin_layout Standard
29650 \begin_inset VSpace bigskip
29651 \end_inset
29652
29653 Of course you can also have colored text inside a colorbox:
29654 \begin_inset Newline newline
29655 \end_inset
29656
29657
29658 \begin_inset ERT
29659 status collapsed
29660
29661 \begin_layout Plain Layout
29662
29663
29664 \backslash
29665 fcolorbox{cyan}{magenta}{
29666 \end_layout
29667
29668 \end_inset
29669
29670
29671 \color yellow
29672 This is colored text within a colored, framed box.
29673 \color none
29674
29675 \begin_inset ERT
29676 status collapsed
29677
29678 \begin_layout Plain Layout
29679
29680 }
29681 \end_layout
29682
29683 \end_inset
29684
29685
29686 \begin_inset ERT
29687 status collapsed
29688
29689 \begin_layout Plain Layout
29690
29691
29692 \backslash
29693 fboxrule 0.4pt 
29694 \backslash
29695 fboxsep 3pt
29696 \end_layout
29697
29698 \end_inset
29699
29700
29701 \end_layout
29702
29703 \begin_layout Standard
29704
29705 \series bold
29706 \begin_inset VSpace medskip
29707 \end_inset
29708
29709
29710 \end_layout
29711
29712 \begin_layout Standard
29713 \begin_inset Note Greyedout
29714 status open
29715
29716 \begin_layout Plain Layout
29717
29718 \series bold
29719 Note:
29720 \series default
29721  Text in colorboxes cannot have line breaks.
29722  To color multiple text lines or paragraphs, use a box inside a colorbox
29723  as described in the following.
29724 \end_layout
29725
29726 \end_inset
29727
29728
29729 \end_layout
29730
29731 \begin_layout Subsection
29732 Color for Paragraphs
29733 \begin_inset CommandInset label
29734 LatexCommand label
29735 name "sub:Color-for-Paragraphs"
29736
29737 \end_inset
29738
29739
29740 \begin_inset Index
29741 status collapsed
29742
29743 \begin_layout Plain Layout
29744 Color ! for Paragraphs
29745 \end_layout
29746
29747 \end_inset
29748
29749
29750 \end_layout
29751
29752 \begin_layout Standard
29753 To set the background color for more than one text line, put the text into
29754  a minipage.
29755  Before the minipage insert the 
29756 \series bold
29757
29758 \backslash
29759 colorbox
29760 \series default
29761  command
29762 \end_layout
29763
29764 \begin_layout Standard
29765
29766 \series bold
29767
29768 \backslash
29769 colorbox{color}{
29770 \end_layout
29771
29772 \begin_layout Standard
29773 in TeX-Code.
29774  Behind the minipage insert a closing brace 
29775 \begin_inset Quotes eld
29776 \end_inset
29777
29778
29779 \series bold
29780 }
29781 \series default
29782
29783 \begin_inset Quotes erd
29784 \end_inset
29785
29786  in TeX-Code.
29787 \end_layout
29788
29789 \begin_layout Standard
29790 \begin_inset ERT
29791 status collapsed
29792
29793 \begin_layout Plain Layout
29794
29795
29796 \backslash
29797 colorbox{lightgrey}{
29798 \end_layout
29799
29800 \end_inset
29801
29802
29803 \begin_inset Box Frameless
29804 position "t"
29805 hor_pos "c"
29806 has_inner_box 1
29807 inner_pos "t"
29808 use_parbox 0
29809 width "100col%"
29810 special "none"
29811 height "1in"
29812 height_special "totalheight"
29813 status collapsed
29814
29815 \begin_layout Plain Layout
29816 This is text with background color.
29817  This is text with background color.
29818 \end_layout
29819
29820 \begin_layout Plain Layout
29821 \begin_inset VSpace defskip
29822 \end_inset
29823
29824 The text can have footnotes
29825 \begin_inset Foot
29826 status collapsed
29827
29828 \begin_layout Plain Layout
29829 Another example footnote
29830 \end_layout
29831
29832 \end_inset
29833
29834  and can include tables and figures.
29835 \end_layout
29836
29837 \begin_layout Plain Layout
29838 \align center
29839 \begin_inset Tabular
29840 <lyxtabular version="3" rows="3" columns="3">
29841 <features>
29842 <column alignment="center" valignment="top" width="0">
29843 <column alignment="center" valignment="top" width="0">
29844 <column alignment="center" valignment="top" width="0">
29845 <row>
29846 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29847 \begin_inset Text
29848
29849 \begin_layout Plain Layout
29850 a
29851 \end_layout
29852
29853 \end_inset
29854 </cell>
29855 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29856 \begin_inset Text
29857
29858 \begin_layout Plain Layout
29859 !
29860 \end_layout
29861
29862 \end_inset
29863 </cell>
29864 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29865 \begin_inset Text
29866
29867 \begin_layout Plain Layout
29868 3
29869 \end_layout
29870
29871 \end_inset
29872 </cell>
29873 </row>
29874 <row>
29875 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29876 \begin_inset Text
29877
29878 \begin_layout Plain Layout
29879 <
29880 \end_layout
29881
29882 \end_inset
29883 </cell>
29884 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29885 \begin_inset Text
29886
29887 \begin_layout Plain Layout
29888 b2
29889 \begin_inset Quotes erd
29890 \end_inset
29891
29892 |
29893 \end_layout
29894
29895 \end_inset
29896 </cell>
29897 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29898 \begin_inset Text
29899
29900 \begin_layout Plain Layout
29901 >
29902 \end_layout
29903
29904 \end_inset
29905 </cell>
29906 </row>
29907 <row>
29908 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29909 \begin_inset Text
29910
29911 \begin_layout Plain Layout
29912 1
29913 \end_layout
29914
29915 \end_inset
29916 </cell>
29917 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29918 \begin_inset Text
29919
29920 \begin_layout Plain Layout
29921 §
29922 \end_layout
29923
29924 \end_inset
29925 </cell>
29926 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29927 \begin_inset Text
29928
29929 \begin_layout Plain Layout
29930 c
29931 \end_layout
29932
29933 \end_inset
29934 </cell>
29935 </row>
29936 </lyxtabular>
29937
29938 \end_inset
29939
29940
29941 \end_layout
29942
29943 \end_inset
29944
29945
29946 \begin_inset ERT
29947 status collapsed
29948
29949 \begin_layout Plain Layout
29950
29951 }
29952 \end_layout
29953
29954 \end_inset
29955
29956
29957 \end_layout
29958
29959 \begin_layout Section
29960 Rotated and Scaled Boxes
29961 \end_layout
29962
29963 \begin_layout Standard
29964 To use the the commands described in this section, the LaTeX-package 
29965 \series bold
29966 graphicx
29967 \series default
29968
29969 \begin_inset Index
29970 status collapsed
29971
29972 \begin_layout Plain Layout
29973 LaTeX-packages ! graphicx
29974 \end_layout
29975
29976 \end_inset
29977
29978  needs to be loaded in the document preamble with the command
29979 \end_layout
29980
29981 \begin_layout Standard
29982
29983 \series bold
29984
29985 \backslash
29986 @ifundefined{rotatebox}
29987 \begin_inset Newline newline
29988 \end_inset
29989
29990
29991 \begin_inset ERT
29992 status collapsed
29993
29994 \begin_layout Plain Layout
29995
29996
29997 \backslash
29998 hphantom{ }
29999 \end_layout
30000
30001 \end_inset
30002
30003 {
30004 \backslash
30005 usepackage{graphicx}}{}
30006 \end_layout
30007
30008 \begin_layout Standard
30009 \begin_inset Note Greyedout
30010 status open
30011
30012 \begin_layout Plain Layout
30013
30014 \series bold
30015 Note:
30016 \series default
30017  Some DVI-viewers can't display rotated or scaled material.
30018 \end_layout
30019
30020 \end_inset
30021
30022
30023 \end_layout
30024
30025 \begin_layout Standard
30026 \begin_inset Note Greyedout
30027 status open
30028
30029 \begin_layout Plain Layout
30030
30031 \series bold
30032 Note:
30033 \series default
30034  Floats mustn't be inside a rotated or scaled box.
30035 \end_layout
30036
30037 \end_inset
30038
30039
30040 \end_layout
30041
30042 \begin_layout Subsection
30043 Rotated Boxes
30044 \begin_inset Index
30045 status collapsed
30046
30047 \begin_layout Plain Layout
30048 Boxes ! rotated
30049 \end_layout
30050
30051 \end_inset
30052
30053
30054 \begin_inset Index
30055 status collapsed
30056
30057 \begin_layout Plain Layout
30058 Rotated material
30059 \end_layout
30060
30061 \end_inset
30062
30063
30064 \begin_inset Index
30065 status collapsed
30066
30067 \begin_layout Plain Layout
30068 Figures ! rotated
30069 \end_layout
30070
30071 \end_inset
30072
30073
30074 \begin_inset Index
30075 status collapsed
30076
30077 \begin_layout Plain Layout
30078 Table Customization ! Rotating
30079 \end_layout
30080
30081 \end_inset
30082
30083
30084 \end_layout
30085
30086 \begin_layout Standard
30087 To rotate material, you can put it into a rotated box.
30088  Such a box is created using the command 
30089 \series bold
30090
30091 \backslash
30092 rotatebox
30093 \series default
30094  in TeX-Code with the following scheme:
30095 \end_layout
30096
30097 \begin_layout Standard
30098
30099 \series bold
30100
30101 \backslash
30102 rotatebox[rotation origin]{rotation angle}{box content}
30103 \end_layout
30104
30105 \begin_layout Standard
30106 The rotation origin is specified in the form 
30107 \series bold
30108 origin=position
30109 \series default
30110 .
30111  The following positions are possible: 
30112 \emph on
30113 c
30114 \emph default
30115  (center), 
30116 \emph on
30117 l
30118 \emph default
30119  (left), 
30120 \emph on
30121 r
30122 \emph default
30123  (right), 
30124 \emph on
30125 b
30126 \emph default
30127  (bottom), 
30128 \emph on
30129 t
30130 \emph default
30131  (top), and also expedient combinations of the four base positions.
30132  For example 
30133 \emph on
30134 lt
30135 \emph default
30136  means, that the rotation origin is at the top left corner of the box.
30137  When no rotation origin is specified, the position 
30138 \emph on
30139 l
30140 \emph default
30141  will be used.
30142  The rotation angle is a number that can be negative that specifies the
30143  angle in degrees.
30144  The rotation direction is counterclockwise.
30145 \end_layout
30146
30147 \begin_layout Standard
30148 In the following example the command 
30149 \series bold
30150
30151 \backslash
30152 rotatebox[origin=c]{60}{
30153 \series default
30154  was inserted as TeX-Code before the text 
30155 \begin_inset Quotes eld
30156 \end_inset
30157
30158 with rotated
30159 \begin_inset Quotes erd
30160 \end_inset
30161
30162 ; after the text the box was closed by a closing brace 
30163 \series bold
30164 }
30165 \series default
30166  in TeX-Code.
30167 \end_layout
30168
30169 \begin_layout Standard
30170 This is a line 
30171 \begin_inset ERT
30172 status collapsed
30173
30174 \begin_layout Plain Layout
30175
30176
30177 \backslash
30178 rotatebox[origin=c]{60}{
30179 \end_layout
30180
30181 \end_inset
30182
30183 with rotated
30184 \begin_inset ERT
30185 status collapsed
30186
30187 \begin_layout Plain Layout
30188
30189 }
30190 \end_layout
30191
30192 \end_inset
30193
30194  text.
30195 \end_layout
30196
30197 \begin_layout Standard
30198 The box content can also be another box or an inline formula:
30199 \end_layout
30200
30201 \begin_layout Standard
30202 This is a line
30203 \begin_inset ERT
30204 status collapsed
30205
30206 \begin_layout Plain Layout
30207
30208
30209 \backslash
30210 rotatebox[origin=r]{-60}{
30211 \end_layout
30212
30213 \end_inset
30214
30215
30216 \begin_inset Box Doublebox
30217 position "c"
30218 hor_pos "c"
30219 has_inner_box 0
30220 inner_pos "c"
30221 use_parbox 0
30222 width "1in"
30223 special "width"
30224 height "1in"
30225 height_special "totalheight"
30226 status collapsed
30227
30228 \begin_layout Plain Layout
30229 with rotated
30230 \end_layout
30231
30232 \end_inset
30233
30234
30235 \begin_inset ERT
30236 status collapsed
30237
30238 \begin_layout Plain Layout
30239
30240 }
30241 \end_layout
30242
30243 \end_inset
30244
30245  framed text 
30246 \begin_inset ERT
30247 status collapsed
30248
30249 \begin_layout Plain Layout
30250
30251
30252 \backslash
30253 rotatebox[origin=lb]{60}{
30254 \end_layout
30255
30256 \end_inset
30257
30258
30259 \begin_inset Formula $\int A\,\mathrm{d}x=B$
30260 \end_inset
30261
30262
30263 \begin_inset ERT
30264 status collapsed
30265
30266 \begin_layout Plain Layout
30267
30268 }
30269 \end_layout
30270
30271 \end_inset
30272
30273  and a formula.
30274 \end_layout
30275
30276 \begin_layout Standard
30277 or an image or table:
30278 \end_layout
30279
30280 \begin_layout Standard
30281 This is a line
30282 \begin_inset ERT
30283 status collapsed
30284
30285 \begin_layout Plain Layout
30286
30287
30288 \backslash
30289 rotatebox[origin=lb]{90}{
30290 \end_layout
30291
30292 \end_inset
30293
30294
30295 \begin_inset Graphics
30296         filename clipart/platypus.eps
30297         lyxscale 50
30298         width 25col%
30299
30300 \end_inset
30301
30302
30303 \begin_inset ERT
30304 status collapsed
30305
30306 \begin_layout Plain Layout
30307
30308 }
30309 \end_layout
30310
30311 \end_inset
30312
30313  with a rotated image 
30314 \begin_inset ERT
30315 status collapsed
30316
30317 \begin_layout Plain Layout
30318
30319
30320 \backslash
30321 rotatebox[origin=l]{-90}{
30322 \end_layout
30323
30324 \end_inset
30325
30326
30327 \begin_inset Tabular
30328 <lyxtabular version="3" rows="2" columns="2">
30329 <features>
30330 <column alignment="center" valignment="top" width="0">
30331 <column alignment="center" valignment="top" width="0">
30332 <row>
30333 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30334 \begin_inset Text
30335
30336 \begin_layout Plain Layout
30337 q
30338 \end_layout
30339
30340 \end_inset
30341 </cell>
30342 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30343 \begin_inset Text
30344
30345 \begin_layout Plain Layout
30346 w
30347 \end_layout
30348
30349 \end_inset
30350 </cell>
30351 </row>
30352 <row>
30353 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30354 \begin_inset Text
30355
30356 \begin_layout Plain Layout
30357 e
30358 \end_layout
30359
30360 \end_inset
30361 </cell>
30362 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30363 \begin_inset Text
30364
30365 \begin_layout Plain Layout
30366 r
30367 \end_layout
30368
30369 \end_inset
30370 </cell>
30371 </row>
30372 </lyxtabular>
30373
30374 \end_inset
30375
30376
30377 \begin_inset ERT
30378 status collapsed
30379
30380 \begin_layout Plain Layout
30381
30382 }
30383 \end_layout
30384
30385 \end_inset
30386
30387  and table.
30388 \end_layout
30389
30390 \begin_layout Subsection
30391 Scaled Boxes
30392 \begin_inset Index
30393 status collapsed
30394
30395 \begin_layout Plain Layout
30396 Boxes ! scaled
30397 \end_layout
30398
30399 \end_inset
30400
30401
30402 \begin_inset Index
30403 status collapsed
30404
30405 \begin_layout Plain Layout
30406 Scaled material
30407 \end_layout
30408
30409 \end_inset
30410
30411
30412 \begin_inset Index
30413 status collapsed
30414
30415 \begin_layout Plain Layout
30416 Figures ! scaled
30417 \end_layout
30418
30419 \end_inset
30420
30421
30422 \begin_inset Index
30423 status collapsed
30424
30425 \begin_layout Plain Layout
30426 Table Customization ! Scaling
30427 \end_layout
30428
30429 \end_inset
30430
30431
30432 \end_layout
30433
30434 \begin_layout Standard
30435 To scale material the commands 
30436 \series bold
30437
30438 \backslash
30439 scalebox
30440 \series default
30441  and 
30442 \series bold
30443
30444 \backslash
30445 resizebox
30446 \series default
30447  can be used as TeX-Code.
30448 \end_layout
30449
30450 \begin_layout Standard
30451
30452 \series bold
30453
30454 \backslash
30455 scalebox
30456 \series default
30457  is used with the following scheme:
30458 \end_layout
30459
30460 \begin_layout Standard
30461
30462 \series bold
30463
30464 \backslash
30465 scalebox{horizontal}[vertical]{box content}
30466 \end_layout
30467
30468 \begin_layout Standard
30469 Horizontal and vertical are the corresponding scaling factors.
30470  If no vertical scaling factor is given, the horizontal factor will also
30471  be used as vertical one.
30472 \end_layout
30473
30474 \begin_layout Standard
30475 The command 
30476 \series bold
30477
30478 \backslash
30479 scalebox{2}{Hello}
30480 \series default
30481  creates for example a double size 
30482 \begin_inset ERT
30483 status collapsed
30484
30485 \begin_layout Plain Layout
30486
30487
30488 \backslash
30489 scalebox{2}{
30490 \end_layout
30491
30492 \end_inset
30493
30494 Hello
30495 \begin_inset ERT
30496 status collapsed
30497
30498 \begin_layout Plain Layout
30499
30500 }
30501 \end_layout
30502
30503 \end_inset
30504
30505 , compared to the document text size.
30506 \end_layout
30507
30508 \begin_layout Standard
30509
30510 \series bold
30511
30512 \backslash
30513 scalebox{2}[1]{Hello}
30514 \series default
30515  in contrary distorts the 
30516 \begin_inset ERT
30517 status collapsed
30518
30519 \begin_layout Plain Layout
30520
30521
30522 \backslash
30523 scalebox{2}[1]{
30524 \end_layout
30525
30526 \end_inset
30527
30528 Hello
30529 \begin_inset ERT
30530 status collapsed
30531
30532 \begin_layout Plain Layout
30533
30534 }
30535 \end_layout
30536
30537 \end_inset
30538
30539 .
30540 \end_layout
30541
30542 \begin_layout Standard
30543 If a the scaling factor is negative, the box content will be mirrored.
30544  Therefore the command 
30545 \series bold
30546
30547 \backslash
30548 scalebox{-1}[1]{Hello}
30549 \series default
30550  can be used to create mirror writing: 
30551 \begin_inset ERT
30552 status collapsed
30553
30554 \begin_layout Plain Layout
30555
30556
30557 \backslash
30558 scalebox{-1}[1]{
30559 \end_layout
30560
30561 \end_inset
30562
30563 Hello
30564 \begin_inset ERT
30565 status collapsed
30566
30567 \begin_layout Plain Layout
30568
30569 }
30570 \end_layout
30571
30572 \end_inset
30573
30574
30575 \end_layout
30576
30577 \begin_layout Standard
30578
30579 \series bold
30580
30581 \backslash
30582 scalebox{1}[-1]{Hello}
30583 \series default
30584  reflects the 
30585 \begin_inset ERT
30586 status collapsed
30587
30588 \begin_layout Plain Layout
30589
30590
30591 \backslash
30592 scalebox{1}[-1]{
30593 \end_layout
30594
30595 \end_inset
30596
30597 Hello
30598 \begin_inset ERT
30599 status collapsed
30600
30601 \begin_layout Plain Layout
30602
30603 }
30604 \end_layout
30605
30606 \end_inset
30607
30608  at the base line.
30609 \end_layout
30610
30611 \begin_layout Standard
30612 Equivalent to 
30613 \series bold
30614
30615 \backslash
30616 scalebox{-1}[1]{box content}
30617 \series default
30618  there exists the command
30619 \begin_inset Newline newline
30620 \end_inset
30621
30622
30623 \series bold
30624
30625 \backslash
30626 reflectbox{box content}
30627 \series default
30628 .
30629 \end_layout
30630
30631 \begin_layout Standard
30632 \begin_inset VSpace bigskip
30633 \end_inset
30634
30635 The command 
30636 \series bold
30637
30638 \backslash
30639 resizebox
30640 \series default
30641  is used to scale the box to a defined width and height.
30642  The command scheme is:
30643 \end_layout
30644
30645 \begin_layout Standard
30646
30647 \series bold
30648
30649 \backslash
30650 resizebox{width}{height}{box content}
30651 \end_layout
30652
30653 \begin_layout Standard
30654 Is one of the two command arguments given as exclamation mark 
30655 \series bold
30656 !
30657 \series default
30658 , the size is set so that the aspect ratio of the box content is kept.
30659 \end_layout
30660
30661 \begin_layout Standard
30662 The command 
30663 \series bold
30664
30665 \backslash
30666 resizebox{2cm}{1cm}{Hello}
30667 \series default
30668  produces: 
30669 \begin_inset ERT
30670 status collapsed
30671
30672 \begin_layout Plain Layout
30673
30674
30675 \backslash
30676 resizebox{2cm}{1cm}{
30677 \end_layout
30678
30679 \end_inset
30680
30681 Hello
30682 \begin_inset ERT
30683 status collapsed
30684
30685 \begin_layout Plain Layout
30686
30687 }
30688 \end_layout
30689
30690 \end_inset
30691
30692
30693 \begin_inset Newline newline
30694 \end_inset
30695
30696 The command 
30697 \series bold
30698
30699 \backslash
30700 resizebox{2cm}{!}{Hello}
30701 \series default
30702  produces: 
30703 \begin_inset ERT
30704 status collapsed
30705
30706 \begin_layout Plain Layout
30707
30708
30709 \backslash
30710 resizebox{2cm}{!}{
30711 \end_layout
30712
30713 \end_inset
30714
30715 Hello
30716 \begin_inset ERT
30717 status collapsed
30718
30719 \begin_layout Plain Layout
30720
30721 }
30722 \end_layout
30723
30724 \end_inset
30725
30726
30727 \end_layout
30728
30729 \begin_layout Standard
30730 \begin_inset VSpace bigskip
30731 \end_inset
30732
30733
30734 \begin_inset Note Greyedout
30735 status open
30736
30737 \begin_layout Plain Layout
30738
30739 \series bold
30740 Note:
30741 \series default
30742  When arguments of 
30743 \series bold
30744
30745 \backslash
30746 scalebox
30747 \series default
30748  or 
30749 \series bold
30750
30751 \backslash
30752 resizebox
30753 \series default
30754  are set to zero, no LaTeX-errors occur when exporting the document but
30755  the exported files can not or only partly be displayed.
30756 \end_layout
30757
30758 \end_inset
30759
30760
30761 \end_layout
30762
30763 \begin_layout Standard
30764 \begin_inset VSpace bigskip
30765 \end_inset
30766
30767
30768 \end_layout
30769
30770 \begin_layout Standard
30771 The boxes can be combined in any order.
30772  E.
30773 \begin_inset space \thinspace{}
30774 \end_inset
30775
30776 g.
30777 \begin_inset space \space{}
30778 \end_inset
30779
30780 the command
30781 \begin_inset Newline newline
30782 \end_inset
30783
30784
30785 \series bold
30786
30787 \backslash
30788 rotatebox[origin=c]{-45}{
30789 \backslash
30790 resizebox{2cm}{!}{
30791 \backslash
30792 reflectbox{Hello}}}
30793 \begin_inset Newline newline
30794 \end_inset
30795
30796
30797 \series default
30798 produces:
30799 \end_layout
30800
30801 \begin_layout Standard
30802 \align center
30803 \begin_inset ERT
30804 status collapsed
30805
30806 \begin_layout Plain Layout
30807
30808
30809 \backslash
30810 rotatebox[origin=c]{-45}{
30811 \backslash
30812 resizebox{2cm}{!}{
30813 \backslash
30814 reflectbox{
30815 \end_layout
30816
30817 \end_inset
30818
30819 Hello
30820 \begin_inset ERT
30821 status collapsed
30822
30823 \begin_layout Plain Layout
30824
30825 }}}
30826 \end_layout
30827
30828 \end_inset
30829
30830
30831 \end_layout
30832
30833 \begin_layout Standard
30834 \noindent
30835 Images, tables, and inline formulas are allowed as box content:
30836 \end_layout
30837
30838 \begin_layout Standard
30839 \align center
30840 \begin_inset ERT
30841 status collapsed
30842
30843 \begin_layout Plain Layout
30844
30845
30846 \backslash
30847 rotatebox[origin=c]{-30}{
30848 \backslash
30849 resizebox{2cm}{!}{
30850 \backslash
30851 reflectbox{
30852 \end_layout
30853
30854 \end_inset
30855
30856
30857 \begin_inset Graphics
30858         filename clipart/platypus.eps
30859         lyxscale 50
30860         width 25col%
30861
30862 \end_inset
30863
30864
30865 \begin_inset ERT
30866 status collapsed
30867
30868 \begin_layout Plain Layout
30869
30870 }}}
30871 \end_layout
30872
30873 \end_inset
30874
30875
30876 \begin_inset ERT
30877 status collapsed
30878
30879 \begin_layout Plain Layout
30880
30881
30882 \backslash
30883 rotatebox[origin=c]{-45}{
30884 \backslash
30885 resizebox{2cm}{!}{
30886 \backslash
30887 reflectbox{
30888 \end_layout
30889
30890 \end_inset
30891
30892
30893 \begin_inset Tabular
30894 <lyxtabular version="3" rows="2" columns="2">
30895 <features>
30896 <column alignment="center" valignment="top" width="0">
30897 <column alignment="center" valignment="top" width="0">
30898 <row>
30899 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30900 \begin_inset Text
30901
30902 \begin_layout Plain Layout
30903 q
30904 \end_layout
30905
30906 \end_inset
30907 </cell>
30908 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30909 \begin_inset Text
30910
30911 \begin_layout Plain Layout
30912 w
30913 \end_layout
30914
30915 \end_inset
30916 </cell>
30917 </row>
30918 <row>
30919 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30920 \begin_inset Text
30921
30922 \begin_layout Plain Layout
30923 e
30924 \end_layout
30925
30926 \end_inset
30927 </cell>
30928 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30929 \begin_inset Text
30930
30931 \begin_layout Plain Layout
30932 r
30933 \end_layout
30934
30935 \end_inset
30936 </cell>
30937 </row>
30938 </lyxtabular>
30939
30940 \end_inset
30941
30942
30943 \begin_inset ERT
30944 status collapsed
30945
30946 \begin_layout Plain Layout
30947
30948 }}}
30949 \end_layout
30950
30951 \end_inset
30952
30953
30954 \begin_inset ERT
30955 status collapsed
30956
30957 \begin_layout Plain Layout
30958
30959
30960 \backslash
30961 rotatebox[origin=c]{-45}{
30962 \backslash
30963 resizebox{2cm}{!}{
30964 \backslash
30965 reflectbox{
30966 \end_layout
30967
30968 \end_inset
30969
30970
30971 \begin_inset Formula $\int A\,\mathrm{d}x=B$
30972 \end_inset
30973
30974
30975 \begin_inset ERT
30976 status collapsed
30977
30978 \begin_layout Plain Layout
30979
30980 }}}
30981 \end_layout
30982
30983 \end_inset
30984
30985
30986 \end_layout
30987
30988 \begin_layout Standard
30989 When the global formula style 
30990 \series bold
30991 fleqn
30992 \series default
30993  is used in the document
30994 \begin_inset Foot
30995 status collapsed
30996
30997 \begin_layout Plain Layout
30998 When 
30999 \begin_inset Quotes eld
31000 \end_inset
31001
31002 fleqn
31003 \begin_inset Quotes erd
31004 \end_inset
31005
31006  is added to the document class options.
31007 \end_layout
31008
31009 \end_inset
31010
31011 , also display formulas can be scaled.
31012 \end_layout
31013
31014 \begin_layout Chapter
31015 External Stuff
31016 \begin_inset Index
31017 status collapsed
31018
31019 \begin_layout Plain Layout
31020 External Stuff
31021 \end_layout
31022
31023 \end_inset
31024
31025
31026 \end_layout
31027
31028 \begin_layout Standard
31029 With the menu 
31030 \family sans
31031 Insert\SpecialChar \menuseparator
31032 File
31033 \family default
31034  you can insert external material to your document.
31035  This can be:
31036 \end_layout
31037
31038 \begin_layout Description
31039 LyX
31040 \begin_inset space ~
31041 \end_inset
31042
31043 Document Another LyX document; its content is directly inserted to your
31044  document.
31045 \end_layout
31046
31047 \begin_layout Description
31048 Plain
31049 \begin_inset space ~
31050 \end_inset
31051
31052 Text A text document; every of its text lines is inserted to your document
31053  as own paragraph.
31054 \end_layout
31055
31056 \begin_layout Description
31057 Plain
31058 \begin_inset space ~
31059 \end_inset
31060
31061 Text,
31062 \begin_inset space ~
31063 \end_inset
31064
31065 Join
31066 \begin_inset space ~
31067 \end_inset
31068
31069 Lines A text document; its text lines are inserted as they are.
31070  Empty text lines creates a new paragraph in your document.
31071 \end_layout
31072
31073 \begin_layout Description
31074 External
31075 \begin_inset space ~
31076 \end_inset
31077
31078 Material Files in various formats.
31079 \end_layout
31080
31081 \begin_layout Description
31082 Child
31083 \begin_inset space ~
31084 \end_inset
31085
31086 Document LyX or LaTeX-documents.
31087 \end_layout
31088
31089 \begin_layout Section
31090 External Material
31091 \begin_inset Index
31092 status collapsed
31093
31094 \begin_layout Plain Layout
31095 External Stuff ! External Material
31096 \end_layout
31097
31098 \end_inset
31099
31100
31101 \end_layout
31102
31103 \begin_layout Standard
31104 The external material feature allows you to insert files to your document
31105  without converting them previously to a format that can be read by the
31106  document output format because LyX takes care of needed conversions.
31107  This is similar to images that can be inserted in various image formats
31108  to LyX documents.
31109  When you have enabled Instant Preview in LyX's preferences under 
31110 \family sans
31111 Look
31112 \begin_inset space ~
31113 \end_inset
31114
31115 and
31116 \begin_inset space ~
31117 \end_inset
31118
31119 feel\SpecialChar \menuseparator
31120 Graphics
31121 \family default
31122 , the external material types Dia and Xfig is directly shown in LyX.
31123 \end_layout
31124
31125 \begin_layout Standard
31126 External material can be inserted via the 
31127 \family sans
31128 External Material
31129 \family default
31130  dialog that is accessible with the menu 
31131 \family sans
31132 Insert\SpecialChar \menuseparator
31133 File\SpecialChar \menuseparator
31134 External
31135 \begin_inset space ~
31136 \end_inset
31137
31138 Material
31139 \family default
31140 .
31141  Currently the following file types (
31142 \family sans
31143 Templates
31144 \family default
31145 ) are allowed:
31146 \end_layout
31147
31148 \begin_layout Description
31149 ChessDiagram This template supports chess position diagrams made with the
31150  program 
31151 \series bold
31152
31153 \begin_inset CommandInset href
31154 LatexCommand href
31155 name "XBoard"
31156 target "http://en.wikipedia.org/wiki/XBoard"
31157
31158 \end_inset
31159
31160
31161 \series default
31162 .
31163 \end_layout
31164
31165 \begin_layout Description
31166 Date This inserts the date in the form 
31167 \emph on
31168 Day-Month-Year
31169 \emph default
31170 .
31171  This is a date inserted as external material: 
31172 \begin_inset External
31173         template Date
31174         filename .
31175
31176 \end_inset
31177
31178
31179 \begin_inset space ~
31180 \end_inset
31181
31182
31183 \begin_inset Note Note
31184 status open
31185
31186 \begin_layout Plain Layout
31187 Remove the protected space when bug 4398 is fixed!
31188 \end_layout
31189
31190 \end_inset
31191
31192
31193 \begin_inset Newline newline
31194 \end_inset
31195
31196 The date is not shown within LyX, only in the output.
31197  There are two other methods of inserting a date: Via menu 
31198 \family sans
31199 Insert\SpecialChar \menuseparator
31200 Date
31201 \family default
31202  and with the LaTeX command 
31203 \series bold
31204
31205 \backslash
31206 today
31207 \series default
31208  as TeX-Code.
31209  The different methods are compared in Table
31210 \begin_inset space ~
31211 \end_inset
31212
31213
31214 \begin_inset CommandInset ref
31215 LatexCommand ref
31216 reference "tab:Comparison-of-the"
31217
31218 \end_inset
31219
31220 .
31221 \end_layout
31222
31223 \begin_layout Description
31224 Dia This template supports diagrams created with the program 
31225 \series bold
31226
31227 \begin_inset CommandInset href
31228 LatexCommand href
31229 name "Dia"
31230 target "http://en.wikipedia.org/wiki/Dia_(software)"
31231
31232 \end_inset
31233
31234
31235 \series default
31236 .
31237 \end_layout
31238
31239 \begin_layout Description
31240 LilyPond This template is used for music notation typeset with the program
31241 \begin_inset Newline linebreak
31242 \end_inset
31243
31244
31245 \series bold
31246
31247 \begin_inset CommandInset href
31248 LatexCommand href
31249 name "LilyPond"
31250 target "http://en.wikipedia.org/wiki/LilyPond"
31251
31252 \end_inset
31253
31254
31255 \series default
31256 .
31257 \end_layout
31258
31259 \begin_layout Description
31260 PDFPages With this template you can insert PDF documents to your document.
31261  To insert certain or all pages of a PDF, use the 
31262 \emph on
31263 pages
31264 \emph default
31265  option in the 
31266 \family sans
31267 Option
31268 \family default
31269  field in the 
31270 \family sans
31271 LaTeX and LyX options
31272 \family default
31273  tab according to the template description in the dialog.
31274  When no 
31275 \emph on
31276 pages
31277 \emph default
31278  option is given, only the first page of the PDF will be inserted.
31279 \end_layout
31280
31281 \begin_layout Description
31282 RasterImage This can be used for bitmap images.
31283  Nearly all popular image formats are supported.
31284  The image can be treated in the 
31285 \family sans
31286 External material
31287 \family default
31288  dialog like the images that are usually included via the 
31289 \family sans
31290 Graphics
31291 \family default
31292  dialog as described in section
31293 \begin_inset space ~
31294 \end_inset
31295
31296
31297 \begin_inset CommandInset ref
31298 LatexCommand ref
31299 reference "sec:Graphics-Dialog"
31300
31301 \end_inset
31302
31303 .
31304  The difference is that only raster images are allowed, that means that
31305  PDF and EPS-images are not supported.
31306 \end_layout
31307
31308 \begin_layout Description
31309 XFig This template supports images created with the program 
31310 \series bold
31311
31312 \begin_inset CommandInset href
31313 LatexCommand href
31314 name "Xfig"
31315 target "http://en.wikipedia.org/wiki/Xfig"
31316
31317 \end_inset
31318
31319
31320 \series default
31321 .
31322 \end_layout
31323
31324 \begin_layout Standard
31325 \begin_inset Float table
31326 placement h
31327 wide false
31328 sideways false
31329 status open
31330
31331 \begin_layout Plain Layout
31332 \begin_inset Caption
31333
31334 \begin_layout Plain Layout
31335 \begin_inset CommandInset label
31336 LatexCommand label
31337 name "tab:Comparison-of-the"
31338
31339 \end_inset
31340
31341 Comparison of the date input methods.
31342 \end_layout
31343
31344 \end_inset
31345
31346
31347 \end_layout
31348
31349 \begin_layout Plain Layout
31350 \align center
31351 \begin_inset Tabular
31352 <lyxtabular version="3" rows="4" columns="4">
31353 <features>
31354 <column alignment="center" valignment="top" width="0">
31355 <column alignment="center" valignment="top" width="0">
31356 <column alignment="center" valignment="top" width="0">
31357 <column alignment="center" valignment="top" width="0">
31358 <row>
31359 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31360 \begin_inset Text
31361
31362 \begin_layout Plain Layout
31363 Document format
31364 \end_layout
31365
31366 \end_inset
31367 </cell>
31368 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31369 \begin_inset Text
31370
31371 \begin_layout Plain Layout
31372
31373 \family sans
31374 External Material\SpecialChar \menuseparator
31375 Date
31376 \end_layout
31377
31378 \end_inset
31379 </cell>
31380 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31381 \begin_inset Text
31382
31383 \begin_layout Plain Layout
31384
31385 \family sans
31386 Insert\SpecialChar \menuseparator
31387 Date
31388 \end_layout
31389
31390 \end_inset
31391 </cell>
31392 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31393 \begin_inset Text
31394
31395 \begin_layout Plain Layout
31396 command 
31397 \series bold
31398
31399 \backslash
31400 today
31401 \end_layout
31402
31403 \end_inset
31404 </cell>
31405 </row>
31406 <row>
31407 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31408 \begin_inset Text
31409
31410 \begin_layout Plain Layout
31411 LyX
31412 \end_layout
31413
31414 \end_inset
31415 </cell>
31416 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31417 \begin_inset Text
31418
31419 \begin_layout Plain Layout
31420 as inset box
31421 \end_layout
31422
31423 \end_inset
31424 </cell>
31425 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31426 \begin_inset Text
31427
31428 \begin_layout Plain Layout
31429 as date
31430 \end_layout
31431
31432 \end_inset
31433 </cell>
31434 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31435 \begin_inset Text
31436
31437 \begin_layout Plain Layout
31438 as TeX-Code inset box
31439 \end_layout
31440
31441 \end_inset
31442 </cell>
31443 </row>
31444 <row>
31445 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31446 \begin_inset Text
31447
31448 \begin_layout Plain Layout
31449 LaTeX
31450 \end_layout
31451
31452 \end_inset
31453 </cell>
31454 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31455 \begin_inset Text
31456
31457 \begin_layout Plain Layout
31458 as date
31459 \end_layout
31460
31461 \end_inset
31462 </cell>
31463 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31464 \begin_inset Text
31465
31466 \begin_layout Plain Layout
31467 as date
31468 \end_layout
31469
31470 \end_inset
31471 </cell>
31472 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31473 \begin_inset Text
31474
31475 \begin_layout Plain Layout
31476 as command
31477 \end_layout
31478
31479 \end_inset
31480 </cell>
31481 </row>
31482 <row>
31483 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31484 \begin_inset Text
31485
31486 \begin_layout Plain Layout
31487 DVI, PDF, PS
31488 \end_layout
31489
31490 \end_inset
31491 </cell>
31492 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31493 \begin_inset Text
31494
31495 \begin_layout Plain Layout
31496 as date
31497 \end_layout
31498
31499 \end_inset
31500 </cell>
31501 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31502 \begin_inset Text
31503
31504 \begin_layout Plain Layout
31505 as date
31506 \end_layout
31507
31508 \end_inset
31509 </cell>
31510 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31511 \begin_inset Text
31512
31513 \begin_layout Plain Layout
31514 as date
31515 \end_layout
31516
31517 \end_inset
31518 </cell>
31519 </row>
31520 </lyxtabular>
31521
31522 \end_inset
31523
31524
31525 \end_layout
31526
31527 \end_inset
31528
31529
31530 \end_layout
31531
31532 \begin_layout Standard
31533 When you use the option 
31534 \family sans
31535 Draft
31536 \family default
31537  in the 
31538 \family sans
31539 File
31540 \family default
31541  tab of the 
31542 \family sans
31543 External Material
31544 \family default
31545  dialog, only the path to the inserted file is shown in the output.
31546 \begin_inset Newline newline
31547 \end_inset
31548
31549 External material is displayed in LyX either as box like this: 
31550 \begin_inset Graphics
31551         filename clipart/ExternalMaterialQt4.png
31552         scale 85
31553         scaleBeforeRotation
31554
31555 \end_inset
31556
31557  or as image, depending on the option 
31558 \family sans
31559 Show in LyX
31560 \family default
31561  in the 
31562 \family sans
31563 LaTeX and LyX options
31564 \family default
31565  tab of the dialog.
31566 \end_layout
31567
31568 \begin_layout Standard
31569 The 
31570 \family sans
31571 \emph on
31572 Customization
31573 \family default
31574 \emph default
31575  manual explains how you can define your own templates.
31576 \end_layout
31577
31578 \begin_layout Section
31579 Child Documents
31580 \begin_inset CommandInset label
31581 LatexCommand label
31582 name "sec:Child-Documents"
31583
31584 \end_inset
31585
31586
31587 \begin_inset Index
31588 status collapsed
31589
31590 \begin_layout Plain Layout
31591 External Stuff ! Child Documents
31592 \end_layout
31593
31594 \end_inset
31595
31596
31597 \begin_inset Index
31598 status collapsed
31599
31600 \begin_layout Plain Layout
31601 Files ! Include
31602 \end_layout
31603
31604 \end_inset
31605
31606
31607 \end_layout
31608
31609 \begin_layout Standard
31610 Child documents are used when you have a long document consisting of several
31611  larger parts or sections.
31612  For maintenance it is often useful and sometimes even required to split
31613  the document in several files that can be revised separately.
31614  The different documents are then the so called child documents and a master
31615  document connects them to print the full document or parts of it.
31616  A child documents inherits contents of its master, for example the LaTeX
31617  preamble, the bibliography, and labels for cross-references.
31618 \end_layout
31619
31620 \begin_layout Standard
31621 To be able to work on child documents without the need to open its master,
31622  specify in the child document the master in the menu
31623 \family sans
31624  Document\SpecialChar \menuseparator
31625 Settings\SpecialChar \menuseparator
31626 Document
31627 \begin_inset space ~
31628 \end_inset
31629
31630 Class
31631 \family default
31632 .
31633  This master file will then be used in the background by LyX when you edit
31634  the child document.
31635 \end_layout
31636
31637 \begin_layout Standard
31638 Included documents are displayed in LyX as a box like this: 
31639 \begin_inset Graphics
31640         filename clipart/ChildDocumentQt4.png
31641         scale 85
31642         scaleBeforeRotation
31643
31644 \end_inset
31645
31646  To include child documents to a master document use the menu 
31647 \family sans
31648 Insert\SpecialChar \menuseparator
31649 File\SpecialChar \menuseparator
31650 Child
31651 \begin_inset space ~
31652 \end_inset
31653
31654 Documents
31655 \family default
31656 .
31657  A dialog pops up where you can choose between four include methods:
31658 \end_layout
31659
31660 \begin_layout Description
31661 Include You can include LyX and LaTeX-documents.
31662  When you press the 
31663 \family sans
31664 Load
31665 \family default
31666  button in the 
31667 \family sans
31668 Child Document
31669 \family default
31670  dialog, the included documents will be opened in LyX in a new file tab
31671  so that you can modify it.
31672 \begin_inset Newline newline
31673 \end_inset
31674
31675
31676 \end_layout
31677
31678 \begin_layout Standard
31679 Here is a child document inserted using 
31680 \family sans
31681 Include
31682 \family default
31683
31684 \begin_inset CommandInset include
31685 LatexCommand include
31686 filename "DummyDocument1.lyx"
31687
31688 \end_inset
31689
31690
31691 \end_layout
31692
31693 \begin_layout Standard
31694 The section numbering includes the sections of the included files in the
31695  order they are inserted in the master document.
31696  The included example document has for example a subsection that is numbered
31697  as subsection of this section.
31698  Labels of included documents can be referenced: Subsection
31699 \begin_inset space ~
31700 \end_inset
31701
31702
31703 \begin_inset CommandInset ref
31704 LatexCommand ref
31705 reference "sub:External-Subsection-1"
31706
31707 \end_inset
31708
31709
31710 \end_layout
31711
31712 \begin_layout Standard
31713 The preamble of the child document is ignored, only the preamble of the
31714  master document is used.
31715  Included documents are inserted starting on a new page and end with a page
31716  break.
31717 \end_layout
31718
31719 \begin_layout Standard
31720 With the LaTeX-command 
31721 \series bold
31722
31723 \backslash
31724 includeonly 
31725 \series default
31726 you can specify which included child documents are processed when the output
31727  is generated.
31728  This is useful when you are perhaps only working on a certain chapter of
31729  your large document as this saves compiling time.
31730  
31731 \series bold
31732
31733 \backslash
31734 includeonly
31735 \series default
31736  is inserted to the master document preamble.
31737  It takes a comma-separated list of the filenames as argument, e.
31738 \begin_inset space \thinspace{}
31739 \end_inset
31740
31741 g.
31742 \end_layout
31743
31744 \begin_layout Standard
31745
31746 \series bold
31747
31748 \backslash
31749 includeonly{chapter1,chapter5}
31750 \end_layout
31751
31752 \begin_layout Standard
31753 will only process the included files named 
31754 \begin_inset Quotes eld
31755 \end_inset
31756
31757 chapter1.lyx
31758 \begin_inset Quotes erd
31759 \end_inset
31760
31761  (or 
31762 \begin_inset Quotes eld
31763 \end_inset
31764
31765 chapter1.tex
31766 \begin_inset Quotes erd
31767 \end_inset
31768
31769 ) and 
31770 \begin_inset Quotes eld
31771 \end_inset
31772
31773 chapter5.lyx
31774 \begin_inset Quotes erd
31775 \end_inset
31776
31777  .
31778 \end_layout
31779
31780 \begin_layout Standard
31781 \begin_inset Note Greyedout
31782 status open
31783
31784 \begin_layout Plain Layout
31785
31786 \series bold
31787 Note:
31788 \series default
31789  When you have included a LyX- or LaTeX-file, you are warned when you export/vie
31790 w the document in case that the child document uses another document class
31791  than the master document as this will lead to unexpected outputs.
31792 \end_layout
31793
31794 \end_inset
31795
31796
31797 \end_layout
31798
31799 \begin_layout Description
31800 Input This method is very similar to the Include method.
31801  The differences are:
31802 \end_layout
31803
31804 \begin_deeper
31805 \begin_layout Itemize
31806 Input files don't start with a new page and don't end with a page break.
31807 \end_layout
31808
31809 \begin_layout Itemize
31810 Input files can be previewed in LyX when 
31811 \family sans
31812 Instant
31813 \begin_inset space ~
31814 \end_inset
31815
31816 Preview
31817 \family default
31818  is enabled in LyX's preferences under 
31819 \family sans
31820 Look
31821 \begin_inset space ~
31822 \end_inset
31823
31824 and
31825 \begin_inset space ~
31826 \end_inset
31827
31828 feel\SpecialChar \menuseparator
31829 Graphics
31830 \family default
31831 .
31832 \end_layout
31833
31834 \begin_layout Itemize
31835 The LaTeX-command 
31836 \series bold
31837
31838 \backslash
31839 includeonly
31840 \series default
31841  cannot be used.
31842 \end_layout
31843
31844 \end_deeper
31845 \begin_layout Standard
31846 Here is a child document inserted using 
31847 \family sans
31848 Input
31849 \family default
31850
31851 \begin_inset CommandInset include
31852 LatexCommand input
31853 filename "DummyDocument2.lyx"
31854
31855 \end_inset
31856
31857
31858 \end_layout
31859
31860 \begin_layout Description
31861 Verbatim With this method every text file can be included.
31862  The file is shown in the output with its source code, no command used in
31863  the text is invoked.
31864  You can use the option 
31865 \family sans
31866 Mark spaces in output
31867 \family default
31868  that displays the character 
31869 \begin_inset Quotes eld
31870 \end_inset
31871
31872
31873 \begin_inset ERT
31874 status collapsed
31875
31876 \begin_layout Plain Layout
31877
31878
31879 \backslash
31880 textvisiblespace 
31881 \end_layout
31882
31883 \end_inset
31884
31885
31886 \begin_inset Quotes erd
31887 \end_inset
31888
31889  for every space character in the source code.
31890  The difference to the method via the menu 
31891 \family sans
31892 Insert\SpecialChar \menuseparator
31893 File\SpecialChar \menuseparator
31894 Plain
31895 \begin_inset space ~
31896 \end_inset
31897
31898 Text
31899 \family default
31900  is that the document content is not shown in LyX.
31901 \end_layout
31902
31903 \begin_layout Standard
31904 Here is a child document inserted as Verbatim: 
31905 \begin_inset CommandInset include
31906 LatexCommand verbatiminput
31907 filename "DummyTextDocument.txt"
31908
31909 \end_inset
31910
31911
31912 \begin_inset VSpace bigskip
31913 \end_inset
31914
31915 Here is a child document inserted as Verbatim using the 
31916 \family sans
31917 Mark spaces in output
31918 \family default
31919  option: 
31920 \begin_inset CommandInset include
31921 LatexCommand verbatiminput*
31922 filename "DummyTextDocument.txt"
31923
31924 \end_inset
31925
31926
31927 \end_layout
31928
31929 \begin_layout Standard
31930 \begin_inset VSpace bigskip
31931 \end_inset
31932
31933
31934 \end_layout
31935
31936 \begin_layout Standard
31937 \begin_inset Note Greyedout
31938 status open
31939
31940 \begin_layout Plain Layout
31941
31942 \series bold
31943 Note:
31944 \series default
31945  As you can see in the examples above, the text of the documents included
31946  as 
31947 \family sans
31948 verbatim
31949 \family default
31950  is not broken at the end of the document lines.
31951 \end_layout
31952
31953 \end_inset
31954
31955
31956 \end_layout
31957
31958 \begin_layout Description
31959 Listings This type is described in chapter
31960 \begin_inset space ~
31961 \end_inset
31962
31963
31964 \begin_inset CommandInset ref
31965 LatexCommand ref
31966 reference "cha:Program-Code-Listings"
31967
31968 \end_inset
31969
31970 .
31971 \end_layout
31972
31973 \begin_layout Standard
31974 \begin_inset Note Greyedout
31975 status open
31976
31977 \begin_layout Plain Layout
31978
31979 \series bold
31980 Note:
31981 \series default
31982  Including the same document twice in a document using different methods
31983  could cause LaTeX-problems.
31984 \end_layout
31985
31986 \end_inset
31987
31988
31989 \end_layout
31990
31991 \begin_layout Chapter
31992 Program Code Listings
31993 \begin_inset CommandInset label
31994 LatexCommand label
31995 name "cha:Program-Code-Listings"
31996
31997 \end_inset
31998
31999
32000 \begin_inset Index
32001 status collapsed
32002
32003 \begin_layout Plain Layout
32004 Listings
32005 \end_layout
32006
32007 \end_inset
32008
32009
32010 \begin_inset Index
32011 status collapsed
32012
32013 \begin_layout Plain Layout
32014 Program Code
32015 \end_layout
32016
32017 \end_inset
32018
32019
32020 \begin_inset Index
32021 status collapsed
32022
32023 \begin_layout Plain Layout
32024 Floats ! Listings
32025 \end_layout
32026
32027 \end_inset
32028
32029
32030 \end_layout
32031
32032 \begin_layout Standard
32033 To include and typeset program code you can use the 
32034 \family sans
32035 Listings
32036 \family default
32037  inset that can be inserted via the menu 
32038 \family sans
32039 Insert\SpecialChar \menuseparator
32040 Program Listing
32041 \family default
32042 .
32043  The LaTeX-package 
32044 \series bold
32045 listings
32046 \series default
32047
32048 \begin_inset Index
32049 status collapsed
32050
32051 \begin_layout Plain Layout
32052 LaTeX-packages ! listings
32053 \end_layout
32054
32055 \end_inset
32056
32057  provides a powerful and flexible way to insert program source code to your
32058  document.
32059 \end_layout
32060
32061 \begin_layout Standard
32062 Right-clicking on a listings inset opens the context menu containing where
32063  you can set the listings format.
32064 \end_layout
32065
32066 \begin_layout Standard
32067 By default, a listing starts a new paragraph in the output.
32068  The placement option 
32069 \family sans
32070 Inline
32071 \begin_inset space ~
32072 \end_inset
32073
32074 listing
32075 \family default
32076  prints the listing inline like this: 
32077 \begin_inset listings
32078 lstparams "language={C++}"
32079 inline true
32080 status open
32081
32082 \begin_layout Plain Layout
32083
32084 int a=5;
32085 \end_layout
32086
32087 \end_inset
32088
32089
32090 \begin_inset Newline newline
32091 \end_inset
32092
32093 The option 
32094 \family sans
32095 Float
32096 \family default
32097  creates a listings float where you can specify the placement options 
32098 \begin_inset Quotes eld
32099 \end_inset
32100
32101
32102 \family sans
32103 h
32104 \family default
32105
32106 \begin_inset Quotes erd
32107 \end_inset
32108
32109
32110 \begin_inset Quotes eld
32111 \end_inset
32112
32113
32114 \family sans
32115 t
32116 \family default
32117
32118 \begin_inset Quotes erd
32119 \end_inset
32120
32121
32122 \begin_inset Quotes eld
32123 \end_inset
32124
32125
32126 \family sans
32127 b
32128 \family default
32129
32130 \begin_inset Quotes erd
32131 \end_inset
32132
32133 , and 
32134 \begin_inset Quotes eld
32135 \end_inset
32136
32137
32138 \family sans
32139 p
32140 \family default
32141
32142 \begin_inset Quotes erd
32143 \end_inset
32144
32145  corresponding to the float placement options described in section
32146 \begin_inset space ~
32147 \end_inset
32148
32149
32150 \begin_inset CommandInset ref
32151 LatexCommand ref
32152 reference "sec:Float-Placement"
32153
32154 \end_inset
32155
32156 .
32157  The placement options can be mixed and are inserted without any separation,
32158  e.
32159 \begin_inset space \thinspace{}
32160 \end_inset
32161
32162 g.
32163 \begin_inset space \space{}
32164 \end_inset
32165
32166
32167 \begin_inset Quotes eld
32168 \end_inset
32169
32170
32171 \family sans
32172 htbp
32173 \family default
32174
32175 \begin_inset Quotes erd
32176 \end_inset
32177
32178 .
32179  The option 
32180 \begin_inset Quotes eld
32181 \end_inset
32182
32183 h
32184 \begin_inset Quotes erd
32185 \end_inset
32186
32187  has sometimes no effect, but you don't need to use the 
32188 \family sans
32189 Float
32190 \family default
32191  option in this case as also non-float listings can have captions and be
32192  referenced.
32193 \end_layout
32194
32195 \begin_layout Standard
32196 You can add captions to listings with the menu 
32197 \family sans
32198 Insert\SpecialChar \menuseparator
32199 Caption
32200 \family default
32201 .
32202  Listings can be referenced like floats: Listing
32203 \begin_inset space ~
32204 \end_inset
32205
32206
32207 \begin_inset CommandInset ref
32208 LatexCommand ref
32209 reference "lst:Example-Listing"
32210
32211 \end_inset
32212
32213
32214 \end_layout
32215
32216 \begin_layout Standard
32217 \begin_inset listings
32218 lstparams "language=Python"
32219 inline false
32220 status open
32221
32222 \begin_layout Plain Layout
32223
32224 \begin_inset Caption
32225
32226 \begin_layout Plain Layout
32227 \begin_inset CommandInset label
32228 LatexCommand label
32229 name "lst:Example-Listing"
32230
32231 \end_inset
32232
32233 Example Listing float
32234 \end_layout
32235
32236 \end_inset
32237
32238 # Example listing float
32239 \end_layout
32240
32241 \begin_layout Plain Layout
32242
32243 def func(param):
32244 \end_layout
32245
32246 \begin_layout Plain Layout
32247
32248     'this is a python function'
32249 \end_layout
32250
32251 \begin_layout Plain Layout
32252
32253     pass
32254 \end_layout
32255
32256 \end_inset
32257
32258
32259 \end_layout
32260
32261 \begin_layout Standard
32262 When you have set a programming language in the listings dialog, the keywords
32263  of this language will be recognized and specially typeset in the output.
32264  In the example listings the Python keyword 
32265 \begin_inset Quotes eld
32266 \end_inset
32267
32268 def
32269 \begin_inset Quotes erd
32270 \end_inset
32271
32272  is recognized and printed bold in the output.
32273 \end_layout
32274
32275 \begin_layout Standard
32276 \begin_inset Note Greyedout
32277 status open
32278
32279 \begin_layout Plain Layout
32280
32281 \series bold
32282 Note:
32283 \series default
32284  If you don't get bold keywords when using typewriter fonts, your 
32285 \family typewriter
32286 typewriter
32287 \family default
32288  font probably doesn't provide a bold shape.
32289  In this case select a different one in the menu 
32290 \family sans
32291 Document\SpecialChar \menuseparator
32292 Settings\SpecialChar \menuseparator
32293 Fonts
32294 \family default
32295 .
32296  (The fonts 
32297 \emph on
32298 LuxiMono, BeraMono
32299 \emph default
32300  and 
32301 \emph on
32302 Courier
32303 \emph default
32304  provide bold shapes.)
32305 \end_layout
32306
32307 \end_inset
32308
32309
32310 \end_layout
32311
32312 \begin_layout Standard
32313 In section 
32314 \family sans
32315 Line
32316 \begin_inset space ~
32317 \end_inset
32318
32319 numbering
32320 \family default
32321  of the listings dialog you can specify the line numbering style.
32322  You can insert a number to specify which lines are numbered to the field
32323  
32324 \family sans
32325 Step
32326 \family default
32327 .
32328  When you insert e.
32329 \begin_inset space \thinspace{}
32330 \end_inset
32331
32332 g.
32333 \begin_inset space \space{}
32334 \end_inset
32335
32336
32337 \begin_inset Quotes eld
32338 \end_inset
32339
32340 3
32341 \begin_inset Quotes erd
32342 \end_inset
32343
32344 , only every 3rd line will be numbered.
32345 \end_layout
32346
32347 \begin_layout Standard
32348 You can furthermore specify a range of lines, only these will then appear
32349  in the output.
32350  The option 
32351 \family sans
32352 Extended character table
32353 \family default
32354  should be used when you use national characters like the German umlauts
32355  in the listing.
32356 \begin_inset Newline newline
32357 \end_inset
32358
32359 Here is an example listing with left line numbering, step 
32360 \begin_inset Quotes eld
32361 \end_inset
32362
32363 3
32364 \begin_inset Quotes erd
32365 \end_inset
32366
32367 , language 
32368 \begin_inset Quotes eld
32369 \end_inset
32370
32371 Python
32372 \begin_inset Quotes erd
32373 \end_inset
32374
32375 , options 
32376 \begin_inset Quotes eld
32377 \end_inset
32378
32379 Extended character table
32380 \begin_inset Quotes erd
32381 \end_inset
32382
32383  and 
32384 \begin_inset Quotes eld
32385 \end_inset
32386
32387 Space
32388 \begin_inset space ~
32389 \end_inset
32390
32391 as
32392 \begin_inset space ~
32393 \end_inset
32394
32395 symbol
32396 \begin_inset Quotes erd
32397 \end_inset
32398
32399 , range lines 3
32400 \begin_inset space \thinspace{}
32401 \end_inset
32402
32403 -
32404 \begin_inset space \thinspace{}
32405 \end_inset
32406
32407 8:
32408 \end_layout
32409
32410 \begin_layout Standard
32411 \begin_inset listings
32412 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
32413 inline false
32414 status open
32415
32416 \begin_layout Plain Layout
32417
32418 def func(param):
32419 \end_layout
32420
32421 \begin_layout Plain Layout
32422
32423     'this is a python function'
32424 \end_layout
32425
32426 \begin_layout Plain Layout
32427
32428     pass
32429 \end_layout
32430
32431 \begin_layout Plain Layout
32432
32433 def func(param):
32434 \end_layout
32435
32436 \begin_layout Plain Layout
32437
32438 'This is a German word: Tschüß'
32439 \end_layout
32440
32441 \begin_layout Plain Layout
32442
32443 pass
32444 \end_layout
32445
32446 \begin_layout Plain Layout
32447
32448 def func(param):
32449 \end_layout
32450
32451 \begin_layout Plain Layout
32452
32453 'this is a python function'
32454 \end_layout
32455
32456 \begin_layout Plain Layout
32457
32458 pass
32459 \end_layout
32460
32461 \end_inset
32462
32463
32464 \end_layout
32465
32466 \begin_layout Standard
32467 When you have tabulators in your listing, you can specify the number of
32468  characters that are spanned by a tabulator in the field 
32469 \family sans
32470 Tabulator
32471 \begin_inset space ~
32472 \end_inset
32473
32474 size
32475 \family default
32476 .
32477 \end_layout
32478
32479 \begin_layout Standard
32480 \begin_inset Note Greyedout
32481 status open
32482
32483 \begin_layout Plain Layout
32484
32485 \series bold
32486 Note:
32487 \series default
32488  Due to a bug in the 
32489 \series bold
32490 listings
32491 \series default
32492  package the line numbering is shifted by a line by every previous listing.
32493  That's the reason why the lines 2 and 5 are numbered in the above listing
32494  and not the lines 3 and 6.
32495 \end_layout
32496
32497 \end_inset
32498
32499
32500 \end_layout
32501
32502 \begin_layout Standard
32503 \begin_inset VSpace bigskip
32504 \end_inset
32505
32506
32507 \end_layout
32508
32509 \begin_layout Standard
32510 It is also possible to print lines from a file as listing.
32511  To do this, use the menu 
32512 \family sans
32513 Insert\SpecialChar \menuseparator
32514 File\SpecialChar \menuseparator
32515 Child Document
32516 \family default
32517  and choose the type 
32518 \family sans
32519 Listings
32520 \family default
32521 .
32522 \begin_inset Foot
32523 status collapsed
32524
32525 \begin_layout Plain Layout
32526 The other child document types are described in section
32527 \begin_inset space ~
32528 \end_inset
32529
32530
32531 \begin_inset CommandInset ref
32532 LatexCommand ref
32533 reference "sec:Child-Documents"
32534
32535 \end_inset
32536
32537 .
32538 \end_layout
32539
32540 \end_inset
32541
32542  In the child document dialog you can specify the listing parameters in
32543  a text box.
32544  To show a list of all available parameters, type in a question mark 
32545 \begin_inset Quotes eld
32546 \end_inset
32547
32548 ?
32549 \begin_inset Quotes erd
32550 \end_inset
32551
32552  in the text box.
32553 \end_layout
32554
32555 \begin_layout Standard
32556 To reference child document listings, write a label text into the corresponding
32557  field of the child document dialog.
32558  The label can then be referenced using the menu 
32559 \family sans
32560 Insert\SpecialChar \menuseparator
32561 Cross-Reference
32562 \family default
32563 .
32564 \end_layout
32565
32566 \begin_layout Standard
32567 Listing
32568 \begin_inset space ~
32569 \end_inset
32570
32571
32572 \begin_inset CommandInset ref
32573 LatexCommand ref
32574 reference "lst:file-listing"
32575
32576 \end_inset
32577
32578  is an example for a listing of a file; there the lines 10
32579 \begin_inset space \thinspace{}
32580 \end_inset
32581
32582 -
32583 \begin_inset space \thinspace{}
32584 \end_inset
32585
32586 15 of this LyX file are listed.
32587 \end_layout
32588
32589 \begin_layout Standard
32590 \begin_inset CommandInset include
32591 LatexCommand lstinputlisting
32592 filename "EmbeddedObjects.lyx"
32593 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
32594
32595 \end_inset
32596
32597
32598 \end_layout
32599
32600 \begin_layout Standard
32601 \begin_inset VSpace bigskip
32602 \end_inset
32603
32604
32605 \end_layout
32606
32607 \begin_layout Standard
32608 Global listings settings can be set in the 
32609 \family sans
32610 Document\SpecialChar \menuseparator
32611 Settings\SpecialChar \menuseparator
32612 Text Layout
32613 \family default
32614  dialog.
32615  To get there a list of available options, type in a question mark 
32616 \begin_inset Quotes eld
32617 \end_inset
32618
32619 ?
32620 \begin_inset Quotes erd
32621 \end_inset
32622
32623  in the 
32624 \family sans
32625 Listings
32626 \begin_inset space ~
32627 \end_inset
32628
32629 settings
32630 \family default
32631  field.
32632 \end_layout
32633
32634 \begin_layout Standard
32635 For more information about the 
32636 \series bold
32637 listings
32638 \series default
32639  package, we refer to its documentation 
32640 \begin_inset CommandInset citation
32641 LatexCommand cite
32642 key "listings"
32643
32644 \end_inset
32645
32646 .
32647 \end_layout
32648
32649 \begin_layout Standard
32650 \begin_inset Newpage newpage
32651 \end_inset
32652
32653
32654 \end_layout
32655
32656 \begin_layout Chapter
32657 \start_of_appendix
32658 Units available in LyX
32659 \begin_inset Index
32660 status collapsed
32661
32662 \begin_layout Plain Layout
32663 Units
32664 \end_layout
32665
32666 \end_inset
32667
32668
32669 \begin_inset CommandInset label
32670 LatexCommand label
32671 name "cha:Units-available-in"
32672
32673 \end_inset
32674
32675
32676 \end_layout
32677
32678 \begin_layout Standard
32679 To understand the units described in this documentation, Table
32680 \begin_inset space ~
32681 \end_inset
32682
32683
32684 \begin_inset CommandInset ref
32685 LatexCommand ref
32686 reference "tab:Units"
32687
32688 \end_inset
32689
32690  explains all units available in LyX.
32691 \end_layout
32692
32693 \begin_layout Standard
32694 \begin_inset Float table
32695 placement h
32696 wide false
32697 sideways false
32698 status open
32699
32700 \begin_layout Plain Layout
32701 \begin_inset Caption
32702
32703 \begin_layout Plain Layout
32704 \begin_inset CommandInset label
32705 LatexCommand label
32706 name "tab:Units"
32707
32708 \end_inset
32709
32710 Units
32711 \end_layout
32712
32713 \end_inset
32714
32715
32716 \end_layout
32717
32718 \begin_layout Plain Layout
32719 \begin_inset VSpace medskip
32720 \end_inset
32721
32722
32723 \end_layout
32724
32725 \begin_layout Plain Layout
32726 \align center
32727 \begin_inset Tabular
32728 <lyxtabular version="3" rows="20" columns="2">
32729 <features>
32730 <column alignment="center" valignment="top" width="0">
32731 <column alignment="center" valignment="top" width="0">
32732 <row>
32733 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32734 \begin_inset Text
32735
32736 \begin_layout Plain Layout
32737 unit
32738 \end_layout
32739
32740 \end_inset
32741 </cell>
32742 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
32743 \begin_inset Text
32744
32745 \begin_layout Plain Layout
32746 name/description
32747 \end_layout
32748
32749 \end_inset
32750 </cell>
32751 </row>
32752 <row>
32753 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32754 \begin_inset Text
32755
32756 \begin_layout Plain Layout
32757 mm
32758 \end_layout
32759
32760 \end_inset
32761 </cell>
32762 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32763 \begin_inset Text
32764
32765 \begin_layout Plain Layout
32766 millimeter
32767 \end_layout
32768
32769 \end_inset
32770 </cell>
32771 </row>
32772 <row>
32773 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32774 \begin_inset Text
32775
32776 \begin_layout Plain Layout
32777 cm
32778 \end_layout
32779
32780 \end_inset
32781 </cell>
32782 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32783 \begin_inset Text
32784
32785 \begin_layout Plain Layout
32786 centimeter
32787 \end_layout
32788
32789 \end_inset
32790 </cell>
32791 </row>
32792 <row>
32793 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32794 \begin_inset Text
32795
32796 \begin_layout Plain Layout
32797 in
32798 \end_layout
32799
32800 \end_inset
32801 </cell>
32802 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32803 \begin_inset Text
32804
32805 \begin_layout Plain Layout
32806 inch
32807 \end_layout
32808
32809 \end_inset
32810 </cell>
32811 </row>
32812 <row>
32813 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32814 \begin_inset Text
32815
32816 \begin_layout Plain Layout
32817 pt
32818 \end_layout
32819
32820 \end_inset
32821 </cell>
32822 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32823 \begin_inset Text
32824
32825 \begin_layout Plain Layout
32826 point (72.27
32827 \begin_inset space \thinspace{}
32828 \end_inset
32829
32830 pt = 1
32831 \begin_inset space \thinspace{}
32832 \end_inset
32833
32834 in)
32835 \end_layout
32836
32837 \end_inset
32838 </cell>
32839 </row>
32840 <row>
32841 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32842 \begin_inset Text
32843
32844 \begin_layout Plain Layout
32845 pc
32846 \end_layout
32847
32848 \end_inset
32849 </cell>
32850 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32851 \begin_inset Text
32852
32853 \begin_layout Plain Layout
32854 pica (1
32855 \begin_inset space \thinspace{}
32856 \end_inset
32857
32858 pc = 12
32859 \begin_inset space \thinspace{}
32860 \end_inset
32861
32862 pt)
32863 \end_layout
32864
32865 \end_inset
32866 </cell>
32867 </row>
32868 <row>
32869 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32870 \begin_inset Text
32871
32872 \begin_layout Plain Layout
32873 sp
32874 \end_layout
32875
32876 \end_inset
32877 </cell>
32878 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32879 \begin_inset Text
32880
32881 \begin_layout Plain Layout
32882 scaled point (65536
32883 \begin_inset space \thinspace{}
32884 \end_inset
32885
32886 sp = 1
32887 \begin_inset space \thinspace{}
32888 \end_inset
32889
32890 pt)
32891 \end_layout
32892
32893 \end_inset
32894 </cell>
32895 </row>
32896 <row>
32897 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32898 \begin_inset Text
32899
32900 \begin_layout Plain Layout
32901 bp
32902 \end_layout
32903
32904 \end_inset
32905 </cell>
32906 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32907 \begin_inset Text
32908
32909 \begin_layout Plain Layout
32910 big point (72
32911 \begin_inset space \thinspace{}
32912 \end_inset
32913
32914 bp = 1
32915 \begin_inset space \thinspace{}
32916 \end_inset
32917
32918 in)
32919 \end_layout
32920
32921 \end_inset
32922 </cell>
32923 </row>
32924 <row>
32925 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32926 \begin_inset Text
32927
32928 \begin_layout Plain Layout
32929 dd
32930 \end_layout
32931
32932 \end_inset
32933 </cell>
32934 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32935 \begin_inset Text
32936
32937 \begin_layout Plain Layout
32938 didot (1
32939 \begin_inset space \thinspace{}
32940 \end_inset
32941
32942 dd 
32943 \begin_inset Formula $\approx$
32944 \end_inset
32945
32946  0.376
32947 \begin_inset space \thinspace{}
32948 \end_inset
32949
32950 mm)
32951 \end_layout
32952
32953 \end_inset
32954 </cell>
32955 </row>
32956 <row>
32957 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32958 \begin_inset Text
32959
32960 \begin_layout Plain Layout
32961 cc
32962 \end_layout
32963
32964 \end_inset
32965 </cell>
32966 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32967 \begin_inset Text
32968
32969 \begin_layout Plain Layout
32970 cicero (1
32971 \begin_inset space \thinspace{}
32972 \end_inset
32973
32974 cc = 12
32975 \begin_inset space \thinspace{}
32976 \end_inset
32977
32978 dd)
32979 \end_layout
32980
32981 \end_inset
32982 </cell>
32983 </row>
32984 <row>
32985 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32986 \begin_inset Text
32987
32988 \begin_layout Plain Layout
32989 Scale%
32990 \end_layout
32991
32992 \end_inset
32993 </cell>
32994 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32995 \begin_inset Text
32996
32997 \begin_layout Plain Layout
32998 % of original image width
32999 \end_layout
33000
33001 \end_inset
33002 </cell>
33003 </row>
33004 <row>
33005 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33006 \begin_inset Text
33007
33008 \begin_layout Plain Layout
33009 text%
33010 \end_layout
33011
33012 \end_inset
33013 </cell>
33014 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33015 \begin_inset Text
33016
33017 \begin_layout Plain Layout
33018 % of text width
33019 \end_layout
33020
33021 \end_inset
33022 </cell>
33023 </row>
33024 <row>
33025 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33026 \begin_inset Text
33027
33028 \begin_layout Plain Layout
33029 col%
33030 \end_layout
33031
33032 \end_inset
33033 </cell>
33034 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33035 \begin_inset Text
33036
33037 \begin_layout Plain Layout
33038 % of column width
33039 \end_layout
33040
33041 \end_inset
33042 </cell>
33043 </row>
33044 <row>
33045 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33046 \begin_inset Text
33047
33048 \begin_layout Plain Layout
33049 page%
33050 \end_layout
33051
33052 \end_inset
33053 </cell>
33054 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33055 \begin_inset Text
33056
33057 \begin_layout Plain Layout
33058 % of paper width
33059 \end_layout
33060
33061 \end_inset
33062 </cell>
33063 </row>
33064 <row>
33065 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33066 \begin_inset Text
33067
33068 \begin_layout Plain Layout
33069 line%
33070 \end_layout
33071
33072 \end_inset
33073 </cell>
33074 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33075 \begin_inset Text
33076
33077 \begin_layout Plain Layout
33078 % of line width
33079 \end_layout
33080
33081 \end_inset
33082 </cell>
33083 </row>
33084 <row>
33085 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33086 \begin_inset Text
33087
33088 \begin_layout Plain Layout
33089 theight%
33090 \end_layout
33091
33092 \end_inset
33093 </cell>
33094 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33095 \begin_inset Text
33096
33097 \begin_layout Plain Layout
33098 % of text height
33099 \end_layout
33100
33101 \end_inset
33102 </cell>
33103 </row>
33104 <row>
33105 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33106 \begin_inset Text
33107
33108 \begin_layout Plain Layout
33109 pheight%
33110 \end_layout
33111
33112 \end_inset
33113 </cell>
33114 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33115 \begin_inset Text
33116
33117 \begin_layout Plain Layout
33118 % of paper height
33119 \end_layout
33120
33121 \end_inset
33122 </cell>
33123 </row>
33124 <row>
33125 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33126 \begin_inset Text
33127
33128 \begin_layout Plain Layout
33129 ex
33130 \end_layout
33131
33132 \end_inset
33133 </cell>
33134 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33135 \begin_inset Text
33136
33137 \begin_layout Plain Layout
33138 height of letter 
33139 \emph on
33140 x
33141 \emph default
33142  in current font
33143 \end_layout
33144
33145 \end_inset
33146 </cell>
33147 </row>
33148 <row>
33149 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33150 \begin_inset Text
33151
33152 \begin_layout Plain Layout
33153 em
33154 \end_layout
33155
33156 \end_inset
33157 </cell>
33158 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33159 \begin_inset Text
33160
33161 \begin_layout Plain Layout
33162 width of letter 
33163 \emph on
33164 M
33165 \emph default
33166  in current font
33167 \end_layout
33168
33169 \end_inset
33170 </cell>
33171 </row>
33172 <row>
33173 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
33174 \begin_inset Text
33175
33176 \begin_layout Plain Layout
33177 mu
33178 \end_layout
33179
33180 \end_inset
33181 </cell>
33182 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
33183 \begin_inset Text
33184
33185 \begin_layout Plain Layout
33186 math unit (1
33187 \begin_inset space \thinspace{}
33188 \end_inset
33189
33190 mu = 1/18
33191 \begin_inset space \thinspace{}
33192 \end_inset
33193
33194 em)
33195 \end_layout
33196
33197 \end_inset
33198 </cell>
33199 </row>
33200 </lyxtabular>
33201
33202 \end_inset
33203
33204
33205 \end_layout
33206
33207 \end_inset
33208
33209
33210 \end_layout
33211
33212 \begin_layout Chapter
33213 Output File Formats with Graphics
33214 \begin_inset CommandInset label
33215 LatexCommand label
33216 name "cha:Output-File-Formats"
33217
33218 \end_inset
33219
33220
33221 \end_layout
33222
33223 \begin_layout Section
33224 DVI
33225 \begin_inset Index
33226 status collapsed
33227
33228 \begin_layout Plain Layout
33229 File Formats ! DVI
33230 \end_layout
33231
33232 \end_inset
33233
33234
33235 \begin_inset Index
33236 status collapsed
33237
33238 \begin_layout Plain Layout
33239 DVI|see
33240 \begin_inset ERT
33241 status collapsed
33242
33243 \begin_layout Plain Layout
33244
33245 {
33246 \end_layout
33247
33248 \end_inset
33249
33250 File Formats
33251 \begin_inset ERT
33252 status collapsed
33253
33254 \begin_layout Plain Layout
33255
33256 }
33257 \end_layout
33258
33259 \end_inset
33260
33261
33262 \end_layout
33263
33264 \end_inset
33265
33266
33267 \end_layout
33268
33269 \begin_layout Standard
33270 This file type has the extension 
33271 \begin_inset Quotes eld
33272 \end_inset
33273
33274
33275 \family typewriter
33276 .dvi
33277 \family default
33278
33279 \begin_inset Quotes erd
33280 \end_inset
33281
33282 .
33283  It is called 
33284 \begin_inset Quotes eld
33285 \end_inset
33286
33287 device-independent
33288 \begin_inset Quotes erd
33289 \end_inset
33290
33291  (DVI), because it is completely portable; you can move them from one machine
33292  to another without needing to do any sort of conversion.
33293  At the time when this file-format was developed, this was no matter of
33294  course.
33295  DVIs are used for quick previews and as pre-stage for other output formats,
33296  like PostScript.
33297 \end_layout
33298
33299 \begin_layout Standard
33300 \begin_inset Note Greyedout
33301 status open
33302
33303 \begin_layout Plain Layout
33304
33305 \series bold
33306 Note:
33307 \series default
33308  DVI-files doesn't contain images, they will only be a linked.
33309 \end_layout
33310
33311 \end_inset
33312
33313  So don't forget this, if you move your 
33314 \family typewriter
33315 .dvi
33316 \family default
33317  file to another computer.
33318  This property can also slow down your computer when you view the DVI.
33319  Because the DVI-viewer has to convert the image in the background to make
33320  it visible when you scroll in the DVI.
33321  So we recommend to use PDF for files with many images.
33322 \end_layout
33323
33324 \begin_layout Standard
33325 You can export your document to DVI by using the menu 
33326 \family sans
33327 File\SpecialChar \menuseparator
33328 Export\SpecialChar \menuseparator
33329 DVI
33330 \family default
33331 .
33332  You can view your document as DVI via the 
33333 \family sans
33334 View
33335 \family default
33336  menu or by using the toolbar button 
33337 \begin_inset Graphics
33338         filename ../images/buffer-view_dvi.png
33339         scale 85
33340         scaleBeforeRotation
33341
33342 \end_inset
33343
33344 .
33345 \end_layout
33346
33347 \begin_layout Section
33348 PostScript
33349 \begin_inset CommandInset label
33350 LatexCommand label
33351 name "sec:PostScript"
33352
33353 \end_inset
33354
33355
33356 \begin_inset Index
33357 status collapsed
33358
33359 \begin_layout Plain Layout
33360 File Formats ! PostScript
33361 \end_layout
33362
33363 \end_inset
33364
33365
33366 \begin_inset Index
33367 status collapsed
33368
33369 \begin_layout Plain Layout
33370 PostScript|see
33371 \begin_inset ERT
33372 status collapsed
33373
33374 \begin_layout Plain Layout
33375
33376 {
33377 \end_layout
33378
33379 \end_inset
33380
33381 File Formats
33382 \begin_inset ERT
33383 status collapsed
33384
33385 \begin_layout Plain Layout
33386
33387 }
33388 \end_layout
33389
33390 \end_inset
33391
33392
33393 \end_layout
33394
33395 \end_inset
33396
33397
33398 \end_layout
33399
33400 \begin_layout Standard
33401 This file type has the extension 
33402 \begin_inset Quotes eld
33403 \end_inset
33404
33405
33406 \family typewriter
33407 .ps
33408 \family default
33409
33410 \begin_inset Quotes erd
33411 \end_inset
33412
33413 .
33414  PostScript was developed by the company 
33415 \family typewriter
33416 Adobe
33417 \family default
33418  as printer language.
33419  The file contains therefore commands that the printer uses to print the
33420  file.
33421  PostScript can be seen as 
33422 \begin_inset Quotes eld
33423 \end_inset
33424
33425 programming language
33426 \begin_inset Quotes erd
33427 \end_inset
33428
33429 ; you can calculate with it and draw diagrams and images
33430 \begin_inset Foot
33431 status collapsed
33432
33433 \begin_layout Plain Layout
33434 If you are interested to learn more about this, have a look at the LaTeX-package
33435  
33436 \series bold
33437 PSTricks
33438 \series default
33439  
33440 \begin_inset CommandInset citation
33441 LatexCommand cite
33442 key "pstricks"
33443
33444 \end_inset
33445
33446 .
33447 \end_layout
33448
33449 \end_inset
33450
33451 .
33452  Due to this ability, the files are often bigger than PDFs.
33453 \end_layout
33454
33455 \begin_layout Standard
33456 PostScript can only contain images in the format 
33457 \begin_inset Quotes eld
33458 \end_inset
33459
33460 Encapsulated PostScript
33461 \begin_inset Quotes erd
33462 \end_inset
33463
33464  (EPS, file extension 
33465 \begin_inset Quotes eld
33466 \end_inset
33467
33468
33469 \family typewriter
33470 .eps
33471 \family default
33472
33473 \begin_inset Quotes erd
33474 \end_inset
33475
33476 ).
33477  As LyX allows you to use any known image format in your document, it has
33478  to convert images in the background to EPS.
33479  If you have e.g 50 images in your document, LyX has to do 50 conversions
33480  whenever you view or export your document.
33481  This will slow down your work flow with LyX drastically.
33482  So if you plan to use PostScript, you can insert your images directly as
33483  EPS to avoid this problem.
33484 \end_layout
33485
33486 \begin_layout Standard
33487 You can export your document to PostScript using the menu 
33488 \family sans
33489 File\SpecialChar \menuseparator
33490 Export\SpecialChar \menuseparator
33491 Postscript
33492 \family default
33493 .
33494  You can view your document as PostScript via the 
33495 \family sans
33496 View
33497 \family default
33498  menu or by using the toolbar button 
33499 \begin_inset Graphics
33500         filename ../images/buffer-view_ps.png
33501         scale 85
33502         scaleBeforeRotation
33503
33504 \end_inset
33505
33506 .
33507 \end_layout
33508
33509 \begin_layout Section
33510 PDF
33511 \begin_inset Index
33512 status collapsed
33513
33514 \begin_layout Plain Layout
33515 File Formats ! PDF
33516 \end_layout
33517
33518 \end_inset
33519
33520
33521 \begin_inset Index
33522 status collapsed
33523
33524 \begin_layout Plain Layout
33525 PDF
33526 \end_layout
33527
33528 \end_inset
33529
33530
33531 \end_layout
33532
33533 \begin_layout Standard
33534 This file type has the extension 
33535 \begin_inset Quotes eld
33536 \end_inset
33537
33538
33539 \family typewriter
33540 .pdf
33541 \family default
33542
33543 \begin_inset Quotes erd
33544 \end_inset
33545
33546 .
33547  The 
33548 \begin_inset Quotes eld
33549 \end_inset
33550
33551 Portable Document Format
33552 \begin_inset Quotes erd
33553 \end_inset
33554
33555  (PDF) is developed by 
33556 \family typewriter
33557 Adobe
33558 \family default
33559  as derivative from PostScript.
33560  It is more compressed and it uses much less commands than PostScript.
33561  As the name 
33562 \begin_inset Quotes eld
33563 \end_inset
33564
33565 portable
33566 \begin_inset Quotes erd
33567 \end_inset
33568
33569  implies, it can be processed at any computer system and the printed output
33570  looks exactly the same.
33571 \end_layout
33572
33573 \begin_layout Standard
33574 PDF can contain images in its own PDF format, in the format 
33575 \begin_inset Quotes eld
33576 \end_inset
33577
33578 Joint Photographic Experts Group
33579 \begin_inset Quotes erd
33580 \end_inset
33581
33582  (JPG, file extension 
33583 \begin_inset Quotes eld
33584 \end_inset
33585
33586
33587 \family typewriter
33588 .jpg
33589 \family default
33590
33591 \begin_inset Quotes erd
33592 \end_inset
33593
33594  or 
33595 \begin_inset Quotes eld
33596 \end_inset
33597
33598
33599 \family typewriter
33600 .jpeg
33601 \family default
33602
33603 \begin_inset Quotes erd
33604 \end_inset
33605
33606 ), and in the format 
33607 \begin_inset Quotes eld
33608 \end_inset
33609
33610 Portable Network Graphics
33611 \begin_inset Quotes erd
33612 \end_inset
33613
33614  (PNG, file extension 
33615 \begin_inset Quotes eld
33616 \end_inset
33617
33618
33619 \family typewriter
33620 .png
33621 \family default
33622
33623 \begin_inset Quotes erd
33624 \end_inset
33625
33626 ).
33627  Nevertheless you can use any other image format, because LyX converts them
33628  in the background to one of these formats.
33629  But as described in the section about PostScript, the image conversion
33630  will slow down your work flow.
33631  So it is recommended to use images in one of the three mentioned formats.
33632 \end_layout
33633
33634 \begin_layout Standard
33635 You can export your document to PDF via the menu 
33636 \family sans
33637 File\SpecialChar \menuseparator
33638 Export
33639 \family default
33640  in three different ways:
33641 \end_layout
33642
33643 \begin_layout Description
33644 PDF
33645 \begin_inset space ~
33646 \end_inset
33647
33648 (ps2pdf) This uses the program 
33649 \family typewriter
33650 ps2pdf
33651 \family default
33652  that creates a PDF from a PostScript-version of your file.
33653  The PostScript-version is produced by the program 
33654 \family typewriter
33655 dvips
33656 \family default
33657  which uses a DVI-version as intermediate step.
33658  So this export variant consist of three conversions.
33659 \end_layout
33660
33661 \begin_layout Description
33662 PDF
33663 \begin_inset space ~
33664 \end_inset
33665
33666 (dvipdfm) This uses the program 
33667 \family typewriter
33668 dvipdfm
33669 \family default
33670  that converts your file in the background to DVI and in a second step to
33671  PDF.
33672 \end_layout
33673
33674 \begin_layout Description
33675 PDF
33676 \begin_inset space ~
33677 \end_inset
33678
33679 (pdflatex) This uses the program 
33680 \family typewriter
33681 pdftex
33682 \family default
33683  that converts your file directly to PDF.
33684 \end_layout
33685
33686 \begin_layout Standard
33687 It is recommended to use 
33688 \family sans
33689 PDF
33690 \begin_inset space ~
33691 \end_inset
33692
33693 (pdflatex)
33694 \family default
33695  because 
33696 \family typewriter
33697 pdftex
33698 \family default
33699  supports all features of actual PDF-versions, is quick and works stable
33700  without problems.
33701  The program 
33702 \family typewriter
33703 dvipdfm
33704 \family default
33705  is not under development and therefore a bit outdated.
33706 \end_layout
33707
33708 \begin_layout Standard
33709 You can view your document as PDF via the 
33710 \family sans
33711 View
33712 \family default
33713  menu or by using the toolbar button 
33714 \begin_inset Graphics
33715         filename ../images/buffer-view_pdf2.png
33716         scale 85
33717         scaleBeforeRotation
33718
33719 \end_inset
33720
33721  
33722 \family sans
33723 (
33724 \family default
33725 that uses 
33726 \family sans
33727 PDF
33728 \begin_inset space ~
33729 \end_inset
33730
33731 (pdflatex)
33732 \family default
33733 ).
33734 \end_layout
33735
33736 \begin_layout Chapter
33737 Explanation of Equation
33738 \begin_inset space ~
33739 \end_inset
33740
33741
33742 \begin_inset CommandInset ref
33743 LatexCommand eqref
33744 reference "eq:Wgn"
33745
33746 \end_inset
33747
33748
33749 \begin_inset CommandInset label
33750 LatexCommand label
33751 name "cha:Explanation-of-Equation"
33752
33753 \end_inset
33754
33755
33756 \end_layout
33757
33758 \begin_layout Standard
33759 The total width of 
33760 \emph on
33761 n
33762 \emph default
33763  table cells 
33764 \begin_inset Formula $W_{\mathrm{tot\, n}}$
33765 \end_inset
33766
33767  can be calculated to
33768 \end_layout
33769
33770 \begin_layout Standard
33771 \begin_inset Formula \begin{equation}
33772 W_{\mathrm{tot}\, n}=n\cdot(W_{g\, n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}\end{equation}
33773
33774 \end_inset
33775
33776
33777 \end_layout
33778
33779 \begin_layout Standard
33780 Where 
33781 \begin_inset Formula $W_{g\, n}$
33782 \end_inset
33783
33784  is the given width of all cells.
33785  
33786 \series bold
33787
33788 \backslash
33789 tabcolsep
33790 \series default
33791  is the LaTeX-length between the cell text and the cell border, its default
33792  value is 6
33793 \begin_inset space \thinspace{}
33794 \end_inset
33795
33796 pt.
33797  
33798 \series bold
33799
33800 \backslash
33801 arrayrulewidth
33802 \series default
33803  is the thickness of the cell border line, the default is 0.4
33804 \begin_inset space \thinspace{}
33805 \end_inset
33806
33807 pt.
33808 \end_layout
33809
33810 \begin_layout Standard
33811 Following equation
33812 \begin_inset space ~
33813 \end_inset
33814
33815
33816 \begin_inset CommandInset ref
33817 LatexCommand eqref
33818 reference "eq:Wtot_n"
33819
33820 \end_inset
33821
33822 , the total width of a multicolumn 
33823 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
33824 \end_inset
33825
33826  is
33827 \end_layout
33828
33829 \begin_layout Standard
33830 \begin_inset Formula \begin{equation}
33831 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
33832
33833 \end_inset
33834
33835
33836 \end_layout
33837
33838 \begin_layout Standard
33839 By setting equation
33840 \begin_inset space ~
33841 \end_inset
33842
33843
33844 \begin_inset CommandInset ref
33845 LatexCommand eqref
33846 reference "eq:Wtot_n"
33847
33848 \end_inset
33849
33850  and 
33851 \begin_inset CommandInset ref
33852 LatexCommand eqref
33853 reference "eq:Wtot_mult"
33854
33855 \end_inset
33856
33857  equal we can calculate the needed given width 
33858 \begin_inset Formula $W_{g\, n}$
33859 \end_inset
33860
33861  when 
33862 \emph on
33863 n
33864 \emph default
33865  columns are spanned, so that each column has a total width of 
33866 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
33867 \end_inset
33868
33869 :
33870 \end_layout
33871
33872 \begin_layout Standard
33873 \begin_inset Formula \begin{equation}
33874 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
33875
33876 \end_inset
33877
33878
33879 \end_layout
33880
33881 \begin_layout Bibliography
33882 \begin_inset CommandInset bibitem
33883 LatexCommand bibitem
33884 key "latexcompanion"
33885
33886 \end_inset
33887
33888 Frank Mittelbach and Michel Goossens: 
33889 \emph on
33890 The LaTeX Companion Second Edition.
33891
33892 \emph default
33893  Addison-Wesley, 2004
33894 \end_layout
33895
33896 \begin_layout Bibliography
33897 \begin_inset CommandInset bibitem
33898 LatexCommand bibitem
33899 key "latexguide"
33900
33901 \end_inset
33902
33903 Helmut Kopka and Patrick W.
33904  Daly: 
33905 \emph on
33906 A Guide to LaTeX Fourth Edition.
33907
33908 \emph default
33909  Addison-Wesley, 2003
33910 \end_layout
33911
33912 \begin_layout Bibliography
33913 \begin_inset CommandInset bibitem
33914 LatexCommand bibitem
33915 key "latexbook"
33916
33917 \end_inset
33918
33919 Leslie Lamport: 
33920 \emph on
33921 LaTeX: A Document Preparation System.
33922
33923 \emph default
33924  Addison-Wesley, second edition, 1994
33925 \end_layout
33926
33927 \begin_layout Bibliography
33928 \begin_inset CommandInset bibitem
33929 LatexCommand bibitem
33930 key "booktabs"
33931
33932 \end_inset
33933
33934 Documentation of the LaTeX-package 
33935 \series bold
33936
33937 \begin_inset CommandInset href
33938 LatexCommand href
33939 name "booktabs"
33940 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf"
33941
33942 \end_inset
33943
33944
33945 \series default
33946
33947 \begin_inset Index
33948 status collapsed
33949
33950 \begin_layout Plain Layout
33951 LaTeX-packages ! booktabs
33952 \end_layout
33953
33954 \end_inset
33955
33956
33957 \end_layout
33958
33959 \begin_layout Bibliography
33960 \begin_inset CommandInset bibitem
33961 LatexCommand bibitem
33962 key "caption"
33963
33964 \end_inset
33965
33966 Documentation of the LaTeX-package 
33967 \series bold
33968
33969 \begin_inset CommandInset href
33970 LatexCommand href
33971 name "caption"
33972 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf"
33973
33974 \end_inset
33975
33976
33977 \series default
33978
33979 \begin_inset Index
33980 status collapsed
33981
33982 \begin_layout Plain Layout
33983 LaTeX-packages ! caption
33984 \end_layout
33985
33986 \end_inset
33987
33988
33989 \end_layout
33990
33991 \begin_layout Bibliography
33992 \begin_inset CommandInset bibitem
33993 LatexCommand bibitem
33994 key "endfloat"
33995
33996 \end_inset
33997
33998 Documentation of the LaTeX-package 
33999 \series bold
34000
34001 \begin_inset CommandInset href
34002 LatexCommand href
34003 name "endfloat"
34004 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf"
34005
34006 \end_inset
34007
34008
34009 \series default
34010
34011 \begin_inset Index
34012 status collapsed
34013
34014 \begin_layout Plain Layout
34015 LaTeX-packages ! endfloat
34016 \end_layout
34017
34018 \end_inset
34019
34020
34021 \end_layout
34022
34023 \begin_layout Bibliography
34024 \begin_inset CommandInset bibitem
34025 LatexCommand bibitem
34026 key "wrapfig"
34027
34028 \end_inset
34029
34030 Documentation of the LaTeX-package 
34031 \series bold
34032
34033 \begin_inset CommandInset href
34034 LatexCommand href
34035 name "wrapfig"
34036 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/wrapfig/wrapfig.sty"
34037
34038 \end_inset
34039
34040
34041 \series default
34042
34043 \begin_inset Index
34044 status collapsed
34045
34046 \begin_layout Plain Layout
34047 LaTeX-packages ! wrapfig
34048 \begin_inset ERT
34049 status collapsed
34050
34051 \begin_layout Plain Layout
34052
34053
34054 \backslash
34055 vspace{4mm}
34056 \end_layout
34057
34058 \end_inset
34059
34060
34061 \end_layout
34062
34063 \end_inset
34064
34065
34066 \end_layout
34067
34068 \begin_layout Bibliography
34069 \begin_inset CommandInset bibitem
34070 LatexCommand bibitem
34071 key "footmisc"
34072
34073 \end_inset
34074
34075 Documentation of the LaTeX-package 
34076 \series bold
34077
34078 \begin_inset CommandInset href
34079 LatexCommand href
34080 name "footmisc"
34081 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf"
34082
34083 \end_inset
34084
34085
34086 \series default
34087
34088 \begin_inset Index
34089 status collapsed
34090
34091 \begin_layout Plain Layout
34092 LaTeX-packages ! footmisc
34093 \end_layout
34094
34095 \end_inset
34096
34097
34098 \end_layout
34099
34100 \begin_layout Bibliography
34101 \begin_inset CommandInset bibitem
34102 LatexCommand bibitem
34103 key "hypcap"
34104
34105 \end_inset
34106
34107 Documentation of the LaTeX-package 
34108 \series bold
34109
34110 \begin_inset CommandInset href
34111 LatexCommand href
34112 name "hypcap"
34113 target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
34114
34115 \end_inset
34116
34117
34118 \series default
34119
34120 \begin_inset Index
34121 status collapsed
34122
34123 \begin_layout Plain Layout
34124 LaTeX-packages ! hyperref
34125 \end_layout
34126
34127 \end_inset
34128
34129
34130 \end_layout
34131
34132 \begin_layout Bibliography
34133 \begin_inset CommandInset bibitem
34134 LatexCommand bibitem
34135 key "hyperref"
34136
34137 \end_inset
34138
34139 Documentation of the LaTeX-package 
34140 \series bold
34141
34142 \begin_inset CommandInset href
34143 LatexCommand href
34144 name "hyperref"
34145 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf"
34146
34147 \end_inset
34148
34149
34150 \series default
34151
34152 \begin_inset Index
34153 status collapsed
34154
34155 \begin_layout Plain Layout
34156 LaTeX-packages ! hyperref
34157 \end_layout
34158
34159 \end_inset
34160
34161
34162 \end_layout
34163
34164 \begin_layout Bibliography
34165 \begin_inset CommandInset bibitem
34166 LatexCommand bibitem
34167 key "koma-script"
34168
34169 \end_inset
34170
34171 Documentation of the LaTeX-package 
34172 \series bold
34173
34174 \begin_inset CommandInset href
34175 LatexCommand href
34176 name "koma-script"
34177 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf"
34178
34179 \end_inset
34180
34181
34182 \series default
34183
34184 \begin_inset Index
34185 status collapsed
34186
34187 \begin_layout Plain Layout
34188 LaTeX-packages ! koma-script
34189 \end_layout
34190
34191 \end_inset
34192
34193
34194 \end_layout
34195
34196 \begin_layout Bibliography
34197 \begin_inset CommandInset bibitem
34198 LatexCommand bibitem
34199 key "listings"
34200
34201 \end_inset
34202
34203 Documentation of the LaTeX-package 
34204 \series bold
34205
34206 \begin_inset CommandInset href
34207 LatexCommand href
34208 name "listings"
34209 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
34210
34211 \end_inset
34212
34213
34214 \series default
34215
34216 \begin_inset Index
34217 status collapsed
34218
34219 \begin_layout Plain Layout
34220 LaTeX-packages ! listings
34221 \end_layout
34222
34223 \end_inset
34224
34225
34226 \end_layout
34227
34228 \begin_layout Bibliography
34229 \begin_inset CommandInset bibitem
34230 LatexCommand bibitem
34231 key "marginnote"
34232
34233 \end_inset
34234
34235 Documentation of the LaTeX-package 
34236 \series bold
34237
34238 \begin_inset CommandInset href
34239 LatexCommand href
34240 name "marginnote"
34241 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
34242
34243 \end_inset
34244
34245
34246 \series default
34247
34248 \begin_inset Index
34249 status collapsed
34250
34251 \begin_layout Plain Layout
34252 LaTeX-packages ! marginnote
34253 \end_layout
34254
34255 \end_inset
34256
34257
34258 \end_layout
34259
34260 \begin_layout Bibliography
34261 \begin_inset CommandInset bibitem
34262 LatexCommand bibitem
34263 key "pstricks"
34264
34265 \end_inset
34266
34267 Web page of the LaTeX-package 
34268 \series bold
34269
34270 \begin_inset CommandInset href
34271 LatexCommand href
34272 name "PSTricks"
34273 target "http://tug.org/PSTricks/"
34274
34275 \end_inset
34276
34277
34278 \series default
34279
34280 \begin_inset Index
34281 status collapsed
34282
34283 \begin_layout Plain Layout
34284 LaTeX-packages ! PSTricks
34285 \end_layout
34286
34287 \end_inset
34288
34289
34290 \end_layout
34291
34292 \begin_layout Bibliography
34293 \begin_inset CommandInset bibitem
34294 LatexCommand bibitem
34295 key "sidecap"
34296
34297 \end_inset
34298
34299 Documentation of the LaTeX-package 
34300 \series bold
34301
34302 \begin_inset CommandInset href
34303 LatexCommand href
34304 name "sidecap"
34305 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
34306
34307 \end_inset
34308
34309
34310 \series default
34311
34312 \begin_inset Index
34313 status collapsed
34314
34315 \begin_layout Plain Layout
34316 LaTeX-packages ! sidecap
34317 \end_layout
34318
34319 \end_inset
34320
34321
34322 \end_layout
34323
34324 \begin_layout Bibliography
34325 \begin_inset CommandInset bibitem
34326 LatexCommand bibitem
34327 key "NewInLyX16"
34328
34329 \end_inset
34330
34331
34332 \begin_inset CommandInset href
34333 LatexCommand href
34334 name "Wiki page"
34335 target "http://wiki.lyx.org/LyX/NewInLyX16"
34336
34337 \end_inset
34338
34339  about new features in 
34340 \family sans
34341 LyX 1.6.0
34342 \family default
34343 .
34344 \end_layout
34345
34346 \begin_layout Standard
34347 \begin_inset CommandInset index_print
34348 LatexCommand printindex
34349
34350 \end_inset
34351
34352
34353 \end_layout
34354
34355 \begin_layout Standard
34356 \begin_inset FloatList figure
34357
34358 \end_inset
34359
34360
34361 \end_layout
34362
34363 \begin_layout Standard
34364 \begin_inset FloatList table
34365
34366 \end_inset
34367
34368
34369 \end_layout
34370
34371 \begin_layout Standard
34372 \begin_inset FloatList algorithm
34373
34374 \end_inset
34375
34376
34377 \end_layout
34378
34379 \end_body
34380 \end_document