]> git.lyx.org Git - lyx.git/blob - lib/doc/EmbeddedObjects.lyx
ec5dc1250c50c995034e1258a474611a4559345f
[lyx.git] / lib / doc / EmbeddedObjects.lyx
1 #LyX 1.6.4svn 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   \setboolean{sidecap}{true}}
156  {\setboolean{sidecap}{false}}
157
158 % redefine the \LyX macro for PDF bookmarks
159 \def\LyX{\texorpdfstring{%
160   L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
161   {LyX}}
162 \end_preamble
163 \options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove
164 \use_default_options false
165 \language english
166 \inputencoding auto
167 \font_roman default
168 \font_sans default
169 \font_typewriter default
170 \font_default_family default
171 \font_sc false
172 \font_osf false
173 \font_sf_scale 100
174 \font_tt_scale 100
175
176 \graphics default
177 \paperfontsize 12
178 \spacing single
179 \use_hyperref true
180 \pdf_title "LyX's Figure, Table, Floats, Notes, and Boxes manual"
181 \pdf_author "LyX Team, Uwe Stöhr"
182 \pdf_subject "LyX-documentation about figures, tables, floats, notes, and boxes"
183 \pdf_keywords "LyX, Tables, Figures, Floats, Boxes, Notes"
184 \pdf_bookmarks true
185 \pdf_bookmarksnumbered true
186 \pdf_bookmarksopen true
187 \pdf_bookmarksopenlevel 1
188 \pdf_breaklinks false
189 \pdf_pdfborder false
190 \pdf_colorlinks true
191 \pdf_backref false
192 \pdf_pdfusetitle false
193 \pdf_quoted_options " linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,  pdfpagelayout=OneColumn, pdfnewwindow=true,  pdfstartview=XYZ, plainpages=false, pdfpagelabels"
194 \papersize default
195 \use_geometry false
196 \use_amsmath 2
197 \use_esint 0
198 \cite_engine basic
199 \use_bibtopic false
200 \paperorientation portrait
201 \secnumdepth 3
202 \tocdepth 3
203 \paragraph_separation skip
204 \defskip medskip
205 \quotes_language english
206 \papercolumns 1
207 \papersides 2
208 \paperpagestyle default
209 \bullet 1 1 34 -1
210 \bullet 2 2 35 -1
211 \bullet 3 2 7 -1
212 \tracking_changes false
213 \output_changes false
214 \author "" 
215 \author "" 
216 \end_header
217
218 \begin_body
219
220 \begin_layout Title
221 LyX's detailed Figure, Table, Floats, Notes, Boxes and External Material
222  manual
223 \end_layout
224
225 \begin_layout Author
226 by the LyX Team
227 \begin_inset Foot
228 status collapsed
229
230 \begin_layout Plain Layout
231 \noindent
232 If you have comments or error corrections, please send them to the LyX Documenta
233 tion mailing list: 
234 \begin_inset CommandInset href
235 LatexCommand href
236 name "lyx-docs@lists.lyx.org"
237 target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
238 type "mailto:"
239
240 \end_inset
241
242
243 \end_layout
244
245 \end_inset
246
247
248 \begin_inset Note Note
249 status collapsed
250
251 \begin_layout Plain Layout
252 author: Uwe Stöhr
253 \end_layout
254
255 \end_inset
256
257
258 \begin_inset Newline newline
259 \end_inset
260
261
262 \begin_inset Newline newline
263 \end_inset
264
265
266 \family sans
267 Version 1.6.x
268 \end_layout
269
270 \begin_layout Standard
271 \begin_inset CommandInset toc
272 LatexCommand tableofcontents
273
274 \end_inset
275
276
277 \end_layout
278
279 \begin_layout Standard
280 \begin_inset Note Note
281 status open
282
283 \begin_layout Plain Layout
284 To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
285  
286 \series bold
287 arydshln
288 \series default
289
290 \series bold
291 colortbl
292 \series default
293
294 \series bold
295 marginnote
296 \series default
297 , and 
298 \series bold
299 sidecap
300 \series default
301  must be installed.
302  If they are not installed you can export the document anyway but the sections
303  where the packages are required won't appear in the output.
304 \end_layout
305
306 \begin_layout Plain Layout
307 The latest PDF-version of this document can be found here:
308 \begin_inset Newline newline
309 \end_inset
310
311
312 \series bold
313 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
314 \end_layout
315
316 \end_inset
317
318
319 \end_layout
320
321 \begin_layout Chapter
322 Figures
323 \begin_inset Index
324 status collapsed
325
326 \begin_layout Plain Layout
327 Figures
328 \end_layout
329
330 \end_inset
331
332
333 \begin_inset Index
334 status collapsed
335
336 \begin_layout Plain Layout
337 Graphics|see
338 \begin_inset ERT
339 status collapsed
340
341 \begin_layout Plain Layout
342
343 {
344 \end_layout
345
346 \end_inset
347
348 Figures
349 \begin_inset ERT
350 status collapsed
351
352 \begin_layout Plain Layout
353
354 }
355 \end_layout
356
357 \end_inset
358
359
360 \end_layout
361
362 \end_inset
363
364
365 \end_layout
366
367 \begin_layout Section
368 Graphics Dialog
369 \begin_inset Index
370 status collapsed
371
372 \begin_layout Plain Layout
373 Figures ! Graphics Dialog
374 \end_layout
375
376 \end_inset
377
378
379 \begin_inset CommandInset label
380 LatexCommand label
381 name "sec:Graphics-Dialog"
382
383 \end_inset
384
385
386 \end_layout
387
388 \begin_layout Standard
389 To insert an image into your document, place the cursor at the text position
390  you want and click on the toolbar icon 
391 \begin_inset Graphics
392         filename ../images/dialog-show-new-inset_graphics.png
393         scale 85
394         scaleBeforeRotation
395
396 \end_inset
397
398  or use the menu 
399 \family sans
400 Insert\SpecialChar \menuseparator
401 Graphics
402 \family default
403 .
404  Then a dialog will appear to choose the file to load.
405  The image will appear in the output exactly at the position where it is
406  in the text.
407 \end_layout
408
409 \begin_layout Standard
410 The graphics dialog can be called at any time by clicking on an image.
411  This dialog has three tabs:
412 \end_layout
413
414 \begin_layout Description
415
416 \family sans
417 Graphics
418 \family default
419  Here you can choose an image file and adjust its appearance in the output.
420  The available units for the image size are explained in appendix
421 \begin_inset space ~
422 \end_inset
423
424
425 \begin_inset CommandInset ref
426 LatexCommand ref
427 reference "cha:Units-available-in"
428
429 \end_inset
430
431 .
432 \begin_inset Newline newline
433 \end_inset
434
435
436 \begin_inset Index
437 status collapsed
438
439 \begin_layout Plain Layout
440 Figures ! rotated
441 \end_layout
442
443 \end_inset
444
445 You can rotate images counter-clockwise by setting a rotation angle and
446  a rotation origin.
447  The image will also be rotated inside LyX.
448 \begin_inset Newline newline
449 \end_inset
450
451
452 \begin_inset Index
453 status collapsed
454
455 \begin_layout Plain Layout
456 Figures ! scaled
457 \end_layout
458
459 \end_inset
460
461 Images can be scaled by using a percentage value or by setting the width
462  and height explicitly.
463  If you set only the width or only the height, the other size will be determined
464  automatically.
465  If you set both, then the image will be transformed to the given size,
466  possibly distorting it.
467  To prevent the image from distortion, use the option 
468 \family sans
469 Maintain aspect ratio
470 \family default
471 .
472  The image will then be scaled so that its width and height don't exceed
473  the specified dimensions.
474 \begin_inset Newline newline
475 \end_inset
476
477 Images can be opened in a program of your choice by right-clicking on it
478  choosing the entry 
479 \family sans
480 Edit
481 \begin_inset space ~
482 \end_inset
483
484 externally
485 \family default
486  in the appearing context menu.
487  The program can be set for every image format in the file format settings
488  in LyX's preferences.
489 \end_layout
490
491 \begin_layout Description
492
493 \family sans
494 Clipping
495 \family default
496  Alternatively to the usage of scaling units it is possible to set image
497  coordinates to adjust the height and width of the image in the output.
498  The coordinates can also be calculated automatically by pressing the button
499  
500 \family sans
501 Get
502 \begin_inset space ~
503 \end_inset
504
505 from
506 \begin_inset space ~
507 \end_inset
508
509 File
510 \family default
511 .
512  The option 
513 \family sans
514 Clip
515 \begin_inset space ~
516 \end_inset
517
518 to
519 \begin_inset space ~
520 \end_inset
521
522 bounding
523 \begin_inset space ~
524 \end_inset
525
526 box
527 \family default
528  will only print the image region within the given coordinates.
529  Normally you don't need to take care about image coordinates and can ignore
530  this tab.
531 \end_layout
532
533 \begin_layout Description
534
535 \family sans
536 LaTeX
537 \begin_inset space ~
538 \end_inset
539
540 and
541 \begin_inset space ~
542 \end_inset
543
544 LyX
545 \begin_inset space ~
546 \end_inset
547
548 options
549 \family default
550  In this tab you can modify the appearance of the image within LyX and LaTeX
551  experts can specify additional LaTeX options.
552 \begin_inset Newline newline
553 \end_inset
554
555 The option 
556 \family sans
557 Draft
558 \begin_inset space ~
559 \end_inset
560
561 mode
562 \family default
563  makes the image appear in the output only as a frame with the size of the
564  image.
565 \begin_inset Newline newline
566 \end_inset
567
568 The 
569 \family sans
570 Don't
571 \begin_inset space ~
572 \end_inset
573
574 unzip
575 \begin_inset space ~
576 \end_inset
577
578 on
579 \begin_inset space ~
580 \end_inset
581
582 export
583 \family default
584  option only affects zipped EPS-graphics, e.
585 \begin_inset space \thinspace{}
586 \end_inset
587
588 g.
589 \begin_inset space \space{}
590 \end_inset
591
592
593 \emph on
594 x.eps.gz
595 \emph default
596 .
597  When the option is used the images will not be unzipped on export, since
598  LaTeX can handle them as they are.
599 \begin_inset Newline newline
600 \end_inset
601
602 Zipped EPS-graphics are useful to save disk space when you choose PostScript
603  as output format, see appendix
604 \begin_inset space ~
605 \end_inset
606
607
608 \begin_inset CommandInset ref
609 LatexCommand ref
610 reference "sec:PostScript"
611
612 \end_inset
613
614 .
615  To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows
616  console:
617 \begin_inset Newline newline
618 \end_inset
619
620
621 \series bold
622 gzip x.eps
623 \series default
624
625 \begin_inset Newline newline
626 \end_inset
627
628
629 \series bold
630 zgrep %%Bounding x.eps.gz > x.eps.bb
631 \series default
632
633 \begin_inset Newline newline
634 \end_inset
635
636 The second command creates the bounding box file 
637 \begin_inset Quotes eld
638 \end_inset
639
640 x.eps.bb
641 \begin_inset Quotes erd
642 \end_inset
643
644  that is needed by LaTeX for zipped graphics.
645 \begin_inset Newline newline
646 \end_inset
647
648 The field 
649 \family sans
650 Initialize
651 \begin_inset space ~
652 \end_inset
653
654 Group
655 \begin_inset space ~
656 \end_inset
657
658 Name
659 \family default
660  allows you define or join an image settings group.
661 \begin_inset Index
662 status collapsed
663
664 \begin_layout Plain Layout
665 Figures ! Settings grouping
666 \end_layout
667
668 \end_inset
669
670  Images within such a group share their settings, so adjusting one image
671  of the group automatically also adjusts all other images of the group in
672  the same way.
673  So you can for example change the size for a bunch of images without the
674  need to manually change each of them.
675  Joining an existing group can also be done using the context menu of the
676  image by checking the name of the desired group.
677 \end_layout
678
679 \begin_layout Standard
680 \begin_inset VSpace bigskip
681 \end_inset
682
683
684 \end_layout
685
686 \begin_layout Standard
687 This is an example image in EPS format
688 \begin_inset Foot
689 status collapsed
690
691 \begin_layout Plain Layout
692 Image formats are explained in section
693 \begin_inset space ~
694 \end_inset
695
696
697 \begin_inset CommandInset ref
698 LatexCommand ref
699 reference "sec:Image-Formats"
700
701 \end_inset
702
703 .
704 \end_layout
705
706 \end_inset
707
708  within a separate, horizontally centered paragraph:
709 \end_layout
710
711 \begin_layout Standard
712 \align center
713 \begin_inset Graphics
714         filename clipart/mobius.eps
715         scale 70
716         scaleBeforeRotation
717         rotateOrigin center
718
719 \end_inset
720
721
722 \end_layout
723
724 \begin_layout Standard
725 This is the same image like the one above but in draft mode:
726 \end_layout
727
728 \begin_layout Standard
729 \align center
730 \begin_inset Graphics
731         filename clipart/mobius.eps
732         scale 70
733         draft
734         scaleBeforeRotation
735         rotateOrigin center
736
737 \end_inset
738
739
740 \end_layout
741
742 \begin_layout Standard
743 \begin_inset Newpage newpage
744 \end_inset
745
746
747 \end_layout
748
749 \begin_layout Section
750 Figure Floats
751 \begin_inset CommandInset label
752 LatexCommand label
753 name "sec:Figure-Floats"
754
755 \end_inset
756
757
758 \begin_inset Index
759 status collapsed
760
761 \begin_layout Plain Layout
762 Floats ! Figures
763 \end_layout
764
765 \end_inset
766
767
768 \begin_inset Index
769 status collapsed
770
771 \begin_layout Plain Layout
772 Figures ! Floats
773 \end_layout
774
775 \end_inset
776
777
778 \end_layout
779
780 \begin_layout Standard
781 For general explanations about floats, have a look at section
782 \begin_inset space ~
783 \end_inset
784
785
786 \begin_inset CommandInset ref
787 LatexCommand ref
788 reference "sec:FloatIntroduction"
789
790 \end_inset
791
792 .
793 \end_layout
794
795 \begin_layout Standard
796 The toolbar button 
797 \begin_inset Graphics
798         filename ../images/float-insert_figure.png
799         scale 85
800         scaleBeforeRotation
801
802 \end_inset
803
804  and the menu 
805 \family sans
806 Insert\SpecialChar \menuseparator
807 Float\SpecialChar \menuseparator
808 Figure
809 \family default
810  inserts a float with a caption that has the label 
811 \begin_inset Quotes eld
812 \end_inset
813
814 Figure
815 \begin_inset space ~
816 \end_inset
817
818 #:
819 \begin_inset Quotes erd
820 \end_inset
821
822  (# is the actual number).
823  You can insert the image above the caption, like in Figure
824 \begin_inset space ~
825 \end_inset
826
827
828 \begin_inset CommandInset ref
829 LatexCommand ref
830 reference "fig:kill-plat"
831
832 \end_inset
833
834  or below the caption, like in Figure
835 \begin_inset space ~
836 \end_inset
837
838
839 \begin_inset CommandInset ref
840 LatexCommand ref
841 reference "fig:escher"
842
843 \end_inset
844
845 .
846  More about the caption placement is described in section
847 \begin_inset space ~
848 \end_inset
849
850
851 \begin_inset CommandInset ref
852 LatexCommand ref
853 reference "sec:Caption-Placement"
854
855 \end_inset
856
857 .
858 \end_layout
859
860 \begin_layout Standard
861 \begin_inset Float figure
862 wide false
863 sideways false
864 status open
865
866 \begin_layout Plain Layout
867 \align center
868 \begin_inset Graphics
869         filename clipart/platypus.eps
870         width 50col%
871         scaleBeforeRotation
872         rotateOrigin center
873
874 \end_inset
875
876
877 \end_layout
878
879 \begin_layout Plain Layout
880 \begin_inset Caption
881
882 \begin_layout Plain Layout
883 \begin_inset CommandInset label
884 LatexCommand label
885 name "fig:kill-plat"
886
887 \end_inset
888
889 A severely distorted platypus in a float.
890 \end_layout
891
892 \end_inset
893
894
895 \end_layout
896
897 \end_inset
898
899
900 \end_layout
901
902 \begin_layout Standard
903 \begin_inset Float figure
904 wide false
905 sideways false
906 status open
907
908 \begin_layout Plain Layout
909 \begin_inset Caption
910
911 \begin_layout Plain Layout
912 \begin_inset CommandInset label
913 LatexCommand label
914 name "fig:escher"
915
916 \end_inset
917
918 M.C.
919  Escher on acid.
920 \end_layout
921
922 \end_inset
923
924
925 \end_layout
926
927 \begin_layout Plain Layout
928 \align center
929 \begin_inset Graphics
930         filename clipart/escher-lsd.eps
931         scale 80
932         scaleBeforeRotation
933         rotateOrigin center
934
935 \end_inset
936
937
938 \end_layout
939
940 \end_inset
941
942
943 \end_layout
944
945 \begin_layout Standard
946 \begin_inset Index
947 status collapsed
948
949 \begin_layout Plain Layout
950 References ! to Figures
951 \end_layout
952
953 \end_inset
954
955 Figure
956 \begin_inset space ~
957 \end_inset
958
959
960 \begin_inset CommandInset ref
961 LatexCommand ref
962 reference "fig:kill-plat"
963
964 \end_inset
965
966  and 
967 \begin_inset CommandInset ref
968 LatexCommand ref
969 reference "fig:escher"
970
971 \end_inset
972
973  are examples of referenced figures.
974  Figures can be referenced in the text by referencing their label.
975  To do this insert a label in the caption using the menu 
976 \family sans
977 Insert\SpecialChar \menuseparator
978 Label
979 \family default
980  or the toolbar button 
981 \begin_inset Graphics
982         filename ../images/label-insert.png
983         scale 85
984         scaleBeforeRotation
985
986 \end_inset
987
988 .
989  You can now refer to the label using the menu 
990 \family sans
991 Insert\SpecialChar \menuseparator
992 Cross
993 \begin_inset space ~
994 \end_inset
995
996 reference
997 \family default
998  or the toolbar button 
999 \begin_inset Graphics
1000         filename ../images/dialog-show-new-inset_ref.png
1001         scale 85
1002         scaleBeforeRotation
1003
1004 \end_inset
1005
1006 .
1007  It is important to use references to floats, rather than using vague references
1008  like 
1009 \begin_inset Quotes eld
1010 \end_inset
1011
1012 the figure above
1013 \begin_inset Quotes erd
1014 \end_inset
1015
1016 , because as LaTeX will reposition the floats in the final document, it
1017  might not be 
1018 \begin_inset Quotes eld
1019 \end_inset
1020
1021 above
1022 \begin_inset Quotes erd
1023 \end_inset
1024
1025  at all.
1026 \begin_inset Newline newline
1027 \end_inset
1028
1029 Referencing is explained in detail in section
1030 \begin_inset space ~
1031 \end_inset
1032
1033
1034 \begin_inset CommandInset ref
1035 LatexCommand ref
1036 reference "sec:Referencing-Floats"
1037
1038 \end_inset
1039
1040 .
1041 \end_layout
1042
1043 \begin_layout Standard
1044 Normally only one image is inserted to a figure float, but sometimes you
1045  might want to use two images with separate subcaptions.
1046  This can be done by inserting image floats into existing image floats.
1047  Note that only the main caption of the float is added to the List of Figures.
1048  Figure
1049 \begin_inset space ~
1050 \end_inset
1051
1052
1053 \begin_inset CommandInset ref
1054 LatexCommand ref
1055 reference "fig:Two-distorted-images"
1056
1057 \end_inset
1058
1059  is an example of a figure float with two images set side by side.
1060  You can also set the images one below the other.
1061  Figure
1062 \begin_inset space ~
1063 \end_inset
1064
1065
1066 \begin_inset CommandInset ref
1067 LatexCommand ref
1068 reference "fig:Undefinable-structure"
1069
1070 \end_inset
1071
1072  and 
1073 \begin_inset CommandInset ref
1074 LatexCommand ref
1075 reference "fig:A-Platypus"
1076
1077 \end_inset
1078
1079  are the subfigures.
1080 \end_layout
1081
1082 \begin_layout Standard
1083 \begin_inset Float figure
1084 wide false
1085 sideways false
1086 status open
1087
1088 \begin_layout Plain Layout
1089 \begin_inset space \hfill{}
1090 \end_inset
1091
1092
1093 \begin_inset Float figure
1094 wide false
1095 sideways false
1096 status collapsed
1097
1098 \begin_layout Plain Layout
1099 \begin_inset Caption
1100
1101 \begin_layout Plain Layout
1102 \begin_inset CommandInset label
1103 LatexCommand label
1104 name "fig:Undefinable-structure"
1105
1106 \end_inset
1107
1108 Undefinable structure.
1109 \end_layout
1110
1111 \end_inset
1112
1113
1114 \end_layout
1115
1116 \begin_layout Plain Layout
1117 \begin_inset Graphics
1118         filename clipart/escher-lsd.eps
1119         width 45col%
1120         scaleBeforeRotation
1121         groupId distorted
1122
1123 \end_inset
1124
1125
1126 \end_layout
1127
1128 \end_inset
1129
1130
1131 \begin_inset space \hfill{}
1132 \end_inset
1133
1134
1135 \begin_inset Float figure
1136 wide false
1137 sideways false
1138 status collapsed
1139
1140 \begin_layout Plain Layout
1141 \begin_inset Caption
1142
1143 \begin_layout Plain Layout
1144 \begin_inset CommandInset label
1145 LatexCommand label
1146 name "fig:A-Platypus"
1147
1148 \end_inset
1149
1150 A Platypus.
1151 \end_layout
1152
1153 \end_inset
1154
1155
1156 \end_layout
1157
1158 \begin_layout Plain Layout
1159 \begin_inset Graphics
1160         filename clipart/platypus.eps
1161         width 45col%
1162         scaleBeforeRotation
1163         groupId distorted
1164
1165 \end_inset
1166
1167
1168 \end_layout
1169
1170 \end_inset
1171
1172
1173 \begin_inset space \hfill{}
1174 \end_inset
1175
1176
1177 \end_layout
1178
1179 \begin_layout Plain Layout
1180 \begin_inset Caption
1181
1182 \begin_layout Plain Layout
1183 \begin_inset CommandInset label
1184 LatexCommand label
1185 name "fig:Two-distorted-images"
1186
1187 \end_inset
1188
1189 Two distorted images.
1190  Both images are in the image settings group named 
1191 \begin_inset Quotes eld
1192 \end_inset
1193
1194 distorted
1195 \begin_inset Quotes erd
1196 \end_inset
1197
1198 .
1199 \end_layout
1200
1201 \end_inset
1202
1203
1204 \end_layout
1205
1206 \end_inset
1207
1208
1209 \end_layout
1210
1211 \begin_layout Standard
1212 \begin_inset Newpage newpage
1213 \end_inset
1214
1215
1216 \end_layout
1217
1218 \begin_layout Section
1219 Image Formats
1220 \begin_inset CommandInset label
1221 LatexCommand label
1222 name "sec:Image-Formats"
1223
1224 \end_inset
1225
1226
1227 \begin_inset Index
1228 status collapsed
1229
1230 \begin_layout Plain Layout
1231 Image Formats
1232 \end_layout
1233
1234 \end_inset
1235
1236
1237 \begin_inset Index
1238 status collapsed
1239
1240 \begin_layout Plain Layout
1241 Figures ! Image Formats
1242 \end_layout
1243
1244 \end_inset
1245
1246
1247 \end_layout
1248
1249 \begin_layout Standard
1250 You can insert images in any known file format.
1251  But as explained in appendix
1252 \begin_inset space ~
1253 \end_inset
1254
1255
1256 \begin_inset CommandInset ref
1257 LatexCommand ref
1258 reference "cha:Output-File-Formats"
1259
1260 \end_inset
1261
1262 , every output document format allows only a few image formats.
1263  LyX uses therefore the program 
1264 \family typewriter
1265 Imagemagick
1266 \family default
1267  in the background to convert the images to the right format.
1268  To increase your work flow by avoiding these conversions in the background,
1269  you can use only the image formats that can directly be embedded in the
1270  output file format.
1271  The output file formats are explained in appendix
1272 \begin_inset space ~
1273 \end_inset
1274
1275
1276 \begin_inset CommandInset ref
1277 LatexCommand ref
1278 reference "cha:Output-File-Formats"
1279
1280 \end_inset
1281
1282 .
1283 \end_layout
1284
1285 \begin_layout Standard
1286 Similar to fonts there are two types of image formats:
1287 \end_layout
1288
1289 \begin_layout Description
1290 Bitmap
1291 \begin_inset space ~
1292 \end_inset
1293
1294 images consist of pixel values, often in a compressed form.
1295  They are therefore not fully scalable and look pixeled in large zooms.
1296  Well-known bitmap image formats are 
1297 \begin_inset Quotes eld
1298 \end_inset
1299
1300 Graphics Interchange Format
1301 \begin_inset Quotes erd
1302 \end_inset
1303
1304  (GIF, file extension 
1305 \begin_inset Quotes eld
1306 \end_inset
1307
1308
1309 \family typewriter
1310 .gif
1311 \family default
1312
1313 \begin_inset Quotes erd
1314 \end_inset
1315
1316 )
1317 \begin_inset Index
1318 status collapsed
1319
1320 \begin_layout Plain Layout
1321 GIF|see
1322 \begin_inset ERT
1323 status collapsed
1324
1325 \begin_layout Plain Layout
1326
1327 {
1328 \end_layout
1329
1330 \end_inset
1331
1332 Image formats
1333 \begin_inset ERT
1334 status collapsed
1335
1336 \begin_layout Plain Layout
1337
1338 }
1339 \end_layout
1340
1341 \end_inset
1342
1343
1344 \end_layout
1345
1346 \end_inset
1347
1348
1349 \begin_inset Quotes eld
1350 \end_inset
1351
1352 Portable Network Graphics
1353 \begin_inset Quotes erd
1354 \end_inset
1355
1356  (PNG, file extension 
1357 \begin_inset Quotes eld
1358 \end_inset
1359
1360
1361 \family typewriter
1362 .png
1363 \family default
1364
1365 \begin_inset Quotes erd
1366 \end_inset
1367
1368 )
1369 \begin_inset Index
1370 status collapsed
1371
1372 \begin_layout Plain Layout
1373 PNG|see
1374 \begin_inset ERT
1375 status collapsed
1376
1377 \begin_layout Plain Layout
1378
1379 {
1380 \end_layout
1381
1382 \end_inset
1383
1384 Image formats
1385 \begin_inset ERT
1386 status collapsed
1387
1388 \begin_layout Plain Layout
1389
1390 }
1391 \end_layout
1392
1393 \end_inset
1394
1395
1396 \end_layout
1397
1398 \end_inset
1399
1400 , and 
1401 \begin_inset Quotes eld
1402 \end_inset
1403
1404 Joint Photographic Experts Group
1405 \begin_inset Quotes erd
1406 \end_inset
1407
1408  (JPG, file extension 
1409 \begin_inset Quotes eld
1410 \end_inset
1411
1412
1413 \family typewriter
1414 .jpg
1415 \family default
1416
1417 \begin_inset Quotes erd
1418 \end_inset
1419
1420  or 
1421 \begin_inset Quotes eld
1422 \end_inset
1423
1424
1425 \family typewriter
1426 .jpeg
1427 \family default
1428
1429 \begin_inset Quotes erd
1430 \end_inset
1431
1432 )
1433 \begin_inset Index
1434 status collapsed
1435
1436 \begin_layout Plain Layout
1437 JPG|see
1438 \begin_inset ERT
1439 status collapsed
1440
1441 \begin_layout Plain Layout
1442
1443 {
1444 \end_layout
1445
1446 \end_inset
1447
1448 Image formats
1449 \begin_inset ERT
1450 status collapsed
1451
1452 \begin_layout Plain Layout
1453
1454 }
1455 \end_layout
1456
1457 \end_inset
1458
1459
1460 \end_layout
1461
1462 \end_inset
1463
1464 .
1465 \end_layout
1466
1467 \begin_layout Description
1468 Vector
1469 \begin_inset space ~
1470 \end_inset
1471
1472 images consist of vectors and can therefore be scaled to any size without
1473  data loss.
1474  The scaling ability is necessary if you want to create presentations, because
1475  presentations are always scaled by the video projector.
1476  Scaling is also useful for online documents to let the user zoom into diagrams.
1477 \begin_inset Newline newline
1478 \end_inset
1479
1480 Well-known scalable image formats are 
1481 \begin_inset Quotes eld
1482 \end_inset
1483
1484 Scalable Vector Graphics
1485 \begin_inset Quotes erd
1486 \end_inset
1487
1488  (SVG, file extension 
1489 \begin_inset Quotes eld
1490 \end_inset
1491
1492
1493 \family typewriter
1494 .svg
1495 \family default
1496
1497 \begin_inset Quotes erd
1498 \end_inset
1499
1500 )
1501 \begin_inset Index
1502 status collapsed
1503
1504 \begin_layout Plain Layout
1505 SVG|see
1506 \begin_inset ERT
1507 status collapsed
1508
1509 \begin_layout Plain Layout
1510
1511 {
1512 \end_layout
1513
1514 \end_inset
1515
1516 Image formats
1517 \begin_inset ERT
1518 status collapsed
1519
1520 \begin_layout Plain Layout
1521
1522 }
1523 \end_layout
1524
1525 \end_inset
1526
1527
1528 \end_layout
1529
1530 \end_inset
1531
1532
1533 \begin_inset Quotes eld
1534 \end_inset
1535
1536 Encapsulated PostScript
1537 \begin_inset Quotes erd
1538 \end_inset
1539
1540  (EPS, file extension 
1541 \begin_inset Quotes eld
1542 \end_inset
1543
1544
1545 \family typewriter
1546 .eps
1547 \family default
1548
1549 \begin_inset Quotes erd
1550 \end_inset
1551
1552 )
1553 \begin_inset Index
1554 status collapsed
1555
1556 \begin_layout Plain Layout
1557 EPS|see
1558 \begin_inset ERT
1559 status collapsed
1560
1561 \begin_layout Plain Layout
1562
1563 {
1564 \end_layout
1565
1566 \end_inset
1567
1568 Image formats
1569 \begin_inset ERT
1570 status collapsed
1571
1572 \begin_layout Plain Layout
1573
1574 }
1575 \end_layout
1576
1577 \end_inset
1578
1579
1580 \end_layout
1581
1582 \end_inset
1583
1584
1585 \begin_inset Quotes eld
1586 \end_inset
1587
1588 Portable Document Format
1589 \begin_inset Quotes erd
1590 \end_inset
1591
1592  (PDF, file extension 
1593 \begin_inset Quotes eld
1594 \end_inset
1595
1596
1597 \family typewriter
1598 .pdf
1599 \family default
1600
1601 \begin_inset Quotes erd
1602 \end_inset
1603
1604 )
1605 \begin_inset Index
1606 status collapsed
1607
1608 \begin_layout Plain Layout
1609 PDF
1610 \end_layout
1611
1612 \end_inset
1613
1614 , and 
1615 \begin_inset Quotes eld
1616 \end_inset
1617
1618 Windows Metafile
1619 \begin_inset Quotes erd
1620 \end_inset
1621
1622  (WMF, file extension 
1623 \begin_inset Quotes eld
1624 \end_inset
1625
1626
1627 \family typewriter
1628 .wmf
1629 \family default
1630
1631 \begin_inset Quotes erd
1632 \end_inset
1633
1634 )
1635 \begin_inset Index
1636 status collapsed
1637
1638 \begin_layout Plain Layout
1639 SVG|see
1640 \begin_inset ERT
1641 status collapsed
1642
1643 \begin_layout Plain Layout
1644
1645 {
1646 \end_layout
1647
1648 \end_inset
1649
1650 Image formats
1651 \begin_inset ERT
1652 status collapsed
1653
1654 \begin_layout Plain Layout
1655
1656 }
1657 \end_layout
1658
1659 \end_inset
1660
1661
1662 \end_layout
1663
1664 \end_inset
1665
1666 .
1667  We wrote 
1668 \begin_inset Quotes eld
1669 \end_inset
1670
1671 can be
1672 \begin_inset Quotes erd
1673 \end_inset
1674
1675 , because you can convert any bitmap image to a PDF or EPS-image and the
1676  result will still be a bitmap image.
1677  In this cases only a header with the image properties is added to the original
1678  image
1679 \begin_inset Foot
1680 status collapsed
1681
1682 \begin_layout Plain Layout
1683 In the case of PDF, the original image is additionally compressed.
1684 \end_layout
1685
1686 \end_inset
1687
1688 .
1689  The PDF-files generated by 
1690 \family typewriter
1691 Adobe Photoshop
1692 \family default
1693  are for example bitmap images.
1694 \end_layout
1695
1696 \begin_layout Standard
1697 Normally it is not possible to convert a bitmap image into a scalable one,
1698  only vice versa.
1699  Only the image formats PDF and EPS can directly be embedded to PDF and
1700  PostScript output files, respectively.
1701  SVG and WMF-images are recalculated to bitmaps when the output file is
1702  generated because there is currently no adequate WMF/SVG
1703 \begin_inset Formula $\to$
1704 \end_inset
1705
1706 PDF/EPS converter available.
1707 \end_layout
1708
1709 \begin_layout Chapter
1710 Tables
1711 \begin_inset Index
1712 status collapsed
1713
1714 \begin_layout Plain Layout
1715 Table
1716 \end_layout
1717
1718 \end_inset
1719
1720
1721 \end_layout
1722
1723 \begin_layout Section
1724 Introduction
1725 \begin_inset Index
1726 status collapsed
1727
1728 \begin_layout Plain Layout
1729 Table ! Introduction
1730 \end_layout
1731
1732 \end_inset
1733
1734
1735 \end_layout
1736
1737 \begin_layout Standard
1738 You can insert a table using either the toolbar button 
1739 \begin_inset Graphics
1740         filename ../images/tabular-insert.png
1741         scale 85
1742         scaleBeforeRotation
1743
1744 \end_inset
1745
1746  or the menu 
1747 \family sans
1748 Insert\SpecialChar \menuseparator
1749 Table
1750 \family default
1751 .
1752  The toolbar button offers you a graphical selection: Move the mouse to
1753  set the column/row number of the table that should be created and then
1754  press a mouse button.
1755  When you use the menu to create a table, a dialog will appear, asking you
1756  for the number of rows and columns.
1757 \begin_inset Newline newline
1758 \end_inset
1759
1760  The default table has lines around any cell and the first row appears separated
1761  from the rest of the table.
1762  This separation occurs due to a double line: The cells of the first row
1763  have a line below them and the cells of the second row have a line above
1764  them.
1765  Here is an example table:
1766 \end_layout
1767
1768 \begin_layout Standard
1769 \align center
1770 \begin_inset Tabular
1771 <lyxtabular version="3" rows="4" columns="4">
1772 <features>
1773 <column alignment="center" valignment="top" width="0">
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 <row>
1778 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1779 \begin_inset Text
1780
1781 \begin_layout Plain Layout
1782
1783 \end_layout
1784
1785 \end_inset
1786 </cell>
1787 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1788 \begin_inset Text
1789
1790 \begin_layout Plain Layout
1791
1792 \family roman
1793 \series medium
1794 \shape up
1795 \size normal
1796 \emph off
1797 \bar no
1798 \noun off
1799 \color none
1800 1
1801 \end_layout
1802
1803 \end_inset
1804 </cell>
1805 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1806 \begin_inset Text
1807
1808 \begin_layout Plain Layout
1809 2
1810 \end_layout
1811
1812 \end_inset
1813 </cell>
1814 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1815 \begin_inset Text
1816
1817 \begin_layout Plain Layout
1818 3
1819 \end_layout
1820
1821 \end_inset
1822 </cell>
1823 </row>
1824 <row>
1825 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1826 \begin_inset Text
1827
1828 \begin_layout Plain Layout
1829
1830 \family roman
1831 \series medium
1832 \shape up
1833 \size normal
1834 \emph off
1835 \bar no
1836 \noun off
1837 \color none
1838 A
1839 \end_layout
1840
1841 \end_inset
1842 </cell>
1843 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1844 \begin_inset Text
1845
1846 \begin_layout Plain Layout
1847
1848 \end_layout
1849
1850 \end_inset
1851 </cell>
1852 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1853 \begin_inset Text
1854
1855 \begin_layout Plain Layout
1856
1857 \end_layout
1858
1859 \end_inset
1860 </cell>
1861 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1862 \begin_inset Text
1863
1864 \begin_layout Plain Layout
1865
1866 \end_layout
1867
1868 \end_inset
1869 </cell>
1870 </row>
1871 <row>
1872 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1873 \begin_inset Text
1874
1875 \begin_layout Plain Layout
1876
1877 \family roman
1878 \series medium
1879 \shape up
1880 \size normal
1881 \emph off
1882 \bar no
1883 \noun off
1884 \color none
1885 B
1886 \end_layout
1887
1888 \end_inset
1889 </cell>
1890 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1891 \begin_inset Text
1892
1893 \begin_layout Plain Layout
1894
1895 \end_layout
1896
1897 \end_inset
1898 </cell>
1899 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1900 \begin_inset Text
1901
1902 \begin_layout Plain Layout
1903
1904 \end_layout
1905
1906 \end_inset
1907 </cell>
1908 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1909 \begin_inset Text
1910
1911 \begin_layout Plain Layout
1912
1913 \end_layout
1914
1915 \end_inset
1916 </cell>
1917 </row>
1918 <row>
1919 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1920 \begin_inset Text
1921
1922 \begin_layout Plain Layout
1923
1924 \family roman
1925 \series medium
1926 \shape up
1927 \size normal
1928 \emph off
1929 \bar no
1930 \noun off
1931 \color none
1932 C
1933 \end_layout
1934
1935 \end_inset
1936 </cell>
1937 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1938 \begin_inset Text
1939
1940 \begin_layout Plain Layout
1941
1942 \end_layout
1943
1944 \end_inset
1945 </cell>
1946 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1947 \begin_inset Text
1948
1949 \begin_layout Plain Layout
1950
1951 \end_layout
1952
1953 \end_inset
1954 </cell>
1955 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1956 \begin_inset Text
1957
1958 \begin_layout Plain Layout
1959
1960 \end_layout
1961
1962 \end_inset
1963 </cell>
1964 </row>
1965 </lyxtabular>
1966
1967 \end_inset
1968
1969
1970 \end_layout
1971
1972 \begin_layout Section
1973 Table Dialog
1974 \begin_inset Index
1975 status collapsed
1976
1977 \begin_layout Plain Layout
1978 Table ! Dialog
1979 \end_layout
1980
1981 \end_inset
1982
1983
1984 \end_layout
1985
1986 \begin_layout Standard
1987 You can alter a table by clicking on it with the right mouse button, which
1988  brings up the table dialog.
1989  Here you can adjust the settings of that cell and row/column respectively
1990  where the cursor is currently placed.
1991  Most of the dialog options also work on selections.
1992  This means if you select more cells, columns or rows, the action is done
1993  for the whole selection.
1994  Note that there is a difference between selecting the 
1995 \emph on
1996 contents
1997 \emph default
1998  of the cell, and the cell itself.
1999  You can alter tables with the following tabs of the table dialog:
2000 \end_layout
2001
2002 \begin_layout Description
2003
2004 \family sans
2005 Table
2006 \begin_inset space ~
2007 \end_inset
2008
2009 Settings
2010 \family default
2011  Here you can set the horizontal alignment and the width of the current
2012  column.
2013  When you have set a width you can also adjust the vertical alignment of
2014  the current row.
2015  A given width will allow the cell to have line breaks and multiple paragraphs
2016  of text, see section
2017 \begin_inset space ~
2018 \end_inset
2019
2020
2021 \begin_inset CommandInset ref
2022 LatexCommand ref
2023 reference "sub:Multiple-Lines-in"
2024
2025 \end_inset
2026
2027 .
2028  If you set no width, the column is as wide as their widest cell content
2029  is.
2030 \begin_inset Newline newline
2031 \end_inset
2032
2033 Furthermore, you can mark one or multiple cells of one row as a multicolumn
2034  cell, see section
2035 \begin_inset space ~
2036 \end_inset
2037
2038
2039 \begin_inset CommandInset ref
2040 LatexCommand ref
2041 reference "sub:Multicolumns"
2042
2043 \end_inset
2044
2045 .
2046 \begin_inset Newline newline
2047 \end_inset
2048
2049 The rotate check boxes rotates the current cell, a selection, or the whole
2050  table counter-clockwise by 90°.
2051  The rotation is not shown within LyX, only in the output.
2052 \begin_inset Newline newline
2053 \end_inset
2054
2055
2056 \begin_inset Note Greyedout
2057 status open
2058
2059 \begin_layout Plain Layout
2060
2061 \series bold
2062 Note:
2063 \series default
2064  Not all DVI-viewers are able to display rotations.
2065 \end_layout
2066
2067 \end_inset
2068
2069
2070 \begin_inset Newline newline
2071 \end_inset
2072
2073 It is also possible to enter a LaTeX-argument which is needed for special
2074  table formattings, see section
2075 \begin_inset space ~
2076 \end_inset
2077
2078
2079 \begin_inset CommandInset ref
2080 LatexCommand ref
2081 reference "sub:Multicolumn-Calculations"
2082
2083 \end_inset
2084
2085  and 
2086 \begin_inset CommandInset ref
2087 LatexCommand ref
2088 reference "sec:Colored-Tables"
2089
2090 \end_inset
2091
2092 .
2093 \end_layout
2094
2095 \begin_layout Description
2096
2097 \family sans
2098 Borders
2099 \family default
2100  In this tab you can add and delete border lines for the current row/column.
2101 \begin_inset Newline newline
2102 \end_inset
2103
2104 Using the style option 
2105 \family sans
2106 Formal
2107 \family default
2108  will convert the table to a formal table as described in section
2109 \begin_inset space ~
2110 \end_inset
2111
2112
2113 \begin_inset CommandInset ref
2114 LatexCommand ref
2115 reference "sec:Formal-Tables"
2116
2117 \end_inset
2118
2119 .
2120 \begin_inset Newline newline
2121 \end_inset
2122
2123 You can also add here space to table rows as decribed in section
2124 \begin_inset space ~
2125 \end_inset
2126
2127
2128 \begin_inset CommandInset ref
2129 LatexCommand ref
2130 reference "sub:Row-Spacing"
2131
2132 \end_inset
2133
2134 .
2135 \end_layout
2136
2137 \begin_layout Description
2138
2139 \family sans
2140 Longtable
2141 \family default
2142  This tab is to make a table a so called 
2143 \begin_inset Quotes eld
2144 \end_inset
2145
2146
2147 \emph on
2148 longtable
2149 \emph default
2150
2151 \begin_inset Quotes erd
2152 \end_inset
2153
2154  that can run over several pages.
2155  Section
2156 \begin_inset space ~
2157 \end_inset
2158
2159
2160 \begin_inset CommandInset ref
2161 LatexCommand ref
2162 reference "sec:Longtables"
2163
2164 \end_inset
2165
2166  and 
2167 \begin_inset CommandInset ref
2168 LatexCommand ref
2169 reference "sec:Special-Longtable-Issues"
2170
2171 \end_inset
2172
2173  describe the longtable features in detail.
2174 \end_layout
2175
2176 \begin_layout Standard
2177 When the table dialog is open, you can move the cursor with the arrow keys
2178  from cell to cell and the property of the current cell will immediately
2179  be displayed in the dialog.
2180 \end_layout
2181
2182 \begin_layout Section
2183 Table Toolbar
2184 \begin_inset Index
2185 status collapsed
2186
2187 \begin_layout Plain Layout
2188 Table ! Toolbar
2189 \end_layout
2190
2191 \end_inset
2192
2193
2194 \end_layout
2195
2196 \begin_layout Standard
2197 The table toolbar is an alternative to the table dialog to be able to alter
2198  tables faster.
2199  It should normally appear at the bottom of LyX's main window when the cursor
2200  is inside a table.
2201  You can alternatively switch it on to appear always, by right-clicking
2202  in LyX's main menu bar.
2203 \end_layout
2204
2205 \begin_layout Standard
2206 The toolbar has the following icons:
2207 \end_layout
2208
2209 \begin_layout Labeling
2210 \labelwidthstring 00.00.0000
2211 \begin_inset Graphics
2212         filename ../images/tabular-feature_append-row.png
2213         scaleBeforeRotation
2214
2215 \end_inset
2216
2217  adds a row below the current cell or selection
2218 \end_layout
2219
2220 \begin_layout Labeling
2221 \labelwidthstring 00.00.0000
2222 \begin_inset Graphics
2223         filename ../images/tabular-feature_append-column.png
2224         scaleBeforeRotation
2225
2226 \end_inset
2227
2228  adds a column right beside the current cell or selection
2229 \end_layout
2230
2231 \begin_layout Labeling
2232 \labelwidthstring 00.00.0000
2233 \begin_inset Graphics
2234         filename ../images/tabular-feature_delete-row.png
2235         scaleBeforeRotation
2236
2237 \end_inset
2238
2239  deletes the current row or selection
2240 \end_layout
2241
2242 \begin_layout Labeling
2243 \labelwidthstring 00.00.0000
2244 \begin_inset Graphics
2245         filename ../images/tabular-feature_delete-column.png
2246         scaleBeforeRotation
2247
2248 \end_inset
2249
2250  deletes the current column or selection
2251 \end_layout
2252
2253 \begin_layout Labeling
2254 \labelwidthstring 00.00.0000
2255 \begin_inset Graphics
2256         filename ../images/tabular-feature_toggle-line-top.png
2257         scaleBeforeRotation
2258
2259 \end_inset
2260
2261  adds a line at the top of the current cell / row or of a selection
2262 \end_layout
2263
2264 \begin_layout Labeling
2265 \labelwidthstring 00.00.0000
2266 \begin_inset Graphics
2267         filename ../images/tabular-feature_toggle-line-bottom.png
2268         scaleBeforeRotation
2269
2270 \end_inset
2271
2272  adds a line at the bottom of the current cell / row or of a selection
2273 \end_layout
2274
2275 \begin_layout Labeling
2276 \labelwidthstring 00.00.0000
2277 \begin_inset Graphics
2278         filename ../images/tabular-feature_toggle-line-left.png
2279         scaleBeforeRotation
2280
2281 \end_inset
2282
2283  adds a line at the left side of the current cell / row or of a selection
2284 \end_layout
2285
2286 \begin_layout Labeling
2287 \labelwidthstring 00.00.0000
2288 \begin_inset Graphics
2289         filename ../images/tabular-feature_toggle-line-right.png
2290         scaleBeforeRotation
2291
2292 \end_inset
2293
2294  adds a line at the right side of the current cell / row or of a selection
2295 \end_layout
2296
2297 \begin_layout Labeling
2298 \labelwidthstring 00.00.0000
2299 \begin_inset Graphics
2300         filename ../images/tabular-feature_set-all-lines.png
2301         scaleBeforeRotation
2302
2303 \end_inset
2304
2305  adds lines around the current or selected cells - if the current cell no
2306  multicolumn this also affects the current row and column
2307 \end_layout
2308
2309 \begin_layout Labeling
2310 \labelwidthstring 00.00.0000
2311 \begin_inset Graphics
2312         filename ../images/tabular-feature_unset-all-lines.png
2313         scaleBeforeRotation
2314
2315 \end_inset
2316
2317  deletes all lines of the current or selected cells - if the current cell
2318  no multicolumn this also affects the current row and column
2319 \end_layout
2320
2321 \begin_layout Labeling
2322 \labelwidthstring 00.00.0000
2323 \begin_inset Graphics
2324         filename ../images/tabular-feature_m-align-left.png
2325         scaleBeforeRotation
2326
2327 \end_inset
2328
2329  left-aligns the content of the current cell / column
2330 \end_layout
2331
2332 \begin_layout Labeling
2333 \labelwidthstring 00.00.0000
2334 \begin_inset Graphics
2335         filename ../images/tabular-feature_m-align-center.png
2336         scaleBeforeRotation
2337
2338 \end_inset
2339
2340  centers the content of the current cell / column horizontally
2341 \end_layout
2342
2343 \begin_layout Labeling
2344 \labelwidthstring 00.00.0000
2345 \begin_inset Graphics
2346         filename ../images/tabular-feature_m-align-right.png
2347         scaleBeforeRotation
2348
2349 \end_inset
2350
2351  right-aligns the content of the current cell / column
2352 \end_layout
2353
2354 \begin_layout Labeling
2355 \labelwidthstring 00.00.0000
2356 \begin_inset Graphics
2357         filename ../images/tabular-feature_m-valign-top.png
2358         scaleBeforeRotation
2359
2360 \end_inset
2361
2362  aligns the content of the current cell vertically to the top
2363 \end_layout
2364
2365 \begin_layout Labeling
2366 \labelwidthstring 00.00.0000
2367 \begin_inset Graphics
2368         filename ../images/tabular-feature_m-valign-middle.png
2369         scaleBeforeRotation
2370
2371 \end_inset
2372
2373  centers the content of the current cell vertically
2374 \end_layout
2375
2376 \begin_layout Labeling
2377 \labelwidthstring 00.00.0000
2378 \begin_inset Graphics
2379         filename ../images/tabular-feature_m-valign-bottom.png
2380         scaleBeforeRotation
2381
2382 \end_inset
2383
2384  aligns the content of the current cell vertically to the bottom
2385 \end_layout
2386
2387 \begin_layout Labeling
2388 \labelwidthstring 00.00.0000
2389 \begin_inset Graphics
2390         filename ../images/tabular-feature_set-rotate-cell.png
2391         scaleBeforeRotation
2392
2393 \end_inset
2394
2395  rotates the current cell or selection counter-clockwise by 90°
2396 \end_layout
2397
2398 \begin_layout Labeling
2399 \labelwidthstring 00.00.0000
2400 \begin_inset Graphics
2401         filename ../images/tabular-feature_set-rotate-tabular.png
2402         scaleBeforeRotation
2403
2404 \end_inset
2405
2406  rotates the whole table counter-clockwise by 90°
2407 \end_layout
2408
2409 \begin_layout Labeling
2410 \labelwidthstring 00.00.0000
2411 \begin_inset Graphics
2412         filename ../images/tabular-feature_multicolumn.png
2413         scaleBeforeRotation
2414
2415 \end_inset
2416
2417  sets the current cell or selection as a multicolumn
2418 \end_layout
2419
2420 \begin_layout Standard
2421 \begin_inset Note Greyedout
2422 status open
2423
2424 \begin_layout Plain Layout
2425
2426 \series bold
2427 Note:
2428 \series default
2429  For the output the vertical alignment of the first cell in a row is used
2430  for all following cells in the row.
2431 \end_layout
2432
2433 \end_inset
2434
2435
2436 \end_layout
2437
2438 \begin_layout Section
2439 Edit Table Menu
2440 \begin_inset Index
2441 status collapsed
2442
2443 \begin_layout Plain Layout
2444 Table ! Edit Menu
2445 \end_layout
2446
2447 \end_inset
2448
2449
2450 \end_layout
2451
2452 \begin_layout Standard
2453 Additionally to the table dialog and toolbar, the menu 
2454 \family sans
2455 Edit\SpecialChar \menuseparator
2456 Table
2457 \family default
2458  allows you to add and delete border lines for the current row/column and
2459  to set the current selection as multicolumn.
2460  The menu is only available when the cursor is inside a table.
2461 \end_layout
2462
2463 \begin_layout Section
2464 Table Floats
2465 \begin_inset CommandInset label
2466 LatexCommand label
2467 name "sec:Table-Floats"
2468
2469 \end_inset
2470
2471
2472 \begin_inset Index
2473 status collapsed
2474
2475 \begin_layout Plain Layout
2476 Floats ! Tables
2477 \end_layout
2478
2479 \end_inset
2480
2481
2482 \begin_inset Index
2483 status collapsed
2484
2485 \begin_layout Plain Layout
2486 Table ! Floats
2487 \end_layout
2488
2489 \end_inset
2490
2491
2492 \end_layout
2493
2494 \begin_layout Standard
2495 For general explanations about floats, have a look at section
2496 \begin_inset space ~
2497 \end_inset
2498
2499
2500 \begin_inset CommandInset ref
2501 LatexCommand ref
2502 reference "sec:FloatIntroduction"
2503
2504 \end_inset
2505
2506 .
2507 \end_layout
2508
2509 \begin_layout Standard
2510 \begin_inset Float table
2511 placement h
2512 wide false
2513 sideways false
2514 status open
2515
2516 \begin_layout Plain Layout
2517 \begin_inset Caption
2518
2519 \begin_layout Plain Layout
2520 \begin_inset CommandInset label
2521 LatexCommand label
2522 name "tab:a table float"
2523
2524 \end_inset
2525
2526 A table float.
2527 \end_layout
2528
2529 \end_inset
2530
2531
2532 \end_layout
2533
2534 \begin_layout Plain Layout
2535 \align center
2536 \begin_inset Tabular
2537 <lyxtabular version="3" rows="3" columns="3">
2538 <features>
2539 <column alignment="center" valignment="top" width="0pt">
2540 <column alignment="center" valignment="top" width="0pt">
2541 <column alignment="center" valignment="top" width="0pt">
2542 <row>
2543 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2544 \begin_inset Text
2545
2546 \begin_layout Plain Layout
2547
2548 \family roman
2549 \series medium
2550 \shape up
2551 \size normal
2552 \emph off
2553 \bar no
2554 \noun off
2555 \color none
2556 1
2557 \end_layout
2558
2559 \end_inset
2560 </cell>
2561 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2562 \begin_inset Text
2563
2564 \begin_layout Plain Layout
2565
2566 \family roman
2567 \series medium
2568 \shape up
2569 \size normal
2570 \emph off
2571 \bar no
2572 \noun off
2573 \color none
2574 2
2575 \end_layout
2576
2577 \end_inset
2578 </cell>
2579 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2580 \begin_inset Text
2581
2582 \begin_layout Plain Layout
2583
2584 \family roman
2585 \series medium
2586 \shape up
2587 \size normal
2588 \emph off
2589 \bar no
2590 \noun off
2591 \color none
2592 3
2593 \end_layout
2594
2595 \end_inset
2596 </cell>
2597 </row>
2598 <row>
2599 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2600 \begin_inset Text
2601
2602 \begin_layout Plain Layout
2603
2604 \family roman
2605 \series medium
2606 \shape up
2607 \size normal
2608 \emph off
2609 \bar no
2610 \noun off
2611 \color none
2612 Joe
2613 \end_layout
2614
2615 \end_inset
2616 </cell>
2617 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2618 \begin_inset Text
2619
2620 \begin_layout Plain Layout
2621
2622 \family roman
2623 \series medium
2624 \shape up
2625 \size normal
2626 \emph off
2627 \bar no
2628 \noun off
2629 \color none
2630 Mary
2631 \end_layout
2632
2633 \end_inset
2634 </cell>
2635 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2636 \begin_inset Text
2637
2638 \begin_layout Plain Layout
2639
2640 \family roman
2641 \series medium
2642 \shape up
2643 \size normal
2644 \emph off
2645 \bar no
2646 \noun off
2647 \color none
2648 Ted
2649 \end_layout
2650
2651 \end_inset
2652 </cell>
2653 </row>
2654 <row>
2655 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2656 \begin_inset Text
2657
2658 \begin_layout Plain Layout
2659
2660 \family roman
2661 \series medium
2662 \shape up
2663 \size normal
2664 \emph off
2665 \bar no
2666 \noun off
2667 \color none
2668 \begin_inset Formula $\int x^{2}dx$
2669 \end_inset
2670
2671
2672 \end_layout
2673
2674 \end_inset
2675 </cell>
2676 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2677 \begin_inset Text
2678
2679 \begin_layout Plain Layout
2680
2681 \family roman
2682 \series medium
2683 \shape up
2684 \size normal
2685 \emph off
2686 \bar no
2687 \noun off
2688 \color none
2689 \begin_inset Formula $\left[\begin{array}{cc}
2690 a & b\\
2691 c & d\end{array}\right]$
2692 \end_inset
2693
2694
2695 \end_layout
2696
2697 \end_inset
2698 </cell>
2699 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2700 \begin_inset Text
2701
2702 \begin_layout Plain Layout
2703
2704 \family roman
2705 \series medium
2706 \shape up
2707 \size normal
2708 \emph off
2709 \bar no
2710 \noun off
2711 \color none
2712 \begin_inset Formula $1+1=2$
2713 \end_inset
2714
2715
2716 \end_layout
2717
2718 \end_inset
2719 </cell>
2720 </row>
2721 </lyxtabular>
2722
2723 \end_inset
2724
2725
2726 \end_layout
2727
2728 \end_inset
2729
2730
2731 \end_layout
2732
2733 \begin_layout Standard
2734 Table floats can be inserted using the menu 
2735 \family sans
2736 Insert\SpecialChar \menuseparator
2737 Float\SpecialChar \menuseparator
2738 Table
2739 \family default
2740  or the toolbar button 
2741 \begin_inset Graphics
2742         filename ../images/float-insert_table.png
2743         scale 85
2744         scaleBeforeRotation
2745
2746 \end_inset
2747
2748 .
2749 \end_layout
2750
2751 \begin_layout Standard
2752 The float appears as a collapsible box with a caption that has the label
2753  
2754 \begin_inset Quotes eld
2755 \end_inset
2756
2757 Table
2758 \begin_inset space ~
2759 \end_inset
2760
2761 #:
2762 \begin_inset Quotes erd
2763 \end_inset
2764
2765  (# is the actual table number).
2766  You can insert tables to the float above or below the caption.
2767 \end_layout
2768
2769 \begin_layout Standard
2770 Table
2771 \begin_inset space ~
2772 \end_inset
2773
2774
2775 \begin_inset CommandInset ref
2776 LatexCommand ref
2777 reference "tab:a table float"
2778
2779 \end_inset
2780
2781  is an example table within a table float.
2782 \end_layout
2783
2784 \begin_layout Standard
2785 Having the caption above the table is the common rule that is unfortunately
2786  not supported in LaTeX's standard classes.
2787  That means if you are using the document classes 
2788 \family sans
2789 article
2790 \family default
2791
2792 \family sans
2793 book
2794 \family default
2795
2796 \family sans
2797 letter
2798 \family default
2799 , or 
2800 \family sans
2801 report
2802 \family default
2803  there will be no space between the caption and the table.
2804  To insert the needed space, add the following option to the load command
2805  of the LaTeX-package 
2806 \series bold
2807 caption
2808 \series default
2809
2810 \begin_inset Index
2811 status collapsed
2812
2813 \begin_layout Plain Layout
2814 LaTeX-packages ! caption
2815 \end_layout
2816
2817 \end_inset
2818
2819  in your document preamble
2820 \begin_inset Foot
2821 status collapsed
2822
2823 \begin_layout Plain Layout
2824 For more information have a look at section
2825 \begin_inset space ~
2826 \end_inset
2827
2828
2829 \begin_inset CommandInset ref
2830 LatexCommand ref
2831 reference "sec:Caption-Placement"
2832
2833 \end_inset
2834
2835 .
2836 \end_layout
2837
2838 \end_inset
2839
2840 :
2841 \end_layout
2842
2843 \begin_layout Standard
2844
2845 \series bold
2846 tableposition=top
2847 \end_layout
2848
2849 \begin_layout Standard
2850 The package 
2851 \series bold
2852 caption
2853 \series default
2854 , which is described in section
2855 \begin_inset space ~
2856 \end_inset
2857
2858
2859 \begin_inset CommandInset ref
2860 LatexCommand ref
2861 reference "sec:Caption-Formatting"
2862
2863 \end_inset
2864
2865 , is used to adjust the caption format.
2866 \end_layout
2867
2868 \begin_layout Standard
2869 \begin_inset Index
2870 status collapsed
2871
2872 \begin_layout Plain Layout
2873 References ! to Tables
2874 \end_layout
2875
2876 \end_inset
2877
2878 Tables can be cross-referenced in the text by referencing their label.
2879  To do this insert a label in the caption using the menu 
2880 \family sans
2881 Insert\SpecialChar \menuseparator
2882 Label
2883 \family default
2884  or the toolbar button 
2885 \begin_inset Graphics
2886         filename ../images/label-insert.png
2887         scale 85
2888         scaleBeforeRotation
2889
2890 \end_inset
2891
2892 .
2893  You can now refer to the label using the menu 
2894 \family sans
2895 Insert\SpecialChar \menuseparator
2896 Cross
2897 \begin_inset space ~
2898 \end_inset
2899
2900 reference
2901 \family default
2902  or the toolbar button 
2903 \begin_inset Graphics
2904         filename ../images/dialog-show-new-inset_ref.png
2905         scale 85
2906         scaleBeforeRotation
2907
2908 \end_inset
2909
2910 .
2911 \begin_inset Newline newline
2912 \end_inset
2913
2914 Referencing is explained in detail in section
2915 \begin_inset space ~
2916 \end_inset
2917
2918
2919 \begin_inset CommandInset ref
2920 LatexCommand ref
2921 reference "sec:Referencing-Floats"
2922
2923 \end_inset
2924
2925 .
2926 \end_layout
2927
2928 \begin_layout Section
2929 Longtables
2930 \begin_inset CommandInset label
2931 LatexCommand label
2932 name "sec:Longtables"
2933
2934 \end_inset
2935
2936
2937 \begin_inset Index
2938 status collapsed
2939
2940 \begin_layout Plain Layout
2941 Longtables
2942 \end_layout
2943
2944 \end_inset
2945
2946
2947 \begin_inset Index
2948 status collapsed
2949
2950 \begin_layout Plain Layout
2951 Table ! Longtables
2952 \end_layout
2953
2954 \end_inset
2955
2956
2957 \end_layout
2958
2959 \begin_layout Standard
2960 If the table is too long to fit on one page, you can use the option 
2961 \family sans
2962 Use
2963 \begin_inset space ~
2964 \end_inset
2965
2966 long
2967 \begin_inset space ~
2968 \end_inset
2969
2970 table
2971 \family default
2972  in the tab 
2973 \family sans
2974 Longtable
2975 \family default
2976  of the table dialog to split the table automatically over more pages.
2977  Doing this enables the following options:
2978 \end_layout
2979
2980 \begin_layout Description
2981 Header: The current row is defined to be a header row that appears on all
2982  pages of the longtable; except for the first page, if 
2983 \family sans
2984 First
2985 \begin_inset space ~
2986 \end_inset
2987
2988 header
2989 \family default
2990  is defined.
2991  This therefore called the main header.
2992 \end_layout
2993
2994 \begin_layout Description
2995 First
2996 \begin_inset space ~
2997 \end_inset
2998
2999 header: The current row is defined to be a header row that appears on the
3000  first page of the longtable.
3001 \end_layout
3002
3003 \begin_layout Description
3004 Footer: The current row is defined to be a footer row that appears on all
3005  pages of the longtable; except for the last page, if 
3006 \family sans
3007 Last
3008 \begin_inset space ~
3009 \end_inset
3010
3011 footer
3012 \family default
3013  is defined.
3014 \end_layout
3015
3016 \begin_layout Description
3017 Last
3018 \begin_inset space ~
3019 \end_inset
3020
3021 footer: The current row is defined to be a footer row that appear on the
3022  last page of the longtable.
3023 \end_layout
3024
3025 \begin_layout Description
3026 Caption: The current row contains the table caption.
3027  The row is reset as single column and a caption is inserted.
3028  More about longtable captions is explained in sec.
3029 \begin_inset space \thinspace{}
3030 \end_inset
3031
3032
3033 \begin_inset CommandInset ref
3034 LatexCommand ref
3035 reference "sub:Longtable-Captions"
3036
3037 \end_inset
3038
3039 .
3040 \end_layout
3041
3042 \begin_layout Standard
3043 You can also specify a row where the table is split.
3044  See the following longtable to see how it works:
3045 \end_layout
3046
3047 \begin_layout Standard
3048 \align center
3049 \begin_inset Tabular
3050 <lyxtabular version="3" rows="69" columns="3">
3051 <features islongtable="true">
3052 <column alignment="left" valignment="top" width="0cm">
3053 <column alignment="left" valignment="top" width="0pt">
3054 <column alignment="center" valignment="top" width="0pt">
3055 <row endfirsthead="true">
3056 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3057 \begin_inset Text
3058
3059 \begin_layout Plain Layout
3060
3061 \series bold
3062 Example Phone List (ignore the names)
3063 \end_layout
3064
3065 \end_inset
3066 </cell>
3067 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3068 \begin_inset Text
3069
3070 \begin_layout Plain Layout
3071
3072 \end_layout
3073
3074 \end_inset
3075 </cell>
3076 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3077 \begin_inset Text
3078
3079 \begin_layout Plain Layout
3080
3081 \end_layout
3082
3083 \end_inset
3084 </cell>
3085 </row>
3086 <row endfirsthead="true">
3087 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3088 \begin_inset Text
3089
3090 \begin_layout Plain Layout
3091
3092 \series bold
3093 NAME
3094 \end_layout
3095
3096 \end_inset
3097 </cell>
3098 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3099 \begin_inset Text
3100
3101 \begin_layout Plain Layout
3102
3103 \end_layout
3104
3105 \end_inset
3106 </cell>
3107 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3108 \begin_inset Text
3109
3110 \begin_layout Plain Layout
3111
3112 \series bold
3113 TEL.
3114 \end_layout
3115
3116 \end_inset
3117 </cell>
3118 </row>
3119 <row endhead="true">
3120 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3121 \begin_inset Text
3122
3123 \begin_layout Plain Layout
3124
3125 \series bold
3126 Example Phone List
3127 \end_layout
3128
3129 \end_inset
3130 </cell>
3131 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3132 \begin_inset Text
3133
3134 \begin_layout Plain Layout
3135
3136 \end_layout
3137
3138 \end_inset
3139 </cell>
3140 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3141 \begin_inset Text
3142
3143 \begin_layout Plain Layout
3144
3145 \end_layout
3146
3147 \end_inset
3148 </cell>
3149 </row>
3150 <row endhead="true">
3151 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3152 \begin_inset Text
3153
3154 \begin_layout Plain Layout
3155
3156 \series bold
3157 NAME
3158 \end_layout
3159
3160 \end_inset
3161 </cell>
3162 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3163 \begin_inset Text
3164
3165 \begin_layout Plain Layout
3166
3167 \end_layout
3168
3169 \end_inset
3170 </cell>
3171 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3172 \begin_inset Text
3173
3174 \begin_layout Plain Layout
3175
3176 \series bold
3177 TEL.
3178 \end_layout
3179
3180 \end_inset
3181 </cell>
3182 </row>
3183 <row endfoot="true">
3184 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
3185 \begin_inset Text
3186
3187 \begin_layout Plain Layout
3188  continued on next page
3189 \end_layout
3190
3191 \end_inset
3192 </cell>
3193 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3194 \begin_inset Text
3195
3196 \begin_layout Plain Layout
3197
3198 \end_layout
3199
3200 \end_inset
3201 </cell>
3202 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3203 \begin_inset Text
3204
3205 \begin_layout Plain Layout
3206
3207 \end_layout
3208
3209 \end_inset
3210 </cell>
3211 </row>
3212 <row>
3213 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3214 \begin_inset Text
3215
3216 \begin_layout Plain Layout
3217
3218 \series bold
3219 Annovi
3220 \end_layout
3221
3222 \end_inset
3223 </cell>
3224 <cell alignment="center" valignment="top" usebox="none">
3225 \begin_inset Text
3226
3227 \begin_layout Plain Layout
3228 Silvia
3229 \end_layout
3230
3231 \end_inset
3232 </cell>
3233 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
3234 \begin_inset Text
3235
3236 \begin_layout Plain Layout
3237 111
3238 \end_layout
3239
3240 \end_inset
3241 </cell>
3242 </row>
3243 <row>
3244 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3245 \begin_inset Text
3246
3247 \begin_layout Plain Layout
3248
3249 \series bold
3250 Bertoli
3251 \end_layout
3252
3253 \end_inset
3254 </cell>
3255 <cell alignment="center" valignment="top" usebox="none">
3256 \begin_inset Text
3257
3258 \begin_layout Plain Layout
3259 Stefano
3260 \end_layout
3261
3262 \end_inset
3263 </cell>
3264 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3265 \begin_inset Text
3266
3267 \begin_layout Plain Layout
3268 111
3269 \end_layout
3270
3271 \end_inset
3272 </cell>
3273 </row>
3274 <row>
3275 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3276 \begin_inset Text
3277
3278 \begin_layout Plain Layout
3279
3280 \series bold
3281 Bozzi
3282 \end_layout
3283
3284 \end_inset
3285 </cell>
3286 <cell alignment="center" valignment="top" usebox="none">
3287 \begin_inset Text
3288
3289 \begin_layout Plain Layout
3290 Walter
3291 \end_layout
3292
3293 \end_inset
3294 </cell>
3295 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3296 \begin_inset Text
3297
3298 \begin_layout Plain Layout
3299 111
3300 \end_layout
3301
3302 \end_inset
3303 </cell>
3304 </row>
3305 <row>
3306 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3307 \begin_inset Text
3308
3309 \begin_layout Plain Layout
3310
3311 \series bold
3312 Cachia
3313 \end_layout
3314
3315 \end_inset
3316 </cell>
3317 <cell alignment="center" valignment="top" usebox="none">
3318 \begin_inset Text
3319
3320 \begin_layout Plain Layout
3321 Maria
3322 \end_layout
3323
3324 \end_inset
3325 </cell>
3326 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3327 \begin_inset Text
3328
3329 \begin_layout Plain Layout
3330 111
3331 \end_layout
3332
3333 \end_inset
3334 </cell>
3335 </row>
3336 <row>
3337 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3338 \begin_inset Text
3339
3340 \begin_layout Plain Layout
3341
3342 \series bold
3343 Cachia
3344 \end_layout
3345
3346 \end_inset
3347 </cell>
3348 <cell alignment="center" valignment="top" usebox="none">
3349 \begin_inset Text
3350
3351 \begin_layout Plain Layout
3352 Maurizio
3353 \end_layout
3354
3355 \end_inset
3356 </cell>
3357 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3358 \begin_inset Text
3359
3360 \begin_layout Plain Layout
3361 111
3362 \end_layout
3363
3364 \end_inset
3365 </cell>
3366 </row>
3367 <row>
3368 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3369 \begin_inset Text
3370
3371 \begin_layout Plain Layout
3372
3373 \series bold
3374 Cinquemani
3375 \end_layout
3376
3377 \end_inset
3378 </cell>
3379 <cell alignment="center" valignment="top" usebox="none">
3380 \begin_inset Text
3381
3382 \begin_layout Plain Layout
3383 Giusi
3384 \end_layout
3385
3386 \end_inset
3387 </cell>
3388 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3389 \begin_inset Text
3390
3391 \begin_layout Plain Layout
3392 111
3393 \end_layout
3394
3395 \end_inset
3396 </cell>
3397 </row>
3398 <row>
3399 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3400 \begin_inset Text
3401
3402 \begin_layout Plain Layout
3403
3404 \series bold
3405 Colin
3406 \end_layout
3407
3408 \end_inset
3409 </cell>
3410 <cell alignment="center" valignment="top" usebox="none">
3411 \begin_inset Text
3412
3413 \begin_layout Plain Layout
3414 Bernard
3415 \end_layout
3416
3417 \end_inset
3418 </cell>
3419 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3420 \begin_inset Text
3421
3422 \begin_layout Plain Layout
3423 111
3424 \end_layout
3425
3426 \end_inset
3427 </cell>
3428 </row>
3429 <row>
3430 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3431 \begin_inset Text
3432
3433 \begin_layout Plain Layout
3434
3435 \series bold
3436 Concli
3437 \end_layout
3438
3439 \end_inset
3440 </cell>
3441 <cell alignment="center" valignment="top" usebox="none">
3442 \begin_inset Text
3443
3444 \begin_layout Plain Layout
3445 Gianfranco
3446 \end_layout
3447
3448 \end_inset
3449 </cell>
3450 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3451 \begin_inset Text
3452
3453 \begin_layout Plain Layout
3454 111
3455 \end_layout
3456
3457 \end_inset
3458 </cell>
3459 </row>
3460 <row>
3461 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3462 \begin_inset Text
3463
3464 \begin_layout Plain Layout
3465
3466 \series bold
3467 Dal Bosco
3468 \end_layout
3469
3470 \end_inset
3471 </cell>
3472 <cell alignment="center" valignment="top" usebox="none">
3473 \begin_inset Text
3474
3475 \begin_layout Plain Layout
3476 Carolina
3477 \end_layout
3478
3479 \end_inset
3480 </cell>
3481 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3482 \begin_inset Text
3483
3484 \begin_layout Plain Layout
3485 111
3486 \end_layout
3487
3488 \end_inset
3489 </cell>
3490 </row>
3491 <row>
3492 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3493 \begin_inset Text
3494
3495 \begin_layout Plain Layout
3496
3497 \series bold
3498 Dalpiaz
3499 \end_layout
3500
3501 \end_inset
3502 </cell>
3503 <cell alignment="center" valignment="top" usebox="none">
3504 \begin_inset Text
3505
3506 \begin_layout Plain Layout
3507 Annamaria
3508 \end_layout
3509
3510 \end_inset
3511 </cell>
3512 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3513 \begin_inset Text
3514
3515 \begin_layout Plain Layout
3516 111
3517 \end_layout
3518
3519 \end_inset
3520 </cell>
3521 </row>
3522 <row>
3523 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3524 \begin_inset Text
3525
3526 \begin_layout Plain Layout
3527
3528 \series bold
3529 Feliciello
3530 \end_layout
3531
3532 \end_inset
3533 </cell>
3534 <cell alignment="center" valignment="top" usebox="none">
3535 \begin_inset Text
3536
3537 \begin_layout Plain Layout
3538 Domenico
3539 \end_layout
3540
3541 \end_inset
3542 </cell>
3543 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3544 \begin_inset Text
3545
3546 \begin_layout Plain Layout
3547 111
3548 \end_layout
3549
3550 \end_inset
3551 </cell>
3552 </row>
3553 <row>
3554 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3555 \begin_inset Text
3556
3557 \begin_layout Plain Layout
3558
3559 \series bold
3560 Focarelli
3561 \end_layout
3562
3563 \end_inset
3564 </cell>
3565 <cell alignment="center" valignment="top" usebox="none">
3566 \begin_inset Text
3567
3568 \begin_layout Plain Layout
3569 Paola
3570 \end_layout
3571
3572 \end_inset
3573 </cell>
3574 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3575 \begin_inset Text
3576
3577 \begin_layout Plain Layout
3578 111
3579 \end_layout
3580
3581 \end_inset
3582 </cell>
3583 </row>
3584 <row>
3585 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3586 \begin_inset Text
3587
3588 \begin_layout Plain Layout
3589
3590 \series bold
3591 Galletti
3592 \end_layout
3593
3594 \end_inset
3595 </cell>
3596 <cell alignment="center" valignment="top" usebox="none">
3597 \begin_inset Text
3598
3599 \begin_layout Plain Layout
3600 Oreste
3601 \end_layout
3602
3603 \end_inset
3604 </cell>
3605 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3606 \begin_inset Text
3607
3608 \begin_layout Plain Layout
3609 111
3610 \end_layout
3611
3612 \end_inset
3613 </cell>
3614 </row>
3615 <row>
3616 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3617 \begin_inset Text
3618
3619 \begin_layout Plain Layout
3620
3621 \series bold
3622 Gasparini
3623 \end_layout
3624
3625 \end_inset
3626 </cell>
3627 <cell alignment="center" valignment="top" usebox="none">
3628 \begin_inset Text
3629
3630 \begin_layout Plain Layout
3631 Franca
3632 \end_layout
3633
3634 \end_inset
3635 </cell>
3636 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3637 \begin_inset Text
3638
3639 \begin_layout Plain Layout
3640 111
3641 \end_layout
3642
3643 \end_inset
3644 </cell>
3645 </row>
3646 <row>
3647 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3648 \begin_inset Text
3649
3650 \begin_layout Plain Layout
3651
3652 \series bold
3653 Rizzardi
3654 \end_layout
3655
3656 \end_inset
3657 </cell>
3658 <cell alignment="center" valignment="top" usebox="none">
3659 \begin_inset Text
3660
3661 \begin_layout Plain Layout
3662 Paola
3663 \end_layout
3664
3665 \end_inset
3666 </cell>
3667 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3668 \begin_inset Text
3669
3670 \begin_layout Plain Layout
3671 111
3672 \end_layout
3673
3674 \end_inset
3675 </cell>
3676 </row>
3677 <row>
3678 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3679 \begin_inset Text
3680
3681 \begin_layout Plain Layout
3682
3683 \series bold
3684 Lassini
3685 \end_layout
3686
3687 \end_inset
3688 </cell>
3689 <cell alignment="center" valignment="top" usebox="none">
3690 \begin_inset Text
3691
3692 \begin_layout Plain Layout
3693 Giancarlo
3694 \end_layout
3695
3696 \end_inset
3697 </cell>
3698 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3699 \begin_inset Text
3700
3701 \begin_layout Plain Layout
3702 111
3703 \end_layout
3704
3705 \end_inset
3706 </cell>
3707 </row>
3708 <row>
3709 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3710 \begin_inset Text
3711
3712 \begin_layout Plain Layout
3713
3714 \series bold
3715 Malfatti
3716 \end_layout
3717
3718 \end_inset
3719 </cell>
3720 <cell alignment="center" valignment="top" usebox="none">
3721 \begin_inset Text
3722
3723 \begin_layout Plain Layout
3724 Luciano
3725 \end_layout
3726
3727 \end_inset
3728 </cell>
3729 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3730 \begin_inset Text
3731
3732 \begin_layout Plain Layout
3733 111
3734 \end_layout
3735
3736 \end_inset
3737 </cell>
3738 </row>
3739 <row>
3740 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3741 \begin_inset Text
3742
3743 \begin_layout Plain Layout
3744
3745 \series bold
3746 Malfatti
3747 \end_layout
3748
3749 \end_inset
3750 </cell>
3751 <cell alignment="center" valignment="top" usebox="none">
3752 \begin_inset Text
3753
3754 \begin_layout Plain Layout
3755 Valeriano
3756 \end_layout
3757
3758 \end_inset
3759 </cell>
3760 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3761 \begin_inset Text
3762
3763 \begin_layout Plain Layout
3764 111
3765 \end_layout
3766
3767 \end_inset
3768 </cell>
3769 </row>
3770 <row>
3771 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3772 \begin_inset Text
3773
3774 \begin_layout Plain Layout
3775
3776 \series bold
3777 Meneguzzo
3778 \end_layout
3779
3780 \end_inset
3781 </cell>
3782 <cell alignment="center" valignment="top" usebox="none">
3783 \begin_inset Text
3784
3785 \begin_layout Plain Layout
3786 Roberto
3787 \end_layout
3788
3789 \end_inset
3790 </cell>
3791 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3792 \begin_inset Text
3793
3794 \begin_layout Plain Layout
3795 111
3796 \end_layout
3797
3798 \end_inset
3799 </cell>
3800 </row>
3801 <row>
3802 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3803 \begin_inset Text
3804
3805 \begin_layout Plain Layout
3806
3807 \series bold
3808 Mezzadra
3809 \end_layout
3810
3811 \end_inset
3812 </cell>
3813 <cell alignment="center" valignment="top" usebox="none">
3814 \begin_inset Text
3815
3816 \begin_layout Plain Layout
3817 Roberto
3818 \end_layout
3819
3820 \end_inset
3821 </cell>
3822 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3823 \begin_inset Text
3824
3825 \begin_layout Plain Layout
3826 111
3827 \end_layout
3828
3829 \end_inset
3830 </cell>
3831 </row>
3832 <row>
3833 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3834 \begin_inset Text
3835
3836 \begin_layout Plain Layout
3837
3838 \series bold
3839 Pirpamer
3840 \end_layout
3841
3842 \end_inset
3843 </cell>
3844 <cell alignment="center" valignment="top" usebox="none">
3845 \begin_inset Text
3846
3847 \begin_layout Plain Layout
3848 Erich
3849 \end_layout
3850
3851 \end_inset
3852 </cell>
3853 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3854 \begin_inset Text
3855
3856 \begin_layout Plain Layout
3857 111
3858 \end_layout
3859
3860 \end_inset
3861 </cell>
3862 </row>
3863 <row>
3864 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3865 \begin_inset Text
3866
3867 \begin_layout Plain Layout
3868
3869 \series bold
3870 Pochiesa
3871 \end_layout
3872
3873 \end_inset
3874 </cell>
3875 <cell alignment="center" valignment="top" usebox="none">
3876 \begin_inset Text
3877
3878 \begin_layout Plain Layout
3879 Paolo
3880 \end_layout
3881
3882 \end_inset
3883 </cell>
3884 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3885 \begin_inset Text
3886
3887 \begin_layout Plain Layout
3888 111, 222
3889 \end_layout
3890
3891 \end_inset
3892 </cell>
3893 </row>
3894 <row>
3895 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3896 \begin_inset Text
3897
3898 \begin_layout Plain Layout
3899
3900 \series bold
3901 Radina
3902 \end_layout
3903
3904 \end_inset
3905 </cell>
3906 <cell alignment="center" valignment="top" usebox="none">
3907 \begin_inset Text
3908
3909 \begin_layout Plain Layout
3910 Claudio
3911 \end_layout
3912
3913 \end_inset
3914 </cell>
3915 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3916 \begin_inset Text
3917
3918 \begin_layout Plain Layout
3919 111
3920 \end_layout
3921
3922 \end_inset
3923 </cell>
3924 </row>
3925 <row>
3926 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3927 \begin_inset Text
3928
3929 \begin_layout Plain Layout
3930
3931 \series bold
3932 Stuffer
3933 \end_layout
3934
3935 \end_inset
3936 </cell>
3937 <cell alignment="center" valignment="top" usebox="none">
3938 \begin_inset Text
3939
3940 \begin_layout Plain Layout
3941 Oskar
3942 \end_layout
3943
3944 \end_inset
3945 </cell>
3946 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3947 \begin_inset Text
3948
3949 \begin_layout Plain Layout
3950 111
3951 \end_layout
3952
3953 \end_inset
3954 </cell>
3955 </row>
3956 <row>
3957 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3958 \begin_inset Text
3959
3960 \begin_layout Plain Layout
3961
3962 \series bold
3963 Tacchelli
3964 \end_layout
3965
3966 \end_inset
3967 </cell>
3968 <cell alignment="center" valignment="top" usebox="none">
3969 \begin_inset Text
3970
3971 \begin_layout Plain Layout
3972 Ugo
3973 \end_layout
3974
3975 \end_inset
3976 </cell>
3977 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3978 \begin_inset Text
3979
3980 \begin_layout Plain Layout
3981 111
3982 \end_layout
3983
3984 \end_inset
3985 </cell>
3986 </row>
3987 <row>
3988 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3989 \begin_inset Text
3990
3991 \begin_layout Plain Layout
3992
3993 \series bold
3994 Tezzele
3995 \end_layout
3996
3997 \end_inset
3998 </cell>
3999 <cell alignment="center" valignment="top" usebox="none">
4000 \begin_inset Text
4001
4002 \begin_layout Plain Layout
4003 Margit
4004 \end_layout
4005
4006 \end_inset
4007 </cell>
4008 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4009 \begin_inset Text
4010
4011 \begin_layout Plain Layout
4012 111
4013 \end_layout
4014
4015 \end_inset
4016 </cell>
4017 </row>
4018 <row>
4019 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4020 \begin_inset Text
4021
4022 \begin_layout Plain Layout
4023
4024 \series bold
4025 Unterkalmsteiner
4026 \end_layout
4027
4028 \end_inset
4029 </cell>
4030 <cell alignment="center" valignment="top" usebox="none">
4031 \begin_inset Text
4032
4033 \begin_layout Plain Layout
4034 Frieda
4035 \end_layout
4036
4037 \end_inset
4038 </cell>
4039 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4040 \begin_inset Text
4041
4042 \begin_layout Plain Layout
4043 111
4044 \end_layout
4045
4046 \end_inset
4047 </cell>
4048 </row>
4049 <row>
4050 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4051 \begin_inset Text
4052
4053 \begin_layout Plain Layout
4054
4055 \series bold
4056 Vieider
4057 \end_layout
4058
4059 \end_inset
4060 </cell>
4061 <cell alignment="center" valignment="top" usebox="none">
4062 \begin_inset Text
4063
4064 \begin_layout Plain Layout
4065 Hilde
4066 \end_layout
4067
4068 \end_inset
4069 </cell>
4070 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4071 \begin_inset Text
4072
4073 \begin_layout Plain Layout
4074 111
4075 \end_layout
4076
4077 \end_inset
4078 </cell>
4079 </row>
4080 <row>
4081 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4082 \begin_inset Text
4083
4084 \begin_layout Plain Layout
4085
4086 \series bold
4087 Vigna
4088 \end_layout
4089
4090 \end_inset
4091 </cell>
4092 <cell alignment="center" valignment="top" usebox="none">
4093 \begin_inset Text
4094
4095 \begin_layout Plain Layout
4096 Jürgen
4097 \end_layout
4098
4099 \end_inset
4100 </cell>
4101 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4102 \begin_inset Text
4103
4104 \begin_layout Plain Layout
4105 111
4106 \end_layout
4107
4108 \end_inset
4109 </cell>
4110 </row>
4111 <row>
4112 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4113 \begin_inset Text
4114
4115 \begin_layout Plain Layout
4116
4117 \series bold
4118 Weber
4119 \end_layout
4120
4121 \end_inset
4122 </cell>
4123 <cell alignment="center" valignment="top" usebox="none">
4124 \begin_inset Text
4125
4126 \begin_layout Plain Layout
4127 Maurizio
4128 \end_layout
4129
4130 \end_inset
4131 </cell>
4132 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4133 \begin_inset Text
4134
4135 \begin_layout Plain Layout
4136 111
4137 \end_layout
4138
4139 \end_inset
4140 </cell>
4141 </row>
4142 <row>
4143 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
4144 \begin_inset Text
4145
4146 \begin_layout Plain Layout
4147
4148 \series bold
4149 Winkler
4150 \end_layout
4151
4152 \end_inset
4153 </cell>
4154 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4155 \begin_inset Text
4156
4157 \begin_layout Plain Layout
4158 Franz
4159 \end_layout
4160
4161 \end_inset
4162 </cell>
4163 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4164 \begin_inset Text
4165
4166 \begin_layout Plain Layout
4167 111
4168 \end_layout
4169
4170 \end_inset
4171 </cell>
4172 </row>
4173 <row>
4174 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4175 \begin_inset Text
4176
4177 \begin_layout Plain Layout
4178  
4179 \end_layout
4180
4181 \end_inset
4182 </cell>
4183 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4184 \begin_inset Text
4185
4186 \begin_layout Plain Layout
4187
4188 \end_layout
4189
4190 \end_inset
4191 </cell>
4192 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4193 \begin_inset Text
4194
4195 \begin_layout Plain Layout
4196
4197 \end_layout
4198
4199 \end_inset
4200 </cell>
4201 </row>
4202 <row>
4203 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4204 \begin_inset Text
4205
4206 \begin_layout Plain Layout
4207
4208 \series bold
4209 Annovi
4210 \end_layout
4211
4212 \end_inset
4213 </cell>
4214 <cell alignment="center" valignment="top" usebox="none">
4215 \begin_inset Text
4216
4217 \begin_layout Plain Layout
4218 Silvia
4219 \end_layout
4220
4221 \end_inset
4222 </cell>
4223 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4224 \begin_inset Text
4225
4226 \begin_layout Plain Layout
4227 555
4228 \end_layout
4229
4230 \end_inset
4231 </cell>
4232 </row>
4233 <row>
4234 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4235 \begin_inset Text
4236
4237 \begin_layout Plain Layout
4238
4239 \series bold
4240 Bertoli
4241 \end_layout
4242
4243 \end_inset
4244 </cell>
4245 <cell alignment="center" valignment="top" usebox="none">
4246 \begin_inset Text
4247
4248 \begin_layout Plain Layout
4249 Stefano
4250 \end_layout
4251
4252 \end_inset
4253 </cell>
4254 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4255 \begin_inset Text
4256
4257 \begin_layout Plain Layout
4258 555
4259 \end_layout
4260
4261 \end_inset
4262 </cell>
4263 </row>
4264 <row>
4265 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4266 \begin_inset Text
4267
4268 \begin_layout Plain Layout
4269
4270 \series bold
4271 Bozzi
4272 \end_layout
4273
4274 \end_inset
4275 </cell>
4276 <cell alignment="center" valignment="top" usebox="none">
4277 \begin_inset Text
4278
4279 \begin_layout Plain Layout
4280 Walter
4281 \end_layout
4282
4283 \end_inset
4284 </cell>
4285 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4286 \begin_inset Text
4287
4288 \begin_layout Plain Layout
4289 555
4290 \end_layout
4291
4292 \end_inset
4293 </cell>
4294 </row>
4295 <row>
4296 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4297 \begin_inset Text
4298
4299 \begin_layout Plain Layout
4300
4301 \series bold
4302 Cachia
4303 \end_layout
4304
4305 \end_inset
4306 </cell>
4307 <cell alignment="center" valignment="top" usebox="none">
4308 \begin_inset Text
4309
4310 \begin_layout Plain Layout
4311 Maria
4312 \end_layout
4313
4314 \end_inset
4315 </cell>
4316 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4317 \begin_inset Text
4318
4319 \begin_layout Plain Layout
4320 555
4321 \end_layout
4322
4323 \end_inset
4324 </cell>
4325 </row>
4326 <row>
4327 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4328 \begin_inset Text
4329
4330 \begin_layout Plain Layout
4331
4332 \series bold
4333 Cachia
4334 \end_layout
4335
4336 \end_inset
4337 </cell>
4338 <cell alignment="center" valignment="top" usebox="none">
4339 \begin_inset Text
4340
4341 \begin_layout Plain Layout
4342 Maurizio
4343 \end_layout
4344
4345 \end_inset
4346 </cell>
4347 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4348 \begin_inset Text
4349
4350 \begin_layout Plain Layout
4351 555
4352 \end_layout
4353
4354 \end_inset
4355 </cell>
4356 </row>
4357 <row>
4358 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4359 \begin_inset Text
4360
4361 \begin_layout Plain Layout
4362
4363 \series bold
4364 Cinquemani
4365 \end_layout
4366
4367 \end_inset
4368 </cell>
4369 <cell alignment="center" valignment="top" usebox="none">
4370 \begin_inset Text
4371
4372 \begin_layout Plain Layout
4373 Giusi
4374 \end_layout
4375
4376 \end_inset
4377 </cell>
4378 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4379 \begin_inset Text
4380
4381 \begin_layout Plain Layout
4382 555
4383 \end_layout
4384
4385 \end_inset
4386 </cell>
4387 </row>
4388 <row>
4389 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4390 \begin_inset Text
4391
4392 \begin_layout Plain Layout
4393
4394 \series bold
4395 Colin
4396 \end_layout
4397
4398 \end_inset
4399 </cell>
4400 <cell alignment="center" valignment="top" usebox="none">
4401 \begin_inset Text
4402
4403 \begin_layout Plain Layout
4404 Bernard
4405 \end_layout
4406
4407 \end_inset
4408 </cell>
4409 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4410 \begin_inset Text
4411
4412 \begin_layout Plain Layout
4413 555
4414 \end_layout
4415
4416 \end_inset
4417 </cell>
4418 </row>
4419 <row>
4420 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4421 \begin_inset Text
4422
4423 \begin_layout Plain Layout
4424
4425 \series bold
4426 Concli
4427 \end_layout
4428
4429 \end_inset
4430 </cell>
4431 <cell alignment="center" valignment="top" usebox="none">
4432 \begin_inset Text
4433
4434 \begin_layout Plain Layout
4435 Gianfranco
4436 \end_layout
4437
4438 \end_inset
4439 </cell>
4440 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4441 \begin_inset Text
4442
4443 \begin_layout Plain Layout
4444 555
4445 \end_layout
4446
4447 \end_inset
4448 </cell>
4449 </row>
4450 <row>
4451 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4452 \begin_inset Text
4453
4454 \begin_layout Plain Layout
4455
4456 \series bold
4457 Dal Bosco
4458 \end_layout
4459
4460 \end_inset
4461 </cell>
4462 <cell alignment="center" valignment="top" usebox="none">
4463 \begin_inset Text
4464
4465 \begin_layout Plain Layout
4466 Carolina
4467 \end_layout
4468
4469 \end_inset
4470 </cell>
4471 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4472 \begin_inset Text
4473
4474 \begin_layout Plain Layout
4475 555
4476 \end_layout
4477
4478 \end_inset
4479 </cell>
4480 </row>
4481 <row>
4482 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4483 \begin_inset Text
4484
4485 \begin_layout Plain Layout
4486
4487 \series bold
4488 Dalpiaz
4489 \end_layout
4490
4491 \end_inset
4492 </cell>
4493 <cell alignment="center" valignment="top" usebox="none">
4494 \begin_inset Text
4495
4496 \begin_layout Plain Layout
4497 Annamaria
4498 \end_layout
4499
4500 \end_inset
4501 </cell>
4502 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4503 \begin_inset Text
4504
4505 \begin_layout Plain Layout
4506 555
4507 \end_layout
4508
4509 \end_inset
4510 </cell>
4511 </row>
4512 <row>
4513 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4514 \begin_inset Text
4515
4516 \begin_layout Plain Layout
4517
4518 \series bold
4519 Feliciello
4520 \end_layout
4521
4522 \end_inset
4523 </cell>
4524 <cell alignment="center" valignment="top" usebox="none">
4525 \begin_inset Text
4526
4527 \begin_layout Plain Layout
4528 Domenico
4529 \end_layout
4530
4531 \end_inset
4532 </cell>
4533 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4534 \begin_inset Text
4535
4536 \begin_layout Plain Layout
4537 555
4538 \end_layout
4539
4540 \end_inset
4541 </cell>
4542 </row>
4543 <row>
4544 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4545 \begin_inset Text
4546
4547 \begin_layout Plain Layout
4548
4549 \series bold
4550 Focarelli
4551 \end_layout
4552
4553 \end_inset
4554 </cell>
4555 <cell alignment="center" valignment="top" usebox="none">
4556 \begin_inset Text
4557
4558 \begin_layout Plain Layout
4559 Paola
4560 \end_layout
4561
4562 \end_inset
4563 </cell>
4564 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4565 \begin_inset Text
4566
4567 \begin_layout Plain Layout
4568 555
4569 \end_layout
4570
4571 \end_inset
4572 </cell>
4573 </row>
4574 <row>
4575 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4576 \begin_inset Text
4577
4578 \begin_layout Plain Layout
4579
4580 \series bold
4581 Galletti
4582 \end_layout
4583
4584 \end_inset
4585 </cell>
4586 <cell alignment="center" valignment="top" usebox="none">
4587 \begin_inset Text
4588
4589 \begin_layout Plain Layout
4590 Oreste
4591 \end_layout
4592
4593 \end_inset
4594 </cell>
4595 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4596 \begin_inset Text
4597
4598 \begin_layout Plain Layout
4599 555
4600 \end_layout
4601
4602 \end_inset
4603 </cell>
4604 </row>
4605 <row>
4606 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4607 \begin_inset Text
4608
4609 \begin_layout Plain Layout
4610
4611 \series bold
4612 Gasparini
4613 \end_layout
4614
4615 \end_inset
4616 </cell>
4617 <cell alignment="center" valignment="top" usebox="none">
4618 \begin_inset Text
4619
4620 \begin_layout Plain Layout
4621 Franca
4622 \end_layout
4623
4624 \end_inset
4625 </cell>
4626 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4627 \begin_inset Text
4628
4629 \begin_layout Plain Layout
4630 555
4631 \end_layout
4632
4633 \end_inset
4634 </cell>
4635 </row>
4636 <row>
4637 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4638 \begin_inset Text
4639
4640 \begin_layout Plain Layout
4641
4642 \series bold
4643 Rizzardi
4644 \end_layout
4645
4646 \end_inset
4647 </cell>
4648 <cell alignment="center" valignment="top" usebox="none">
4649 \begin_inset Text
4650
4651 \begin_layout Plain Layout
4652 Paola
4653 \end_layout
4654
4655 \end_inset
4656 </cell>
4657 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4658 \begin_inset Text
4659
4660 \begin_layout Plain Layout
4661 555
4662 \end_layout
4663
4664 \end_inset
4665 </cell>
4666 </row>
4667 <row>
4668 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4669 \begin_inset Text
4670
4671 \begin_layout Plain Layout
4672
4673 \series bold
4674 Lassini
4675 \end_layout
4676
4677 \end_inset
4678 </cell>
4679 <cell alignment="center" valignment="top" usebox="none">
4680 \begin_inset Text
4681
4682 \begin_layout Plain Layout
4683 Giancarlo
4684 \end_layout
4685
4686 \end_inset
4687 </cell>
4688 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4689 \begin_inset Text
4690
4691 \begin_layout Plain Layout
4692 555
4693 \end_layout
4694
4695 \end_inset
4696 </cell>
4697 </row>
4698 <row>
4699 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4700 \begin_inset Text
4701
4702 \begin_layout Plain Layout
4703
4704 \series bold
4705 Malfatti
4706 \end_layout
4707
4708 \end_inset
4709 </cell>
4710 <cell alignment="center" valignment="top" usebox="none">
4711 \begin_inset Text
4712
4713 \begin_layout Plain Layout
4714 Luciano
4715 \end_layout
4716
4717 \end_inset
4718 </cell>
4719 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4720 \begin_inset Text
4721
4722 \begin_layout Plain Layout
4723 555
4724 \end_layout
4725
4726 \end_inset
4727 </cell>
4728 </row>
4729 <row>
4730 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4731 \begin_inset Text
4732
4733 \begin_layout Plain Layout
4734
4735 \series bold
4736 Malfatti
4737 \end_layout
4738
4739 \end_inset
4740 </cell>
4741 <cell alignment="center" valignment="top" usebox="none">
4742 \begin_inset Text
4743
4744 \begin_layout Plain Layout
4745 Valeriano
4746 \end_layout
4747
4748 \end_inset
4749 </cell>
4750 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4751 \begin_inset Text
4752
4753 \begin_layout Plain Layout
4754 555
4755 \end_layout
4756
4757 \end_inset
4758 </cell>
4759 </row>
4760 <row>
4761 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4762 \begin_inset Text
4763
4764 \begin_layout Plain Layout
4765
4766 \series bold
4767 Meneguzzo
4768 \end_layout
4769
4770 \end_inset
4771 </cell>
4772 <cell alignment="center" valignment="top" usebox="none">
4773 \begin_inset Text
4774
4775 \begin_layout Plain Layout
4776 Roberto
4777 \end_layout
4778
4779 \end_inset
4780 </cell>
4781 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4782 \begin_inset Text
4783
4784 \begin_layout Plain Layout
4785 555
4786 \end_layout
4787
4788 \end_inset
4789 </cell>
4790 </row>
4791 <row>
4792 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4793 \begin_inset Text
4794
4795 \begin_layout Plain Layout
4796
4797 \series bold
4798 Mezzadra
4799 \end_layout
4800
4801 \end_inset
4802 </cell>
4803 <cell alignment="center" valignment="top" usebox="none">
4804 \begin_inset Text
4805
4806 \begin_layout Plain Layout
4807 Roberto
4808 \end_layout
4809
4810 \end_inset
4811 </cell>
4812 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4813 \begin_inset Text
4814
4815 \begin_layout Plain Layout
4816 555
4817 \end_layout
4818
4819 \end_inset
4820 </cell>
4821 </row>
4822 <row>
4823 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4824 \begin_inset Text
4825
4826 \begin_layout Plain Layout
4827
4828 \series bold
4829 Pirpamer
4830 \end_layout
4831
4832 \end_inset
4833 </cell>
4834 <cell alignment="center" valignment="top" usebox="none">
4835 \begin_inset Text
4836
4837 \begin_layout Plain Layout
4838 Erich
4839 \end_layout
4840
4841 \end_inset
4842 </cell>
4843 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4844 \begin_inset Text
4845
4846 \begin_layout Plain Layout
4847 555
4848 \end_layout
4849
4850 \end_inset
4851 </cell>
4852 </row>
4853 <row>
4854 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4855 \begin_inset Text
4856
4857 \begin_layout Plain Layout
4858
4859 \series bold
4860 Pochiesa
4861 \end_layout
4862
4863 \end_inset
4864 </cell>
4865 <cell alignment="center" valignment="top" usebox="none">
4866 \begin_inset Text
4867
4868 \begin_layout Plain Layout
4869 Paolo
4870 \end_layout
4871
4872 \end_inset
4873 </cell>
4874 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4875 \begin_inset Text
4876
4877 \begin_layout Plain Layout
4878 555, 222
4879 \end_layout
4880
4881 \end_inset
4882 </cell>
4883 </row>
4884 <row>
4885 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4886 \begin_inset Text
4887
4888 \begin_layout Plain Layout
4889
4890 \series bold
4891 Radina
4892 \end_layout
4893
4894 \end_inset
4895 </cell>
4896 <cell alignment="center" valignment="top" usebox="none">
4897 \begin_inset Text
4898
4899 \begin_layout Plain Layout
4900 Claudio
4901 \end_layout
4902
4903 \end_inset
4904 </cell>
4905 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4906 \begin_inset Text
4907
4908 \begin_layout Plain Layout
4909 555
4910 \end_layout
4911
4912 \end_inset
4913 </cell>
4914 </row>
4915 <row>
4916 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4917 \begin_inset Text
4918
4919 \begin_layout Plain Layout
4920
4921 \series bold
4922 Stuffer
4923 \end_layout
4924
4925 \end_inset
4926 </cell>
4927 <cell alignment="center" valignment="top" usebox="none">
4928 \begin_inset Text
4929
4930 \begin_layout Plain Layout
4931 Oskar
4932 \end_layout
4933
4934 \end_inset
4935 </cell>
4936 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4937 \begin_inset Text
4938
4939 \begin_layout Plain Layout
4940 555
4941 \end_layout
4942
4943 \end_inset
4944 </cell>
4945 </row>
4946 <row>
4947 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4948 \begin_inset Text
4949
4950 \begin_layout Plain Layout
4951
4952 \series bold
4953 Tacchelli
4954 \end_layout
4955
4956 \end_inset
4957 </cell>
4958 <cell alignment="center" valignment="top" usebox="none">
4959 \begin_inset Text
4960
4961 \begin_layout Plain Layout
4962 Ugo
4963 \end_layout
4964
4965 \end_inset
4966 </cell>
4967 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4968 \begin_inset Text
4969
4970 \begin_layout Plain Layout
4971 555
4972 \end_layout
4973
4974 \end_inset
4975 </cell>
4976 </row>
4977 <row>
4978 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4979 \begin_inset Text
4980
4981 \begin_layout Plain Layout
4982
4983 \series bold
4984 Tezzele
4985 \end_layout
4986
4987 \end_inset
4988 </cell>
4989 <cell alignment="center" valignment="top" usebox="none">
4990 \begin_inset Text
4991
4992 \begin_layout Plain Layout
4993 Margit
4994 \end_layout
4995
4996 \end_inset
4997 </cell>
4998 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4999 \begin_inset Text
5000
5001 \begin_layout Plain Layout
5002 555
5003 \end_layout
5004
5005 \end_inset
5006 </cell>
5007 </row>
5008 <row>
5009 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5010 \begin_inset Text
5011
5012 \begin_layout Plain Layout
5013
5014 \series bold
5015 Unterkalmsteiner
5016 \end_layout
5017
5018 \end_inset
5019 </cell>
5020 <cell alignment="center" valignment="top" usebox="none">
5021 \begin_inset Text
5022
5023 \begin_layout Plain Layout
5024 Frieda
5025 \end_layout
5026
5027 \end_inset
5028 </cell>
5029 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5030 \begin_inset Text
5031
5032 \begin_layout Plain Layout
5033 555
5034 \end_layout
5035
5036 \end_inset
5037 </cell>
5038 </row>
5039 <row>
5040 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5041 \begin_inset Text
5042
5043 \begin_layout Plain Layout
5044
5045 \series bold
5046 Vieider
5047 \end_layout
5048
5049 \end_inset
5050 </cell>
5051 <cell alignment="center" valignment="top" usebox="none">
5052 \begin_inset Text
5053
5054 \begin_layout Plain Layout
5055 Hilde
5056 \end_layout
5057
5058 \end_inset
5059 </cell>
5060 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5061 \begin_inset Text
5062
5063 \begin_layout Plain Layout
5064 555
5065 \end_layout
5066
5067 \end_inset
5068 </cell>
5069 </row>
5070 <row>
5071 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5072 \begin_inset Text
5073
5074 \begin_layout Plain Layout
5075
5076 \series bold
5077 Vigna
5078 \end_layout
5079
5080 \end_inset
5081 </cell>
5082 <cell alignment="center" valignment="top" usebox="none">
5083 \begin_inset Text
5084
5085 \begin_layout Plain Layout
5086 Jürgen
5087 \end_layout
5088
5089 \end_inset
5090 </cell>
5091 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5092 \begin_inset Text
5093
5094 \begin_layout Plain Layout
5095 999
5096 \end_layout
5097
5098 \end_inset
5099 </cell>
5100 </row>
5101 <row>
5102 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5103 \begin_inset Text
5104
5105 \begin_layout Plain Layout
5106
5107 \series bold
5108 Weber
5109 \end_layout
5110
5111 \end_inset
5112 </cell>
5113 <cell alignment="center" valignment="top" usebox="none">
5114 \begin_inset Text
5115
5116 \begin_layout Plain Layout
5117 Maurizio
5118 \end_layout
5119
5120 \end_inset
5121 </cell>
5122 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5123 \begin_inset Text
5124
5125 \begin_layout Plain Layout
5126 555
5127 \end_layout
5128
5129 \end_inset
5130 </cell>
5131 </row>
5132 <row>
5133 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
5134 \begin_inset Text
5135
5136 \begin_layout Plain Layout
5137
5138 \series bold
5139 Winkler
5140 \end_layout
5141
5142 \end_inset
5143 </cell>
5144 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
5145 \begin_inset Text
5146
5147 \begin_layout Plain Layout
5148 Franz
5149 \end_layout
5150
5151 \end_inset
5152 </cell>
5153 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
5154 \begin_inset Text
5155
5156 \begin_layout Plain Layout
5157 555
5158 \end_layout
5159
5160 \end_inset
5161 </cell>
5162 </row>
5163 <row endlastfoot="true">
5164 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
5165 \begin_inset Text
5166
5167 \begin_layout Plain Layout
5168 end
5169 \end_layout
5170
5171 \end_inset
5172 </cell>
5173 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
5174 \begin_inset Text
5175
5176 \begin_layout Plain Layout
5177
5178 \end_layout
5179
5180 \end_inset
5181 </cell>
5182 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5183 \begin_inset Text
5184
5185 \begin_layout Plain Layout
5186
5187 \end_layout
5188
5189 \end_inset
5190 </cell>
5191 </row>
5192 </lyxtabular>
5193
5194 \end_inset
5195
5196
5197 \begin_inset ERT
5198 status collapsed
5199
5200 \begin_layout Plain Layout
5201
5202
5203 \backslash
5204 addtocounter{table}{-1}
5205 \end_layout
5206
5207 \end_inset
5208
5209
5210 \begin_inset Note Note
5211 status collapsed
5212
5213 \begin_layout Plain Layout
5214 See the first greyed-out note in section
5215 \begin_inset space ~
5216 \end_inset
5217
5218
5219 \begin_inset CommandInset ref
5220 LatexCommand ref
5221 reference "sub:Longtable-Captions"
5222
5223 \end_inset
5224
5225  for an explanation of this command.
5226 \end_layout
5227
5228 \end_inset
5229
5230
5231 \end_layout
5232
5233 \begin_layout Subsection
5234 Footnotes in Longtables
5235 \begin_inset CommandInset label
5236 LatexCommand label
5237 name "sub:Footnotes-in-Longtables"
5238
5239 \end_inset
5240
5241
5242 \begin_inset Index
5243 status collapsed
5244
5245 \begin_layout Plain Layout
5246 Longtables ! Footnotes
5247 \end_layout
5248
5249 \end_inset
5250
5251
5252 \end_layout
5253
5254 \begin_layout Standard
5255 Footnotes can be inserted to every longtable cell.
5256  They appear at the bottom of the page where the table cell with the footnote
5257  appears.
5258  Table
5259 \begin_inset space ~
5260 \end_inset
5261
5262
5263 \begin_inset CommandInset ref
5264 LatexCommand ref
5265 reference "tab:DiffCaptions"
5266
5267 \end_inset
5268
5269  has for example a footnote.
5270 \end_layout
5271
5272 \begin_layout Subsection
5273 Longtable Alignment
5274 \begin_inset Index
5275 status collapsed
5276
5277 \begin_layout Plain Layout
5278 Longtables ! Alignment
5279 \end_layout
5280
5281 \end_inset
5282
5283
5284 \end_layout
5285
5286 \begin_layout Standard
5287 Longtables are by default centered.
5288  In contrary to the alignment of the table columns and row, the table alignment
5289  can currently not be changed in the table dialog.
5290  To change the alignment of longtables you have to change the value of the
5291  lengths 
5292 \series bold
5293
5294 \backslash
5295 LTleft 
5296 \series default
5297 and 
5298 \series bold
5299
5300 \backslash
5301 LTright
5302 \series default
5303  by inserting this line as TeX-Code before the corresponding longtable:
5304 \end_layout
5305
5306 \begin_layout Standard
5307
5308 \series bold
5309
5310 \backslash
5311 setlength{
5312 \backslash
5313 LTleft}{value}
5314 \end_layout
5315
5316 \begin_layout Standard
5317 Where the value can have any of the units listed in Table
5318 \begin_inset space ~
5319 \end_inset
5320
5321
5322 \begin_inset CommandInset ref
5323 LatexCommand ref
5324 reference "tab:Units"
5325
5326 \end_inset
5327
5328 .
5329  
5330 \series bold
5331
5332 \backslash
5333 LTleft
5334 \series default
5335  controls the horizontal distance from the left page border to the longtable,
5336  
5337 \series bold
5338
5339 \backslash
5340 LTright
5341 \series default
5342  the distance from the right side.
5343  The default value for both lengths is 
5344 \series bold
5345
5346 \backslash
5347 fill
5348 \series default
5349 , which is in this case the same as an horizontal fill in LyX.
5350 \end_layout
5351
5352 \begin_layout Standard
5353 The following longtable was left-aligned by setting 
5354 \series bold
5355
5356 \backslash
5357 LTleft
5358 \series default
5359  to 0
5360 \begin_inset space \thinspace{}
5361 \end_inset
5362
5363 pt.
5364 \begin_inset ERT
5365 status collapsed
5366
5367 \begin_layout Plain Layout
5368
5369
5370 \backslash
5371 setlength{
5372 \backslash
5373 LTleft}{0pt}
5374 \end_layout
5375
5376 \end_inset
5377
5378
5379 \end_layout
5380
5381 \begin_layout Standard
5382 \begin_inset Tabular
5383 <lyxtabular version="3" rows="5" columns="5">
5384 <features islongtable="true">
5385 <column alignment="center" valignment="top" width="0">
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 <row>
5391 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5392 \begin_inset Text
5393
5394 \begin_layout Plain Layout
5395 1
5396 \end_layout
5397
5398 \end_inset
5399 </cell>
5400 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5401 \begin_inset Text
5402
5403 \begin_layout Plain Layout
5404 2
5405 \end_layout
5406
5407 \end_inset
5408 </cell>
5409 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5410 \begin_inset Text
5411
5412 \begin_layout Plain Layout
5413 3
5414 \end_layout
5415
5416 \end_inset
5417 </cell>
5418 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5419 \begin_inset Text
5420
5421 \begin_layout Plain Layout
5422 4
5423 \end_layout
5424
5425 \end_inset
5426 </cell>
5427 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5428 \begin_inset Text
5429
5430 \begin_layout Plain Layout
5431 5
5432 \end_layout
5433
5434 \end_inset
5435 </cell>
5436 </row>
5437 <row>
5438 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5439 \begin_inset Text
5440
5441 \begin_layout Plain Layout
5442 asd
5443 \end_layout
5444
5445 \end_inset
5446 </cell>
5447 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5448 \begin_inset Text
5449
5450 \begin_layout Plain Layout
5451 s
5452 \end_layout
5453
5454 \end_inset
5455 </cell>
5456 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5457 \begin_inset Text
5458
5459 \begin_layout Plain Layout
5460 s
5461 \end_layout
5462
5463 \end_inset
5464 </cell>
5465 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5466 \begin_inset Text
5467
5468 \begin_layout Plain Layout
5469 s
5470 \end_layout
5471
5472 \end_inset
5473 </cell>
5474 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5475 \begin_inset Text
5476
5477 \begin_layout Plain Layout
5478 asd
5479 \end_layout
5480
5481 \end_inset
5482 </cell>
5483 </row>
5484 <row>
5485 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5486 \begin_inset Text
5487
5488 \begin_layout Plain Layout
5489 asd
5490 \end_layout
5491
5492 \end_inset
5493 </cell>
5494 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5495 \begin_inset Text
5496
5497 \begin_layout Plain Layout
5498 s
5499 \end_layout
5500
5501 \end_inset
5502 </cell>
5503 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5504 \begin_inset Text
5505
5506 \begin_layout Plain Layout
5507 s
5508 \end_layout
5509
5510 \end_inset
5511 </cell>
5512 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5513 \begin_inset Text
5514
5515 \begin_layout Plain Layout
5516 s
5517 \end_layout
5518
5519 \end_inset
5520 </cell>
5521 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5522 \begin_inset Text
5523
5524 \begin_layout Plain Layout
5525 asd
5526 \end_layout
5527
5528 \end_inset
5529 </cell>
5530 </row>
5531 <row>
5532 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5533 \begin_inset Text
5534
5535 \begin_layout Plain Layout
5536 asd
5537 \end_layout
5538
5539 \end_inset
5540 </cell>
5541 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5542 \begin_inset Text
5543
5544 \begin_layout Plain Layout
5545 s
5546 \end_layout
5547
5548 \end_inset
5549 </cell>
5550 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5551 \begin_inset Text
5552
5553 \begin_layout Plain Layout
5554 s
5555 \end_layout
5556
5557 \end_inset
5558 </cell>
5559 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5560 \begin_inset Text
5561
5562 \begin_layout Plain Layout
5563 s
5564 \end_layout
5565
5566 \end_inset
5567 </cell>
5568 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5569 \begin_inset Text
5570
5571 \begin_layout Plain Layout
5572 asd
5573 \end_layout
5574
5575 \end_inset
5576 </cell>
5577 </row>
5578 <row>
5579 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5580 \begin_inset Text
5581
5582 \begin_layout Plain Layout
5583 asd
5584 \end_layout
5585
5586 \end_inset
5587 </cell>
5588 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5589 \begin_inset Text
5590
5591 \begin_layout Plain Layout
5592 asd
5593 \end_layout
5594
5595 \end_inset
5596 </cell>
5597 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5598 \begin_inset Text
5599
5600 \begin_layout Plain Layout
5601 asd
5602 \end_layout
5603
5604 \end_inset
5605 </cell>
5606 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5607 \begin_inset Text
5608
5609 \begin_layout Plain Layout
5610 asd
5611 \end_layout
5612
5613 \end_inset
5614 </cell>
5615 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5616 \begin_inset Text
5617
5618 \begin_layout Plain Layout
5619 asd
5620 \end_layout
5621
5622 \end_inset
5623 </cell>
5624 </row>
5625 </lyxtabular>
5626
5627 \end_inset
5628
5629
5630 \begin_inset ERT
5631 status collapsed
5632
5633 \begin_layout Plain Layout
5634
5635
5636 \backslash
5637 setlength{
5638 \backslash
5639 LTleft}{
5640 \backslash
5641 fill}
5642 \end_layout
5643
5644 \end_inset
5645
5646
5647 \begin_inset ERT
5648 status collapsed
5649
5650 \begin_layout Plain Layout
5651
5652
5653 \backslash
5654 addtocounter{table}{-1}
5655 \end_layout
5656
5657 \end_inset
5658
5659
5660 \begin_inset Note Note
5661 status collapsed
5662
5663 \begin_layout Plain Layout
5664 See the first greyed-out note in section
5665 \begin_inset space ~
5666 \end_inset
5667
5668
5669 \begin_inset CommandInset ref
5670 LatexCommand ref
5671 reference "sub:Longtable-Captions"
5672
5673 \end_inset
5674
5675  for an explanation of this command.
5676 \end_layout
5677
5678 \end_inset
5679
5680
5681 \end_layout
5682
5683 \begin_layout Subsection
5684 Longtable Captions
5685 \begin_inset Index
5686 status collapsed
5687
5688 \begin_layout Plain Layout
5689 Longtables ! Captions
5690 \end_layout
5691
5692 \end_inset
5693
5694
5695 \begin_inset CommandInset label
5696 LatexCommand label
5697 name "sub:Longtable-Captions"
5698
5699 \end_inset
5700
5701
5702 \end_layout
5703
5704 \begin_layout Standard
5705 A longtable cannot be put into a table float because floats can only be
5706  on one page.
5707  But the caption environment of floats can also be used for longtables when
5708  you use for a table row the longtable option 
5709 \family sans
5710 Caption
5711 \family default
5712  as described in sec.
5713 \begin_inset space \thinspace{}
5714 \end_inset
5715
5716
5717 \begin_inset CommandInset ref
5718 LatexCommand ref
5719 reference "sec:Longtables"
5720
5721 \end_inset
5722
5723 .
5724  Only one table row can contain the caption.
5725 \end_layout
5726
5727 \begin_layout Standard
5728 Here is a short longtable to see how it works:
5729 \end_layout
5730
5731 \begin_layout Standard
5732 \begin_inset Tabular
5733 <lyxtabular version="3" rows="6" columns="5">
5734 <features islongtable="true">
5735 <column alignment="center" valignment="top" width="0">
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 <row caption="true">
5741 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
5742 \begin_inset Text
5743
5744 \begin_layout Plain Layout
5745 \begin_inset Caption
5746
5747 \begin_layout Plain Layout
5748 Longtable with caption
5749 \begin_inset OptArg
5750 status open
5751
5752 \begin_layout Plain Layout
5753 Longtable
5754 \end_layout
5755
5756 \end_inset
5757
5758
5759 \end_layout
5760
5761 \end_inset
5762
5763
5764 \end_layout
5765
5766 \end_inset
5767 </cell>
5768 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5769 \begin_inset Text
5770
5771 \begin_layout Plain Layout
5772
5773 \end_layout
5774
5775 \end_inset
5776 </cell>
5777 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5778 \begin_inset Text
5779
5780 \begin_layout Plain Layout
5781
5782 \end_layout
5783
5784 \end_inset
5785 </cell>
5786 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5787 \begin_inset Text
5788
5789 \begin_layout Plain Layout
5790
5791 \end_layout
5792
5793 \end_inset
5794 </cell>
5795 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5796 \begin_inset Text
5797
5798 \begin_layout Plain Layout
5799
5800 \end_layout
5801
5802 \end_inset
5803 </cell>
5804 </row>
5805 <row>
5806 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5807 \begin_inset Text
5808
5809 \begin_layout Plain Layout
5810 1
5811 \end_layout
5812
5813 \end_inset
5814 </cell>
5815 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5816 \begin_inset Text
5817
5818 \begin_layout Plain Layout
5819 2
5820 \end_layout
5821
5822 \end_inset
5823 </cell>
5824 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5825 \begin_inset Text
5826
5827 \begin_layout Plain Layout
5828 3
5829 \end_layout
5830
5831 \end_inset
5832 </cell>
5833 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5834 \begin_inset Text
5835
5836 \begin_layout Plain Layout
5837 4
5838 \end_layout
5839
5840 \end_inset
5841 </cell>
5842 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5843 \begin_inset Text
5844
5845 \begin_layout Plain Layout
5846 5
5847 \end_layout
5848
5849 \end_inset
5850 </cell>
5851 </row>
5852 <row>
5853 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5854 \begin_inset Text
5855
5856 \begin_layout Plain Layout
5857 asd
5858 \end_layout
5859
5860 \end_inset
5861 </cell>
5862 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5863 \begin_inset Text
5864
5865 \begin_layout Plain Layout
5866 s
5867 \end_layout
5868
5869 \end_inset
5870 </cell>
5871 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5872 \begin_inset Text
5873
5874 \begin_layout Plain Layout
5875 s
5876 \end_layout
5877
5878 \end_inset
5879 </cell>
5880 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5881 \begin_inset Text
5882
5883 \begin_layout Plain Layout
5884 s
5885 \end_layout
5886
5887 \end_inset
5888 </cell>
5889 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5890 \begin_inset Text
5891
5892 \begin_layout Plain Layout
5893 asd
5894 \end_layout
5895
5896 \end_inset
5897 </cell>
5898 </row>
5899 <row>
5900 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5901 \begin_inset Text
5902
5903 \begin_layout Plain Layout
5904 asd
5905 \end_layout
5906
5907 \end_inset
5908 </cell>
5909 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5910 \begin_inset Text
5911
5912 \begin_layout Plain Layout
5913 s
5914 \end_layout
5915
5916 \end_inset
5917 </cell>
5918 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5919 \begin_inset Text
5920
5921 \begin_layout Plain Layout
5922 s
5923 \end_layout
5924
5925 \end_inset
5926 </cell>
5927 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5928 \begin_inset Text
5929
5930 \begin_layout Plain Layout
5931 s
5932 \end_layout
5933
5934 \end_inset
5935 </cell>
5936 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5937 \begin_inset Text
5938
5939 \begin_layout Plain Layout
5940 asd
5941 \end_layout
5942
5943 \end_inset
5944 </cell>
5945 </row>
5946 <row>
5947 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5948 \begin_inset Text
5949
5950 \begin_layout Plain Layout
5951 asd
5952 \end_layout
5953
5954 \end_inset
5955 </cell>
5956 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5957 \begin_inset Text
5958
5959 \begin_layout Plain Layout
5960 s
5961 \end_layout
5962
5963 \end_inset
5964 </cell>
5965 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5966 \begin_inset Text
5967
5968 \begin_layout Plain Layout
5969 s
5970 \end_layout
5971
5972 \end_inset
5973 </cell>
5974 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5975 \begin_inset Text
5976
5977 \begin_layout Plain Layout
5978 s
5979 \end_layout
5980
5981 \end_inset
5982 </cell>
5983 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5984 \begin_inset Text
5985
5986 \begin_layout Plain Layout
5987 asd
5988 \end_layout
5989
5990 \end_inset
5991 </cell>
5992 </row>
5993 <row>
5994 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5995 \begin_inset Text
5996
5997 \begin_layout Plain Layout
5998 asd
5999 \end_layout
6000
6001 \end_inset
6002 </cell>
6003 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6004 \begin_inset Text
6005
6006 \begin_layout Plain Layout
6007 asd
6008 \end_layout
6009
6010 \end_inset
6011 </cell>
6012 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6013 \begin_inset Text
6014
6015 \begin_layout Plain Layout
6016 asd
6017 \end_layout
6018
6019 \end_inset
6020 </cell>
6021 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6022 \begin_inset Text
6023
6024 \begin_layout Plain Layout
6025 asd
6026 \end_layout
6027
6028 \end_inset
6029 </cell>
6030 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6031 \begin_inset Text
6032
6033 \begin_layout Plain Layout
6034 asd
6035 \end_layout
6036
6037 \end_inset
6038 </cell>
6039 </row>
6040 </lyxtabular>
6041
6042 \end_inset
6043
6044
6045 \end_layout
6046
6047 \begin_layout Standard
6048 \begin_inset VSpace medskip
6049 \end_inset
6050
6051
6052 \begin_inset Note Greyedout
6053 status open
6054
6055 \begin_layout Plain Layout
6056
6057 \series bold
6058 Note
6059 \begin_inset space ~
6060 \end_inset
6061
6062 1:
6063 \series default
6064  The table number is increased for every longtable, also if you didn't set
6065  a caption for it.
6066  For this reason you could have the case that e.
6067 \begin_inset space \thinspace{}
6068 \end_inset
6069
6070 g.
6071 \begin_inset space \space{}
6072 \end_inset
6073
6074 Table
6075 \begin_inset space ~
6076 \end_inset
6077
6078 2.4 follows on Table
6079 \begin_inset space ~
6080 \end_inset
6081
6082 2.1 in the list of tables if there are two longtables without captions.
6083  To avoid this you can add the following command in TeX-Code behind every
6084  longtable without a caption:
6085 \end_layout
6086
6087 \begin_layout Plain Layout
6088
6089 \series bold
6090
6091 \backslash
6092 addtocounter{table}{-1}
6093 \end_layout
6094
6095 \begin_layout Plain Layout
6096 This is not needed when none of your longtables have a caption and you add
6097  the following code to the document preamble:
6098 \end_layout
6099
6100 \begin_layout Plain Layout
6101
6102 \series bold
6103
6104 \backslash
6105 let
6106 \backslash
6107 myEnd
6108 \backslash
6109 endlongtable
6110 \begin_inset Newline newline
6111 \end_inset
6112
6113
6114 \backslash
6115 renewcommand{
6116 \backslash
6117 endlongtable}{
6118 \backslash
6119 myEnd
6120 \backslash
6121 addtocounter{table}{-1}}
6122 \end_layout
6123
6124 \end_inset
6125
6126
6127 \end_layout
6128
6129 \begin_layout Standard
6130 \begin_inset Note Greyedout
6131 status open
6132
6133 \begin_layout Plain Layout
6134
6135 \series bold
6136 Note
6137 \begin_inset space ~
6138 \end_inset
6139
6140 2:
6141 \series default
6142  If you are using
6143 \series bold
6144  hyperref
6145 \series default
6146
6147 \begin_inset Index
6148 status collapsed
6149
6150 \begin_layout Plain Layout
6151 LaTeX-packages ! hyperref
6152 \end_layout
6153
6154 \end_inset
6155
6156  in the 
6157 \family sans
6158 PDF Properties
6159 \family default
6160  of the 
6161 \family sans
6162 Document Settings
6163 \family default
6164  dialog to link cross-references, the link to a longtable caption will always
6165  point to the beginning of the document.
6166 \end_layout
6167
6168 \end_inset
6169
6170
6171 \end_layout
6172
6173 \begin_layout Subsubsection
6174 References to Longtables
6175 \begin_inset Index
6176 status collapsed
6177
6178 \begin_layout Plain Layout
6179 Longtables ! References
6180 \end_layout
6181
6182 \end_inset
6183
6184
6185 \end_layout
6186
6187 \begin_layout Standard
6188 \begin_inset Tabular
6189 <lyxtabular version="3" rows="6" columns="5">
6190 <features islongtable="true">
6191 <column alignment="center" valignment="top" width="0">
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 <row caption="true">
6197 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6198 \begin_inset Text
6199
6200 \begin_layout Plain Layout
6201 \begin_inset Caption
6202
6203 \begin_layout Plain Layout
6204 Referenced longtable
6205 \begin_inset CommandInset label
6206 LatexCommand label
6207 name "tab:RefExample"
6208
6209 \end_inset
6210
6211
6212 \end_layout
6213
6214 \end_inset
6215
6216
6217 \end_layout
6218
6219 \end_inset
6220 </cell>
6221 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6222 \begin_inset Text
6223
6224 \begin_layout Plain Layout
6225
6226 \end_layout
6227
6228 \end_inset
6229 </cell>
6230 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6231 \begin_inset Text
6232
6233 \begin_layout Plain Layout
6234
6235 \end_layout
6236
6237 \end_inset
6238 </cell>
6239 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6240 \begin_inset Text
6241
6242 \begin_layout Plain Layout
6243
6244 \end_layout
6245
6246 \end_inset
6247 </cell>
6248 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6249 \begin_inset Text
6250
6251 \begin_layout Plain Layout
6252
6253 \end_layout
6254
6255 \end_inset
6256 </cell>
6257 </row>
6258 <row>
6259 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6260 \begin_inset Text
6261
6262 \begin_layout Plain Layout
6263 1
6264 \end_layout
6265
6266 \end_inset
6267 </cell>
6268 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6269 \begin_inset Text
6270
6271 \begin_layout Plain Layout
6272 2
6273 \end_layout
6274
6275 \end_inset
6276 </cell>
6277 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6278 \begin_inset Text
6279
6280 \begin_layout Plain Layout
6281 3
6282 \end_layout
6283
6284 \end_inset
6285 </cell>
6286 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6287 \begin_inset Text
6288
6289 \begin_layout Plain Layout
6290 4
6291 \end_layout
6292
6293 \end_inset
6294 </cell>
6295 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6296 \begin_inset Text
6297
6298 \begin_layout Plain Layout
6299 5
6300 \end_layout
6301
6302 \end_inset
6303 </cell>
6304 </row>
6305 <row>
6306 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6307 \begin_inset Text
6308
6309 \begin_layout Plain Layout
6310 asd
6311 \end_layout
6312
6313 \end_inset
6314 </cell>
6315 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6316 \begin_inset Text
6317
6318 \begin_layout Plain Layout
6319 s
6320 \end_layout
6321
6322 \end_inset
6323 </cell>
6324 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6325 \begin_inset Text
6326
6327 \begin_layout Plain Layout
6328 s
6329 \end_layout
6330
6331 \end_inset
6332 </cell>
6333 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6334 \begin_inset Text
6335
6336 \begin_layout Plain Layout
6337 s
6338 \end_layout
6339
6340 \end_inset
6341 </cell>
6342 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6343 \begin_inset Text
6344
6345 \begin_layout Plain Layout
6346 asd
6347 \end_layout
6348
6349 \end_inset
6350 </cell>
6351 </row>
6352 <row>
6353 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6354 \begin_inset Text
6355
6356 \begin_layout Plain Layout
6357 asd
6358 \end_layout
6359
6360 \end_inset
6361 </cell>
6362 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6363 \begin_inset Text
6364
6365 \begin_layout Plain Layout
6366 s
6367 \end_layout
6368
6369 \end_inset
6370 </cell>
6371 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6372 \begin_inset Text
6373
6374 \begin_layout Plain Layout
6375 s
6376 \end_layout
6377
6378 \end_inset
6379 </cell>
6380 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6381 \begin_inset Text
6382
6383 \begin_layout Plain Layout
6384 s
6385 \end_layout
6386
6387 \end_inset
6388 </cell>
6389 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6390 \begin_inset Text
6391
6392 \begin_layout Plain Layout
6393 asd
6394 \end_layout
6395
6396 \end_inset
6397 </cell>
6398 </row>
6399 <row>
6400 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6401 \begin_inset Text
6402
6403 \begin_layout Plain Layout
6404 asd
6405 \end_layout
6406
6407 \end_inset
6408 </cell>
6409 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6410 \begin_inset Text
6411
6412 \begin_layout Plain Layout
6413 s
6414 \end_layout
6415
6416 \end_inset
6417 </cell>
6418 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6419 \begin_inset Text
6420
6421 \begin_layout Plain Layout
6422 s
6423 \end_layout
6424
6425 \end_inset
6426 </cell>
6427 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6428 \begin_inset Text
6429
6430 \begin_layout Plain Layout
6431 s
6432 \end_layout
6433
6434 \end_inset
6435 </cell>
6436 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6437 \begin_inset Text
6438
6439 \begin_layout Plain Layout
6440 asd
6441 \end_layout
6442
6443 \end_inset
6444 </cell>
6445 </row>
6446 <row>
6447 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6448 \begin_inset Text
6449
6450 \begin_layout Plain Layout
6451 asd
6452 \end_layout
6453
6454 \end_inset
6455 </cell>
6456 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6457 \begin_inset Text
6458
6459 \begin_layout Plain Layout
6460 sad
6461 \end_layout
6462
6463 \end_inset
6464 </cell>
6465 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6466 \begin_inset Text
6467
6468 \begin_layout Plain Layout
6469 asd
6470 \end_layout
6471
6472 \end_inset
6473 </cell>
6474 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6475 \begin_inset Text
6476
6477 \begin_layout Plain Layout
6478 asd
6479 \end_layout
6480
6481 \end_inset
6482 </cell>
6483 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6484 \begin_inset Text
6485
6486 \begin_layout Plain Layout
6487 asd
6488 \end_layout
6489
6490 \end_inset
6491 </cell>
6492 </row>
6493 </lyxtabular>
6494
6495 \end_inset
6496
6497
6498 \end_layout
6499
6500 \begin_layout Standard
6501 To reference a longtable, insert a label into the caption.
6502 \end_layout
6503
6504 \begin_layout Standard
6505 This is a reference to Table
6506 \begin_inset space ~
6507 \end_inset
6508
6509
6510 \begin_inset CommandInset ref
6511 LatexCommand ref
6512 reference "tab:RefExample"
6513
6514 \end_inset
6515
6516 .
6517 \end_layout
6518
6519 \begin_layout Standard
6520 The caption layout can be set together with all other captions of your document
6521  using the LaTeX-package 
6522 \series bold
6523 caption
6524 \series default
6525
6526 \begin_inset Index
6527 status collapsed
6528
6529 \begin_layout Plain Layout
6530 LaTeX-packages ! caption
6531 \end_layout
6532
6533 \end_inset
6534
6535 , see section
6536 \begin_inset space ~
6537 \end_inset
6538
6539
6540 \begin_inset CommandInset ref
6541 LatexCommand ref
6542 reference "sec:Caption-Formatting"
6543
6544 \end_inset
6545
6546 .
6547 \end_layout
6548
6549 \begin_layout Subsubsection
6550 Caption Width
6551 \begin_inset Index
6552 status collapsed
6553
6554 \begin_layout Plain Layout
6555 Longtables ! Caption Width
6556 \end_layout
6557
6558 \end_inset
6559
6560
6561 \end_layout
6562
6563 \begin_layout Standard
6564 The maximal width of of caption lines is defined by the length 
6565 \series bold
6566
6567 \backslash
6568 LTcapwidth
6569 \series default
6570 .
6571  Its default value is 4
6572 \begin_inset space \thinspace{}
6573 \end_inset
6574
6575 in.
6576  To change it add the following command to your document preamble or as
6577  TeX-Code into your document before the longtable that should be affected
6578 \end_layout
6579
6580 \begin_layout Standard
6581
6582 \series bold
6583
6584 \backslash
6585 setlength{
6586 \backslash
6587 LTcapwidth}{width}
6588 \end_layout
6589
6590 \begin_layout Standard
6591 where the width could have one of the units listed in appendix
6592 \begin_inset space ~
6593 \end_inset
6594
6595
6596 \begin_inset CommandInset ref
6597 LatexCommand ref
6598 reference "cha:Units-available-in"
6599
6600 \end_inset
6601
6602 .
6603 \end_layout
6604
6605 \begin_layout Standard
6606 The following tables show the difference:
6607 \end_layout
6608
6609 \begin_layout Standard
6610 \begin_inset Tabular
6611 <lyxtabular version="3" rows="6" columns="5">
6612 <features islongtable="true">
6613 <column alignment="center" valignment="top" width="0">
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 <row caption="true">
6619 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6620 \begin_inset Text
6621
6622 \begin_layout Plain Layout
6623 \begin_inset Caption
6624
6625 \begin_layout Plain Layout
6626 long full title with default width long full title with default width long
6627  full title with default width
6628 \begin_inset OptArg
6629 status collapsed
6630
6631 \begin_layout Plain Layout
6632 caption with default width
6633 \end_layout
6634
6635 \end_inset
6636
6637
6638 \end_layout
6639
6640 \end_inset
6641
6642
6643 \end_layout
6644
6645 \end_inset
6646 </cell>
6647 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6648 \begin_inset Text
6649
6650 \begin_layout Plain Layout
6651
6652 \end_layout
6653
6654 \end_inset
6655 </cell>
6656 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6657 \begin_inset Text
6658
6659 \begin_layout Plain Layout
6660
6661 \end_layout
6662
6663 \end_inset
6664 </cell>
6665 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6666 \begin_inset Text
6667
6668 \begin_layout Plain Layout
6669
6670 \end_layout
6671
6672 \end_inset
6673 </cell>
6674 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6675 \begin_inset Text
6676
6677 \begin_layout Plain Layout
6678
6679 \end_layout
6680
6681 \end_inset
6682 </cell>
6683 </row>
6684 <row>
6685 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6686 \begin_inset Text
6687
6688 \begin_layout Plain Layout
6689 1
6690 \end_layout
6691
6692 \end_inset
6693 </cell>
6694 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6695 \begin_inset Text
6696
6697 \begin_layout Plain Layout
6698 2
6699 \end_layout
6700
6701 \end_inset
6702 </cell>
6703 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6704 \begin_inset Text
6705
6706 \begin_layout Plain Layout
6707 3
6708 \end_layout
6709
6710 \end_inset
6711 </cell>
6712 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6713 \begin_inset Text
6714
6715 \begin_layout Plain Layout
6716 4
6717 \end_layout
6718
6719 \end_inset
6720 </cell>
6721 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6722 \begin_inset Text
6723
6724 \begin_layout Plain Layout
6725 5
6726 \end_layout
6727
6728 \end_inset
6729 </cell>
6730 </row>
6731 <row>
6732 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6733 \begin_inset Text
6734
6735 \begin_layout Plain Layout
6736 asd
6737 \end_layout
6738
6739 \end_inset
6740 </cell>
6741 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6742 \begin_inset Text
6743
6744 \begin_layout Plain Layout
6745 s
6746 \end_layout
6747
6748 \end_inset
6749 </cell>
6750 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6751 \begin_inset Text
6752
6753 \begin_layout Plain Layout
6754 s
6755 \end_layout
6756
6757 \end_inset
6758 </cell>
6759 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6760 \begin_inset Text
6761
6762 \begin_layout Plain Layout
6763 s
6764 \end_layout
6765
6766 \end_inset
6767 </cell>
6768 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6769 \begin_inset Text
6770
6771 \begin_layout Plain Layout
6772 asd
6773 \end_layout
6774
6775 \end_inset
6776 </cell>
6777 </row>
6778 <row>
6779 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6780 \begin_inset Text
6781
6782 \begin_layout Plain Layout
6783 asd
6784 \end_layout
6785
6786 \end_inset
6787 </cell>
6788 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6789 \begin_inset Text
6790
6791 \begin_layout Plain Layout
6792 s
6793 \end_layout
6794
6795 \end_inset
6796 </cell>
6797 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6798 \begin_inset Text
6799
6800 \begin_layout Plain Layout
6801 s
6802 \end_layout
6803
6804 \end_inset
6805 </cell>
6806 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6807 \begin_inset Text
6808
6809 \begin_layout Plain Layout
6810 s
6811 \end_layout
6812
6813 \end_inset
6814 </cell>
6815 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6816 \begin_inset Text
6817
6818 \begin_layout Plain Layout
6819 asd
6820 \end_layout
6821
6822 \end_inset
6823 </cell>
6824 </row>
6825 <row>
6826 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6827 \begin_inset Text
6828
6829 \begin_layout Plain Layout
6830 asd
6831 \end_layout
6832
6833 \end_inset
6834 </cell>
6835 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6836 \begin_inset Text
6837
6838 \begin_layout Plain Layout
6839 s
6840 \end_layout
6841
6842 \end_inset
6843 </cell>
6844 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6845 \begin_inset Text
6846
6847 \begin_layout Plain Layout
6848 s
6849 \end_layout
6850
6851 \end_inset
6852 </cell>
6853 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6854 \begin_inset Text
6855
6856 \begin_layout Plain Layout
6857 s
6858 \end_layout
6859
6860 \end_inset
6861 </cell>
6862 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6863 \begin_inset Text
6864
6865 \begin_layout Plain Layout
6866 asd
6867 \end_layout
6868
6869 \end_inset
6870 </cell>
6871 </row>
6872 <row>
6873 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6874 \begin_inset Text
6875
6876 \begin_layout Plain Layout
6877 asd
6878 \end_layout
6879
6880 \end_inset
6881 </cell>
6882 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6883 \begin_inset Text
6884
6885 \begin_layout Plain Layout
6886 sad
6887 \end_layout
6888
6889 \end_inset
6890 </cell>
6891 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6892 \begin_inset Text
6893
6894 \begin_layout Plain Layout
6895 asd
6896 \end_layout
6897
6898 \end_inset
6899 </cell>
6900 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6901 \begin_inset Text
6902
6903 \begin_layout Plain Layout
6904 asd
6905 \end_layout
6906
6907 \end_inset
6908 </cell>
6909 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6910 \begin_inset Text
6911
6912 \begin_layout Plain Layout
6913 asd
6914 \end_layout
6915
6916 \end_inset
6917 </cell>
6918 </row>
6919 </lyxtabular>
6920
6921 \end_inset
6922
6923
6924 \end_layout
6925
6926 \begin_layout Standard
6927 \begin_inset ERT
6928 status collapsed
6929
6930 \begin_layout Plain Layout
6931
6932
6933 \backslash
6934 setlength{
6935 \backslash
6936 LTcapwidth}{5cm}
6937 \end_layout
6938
6939 \end_inset
6940
6941
6942 \begin_inset Tabular
6943 <lyxtabular version="3" rows="6" columns="5">
6944 <features islongtable="true">
6945 <column alignment="center" valignment="top" width="0">
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 <row caption="true">
6951 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6952 \begin_inset Text
6953
6954 \begin_layout Plain Layout
6955 \begin_inset Caption
6956
6957 \begin_layout Plain Layout
6958 long full title with width set to 5
6959 \begin_inset space \thinspace{}
6960 \end_inset
6961
6962 cm long full title with width set to 5
6963 \begin_inset space \thinspace{}
6964 \end_inset
6965
6966 cm long full title with width set to 5
6967 \begin_inset space \thinspace{}
6968 \end_inset
6969
6970 cm
6971 \begin_inset OptArg
6972 status collapsed
6973
6974 \begin_layout Plain Layout
6975 caption with width
6976 \begin_inset space \thinspace{}
6977 \end_inset
6978
6979 =
6980 \begin_inset space \thinspace{}
6981 \end_inset
6982
6983 5
6984 \begin_inset space \thinspace{}
6985 \end_inset
6986
6987 cm
6988 \end_layout
6989
6990 \end_inset
6991
6992
6993 \end_layout
6994
6995 \end_inset
6996
6997
6998 \end_layout
6999
7000 \end_inset
7001 </cell>
7002 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7003 \begin_inset Text
7004
7005 \begin_layout Plain Layout
7006
7007 \end_layout
7008
7009 \end_inset
7010 </cell>
7011 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7012 \begin_inset Text
7013
7014 \begin_layout Plain Layout
7015
7016 \end_layout
7017
7018 \end_inset
7019 </cell>
7020 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7021 \begin_inset Text
7022
7023 \begin_layout Plain Layout
7024
7025 \end_layout
7026
7027 \end_inset
7028 </cell>
7029 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7030 \begin_inset Text
7031
7032 \begin_layout Plain Layout
7033
7034 \end_layout
7035
7036 \end_inset
7037 </cell>
7038 </row>
7039 <row>
7040 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7041 \begin_inset Text
7042
7043 \begin_layout Plain Layout
7044 1
7045 \end_layout
7046
7047 \end_inset
7048 </cell>
7049 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7050 \begin_inset Text
7051
7052 \begin_layout Plain Layout
7053 2
7054 \end_layout
7055
7056 \end_inset
7057 </cell>
7058 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7059 \begin_inset Text
7060
7061 \begin_layout Plain Layout
7062 3
7063 \end_layout
7064
7065 \end_inset
7066 </cell>
7067 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7068 \begin_inset Text
7069
7070 \begin_layout Plain Layout
7071 4
7072 \end_layout
7073
7074 \end_inset
7075 </cell>
7076 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7077 \begin_inset Text
7078
7079 \begin_layout Plain Layout
7080 5
7081 \end_layout
7082
7083 \end_inset
7084 </cell>
7085 </row>
7086 <row>
7087 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7088 \begin_inset Text
7089
7090 \begin_layout Plain Layout
7091 asd
7092 \end_layout
7093
7094 \end_inset
7095 </cell>
7096 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7097 \begin_inset Text
7098
7099 \begin_layout Plain Layout
7100 s
7101 \end_layout
7102
7103 \end_inset
7104 </cell>
7105 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7106 \begin_inset Text
7107
7108 \begin_layout Plain Layout
7109 s
7110 \end_layout
7111
7112 \end_inset
7113 </cell>
7114 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7115 \begin_inset Text
7116
7117 \begin_layout Plain Layout
7118 s
7119 \end_layout
7120
7121 \end_inset
7122 </cell>
7123 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7124 \begin_inset Text
7125
7126 \begin_layout Plain Layout
7127 asd
7128 \end_layout
7129
7130 \end_inset
7131 </cell>
7132 </row>
7133 <row>
7134 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7135 \begin_inset Text
7136
7137 \begin_layout Plain Layout
7138 asd
7139 \end_layout
7140
7141 \end_inset
7142 </cell>
7143 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7144 \begin_inset Text
7145
7146 \begin_layout Plain Layout
7147 s
7148 \end_layout
7149
7150 \end_inset
7151 </cell>
7152 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7153 \begin_inset Text
7154
7155 \begin_layout Plain Layout
7156 s
7157 \end_layout
7158
7159 \end_inset
7160 </cell>
7161 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7162 \begin_inset Text
7163
7164 \begin_layout Plain Layout
7165 s
7166 \end_layout
7167
7168 \end_inset
7169 </cell>
7170 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7171 \begin_inset Text
7172
7173 \begin_layout Plain Layout
7174 asd
7175 \end_layout
7176
7177 \end_inset
7178 </cell>
7179 </row>
7180 <row>
7181 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7182 \begin_inset Text
7183
7184 \begin_layout Plain Layout
7185 asd
7186 \end_layout
7187
7188 \end_inset
7189 </cell>
7190 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7191 \begin_inset Text
7192
7193 \begin_layout Plain Layout
7194 s
7195 \end_layout
7196
7197 \end_inset
7198 </cell>
7199 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7200 \begin_inset Text
7201
7202 \begin_layout Plain Layout
7203 s
7204 \end_layout
7205
7206 \end_inset
7207 </cell>
7208 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7209 \begin_inset Text
7210
7211 \begin_layout Plain Layout
7212 s
7213 \end_layout
7214
7215 \end_inset
7216 </cell>
7217 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7218 \begin_inset Text
7219
7220 \begin_layout Plain Layout
7221 asd
7222 \end_layout
7223
7224 \end_inset
7225 </cell>
7226 </row>
7227 <row>
7228 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7229 \begin_inset Text
7230
7231 \begin_layout Plain Layout
7232 asd
7233 \end_layout
7234
7235 \end_inset
7236 </cell>
7237 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7238 \begin_inset Text
7239
7240 \begin_layout Plain Layout
7241 sad
7242 \end_layout
7243
7244 \end_inset
7245 </cell>
7246 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7247 \begin_inset Text
7248
7249 \begin_layout Plain Layout
7250 asd
7251 \end_layout
7252
7253 \end_inset
7254 </cell>
7255 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7256 \begin_inset Text
7257
7258 \begin_layout Plain Layout
7259 asd
7260 \end_layout
7261
7262 \end_inset
7263 </cell>
7264 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7265 \begin_inset Text
7266
7267 \begin_layout Plain Layout
7268 asd
7269 \end_layout
7270
7271 \end_inset
7272 </cell>
7273 </row>
7274 </lyxtabular>
7275
7276 \end_inset
7277
7278
7279 \end_layout
7280
7281 \begin_layout Standard
7282 \begin_inset ERT
7283 status collapsed
7284
7285 \begin_layout Plain Layout
7286
7287
7288 \backslash
7289 setlength{
7290 \backslash
7291 LTcapwidth}{4in}
7292 \end_layout
7293
7294 \end_inset
7295
7296
7297 \end_layout
7298
7299 \begin_layout Standard
7300 \begin_inset Note Greyedout
7301 status open
7302
7303 \begin_layout Plain Layout
7304
7305 \series bold
7306 Note:
7307 \series default
7308  When the LaTeX-package 
7309 \series bold
7310 caption
7311 \series default
7312
7313 \begin_inset Index
7314 status collapsed
7315
7316 \begin_layout Plain Layout
7317 LaTeX-packages ! caption
7318 \end_layout
7319
7320 \end_inset
7321
7322  is used, as in this document, the full page width is used for the caption
7323  when you use the default value of 4
7324 \begin_inset space \thinspace{}
7325 \end_inset
7326
7327 in for 
7328 \series bold
7329
7330 \backslash
7331 LTcapwidth
7332 \series default
7333 .
7334  To get in this case exactly a 4
7335 \begin_inset space \thinspace{}
7336 \end_inset
7337
7338 in wide caption, you can either use a value slightly different from 4.0
7339 \begin_inset space \thinspace{}
7340 \end_inset
7341
7342 in, e.
7343 \begin_inset space \thinspace{}
7344 \end_inset
7345
7346 g.
7347 \begin_inset space \space{}
7348 \end_inset
7349
7350 3.99
7351 \begin_inset space \thinspace{}
7352 \end_inset
7353
7354 in, or the LaTeX-command 
7355 \series bold
7356
7357 \backslash
7358 captionsetup{width=value}
7359 \series default
7360  that is provided by the 
7361 \series bold
7362 caption
7363 \series default
7364 -package.
7365 \end_layout
7366
7367 \end_inset
7368
7369
7370 \end_layout
7371
7372 \begin_layout Subsubsection
7373 Different Captions for Table Pages
7374 \begin_inset Index
7375 status collapsed
7376
7377 \begin_layout Plain Layout
7378 Longtables ! Different Captions for Pages
7379 \end_layout
7380
7381 \end_inset
7382
7383
7384 \end_layout
7385
7386 \begin_layout Standard
7387 When the table captions for the following pages should differ from the one
7388  of the first table page, insert a caption with the TeX code command
7389 \end_layout
7390
7391 \begin_layout Standard
7392
7393 \series bold
7394
7395 \backslash
7396 caption*{caption text}
7397 \backslash
7398
7399 \backslash
7400 %
7401 \end_layout
7402
7403 \begin_layout Standard
7404 in a dummy caption row that is marked as header.
7405  Table
7406 \begin_inset space ~
7407 \end_inset
7408
7409
7410 \begin_inset CommandInset ref
7411 LatexCommand ref
7412 reference "tab:DiffCaptions"
7413
7414 \end_inset
7415
7416  is an example for a longtable with different heading where the second caption
7417  doesn't include the table number.
7418 \end_layout
7419
7420 \begin_layout Standard
7421 \align center
7422 \begin_inset Tabular
7423 <lyxtabular version="3" rows="59" columns="3">
7424 <features islongtable="true" lastFootEmpty="true">
7425 <column alignment="left" valignment="top" width="0cm">
7426 <column alignment="left" valignment="top" width="0pt">
7427 <column alignment="center" valignment="top" width="0pt">
7428 <row caption="true">
7429 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
7430 \begin_inset Text
7431
7432 \begin_layout Plain Layout
7433 \begin_inset Caption
7434
7435 \begin_layout Plain Layout
7436 Example Phone List
7437 \begin_inset CommandInset label
7438 LatexCommand label
7439 name "tab:DiffCaptions"
7440
7441 \end_inset
7442
7443
7444 \begin_inset OptArg
7445 status collapsed
7446
7447 \begin_layout Plain Layout
7448 Example Phone List
7449 \end_layout
7450
7451 \end_inset
7452
7453
7454 \end_layout
7455
7456 \end_inset
7457
7458
7459 \end_layout
7460
7461 \end_inset
7462 </cell>
7463 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7464 \begin_inset Text
7465
7466 \begin_layout Plain Layout
7467
7468 \end_layout
7469
7470 \end_inset
7471 </cell>
7472 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7473 \begin_inset Text
7474
7475 \begin_layout Plain Layout
7476
7477 \end_layout
7478
7479 \end_inset
7480 </cell>
7481 </row>
7482 <row endfirsthead="true">
7483 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7484 \begin_inset Text
7485
7486 \begin_layout Plain Layout
7487
7488 \series bold
7489 Example Phone List (ignore the names)
7490 \end_layout
7491
7492 \end_inset
7493 </cell>
7494 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7495 \begin_inset Text
7496
7497 \begin_layout Plain Layout
7498
7499 \end_layout
7500
7501 \end_inset
7502 </cell>
7503 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7504 \begin_inset Text
7505
7506 \begin_layout Plain Layout
7507
7508 \end_layout
7509
7510 \end_inset
7511 </cell>
7512 </row>
7513 <row endfirsthead="true">
7514 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7515 \begin_inset Text
7516
7517 \begin_layout Plain Layout
7518
7519 \series bold
7520 NAME
7521 \end_layout
7522
7523 \end_inset
7524 </cell>
7525 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7526 \begin_inset Text
7527
7528 \begin_layout Plain Layout
7529
7530 \end_layout
7531
7532 \end_inset
7533 </cell>
7534 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7535 \begin_inset Text
7536
7537 \begin_layout Plain Layout
7538
7539 \series bold
7540 TEL.
7541 \end_layout
7542
7543 \end_inset
7544 </cell>
7545 </row>
7546 <row endhead="true">
7547 <cell alignment="left" valignment="top" leftline="true" usebox="none">
7548 \begin_inset Text
7549
7550 \begin_layout Plain Layout
7551 \begin_inset ERT
7552 status open
7553
7554 \begin_layout Plain Layout
7555
7556
7557 \backslash
7558 caption*{Continued Example Phone List}
7559 \backslash
7560
7561 \backslash
7562 %
7563 \end_layout
7564
7565 \end_inset
7566
7567
7568 \end_layout
7569
7570 \end_inset
7571 </cell>
7572 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7573 \begin_inset Text
7574
7575 \begin_layout Plain Layout
7576
7577 \end_layout
7578
7579 \end_inset
7580 </cell>
7581 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7582 \begin_inset Text
7583
7584 \begin_layout Plain Layout
7585
7586 \end_layout
7587
7588 \end_inset
7589 </cell>
7590 </row>
7591 <row endhead="true">
7592 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7593 \begin_inset Text
7594
7595 \begin_layout Plain Layout
7596
7597 \series bold
7598 Example Phone List
7599 \end_layout
7600
7601 \end_inset
7602 </cell>
7603 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7604 \begin_inset Text
7605
7606 \begin_layout Plain Layout
7607
7608 \end_layout
7609
7610 \end_inset
7611 </cell>
7612 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7613 \begin_inset Text
7614
7615 \begin_layout Plain Layout
7616
7617 \end_layout
7618
7619 \end_inset
7620 </cell>
7621 </row>
7622 <row endhead="true">
7623 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7624 \begin_inset Text
7625
7626 \begin_layout Plain Layout
7627
7628 \series bold
7629 NAME
7630 \end_layout
7631
7632 \end_inset
7633 </cell>
7634 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7635 \begin_inset Text
7636
7637 \begin_layout Plain Layout
7638
7639 \end_layout
7640
7641 \end_inset
7642 </cell>
7643 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7644 \begin_inset Text
7645
7646 \begin_layout Plain Layout
7647
7648 \series bold
7649 TEL.
7650 \end_layout
7651
7652 \end_inset
7653 </cell>
7654 </row>
7655 <row endfoot="true">
7656 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
7657 \begin_inset Text
7658
7659 \begin_layout Plain Layout
7660 continued on next page
7661 \end_layout
7662
7663 \end_inset
7664 </cell>
7665 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7666 \begin_inset Text
7667
7668 \begin_layout Plain Layout
7669
7670 \end_layout
7671
7672 \end_inset
7673 </cell>
7674 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7675 \begin_inset Text
7676
7677 \begin_layout Plain Layout
7678
7679 \end_layout
7680
7681 \end_inset
7682 </cell>
7683 </row>
7684 <row>
7685 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7686 \begin_inset Text
7687
7688 \begin_layout Plain Layout
7689
7690 \series bold
7691 Annovi
7692 \end_layout
7693
7694 \end_inset
7695 </cell>
7696 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7697 \begin_inset Text
7698
7699 \begin_layout Plain Layout
7700 Silvia
7701 \end_layout
7702
7703 \end_inset
7704 </cell>
7705 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
7706 \begin_inset Text
7707
7708 \begin_layout Plain Layout
7709 111
7710 \end_layout
7711
7712 \end_inset
7713 </cell>
7714 </row>
7715 <row>
7716 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7717 \begin_inset Text
7718
7719 \begin_layout Plain Layout
7720
7721 \series bold
7722 Bertoli
7723 \end_layout
7724
7725 \end_inset
7726 </cell>
7727 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7728 \begin_inset Text
7729
7730 \begin_layout Plain Layout
7731 Stefano
7732 \end_layout
7733
7734 \end_inset
7735 </cell>
7736 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7737 \begin_inset Text
7738
7739 \begin_layout Plain Layout
7740 111
7741 \end_layout
7742
7743 \end_inset
7744 </cell>
7745 </row>
7746 <row>
7747 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7748 \begin_inset Text
7749
7750 \begin_layout Plain Layout
7751
7752 \series bold
7753 Bozzi
7754 \end_layout
7755
7756 \end_inset
7757 </cell>
7758 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7759 \begin_inset Text
7760
7761 \begin_layout Plain Layout
7762 Walter
7763 \end_layout
7764
7765 \end_inset
7766 </cell>
7767 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7768 \begin_inset Text
7769
7770 \begin_layout Plain Layout
7771 111
7772 \end_layout
7773
7774 \end_inset
7775 </cell>
7776 </row>
7777 <row>
7778 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7779 \begin_inset Text
7780
7781 \begin_layout Plain Layout
7782
7783 \series bold
7784 Cachia
7785 \end_layout
7786
7787 \end_inset
7788 </cell>
7789 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7790 \begin_inset Text
7791
7792 \begin_layout Plain Layout
7793 Maria
7794 \end_layout
7795
7796 \end_inset
7797 </cell>
7798 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7799 \begin_inset Text
7800
7801 \begin_layout Plain Layout
7802 111
7803 \end_layout
7804
7805 \end_inset
7806 </cell>
7807 </row>
7808 <row>
7809 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7810 \begin_inset Text
7811
7812 \begin_layout Plain Layout
7813
7814 \series bold
7815 Cachia
7816 \end_layout
7817
7818 \end_inset
7819 </cell>
7820 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7821 \begin_inset Text
7822
7823 \begin_layout Plain Layout
7824 Maurizio
7825 \end_layout
7826
7827 \end_inset
7828 </cell>
7829 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7830 \begin_inset Text
7831
7832 \begin_layout Plain Layout
7833 111
7834 \end_layout
7835
7836 \end_inset
7837 </cell>
7838 </row>
7839 <row>
7840 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7841 \begin_inset Text
7842
7843 \begin_layout Plain Layout
7844
7845 \series bold
7846 Cinquemani
7847 \end_layout
7848
7849 \end_inset
7850 </cell>
7851 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7852 \begin_inset Text
7853
7854 \begin_layout Plain Layout
7855 Giusi
7856 \end_layout
7857
7858 \end_inset
7859 </cell>
7860 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7861 \begin_inset Text
7862
7863 \begin_layout Plain Layout
7864 111
7865 \end_layout
7866
7867 \end_inset
7868 </cell>
7869 </row>
7870 <row>
7871 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7872 \begin_inset Text
7873
7874 \begin_layout Plain Layout
7875
7876 \series bold
7877 Colin
7878 \end_layout
7879
7880 \end_inset
7881 </cell>
7882 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7883 \begin_inset Text
7884
7885 \begin_layout Plain Layout
7886 Bernard
7887 \end_layout
7888
7889 \end_inset
7890 </cell>
7891 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7892 \begin_inset Text
7893
7894 \begin_layout Plain Layout
7895 111
7896 \end_layout
7897
7898 \end_inset
7899 </cell>
7900 </row>
7901 <row>
7902 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7903 \begin_inset Text
7904
7905 \begin_layout Plain Layout
7906
7907 \series bold
7908 Concli
7909 \end_layout
7910
7911 \end_inset
7912 </cell>
7913 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7914 \begin_inset Text
7915
7916 \begin_layout Plain Layout
7917 Gianfranco
7918 \end_layout
7919
7920 \end_inset
7921 </cell>
7922 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7923 \begin_inset Text
7924
7925 \begin_layout Plain Layout
7926 111
7927 \end_layout
7928
7929 \end_inset
7930 </cell>
7931 </row>
7932 <row>
7933 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7934 \begin_inset Text
7935
7936 \begin_layout Plain Layout
7937
7938 \series bold
7939 Dal Bosco
7940 \end_layout
7941
7942 \end_inset
7943 </cell>
7944 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7945 \begin_inset Text
7946
7947 \begin_layout Plain Layout
7948 Carolina
7949 \end_layout
7950
7951 \end_inset
7952 </cell>
7953 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7954 \begin_inset Text
7955
7956 \begin_layout Plain Layout
7957 111
7958 \end_layout
7959
7960 \end_inset
7961 </cell>
7962 </row>
7963 <row>
7964 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7965 \begin_inset Text
7966
7967 \begin_layout Plain Layout
7968
7969 \series bold
7970 Dalpiaz
7971 \end_layout
7972
7973 \end_inset
7974 </cell>
7975 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7976 \begin_inset Text
7977
7978 \begin_layout Plain Layout
7979 Annamaria
7980 \end_layout
7981
7982 \end_inset
7983 </cell>
7984 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7985 \begin_inset Text
7986
7987 \begin_layout Plain Layout
7988 111
7989 \end_layout
7990
7991 \end_inset
7992 </cell>
7993 </row>
7994 <row>
7995 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7996 \begin_inset Text
7997
7998 \begin_layout Plain Layout
7999
8000 \series bold
8001 Feliciello
8002 \end_layout
8003
8004 \end_inset
8005 </cell>
8006 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8007 \begin_inset Text
8008
8009 \begin_layout Plain Layout
8010 Domenico
8011 \end_layout
8012
8013 \end_inset
8014 </cell>
8015 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8016 \begin_inset Text
8017
8018 \begin_layout Plain Layout
8019 111
8020 \end_layout
8021
8022 \end_inset
8023 </cell>
8024 </row>
8025 <row>
8026 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8027 \begin_inset Text
8028
8029 \begin_layout Plain Layout
8030
8031 \series bold
8032 Focarelli
8033 \end_layout
8034
8035 \end_inset
8036 </cell>
8037 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8038 \begin_inset Text
8039
8040 \begin_layout Plain Layout
8041 Paola
8042 \end_layout
8043
8044 \end_inset
8045 </cell>
8046 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8047 \begin_inset Text
8048
8049 \begin_layout Plain Layout
8050 111
8051 \end_layout
8052
8053 \end_inset
8054 </cell>
8055 </row>
8056 <row>
8057 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8058 \begin_inset Text
8059
8060 \begin_layout Plain Layout
8061
8062 \series bold
8063 Galletti
8064 \end_layout
8065
8066 \end_inset
8067 </cell>
8068 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8069 \begin_inset Text
8070
8071 \begin_layout Plain Layout
8072 Oreste
8073 \end_layout
8074
8075 \end_inset
8076 </cell>
8077 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8078 \begin_inset Text
8079
8080 \begin_layout Plain Layout
8081 111
8082 \end_layout
8083
8084 \end_inset
8085 </cell>
8086 </row>
8087 <row>
8088 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8089 \begin_inset Text
8090
8091 \begin_layout Plain Layout
8092
8093 \series bold
8094 Gasparini
8095 \end_layout
8096
8097 \end_inset
8098 </cell>
8099 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8100 \begin_inset Text
8101
8102 \begin_layout Plain Layout
8103 Franca
8104 \end_layout
8105
8106 \end_inset
8107 </cell>
8108 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8109 \begin_inset Text
8110
8111 \begin_layout Plain Layout
8112 111
8113 \end_layout
8114
8115 \end_inset
8116 </cell>
8117 </row>
8118 <row>
8119 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8120 \begin_inset Text
8121
8122 \begin_layout Plain Layout
8123
8124 \series bold
8125 Rizzardi
8126 \series default
8127
8128 \begin_inset Foot
8129 status open
8130
8131 \begin_layout Plain Layout
8132 Example footnote
8133 \end_layout
8134
8135 \end_inset
8136
8137
8138 \end_layout
8139
8140 \end_inset
8141 </cell>
8142 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8143 \begin_inset Text
8144
8145 \begin_layout Plain Layout
8146 Paola
8147 \end_layout
8148
8149 \end_inset
8150 </cell>
8151 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8152 \begin_inset Text
8153
8154 \begin_layout Plain Layout
8155 111
8156 \end_layout
8157
8158 \end_inset
8159 </cell>
8160 </row>
8161 <row>
8162 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8163 \begin_inset Text
8164
8165 \begin_layout Plain Layout
8166
8167 \series bold
8168 Lassini
8169 \end_layout
8170
8171 \end_inset
8172 </cell>
8173 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8174 \begin_inset Text
8175
8176 \begin_layout Plain Layout
8177 Giancarlo
8178 \end_layout
8179
8180 \end_inset
8181 </cell>
8182 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8183 \begin_inset Text
8184
8185 \begin_layout Plain Layout
8186 111
8187 \end_layout
8188
8189 \end_inset
8190 </cell>
8191 </row>
8192 <row>
8193 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8194 \begin_inset Text
8195
8196 \begin_layout Plain Layout
8197
8198 \series bold
8199 Malfatti
8200 \end_layout
8201
8202 \end_inset
8203 </cell>
8204 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8205 \begin_inset Text
8206
8207 \begin_layout Plain Layout
8208 Luciano
8209 \end_layout
8210
8211 \end_inset
8212 </cell>
8213 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8214 \begin_inset Text
8215
8216 \begin_layout Plain Layout
8217 111
8218 \end_layout
8219
8220 \end_inset
8221 </cell>
8222 </row>
8223 <row>
8224 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8225 \begin_inset Text
8226
8227 \begin_layout Plain Layout
8228
8229 \series bold
8230 Malfatti
8231 \end_layout
8232
8233 \end_inset
8234 </cell>
8235 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8236 \begin_inset Text
8237
8238 \begin_layout Plain Layout
8239 Valeriano
8240 \end_layout
8241
8242 \end_inset
8243 </cell>
8244 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8245 \begin_inset Text
8246
8247 \begin_layout Plain Layout
8248 111
8249 \end_layout
8250
8251 \end_inset
8252 </cell>
8253 </row>
8254 <row>
8255 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8256 \begin_inset Text
8257
8258 \begin_layout Plain Layout
8259
8260 \series bold
8261 Meneguzzo
8262 \end_layout
8263
8264 \end_inset
8265 </cell>
8266 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8267 \begin_inset Text
8268
8269 \begin_layout Plain Layout
8270 Roberto
8271 \end_layout
8272
8273 \end_inset
8274 </cell>
8275 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8276 \begin_inset Text
8277
8278 \begin_layout Plain Layout
8279 111
8280 \end_layout
8281
8282 \end_inset
8283 </cell>
8284 </row>
8285 <row>
8286 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8287 \begin_inset Text
8288
8289 \begin_layout Plain Layout
8290
8291 \series bold
8292 Mezzadra
8293 \end_layout
8294
8295 \end_inset
8296 </cell>
8297 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8298 \begin_inset Text
8299
8300 \begin_layout Plain Layout
8301 Roberto
8302 \end_layout
8303
8304 \end_inset
8305 </cell>
8306 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8307 \begin_inset Text
8308
8309 \begin_layout Plain Layout
8310 111
8311 \end_layout
8312
8313 \end_inset
8314 </cell>
8315 </row>
8316 <row>
8317 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8318 \begin_inset Text
8319
8320 \begin_layout Plain Layout
8321
8322 \series bold
8323 Pirpamer
8324 \end_layout
8325
8326 \end_inset
8327 </cell>
8328 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8329 \begin_inset Text
8330
8331 \begin_layout Plain Layout
8332 Erich
8333 \end_layout
8334
8335 \end_inset
8336 </cell>
8337 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8338 \begin_inset Text
8339
8340 \begin_layout Plain Layout
8341 111
8342 \end_layout
8343
8344 \end_inset
8345 </cell>
8346 </row>
8347 <row>
8348 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8349 \begin_inset Text
8350
8351 \begin_layout Plain Layout
8352
8353 \series bold
8354 Pochiesa
8355 \end_layout
8356
8357 \end_inset
8358 </cell>
8359 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8360 \begin_inset Text
8361
8362 \begin_layout Plain Layout
8363 Paolo
8364 \end_layout
8365
8366 \end_inset
8367 </cell>
8368 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8369 \begin_inset Text
8370
8371 \begin_layout Plain Layout
8372 111, 222
8373 \end_layout
8374
8375 \end_inset
8376 </cell>
8377 </row>
8378 <row>
8379 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8380 \begin_inset Text
8381
8382 \begin_layout Plain Layout
8383
8384 \series bold
8385 Radina
8386 \end_layout
8387
8388 \end_inset
8389 </cell>
8390 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8391 \begin_inset Text
8392
8393 \begin_layout Plain Layout
8394 Claudio
8395 \end_layout
8396
8397 \end_inset
8398 </cell>
8399 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8400 \begin_inset Text
8401
8402 \begin_layout Plain Layout
8403 111
8404 \end_layout
8405
8406 \end_inset
8407 </cell>
8408 </row>
8409 <row>
8410 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8411 \begin_inset Text
8412
8413 \begin_layout Plain Layout
8414
8415 \series bold
8416 Stuffer
8417 \end_layout
8418
8419 \end_inset
8420 </cell>
8421 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8422 \begin_inset Text
8423
8424 \begin_layout Plain Layout
8425 Oskar
8426 \end_layout
8427
8428 \end_inset
8429 </cell>
8430 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8431 \begin_inset Text
8432
8433 \begin_layout Plain Layout
8434 111
8435 \end_layout
8436
8437 \end_inset
8438 </cell>
8439 </row>
8440 <row>
8441 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8442 \begin_inset Text
8443
8444 \begin_layout Plain Layout
8445
8446 \series bold
8447 Tacchelli
8448 \end_layout
8449
8450 \end_inset
8451 </cell>
8452 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8453 \begin_inset Text
8454
8455 \begin_layout Plain Layout
8456 Ugo
8457 \end_layout
8458
8459 \end_inset
8460 </cell>
8461 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8462 \begin_inset Text
8463
8464 \begin_layout Plain Layout
8465 111
8466 \end_layout
8467
8468 \end_inset
8469 </cell>
8470 </row>
8471 <row>
8472 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8473 \begin_inset Text
8474
8475 \begin_layout Plain Layout
8476
8477 \series bold
8478 Tezzele
8479 \end_layout
8480
8481 \end_inset
8482 </cell>
8483 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8484 \begin_inset Text
8485
8486 \begin_layout Plain Layout
8487 Margit
8488 \end_layout
8489
8490 \end_inset
8491 </cell>
8492 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8493 \begin_inset Text
8494
8495 \begin_layout Plain Layout
8496 111
8497 \end_layout
8498
8499 \end_inset
8500 </cell>
8501 </row>
8502 <row>
8503 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8504 \begin_inset Text
8505
8506 \begin_layout Plain Layout
8507
8508 \series bold
8509 Unterkalmsteiner
8510 \end_layout
8511
8512 \end_inset
8513 </cell>
8514 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8515 \begin_inset Text
8516
8517 \begin_layout Plain Layout
8518 Frieda
8519 \end_layout
8520
8521 \end_inset
8522 </cell>
8523 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8524 \begin_inset Text
8525
8526 \begin_layout Plain Layout
8527 111
8528 \end_layout
8529
8530 \end_inset
8531 </cell>
8532 </row>
8533 <row>
8534 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8535 \begin_inset Text
8536
8537 \begin_layout Plain Layout
8538
8539 \series bold
8540 Vieider
8541 \end_layout
8542
8543 \end_inset
8544 </cell>
8545 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8546 \begin_inset Text
8547
8548 \begin_layout Plain Layout
8549 Hilde
8550 \end_layout
8551
8552 \end_inset
8553 </cell>
8554 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8555 \begin_inset Text
8556
8557 \begin_layout Plain Layout
8558 111
8559 \end_layout
8560
8561 \end_inset
8562 </cell>
8563 </row>
8564 <row>
8565 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8566 \begin_inset Text
8567
8568 \begin_layout Plain Layout
8569
8570 \series bold
8571 Vigna
8572 \end_layout
8573
8574 \end_inset
8575 </cell>
8576 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8577 \begin_inset Text
8578
8579 \begin_layout Plain Layout
8580 Jürgen
8581 \end_layout
8582
8583 \end_inset
8584 </cell>
8585 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8586 \begin_inset Text
8587
8588 \begin_layout Plain Layout
8589 111
8590 \end_layout
8591
8592 \end_inset
8593 </cell>
8594 </row>
8595 <row>
8596 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8597 \begin_inset Text
8598
8599 \begin_layout Plain Layout
8600
8601 \series bold
8602 Weber
8603 \end_layout
8604
8605 \end_inset
8606 </cell>
8607 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8608 \begin_inset Text
8609
8610 \begin_layout Plain Layout
8611 Maurizio
8612 \end_layout
8613
8614 \end_inset
8615 </cell>
8616 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8617 \begin_inset Text
8618
8619 \begin_layout Plain Layout
8620 111
8621 \end_layout
8622
8623 \end_inset
8624 </cell>
8625 </row>
8626 <row>
8627 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8628 \begin_inset Text
8629
8630 \begin_layout Plain Layout
8631
8632 \series bold
8633 Winkler
8634 \end_layout
8635
8636 \end_inset
8637 </cell>
8638 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8639 \begin_inset Text
8640
8641 \begin_layout Plain Layout
8642 Franz
8643 \end_layout
8644
8645 \end_inset
8646 </cell>
8647 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8648 \begin_inset Text
8649
8650 \begin_layout Plain Layout
8651 111
8652 \end_layout
8653
8654 \end_inset
8655 </cell>
8656 </row>
8657 <row>
8658 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8659 \begin_inset Text
8660
8661 \begin_layout Plain Layout
8662  
8663 \end_layout
8664
8665 \end_inset
8666 </cell>
8667 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
8668 \begin_inset Text
8669
8670 \begin_layout Plain Layout
8671
8672 \end_layout
8673
8674 \end_inset
8675 </cell>
8676 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8677 \begin_inset Text
8678
8679 \begin_layout Plain Layout
8680
8681 \end_layout
8682
8683 \end_inset
8684 </cell>
8685 </row>
8686 <row>
8687 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8688 \begin_inset Text
8689
8690 \begin_layout Plain Layout
8691
8692 \series bold
8693 Annovi
8694 \end_layout
8695
8696 \end_inset
8697 </cell>
8698 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8699 \begin_inset Text
8700
8701 \begin_layout Plain Layout
8702 Silvia
8703 \end_layout
8704
8705 \end_inset
8706 </cell>
8707 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8708 \begin_inset Text
8709
8710 \begin_layout Plain Layout
8711 555
8712 \end_layout
8713
8714 \end_inset
8715 </cell>
8716 </row>
8717 <row>
8718 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8719 \begin_inset Text
8720
8721 \begin_layout Plain Layout
8722
8723 \series bold
8724 Bertoli
8725 \end_layout
8726
8727 \end_inset
8728 </cell>
8729 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8730 \begin_inset Text
8731
8732 \begin_layout Plain Layout
8733 Stefano
8734 \end_layout
8735
8736 \end_inset
8737 </cell>
8738 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8739 \begin_inset Text
8740
8741 \begin_layout Plain Layout
8742 555
8743 \end_layout
8744
8745 \end_inset
8746 </cell>
8747 </row>
8748 <row>
8749 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8750 \begin_inset Text
8751
8752 \begin_layout Plain Layout
8753
8754 \series bold
8755 Bozzi
8756 \end_layout
8757
8758 \end_inset
8759 </cell>
8760 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8761 \begin_inset Text
8762
8763 \begin_layout Plain Layout
8764 Walter
8765 \end_layout
8766
8767 \end_inset
8768 </cell>
8769 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8770 \begin_inset Text
8771
8772 \begin_layout Plain Layout
8773 555
8774 \end_layout
8775
8776 \end_inset
8777 </cell>
8778 </row>
8779 <row>
8780 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8781 \begin_inset Text
8782
8783 \begin_layout Plain Layout
8784
8785 \series bold
8786 Cachia
8787 \end_layout
8788
8789 \end_inset
8790 </cell>
8791 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8792 \begin_inset Text
8793
8794 \begin_layout Plain Layout
8795 Maria
8796 \end_layout
8797
8798 \end_inset
8799 </cell>
8800 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8801 \begin_inset Text
8802
8803 \begin_layout Plain Layout
8804 555
8805 \end_layout
8806
8807 \end_inset
8808 </cell>
8809 </row>
8810 <row>
8811 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8812 \begin_inset Text
8813
8814 \begin_layout Plain Layout
8815
8816 \series bold
8817 Cachia
8818 \end_layout
8819
8820 \end_inset
8821 </cell>
8822 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8823 \begin_inset Text
8824
8825 \begin_layout Plain Layout
8826 Maurizio
8827 \end_layout
8828
8829 \end_inset
8830 </cell>
8831 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8832 \begin_inset Text
8833
8834 \begin_layout Plain Layout
8835 555
8836 \end_layout
8837
8838 \end_inset
8839 </cell>
8840 </row>
8841 <row>
8842 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8843 \begin_inset Text
8844
8845 \begin_layout Plain Layout
8846
8847 \series bold
8848 Cinquemani
8849 \end_layout
8850
8851 \end_inset
8852 </cell>
8853 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8854 \begin_inset Text
8855
8856 \begin_layout Plain Layout
8857 Giusi
8858 \end_layout
8859
8860 \end_inset
8861 </cell>
8862 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8863 \begin_inset Text
8864
8865 \begin_layout Plain Layout
8866 555
8867 \end_layout
8868
8869 \end_inset
8870 </cell>
8871 </row>
8872 <row>
8873 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8874 \begin_inset Text
8875
8876 \begin_layout Plain Layout
8877
8878 \series bold
8879 Colin
8880 \end_layout
8881
8882 \end_inset
8883 </cell>
8884 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8885 \begin_inset Text
8886
8887 \begin_layout Plain Layout
8888 Bernard
8889 \end_layout
8890
8891 \end_inset
8892 </cell>
8893 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8894 \begin_inset Text
8895
8896 \begin_layout Plain Layout
8897 555
8898 \end_layout
8899
8900 \end_inset
8901 </cell>
8902 </row>
8903 <row>
8904 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8905 \begin_inset Text
8906
8907 \begin_layout Plain Layout
8908
8909 \series bold
8910 Concli
8911 \end_layout
8912
8913 \end_inset
8914 </cell>
8915 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8916 \begin_inset Text
8917
8918 \begin_layout Plain Layout
8919 Gianfranco
8920 \end_layout
8921
8922 \end_inset
8923 </cell>
8924 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8925 \begin_inset Text
8926
8927 \begin_layout Plain Layout
8928 555
8929 \end_layout
8930
8931 \end_inset
8932 </cell>
8933 </row>
8934 <row>
8935 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8936 \begin_inset Text
8937
8938 \begin_layout Plain Layout
8939
8940 \series bold
8941 Dal Bosco
8942 \end_layout
8943
8944 \end_inset
8945 </cell>
8946 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8947 \begin_inset Text
8948
8949 \begin_layout Plain Layout
8950 Carolina
8951 \end_layout
8952
8953 \end_inset
8954 </cell>
8955 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8956 \begin_inset Text
8957
8958 \begin_layout Plain Layout
8959 555
8960 \end_layout
8961
8962 \end_inset
8963 </cell>
8964 </row>
8965 <row>
8966 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8967 \begin_inset Text
8968
8969 \begin_layout Plain Layout
8970
8971 \series bold
8972 Dalpiaz
8973 \end_layout
8974
8975 \end_inset
8976 </cell>
8977 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8978 \begin_inset Text
8979
8980 \begin_layout Plain Layout
8981 Annamaria
8982 \end_layout
8983
8984 \end_inset
8985 </cell>
8986 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8987 \begin_inset Text
8988
8989 \begin_layout Plain Layout
8990 555
8991 \end_layout
8992
8993 \end_inset
8994 </cell>
8995 </row>
8996 <row>
8997 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8998 \begin_inset Text
8999
9000 \begin_layout Plain Layout
9001
9002 \series bold
9003 Feliciello
9004 \end_layout
9005
9006 \end_inset
9007 </cell>
9008 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9009 \begin_inset Text
9010
9011 \begin_layout Plain Layout
9012 Domenico
9013 \end_layout
9014
9015 \end_inset
9016 </cell>
9017 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9018 \begin_inset Text
9019
9020 \begin_layout Plain Layout
9021 555
9022 \end_layout
9023
9024 \end_inset
9025 </cell>
9026 </row>
9027 <row>
9028 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9029 \begin_inset Text
9030
9031 \begin_layout Plain Layout
9032
9033 \series bold
9034 Focarelli
9035 \end_layout
9036
9037 \end_inset
9038 </cell>
9039 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9040 \begin_inset Text
9041
9042 \begin_layout Plain Layout
9043 Paola
9044 \end_layout
9045
9046 \end_inset
9047 </cell>
9048 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9049 \begin_inset Text
9050
9051 \begin_layout Plain Layout
9052 555
9053 \end_layout
9054
9055 \end_inset
9056 </cell>
9057 </row>
9058 <row>
9059 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9060 \begin_inset Text
9061
9062 \begin_layout Plain Layout
9063
9064 \series bold
9065 Galletti
9066 \end_layout
9067
9068 \end_inset
9069 </cell>
9070 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9071 \begin_inset Text
9072
9073 \begin_layout Plain Layout
9074 Oreste
9075 \end_layout
9076
9077 \end_inset
9078 </cell>
9079 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9080 \begin_inset Text
9081
9082 \begin_layout Plain Layout
9083 555
9084 \end_layout
9085
9086 \end_inset
9087 </cell>
9088 </row>
9089 <row>
9090 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9091 \begin_inset Text
9092
9093 \begin_layout Plain Layout
9094
9095 \series bold
9096 Gasparini
9097 \end_layout
9098
9099 \end_inset
9100 </cell>
9101 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9102 \begin_inset Text
9103
9104 \begin_layout Plain Layout
9105 Franca
9106 \end_layout
9107
9108 \end_inset
9109 </cell>
9110 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9111 \begin_inset Text
9112
9113 \begin_layout Plain Layout
9114 555
9115 \end_layout
9116
9117 \end_inset
9118 </cell>
9119 </row>
9120 <row>
9121 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9122 \begin_inset Text
9123
9124 \begin_layout Plain Layout
9125
9126 \series bold
9127 Rizzardi
9128 \end_layout
9129
9130 \end_inset
9131 </cell>
9132 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9133 \begin_inset Text
9134
9135 \begin_layout Plain Layout
9136 Paola
9137 \end_layout
9138
9139 \end_inset
9140 </cell>
9141 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9142 \begin_inset Text
9143
9144 \begin_layout Plain Layout
9145 555
9146 \end_layout
9147
9148 \end_inset
9149 </cell>
9150 </row>
9151 <row>
9152 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9153 \begin_inset Text
9154
9155 \begin_layout Plain Layout
9156
9157 \series bold
9158 Lassini
9159 \end_layout
9160
9161 \end_inset
9162 </cell>
9163 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9164 \begin_inset Text
9165
9166 \begin_layout Plain Layout
9167 Giancarlo
9168 \end_layout
9169
9170 \end_inset
9171 </cell>
9172 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9173 \begin_inset Text
9174
9175 \begin_layout Plain Layout
9176 555
9177 \end_layout
9178
9179 \end_inset
9180 </cell>
9181 </row>
9182 <row>
9183 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9184 \begin_inset Text
9185
9186 \begin_layout Plain Layout
9187
9188 \series bold
9189 Malfatti
9190 \end_layout
9191
9192 \end_inset
9193 </cell>
9194 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9195 \begin_inset Text
9196
9197 \begin_layout Plain Layout
9198 Luciano
9199 \end_layout
9200
9201 \end_inset
9202 </cell>
9203 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9204 \begin_inset Text
9205
9206 \begin_layout Plain Layout
9207 555
9208 \end_layout
9209
9210 \end_inset
9211 </cell>
9212 </row>
9213 <row>
9214 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9215 \begin_inset Text
9216
9217 \begin_layout Plain Layout
9218
9219 \series bold
9220 Malfatti
9221 \end_layout
9222
9223 \end_inset
9224 </cell>
9225 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9226 \begin_inset Text
9227
9228 \begin_layout Plain Layout
9229 Valeriano
9230 \end_layout
9231
9232 \end_inset
9233 </cell>
9234 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9235 \begin_inset Text
9236
9237 \begin_layout Plain Layout
9238 555
9239 \end_layout
9240
9241 \end_inset
9242 </cell>
9243 </row>
9244 <row>
9245 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9246 \begin_inset Text
9247
9248 \begin_layout Plain Layout
9249
9250 \series bold
9251 Meneguzzo
9252 \end_layout
9253
9254 \end_inset
9255 </cell>
9256 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9257 \begin_inset Text
9258
9259 \begin_layout Plain Layout
9260 Roberto
9261 \end_layout
9262
9263 \end_inset
9264 </cell>
9265 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9266 \begin_inset Text
9267
9268 \begin_layout Plain Layout
9269 555
9270 \end_layout
9271
9272 \end_inset
9273 </cell>
9274 </row>
9275 <row>
9276 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
9277 \begin_inset Text
9278
9279 \begin_layout Plain Layout
9280
9281 \series bold
9282 Mezzadra
9283 \end_layout
9284
9285 \end_inset
9286 </cell>
9287 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9288 \begin_inset Text
9289
9290 \begin_layout Plain Layout
9291 Roberto
9292 \end_layout
9293
9294 \end_inset
9295 </cell>
9296 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9297 \begin_inset Text
9298
9299 \begin_layout Plain Layout
9300 555
9301 \end_layout
9302
9303 \end_inset
9304 </cell>
9305 </row>
9306 </lyxtabular>
9307
9308 \end_inset
9309
9310
9311 \end_layout
9312
9313 \begin_layout Section
9314 Special Longtable Issues
9315 \begin_inset CommandInset label
9316 LatexCommand label
9317 name "sec:Special-Longtable-Issues"
9318
9319 \end_inset
9320
9321
9322 \end_layout
9323
9324 \begin_layout Subsection
9325 Longtable Calculation
9326 \begin_inset Index
9327 status collapsed
9328
9329 \begin_layout Plain Layout
9330 Longtables ! Calculation
9331 \end_layout
9332
9333 \end_inset
9334
9335
9336 \end_layout
9337
9338 \begin_layout Standard
9339 LaTeX calculates the height of table pages and their page breaks using so
9340  called chunks.
9341  Chunks are pieces of the tables that are at once in LaTeX's memory.
9342  The default value is historically set to only 20 table rows.
9343  If you are using longtables with many pages this may slow down the creation
9344  of your document.
9345  You can safely increase the chunk size to values of 100-1000 by adding
9346  this command line to your document preamble:
9347 \end_layout
9348
9349 \begin_layout Standard
9350
9351 \series bold
9352
9353 \backslash
9354 setcounter{LTchunksize}{100}
9355 \end_layout
9356
9357 \begin_layout Subsection
9358 Floats and Longtables
9359 \begin_inset Index
9360 status collapsed
9361
9362 \begin_layout Plain Layout
9363 Longtables ! Floats
9364 \end_layout
9365
9366 \end_inset
9367
9368
9369 \end_layout
9370
9371 \begin_layout Standard
9372 There might be problems when a float appears on the same page where a longtable
9373  starts.
9374  To avoid such situation, add the command 
9375 \series bold
9376
9377 \backslash
9378 clearpage
9379 \series default
9380  as TeX-Code before your longtable.
9381 \end_layout
9382
9383 \begin_layout Subsection
9384 Forced Page Breaks
9385 \begin_inset Index
9386 status collapsed
9387
9388 \begin_layout Plain Layout
9389 Longtables ! Forced Page Breaks
9390 \end_layout
9391
9392 \end_inset
9393
9394
9395 \end_layout
9396
9397 \begin_layout Standard
9398 By default tables are only broken between rows.
9399  If you have a cell with multiples lines and want to have a page break within
9400  the cell, insert the new line command 
9401 \begin_inset Quotes eld
9402 \end_inset
9403
9404
9405 \series bold
9406
9407 \backslash
9408
9409 \backslash
9410
9411 \series default
9412
9413 \begin_inset Quotes erd
9414 \end_inset
9415
9416  as TeX-Code at this point of the cell where it can be broken.
9417  Before the 
9418 \series bold
9419
9420 \backslash
9421
9422 \backslash
9423
9424 \series default
9425  command you have to insert in TeX-Code so many 
9426 \begin_inset Quotes eld
9427 \end_inset
9428
9429
9430 \series bold
9431 &
9432 \series default
9433
9434 \begin_inset Quotes erd
9435 \end_inset
9436
9437  characters like the number of the following table columns.
9438  The 
9439 \series bold
9440 &
9441 \series default
9442  is the character to separate table cells.
9443  Write in TeX-Code after each 
9444 \series bold
9445 &
9446 \series default
9447  the content of the corresponding following cell and delete the content
9448  of these cells.
9449 \begin_inset Newline newline
9450 \end_inset
9451
9452 Behind the the 
9453 \series bold
9454
9455 \backslash
9456
9457 \backslash
9458
9459 \series default
9460  command, insert so many 
9461 \series bold
9462 &
9463 \series default
9464  characters like the number of table columns before the current column.
9465  In Table
9466 \begin_inset space ~
9467 \end_inset
9468
9469
9470 \begin_inset CommandInset ref
9471 LatexCommand ref
9472 reference "tab:ForcedPagebreak"
9473
9474 \end_inset
9475
9476  the cell that should be broken is in the second column followed by another
9477  column.
9478  Therefore the following command was inserted in the cell as TeX-Code behind
9479  
9480 \begin_inset Quotes eld
9481 \end_inset
9482
9483
9484 \emph on
9485 Castelchiodato,
9486 \emph default
9487
9488 \begin_inset Quotes erd
9489 \end_inset
9490
9491 :
9492 \end_layout
9493
9494 \begin_layout Standard
9495
9496 \series bold
9497 & 111
9498 \backslash
9499
9500 \backslash
9501  
9502 \backslash
9503 newpage
9504 \begin_inset Newline newline
9505 \end_inset
9506
9507 &
9508 \end_layout
9509
9510 \begin_layout Standard
9511 The 
9512 \begin_inset Quotes eld
9513 \end_inset
9514
9515 111
9516 \begin_inset Quotes erd
9517 \end_inset
9518
9519  in the third columns of the row was deleted.
9520  
9521 \series bold
9522
9523 \backslash
9524 newpage
9525 \series default
9526  is only needed when a page break should definitively occur at this position,
9527  otherwise it is only a possibility to break.
9528  If your footer row of the longtable has for a certain reason no upper line
9529  but you would have a horizontal line where the cell is broken, use this
9530  command instead:
9531 \end_layout
9532
9533 \begin_layout Standard
9534
9535 \series bold
9536 & 111
9537 \backslash
9538
9539 \backslash
9540
9541 \begin_inset Newline newline
9542 \end_inset
9543
9544
9545 \backslash
9546 hline &
9547 \end_layout
9548
9549 \begin_layout Standard
9550 When the cell to be broken is in the last column, the command
9551 \end_layout
9552
9553 \begin_layout Standard
9554
9555 \series bold
9556
9557 \backslash
9558 setlength{
9559 \backslash
9560 parfillskip}{0pt}
9561 \end_layout
9562
9563 \begin_layout Standard
9564 must be inserted as TeX-Code at the beginning of the cell.
9565  This assures that the part of the cell that will be displayed on the new
9566  page appears with the full width.
9567 \end_layout
9568
9569 \begin_layout Standard
9570 \align center
9571 \begin_inset Tabular
9572 <lyxtabular version="3" rows="38" columns="3">
9573 <features islongtable="true" lastFootEmpty="true">
9574 <column alignment="left" valignment="top" width="0cm">
9575 <column alignment="left" valignment="top" width="3cm">
9576 <column alignment="center" valignment="top" width="0pt">
9577 <row caption="true">
9578 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9579 \begin_inset Text
9580
9581 \begin_layout Plain Layout
9582 \begin_inset Caption
9583
9584 \begin_layout Plain Layout
9585 Table with forced page break in table cell
9586 \begin_inset CommandInset label
9587 LatexCommand label
9588 name "tab:ForcedPagebreak"
9589
9590 \end_inset
9591
9592
9593 \begin_inset OptArg
9594 status collapsed
9595
9596 \begin_layout Plain Layout
9597 Table with forced page break in table cell
9598 \end_layout
9599
9600 \end_inset
9601
9602
9603 \end_layout
9604
9605 \end_inset
9606
9607
9608 \end_layout
9609
9610 \end_inset
9611 </cell>
9612 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9613 \begin_inset Text
9614
9615 \begin_layout Plain Layout
9616
9617 \end_layout
9618
9619 \end_inset
9620 </cell>
9621 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9622 \begin_inset Text
9623
9624 \begin_layout Plain Layout
9625
9626 \end_layout
9627
9628 \end_inset
9629 </cell>
9630 </row>
9631 <row endfirsthead="true">
9632 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9633 \begin_inset Text
9634
9635 \begin_layout Plain Layout
9636
9637 \series bold
9638 Example Phone List (ignore the names)
9639 \end_layout
9640
9641 \end_inset
9642 </cell>
9643 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9644 \begin_inset Text
9645
9646 \begin_layout Plain Layout
9647
9648 \end_layout
9649
9650 \end_inset
9651 </cell>
9652 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9653 \begin_inset Text
9654
9655 \begin_layout Plain Layout
9656
9657 \end_layout
9658
9659 \end_inset
9660 </cell>
9661 </row>
9662 <row endfirsthead="true">
9663 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9664 \begin_inset Text
9665
9666 \begin_layout Plain Layout
9667
9668 \series bold
9669 NAME
9670 \end_layout
9671
9672 \end_inset
9673 </cell>
9674 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9675 \begin_inset Text
9676
9677 \begin_layout Plain Layout
9678
9679 \end_layout
9680
9681 \end_inset
9682 </cell>
9683 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9684 \begin_inset Text
9685
9686 \begin_layout Plain Layout
9687
9688 \series bold
9689 TEL.
9690 \end_layout
9691
9692 \end_inset
9693 </cell>
9694 </row>
9695 <row endhead="true">
9696 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9697 \begin_inset Text
9698
9699 \begin_layout Plain Layout
9700 \begin_inset ERT
9701 status collapsed
9702
9703 \begin_layout Plain Layout
9704
9705
9706 \backslash
9707 caption*{Continued Example Phone List}
9708 \backslash
9709
9710 \backslash
9711 %
9712 \end_layout
9713
9714 \end_inset
9715
9716
9717 \end_layout
9718
9719 \end_inset
9720 </cell>
9721 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9722 \begin_inset Text
9723
9724 \begin_layout Plain Layout
9725
9726 \end_layout
9727
9728 \end_inset
9729 </cell>
9730 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9731 \begin_inset Text
9732
9733 \begin_layout Plain Layout
9734
9735 \end_layout
9736
9737 \end_inset
9738 </cell>
9739 </row>
9740 <row endhead="true">
9741 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9742 \begin_inset Text
9743
9744 \begin_layout Plain Layout
9745
9746 \series bold
9747 Example Phone List
9748 \end_layout
9749
9750 \end_inset
9751 </cell>
9752 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9753 \begin_inset Text
9754
9755 \begin_layout Plain Layout
9756
9757 \end_layout
9758
9759 \end_inset
9760 </cell>
9761 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9762 \begin_inset Text
9763
9764 \begin_layout Plain Layout
9765
9766 \end_layout
9767
9768 \end_inset
9769 </cell>
9770 </row>
9771 <row endhead="true">
9772 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9773 \begin_inset Text
9774
9775 \begin_layout Plain Layout
9776
9777 \series bold
9778 NAME
9779 \end_layout
9780
9781 \end_inset
9782 </cell>
9783 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9784 \begin_inset Text
9785
9786 \begin_layout Plain Layout
9787
9788 \end_layout
9789
9790 \end_inset
9791 </cell>
9792 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9793 \begin_inset Text
9794
9795 \begin_layout Plain Layout
9796
9797 \series bold
9798 TEL.
9799 \end_layout
9800
9801 \end_inset
9802 </cell>
9803 </row>
9804 <row endfoot="true">
9805 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
9806 \begin_inset Text
9807
9808 \begin_layout Plain Layout
9809 continued on next page
9810 \end_layout
9811
9812 \end_inset
9813 </cell>
9814 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9815 \begin_inset Text
9816
9817 \begin_layout Plain Layout
9818
9819 \end_layout
9820
9821 \end_inset
9822 </cell>
9823 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9824 \begin_inset Text
9825
9826 \begin_layout Plain Layout
9827
9828 \end_layout
9829
9830 \end_inset
9831 </cell>
9832 </row>
9833 <row>
9834 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9835 \begin_inset Text
9836
9837 \begin_layout Plain Layout
9838
9839 \series bold
9840 Annovi
9841 \end_layout
9842
9843 \end_inset
9844 </cell>
9845 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9846 \begin_inset Text
9847
9848 \begin_layout Plain Layout
9849 Silvia
9850 \end_layout
9851
9852 \end_inset
9853 </cell>
9854 <cell alignment="right" valignment="top" rightline="true" usebox="none">
9855 \begin_inset Text
9856
9857 \begin_layout Plain Layout
9858 111
9859 \end_layout
9860
9861 \end_inset
9862 </cell>
9863 </row>
9864 <row>
9865 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9866 \begin_inset Text
9867
9868 \begin_layout Plain Layout
9869
9870 \series bold
9871 Bertoli
9872 \end_layout
9873
9874 \end_inset
9875 </cell>
9876 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9877 \begin_inset Text
9878
9879 \begin_layout Plain Layout
9880 Stefano
9881 \end_layout
9882
9883 \end_inset
9884 </cell>
9885 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9886 \begin_inset Text
9887
9888 \begin_layout Plain Layout
9889 111
9890 \end_layout
9891
9892 \end_inset
9893 </cell>
9894 </row>
9895 <row>
9896 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9897 \begin_inset Text
9898
9899 \begin_layout Plain Layout
9900
9901 \series bold
9902 Bozzi
9903 \end_layout
9904
9905 \end_inset
9906 </cell>
9907 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9908 \begin_inset Text
9909
9910 \begin_layout Plain Layout
9911 Walter
9912 \end_layout
9913
9914 \end_inset
9915 </cell>
9916 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9917 \begin_inset Text
9918
9919 \begin_layout Plain Layout
9920 111
9921 \end_layout
9922
9923 \end_inset
9924 </cell>
9925 </row>
9926 <row>
9927 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9928 \begin_inset Text
9929
9930 \begin_layout Plain Layout
9931
9932 \series bold
9933 Cachia
9934 \end_layout
9935
9936 \end_inset
9937 </cell>
9938 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9939 \begin_inset Text
9940
9941 \begin_layout Plain Layout
9942 Maria
9943 \end_layout
9944
9945 \end_inset
9946 </cell>
9947 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9948 \begin_inset Text
9949
9950 \begin_layout Plain Layout
9951 111
9952 \end_layout
9953
9954 \end_inset
9955 </cell>
9956 </row>
9957 <row>
9958 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9959 \begin_inset Text
9960
9961 \begin_layout Plain Layout
9962
9963 \series bold
9964 Cachia
9965 \end_layout
9966
9967 \end_inset
9968 </cell>
9969 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9970 \begin_inset Text
9971
9972 \begin_layout Plain Layout
9973 Maurizio
9974 \end_layout
9975
9976 \end_inset
9977 </cell>
9978 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9979 \begin_inset Text
9980
9981 \begin_layout Plain Layout
9982 111
9983 \end_layout
9984
9985 \end_inset
9986 </cell>
9987 </row>
9988 <row>
9989 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9990 \begin_inset Text
9991
9992 \begin_layout Plain Layout
9993
9994 \series bold
9995 Cinquemani
9996 \end_layout
9997
9998 \end_inset
9999 </cell>
10000 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10001 \begin_inset Text
10002
10003 \begin_layout Plain Layout
10004 Giusi
10005 \end_layout
10006
10007 \end_inset
10008 </cell>
10009 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10010 \begin_inset Text
10011
10012 \begin_layout Plain Layout
10013 111
10014 \end_layout
10015
10016 \end_inset
10017 </cell>
10018 </row>
10019 <row>
10020 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10021 \begin_inset Text
10022
10023 \begin_layout Plain Layout
10024
10025 \series bold
10026 Colin
10027 \end_layout
10028
10029 \end_inset
10030 </cell>
10031 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10032 \begin_inset Text
10033
10034 \begin_layout Plain Layout
10035 Bernard
10036 \end_layout
10037
10038 \end_inset
10039 </cell>
10040 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10041 \begin_inset Text
10042
10043 \begin_layout Plain Layout
10044 111
10045 \end_layout
10046
10047 \end_inset
10048 </cell>
10049 </row>
10050 <row>
10051 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10052 \begin_inset Text
10053
10054 \begin_layout Plain Layout
10055
10056 \series bold
10057 Concli
10058 \end_layout
10059
10060 \end_inset
10061 </cell>
10062 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10063 \begin_inset Text
10064
10065 \begin_layout Plain Layout
10066 Gianfranco
10067 \end_layout
10068
10069 \end_inset
10070 </cell>
10071 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10072 \begin_inset Text
10073
10074 \begin_layout Plain Layout
10075 111
10076 \end_layout
10077
10078 \end_inset
10079 </cell>
10080 </row>
10081 <row>
10082 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10083 \begin_inset Text
10084
10085 \begin_layout Plain Layout
10086
10087 \series bold
10088 Dal Bosco
10089 \end_layout
10090
10091 \end_inset
10092 </cell>
10093 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10094 \begin_inset Text
10095
10096 \begin_layout Plain Layout
10097 Carolina
10098 \end_layout
10099
10100 \end_inset
10101 </cell>
10102 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10103 \begin_inset Text
10104
10105 \begin_layout Plain Layout
10106 111
10107 \end_layout
10108
10109 \end_inset
10110 </cell>
10111 </row>
10112 <row>
10113 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10114 \begin_inset Text
10115
10116 \begin_layout Plain Layout
10117
10118 \series bold
10119 Dalpiaz
10120 \end_layout
10121
10122 \end_inset
10123 </cell>
10124 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10125 \begin_inset Text
10126
10127 \begin_layout Plain Layout
10128 Annamaria
10129 \end_layout
10130
10131 \end_inset
10132 </cell>
10133 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10134 \begin_inset Text
10135
10136 \begin_layout Plain Layout
10137 111
10138 \end_layout
10139
10140 \end_inset
10141 </cell>
10142 </row>
10143 <row>
10144 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10145 \begin_inset Text
10146
10147 \begin_layout Plain Layout
10148
10149 \series bold
10150 Feliciello
10151 \end_layout
10152
10153 \end_inset
10154 </cell>
10155 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10156 \begin_inset Text
10157
10158 \begin_layout Plain Layout
10159 Domenico
10160 \end_layout
10161
10162 \end_inset
10163 </cell>
10164 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10165 \begin_inset Text
10166
10167 \begin_layout Plain Layout
10168 111
10169 \end_layout
10170
10171 \end_inset
10172 </cell>
10173 </row>
10174 <row>
10175 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10176 \begin_inset Text
10177
10178 \begin_layout Plain Layout
10179
10180 \series bold
10181 Focarelli
10182 \end_layout
10183
10184 \end_inset
10185 </cell>
10186 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10187 \begin_inset Text
10188
10189 \begin_layout Plain Layout
10190 Paola
10191 \end_layout
10192
10193 \end_inset
10194 </cell>
10195 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10196 \begin_inset Text
10197
10198 \begin_layout Plain Layout
10199 111
10200 \end_layout
10201
10202 \end_inset
10203 </cell>
10204 </row>
10205 <row>
10206 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10207 \begin_inset Text
10208
10209 \begin_layout Plain Layout
10210
10211 \series bold
10212 Galletti
10213 \end_layout
10214
10215 \end_inset
10216 </cell>
10217 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10218 \begin_inset Text
10219
10220 \begin_layout Plain Layout
10221 Oreste
10222 \end_layout
10223
10224 \end_inset
10225 </cell>
10226 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10227 \begin_inset Text
10228
10229 \begin_layout Plain Layout
10230 111
10231 \end_layout
10232
10233 \end_inset
10234 </cell>
10235 </row>
10236 <row>
10237 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10238 \begin_inset Text
10239
10240 \begin_layout Plain Layout
10241
10242 \series bold
10243 Gasparini
10244 \end_layout
10245
10246 \end_inset
10247 </cell>
10248 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10249 \begin_inset Text
10250
10251 \begin_layout Plain Layout
10252 Franca
10253 \end_layout
10254
10255 \end_inset
10256 </cell>
10257 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10258 \begin_inset Text
10259
10260 \begin_layout Plain Layout
10261 111
10262 \end_layout
10263
10264 \end_inset
10265 </cell>
10266 </row>
10267 <row>
10268 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10269 \begin_inset Text
10270
10271 \begin_layout Plain Layout
10272
10273 \series bold
10274 Lassini
10275 \end_layout
10276
10277 \end_inset
10278 </cell>
10279 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10280 \begin_inset Text
10281
10282 \begin_layout Plain Layout
10283 Giancarlo
10284 \end_layout
10285
10286 \end_inset
10287 </cell>
10288 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10289 \begin_inset Text
10290
10291 \begin_layout Plain Layout
10292 111
10293 \end_layout
10294
10295 \end_inset
10296 </cell>
10297 </row>
10298 <row>
10299 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10300 \begin_inset Text
10301
10302 \begin_layout Plain Layout
10303
10304 \series bold
10305 Malfatti
10306 \end_layout
10307
10308 \end_inset
10309 </cell>
10310 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10311 \begin_inset Text
10312
10313 \begin_layout Plain Layout
10314 Luciano
10315 \end_layout
10316
10317 \end_inset
10318 </cell>
10319 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10320 \begin_inset Text
10321
10322 \begin_layout Plain Layout
10323 111
10324 \end_layout
10325
10326 \end_inset
10327 </cell>
10328 </row>
10329 <row>
10330 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10331 \begin_inset Text
10332
10333 \begin_layout Plain Layout
10334
10335 \series bold
10336 Malfatti
10337 \end_layout
10338
10339 \end_inset
10340 </cell>
10341 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10342 \begin_inset Text
10343
10344 \begin_layout Plain Layout
10345 Valeriano
10346 \end_layout
10347
10348 \end_inset
10349 </cell>
10350 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10351 \begin_inset Text
10352
10353 \begin_layout Plain Layout
10354 111
10355 \end_layout
10356
10357 \end_inset
10358 </cell>
10359 </row>
10360 <row>
10361 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10362 \begin_inset Text
10363
10364 \begin_layout Plain Layout
10365
10366 \series bold
10367 Meneguzzo
10368 \end_layout
10369
10370 \end_inset
10371 </cell>
10372 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10373 \begin_inset Text
10374
10375 \begin_layout Plain Layout
10376 Roberto
10377 \end_layout
10378
10379 \end_inset
10380 </cell>
10381 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10382 \begin_inset Text
10383
10384 \begin_layout Plain Layout
10385 111
10386 \end_layout
10387
10388 \end_inset
10389 </cell>
10390 </row>
10391 <row>
10392 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10393 \begin_inset Text
10394
10395 \begin_layout Plain Layout
10396
10397 \series bold
10398 Mezzadra
10399 \end_layout
10400
10401 \end_inset
10402 </cell>
10403 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10404 \begin_inset Text
10405
10406 \begin_layout Plain Layout
10407 Roberto
10408 \end_layout
10409
10410 \end_inset
10411 </cell>
10412 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10413 \begin_inset Text
10414
10415 \begin_layout Plain Layout
10416 111
10417 \end_layout
10418
10419 \end_inset
10420 </cell>
10421 </row>
10422 <row>
10423 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10424 \begin_inset Text
10425
10426 \begin_layout Plain Layout
10427
10428 \series bold
10429 Pirpamer
10430 \end_layout
10431
10432 \end_inset
10433 </cell>
10434 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10435 \begin_inset Text
10436
10437 \begin_layout Plain Layout
10438 Erich
10439 \end_layout
10440
10441 \end_inset
10442 </cell>
10443 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10444 \begin_inset Text
10445
10446 \begin_layout Plain Layout
10447 111
10448 \end_layout
10449
10450 \end_inset
10451 </cell>
10452 </row>
10453 <row>
10454 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10455 \begin_inset Text
10456
10457 \begin_layout Plain Layout
10458
10459 \series bold
10460 Pochiesa
10461 \end_layout
10462
10463 \end_inset
10464 </cell>
10465 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10466 \begin_inset Text
10467
10468 \begin_layout Plain Layout
10469 Paolo
10470 \end_layout
10471
10472 \end_inset
10473 </cell>
10474 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10475 \begin_inset Text
10476
10477 \begin_layout Plain Layout
10478 111, 222
10479 \end_layout
10480
10481 \end_inset
10482 </cell>
10483 </row>
10484 <row>
10485 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10486 \begin_inset Text
10487
10488 \begin_layout Plain Layout
10489
10490 \series bold
10491 Radina
10492 \end_layout
10493
10494 \end_inset
10495 </cell>
10496 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10497 \begin_inset Text
10498
10499 \begin_layout Plain Layout
10500 Claudio
10501 \end_layout
10502
10503 \end_inset
10504 </cell>
10505 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10506 \begin_inset Text
10507
10508 \begin_layout Plain Layout
10509 111
10510 \end_layout
10511
10512 \end_inset
10513 </cell>
10514 </row>
10515 <row>
10516 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10517 \begin_inset Text
10518
10519 \begin_layout Plain Layout
10520
10521 \series bold
10522 Rizzardi
10523 \end_layout
10524
10525 \end_inset
10526 </cell>
10527 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10528 \begin_inset Text
10529
10530 \begin_layout Plain Layout
10531 Paolo, 11.
10532  Fürst von Montecompatri, 11.
10533  Fürst von Sulmona und Vivaro, 10.
10534  Fürst von Rossano, 5.
10535  Herzog von Canemorte, 11.
10536  Herzog von Palombara, 5.
10537  Herzog von Castelchiodato,
10538 \begin_inset ERT
10539 status open
10540
10541 \begin_layout Plain Layout
10542
10543 & 111
10544 \backslash
10545
10546 \backslash
10547  
10548 \backslash
10549 newpage
10550 \end_layout
10551
10552 \begin_layout Plain Layout
10553
10554 &
10555 \end_layout
10556
10557 \end_inset
10558
10559  11.
10560  Herzog von Poggionativo, 11.
10561  Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
10562  Graf von Valinfreda, 11.
10563  Baron von Cropalati, 11.
10564  Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
10565 \end_layout
10566
10567 \end_inset
10568 </cell>
10569 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10570 \begin_inset Text
10571
10572 \begin_layout Plain Layout
10573
10574 \end_layout
10575
10576 \end_inset
10577 </cell>
10578 </row>
10579 <row>
10580 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10581 \begin_inset Text
10582
10583 \begin_layout Plain Layout
10584
10585 \series bold
10586 Stuffer
10587 \end_layout
10588
10589 \end_inset
10590 </cell>
10591 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10592 \begin_inset Text
10593
10594 \begin_layout Plain Layout
10595 Oskar
10596 \end_layout
10597
10598 \end_inset
10599 </cell>
10600 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10601 \begin_inset Text
10602
10603 \begin_layout Plain Layout
10604 111
10605 \end_layout
10606
10607 \end_inset
10608 </cell>
10609 </row>
10610 <row>
10611 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10612 \begin_inset Text
10613
10614 \begin_layout Plain Layout
10615
10616 \series bold
10617 Tacchelli
10618 \end_layout
10619
10620 \end_inset
10621 </cell>
10622 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10623 \begin_inset Text
10624
10625 \begin_layout Plain Layout
10626 Ugo
10627 \end_layout
10628
10629 \end_inset
10630 </cell>
10631 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10632 \begin_inset Text
10633
10634 \begin_layout Plain Layout
10635 111
10636 \end_layout
10637
10638 \end_inset
10639 </cell>
10640 </row>
10641 <row>
10642 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10643 \begin_inset Text
10644
10645 \begin_layout Plain Layout
10646
10647 \series bold
10648 Tezzele
10649 \end_layout
10650
10651 \end_inset
10652 </cell>
10653 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10654 \begin_inset Text
10655
10656 \begin_layout Plain Layout
10657 Margit
10658 \end_layout
10659
10660 \end_inset
10661 </cell>
10662 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10663 \begin_inset Text
10664
10665 \begin_layout Plain Layout
10666 111
10667 \end_layout
10668
10669 \end_inset
10670 </cell>
10671 </row>
10672 <row>
10673 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10674 \begin_inset Text
10675
10676 \begin_layout Plain Layout
10677
10678 \series bold
10679 Unterkalmsteiner
10680 \end_layout
10681
10682 \end_inset
10683 </cell>
10684 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10685 \begin_inset Text
10686
10687 \begin_layout Plain Layout
10688 Frieda
10689 \end_layout
10690
10691 \end_inset
10692 </cell>
10693 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10694 \begin_inset Text
10695
10696 \begin_layout Plain Layout
10697 111
10698 \end_layout
10699
10700 \end_inset
10701 </cell>
10702 </row>
10703 <row>
10704 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10705 \begin_inset Text
10706
10707 \begin_layout Plain Layout
10708
10709 \series bold
10710 Vieider
10711 \end_layout
10712
10713 \end_inset
10714 </cell>
10715 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10716 \begin_inset Text
10717
10718 \begin_layout Plain Layout
10719 Hilde
10720 \end_layout
10721
10722 \end_inset
10723 </cell>
10724 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10725 \begin_inset Text
10726
10727 \begin_layout Plain Layout
10728 111
10729 \end_layout
10730
10731 \end_inset
10732 </cell>
10733 </row>
10734 <row>
10735 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10736 \begin_inset Text
10737
10738 \begin_layout Plain Layout
10739
10740 \series bold
10741 Vigna
10742 \end_layout
10743
10744 \end_inset
10745 </cell>
10746 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10747 \begin_inset Text
10748
10749 \begin_layout Plain Layout
10750 Jürgen
10751 \end_layout
10752
10753 \end_inset
10754 </cell>
10755 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10756 \begin_inset Text
10757
10758 \begin_layout Plain Layout
10759 111
10760 \end_layout
10761
10762 \end_inset
10763 </cell>
10764 </row>
10765 <row>
10766 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10767 \begin_inset Text
10768
10769 \begin_layout Plain Layout
10770
10771 \series bold
10772 Weber
10773 \end_layout
10774
10775 \end_inset
10776 </cell>
10777 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10778 \begin_inset Text
10779
10780 \begin_layout Plain Layout
10781 Maurizio
10782 \end_layout
10783
10784 \end_inset
10785 </cell>
10786 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10787 \begin_inset Text
10788
10789 \begin_layout Plain Layout
10790 111
10791 \end_layout
10792
10793 \end_inset
10794 </cell>
10795 </row>
10796 <row>
10797 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10798 \begin_inset Text
10799
10800 \begin_layout Plain Layout
10801
10802 \series bold
10803 Winkler
10804 \end_layout
10805
10806 \end_inset
10807 </cell>
10808 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10809 \begin_inset Text
10810
10811 \begin_layout Plain Layout
10812 Franz
10813 \end_layout
10814
10815 \end_inset
10816 </cell>
10817 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10818 \begin_inset Text
10819
10820 \begin_layout Plain Layout
10821 111
10822 \end_layout
10823
10824 \end_inset
10825 </cell>
10826 </row>
10827 </lyxtabular>
10828
10829 \end_inset
10830
10831
10832 \end_layout
10833
10834 \begin_layout Section
10835 Multiple Lines Columns and Rows
10836 \end_layout
10837
10838 \begin_layout Subsection
10839 Multiple Lines in Table Cells
10840 \begin_inset CommandInset label
10841 LatexCommand label
10842 name "sub:Multiple-Lines-in"
10843
10844 \end_inset
10845
10846
10847 \begin_inset Index
10848 status collapsed
10849
10850 \begin_layout Plain Layout
10851 Multiple Lines in Table Cells
10852 \end_layout
10853
10854 \end_inset
10855
10856
10857 \begin_inset Index
10858 status collapsed
10859
10860 \begin_layout Plain Layout
10861 Table ! Linebreaks
10862 \end_layout
10863
10864 \end_inset
10865
10866
10867 \end_layout
10868
10869 \begin_layout Standard
10870 \noindent
10871 \begin_inset Float table
10872 placement H
10873 wide false
10874 sideways false
10875 status open
10876
10877 \begin_layout Plain Layout
10878 \begin_inset Caption
10879
10880 \begin_layout Plain Layout
10881 \begin_inset CommandInset label
10882 LatexCommand label
10883 name "tab:Table-with-multiple"
10884
10885 \end_inset
10886
10887 Table with multiple lines in cells
10888 \end_layout
10889
10890 \end_inset
10891
10892
10893 \end_layout
10894
10895 \begin_layout Plain Layout
10896 \align center
10897 \begin_inset Tabular
10898 <lyxtabular version="3" rows="3" columns="3">
10899 <features>
10900 <column alignment="center" valignment="middle" width="2.5cm">
10901 <column alignment="center" valignment="middle" width="0">
10902 <column alignment="center" valignment="middle" width="0">
10903 <row>
10904 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10905 \begin_inset Text
10906
10907 \begin_layout Plain Layout
10908 multiple
10909 \begin_inset Newline linebreak
10910 \end_inset
10911
10912 lines
10913 \end_layout
10914
10915 \end_inset
10916 </cell>
10917 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10918 \begin_inset Text
10919
10920 \begin_layout Plain Layout
10921 b
10922 \end_layout
10923
10924 \end_inset
10925 </cell>
10926 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10927 \begin_inset Text
10928
10929 \begin_layout Plain Layout
10930 c
10931 \end_layout
10932
10933 \end_inset
10934 </cell>
10935 </row>
10936 <row>
10937 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10938 \begin_inset Text
10939
10940 \begin_layout Plain Layout
10941 d
10942 \end_layout
10943
10944 \end_inset
10945 </cell>
10946 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10947 \begin_inset Text
10948
10949 \begin_layout Plain Layout
10950 e
10951 \end_layout
10952
10953 \end_inset
10954 </cell>
10955 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10956 \begin_inset Text
10957
10958 \begin_layout Plain Layout
10959 f
10960 \end_layout
10961
10962 \end_inset
10963 </cell>
10964 </row>
10965 <row>
10966 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10967 \begin_inset Text
10968
10969 \begin_layout Plain Layout
10970 g
10971 \end_layout
10972
10973 \end_inset
10974 </cell>
10975 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10976 \begin_inset Text
10977
10978 \begin_layout Plain Layout
10979 h
10980 \end_layout
10981
10982 \end_inset
10983 </cell>
10984 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10985 \begin_inset Text
10986
10987 \begin_layout Plain Layout
10988 i
10989 \end_layout
10990
10991 \end_inset
10992 </cell>
10993 </row>
10994 </lyxtabular>
10995
10996 \end_inset
10997
10998
10999 \end_layout
11000
11001 \end_inset
11002
11003
11004 \end_layout
11005
11006 \begin_layout Standard
11007 Adjusting a fixed width for a column, enables to enter text as a paragraph
11008  with multiple lines and hyphenations.
11009 \end_layout
11010
11011 \begin_layout Standard
11012 To produce Table
11013 \begin_inset space ~
11014 \end_inset
11015
11016
11017 \begin_inset CommandInset ref
11018 LatexCommand ref
11019 reference "tab:Table-with-multiple"
11020
11021 \end_inset
11022
11023 , create a 3×3 table, mark the first cell and right-click on it.
11024  In the appearing table dialog we set a cell width of 2.5
11025 \begin_inset space \thinspace{}
11026 \end_inset
11027
11028 cm and choose centered for the vertical and horizontal alignment.
11029  The vertical alignment is used for all cells of the row.
11030  As our text is smaller than than 2.5
11031 \begin_inset space \thinspace{}
11032 \end_inset
11033
11034 cm, only one line will appear.
11035  To get two lines, a justified line break (shortcut 
11036 \begin_inset Info
11037 type  "shortcut"
11038 arg   "newline-insert linebreak"
11039 \end_inset
11040
11041 ) was added.
11042  If the text is wider than the set cell width, it will automatically be
11043  broken to several lines.
11044 \end_layout
11045
11046 \begin_layout Standard
11047 If you have a long word in a cell with a fixed width, it cannot be hyphenated
11048  by LaTeX if it is the first entry.
11049  Therefore you need to insert something, to make the word not being the
11050  first entry.
11051  So add a horizontal space of 0
11052 \begin_inset space \thinspace{}
11053 \end_inset
11054
11055 pt before the word.
11056  As the space is zero, it doesn't change the output.
11057  Table
11058 \begin_inset space ~
11059 \end_inset
11060
11061
11062 \begin_inset CommandInset ref
11063 LatexCommand ref
11064 reference "tab:Table-with-and"
11065
11066 \end_inset
11067
11068  shows the effect.
11069 \end_layout
11070
11071 \begin_layout Standard
11072 \begin_inset Float table
11073 placement h
11074 wide false
11075 sideways false
11076 status open
11077
11078 \begin_layout Plain Layout
11079 \begin_inset Caption
11080
11081 \begin_layout Plain Layout
11082 \begin_inset CommandInset label
11083 LatexCommand label
11084 name "tab:Table-with-and"
11085
11086 \end_inset
11087
11088 Table with and without hyphenation
11089 \end_layout
11090
11091 \end_inset
11092
11093
11094 \end_layout
11095
11096 \begin_layout Plain Layout
11097 \begin_inset space \hfill{}
11098 \end_inset
11099
11100
11101 \begin_inset Tabular
11102 <lyxtabular version="3" rows="3" columns="3">
11103 <features>
11104 <column alignment="center" valignment="middle" width="2.5cm">
11105 <column alignment="center" valignment="middle" width="0">
11106 <column alignment="center" valignment="middle" width="0">
11107 <row>
11108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11109 \begin_inset Text
11110
11111 \begin_layout Plain Layout
11112 verylongtablecellword
11113 \end_layout
11114
11115 \end_inset
11116 </cell>
11117 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11118 \begin_inset Text
11119
11120 \begin_layout Plain Layout
11121 b
11122 \end_layout
11123
11124 \end_inset
11125 </cell>
11126 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11127 \begin_inset Text
11128
11129 \begin_layout Plain Layout
11130 c
11131 \end_layout
11132
11133 \end_inset
11134 </cell>
11135 </row>
11136 <row>
11137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11138 \begin_inset Text
11139
11140 \begin_layout Plain Layout
11141 d
11142 \end_layout
11143
11144 \end_inset
11145 </cell>
11146 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11147 \begin_inset Text
11148
11149 \begin_layout Plain Layout
11150 e
11151 \end_layout
11152
11153 \end_inset
11154 </cell>
11155 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11156 \begin_inset Text
11157
11158 \begin_layout Plain Layout
11159 f
11160 \end_layout
11161
11162 \end_inset
11163 </cell>
11164 </row>
11165 <row>
11166 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11167 \begin_inset Text
11168
11169 \begin_layout Plain Layout
11170 g
11171 \end_layout
11172
11173 \end_inset
11174 </cell>
11175 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11176 \begin_inset Text
11177
11178 \begin_layout Plain Layout
11179 h
11180 \end_layout
11181
11182 \end_inset
11183 </cell>
11184 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11185 \begin_inset Text
11186
11187 \begin_layout Plain Layout
11188 i
11189 \end_layout
11190
11191 \end_inset
11192 </cell>
11193 </row>
11194 </lyxtabular>
11195
11196 \end_inset
11197
11198
11199 \begin_inset space \hfill{}
11200 \end_inset
11201
11202
11203 \begin_inset Tabular
11204 <lyxtabular version="3" rows="3" columns="3">
11205 <features>
11206 <column alignment="center" valignment="middle" width="2.5cm">
11207 <column alignment="center" valignment="middle" width="0">
11208 <column alignment="center" valignment="middle" width="0">
11209 <row>
11210 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11211 \begin_inset Text
11212
11213 \begin_layout Plain Layout
11214 \begin_inset space \hspace{}
11215 \length 0pt
11216 \end_inset
11217
11218 verylongtablecellword
11219 \end_layout
11220
11221 \end_inset
11222 </cell>
11223 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11224 \begin_inset Text
11225
11226 \begin_layout Plain Layout
11227 b
11228 \end_layout
11229
11230 \end_inset
11231 </cell>
11232 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11233 \begin_inset Text
11234
11235 \begin_layout Plain Layout
11236 c
11237 \end_layout
11238
11239 \end_inset
11240 </cell>
11241 </row>
11242 <row>
11243 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11244 \begin_inset Text
11245
11246 \begin_layout Plain Layout
11247 d
11248 \end_layout
11249
11250 \end_inset
11251 </cell>
11252 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11253 \begin_inset Text
11254
11255 \begin_layout Plain Layout
11256 e
11257 \end_layout
11258
11259 \end_inset
11260 </cell>
11261 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11262 \begin_inset Text
11263
11264 \begin_layout Plain Layout
11265 f
11266 \end_layout
11267
11268 \end_inset
11269 </cell>
11270 </row>
11271 <row>
11272 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11273 \begin_inset Text
11274
11275 \begin_layout Plain Layout
11276 g
11277 \end_layout
11278
11279 \end_inset
11280 </cell>
11281 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11282 \begin_inset Text
11283
11284 \begin_layout Plain Layout
11285 h
11286 \end_layout
11287
11288 \end_inset
11289 </cell>
11290 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11291 \begin_inset Text
11292
11293 \begin_layout Plain Layout
11294 i
11295 \end_layout
11296
11297 \end_inset
11298 </cell>
11299 </row>
11300 </lyxtabular>
11301
11302 \end_inset
11303
11304
11305 \begin_inset space \hfill{}
11306 \end_inset
11307
11308
11309 \end_layout
11310
11311 \end_inset
11312
11313
11314 \end_layout
11315
11316 \begin_layout Subsection
11317 Multicolumns
11318 \begin_inset CommandInset label
11319 LatexCommand label
11320 name "sub:Multicolumns"
11321
11322 \end_inset
11323
11324
11325 \begin_inset Index
11326 status collapsed
11327
11328 \begin_layout Plain Layout
11329 Multicolumns
11330 \end_layout
11331
11332 \end_inset
11333
11334
11335 \begin_inset Index
11336 status collapsed
11337
11338 \begin_layout Plain Layout
11339 Table ! Multicolumns
11340 \end_layout
11341
11342 \end_inset
11343
11344
11345 \end_layout
11346
11347 \begin_layout Subsubsection
11348 Multicolumn Basics
11349 \end_layout
11350
11351 \begin_layout Standard
11352 To span a cell over multiple columns, mark as much cells within a line that
11353  should be one spanned cell and use either the table-toolbar button 
11354 \begin_inset Graphics
11355         filename ../images/tabular-feature_multicolumn.png
11356         scale 85
11357         scaleBeforeRotation
11358
11359 \end_inset
11360
11361 , or the menu 
11362 \family sans
11363 Edit\SpecialChar \menuseparator
11364 Table\SpecialChar \menuseparator
11365 Multicolumn
11366 \family default
11367 , or right click on the marked cells and choose multicolumn in the appearing
11368  table dialog under the tab 
11369 \family sans
11370 Table Settings
11371 \family default
11372 .
11373 \end_layout
11374
11375 \begin_layout Standard
11376 Multicolumns have there own cell settings.
11377  That means changing cell borders, cell alignment, and the width only affects
11378  the multicolumn.
11379  Here is an example table with a multicolumn cell in the first row and one
11380  in the last row without the upper border:
11381 \end_layout
11382
11383 \begin_layout Standard
11384 \align center
11385 \begin_inset Tabular
11386 <lyxtabular version="3" rows="3" columns="4">
11387 <features firstHeadTopDL="true" firstHeadBottomDL="true">
11388 <column alignment="center" valignment="top" width="0pt">
11389 <column alignment="center" valignment="middle" width="0">
11390 <column alignment="center" valignment="top" width="0in">
11391 <column alignment="center" valignment="top" width="0pt">
11392 <row>
11393 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11394 \begin_inset Text
11395
11396 \begin_layout Plain Layout
11397 abc
11398 \end_layout
11399
11400 \end_inset
11401 </cell>
11402 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
11403 \begin_inset Text
11404
11405 \begin_layout Plain Layout
11406 def ghi
11407 \end_layout
11408
11409 \end_inset
11410 </cell>
11411 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11412 \begin_inset Text
11413
11414 \begin_layout Plain Layout
11415
11416 \end_layout
11417
11418 \end_inset
11419 </cell>
11420 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11421 \begin_inset Text
11422
11423 \begin_layout Plain Layout
11424 jkl
11425 \end_layout
11426
11427 \end_inset
11428 </cell>
11429 </row>
11430 <row>
11431 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11432 \begin_inset Text
11433
11434 \begin_layout Plain Layout
11435
11436 \family roman
11437 \series medium
11438 \shape up
11439 \size normal
11440 \emph off
11441 \bar no
11442 \noun off
11443 \color none
11444 A
11445 \end_layout
11446
11447 \end_inset
11448 </cell>
11449 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11450 \begin_inset Text
11451
11452 \begin_layout Plain Layout
11453 B
11454 \end_layout
11455
11456 \end_inset
11457 </cell>
11458 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11459 \begin_inset Text
11460
11461 \begin_layout Plain Layout
11462 C
11463 \end_layout
11464
11465 \end_inset
11466 </cell>
11467 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11468 \begin_inset Text
11469
11470 \begin_layout Plain Layout
11471 D
11472 \end_layout
11473
11474 \end_inset
11475 </cell>
11476 </row>
11477 <row>
11478 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11479 \begin_inset Text
11480
11481 \begin_layout Plain Layout
11482 1
11483 \end_layout
11484
11485 \end_inset
11486 </cell>
11487 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11488 \begin_inset Text
11489
11490 \begin_layout Plain Layout
11491 2
11492 \end_layout
11493
11494 \end_inset
11495 </cell>
11496 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11497 \begin_inset Text
11498
11499 \begin_layout Plain Layout
11500 3
11501 \end_layout
11502
11503 \end_inset
11504 </cell>
11505 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11506 \begin_inset Text
11507
11508 \begin_layout Plain Layout
11509 4
11510 \end_layout
11511
11512 \end_inset
11513 </cell>
11514 </row>
11515 </lyxtabular>
11516
11517 \end_inset
11518
11519
11520 \end_layout
11521
11522 \begin_layout Subsubsection
11523 Multicolumn Calculations
11524 \begin_inset CommandInset label
11525 LatexCommand label
11526 name "sub:Multicolumn-Calculations"
11527
11528 \end_inset
11529
11530
11531 \begin_inset Index
11532 status collapsed
11533
11534 \begin_layout Plain Layout
11535 Multicolumns ! Calculations
11536 \end_layout
11537
11538 \end_inset
11539
11540
11541 \end_layout
11542
11543 \begin_layout Standard
11544 LyX supports multicolumns directly, but we have to take notice of the cell
11545  width of the columns spanned by the multicolumn cell.
11546 \end_layout
11547
11548 \begin_layout Standard
11549 \begin_inset Float table
11550 placement h
11551 wide false
11552 sideways false
11553 status open
11554
11555 \begin_layout Plain Layout
11556 \begin_inset Caption
11557
11558 \begin_layout Plain Layout
11559 \begin_inset CommandInset label
11560 LatexCommand label
11561 name "tab:Table-with-centered"
11562
11563 \end_inset
11564
11565 Table with centered multicolumn text above two columns that have exactly
11566  half the width of the multicolumn cell
11567 \begin_inset OptArg
11568 status collapsed
11569
11570 \begin_layout Plain Layout
11571 Perfect multicolumn table
11572 \end_layout
11573
11574 \end_inset
11575
11576
11577 \end_layout
11578
11579 \end_inset
11580
11581
11582 \end_layout
11583
11584 \begin_layout Plain Layout
11585 \align center
11586 \begin_inset Tabular
11587 <lyxtabular version="3" rows="3" columns="3">
11588 <features>
11589 <column alignment="center" valignment="middle" width="0" special=">{\centering}m{1.25cm-6.2pt}">
11590 <column alignment="center" valignment="middle" width="0">
11591 <column alignment="center" valignment="top" width="0">
11592 <row>
11593 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
11594 \begin_inset Text
11595
11596 \begin_layout Plain Layout
11597 multiple lines multicolumn
11598 \end_layout
11599
11600 \end_inset
11601 </cell>
11602 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11603 \begin_inset Text
11604
11605 \begin_layout Plain Layout
11606
11607 \end_layout
11608
11609 \end_inset
11610 </cell>
11611 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11612 \begin_inset Text
11613
11614 \begin_layout Plain Layout
11615 c
11616 \end_layout
11617
11618 \end_inset
11619 </cell>
11620 </row>
11621 <row>
11622 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11623 \begin_inset Text
11624
11625 \begin_layout Plain Layout
11626 d
11627 \end_layout
11628
11629 \end_inset
11630 </cell>
11631 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11632 \begin_inset Text
11633
11634 \begin_layout Plain Layout
11635 e
11636 \end_layout
11637
11638 \end_inset
11639 </cell>
11640 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11641 \begin_inset Text
11642
11643 \begin_layout Plain Layout
11644 f
11645 \end_layout
11646
11647 \end_inset
11648 </cell>
11649 </row>
11650 <row>
11651 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11652 \begin_inset Text
11653
11654 \begin_layout Plain Layout
11655 g
11656 \end_layout
11657
11658 \end_inset
11659 </cell>
11660 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11661 \begin_inset Text
11662
11663 \begin_layout Plain Layout
11664 h
11665 \end_layout
11666
11667 \end_inset
11668 </cell>
11669 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11670 \begin_inset Text
11671
11672 \begin_layout Plain Layout
11673 i
11674 \end_layout
11675
11676 \end_inset
11677 </cell>
11678 </row>
11679 </lyxtabular>
11680
11681 \end_inset
11682
11683
11684 \end_layout
11685
11686 \end_inset
11687
11688
11689 \end_layout
11690
11691 \begin_layout Standard
11692 To create for example Table
11693 \begin_inset space ~
11694 \end_inset
11695
11696
11697 \begin_inset CommandInset ref
11698 LatexCommand ref
11699 reference "tab:Table-with-centered"
11700
11701 \end_inset
11702
11703 , mark the first two cells in the first row of a 3×3 table and right-click
11704  on them.
11705  Now choose for this cell 
11706 \emph on
11707 multicolumn
11708 \emph default
11709
11710 \emph on
11711 centered alignment
11712 \emph default
11713  and a width of 2.5
11714 \begin_inset space \thinspace{}
11715 \end_inset
11716
11717 cm in the table dialog.
11718  The spanned columns should have exactly half the width of the multicolumn
11719  cell, so that you would adjust a width of 1.25
11720 \begin_inset space \thinspace{}
11721 \end_inset
11722
11723 cm for the first column.
11724  The second column has then automatically a width of 1.25
11725 \begin_inset space \thinspace{}
11726 \end_inset
11727
11728 cm (multicolumn width - width of first column).
11729  This was done for Table
11730 \begin_inset space ~
11731 \end_inset
11732
11733
11734 \begin_inset CommandInset ref
11735 LatexCommand ref
11736 reference "tab:Table-without-half"
11737
11738 \end_inset
11739
11740 .
11741 \end_layout
11742
11743 \begin_layout Standard
11744 \begin_inset Float table
11745 wide false
11746 sideways false
11747 status open
11748
11749 \begin_layout Plain Layout
11750 \begin_inset Caption
11751
11752 \begin_layout Plain Layout
11753 \begin_inset CommandInset label
11754 LatexCommand label
11755 name "tab:Table-without-half"
11756
11757 \end_inset
11758
11759 Table where the spanned table columns have not exactly half the width of
11760  the multicolumn cell
11761 \begin_inset OptArg
11762 status collapsed
11763
11764 \begin_layout Plain Layout
11765 Imperfect multicolumn table
11766 \end_layout
11767
11768 \end_inset
11769
11770
11771 \end_layout
11772
11773 \end_inset
11774
11775
11776 \end_layout
11777
11778 \begin_layout Plain Layout
11779 \align center
11780 \begin_inset Tabular
11781 <lyxtabular version="3" rows="3" columns="3">
11782 <features>
11783 <column alignment="center" valignment="top" width="1.25cm">
11784 <column alignment="center" valignment="top" width="0">
11785 <column alignment="center" valignment="top" width="0">
11786 <row>
11787 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
11788 \begin_inset Text
11789
11790 \begin_layout Plain Layout
11791 multiple lines multicolumn
11792 \end_layout
11793
11794 \end_inset
11795 </cell>
11796 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11797 \begin_inset Text
11798
11799 \begin_layout Plain Layout
11800
11801 \end_layout
11802
11803 \end_inset
11804 </cell>
11805 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11806 \begin_inset Text
11807
11808 \begin_layout Plain Layout
11809 c
11810 \end_layout
11811
11812 \end_inset
11813 </cell>
11814 </row>
11815 <row>
11816 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11817 \begin_inset Text
11818
11819 \begin_layout Plain Layout
11820 d
11821 \end_layout
11822
11823 \end_inset
11824 </cell>
11825 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11826 \begin_inset Text
11827
11828 \begin_layout Plain Layout
11829 e
11830 \end_layout
11831
11832 \end_inset
11833 </cell>
11834 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11835 \begin_inset Text
11836
11837 \begin_layout Plain Layout
11838 f
11839 \end_layout
11840
11841 \end_inset
11842 </cell>
11843 </row>
11844 <row>
11845 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11846 \begin_inset Text
11847
11848 \begin_layout Plain Layout
11849 g
11850 \end_layout
11851
11852 \end_inset
11853 </cell>
11854 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11855 \begin_inset Text
11856
11857 \begin_layout Plain Layout
11858 h
11859 \end_layout
11860
11861 \end_inset
11862 </cell>
11863 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11864 \begin_inset Text
11865
11866 \begin_layout Plain Layout
11867 i
11868 \end_layout
11869
11870 \end_inset
11871 </cell>
11872 </row>
11873 </lyxtabular>
11874
11875 \end_inset
11876
11877
11878 \end_layout
11879
11880 \end_inset
11881
11882
11883 \end_layout
11884
11885 \begin_layout Standard
11886 You can see that the first column has not the half width of the multicolumn
11887  cell, it is a bit bigger.
11888  The reason is that the given width of a cell 
11889 \begin_inset Formula $W_{g}$
11890 \end_inset
11891
11892  is not its total width 
11893 \begin_inset Formula $W_{\mathrm{tot}}$
11894 \end_inset
11895
11896  because a cell is always a bit larger than its given width.
11897  Appendix
11898 \begin_inset space ~
11899 \end_inset
11900
11901
11902 \begin_inset CommandInset ref
11903 LatexCommand eqref
11904 reference "cha:Explanation-of-Equation"
11905
11906 \end_inset
11907
11908  explains it in detail.
11909 \end_layout
11910
11911 \begin_layout Standard
11912 The needed given width 
11913 \begin_inset Formula $W_{g\, n}$
11914 \end_inset
11915
11916  when 
11917 \emph on
11918 n
11919 \emph default
11920  columns are spanned can be calculated, so that each column has a total
11921  width of 
11922 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
11923 \end_inset
11924
11925 :
11926 \begin_inset Formula \begin{equation}
11927 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
11928
11929 \end_inset
11930
11931
11932 \end_layout
11933
11934 \begin_layout Standard
11935 In our case we have 
11936 \begin_inset Formula $n=2$
11937 \end_inset
11938
11939
11940 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
11941 \end_inset
11942
11943 cm and the default values for the lengths, so that equation 
11944 \begin_inset CommandInset ref
11945 LatexCommand ref
11946 reference "eq:Wgn"
11947
11948 \end_inset
11949
11950  becomes
11951 \begin_inset Formula \begin{equation}
11952 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
11953
11954 \end_inset
11955
11956
11957 \end_layout
11958
11959 \begin_layout Standard
11960 To enable calculations in LaTeX, the LaTeX-package 
11961 \series bold
11962 calc
11963 \series default
11964  must be loaded with the document preamble line
11965 \begin_inset Index
11966 status collapsed
11967
11968 \begin_layout Plain Layout
11969 LaTeX-packages ! calc
11970 \end_layout
11971
11972 \end_inset
11973
11974
11975 \end_layout
11976
11977 \begin_layout Standard
11978
11979 \series bold
11980
11981 \backslash
11982 usepackage{calc}
11983 \end_layout
11984
11985 \begin_layout Standard
11986 LyX does not allow to calculate lengths in the width-field of the table
11987  dialog.
11988  Therefore you have to format the column by inserting a LaTeX-argument in
11989  the dialog.
11990  Here is an overview about the arguments:
11991 \end_layout
11992
11993 \begin_layout Itemize
11994
11995 \series bold
11996 p{width}
11997 \series default
11998  creates cell with a fixed width, its text is vertically top-aligned
11999 \end_layout
12000
12001 \begin_layout Itemize
12002
12003 \series bold
12004 m{width}
12005 \series default
12006  creates cell with a fixed width, its text is vertically centered
12007 \end_layout
12008
12009 \begin_layout Itemize
12010
12011 \series bold
12012 b{width}
12013 \series default
12014  creates cell with a fixed width, its text is vertically bottom-aligned
12015 \end_layout
12016
12017 \begin_layout Standard
12018 By entering a LaTeX-argument, all cell settings set in the table dialog
12019  are overwritten.
12020 \end_layout
12021
12022 \begin_layout Standard
12023 \begin_inset Note Greyedout
12024 status open
12025
12026 \begin_layout Plain Layout
12027
12028 \series bold
12029 Note:
12030 \series default
12031  Due to a bug, LyX shows the overwritten settings anyway.
12032 \end_layout
12033
12034 \end_inset
12035
12036
12037 \end_layout
12038
12039 \begin_layout Standard
12040 As the text should be horizontally centered, the command 
12041 \series bold
12042
12043 \backslash
12044 centering
12045 \series default
12046  is added.
12047  You can now enter the following LaTeX-argument for the first spanned column:
12048 \end_layout
12049
12050 \begin_layout Standard
12051
12052 \series bold
12053 >{
12054 \backslash
12055 centering}m{1.25cm-6.2pt}
12056 \end_layout
12057
12058 \begin_layout Standard
12059 The command 
12060 \series bold
12061 >{ }
12062 \series default
12063  means, that the commands inside the braces are applied before the cell
12064  is created.
12065 \end_layout
12066
12067 \begin_layout Standard
12068 Although we have chosen centered alignment for the text of the multicolumn
12069  cell, it is still left aligned.
12070  This is because LyX only applies the alignment to single columns.
12071  So we have to use for the multicolumn the LaTeX-argument
12072 \end_layout
12073
12074 \begin_layout Standard
12075
12076 \series bold
12077 >{
12078 \backslash
12079 centering}m{2.5cm}
12080 \end_layout
12081
12082 \begin_layout Subsection
12083 Multirows
12084 \begin_inset Index
12085 status collapsed
12086
12087 \begin_layout Plain Layout
12088 Multirows
12089 \end_layout
12090
12091 \end_inset
12092
12093
12094 \begin_inset Index
12095 status collapsed
12096
12097 \begin_layout Plain Layout
12098 Table ! Multirows
12099 \end_layout
12100
12101 \end_inset
12102
12103
12104 \end_layout
12105
12106 \begin_layout Standard
12107 In contrary to multicolumns multirows are not yet supported by LyX so a
12108  bit of TeX-Code needs to be used.
12109  To use multirows load the LaTeX-package 
12110 \series bold
12111 multirow
12112 \series default
12113
12114 \begin_inset Index
12115 status collapsed
12116
12117 \begin_layout Plain Layout
12118 LaTeX-packages ! multirow
12119 \end_layout
12120
12121 \end_inset
12122
12123  in your document preamble with the command
12124 \end_layout
12125
12126 \begin_layout Standard
12127
12128 \series bold
12129
12130 \backslash
12131 usepackage{multirow}
12132 \end_layout
12133
12134 \begin_layout Standard
12135 Multirows are created with the command
12136 \end_layout
12137
12138 \begin_layout Standard
12139
12140 \series bold
12141
12142 \backslash
12143 multirow{number of rows}{cell width}{cell entry}
12144 \end_layout
12145
12146 \begin_layout Standard
12147 To create the following table:
12148 \end_layout
12149
12150 \begin_layout Standard
12151 \align center
12152 \begin_inset ERT
12153 status collapsed
12154
12155 \begin_layout Plain Layout
12156
12157
12158 \backslash
12159 renewcommand{
12160 \backslash
12161 multirowsetup}{
12162 \backslash
12163 centering}
12164 \end_layout
12165
12166 \end_inset
12167
12168
12169 \begin_inset Tabular
12170 <lyxtabular version="3" rows="3" columns="3">
12171 <features>
12172 <column alignment="center" valignment="top" width="0">
12173 <column alignment="center" valignment="top" width="0">
12174 <column alignment="center" valignment="top" width="0">
12175 <row>
12176 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12177 \begin_inset Text
12178
12179 \begin_layout Plain Layout
12180 a
12181 \end_layout
12182
12183 \end_inset
12184 </cell>
12185 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12186 \begin_inset Text
12187
12188 \begin_layout Plain Layout
12189 b
12190 \end_layout
12191
12192 \end_inset
12193 </cell>
12194 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12195 \begin_inset Text
12196
12197 \begin_layout Plain Layout
12198 c
12199 \end_layout
12200
12201 \end_inset
12202 </cell>
12203 </row>
12204 <row>
12205 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12206 \begin_inset Text
12207
12208 \begin_layout Plain Layout
12209 \begin_inset ERT
12210 status collapsed
12211
12212 \begin_layout Plain Layout
12213
12214
12215 \backslash
12216 multirow{2}{2.5cm}{
12217 \end_layout
12218
12219 \end_inset
12220
12221 multirow entry
12222 \begin_inset ERT
12223 status collapsed
12224
12225 \begin_layout Plain Layout
12226
12227 }
12228 \end_layout
12229
12230 \end_inset
12231
12232
12233 \end_layout
12234
12235 \end_inset
12236 </cell>
12237 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12238 \begin_inset Text
12239
12240 \begin_layout Plain Layout
12241 e
12242 \end_layout
12243
12244 \end_inset
12245 </cell>
12246 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12247 \begin_inset Text
12248
12249 \begin_layout Plain Layout
12250 f
12251 \end_layout
12252
12253 \end_inset
12254 </cell>
12255 </row>
12256 <row>
12257 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
12258 \begin_inset Text
12259
12260 \begin_layout Plain Layout
12261
12262 \end_layout
12263
12264 \end_inset
12265 </cell>
12266 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12267 \begin_inset Text
12268
12269 \begin_layout Plain Layout
12270 h
12271 \end_layout
12272
12273 \end_inset
12274 </cell>
12275 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12276 \begin_inset Text
12277
12278 \begin_layout Plain Layout
12279 i
12280 \end_layout
12281
12282 \end_inset
12283 </cell>
12284 </row>
12285 </lyxtabular>
12286
12287 \end_inset
12288
12289
12290 \begin_inset ERT
12291 status collapsed
12292
12293 \begin_layout Plain Layout
12294
12295
12296 \backslash
12297 renewcommand{
12298 \backslash
12299 multirowsetup}{
12300 \backslash
12301 raggedright}
12302 \end_layout
12303
12304 \end_inset
12305
12306
12307 \end_layout
12308
12309 \begin_layout Standard
12310 create a 3×3 table.
12311  To get rid of the line above the last cell in the first column, the cell
12312  is marked as multicolumn and the upper border is unset.
12313  The multirow is now created in the second row of the first column by inserting
12314  there the command
12315 \end_layout
12316
12317 \begin_layout Standard
12318
12319 \series bold
12320
12321 \backslash
12322 multirow{2}{2.5cm}{
12323 \end_layout
12324
12325 \begin_layout Standard
12326 as TeX-Code.
12327  According to the command parameters the multirow spans now two rows and
12328  has a width of 2.5
12329 \begin_inset space \thinspace{}
12330 \end_inset
12331
12332 cm.
12333  The content of the multirow cell follows outside the TeX-Code box and the
12334  command is finished with a right brace 
12335 \series bold
12336 }
12337 \series default
12338  in another TeX-Code-box behind the text.
12339 \end_layout
12340
12341 \begin_layout Standard
12342
12343 \series bold
12344
12345 \backslash
12346 multirow
12347 \series default
12348  left-aligns its content by default.
12349  To override the default, renew the command 
12350 \series bold
12351
12352 \backslash
12353 multirowsetup
12354 \series default
12355  with the command
12356 \end_layout
12357
12358 \begin_layout Standard
12359
12360 \series bold
12361
12362 \backslash
12363 renewcommand{
12364 \backslash
12365 multirowsetup}{
12366 \backslash
12367 centering}
12368 \end_layout
12369
12370 \begin_layout Standard
12371 in TeX-Code in the document preamble.
12372  Then all entries of multirow cells in the document are centered.
12373  If centering is only needed for several tables, you can renew the command
12374  in an TeX-Code box just before the table instead of the preamble.
12375  If the text should be right-aligned, replace 
12376 \series bold
12377
12378 \backslash
12379 centering
12380 \series default
12381  by 
12382 \series bold
12383
12384 \backslash
12385 raggedleft
12386 \series default
12387 .
12388  To return to left-alignment 
12389 \series bold
12390
12391 \backslash
12392 raggedright
12393 \series default
12394  is used.
12395 \end_layout
12396
12397 \begin_layout Section
12398 Formal Tables
12399 \begin_inset CommandInset label
12400 LatexCommand label
12401 name "sec:Formal-Tables"
12402
12403 \end_inset
12404
12405
12406 \begin_inset Index
12407 status collapsed
12408
12409 \begin_layout Plain Layout
12410 Table ! Formal
12411 \end_layout
12412
12413 \end_inset
12414
12415
12416 \end_layout
12417
12418 \begin_layout Standard
12419 Tables are often typeset in books similar to Table
12420 \begin_inset space ~
12421 \end_inset
12422
12423
12424 \begin_inset CommandInset ref
12425 LatexCommand ref
12426 reference "tab:Example-booktabs-table"
12427
12428 \end_inset
12429
12430 .
12431  This kind of tables is called 
12432 \begin_inset Quotes eld
12433 \end_inset
12434
12435
12436 \emph on
12437 formal
12438 \emph default
12439
12440 \begin_inset Quotes erd
12441 \end_inset
12442
12443 .
12444  To make a table a formal table use the option 
12445 \family sans
12446 Formal
12447 \family default
12448  in the 
12449 \family sans
12450 Borders
12451 \family default
12452  tab of the table dialog.
12453 \end_layout
12454
12455 \begin_layout Standard
12456 \begin_inset Float table
12457 placement h
12458 wide false
12459 sideways false
12460 status open
12461
12462 \begin_layout Plain Layout
12463 \begin_inset Caption
12464
12465 \begin_layout Plain Layout
12466 \begin_inset CommandInset label
12467 LatexCommand label
12468 name "tab:Example-booktabs-table"
12469
12470 \end_inset
12471
12472 Example booktabs-table
12473 \end_layout
12474
12475 \end_inset
12476
12477
12478 \end_layout
12479
12480 \begin_layout Plain Layout
12481 \align center
12482 \begin_inset Tabular
12483 <lyxtabular version="3" rows="8" columns="4">
12484 <features booktabs="true">
12485 <column alignment="center" valignment="top" width="0">
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 <row>
12490 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
12491 \begin_inset Text
12492
12493 \begin_layout Plain Layout
12494 System
12495 \end_layout
12496
12497 \end_inset
12498 </cell>
12499 <cell alignment="center" valignment="top" topline="true" usebox="none">
12500 \begin_inset Text
12501
12502 \begin_layout Plain Layout
12503 Medipix
12504 \begin_inset space \thinspace{}
12505 \end_inset
12506
12507 1
12508 \end_layout
12509
12510 \end_inset
12511 </cell>
12512 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
12513 \begin_inset Text
12514
12515 \begin_layout Plain Layout
12516 Medipix
12517 \begin_inset space \thinspace{}
12518 \end_inset
12519
12520 2
12521 \end_layout
12522
12523 \end_inset
12524 </cell>
12525 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12526 \begin_inset Text
12527
12528 \begin_layout Plain Layout
12529
12530 \end_layout
12531
12532 \end_inset
12533 </cell>
12534 </row>
12535 <row>
12536 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12537 \begin_inset Text
12538
12539 \begin_layout Plain Layout
12540 \begin_inset ERT
12541 status collapsed
12542
12543 \begin_layout Plain Layout
12544
12545
12546 \backslash
12547 cmidrule(r){2-2}
12548 \end_layout
12549
12550 \end_inset
12551
12552
12553 \begin_inset ERT
12554 status collapsed
12555
12556 \begin_layout Plain Layout
12557
12558
12559 \backslash
12560 cmidrule(l){3-4}
12561 \end_layout
12562
12563 \end_inset
12564
12565 Detector thickness [µm]
12566 \end_layout
12567
12568 \end_inset
12569 </cell>
12570 <cell alignment="center" valignment="top" usebox="none">
12571 \begin_inset Text
12572
12573 \begin_layout Plain Layout
12574 300
12575 \end_layout
12576
12577 \end_inset
12578 </cell>
12579 <cell alignment="center" valignment="top" usebox="none">
12580 \begin_inset Text
12581
12582 \begin_layout Plain Layout
12583 300
12584 \end_layout
12585
12586 \end_inset
12587 </cell>
12588 <cell alignment="center" valignment="top" usebox="none">
12589 \begin_inset Text
12590
12591 \begin_layout Plain Layout
12592 700
12593 \end_layout
12594
12595 \end_inset
12596 </cell>
12597 </row>
12598 <row>
12599 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
12600 \begin_inset Text
12601
12602 \begin_layout Plain Layout
12603 Edge angle [°]
12604 \end_layout
12605
12606 \end_inset
12607 </cell>
12608 <cell alignment="center" valignment="top" topline="true" usebox="none">
12609 \begin_inset Text
12610
12611 \begin_layout Plain Layout
12612 3.55
12613 \end_layout
12614
12615 \end_inset
12616 </cell>
12617 <cell alignment="center" valignment="top" topline="true" usebox="none">
12618 \begin_inset Text
12619
12620 \begin_layout Plain Layout
12621 2.71
12622 \end_layout
12623
12624 \end_inset
12625 </cell>
12626 <cell alignment="center" valignment="top" topline="true" usebox="none">
12627 \begin_inset Text
12628
12629 \begin_layout Plain Layout
12630 7.99
12631 \end_layout
12632
12633 \end_inset
12634 </cell>
12635 </row>
12636 <row topspace="default">
12637 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12638 \begin_inset Text
12639
12640 \begin_layout Plain Layout
12641 Spatial resolution [µm]
12642 \end_layout
12643
12644 \end_inset
12645 </cell>
12646 <cell alignment="center" valignment="top" usebox="none">
12647 \begin_inset Text
12648
12649 \begin_layout Plain Layout
12650 4.26
12651 \end_layout
12652
12653 \end_inset
12654 </cell>
12655 <cell alignment="center" valignment="top" usebox="none">
12656 \begin_inset Text
12657
12658 \begin_layout Plain Layout
12659 10.17
12660 \end_layout
12661
12662 \end_inset
12663 </cell>
12664 <cell alignment="center" valignment="top" usebox="none">
12665 \begin_inset Text
12666
12667 \begin_layout Plain Layout
12668 10.56
12669 \end_layout
12670
12671 \end_inset
12672 </cell>
12673 </row>
12674 <row topspace="default">
12675 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12676 \begin_inset Text
12677
12678 \begin_layout Plain Layout
12679 MTF at 
12680 \begin_inset Formula $f_{\mathrm{max}}$
12681 \end_inset
12682
12683
12684 \end_layout
12685
12686 \end_inset
12687 </cell>
12688 <cell alignment="center" valignment="top" usebox="none">
12689 \begin_inset Text
12690
12691 \begin_layout Plain Layout
12692 0.53
12693 \end_layout
12694
12695 \end_inset
12696 </cell>
12697 <cell alignment="center" valignment="top" usebox="none">
12698 \begin_inset Text
12699
12700 \begin_layout Plain Layout
12701 0.37
12702 \end_layout
12703
12704 \end_inset
12705 </cell>
12706 <cell alignment="center" valignment="top" usebox="none">
12707 \begin_inset Text
12708
12709 \begin_layout Plain Layout
12710 0.39
12711 \end_layout
12712
12713 \end_inset
12714 </cell>
12715 </row>
12716 <row topspace="default">
12717 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12718 \begin_inset Text
12719
12720 \begin_layout Plain Layout
12721 \begin_inset ERT
12722 status collapsed
12723
12724 \begin_layout Plain Layout
12725
12726
12727 \backslash
12728 cmidrule(l{10pt}){1-1}
12729 \end_layout
12730
12731 \end_inset
12732
12733 LSF-spatial resolution
12734 \end_layout
12735
12736 \end_inset
12737 </cell>
12738 <cell alignment="center" valignment="top" usebox="none">
12739 \begin_inset Text
12740
12741 \begin_layout Plain Layout
12742
12743 \end_layout
12744
12745 \end_inset
12746 </cell>
12747 <cell alignment="center" valignment="top" usebox="none">
12748 \begin_inset Text
12749
12750 \begin_layout Plain Layout
12751
12752 \end_layout
12753
12754 \end_inset
12755 </cell>
12756 <cell alignment="center" valignment="top" usebox="none">
12757 \begin_inset Text
12758
12759 \begin_layout Plain Layout
12760
12761 \end_layout
12762
12763 \end_inset
12764 </cell>
12765 </row>
12766 <row>
12767 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12768 \begin_inset Text
12769
12770 \begin_layout Plain Layout
12771 in µm
12772 \end_layout
12773
12774 \end_inset
12775 </cell>
12776 <cell alignment="center" valignment="top" usebox="none">
12777 \begin_inset Text
12778
12779 \begin_layout Plain Layout
12780 129.7
12781 \end_layout
12782
12783 \end_inset
12784 </cell>
12785 <cell alignment="center" valignment="top" usebox="none">
12786 \begin_inset Text
12787
12788 \begin_layout Plain Layout
12789 52.75
12790 \end_layout
12791
12792 \end_inset
12793 </cell>
12794 <cell alignment="center" valignment="top" usebox="none">
12795 \begin_inset Text
12796
12797 \begin_layout Plain Layout
12798 50.78
12799 \end_layout
12800
12801 \end_inset
12802 </cell>
12803 </row>
12804 <row>
12805 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
12806 \begin_inset Text
12807
12808 \begin_layout Plain Layout
12809 in % of pixel size
12810 \end_layout
12811
12812 \end_inset
12813 </cell>
12814 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12815 \begin_inset Text
12816
12817 \begin_layout Plain Layout
12818 76.3
12819 \end_layout
12820
12821 \end_inset
12822 </cell>
12823 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12824 \begin_inset Text
12825
12826 \begin_layout Plain Layout
12827 95.9
12828 \end_layout
12829
12830 \end_inset
12831 </cell>
12832 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12833 \begin_inset Text
12834
12835 \begin_layout Plain Layout
12836 92.3
12837 \end_layout
12838
12839 \end_inset
12840 </cell>
12841 </row>
12842 </lyxtabular>
12843
12844 \end_inset
12845
12846
12847 \end_layout
12848
12849 \end_inset
12850
12851
12852 \end_layout
12853
12854 \begin_layout Standard
12855 Spaces to table rows can be added using the 
12856 \family sans
12857 Borders
12858 \family default
12859  tab of the table dialog as described in section
12860 \begin_inset space ~
12861 \end_inset
12862
12863
12864 \begin_inset CommandInset ref
12865 LatexCommand ref
12866 reference "sub:Row-Spacing"
12867
12868 \end_inset
12869
12870 .
12871 \end_layout
12872
12873 \begin_layout Standard
12874 In contrary to normal tables, formal tables have no vertical table lines.
12875  The horizontal table lines can be set like for normal tables but they appear
12876  with different width in the output:
12877 \begin_inset Newline newline
12878 \end_inset
12879
12880 The first and the last table line have a default width of 0.08
12881 \begin_inset space \thinspace{}
12882 \end_inset
12883
12884 em while the other lines have a default width of 0.05
12885 \begin_inset space \thinspace{}
12886 \end_inset
12887
12888 em.
12889 \end_layout
12890
12891 \begin_layout Standard
12892 The default widths can be changed with the following preamble lines
12893 \end_layout
12894
12895 \begin_layout Standard
12896
12897 \series bold
12898
12899 \backslash
12900 let
12901 \backslash
12902 mytoprule
12903 \backslash
12904 toprule
12905 \begin_inset Newline newline
12906 \end_inset
12907
12908
12909 \backslash
12910 renewcommand{
12911 \backslash
12912 toprule}{
12913 \backslash
12914 mytoprule[width]}
12915 \end_layout
12916
12917 \begin_layout Standard
12918 This example is for the first line, the so called 
12919 \series bold
12920 toprule
12921 \series default
12922 .
12923  If you want to change the width for the last line, replace 
12924 \series bold
12925 toprule
12926 \series default
12927  by 
12928 \series bold
12929 bottomrule
12930 \series default
12931 .
12932  To change the width for the other lines replace 
12933 \series bold
12934 toprule
12935 \series default
12936  by 
12937 \series bold
12938 midrule
12939 \series default
12940 .
12941  You can use all units listed in appendix
12942 \begin_inset space ~
12943 \end_inset
12944
12945
12946 \begin_inset CommandInset ref
12947 LatexCommand ref
12948 reference "cha:Units-available-in"
12949
12950 \end_inset
12951
12952  to set the width.
12953 \end_layout
12954
12955 \begin_layout Standard
12956 Lines that don't span over all table columns can be created by setting a
12957  table line for multicolumn cells.
12958  LyX will then internally use the command 
12959 \series bold
12960
12961 \backslash
12962 cmidrule
12963 \series default
12964  to create this line.
12965  Its full scheme is
12966 \end_layout
12967
12968 \begin_layout Standard
12969
12970 \series bold
12971
12972 \backslash
12973 cmidrule[width](trim){startcol-endcol}
12974 \end_layout
12975
12976 \begin_layout Standard
12977 The options of 
12978 \series bold
12979
12980 \backslash
12981 cmidrule
12982 \series default
12983  are are currently not supported by LyX so you have to use TeX-Code to be
12984  able to use them.
12985  
12986 \series bold
12987
12988 \backslash
12989 cmidrule
12990 \series default
12991 s can manually be created by inserting the command as TeX-Code as first
12992  cell entry of the first cell of a row.
12993  The line is then drawn in the output above the current row.
12994 \end_layout
12995
12996 \begin_layout Standard
12997 The default for the width is 0.03
12998 \begin_inset space \thinspace{}
12999 \end_inset
13000
13001 em.
13002  Startcol is the number of the column where the line starts and endcol the
13003  column number where the line ends.
13004  The endcol always needs to be specified, also when the line should span
13005  only one column.
13006  The optional parameter trim could be either 
13007 \emph on
13008 l{trimwidth}
13009 \emph default
13010 , or 
13011 \emph on
13012 r{trimwidth}
13013 \emph default
13014  where the trimwidth is also optional.
13015  Using for example the parameter 
13016 \emph on
13017 l{2pt}
13018 \emph default
13019  means that the line is trimmed from its left end by 2
13020 \begin_inset space \thinspace{}
13021 \end_inset
13022
13023 pt.
13024  If you don't specify the trimwidth the lines are trimmed by the default
13025  of 0.5
13026 \begin_inset space \thinspace{}
13027 \end_inset
13028
13029 em.
13030 \end_layout
13031
13032 \begin_layout Standard
13033 \begin_inset VSpace bigskip
13034 \end_inset
13035
13036 Table
13037 \begin_inset space ~
13038 \end_inset
13039
13040
13041 \begin_inset CommandInset ref
13042 LatexCommand ref
13043 reference "tab:Example-booktabs-table"
13044
13045 \end_inset
13046
13047  was created using the commands
13048 \end_layout
13049
13050 \begin_layout Standard
13051
13052 \series bold
13053
13054 \backslash
13055 cmidrule(r){2-2}
13056 \backslash
13057 cmidrule(l){3-4}
13058 \end_layout
13059
13060 \begin_layout Standard
13061 at the beginning of the in the second row and
13062 \end_layout
13063
13064 \begin_layout Standard
13065
13066 \series bold
13067
13068 \backslash
13069 cmidrule(l{10pt}){1-1}
13070 \end_layout
13071
13072 \begin_layout Standard
13073 in the sixth row.
13074 \end_layout
13075
13076 \begin_layout Standard
13077 \begin_inset VSpace bigskip
13078 \end_inset
13079
13080
13081 \end_layout
13082
13083 \begin_layout Standard
13084 You might want to have overlapping 
13085 \series bold
13086
13087 \backslash
13088 cmidrule
13089 \series default
13090 s like in Table
13091 \begin_inset space ~
13092 \end_inset
13093
13094
13095 \begin_inset CommandInset ref
13096 LatexCommand ref
13097 reference "tab:Special-booktabs-table"
13098
13099 \end_inset
13100
13101 .
13102  This can be achieved with the TeX-Code command
13103 \end_layout
13104
13105 \begin_layout Standard
13106
13107 \series bold
13108
13109 \backslash
13110 morecmidrules
13111 \end_layout
13112
13113 \begin_layout Standard
13114 The command that was used for the second row of Table
13115 \begin_inset space ~
13116 \end_inset
13117
13118
13119 \begin_inset CommandInset ref
13120 LatexCommand ref
13121 reference "tab:Special-booktabs-table"
13122
13123 \end_inset
13124
13125  is
13126 \end_layout
13127
13128 \begin_layout Standard
13129
13130 \series bold
13131
13132 \backslash
13133 cmidrule(r){2-2}
13134 \backslash
13135 cmidrule(l){3-4}
13136 \backslash
13137 morecmidrules
13138 \backslash
13139 cmidrule{2-4}
13140 \end_layout
13141
13142 \begin_layout Standard
13143 The command for the sixth row is
13144 \end_layout
13145
13146 \begin_layout Standard
13147
13148 \series bold
13149
13150 \backslash
13151 midrule
13152 \backslash
13153 morecmidrules
13154 \backslash
13155 cmidrule{3-4}
13156 \end_layout
13157
13158 \begin_layout Standard
13159 \begin_inset VSpace bigskip
13160 \end_inset
13161
13162
13163 \end_layout
13164
13165 \begin_layout Standard
13166 If you are anyway not satisfied with the border line spacing, you can use
13167  the following command to produce lines that span over all table columns
13168 \series bold
13169 :
13170 \end_layout
13171
13172 \begin_layout Standard
13173
13174 \series bold
13175
13176 \backslash
13177 specialrule{width}{space above}{space below}
13178 \end_layout
13179
13180 \begin_layout Standard
13181 For more information about these specialties, we refer to the manual of
13182  the LaTeX-package 
13183 \series bold
13184 booktabs
13185 \series default
13186  
13187 \begin_inset CommandInset citation
13188 LatexCommand cite
13189 key "booktabs"
13190
13191 \end_inset
13192
13193 .
13194 \begin_inset Index
13195 status collapsed
13196
13197 \begin_layout Plain Layout
13198 LaTeX-packages ! booktabs
13199 \end_layout
13200
13201 \end_inset
13202
13203
13204 \end_layout
13205
13206 \begin_layout Standard
13207 \begin_inset Float table
13208 placement h
13209 wide false
13210 sideways false
13211 status open
13212
13213 \begin_layout Plain Layout
13214 \begin_inset Caption
13215
13216 \begin_layout Plain Layout
13217 \begin_inset CommandInset label
13218 LatexCommand label
13219 name "tab:Special-booktabs-table"
13220
13221 \end_inset
13222
13223 Special booktabs-table
13224 \end_layout
13225
13226 \end_inset
13227
13228
13229 \end_layout
13230
13231 \begin_layout Plain Layout
13232 \align center
13233 \begin_inset Tabular
13234 <lyxtabular version="3" rows="8" columns="4">
13235 <features booktabs="true">
13236 <column alignment="center" valignment="top" width="0">
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 <row>
13241 <cell alignment="center" valignment="top" topline="true" usebox="none">
13242 \begin_inset Text
13243
13244 \begin_layout Plain Layout
13245 System
13246 \end_layout
13247
13248 \end_inset
13249 </cell>
13250 <cell alignment="center" valignment="top" topline="true" usebox="none">
13251 \begin_inset Text
13252
13253 \begin_layout Plain Layout
13254 Medipix
13255 \begin_inset space \thinspace{}
13256 \end_inset
13257
13258 1
13259 \end_layout
13260
13261 \end_inset
13262 </cell>
13263 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
13264 \begin_inset Text
13265
13266 \begin_layout Plain Layout
13267 Medipix
13268 \begin_inset space \thinspace{}
13269 \end_inset
13270
13271 2
13272 \end_layout
13273
13274 \end_inset
13275 </cell>
13276 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13277 \begin_inset Text
13278
13279 \begin_layout Plain Layout
13280
13281 \end_layout
13282
13283 \end_inset
13284 </cell>
13285 </row>
13286 <row>
13287 <cell alignment="center" valignment="top" usebox="none">
13288 \begin_inset Text
13289
13290 \begin_layout Plain Layout
13291 \begin_inset ERT
13292 status collapsed
13293
13294 \begin_layout Plain Layout
13295
13296
13297 \backslash
13298 cmidrule(r){2-2}
13299 \end_layout
13300
13301 \end_inset
13302
13303
13304 \begin_inset ERT
13305 status collapsed
13306
13307 \begin_layout Plain Layout
13308
13309
13310 \backslash
13311 cmidrule(l){3-4}
13312 \end_layout
13313
13314 \end_inset
13315
13316
13317 \begin_inset ERT
13318 status collapsed
13319
13320 \begin_layout Plain Layout
13321
13322
13323 \backslash
13324 morecmidrules 
13325 \end_layout
13326
13327 \end_inset
13328
13329
13330 \begin_inset ERT
13331 status collapsed
13332
13333 \begin_layout Plain Layout
13334
13335
13336 \backslash
13337 cmidrule{2-4}
13338 \end_layout
13339
13340 \end_inset
13341
13342 Detector thickness [µm]
13343 \end_layout
13344
13345 \end_inset
13346 </cell>
13347 <cell alignment="center" valignment="top" usebox="none">
13348 \begin_inset Text
13349
13350 \begin_layout Plain Layout
13351 300
13352 \end_layout
13353
13354 \end_inset
13355 </cell>
13356 <cell alignment="center" valignment="top" usebox="none">
13357 \begin_inset Text
13358
13359 \begin_layout Plain Layout
13360 300
13361 \end_layout
13362
13363 \end_inset
13364 </cell>
13365 <cell alignment="center" valignment="top" usebox="none">
13366 \begin_inset Text
13367
13368 \begin_layout Plain Layout
13369 700
13370 \end_layout
13371
13372 \end_inset
13373 </cell>
13374 </row>
13375 <row>
13376 <cell alignment="center" valignment="top" topline="true" usebox="none">
13377 \begin_inset Text
13378
13379 \begin_layout Plain Layout
13380 Edge angle [°]
13381 \end_layout
13382
13383 \end_inset
13384 </cell>
13385 <cell alignment="center" valignment="top" topline="true" usebox="none">
13386 \begin_inset Text
13387
13388 \begin_layout Plain Layout
13389 3.55
13390 \end_layout
13391
13392 \end_inset
13393 </cell>
13394 <cell alignment="center" valignment="top" topline="true" usebox="none">
13395 \begin_inset Text
13396
13397 \begin_layout Plain Layout
13398 2.71
13399 \end_layout
13400
13401 \end_inset
13402 </cell>
13403 <cell alignment="center" valignment="top" topline="true" usebox="none">
13404 \begin_inset Text
13405
13406 \begin_layout Plain Layout
13407 7.99
13408 \end_layout
13409
13410 \end_inset
13411 </cell>
13412 </row>
13413 <row topspace="default">
13414 <cell alignment="center" valignment="top" usebox="none">
13415 \begin_inset Text
13416
13417 \begin_layout Plain Layout
13418 Spatial resolution [µm]
13419 \end_layout
13420
13421 \end_inset
13422 </cell>
13423 <cell alignment="center" valignment="top" usebox="none">
13424 \begin_inset Text
13425
13426 \begin_layout Plain Layout
13427 4.26
13428 \end_layout
13429
13430 \end_inset
13431 </cell>
13432 <cell alignment="center" valignment="top" usebox="none">
13433 \begin_inset Text
13434
13435 \begin_layout Plain Layout
13436 10.17
13437 \end_layout
13438
13439 \end_inset
13440 </cell>
13441 <cell alignment="center" valignment="top" usebox="none">
13442 \begin_inset Text
13443
13444 \begin_layout Plain Layout
13445 10.56
13446 \end_layout
13447
13448 \end_inset
13449 </cell>
13450 </row>
13451 <row topspace="default">
13452 <cell alignment="center" valignment="top" usebox="none">
13453 \begin_inset Text
13454
13455 \begin_layout Plain Layout
13456 MTF at 
13457 \begin_inset Formula $f_{\mathrm{max}}$
13458 \end_inset
13459
13460
13461 \end_layout
13462
13463 \end_inset
13464 </cell>
13465 <cell alignment="center" valignment="top" usebox="none">
13466 \begin_inset Text
13467
13468 \begin_layout Plain Layout
13469 0.53
13470 \end_layout
13471
13472 \end_inset
13473 </cell>
13474 <cell alignment="center" valignment="top" usebox="none">
13475 \begin_inset Text
13476
13477 \begin_layout Plain Layout
13478 0.37
13479 \end_layout
13480
13481 \end_inset
13482 </cell>
13483 <cell alignment="center" valignment="top" usebox="none">
13484 \begin_inset Text
13485
13486 \begin_layout Plain Layout
13487 0.39
13488 \end_layout
13489
13490 \end_inset
13491 </cell>
13492 </row>
13493 <row>
13494 <cell alignment="center" valignment="top" topline="true" usebox="none">
13495 \begin_inset Text
13496
13497 \begin_layout Plain Layout
13498 \begin_inset ERT
13499 status collapsed
13500
13501 \begin_layout Plain Layout
13502
13503
13504 \backslash
13505 morecmidrules 
13506 \end_layout
13507
13508 \end_inset
13509
13510
13511 \begin_inset ERT
13512 status collapsed
13513
13514 \begin_layout Plain Layout
13515
13516
13517 \backslash
13518 cmidrule{3-4}
13519 \end_layout
13520
13521 \end_inset
13522
13523 LSF-spatial resolution
13524 \end_layout
13525
13526 \end_inset
13527 </cell>
13528 <cell alignment="center" valignment="top" topline="true" usebox="none">
13529 \begin_inset Text
13530
13531 \begin_layout Plain Layout
13532
13533 \end_layout
13534
13535 \end_inset
13536 </cell>
13537 <cell alignment="center" valignment="top" topline="true" usebox="none">
13538 \begin_inset Text
13539
13540 \begin_layout Plain Layout
13541
13542 \end_layout
13543
13544 \end_inset
13545 </cell>
13546 <cell alignment="center" valignment="top" topline="true" usebox="none">
13547 \begin_inset Text
13548
13549 \begin_layout Plain Layout
13550
13551 \end_layout
13552
13553 \end_inset
13554 </cell>
13555 </row>
13556 <row>
13557 <cell alignment="center" valignment="top" usebox="none">
13558 \begin_inset Text
13559
13560 \begin_layout Plain Layout
13561 in µm
13562 \end_layout
13563
13564 \end_inset
13565 </cell>
13566 <cell alignment="center" valignment="top" usebox="none">
13567 \begin_inset Text
13568
13569 \begin_layout Plain Layout
13570 129.7
13571 \end_layout
13572
13573 \end_inset
13574 </cell>
13575 <cell alignment="center" valignment="top" usebox="none">
13576 \begin_inset Text
13577
13578 \begin_layout Plain Layout
13579 52.75
13580 \end_layout
13581
13582 \end_inset
13583 </cell>
13584 <cell alignment="center" valignment="top" usebox="none">
13585 \begin_inset Text
13586
13587 \begin_layout Plain Layout
13588 50.78
13589 \end_layout
13590
13591 \end_inset
13592 </cell>
13593 </row>
13594 <row>
13595 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13596 \begin_inset Text
13597
13598 \begin_layout Plain Layout
13599 in % of pixel size
13600 \end_layout
13601
13602 \end_inset
13603 </cell>
13604 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13605 \begin_inset Text
13606
13607 \begin_layout Plain Layout
13608 76.3
13609 \end_layout
13610
13611 \end_inset
13612 </cell>
13613 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13614 \begin_inset Text
13615
13616 \begin_layout Plain Layout
13617 95.9
13618 \end_layout
13619
13620 \end_inset
13621 </cell>
13622 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13623 \begin_inset Text
13624
13625 \begin_layout Plain Layout
13626 92.3
13627 \end_layout
13628
13629 \end_inset
13630 </cell>
13631 </row>
13632 </lyxtabular>
13633
13634 \end_inset
13635
13636
13637 \end_layout
13638
13639 \end_inset
13640
13641
13642 \end_layout
13643
13644 \begin_layout Section
13645 Vertical Table Alignment
13646 \begin_inset Index
13647 status collapsed
13648
13649 \begin_layout Plain Layout
13650 Table ! Alignment
13651 \end_layout
13652
13653 \end_inset
13654
13655
13656 \end_layout
13657
13658 \begin_layout Standard
13659 To align tables vertically in a text line the table must be inside a box.
13660  The box can then be vertically aligned as described in section
13661 \begin_inset space ~
13662 \end_inset
13663
13664
13665 \begin_inset CommandInset ref
13666 LatexCommand ref
13667 reference "sec:Box-Dialog"
13668
13669 \end_inset
13670
13671 .
13672 \end_layout
13673
13674 \begin_layout Standard
13675 In the following example the tables are inside a minipage
13676 \begin_inset Foot
13677 status collapsed
13678
13679 \begin_layout Plain Layout
13680 Minipages are described in section
13681 \begin_inset space ~
13682 \end_inset
13683
13684
13685 \begin_inset CommandInset ref
13686 LatexCommand ref
13687 reference "sec:Minipages"
13688
13689 \end_inset
13690
13691 .
13692 \end_layout
13693
13694 \end_inset
13695
13696  box that has a width of 15
13697 \begin_inset space \thinspace{}
13698 \end_inset
13699
13700 col%:
13701 \end_layout
13702
13703 \begin_layout Itemize
13704 test 
13705 \begin_inset Box Frameless
13706 position "t"
13707 hor_pos "c"
13708 has_inner_box 1
13709 inner_pos "c"
13710 use_parbox 0
13711 width "15col%"
13712 special "none"
13713 height "1in"
13714 height_special "totalheight"
13715 status collapsed
13716
13717 \begin_layout Plain Layout
13718 \begin_inset Tabular
13719 <lyxtabular version="3" rows="3" columns="3">
13720 <features>
13721 <column alignment="center" valignment="top" width="0">
13722 <column alignment="center" valignment="top" width="0">
13723 <column alignment="center" valignment="top" width="0">
13724 <row>
13725 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13726 \begin_inset Text
13727
13728 \begin_layout Plain Layout
13729 a
13730 \end_layout
13731
13732 \end_inset
13733 </cell>
13734 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13735 \begin_inset Text
13736
13737 \begin_layout Plain Layout
13738 d
13739 \end_layout
13740
13741 \end_inset
13742 </cell>
13743 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13744 \begin_inset Text
13745
13746 \begin_layout Plain Layout
13747 g
13748 \end_layout
13749
13750 \end_inset
13751 </cell>
13752 </row>
13753 <row>
13754 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13755 \begin_inset Text
13756
13757 \begin_layout Plain Layout
13758 b
13759 \end_layout
13760
13761 \end_inset
13762 </cell>
13763 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13764 \begin_inset Text
13765
13766 \begin_layout Plain Layout
13767 e
13768 \end_layout
13769
13770 \end_inset
13771 </cell>
13772 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13773 \begin_inset Text
13774
13775 \begin_layout Plain Layout
13776 h
13777 \end_layout
13778
13779 \end_inset
13780 </cell>
13781 </row>
13782 <row>
13783 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13784 \begin_inset Text
13785
13786 \begin_layout Plain Layout
13787 c
13788 \end_layout
13789
13790 \end_inset
13791 </cell>
13792 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13793 \begin_inset Text
13794
13795 \begin_layout Plain Layout
13796 f
13797 \end_layout
13798
13799 \end_inset
13800 </cell>
13801 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13802 \begin_inset Text
13803
13804 \begin_layout Plain Layout
13805 i
13806 \end_layout
13807
13808 \end_inset
13809 </cell>
13810 </row>
13811 </lyxtabular>
13812
13813 \end_inset
13814
13815
13816 \end_layout
13817
13818 \end_inset
13819
13820  test 
13821 \begin_inset ERT
13822 status collapsed
13823
13824 \begin_layout Plain Layout
13825
13826
13827 \backslash
13828 raisebox{0.85
13829 \backslash
13830 baselineskip}{
13831 \end_layout
13832
13833 \end_inset
13834
13835
13836 \begin_inset Box Frameless
13837 position "t"
13838 hor_pos "c"
13839 has_inner_box 1
13840 inner_pos "c"
13841 use_parbox 0
13842 width "15col%"
13843 special "none"
13844 height "1in"
13845 height_special "totalheight"
13846 status collapsed
13847
13848 \begin_layout Plain Layout
13849 \begin_inset Tabular
13850 <lyxtabular version="3" rows="3" columns="3">
13851 <features>
13852 <column alignment="center" valignment="top" width="0">
13853 <column alignment="center" valignment="top" width="0">
13854 <column alignment="center" valignment="top" width="0">
13855 <row>
13856 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13857 \begin_inset Text
13858
13859 \begin_layout Plain Layout
13860 a
13861 \end_layout
13862
13863 \end_inset
13864 </cell>
13865 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13866 \begin_inset Text
13867
13868 \begin_layout Plain Layout
13869 d
13870 \end_layout
13871
13872 \end_inset
13873 </cell>
13874 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13875 \begin_inset Text
13876
13877 \begin_layout Plain Layout
13878 g
13879 \end_layout
13880
13881 \end_inset
13882 </cell>
13883 </row>
13884 <row>
13885 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13886 \begin_inset Text
13887
13888 \begin_layout Plain Layout
13889 b
13890 \end_layout
13891
13892 \end_inset
13893 </cell>
13894 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13895 \begin_inset Text
13896
13897 \begin_layout Plain Layout
13898 e
13899 \end_layout
13900
13901 \end_inset
13902 </cell>
13903 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13904 \begin_inset Text
13905
13906 \begin_layout Plain Layout
13907 h
13908 \end_layout
13909
13910 \end_inset
13911 </cell>
13912 </row>
13913 <row>
13914 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13915 \begin_inset Text
13916
13917 \begin_layout Plain Layout
13918 c
13919 \end_layout
13920
13921 \end_inset
13922 </cell>
13923 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13924 \begin_inset Text
13925
13926 \begin_layout Plain Layout
13927 f
13928 \end_layout
13929
13930 \end_inset
13931 </cell>
13932 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13933 \begin_inset Text
13934
13935 \begin_layout Plain Layout
13936 i
13937 \end_layout
13938
13939 \end_inset
13940 </cell>
13941 </row>
13942 </lyxtabular>
13943
13944 \end_inset
13945
13946
13947 \end_layout
13948
13949 \end_inset
13950
13951
13952 \begin_inset ERT
13953 status collapsed
13954
13955 \begin_layout Plain Layout
13956
13957 }
13958 \end_layout
13959
13960 \end_inset
13961
13962
13963 \end_layout
13964
13965 \begin_layout Itemize
13966 test 
13967 \begin_inset Box Frameless
13968 position "c"
13969 hor_pos "c"
13970 has_inner_box 1
13971 inner_pos "c"
13972 use_parbox 0
13973 width "15col%"
13974 special "none"
13975 height "1in"
13976 height_special "totalheight"
13977 status collapsed
13978
13979 \begin_layout Plain Layout
13980 \begin_inset Tabular
13981 <lyxtabular version="3" rows="3" columns="3">
13982 <features>
13983 <column alignment="center" valignment="top" width="0">
13984 <column alignment="center" valignment="top" width="0">
13985 <column alignment="center" valignment="top" width="0">
13986 <row>
13987 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13988 \begin_inset Text
13989
13990 \begin_layout Plain Layout
13991 a
13992 \end_layout
13993
13994 \end_inset
13995 </cell>
13996 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13997 \begin_inset Text
13998
13999 \begin_layout Plain Layout
14000 d
14001 \end_layout
14002
14003 \end_inset
14004 </cell>
14005 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14006 \begin_inset Text
14007
14008 \begin_layout Plain Layout
14009 g
14010 \end_layout
14011
14012 \end_inset
14013 </cell>
14014 </row>
14015 <row>
14016 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14017 \begin_inset Text
14018
14019 \begin_layout Plain Layout
14020 b
14021 \end_layout
14022
14023 \end_inset
14024 </cell>
14025 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14026 \begin_inset Text
14027
14028 \begin_layout Plain Layout
14029 e
14030 \end_layout
14031
14032 \end_inset
14033 </cell>
14034 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14035 \begin_inset Text
14036
14037 \begin_layout Plain Layout
14038 h
14039 \end_layout
14040
14041 \end_inset
14042 </cell>
14043 </row>
14044 <row>
14045 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14046 \begin_inset Text
14047
14048 \begin_layout Plain Layout
14049 c
14050 \end_layout
14051
14052 \end_inset
14053 </cell>
14054 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14055 \begin_inset Text
14056
14057 \begin_layout Plain Layout
14058 f
14059 \end_layout
14060
14061 \end_inset
14062 </cell>
14063 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14064 \begin_inset Text
14065
14066 \begin_layout Plain Layout
14067 i
14068 \end_layout
14069
14070 \end_inset
14071 </cell>
14072 </row>
14073 </lyxtabular>
14074
14075 \end_inset
14076
14077
14078 \end_layout
14079
14080 \end_inset
14081
14082
14083 \end_layout
14084
14085 \begin_layout Itemize
14086 test 
14087 \begin_inset Box Frameless
14088 position "b"
14089 hor_pos "c"
14090 has_inner_box 1
14091 inner_pos "c"
14092 use_parbox 0
14093 width "15col%"
14094 special "none"
14095 height "1in"
14096 height_special "totalheight"
14097 status collapsed
14098
14099 \begin_layout Plain Layout
14100 \begin_inset Tabular
14101 <lyxtabular version="3" rows="3" columns="3">
14102 <features>
14103 <column alignment="center" valignment="top" width="0">
14104 <column alignment="center" valignment="top" width="0">
14105 <column alignment="center" valignment="top" width="0">
14106 <row>
14107 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14108 \begin_inset Text
14109
14110 \begin_layout Plain Layout
14111 a
14112 \end_layout
14113
14114 \end_inset
14115 </cell>
14116 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14117 \begin_inset Text
14118
14119 \begin_layout Plain Layout
14120 d
14121 \end_layout
14122
14123 \end_inset
14124 </cell>
14125 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14126 \begin_inset Text
14127
14128 \begin_layout Plain Layout
14129 g
14130 \end_layout
14131
14132 \end_inset
14133 </cell>
14134 </row>
14135 <row>
14136 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14137 \begin_inset Text
14138
14139 \begin_layout Plain Layout
14140 b
14141 \end_layout
14142
14143 \end_inset
14144 </cell>
14145 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14146 \begin_inset Text
14147
14148 \begin_layout Plain Layout
14149 e
14150 \end_layout
14151
14152 \end_inset
14153 </cell>
14154 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14155 \begin_inset Text
14156
14157 \begin_layout Plain Layout
14158 h
14159 \end_layout
14160
14161 \end_inset
14162 </cell>
14163 </row>
14164 <row>
14165 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14166 \begin_inset Text
14167
14168 \begin_layout Plain Layout
14169 c
14170 \end_layout
14171
14172 \end_inset
14173 </cell>
14174 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14175 \begin_inset Text
14176
14177 \begin_layout Plain Layout
14178 f
14179 \end_layout
14180
14181 \end_inset
14182 </cell>
14183 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14184 \begin_inset Text
14185
14186 \begin_layout Plain Layout
14187 i
14188 \end_layout
14189
14190 \end_inset
14191 </cell>
14192 </row>
14193 </lyxtabular>
14194
14195 \end_inset
14196
14197
14198 \end_layout
14199
14200 \end_inset
14201
14202  test 
14203 \begin_inset ERT
14204 status collapsed
14205
14206 \begin_layout Plain Layout
14207
14208
14209 \backslash
14210 raisebox{-0.32
14211 \backslash
14212 baselineskip}{
14213 \end_layout
14214
14215 \end_inset
14216
14217
14218 \begin_inset Box Frameless
14219 position "b"
14220 hor_pos "c"
14221 has_inner_box 1
14222 inner_pos "c"
14223 use_parbox 0
14224 width "15col%"
14225 special "none"
14226 height "1in"
14227 height_special "totalheight"
14228 status collapsed
14229
14230 \begin_layout Plain Layout
14231 \begin_inset Tabular
14232 <lyxtabular version="3" rows="3" columns="3">
14233 <features>
14234 <column alignment="center" valignment="top" width="0">
14235 <column alignment="center" valignment="top" width="0">
14236 <column alignment="center" valignment="top" width="0">
14237 <row>
14238 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14239 \begin_inset Text
14240
14241 \begin_layout Plain Layout
14242 a
14243 \end_layout
14244
14245 \end_inset
14246 </cell>
14247 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14248 \begin_inset Text
14249
14250 \begin_layout Plain Layout
14251 d
14252 \end_layout
14253
14254 \end_inset
14255 </cell>
14256 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14257 \begin_inset Text
14258
14259 \begin_layout Plain Layout
14260 g
14261 \end_layout
14262
14263 \end_inset
14264 </cell>
14265 </row>
14266 <row>
14267 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14268 \begin_inset Text
14269
14270 \begin_layout Plain Layout
14271 b
14272 \end_layout
14273
14274 \end_inset
14275 </cell>
14276 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14277 \begin_inset Text
14278
14279 \begin_layout Plain Layout
14280 e
14281 \end_layout
14282
14283 \end_inset
14284 </cell>
14285 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14286 \begin_inset Text
14287
14288 \begin_layout Plain Layout
14289 h
14290 \end_layout
14291
14292 \end_inset
14293 </cell>
14294 </row>
14295 <row>
14296 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14297 \begin_inset Text
14298
14299 \begin_layout Plain Layout
14300 c
14301 \end_layout
14302
14303 \end_inset
14304 </cell>
14305 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14306 \begin_inset Text
14307
14308 \begin_layout Plain Layout
14309 f
14310 \end_layout
14311
14312 \end_inset
14313 </cell>
14314 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14315 \begin_inset Text
14316
14317 \begin_layout Plain Layout
14318 i
14319 \end_layout
14320
14321 \end_inset
14322 </cell>
14323 </row>
14324 </lyxtabular>
14325
14326 \end_inset
14327
14328
14329 \end_layout
14330
14331 \end_inset
14332
14333
14334 \begin_inset ERT
14335 status collapsed
14336
14337 \begin_layout Plain Layout
14338
14339 }
14340 \end_layout
14341
14342 \end_inset
14343
14344
14345 \end_layout
14346
14347 \begin_layout Standard
14348 As you can see, the content of the first and last table row is not correctly
14349  aligned with the text line where the table is in.
14350  To get this alignment, the minipage box must be set into a raisebox
14351 \begin_inset Foot
14352 status collapsed
14353
14354 \begin_layout Plain Layout
14355 Raiseboxes are described in section
14356 \begin_inset space ~
14357 \end_inset
14358
14359
14360 \begin_inset CommandInset ref
14361 LatexCommand ref
14362 reference "sub:Vertical-Alignment"
14363
14364 \end_inset
14365
14366 .
14367 \end_layout
14368
14369 \end_inset
14370
14371 .
14372  In the example above the second table in the first item is aligned using
14373  the TeX-Code-command
14374 \end_layout
14375
14376 \begin_layout Standard
14377
14378 \series bold
14379
14380 \backslash
14381 raisebox{0.85
14382 \backslash
14383 baselineskip}{
14384 \end_layout
14385
14386 \begin_layout Standard
14387 before the box.
14388  Behind the box the closing brace 
14389 \series bold
14390 }
14391 \series default
14392  is inserted as TeX-Code.
14393  For the second table in the last item the command
14394 \end_layout
14395
14396 \begin_layout Standard
14397
14398 \series bold
14399
14400 \backslash
14401 raisebox{-0.32
14402 \backslash
14403 baselineskip}{
14404 \end_layout
14405
14406 \begin_layout Standard
14407 is used.
14408 \end_layout
14409
14410 \begin_layout Standard
14411 \begin_inset Note Greyedout
14412 status open
14413
14414 \begin_layout Plain Layout
14415
14416 \series bold
14417 Note:
14418 \series default
14419  The alignment of the table row content to the surrounding text line is
14420  not exact.
14421  The needed factor of the 
14422 \series bold
14423
14424 \backslash
14425 raisebox
14426 \series default
14427  command for this alignment depends on the document font, the font size,
14428  and the table line thickness.
14429 \end_layout
14430
14431 \end_inset
14432
14433
14434 \end_layout
14435
14436 \begin_layout Section
14437 Colored Tables
14438 \begin_inset CommandInset label
14439 LatexCommand label
14440 name "sec:Colored-Tables"
14441
14442 \end_inset
14443
14444
14445 \begin_inset Index
14446 status collapsed
14447
14448 \begin_layout Plain Layout
14449 Table ! Color
14450 \end_layout
14451
14452 \end_inset
14453
14454
14455 \end_layout
14456
14457 \begin_layout Subsection
14458 Colored Cells
14459 \begin_inset Index
14460 status collapsed
14461
14462 \begin_layout Plain Layout
14463 Table Color ! for Cells
14464 \end_layout
14465
14466 \end_inset
14467
14468
14469 \begin_inset Index
14470 status collapsed
14471
14472 \begin_layout Plain Layout
14473 Color ! for Table Cells
14474 \end_layout
14475
14476 \end_inset
14477
14478
14479 \end_layout
14480
14481 \begin_layout Standard
14482 \begin_inset Float table
14483 placement h
14484 wide false
14485 sideways false
14486 status open
14487
14488 \begin_layout Plain Layout
14489 \begin_inset Caption
14490
14491 \begin_layout Plain Layout
14492 \begin_inset CommandInset label
14493 LatexCommand label
14494 name "tab:Table-colored-without"
14495
14496 \end_inset
14497
14498 Table colored without using the package 
14499 \series bold
14500 colortbl
14501 \series default
14502
14503 \begin_inset OptArg
14504 status collapsed
14505
14506 \begin_layout Plain Layout
14507 Table without colortbl
14508 \end_layout
14509
14510 \end_inset
14511
14512
14513 \end_layout
14514
14515 \end_inset
14516
14517
14518 \end_layout
14519
14520 \begin_layout Plain Layout
14521 \align center
14522 \begin_inset Tabular
14523 <lyxtabular version="3" rows="3" columns="3">
14524 <features>
14525 <column alignment="center" valignment="top" width="0">
14526 <column alignment="center" valignment="top" width="0">
14527 <column alignment="center" valignment="top" width="0">
14528 <row>
14529 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14530 \begin_inset Text
14531
14532 \begin_layout Plain Layout
14533
14534 \color green
14535 a
14536 \end_layout
14537
14538 \end_inset
14539 </cell>
14540 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14541 \begin_inset Text
14542
14543 \begin_layout Plain Layout
14544
14545 \color red
14546 b
14547 \end_layout
14548
14549 \end_inset
14550 </cell>
14551 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14552 \begin_inset Text
14553
14554 \begin_layout Plain Layout
14555
14556 \color red
14557 c
14558 \end_layout
14559
14560 \end_inset
14561 </cell>
14562 </row>
14563 <row>
14564 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14565 \begin_inset Text
14566
14567 \begin_layout Plain Layout
14568
14569 \color green
14570 d
14571 \end_layout
14572
14573 \end_inset
14574 </cell>
14575 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14576 \begin_inset Text
14577
14578 \begin_layout Plain Layout
14579
14580 \color blue
14581 e
14582 \end_layout
14583
14584 \end_inset
14585 </cell>
14586 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14587 \begin_inset Text
14588
14589 \begin_layout Plain Layout
14590
14591 \color blue
14592 f
14593 \end_layout
14594
14595 \end_inset
14596 </cell>
14597 </row>
14598 <row>
14599 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14600 \begin_inset Text
14601
14602 \begin_layout Plain Layout
14603
14604 \color green
14605 g
14606 \end_layout
14607
14608 \end_inset
14609 </cell>
14610 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14611 \begin_inset Text
14612
14613 \begin_layout Plain Layout
14614
14615 \color blue
14616 h
14617 \end_layout
14618
14619 \end_inset
14620 </cell>
14621 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14622 \begin_inset Text
14623
14624 \begin_layout Plain Layout
14625
14626 \color blue
14627 i
14628 \end_layout
14629
14630 \end_inset
14631 </cell>
14632 </row>
14633 </lyxtabular>
14634
14635 \end_inset
14636
14637
14638 \end_layout
14639
14640 \end_inset
14641
14642
14643 \end_layout
14644
14645 \begin_layout Standard
14646 If you only need colored text, mark the cells and choose a color in the
14647  menu 
14648 \family sans
14649 Edit\SpecialChar \menuseparator
14650 Text
14651 \begin_inset space ~
14652 \end_inset
14653
14654 Style
14655 \family default
14656 .
14657  This was used to create Table
14658 \begin_inset space ~
14659 \end_inset
14660
14661
14662 \begin_inset CommandInset ref
14663 LatexCommand ref
14664 reference "tab:Table-colored-without"
14665
14666 \end_inset
14667
14668 .
14669  In any other case you have to use the LaTeX-package 
14670 \series bold
14671 colortbl
14672 \series default
14673 .
14674 \begin_inset Index
14675 status collapsed
14676
14677 \begin_layout Plain Layout
14678 LaTeX-packages ! colortbl
14679 \end_layout
14680
14681 \end_inset
14682
14683
14684 \end_layout
14685
14686 \begin_layout Standard
14687 \begin_inset ERT
14688 status collapsed
14689
14690 \begin_layout Plain Layout
14691
14692
14693 \backslash
14694 ifcolortbl
14695 \end_layout
14696
14697 \end_inset
14698
14699
14700 \begin_inset Note Note
14701 status open
14702
14703 \begin_layout Plain Layout
14704 The following section part will only be displayed when the LaTeX-package
14705  
14706 \series bold
14707 colortbl
14708 \series default
14709  is installed.
14710 \end_layout
14711
14712 \end_inset
14713
14714
14715 \end_layout
14716
14717 \begin_layout Standard
14718 To create colored tables, 
14719 \series bold
14720 colortbl
14721 \series default
14722  must be loaded in the preamble with the line
14723 \end_layout
14724
14725 \begin_layout Standard
14726
14727 \series bold
14728
14729 \backslash
14730 usepackage{colortbl}
14731 \end_layout
14732
14733 \begin_layout Standard
14734 The color of a column is adjusted with the command
14735 \end_layout
14736
14737 \begin_layout Standard
14738
14739 \series bold
14740
14741 \backslash
14742 columncolor{name of color}
14743 \end_layout
14744
14745 \begin_layout Standard
14746 inside the command 
14747 \series bold
14748 >{ }
14749 \series default
14750 .
14751  More about the command 
14752 \series bold
14753 >{}
14754 \series default
14755  is described in section
14756 \begin_inset space ~
14757 \end_inset
14758
14759
14760 \begin_inset CommandInset ref
14761 LatexCommand ref
14762 reference "sub:Multicolumn-Calculations"
14763
14764 \end_inset
14765
14766 .
14767 \end_layout
14768
14769 \begin_layout Standard
14770 The following color names are predefined:
14771 \end_layout
14772
14773 \begin_layout Standard
14774
14775 \family sans
14776 red
14777 \family default
14778
14779 \family sans
14780 green
14781 \family default
14782
14783 \family sans
14784 yellow
14785 \family default
14786
14787 \family sans
14788 blue
14789 \family default
14790
14791 \family sans
14792 cyan
14793 \family default
14794
14795 \family sans
14796 magenta
14797 \family default
14798
14799 \family sans
14800 black
14801 \family default
14802  and 
14803 \family sans
14804 white
14805 \end_layout
14806
14807 \begin_layout Standard
14808 \begin_inset VSpace medskip
14809 \end_inset
14810
14811
14812 \end_layout
14813
14814 \begin_layout Standard
14815 You can also define your own color with the command
14816 \end_layout
14817
14818 \begin_layout Standard
14819
14820 \series bold
14821
14822 \backslash
14823 definecolor{color name}{color model}{color values}
14824 \end_layout
14825
14826 \begin_layout Standard
14827 The color model can be
14828 \end_layout
14829
14830 \begin_layout Labeling
14831 \labelwidthstring 00.00.0000
14832 cmyk: cyan, magenta, yellow, black
14833 \end_layout
14834
14835 \begin_layout Labeling
14836 \labelwidthstring 00.00.0000
14837 rgb: red, green blue
14838 \end_layout
14839
14840 \begin_layout Labeling
14841 \labelwidthstring 00.00.0000
14842 gray gray
14843 \end_layout
14844
14845 \begin_layout Standard
14846 and the color values are comma separated numbers between 0 and 1 describing
14847  the factor for the corresponding color of the color model.
14848 \end_layout
14849
14850 \begin_layout Standard
14851 You can e.
14852 \begin_inset space \thinspace{}
14853 \end_inset
14854
14855 g.
14856 \begin_inset space \space{}
14857 \end_inset
14858
14859 define the color "
14860 \emph on
14861 darkgreen
14862 \emph default
14863 " in the preamble with
14864 \end_layout
14865
14866 \begin_layout Standard
14867
14868 \series bold
14869
14870 \backslash
14871 definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
14872 \end_layout
14873
14874 \begin_layout Standard
14875 and the color "
14876 \emph on
14877 lightgray
14878 \emph default
14879 " with
14880 \end_layout
14881
14882 \begin_layout Standard
14883
14884 \series bold
14885
14886 \backslash
14887 definecolor{lightgray}{gray}{0.8}
14888 \end_layout
14889
14890 \begin_layout Standard
14891 \begin_inset VSpace medskip
14892 \end_inset
14893
14894
14895 \end_layout
14896
14897 \begin_layout Standard
14898 Lines are colored with the command
14899 \end_layout
14900
14901 \begin_layout Standard
14902
14903 \series bold
14904
14905 \backslash
14906 rowcolor{name of color}
14907 \end_layout
14908
14909 \begin_layout Standard
14910 and cells are colored with the command
14911 \end_layout
14912
14913 \begin_layout Standard
14914
14915 \series bold
14916
14917 \backslash
14918 cellcolor{name of color}
14919 \end_layout
14920
14921 \begin_layout Standard
14922 Both commands are inserted at the beginning of a cell as TeX-Code.
14923 \end_layout
14924
14925 \begin_layout Standard
14926 To color characters in the table, mark the cells and use the LyX menu 
14927 \family sans
14928 Edit\SpecialChar \menuseparator
14929 Text
14930 \begin_inset space ~
14931 \end_inset
14932
14933 Style
14934 \family default
14935 .
14936  If a cell contains TeX-Code mark only the characters, otherwise the colored
14937  TeX-Code will cause LaTeX-errors.
14938 \end_layout
14939
14940 \begin_layout Standard
14941 \begin_inset Note Greyedout
14942 status open
14943
14944 \begin_layout Plain Layout
14945
14946 \series bold
14947 Note:
14948 \series default
14949  Not all DVI-viewers are able to display self-defined colors.
14950 \end_layout
14951
14952 \end_inset
14953
14954
14955 \end_layout
14956
14957 \begin_layout Standard
14958 \begin_inset VSpace bigskip
14959 \end_inset
14960
14961
14962 \end_layout
14963
14964 \begin_layout Standard
14965 To create Table
14966 \begin_inset space ~
14967 \end_inset
14968
14969
14970 \begin_inset CommandInset ref
14971 LatexCommand ref
14972 reference "tab:Table-colored-using"
14973
14974 \end_inset
14975
14976  do the following: The color of the first column should be 
14977 \emph on
14978 darkgreen
14979 \emph default
14980 .
14981  So insert
14982 \end_layout
14983
14984 \begin_layout Standard
14985
14986 \series bold
14987 >{
14988 \backslash
14989 columncolor{darkgreen}
14990 \backslash
14991 centering}c
14992 \end_layout
14993
14994 \begin_layout Standard
14995 as LaTeX-argument for this column.
14996  The first row should be blue, therefore the TeX-Code command
14997 \end_layout
14998
14999 \begin_layout Standard
15000
15001 \series bold
15002
15003 \backslash
15004 rowcolow{cyan}
15005 \end_layout
15006
15007 \begin_layout Standard
15008 is inserted to the first cell of this row.
15009  Note that this overwrites the column color for the first cell.
15010  The last cell of the last row is colored magenta by inserting the TeX-Code
15011  command
15012 \end_layout
15013
15014 \begin_layout Standard
15015
15016 \series bold
15017
15018 \backslash
15019 cellcolor{magenta}
15020 \end_layout
15021
15022 \begin_layout Standard
15023 The characters could now be colored using the menu 
15024 \family sans
15025 Edit\SpecialChar \menuseparator
15026 Text
15027 \begin_inset space ~
15028 \end_inset
15029
15030 Style
15031 \family default
15032 .
15033 \end_layout
15034
15035 \begin_layout Standard
15036 \begin_inset Float table
15037 placement h
15038 wide false
15039 sideways false
15040 status open
15041
15042 \begin_layout Plain Layout
15043 \begin_inset Caption
15044
15045 \begin_layout Plain Layout
15046 \begin_inset CommandInset label
15047 LatexCommand label
15048 name "tab:Table-colored-using"
15049
15050 \end_inset
15051
15052 Table colored using the package 
15053 \series bold
15054 colortbl
15055 \series default
15056
15057 \begin_inset OptArg
15058 status collapsed
15059
15060 \begin_layout Plain Layout
15061 Table with colortbl
15062 \end_layout
15063
15064 \end_inset
15065
15066
15067 \end_layout
15068
15069 \end_inset
15070
15071
15072 \end_layout
15073
15074 \begin_layout Plain Layout
15075 \align center
15076 \begin_inset Tabular
15077 <lyxtabular version="3" rows="3" columns="3">
15078 <features>
15079 <column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
15080 <column alignment="center" valignment="top" width="0">
15081 <column alignment="center" valignment="top" width="0">
15082 <row>
15083 <cell alignment="center" valignment="top" usebox="none">
15084 \begin_inset Text
15085
15086 \begin_layout Plain Layout
15087 \begin_inset ERT
15088 status collapsed
15089
15090 \begin_layout Plain Layout
15091
15092
15093 \backslash
15094 rowcolor{cyan}
15095 \end_layout
15096
15097 \end_inset
15098
15099
15100 \color magenta
15101 a
15102 \end_layout
15103
15104 \end_inset
15105 </cell>
15106 <cell alignment="center" valignment="top" usebox="none">
15107 \begin_inset Text
15108
15109 \begin_layout Plain Layout
15110
15111 \color red
15112 b
15113 \end_layout
15114
15115 \end_inset
15116 </cell>
15117 <cell alignment="center" valignment="top" usebox="none">
15118 \begin_inset Text
15119
15120 \begin_layout Plain Layout
15121
15122 \color red
15123 c
15124 \end_layout
15125
15126 \end_inset
15127 </cell>
15128 </row>
15129 <row>
15130 <cell alignment="center" valignment="top" usebox="none">
15131 \begin_inset Text
15132
15133 \begin_layout Plain Layout
15134
15135 \color yellow
15136 d
15137 \end_layout
15138
15139 \end_inset
15140 </cell>
15141 <cell alignment="center" valignment="top" usebox="none">
15142 \begin_inset Text
15143
15144 \begin_layout Plain Layout
15145
15146 \color blue
15147 e
15148 \end_layout
15149
15150 \end_inset
15151 </cell>
15152 <cell alignment="center" valignment="top" usebox="none">
15153 \begin_inset Text
15154
15155 \begin_layout Plain Layout
15156
15157 \color blue
15158 f
15159 \end_layout
15160
15161 \end_inset
15162 </cell>
15163 </row>
15164 <row>
15165 <cell alignment="center" valignment="top" usebox="none">
15166 \begin_inset Text
15167
15168 \begin_layout Plain Layout
15169
15170 \color yellow
15171 g
15172 \end_layout
15173
15174 \end_inset
15175 </cell>
15176 <cell alignment="center" valignment="top" usebox="none">
15177 \begin_inset Text
15178
15179 \begin_layout Plain Layout
15180
15181 \color blue
15182 h
15183 \end_layout
15184
15185 \end_inset
15186 </cell>
15187 <cell alignment="center" valignment="top" usebox="none">
15188 \begin_inset Text
15189
15190 \begin_layout Plain Layout
15191 \begin_inset ERT
15192 status collapsed
15193
15194 \begin_layout Plain Layout
15195
15196
15197 \backslash
15198 cellcolor{magenta}
15199 \end_layout
15200
15201 \end_inset
15202
15203
15204 \color green
15205 i
15206 \end_layout
15207
15208 \end_inset
15209 </cell>
15210 </row>
15211 </lyxtabular>
15212
15213 \end_inset
15214
15215
15216 \end_layout
15217
15218 \end_inset
15219
15220
15221 \end_layout
15222
15223 \begin_layout Standard
15224 \begin_inset ERT
15225 status collapsed
15226
15227 \begin_layout Plain Layout
15228
15229
15230 \backslash
15231 else
15232 \end_layout
15233
15234 \end_inset
15235
15236
15237 \begin_inset Note Note
15238 status open
15239
15240 \begin_layout Plain Layout
15241 The following will be displayed when the LaTeX-package 
15242 \series bold
15243 colortbl
15244 \series default
15245  is not installed:
15246 \end_layout
15247
15248 \end_inset
15249
15250
15251 \end_layout
15252
15253 \begin_layout Standard
15254 You need to install the package 
15255 \series bold
15256 colortbl
15257 \series default
15258  to see the content of this section in the output.
15259 \end_layout
15260
15261 \begin_layout Standard
15262 \begin_inset ERT
15263 status collapsed
15264
15265 \begin_layout Plain Layout
15266
15267
15268 \backslash
15269 fi
15270 \end_layout
15271
15272 \end_inset
15273
15274
15275 \end_layout
15276
15277 \begin_layout Subsection
15278 Colored Lines
15279 \begin_inset Index
15280 status collapsed
15281
15282 \begin_layout Plain Layout
15283 Table Color ! for Lines
15284 \end_layout
15285
15286 \end_inset
15287
15288
15289 \begin_inset Index
15290 status collapsed
15291
15292 \begin_layout Plain Layout
15293 Color ! for Table Lines
15294 \end_layout
15295
15296 \end_inset
15297
15298
15299 \end_layout
15300
15301 \begin_layout Standard
15302 As described in section
15303 \begin_inset space ~
15304 \end_inset
15305
15306
15307 \begin_inset CommandInset ref
15308 LatexCommand ref
15309 reference "sub:Line-Thickness"
15310
15311 \end_inset
15312
15313 , the line thickness for all lines in a table can be adjusted with the length
15314  
15315 \series bold
15316
15317 \backslash
15318 arrayrulewidth
15319 \series default
15320 .
15321  It is set to 1.5
15322 \begin_inset space \thinspace{}
15323 \end_inset
15324
15325 pt for all tables of this section.
15326 \begin_inset ERT
15327 status collapsed
15328
15329 \begin_layout Plain Layout
15330
15331
15332 \backslash
15333 setlength{
15334 \backslash
15335 arrayrulewidth}{1.5pt}
15336 \end_layout
15337
15338 \end_inset
15339
15340
15341 \end_layout
15342
15343 \begin_layout Standard
15344 To color vertical lines for example with green, create the following column
15345  format in the document preamble, according to the description in section
15346 \begin_inset space ~
15347 \end_inset
15348
15349
15350 \begin_inset CommandInset ref
15351 LatexCommand ref
15352 reference "sub:Customized-Format"
15353
15354 \end_inset
15355
15356 :
15357 \end_layout
15358
15359 \begin_layout Standard
15360
15361 \series bold
15362
15363 \backslash
15364 newcolumntype{W}{!{
15365 \backslash
15366 color{green}
15367 \backslash
15368 vline}}
15369 \end_layout
15370
15371 \begin_layout Standard
15372 For Table
15373 \begin_inset space ~
15374 \end_inset
15375
15376
15377 \begin_inset CommandInset ref
15378 LatexCommand ref
15379 reference "tab:Table-with-vertical-colored"
15380
15381 \end_inset
15382
15383  the LaTeX-argument
15384 \series bold
15385  WcW
15386 \series default
15387  was used for the last column and
15388 \series bold
15389  Wc
15390 \series default
15391  for the other columns.
15392 \end_layout
15393
15394 \begin_layout Standard
15395 If you want to have several colors, define more column formats.
15396 \end_layout
15397
15398 \begin_layout Standard
15399 \begin_inset Float table
15400 placement h
15401 wide false
15402 sideways false
15403 status open
15404
15405 \begin_layout Plain Layout
15406 \begin_inset Caption
15407
15408 \begin_layout Plain Layout
15409 \begin_inset CommandInset label
15410 LatexCommand label
15411 name "tab:Table-with-vertical-colored"
15412
15413 \end_inset
15414
15415 Table with colored vertical lines
15416 \end_layout
15417
15418 \end_inset
15419
15420
15421 \end_layout
15422
15423 \begin_layout Plain Layout
15424 \align center
15425 \begin_inset Tabular
15426 <lyxtabular version="3" rows="3" columns="3">
15427 <features>
15428 <column alignment="center" valignment="top" width="0" special="Wc">
15429 <column alignment="center" valignment="top" width="0" special="Wc">
15430 <column alignment="center" valignment="top" width="0" special="WcW">
15431 <row>
15432 <cell alignment="center" valignment="top" topline="true" usebox="none">
15433 \begin_inset Text
15434
15435 \begin_layout Plain Layout
15436 sd
15437 \end_layout
15438
15439 \end_inset
15440 </cell>
15441 <cell alignment="center" valignment="top" topline="true" usebox="none">
15442 \begin_inset Text
15443
15444 \begin_layout Plain Layout
15445
15446 \end_layout
15447
15448 \end_inset
15449 </cell>
15450 <cell alignment="center" valignment="top" topline="true" usebox="none">
15451 \begin_inset Text
15452
15453 \begin_layout Plain Layout
15454
15455 \end_layout
15456
15457 \end_inset
15458 </cell>
15459 </row>
15460 <row>
15461 <cell alignment="center" valignment="top" topline="true" usebox="none">
15462 \begin_inset Text
15463
15464 \begin_layout Plain Layout
15465
15466 \end_layout
15467
15468 \end_inset
15469 </cell>
15470 <cell alignment="center" valignment="top" topline="true" usebox="none">
15471 \begin_inset Text
15472
15473 \begin_layout Plain Layout
15474 sd
15475 \end_layout
15476
15477 \end_inset
15478 </cell>
15479 <cell alignment="center" valignment="top" topline="true" usebox="none">
15480 \begin_inset Text
15481
15482 \begin_layout Plain Layout
15483
15484 \end_layout
15485
15486 \end_inset
15487 </cell>
15488 </row>
15489 <row>
15490 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15491 \begin_inset Text
15492
15493 \begin_layout Plain Layout
15494
15495 \end_layout
15496
15497 \end_inset
15498 </cell>
15499 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15500 \begin_inset Text
15501
15502 \begin_layout Plain Layout
15503
15504 \end_layout
15505
15506 \end_inset
15507 </cell>
15508 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15509 \begin_inset Text
15510
15511 \begin_layout Plain Layout
15512 sd
15513 \end_layout
15514
15515 \end_inset
15516 </cell>
15517 </row>
15518 </lyxtabular>
15519
15520 \end_inset
15521
15522
15523 \end_layout
15524
15525 \end_inset
15526
15527
15528 \end_layout
15529
15530 \begin_layout Standard
15531 \begin_inset VSpace bigskip
15532 \end_inset
15533
15534 To color horizontal lines for example with red, like in Table
15535 \begin_inset space ~
15536 \end_inset
15537
15538
15539 \begin_inset CommandInset ref
15540 LatexCommand ref
15541 reference "tab:Table-with-horizontal-colored"
15542
15543 \end_inset
15544
15545 , insert these commands in TeX-Code before the table or table float:
15546 \end_layout
15547
15548 \begin_layout Standard
15549
15550 \series bold
15551
15552 \backslash
15553 let
15554 \backslash
15555 myHlineC
15556 \backslash
15557 hline
15558 \begin_inset Newline newline
15559 \end_inset
15560
15561
15562 \backslash
15563 renewcommand{
15564 \backslash
15565 hline}
15566 \begin_inset Newline newline
15567 \end_inset
15568
15569
15570 \begin_inset ERT
15571 status collapsed
15572
15573 \begin_layout Plain Layout
15574
15575
15576 \backslash
15577 hphantom{ }
15578 \end_layout
15579
15580 \end_inset
15581
15582 {
15583 \backslash
15584 arrayrulecolor{red}
15585 \backslash
15586 myHlineC
15587 \backslash
15588 arrayrulecolor{black}}
15589 \end_layout
15590
15591 \begin_layout Standard
15592 \begin_inset ERT
15593 status collapsed
15594
15595 \begin_layout Plain Layout
15596
15597
15598 \backslash
15599 let
15600 \backslash
15601 myHlineC
15602 \backslash
15603 hline
15604 \end_layout
15605
15606 \begin_layout Plain Layout
15607
15608
15609 \backslash
15610 renewcommand{
15611 \backslash
15612 hline}
15613 \end_layout
15614
15615 \begin_layout Plain Layout
15616
15617  {
15618 \backslash
15619 arrayrulecolor{red}
15620 \backslash
15621 myHlineC
15622 \backslash
15623 arrayrulecolor{black}}
15624 \end_layout
15625
15626 \end_inset
15627
15628
15629 \begin_inset Float table
15630 placement h
15631 wide false
15632 sideways false
15633 status open
15634
15635 \begin_layout Plain Layout
15636 \begin_inset Caption
15637
15638 \begin_layout Plain Layout
15639 \begin_inset CommandInset label
15640 LatexCommand label
15641 name "tab:Table-with-horizontal-colored"
15642
15643 \end_inset
15644
15645 Table with colored horizontal lines
15646 \end_layout
15647
15648 \end_inset
15649
15650
15651 \end_layout
15652
15653 \begin_layout Plain Layout
15654 \align center
15655 \begin_inset Tabular
15656 <lyxtabular version="3" rows="3" columns="3">
15657 <features>
15658 <column alignment="center" valignment="top" width="0">
15659 <column alignment="center" valignment="top" width="0">
15660 <column alignment="center" valignment="top" width="0">
15661 <row>
15662 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15663 \begin_inset Text
15664
15665 \begin_layout Plain Layout
15666 sd
15667 \end_layout
15668
15669 \end_inset
15670 </cell>
15671 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15672 \begin_inset Text
15673
15674 \begin_layout Plain Layout
15675
15676 \end_layout
15677
15678 \end_inset
15679 </cell>
15680 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15681 \begin_inset Text
15682
15683 \begin_layout Plain Layout
15684
15685 \end_layout
15686
15687 \end_inset
15688 </cell>
15689 </row>
15690 <row>
15691 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15692 \begin_inset Text
15693
15694 \begin_layout Plain Layout
15695
15696 \end_layout
15697
15698 \end_inset
15699 </cell>
15700 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15701 \begin_inset Text
15702
15703 \begin_layout Plain Layout
15704 sd
15705 \end_layout
15706
15707 \end_inset
15708 </cell>
15709 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15710 \begin_inset Text
15711
15712 \begin_layout Plain Layout
15713
15714 \end_layout
15715
15716 \end_inset
15717 </cell>
15718 </row>
15719 <row>
15720 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15721 \begin_inset Text
15722
15723 \begin_layout Plain Layout
15724
15725 \end_layout
15726
15727 \end_inset
15728 </cell>
15729 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15730 \begin_inset Text
15731
15732 \begin_layout Plain Layout
15733
15734 \end_layout
15735
15736 \end_inset
15737 </cell>
15738 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15739 \begin_inset Text
15740
15741 \begin_layout Plain Layout
15742 sd
15743 \end_layout
15744
15745 \end_inset
15746 </cell>
15747 </row>
15748 </lyxtabular>
15749
15750 \end_inset
15751
15752
15753 \end_layout
15754
15755 \end_inset
15756
15757
15758 \end_layout
15759
15760 \begin_layout Standard
15761 To return to the default line color black, insert this command in TeX-Code
15762  behind the table or table float:
15763 \end_layout
15764
15765 \begin_layout Standard
15766
15767 \series bold
15768
15769 \backslash
15770 renewcommand{
15771 \backslash
15772 hline}{
15773 \backslash
15774 myHlineC}
15775 \end_layout
15776
15777 \begin_layout Standard
15778 Table
15779 \begin_inset space ~
15780 \end_inset
15781
15782
15783 \begin_inset CommandInset ref
15784 LatexCommand ref
15785 reference "tab:Table-with-colored"
15786
15787 \end_inset
15788
15789  is an example with colored vertical and horizontal lines.
15790 \end_layout
15791
15792 \begin_layout Standard
15793 \begin_inset Float table
15794 placement h
15795 wide false
15796 sideways false
15797 status open
15798
15799 \begin_layout Plain Layout
15800 \begin_inset Caption
15801
15802 \begin_layout Plain Layout
15803 \begin_inset CommandInset label
15804 LatexCommand label
15805 name "tab:Table-with-colored"
15806
15807 \end_inset
15808
15809 Table with colored lines
15810 \end_layout
15811
15812 \end_inset
15813
15814
15815 \end_layout
15816
15817 \begin_layout Plain Layout
15818 \align center
15819 \begin_inset Tabular
15820 <lyxtabular version="3" rows="3" columns="3">
15821 <features>
15822 <column alignment="center" valignment="top" width="0" special="Wc">
15823 <column alignment="center" valignment="top" width="0" special="Wc">
15824 <column alignment="center" valignment="top" width="0" special="WcW">
15825 <row>
15826 <cell alignment="center" valignment="top" topline="true" usebox="none">
15827 \begin_inset Text
15828
15829 \begin_layout Plain Layout
15830 sd
15831 \end_layout
15832
15833 \end_inset
15834 </cell>
15835 <cell alignment="center" valignment="top" topline="true" usebox="none">
15836 \begin_inset Text
15837
15838 \begin_layout Plain Layout
15839
15840 \end_layout
15841
15842 \end_inset
15843 </cell>
15844 <cell alignment="center" valignment="top" topline="true" usebox="none">
15845 \begin_inset Text
15846
15847 \begin_layout Plain Layout
15848
15849 \end_layout
15850
15851 \end_inset
15852 </cell>
15853 </row>
15854 <row>
15855 <cell alignment="center" valignment="top" topline="true" usebox="none">
15856 \begin_inset Text
15857
15858 \begin_layout Plain Layout
15859
15860 \end_layout
15861
15862 \end_inset
15863 </cell>
15864 <cell alignment="center" valignment="top" topline="true" usebox="none">
15865 \begin_inset Text
15866
15867 \begin_layout Plain Layout
15868 sd
15869 \end_layout
15870
15871 \end_inset
15872 </cell>
15873 <cell alignment="center" valignment="top" topline="true" usebox="none">
15874 \begin_inset Text
15875
15876 \begin_layout Plain Layout
15877
15878 \end_layout
15879
15880 \end_inset
15881 </cell>
15882 </row>
15883 <row topspace="default">
15884 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15885 \begin_inset Text
15886
15887 \begin_layout Plain Layout
15888
15889 \end_layout
15890
15891 \end_inset
15892 </cell>
15893 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15894 \begin_inset Text
15895
15896 \begin_layout Plain Layout
15897
15898 \end_layout
15899
15900 \end_inset
15901 </cell>
15902 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15903 \begin_inset Text
15904
15905 \begin_layout Plain Layout
15906 sd
15907 \end_layout
15908
15909 \end_inset
15910 </cell>
15911 </row>
15912 </lyxtabular>
15913
15914 \end_inset
15915
15916
15917 \end_layout
15918
15919 \end_inset
15920
15921
15922 \end_layout
15923
15924 \begin_layout Standard
15925 \begin_inset ERT
15926 status collapsed
15927
15928 \begin_layout Plain Layout
15929
15930
15931 \backslash
15932 renewcommand{
15933 \backslash
15934 hline}{
15935 \backslash
15936 myHlineC}
15937 \end_layout
15938
15939 \end_inset
15940
15941
15942 \end_layout
15943
15944 \begin_layout Standard
15945 \begin_inset ERT
15946 status collapsed
15947
15948 \begin_layout Plain Layout
15949
15950
15951 \backslash
15952 setlength{
15953 \backslash
15954 arrayrulewidth}{0.4pt}
15955 \end_layout
15956
15957 \end_inset
15958
15959
15960 \end_layout
15961
15962 \begin_layout Section
15963 Table Customization
15964 \begin_inset Index
15965 status collapsed
15966
15967 \begin_layout Plain Layout
15968 Table Customization
15969 \end_layout
15970
15971 \end_inset
15972
15973
15974 \begin_inset Index
15975 status collapsed
15976
15977 \begin_layout Plain Layout
15978 Table ! Customization
15979 \end_layout
15980
15981 \end_inset
15982
15983
15984 \end_layout
15985
15986 \begin_layout Subsection
15987 Row Spacing
15988 \begin_inset CommandInset label
15989 LatexCommand label
15990 name "sub:Row-Spacing"
15991
15992 \end_inset
15993
15994
15995 \begin_inset Index
15996 status collapsed
15997
15998 \begin_layout Plain Layout
15999 Table Customization ! Row Spacing
16000 \end_layout
16001
16002 \end_inset
16003
16004
16005 \end_layout
16006
16007 \begin_layout Standard
16008 You can add vertical space to table rows in the 
16009 \family sans
16010 Borders
16011 \family default
16012  tab of the table dialog.
16013  You find there three possibilities:
16014 \end_layout
16015
16016 \begin_layout Description
16017 Top
16018 \begin_inset space ~
16019 \end_inset
16020
16021 of
16022 \begin_inset space ~
16023 \end_inset
16024
16025 row will add space above the characters of the table row.
16026  If the table is a formal table
16027 \begin_inset Foot
16028 status collapsed
16029
16030 \begin_layout Plain Layout
16031 Formal tables are explained in section
16032 \begin_inset space ~
16033 \end_inset
16034
16035
16036 \begin_inset CommandInset ref
16037 LatexCommand ref
16038 reference "sec:Formal-Tables"
16039
16040 \end_inset
16041
16042 .
16043 \end_layout
16044
16045 \end_inset
16046
16047  LyX will insert as default 0.5
16048 \begin_inset space \thinspace{}
16049 \end_inset
16050
16051 em space.
16052  For normal tables the inserted space will unfortunately destroy the vertical
16053  table lines as in the following table:
16054 \begin_inset VSpace medskip
16055 \end_inset
16056
16057
16058 \begin_inset Newline newline
16059 \end_inset
16060
16061
16062 \begin_inset space \hspace*{}
16063 \length 0pt
16064 \end_inset
16065
16066
16067 \begin_inset space \hfill{}
16068 \end_inset
16069
16070
16071 \begin_inset Tabular
16072 <lyxtabular version="3" rows="3" columns="1">
16073 <features>
16074 <column alignment="center" valignment="top" width="0">
16075 <row>
16076 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16077 \begin_inset Text
16078
16079 \begin_layout Plain Layout
16080 A
16081 \end_layout
16082
16083 \end_inset
16084 </cell>
16085 </row>
16086 <row topspace="3mm">
16087 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16088 \begin_inset Text
16089
16090 \begin_layout Plain Layout
16091 3
16092 \begin_inset space \thinspace{}
16093 \end_inset
16094
16095 mm space top of row
16096 \end_layout
16097
16098 \end_inset
16099 </cell>
16100 </row>
16101 <row>
16102 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16103 \begin_inset Text
16104
16105 \begin_layout Plain Layout
16106 C
16107 \end_layout
16108
16109 \end_inset
16110 </cell>
16111 </row>
16112 </lyxtabular>
16113
16114 \end_inset
16115
16116
16117 \begin_inset space \hfill{}
16118 \end_inset
16119
16120
16121 \begin_inset space \hspace*{}
16122 \length 0pt
16123 \end_inset
16124
16125
16126 \begin_inset VSpace medskip
16127 \end_inset
16128
16129
16130 \begin_inset Newline newline
16131 \end_inset
16132
16133 So inserting space to the top of row for normal tables is only useful when
16134  you don't have vertical lines.
16135 \end_layout
16136
16137 \begin_layout Description
16138 Bottom
16139 \begin_inset space ~
16140 \end_inset
16141
16142 of
16143 \begin_inset space ~
16144 \end_inset
16145
16146 row will add space below the characters of the table row.
16147  If the table is a formal table LyX will insert as default 0.5
16148 \begin_inset space \thinspace{}
16149 \end_inset
16150
16151 em space, for normal tables the default size is 2
16152 \begin_inset space \thinspace{}
16153 \end_inset
16154
16155 pt.
16156 \end_layout
16157
16158 \begin_layout Description
16159 Between
16160 \begin_inset space ~
16161 \end_inset
16162
16163 rows adds space between the current and the following row.
16164  If the table is a formal table LyX will insert as default 0.5
16165 \begin_inset space \thinspace{}
16166 \end_inset
16167
16168 em space.
16169  For normal tables the inserted space will unfortunately destroy the vertical
16170  table lines as in the following table:
16171 \begin_inset VSpace medskip
16172 \end_inset
16173
16174
16175 \begin_inset Newline newline
16176 \end_inset
16177
16178
16179 \begin_inset space \hspace*{}
16180 \length 0pt
16181 \end_inset
16182
16183
16184 \begin_inset space \hfill{}
16185 \end_inset
16186
16187
16188 \begin_inset Tabular
16189 <lyxtabular version="3" rows="3" columns="1">
16190 <features>
16191 <column alignment="center" valignment="top" width="0">
16192 <row>
16193 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16194 \begin_inset Text
16195
16196 \begin_layout Plain Layout
16197 A
16198 \end_layout
16199
16200 \end_inset
16201 </cell>
16202 </row>
16203 <row interlinespace="3mm">
16204 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16205 \begin_inset Text
16206
16207 \begin_layout Plain Layout
16208 \begin_inset Formula $\downarrow$
16209 \end_inset
16210
16211  3
16212 \begin_inset space \thinspace{}
16213 \end_inset
16214
16215 mm space between row 
16216 \begin_inset Formula $\downarrow$
16217 \end_inset
16218
16219
16220 \end_layout
16221
16222 \end_inset
16223 </cell>
16224 </row>
16225 <row>
16226 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16227 \begin_inset Text
16228
16229 \begin_layout Plain Layout
16230 \begin_inset Formula $\uparrow$
16231 \end_inset
16232
16233  3
16234 \begin_inset space \thinspace{}
16235 \end_inset
16236
16237 mm space between row 
16238 \begin_inset Formula $\uparrow$
16239 \end_inset
16240
16241
16242 \end_layout
16243
16244 \end_inset
16245 </cell>
16246 </row>
16247 </lyxtabular>
16248
16249 \end_inset
16250
16251
16252 \begin_inset space \hfill{}
16253 \end_inset
16254
16255
16256 \begin_inset space \hspace*{}
16257 \length 0pt
16258 \end_inset
16259
16260
16261 \begin_inset VSpace medskip
16262 \end_inset
16263
16264
16265 \begin_inset Newline newline
16266 \end_inset
16267
16268 So inserting space between rows for normal tables is only useful when you
16269  don't have vertical lines.
16270 \end_layout
16271
16272 \begin_layout Standard
16273 \begin_inset VSpace bigskip
16274 \end_inset
16275
16276 When you want to add extra height to all cells of all tables, you can do
16277  this with the following preamble lines:
16278 \end_layout
16279
16280 \begin_layout Standard
16281
16282 \series bold
16283
16284 \backslash
16285 @ifundefined{extrarowheight}
16286 \begin_inset Newline newline
16287 \end_inset
16288
16289
16290 \begin_inset ERT
16291 status collapsed
16292
16293 \begin_layout Plain Layout
16294
16295
16296 \backslash
16297 hphantom{ }
16298 \end_layout
16299
16300 \end_inset
16301
16302 {
16303 \backslash
16304 usepackage{array}}{}
16305 \begin_inset Newline newline
16306 \end_inset
16307
16308
16309 \backslash
16310 setlength{
16311 \backslash
16312 extrarowheight}{height}
16313 \end_layout
16314
16315 \begin_layout Standard
16316 But this has the disadvantage that the cell texts are no longer exactly
16317  vertically centered.
16318  (The package 
16319 \series bold
16320 array
16321 \series default
16322  will be loaded automatically by LyX when you use self defined table formats.
16323  To avoid that it is loaded twice the command 
16324 \series bold
16325
16326 \backslash
16327 @ifundefined
16328 \series default
16329  is used in the above command.)
16330 \end_layout
16331
16332 \begin_layout Standard
16333 In case you are using font sizes larger than the normal size, the table
16334  borders are often too close to the letters.
16335  This can be corrected by inserting the command 
16336 \series bold
16337
16338 \backslash
16339 strut
16340 \series default
16341  in TeX code at the beginning of a table row.
16342  Table
16343 \begin_inset space ~
16344 \end_inset
16345
16346
16347 \begin_inset CommandInset ref
16348 LatexCommand ref
16349 reference "tab:Vertical-alignment-of"
16350
16351 \end_inset
16352
16353  visualizes the effect.
16354 \end_layout
16355
16356 \begin_layout Standard
16357 \noindent
16358 \begin_inset Float table
16359 placement h
16360 wide false
16361 sideways false
16362 status open
16363
16364 \begin_layout Plain Layout
16365 \begin_inset Caption
16366
16367 \begin_layout Plain Layout
16368 \begin_inset CommandInset label
16369 LatexCommand label
16370 name "tab:Vertical-alignment-of"
16371
16372 \end_inset
16373
16374 Vertical alignment of text with large font sizes.
16375 \end_layout
16376
16377 \end_inset
16378
16379
16380 \end_layout
16381
16382 \begin_layout Plain Layout
16383 \begin_inset space \hfill{}
16384 \end_inset
16385
16386
16387 \begin_inset Float table
16388 wide false
16389 sideways false
16390 status collapsed
16391
16392 \begin_layout Plain Layout
16393 \begin_inset Caption
16394
16395 \begin_layout Plain Layout
16396 Normal table.
16397 \end_layout
16398
16399 \end_inset
16400
16401
16402 \end_layout
16403
16404 \begin_layout Plain Layout
16405 \noindent
16406 \align center
16407 \begin_inset Tabular
16408 <lyxtabular version="3" rows="6" columns="1">
16409 <features>
16410 <column alignment="left" valignment="top" width="0">
16411 <row>
16412 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16413 \begin_inset Text
16414
16415 \begin_layout Plain Layout
16416 Normal, g
16417 \end_layout
16418
16419 \end_inset
16420 </cell>
16421 </row>
16422 <row>
16423 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16424 \begin_inset Text
16425
16426 \begin_layout Plain Layout
16427
16428 \size large
16429 Large
16430 \end_layout
16431
16432 \end_inset
16433 </cell>
16434 </row>
16435 <row>
16436 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16437 \begin_inset Text
16438
16439 \begin_layout Plain Layout
16440
16441 \size larger
16442 Larger
16443 \end_layout
16444
16445 \end_inset
16446 </cell>
16447 </row>
16448 <row>
16449 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16450 \begin_inset Text
16451
16452 \begin_layout Plain Layout
16453
16454 \size largest
16455 Largest
16456 \end_layout
16457
16458 \end_inset
16459 </cell>
16460 </row>
16461 <row>
16462 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16463 \begin_inset Text
16464
16465 \begin_layout Plain Layout
16466
16467 \size huge
16468 Huge
16469 \end_layout
16470
16471 \end_inset
16472 </cell>
16473 </row>
16474 <row>
16475 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16476 \begin_inset Text
16477
16478 \begin_layout Plain Layout
16479
16480 \size huge
16481 Huger
16482 \end_layout
16483
16484 \end_inset
16485 </cell>
16486 </row>
16487 </lyxtabular>
16488
16489 \end_inset
16490
16491
16492 \end_layout
16493
16494 \end_inset
16495
16496
16497 \begin_inset space \hfill{}
16498 \end_inset
16499
16500
16501 \begin_inset Float table
16502 wide false
16503 sideways false
16504 status collapsed
16505
16506 \begin_layout Plain Layout
16507 \begin_inset Caption
16508
16509 \begin_layout Plain Layout
16510 Table using the command 
16511 \series bold
16512
16513 \backslash
16514 strut
16515 \series default
16516 .
16517 \end_layout
16518
16519 \end_inset
16520
16521
16522 \end_layout
16523
16524 \begin_layout Plain Layout
16525 \noindent
16526 \align center
16527 \begin_inset Tabular
16528 <lyxtabular version="3" rows="6" columns="1">
16529 <features>
16530 <column alignment="left" valignment="top" width="0">
16531 <row>
16532 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16533 \begin_inset Text
16534
16535 \begin_layout Plain Layout
16536 Normal, g
16537 \end_layout
16538
16539 \end_inset
16540 </cell>
16541 </row>
16542 <row>
16543 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16544 \begin_inset Text
16545
16546 \begin_layout Plain Layout
16547
16548 \size large
16549 \begin_inset ERT
16550 status collapsed
16551
16552 \begin_layout Plain Layout
16553
16554
16555 \backslash
16556 strut 
16557 \end_layout
16558
16559 \end_inset
16560
16561 Large
16562 \end_layout
16563
16564 \end_inset
16565 </cell>
16566 </row>
16567 <row>
16568 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16569 \begin_inset Text
16570
16571 \begin_layout Plain Layout
16572
16573 \size larger
16574 \begin_inset ERT
16575 status collapsed
16576
16577 \begin_layout Plain Layout
16578
16579
16580 \backslash
16581 strut 
16582 \end_layout
16583
16584 \end_inset
16585
16586 Larger
16587 \end_layout
16588
16589 \end_inset
16590 </cell>
16591 </row>
16592 <row>
16593 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16594 \begin_inset Text
16595
16596 \begin_layout Plain Layout
16597
16598 \size largest
16599 \begin_inset ERT
16600 status collapsed
16601
16602 \begin_layout Plain Layout
16603
16604
16605 \backslash
16606 strut 
16607 \end_layout
16608
16609 \end_inset
16610
16611 Largest
16612 \end_layout
16613
16614 \end_inset
16615 </cell>
16616 </row>
16617 <row>
16618 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16619 \begin_inset Text
16620
16621 \begin_layout Plain Layout
16622
16623 \size huge
16624 \begin_inset ERT
16625 status collapsed
16626
16627 \begin_layout Plain Layout
16628
16629
16630 \backslash
16631 strut 
16632 \end_layout
16633
16634 \end_inset
16635
16636 Huge
16637 \end_layout
16638
16639 \end_inset
16640 </cell>
16641 </row>
16642 <row>
16643 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16644 \begin_inset Text
16645
16646 \begin_layout Plain Layout
16647
16648 \size giant
16649 \begin_inset ERT
16650 status collapsed
16651
16652 \begin_layout Plain Layout
16653
16654
16655 \backslash
16656 strut 
16657 \end_layout
16658
16659 \end_inset
16660
16661
16662 \size huge
16663 Huger
16664 \end_layout
16665
16666 \end_inset
16667 </cell>
16668 </row>
16669 </lyxtabular>
16670
16671 \end_inset
16672
16673
16674 \end_layout
16675
16676 \end_inset
16677
16678
16679 \begin_inset space \hfill{}
16680 \end_inset
16681
16682
16683 \end_layout
16684
16685 \end_inset
16686
16687
16688 \end_layout
16689
16690 \begin_layout Subsection
16691 Special Cell Alignment
16692 \begin_inset Index
16693 status collapsed
16694
16695 \begin_layout Plain Layout
16696 Table Customization ! Special Cell Alignment
16697 \end_layout
16698
16699 \end_inset
16700
16701
16702 \end_layout
16703
16704 \begin_layout Standard
16705 Sometimes it looks better when the cell entries of a column are aligned
16706  with a special character, e.
16707 \begin_inset space \thinspace{}
16708 \end_inset
16709
16710 g.
16711 \begin_inset space \space{}
16712 \end_inset
16713
16714 with the decimal separator as in Table
16715 \begin_inset space ~
16716 \end_inset
16717
16718
16719 \begin_inset CommandInset ref
16720 LatexCommand ref
16721 reference "tab:Table-cells-of"
16722
16723 \end_inset
16724
16725 .
16726 \end_layout
16727
16728 \begin_layout Standard
16729 \begin_inset Float table
16730 placement h
16731 wide false
16732 sideways false
16733 status open
16734
16735 \begin_layout Plain Layout
16736 \begin_inset Caption
16737
16738 \begin_layout Plain Layout
16739 \begin_inset CommandInset label
16740 LatexCommand label
16741 name "tab:Table-cells-of"
16742
16743 \end_inset
16744
16745 Table cells of a column aligned with the decimal separator.
16746 \end_layout
16747
16748 \end_inset
16749
16750
16751 \end_layout
16752
16753 \begin_layout Plain Layout
16754 \align center
16755 \begin_inset Tabular
16756 <lyxtabular version="3" rows="4" columns="2">
16757 <features>
16758 <column alignment="right" valignment="top" width="0">
16759 <column alignment="left" valignment="top" width="0" special="@{}l">
16760 <row>
16761 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
16762 \begin_inset Text
16763
16764 \begin_layout Plain Layout
16765 heading
16766 \end_layout
16767
16768 \end_inset
16769 </cell>
16770 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16771 \begin_inset Text
16772
16773 \begin_layout Plain Layout
16774
16775 \end_layout
16776
16777 \end_inset
16778 </cell>
16779 </row>
16780 <row>
16781 <cell alignment="center" valignment="top" usebox="none">
16782 \begin_inset Text
16783
16784 \begin_layout Plain Layout
16785 12.
16786 \end_layout
16787
16788 \end_inset
16789 </cell>
16790 <cell alignment="center" valignment="top" usebox="none">
16791 \begin_inset Text
16792
16793 \begin_layout Plain Layout
16794 6
16795 \end_layout
16796
16797 \end_inset
16798 </cell>
16799 </row>
16800 <row>
16801 <cell alignment="center" valignment="top" usebox="none">
16802 \begin_inset Text
16803
16804 \begin_layout Plain Layout
16805 0.
16806 \end_layout
16807
16808 \end_inset
16809 </cell>
16810 <cell alignment="center" valignment="top" usebox="none">
16811 \begin_inset Text
16812
16813 \begin_layout Plain Layout
16814 68
16815 \end_layout
16816
16817 \end_inset
16818 </cell>
16819 </row>
16820 <row>
16821 <cell alignment="center" valignment="top" usebox="none">
16822 \begin_inset Text
16823
16824 \begin_layout Plain Layout
16825 -123.
16826 \end_layout
16827
16828 \end_inset
16829 </cell>
16830 <cell alignment="center" valignment="top" usebox="none">
16831 \begin_inset Text
16832
16833 \begin_layout Plain Layout
16834 0
16835 \end_layout
16836
16837 \end_inset
16838 </cell>
16839 </row>
16840 </lyxtabular>
16841
16842 \end_inset
16843
16844
16845 \end_layout
16846
16847 \end_inset
16848
16849
16850 \end_layout
16851
16852 \begin_layout Standard
16853 This table was created with a 4×2 table.
16854  The heading is a centered multicolumn.
16855  The first column is right-aligned and contains the digits before the decimal
16856  point and the decimal point.
16857  The second column is left aligned and contains the digits after the decimal
16858  point.
16859  To omit the space that is normally between two table columns, use the following
16860  LaTeX-argument for the second column:
16861 \end_layout
16862
16863 \begin_layout Standard
16864
16865 \series bold
16866 @{}l
16867 \end_layout
16868
16869 \begin_layout Standard
16870 Table
16871 \begin_inset space ~
16872 \end_inset
16873
16874
16875 \begin_inset CommandInset ref
16876 LatexCommand ref
16877 reference "tab:Several-table-cell"
16878
16879 \end_inset
16880
16881  shows some example alignments.
16882  For the alignment with the relation sign, you must add the second smallest
16883  math-space at the beginning of the last column to get the correct space
16884  surrounding the relation sign.
16885 \end_layout
16886
16887 \begin_layout Standard
16888 \begin_inset Float table
16889 wide false
16890 sideways false
16891 status open
16892
16893 \begin_layout Plain Layout
16894 \begin_inset Caption
16895
16896 \begin_layout Plain Layout
16897 \begin_inset CommandInset label
16898 LatexCommand label
16899 name "tab:Several-table-cell"
16900
16901 \end_inset
16902
16903 Several table cell alignments.
16904 \end_layout
16905
16906 \end_inset
16907
16908
16909 \end_layout
16910
16911 \begin_layout Plain Layout
16912 \align center
16913 \begin_inset Tabular
16914 <lyxtabular version="3" rows="4" columns="6">
16915 <features>
16916 <column alignment="right" valignment="top" width="0">
16917 <column alignment="left" valignment="top" width="0" special="@{}l">
16918 <column alignment="right" valignment="top" width="0">
16919 <column alignment="left" valignment="top" width="0" special="@{}l">
16920 <column alignment="right" valignment="top" width="0">
16921 <column alignment="left" valignment="top" width="0" special="@{}l">
16922 <row>
16923 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16924 \begin_inset Text
16925
16926 \begin_layout Plain Layout
16927 units
16928 \end_layout
16929
16930 \end_inset
16931 </cell>
16932 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16933 \begin_inset Text
16934
16935 \begin_layout Plain Layout
16936
16937 \end_layout
16938
16939 \end_inset
16940 </cell>
16941 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16942 \begin_inset Text
16943
16944 \begin_layout Plain Layout
16945 exponents
16946 \end_layout
16947
16948 \end_inset
16949 </cell>
16950 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16951 \begin_inset Text
16952
16953 \begin_layout Plain Layout
16954
16955 \end_layout
16956
16957 \end_inset
16958 </cell>
16959 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
16960 \begin_inset Text
16961
16962 \begin_layout Plain Layout
16963 relations
16964 \end_layout
16965
16966 \end_inset
16967 </cell>
16968 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16969 \begin_inset Text
16970
16971 \begin_layout Plain Layout
16972
16973 \end_layout
16974
16975 \end_inset
16976 </cell>
16977 </row>
16978 <row>
16979 <cell alignment="center" valignment="top" usebox="none">
16980 \begin_inset Text
16981
16982 \begin_layout Plain Layout
16983 12×
16984 \end_layout
16985
16986 \end_inset
16987 </cell>
16988 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16989 \begin_inset Text
16990
16991 \begin_layout Plain Layout
16992 24
16993 \begin_inset space \thinspace{}
16994 \end_inset
16995
16996 bottles
16997 \end_layout
16998
16999 \end_inset
17000 </cell>
17001 <cell alignment="center" valignment="top" usebox="none">
17002 \begin_inset Text
17003
17004 \begin_layout Plain Layout
17005 \begin_inset Formula $10\cdot$
17006 \end_inset
17007
17008
17009 \end_layout
17010
17011 \end_inset
17012 </cell>
17013 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17014 \begin_inset Text
17015
17016 \begin_layout Plain Layout
17017 \begin_inset Formula $10^{\mbox{-}17}$
17018 \end_inset
17019
17020
17021 \end_layout
17022
17023 \end_inset
17024 </cell>
17025 <cell alignment="center" valignment="top" usebox="none">
17026 \begin_inset Text
17027
17028 \begin_layout Plain Layout
17029 \begin_inset Formula $\Gamma(t)\propto$
17030 \end_inset
17031
17032
17033 \end_layout
17034
17035 \end_inset
17036 </cell>
17037 <cell alignment="center" valignment="top" usebox="none">
17038 \begin_inset Text
17039
17040 \begin_layout Plain Layout
17041 \begin_inset Formula $\:\Upsilon(t)$
17042 \end_inset
17043
17044
17045 \end_layout
17046
17047 \end_inset
17048 </cell>
17049 </row>
17050 <row>
17051 <cell alignment="center" valignment="top" usebox="none">
17052 \begin_inset Text
17053
17054 \begin_layout Plain Layout
17055 1024×
17056 \end_layout
17057
17058 \end_inset
17059 </cell>
17060 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17061 \begin_inset Text
17062
17063 \begin_layout Plain Layout
17064 768
17065 \begin_inset space \thinspace{}
17066 \end_inset
17067
17068 Pixels
17069 \end_layout
17070
17071 \end_inset
17072 </cell>
17073 <cell alignment="center" valignment="top" usebox="none">
17074 \begin_inset Text
17075
17076 \begin_layout Plain Layout
17077 \begin_inset Formula $5.78\cdot$
17078 \end_inset
17079
17080
17081 \end_layout
17082
17083 \end_inset
17084 </cell>
17085 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17086 \begin_inset Text
17087
17088 \begin_layout Plain Layout
17089 \begin_inset Formula $10^{7}$
17090 \end_inset
17091
17092
17093 \end_layout
17094
17095 \end_inset
17096 </cell>
17097 <cell alignment="center" valignment="top" usebox="none">
17098 \begin_inset Text
17099
17100 \begin_layout Plain Layout
17101 \begin_inset Formula $A\ne$
17102 \end_inset
17103
17104
17105 \end_layout
17106
17107 \end_inset
17108 </cell>
17109 <cell alignment="center" valignment="top" usebox="none">
17110 \begin_inset Text
17111
17112 \begin_layout Plain Layout
17113 \begin_inset Formula $\: B_{\mathrm{red}}$
17114 \end_inset
17115
17116
17117 \end_layout
17118
17119 \end_inset
17120 </cell>
17121 </row>
17122 <row>
17123 <cell alignment="center" valignment="top" usebox="none">
17124 \begin_inset Text
17125
17126 \begin_layout Plain Layout
17127 32×
17128 \end_layout
17129
17130 \end_inset
17131 </cell>
17132 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17133 \begin_inset Text
17134
17135 \begin_layout Plain Layout
17136 6
17137 \begin_inset space \thinspace{}
17138 \end_inset
17139
17140 cm
17141 \end_layout
17142
17143 \end_inset
17144 </cell>
17145 <cell alignment="center" valignment="top" usebox="none">
17146 \begin_inset Text
17147
17148 \begin_layout Plain Layout
17149 -
17150 \begin_inset Formula $33.5\cdot$
17151 \end_inset
17152
17153
17154 \end_layout
17155
17156 \end_inset
17157 </cell>
17158 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17159 \begin_inset Text
17160
17161 \begin_layout Plain Layout
17162 \begin_inset Formula $10^{4}$
17163 \end_inset
17164
17165
17166 \end_layout
17167
17168 \end_inset
17169 </cell>
17170 <cell alignment="center" valignment="top" usebox="none">
17171 \begin_inset Text
17172
17173 \begin_layout Plain Layout
17174 \begin_inset Formula $\sin(\alpha)\ge$
17175 \end_inset
17176
17177
17178 \end_layout
17179
17180 \end_inset
17181 </cell>
17182 <cell alignment="center" valignment="top" usebox="none">
17183 \begin_inset Text
17184
17185 \begin_layout Plain Layout
17186 \begin_inset Formula $\:\sin(\beta)$
17187 \end_inset
17188
17189
17190 \end_layout
17191
17192 \end_inset
17193 </cell>
17194 </row>
17195 </lyxtabular>
17196
17197 \end_inset
17198
17199
17200 \end_layout
17201
17202 \end_inset
17203
17204
17205 \end_layout
17206
17207 \begin_layout Standard
17208 \begin_inset VSpace bigskip
17209 \end_inset
17210
17211 There is also the LaTeX-package 
17212 \series bold
17213 dcolumn
17214 \series default
17215
17216 \begin_inset Index
17217 status collapsed
17218
17219 \begin_layout Plain Layout
17220 LaTeX-packages ! dcolumn
17221 \end_layout
17222
17223 \end_inset
17224
17225  that provides table cell alignments.
17226  But this unfortunately treats the cell entries as math and doesn't allow
17227  formulas in table cells: The first column of Table
17228 \begin_inset space ~
17229 \end_inset
17230
17231
17232 \begin_inset CommandInset ref
17233 LatexCommand ref
17234 reference "tab:Several-table-cell"
17235
17236 \end_inset
17237
17238  will look with 
17239 \series bold
17240 dcolumn
17241 \series default
17242  like the first column in Table
17243 \begin_inset space ~
17244 \end_inset
17245
17246
17247 \begin_inset CommandInset ref
17248 LatexCommand ref
17249 reference "tab:Alignments-when"
17250
17251 \end_inset
17252
17253  and only with some tricks like the expected.
17254  The alignment of the second and third column of Table
17255 \begin_inset space ~
17256 \end_inset
17257
17258
17259 \begin_inset CommandInset ref
17260 LatexCommand ref
17261 reference "tab:Several-table-cell"
17262
17263 \end_inset
17264
17265  is not possible with 
17266 \series bold
17267 dcolumn
17268 \series default
17269 .
17270 \end_layout
17271
17272 \begin_layout Standard
17273 \begin_inset Float table
17274 placement h
17275 wide false
17276 sideways false
17277 status open
17278
17279 \begin_layout Plain Layout
17280 \begin_inset Caption
17281
17282 \begin_layout Plain Layout
17283 \begin_inset CommandInset label
17284 LatexCommand label
17285 name "tab:Alignments-when"
17286
17287 \end_inset
17288
17289 Alignments when LaTeX-package dcolumn is used.
17290  For all column alignments tricks have to be used to get the output.
17291 \end_layout
17292
17293 \end_inset
17294
17295
17296 \end_layout
17297
17298 \begin_layout Plain Layout
17299 \align center
17300 \begin_inset Tabular
17301 <lyxtabular version="3" rows="4" columns="3">
17302 <features>
17303 <column alignment="center" valignment="top" width="0" special="D{x}{\times}{-1}">
17304 <column alignment="center" valignment="top" width="0" special="D{x}{\times}{4.9}">
17305 <column alignment="center" valignment="top" width="0" special="D{~}{\,}{9.7}">
17306 <row>
17307 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
17308 \begin_inset Text
17309
17310 \begin_layout Plain Layout
17311 units
17312 \end_layout
17313
17314 \end_inset
17315 </cell>
17316 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
17317 \begin_inset Text
17318
17319 \begin_layout Plain Layout
17320 units
17321 \end_layout
17322
17323 \end_inset
17324 </cell>
17325 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
17326 \begin_inset Text
17327
17328 \begin_layout Plain Layout
17329 units
17330 \end_layout
17331
17332 \end_inset
17333 </cell>
17334 </row>
17335 <row>
17336 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17337 \begin_inset Text
17338
17339 \begin_layout Plain Layout
17340 12x24
17341 \begin_inset space \thinspace{}
17342 \end_inset
17343
17344 bottles
17345 \end_layout
17346
17347 \end_inset
17348 </cell>
17349 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17350 \begin_inset Text
17351
17352 \begin_layout Plain Layout
17353 12x24
17354 \begin_inset space \thinspace{}
17355 \end_inset
17356
17357
17358 \begin_inset Formula $\mbox{bottles}$
17359 \end_inset
17360
17361
17362 \end_layout
17363
17364 \end_inset
17365 </cell>
17366 <cell alignment="center" valignment="top" usebox="none">
17367 \begin_inset Text
17368
17369 \begin_layout Plain Layout
17370 12
17371 \begin_inset ERT
17372 status collapsed
17373
17374 \begin_layout Plain Layout
17375
17376
17377 \backslash
17378 times 
17379 \end_layout
17380
17381 \end_inset
17382
17383 24~
17384 \begin_inset Formula $\mbox{bottles}$
17385 \end_inset
17386
17387
17388 \end_layout
17389
17390 \end_inset
17391 </cell>
17392 </row>
17393 <row>
17394 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17395 \begin_inset Text
17396
17397 \begin_layout Plain Layout
17398 1024x768
17399 \begin_inset space \thinspace{}
17400 \end_inset
17401
17402 Pixels
17403 \end_layout
17404
17405 \end_inset
17406 </cell>
17407 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17408 \begin_inset Text
17409
17410 \begin_layout Plain Layout
17411 1024x768
17412 \begin_inset space \thinspace{}
17413 \end_inset
17414
17415
17416 \begin_inset Formula $\mbox{Pixels}$
17417 \end_inset
17418
17419
17420 \end_layout
17421
17422 \end_inset
17423 </cell>
17424 <cell alignment="center" valignment="top" usebox="none">
17425 \begin_inset Text
17426
17427 \begin_layout Plain Layout
17428 1024
17429 \begin_inset ERT
17430 status collapsed
17431
17432 \begin_layout Plain Layout
17433
17434
17435 \backslash
17436 times 
17437 \end_layout
17438
17439 \end_inset
17440
17441 768~
17442 \begin_inset Formula $\mbox{Pixels}$
17443 \end_inset
17444
17445
17446 \end_layout
17447
17448 \end_inset
17449 </cell>
17450 </row>
17451 <row>
17452 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17453 \begin_inset Text
17454
17455 \begin_layout Plain Layout
17456 32x6
17457 \begin_inset space \thinspace{}
17458 \end_inset
17459
17460 cm
17461 \end_layout
17462
17463 \end_inset
17464 </cell>
17465 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17466 \begin_inset Text
17467
17468 \begin_layout Plain Layout
17469 32x6
17470 \begin_inset space \thinspace{}
17471 \end_inset
17472
17473
17474 \begin_inset Formula $\mbox{cm}$
17475 \end_inset
17476
17477
17478 \end_layout
17479
17480 \end_inset
17481 </cell>
17482 <cell alignment="center" valignment="top" usebox="none">
17483 \begin_inset Text
17484
17485 \begin_layout Plain Layout
17486 32
17487 \begin_inset ERT
17488 status collapsed
17489
17490 \begin_layout Plain Layout
17491
17492
17493 \backslash
17494 times 
17495 \end_layout
17496
17497 \end_inset
17498
17499 6~
17500 \begin_inset Formula $\mbox{cm}$
17501 \end_inset
17502
17503
17504 \end_layout
17505
17506 \end_inset
17507 </cell>
17508 </row>
17509 </lyxtabular>
17510
17511 \end_inset
17512
17513
17514 \end_layout
17515
17516 \end_inset
17517
17518
17519 \end_layout
17520
17521 \begin_layout Subsection
17522 Customized Cell/Column Format
17523 \begin_inset CommandInset label
17524 LatexCommand label
17525 name "sub:Customized-Format"
17526
17527 \end_inset
17528
17529
17530 \begin_inset Index
17531 status collapsed
17532
17533 \begin_layout Plain Layout
17534 Table Customization ! Cell/Column Format
17535 \end_layout
17536
17537 \end_inset
17538
17539
17540 \end_layout
17541
17542 \begin_layout Standard
17543 Calculating the needed width for spanned columns like in section
17544 \begin_inset space ~
17545 \end_inset
17546
17547
17548 \begin_inset CommandInset ref
17549 LatexCommand ref
17550 reference "sub:Multicolumn-Calculations"
17551
17552 \end_inset
17553
17554  is very annoying if you have several tables with multicolumn cells.
17555  To make life easier, you can define a cell/column format in the preamble,
17556  so that it can be used in all tables of the document.
17557  The format is defined with the command
17558 \end_layout
17559
17560 \begin_layout Standard
17561
17562 \series bold
17563
17564 \backslash
17565 newcolumntype{name of format}[number of arguments]{commands}
17566 \end_layout
17567
17568 \begin_layout Standard
17569 The format name may only consist of one letter.
17570  The letters 
17571 \emph on
17572 b
17573 \emph default
17574
17575 \emph on
17576 c
17577 \emph default
17578
17579 \emph on
17580 l
17581 \emph default
17582
17583 \emph on
17584 m
17585 \emph default
17586
17587 \emph on
17588 p
17589 \emph default
17590  and 
17591 \emph on
17592 r
17593 \emph default
17594  are predefined and cannot be used.
17595  But all letters are allowed as capitals.
17596 \end_layout
17597
17598 \begin_layout Standard
17599 \begin_inset VSpace medskip
17600 \end_inset
17601
17602
17603 \end_layout
17604
17605 \begin_layout Standard
17606 For vertically and horizontally centered multicolumn cells with a fixed
17607  width you can define the cell format
17608 \end_layout
17609
17610 \begin_layout Standard
17611
17612 \series bold
17613
17614 \backslash
17615 newcolumntype{M}[1]{>{
17616 \backslash
17617 centering
17618 \backslash
17619 hspace{0pt}}m{#1}}
17620 \end_layout
17621
17622 \begin_layout Standard
17623 where 
17624 \series bold
17625
17626 \backslash
17627 hspace{0pt}
17628 \series default
17629  avoids the problem of hyphenating the first word, as described in section
17630 \begin_inset space ~
17631 \end_inset
17632
17633
17634 \begin_inset CommandInset ref
17635 LatexCommand ref
17636 reference "sub:Multiple-Lines-in"
17637
17638 \end_inset
17639
17640 .
17641  Now you can simply enter
17642 \end_layout
17643
17644 \begin_layout Standard
17645
17646 \series bold
17647 M{width}
17648 \end_layout
17649
17650 \begin_layout Standard
17651 as LaTeX-argument in the table dialog to create a multicolumn.
17652 \end_layout
17653
17654 \begin_layout Standard
17655 \begin_inset VSpace bigskip
17656 \end_inset
17657
17658
17659 \end_layout
17660
17661 \begin_layout Standard
17662 For cells spanned by a multicolumn cell, you can define the format
17663 \end_layout
17664
17665 \begin_layout Standard
17666
17667 \series bold
17668
17669 \backslash
17670 newcolumntype{S}[2]{>{
17671 \backslash
17672 centering
17673 \backslash
17674 hspace{0pt}}
17675 \begin_inset Newline newline
17676 \end_inset
17677
17678
17679 \begin_inset ERT
17680 status collapsed
17681
17682 \begin_layout Plain Layout
17683
17684
17685 \backslash
17686 phantom{
17687 \end_layout
17688
17689 \end_inset
17690
17691
17692 \backslash
17693 newcolumntype
17694 \begin_inset ERT
17695 status collapsed
17696
17697 \begin_layout Plain Layout
17698
17699 }
17700 \end_layout
17701
17702 \end_inset
17703
17704 m{(#1+(2
17705 \backslash
17706 tabcolsep+
17707 \backslash
17708 arrayrulewidth)*(1-#2))/#2}}
17709 \end_layout
17710
17711 \begin_layout Standard
17712 This format uses equation 
17713 \begin_inset CommandInset ref
17714 LatexCommand eqref
17715 reference "eq:Wgn"
17716
17717 \end_inset
17718
17719  to calculate the needed width so that each spanned cell has the same width.
17720 \end_layout
17721
17722 \begin_layout Standard
17723 You can now enter
17724 \end_layout
17725
17726 \begin_layout Standard
17727
17728 \series bold
17729 S{width of multicolumn cell}{number of spanned columns}
17730 \end_layout
17731
17732 \begin_layout Standard
17733 as LaTeX-argument of the column.
17734 \end_layout
17735
17736 \begin_layout Standard
17737 \begin_inset VSpace bigskip
17738 \end_inset
17739
17740
17741 \end_layout
17742
17743 \begin_layout Standard
17744 For colored columns, you can define
17745 \end_layout
17746
17747 \begin_layout Standard
17748
17749 \series bold
17750
17751 \backslash
17752 newcolumntype{K}[1]{>{
17753 \backslash
17754 columncolor{#1}
17755 \backslash
17756 hspace{0pt}}c}
17757 \end_layout
17758
17759 \begin_layout Standard
17760 The 
17761 \begin_inset Quotes eld
17762 \end_inset
17763
17764 c
17765 \begin_inset Quotes erd
17766 \end_inset
17767
17768  at the end creates a column with a flexible width whose text is horizontally
17769  centered.
17770  You can now enter
17771 \end_layout
17772
17773 \begin_layout Standard
17774
17775 \series bold
17776 K{color name}
17777 \end_layout
17778
17779 \begin_layout Standard
17780 as LaTeX-argument.
17781 \end_layout
17782
17783 \begin_layout Standard
17784 \begin_inset VSpace bigskip
17785 \end_inset
17786
17787
17788 \end_layout
17789
17790 \begin_layout Standard
17791 To create Table
17792 \begin_inset space ~
17793 \end_inset
17794
17795
17796 \begin_inset CommandInset ref
17797 LatexCommand ref
17798 reference "tab:Table-using-user-defined"
17799
17800 \end_inset
17801
17802  use the LaTeX-arguments
17803 \end_layout
17804
17805 \begin_layout Standard
17806
17807 \series bold
17808 M{2.5cm}
17809 \end_layout
17810
17811 \begin_layout Standard
17812 for the first column and the multicolumn,
17813 \end_layout
17814
17815 \begin_layout Standard
17816
17817 \series bold
17818 K{red}
17819 \end_layout
17820
17821 \begin_layout Standard
17822 for the the last column, and
17823 \end_layout
17824
17825 \begin_layout Standard
17826
17827 \series bold
17828 S{2.5cm}{2}
17829 \end_layout
17830
17831 \begin_layout Standard
17832 for the cells in the second column.
17833 \end_layout
17834
17835 \begin_layout Standard
17836 \begin_inset Float table
17837 placement h
17838 wide false
17839 sideways false
17840 status open
17841
17842 \begin_layout Plain Layout
17843 \begin_inset Caption
17844
17845 \begin_layout Plain Layout
17846 \begin_inset CommandInset label
17847 LatexCommand label
17848 name "tab:Table-using-user-defined"
17849
17850 \end_inset
17851
17852 Table using user-defined table formats
17853 \end_layout
17854
17855 \end_inset
17856
17857
17858 \end_layout
17859
17860 \begin_layout Plain Layout
17861 \align center
17862 \begin_inset Tabular
17863 <lyxtabular version="3" rows="3" columns="4">
17864 <features>
17865 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
17866 <column alignment="center" valignment="middle" width="0" special="S{2.5cm}{2}">
17867 <column alignment="center" valignment="middle" width="0">
17868 <column alignment="center" valignment="middle" width="0" special="K{red}">
17869 <row>
17870 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17871 \begin_inset Text
17872
17873 \begin_layout Plain Layout
17874 verylongtablecellword
17875 \end_layout
17876
17877 \end_inset
17878 </cell>
17879 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
17880 \begin_inset Text
17881
17882 \begin_layout Plain Layout
17883 multiple lines multicolumn
17884 \end_layout
17885
17886 \end_inset
17887 </cell>
17888 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17889 \begin_inset Text
17890
17891 \begin_layout Plain Layout
17892
17893 \end_layout
17894
17895 \end_inset
17896 </cell>
17897 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17898 \begin_inset Text
17899
17900 \begin_layout Plain Layout
17901 c
17902 \end_layout
17903
17904 \end_inset
17905 </cell>
17906 </row>
17907 <row>
17908 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17909 \begin_inset Text
17910
17911 \begin_layout Plain Layout
17912 d
17913 \end_layout
17914
17915 \end_inset
17916 </cell>
17917 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17918 \begin_inset Text
17919
17920 \begin_layout Plain Layout
17921 e
17922 \end_layout
17923
17924 \end_inset
17925 </cell>
17926 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17927 \begin_inset Text
17928
17929 \begin_layout Plain Layout
17930 f
17931 \end_layout
17932
17933 \end_inset
17934 </cell>
17935 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17936 \begin_inset Text
17937
17938 \begin_layout Plain Layout
17939 g
17940 \end_layout
17941
17942 \end_inset
17943 </cell>
17944 </row>
17945 <row>
17946 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17947 \begin_inset Text
17948
17949 \begin_layout Plain Layout
17950 h
17951 \end_layout
17952
17953 \end_inset
17954 </cell>
17955 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17956 \begin_inset Text
17957
17958 \begin_layout Plain Layout
17959 i
17960 \end_layout
17961
17962 \end_inset
17963 </cell>
17964 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17965 \begin_inset Text
17966
17967 \begin_layout Plain Layout
17968 j
17969 \end_layout
17970
17971 \end_inset
17972 </cell>
17973 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17974 \begin_inset Text
17975
17976 \begin_layout Plain Layout
17977 k
17978 \end_layout
17979
17980 \end_inset
17981 </cell>
17982 </row>
17983 </lyxtabular>
17984
17985 \end_inset
17986
17987
17988 \end_layout
17989
17990 \end_inset
17991
17992
17993 \end_layout
17994
17995 \begin_layout Subsection
17996 Line Thickness
17997 \begin_inset CommandInset label
17998 LatexCommand label
17999 name "sub:Line-Thickness"
18000
18001 \end_inset
18002
18003
18004 \begin_inset Index
18005 status collapsed
18006
18007 \begin_layout Plain Layout
18008 Table Customization ! Line Thickness
18009 \end_layout
18010
18011 \end_inset
18012
18013
18014 \end_layout
18015
18016 \begin_layout Standard
18017 The line thickness for all lines in a table can be adjusted with the length
18018  
18019 \series bold
18020
18021 \backslash
18022 arrayrulewidth
18023 \series default
18024 .
18025  To set for example a line thickness of 1.5
18026 \begin_inset space \thinspace{}
18027 \end_inset
18028
18029 pt, like in Table
18030 \begin_inset space ~
18031 \end_inset
18032
18033
18034 \begin_inset CommandInset ref
18035 LatexCommand ref
18036 reference "tab:Table-with-1.5"
18037
18038 \end_inset
18039
18040 , insert the command
18041 \end_layout
18042
18043 \begin_layout Standard
18044
18045 \series bold
18046
18047 \backslash
18048 setlength{
18049 \backslash
18050 arrayrulewidth}{1.5pt}
18051 \end_layout
18052
18053 \begin_layout Standard
18054 in TeX-Code before the table or table float.
18055  The changed thickness is valid for all following tables.
18056  To use the default value again, set 
18057 \series bold
18058
18059 \backslash
18060 arrayrulewidth
18061 \series default
18062  to 0.4
18063 \begin_inset space \thinspace{}
18064 \end_inset
18065
18066 pt in TeX-Code behind the table or table float.
18067 \end_layout
18068
18069 \begin_layout Standard
18070 \begin_inset ERT
18071 status collapsed
18072
18073 \begin_layout Plain Layout
18074
18075
18076 \backslash
18077 setlength{
18078 \backslash
18079 arrayrulewidth}{1.5pt}
18080 \end_layout
18081
18082 \end_inset
18083
18084
18085 \begin_inset Float table
18086 wide false
18087 sideways false
18088 status open
18089
18090 \begin_layout Plain Layout
18091 \begin_inset Caption
18092
18093 \begin_layout Plain Layout
18094 \begin_inset CommandInset label
18095 LatexCommand label
18096 name "tab:Table-with-1.5"
18097
18098 \end_inset
18099
18100 Table with 1.5
18101 \begin_inset space \thinspace{}
18102 \end_inset
18103
18104 pt thick lines
18105 \end_layout
18106
18107 \end_inset
18108
18109
18110 \end_layout
18111
18112 \begin_layout Plain Layout
18113 \align center
18114 \begin_inset Tabular
18115 <lyxtabular version="3" rows="3" columns="3">
18116 <features>
18117 <column alignment="center" valignment="top" width="0">
18118 <column alignment="center" valignment="top" width="0">
18119 <column alignment="center" valignment="top" width="0">
18120 <row>
18121 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18122 \begin_inset Text
18123
18124 \begin_layout Plain Layout
18125 sd
18126 \end_layout
18127
18128 \end_inset
18129 </cell>
18130 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18131 \begin_inset Text
18132
18133 \begin_layout Plain Layout
18134
18135 \end_layout
18136
18137 \end_inset
18138 </cell>
18139 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18140 \begin_inset Text
18141
18142 \begin_layout Plain Layout
18143
18144 \end_layout
18145
18146 \end_inset
18147 </cell>
18148 </row>
18149 <row>
18150 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18151 \begin_inset Text
18152
18153 \begin_layout Plain Layout
18154
18155 \end_layout
18156
18157 \end_inset
18158 </cell>
18159 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18160 \begin_inset Text
18161
18162 \begin_layout Plain Layout
18163 sd
18164 \end_layout
18165
18166 \end_inset
18167 </cell>
18168 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18169 \begin_inset Text
18170
18171 \begin_layout Plain Layout
18172
18173 \end_layout
18174
18175 \end_inset
18176 </cell>
18177 </row>
18178 <row>
18179 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18180 \begin_inset Text
18181
18182 \begin_layout Plain Layout
18183
18184 \end_layout
18185
18186 \end_inset
18187 </cell>
18188 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18189 \begin_inset Text
18190
18191 \begin_layout Plain Layout
18192
18193 \end_layout
18194
18195 \end_inset
18196 </cell>
18197 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18198 \begin_inset Text
18199
18200 \begin_layout Plain Layout
18201 sd
18202 \end_layout
18203
18204 \end_inset
18205 </cell>
18206 </row>
18207 </lyxtabular>
18208
18209 \end_inset
18210
18211
18212 \end_layout
18213
18214 \end_inset
18215
18216
18217 \begin_inset ERT
18218 status collapsed
18219
18220 \begin_layout Plain Layout
18221
18222
18223 \backslash
18224 setlength{
18225 \backslash
18226 arrayrulewidth}{0.4pt}
18227 \end_layout
18228
18229 \end_inset
18230
18231
18232 \end_layout
18233
18234 \begin_layout Standard
18235 \begin_inset VSpace bigskip
18236 \end_inset
18237
18238 To set the line thickness to 1.5
18239 \begin_inset space \thinspace{}
18240 \end_inset
18241
18242 pt only for horizontal lines, like in Table
18243 \begin_inset space ~
18244 \end_inset
18245
18246
18247 \begin_inset CommandInset ref
18248 LatexCommand ref
18249 reference "tab:Table-with-horizontal"
18250
18251 \end_inset
18252
18253 , insert these commands in TeX-Code before the table or table float:
18254 \end_layout
18255
18256 \begin_layout Standard
18257
18258 \series bold
18259
18260 \backslash
18261 let
18262 \backslash
18263 myHline
18264 \backslash
18265 hline
18266 \begin_inset Newline newline
18267 \end_inset
18268
18269
18270 \backslash
18271 renewcommand{
18272 \backslash
18273 hline}
18274 \begin_inset Newline newline
18275 \end_inset
18276
18277  {
18278 \backslash
18279 noalign{
18280 \backslash
18281 global
18282 \backslash
18283 arrayrulewidth 1.5pt}
18284 \begin_inset Newline newline
18285 \end_inset
18286
18287  
18288 \backslash
18289 myHline
18290 \backslash
18291 noalign{
18292 \backslash
18293 global
18294 \backslash
18295 arrayrulewidth 0.4pt}}
18296 \end_layout
18297
18298 \begin_layout Standard
18299 To return to the default line thickness, insert this command in TeX-Code
18300  behind the table or table float:
18301 \end_layout
18302
18303 \begin_layout Standard
18304
18305 \series bold
18306
18307 \backslash
18308 renewcommand{
18309 \backslash
18310 hline}{
18311 \backslash
18312 myHline}
18313 \end_layout
18314
18315 \begin_layout Standard
18316 \begin_inset ERT
18317 status collapsed
18318
18319 \begin_layout Plain Layout
18320
18321
18322 \backslash
18323 let
18324 \backslash
18325 myHline
18326 \backslash
18327 hline
18328 \end_layout
18329
18330 \begin_layout Plain Layout
18331
18332
18333 \backslash
18334 renewcommand{
18335 \backslash
18336 hline}
18337 \end_layout
18338
18339 \begin_layout Plain Layout
18340
18341  {
18342 \backslash
18343 noalign{
18344 \backslash
18345 global
18346 \backslash
18347 arrayrulewidth 1.5pt}
18348 \end_layout
18349
18350 \begin_layout Plain Layout
18351
18352   
18353 \backslash
18354 myHline
18355 \backslash
18356 noalign{
18357 \backslash
18358 global
18359 \backslash
18360 arrayrulewidth 0.4pt}}
18361 \end_layout
18362
18363 \end_inset
18364
18365
18366 \begin_inset Float table
18367 wide false
18368 sideways false
18369 status open
18370
18371 \begin_layout Plain Layout
18372 \begin_inset Caption
18373
18374 \begin_layout Plain Layout
18375 \begin_inset CommandInset label
18376 LatexCommand label
18377 name "tab:Table-with-horizontal"
18378
18379 \end_inset
18380
18381 Table with 1.5
18382 \begin_inset space \thinspace{}
18383 \end_inset
18384
18385 pt thick horizontal lines
18386 \end_layout
18387
18388 \end_inset
18389
18390
18391 \end_layout
18392
18393 \begin_layout Plain Layout
18394 \align center
18395 \begin_inset Tabular
18396 <lyxtabular version="3" rows="3" columns="3">
18397 <features>
18398 <column alignment="center" valignment="top" width="0">
18399 <column alignment="center" valignment="top" width="0">
18400 <column alignment="center" valignment="top" width="0">
18401 <row>
18402 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18403 \begin_inset Text
18404
18405 \begin_layout Plain Layout
18406 sd
18407 \end_layout
18408
18409 \end_inset
18410 </cell>
18411 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18412 \begin_inset Text
18413
18414 \begin_layout Plain Layout
18415
18416 \end_layout
18417
18418 \end_inset
18419 </cell>
18420 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18421 \begin_inset Text
18422
18423 \begin_layout Plain Layout
18424
18425 \end_layout
18426
18427 \end_inset
18428 </cell>
18429 </row>
18430 <row>
18431 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18432 \begin_inset Text
18433
18434 \begin_layout Plain Layout
18435
18436 \end_layout
18437
18438 \end_inset
18439 </cell>
18440 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18441 \begin_inset Text
18442
18443 \begin_layout Plain Layout
18444 sd
18445 \end_layout
18446
18447 \end_inset
18448 </cell>
18449 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18450 \begin_inset Text
18451
18452 \begin_layout Plain Layout
18453
18454 \end_layout
18455
18456 \end_inset
18457 </cell>
18458 </row>
18459 <row>
18460 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18461 \begin_inset Text
18462
18463 \begin_layout Plain Layout
18464
18465 \end_layout
18466
18467 \end_inset
18468 </cell>
18469 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18470 \begin_inset Text
18471
18472 \begin_layout Plain Layout
18473
18474 \end_layout
18475
18476 \end_inset
18477 </cell>
18478 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18479 \begin_inset Text
18480
18481 \begin_layout Plain Layout
18482 sd
18483 \end_layout
18484
18485 \end_inset
18486 </cell>
18487 </row>
18488 </lyxtabular>
18489
18490 \end_inset
18491
18492
18493 \end_layout
18494
18495 \end_inset
18496
18497
18498 \begin_inset ERT
18499 status collapsed
18500
18501 \begin_layout Plain Layout
18502
18503
18504 \backslash
18505 renewcommand{
18506 \backslash
18507 hline}{
18508 \backslash
18509 myHline}
18510 \end_layout
18511
18512 \end_inset
18513
18514
18515 \end_layout
18516
18517 \begin_layout Standard
18518 \begin_inset VSpace bigskip
18519 \end_inset
18520
18521 To set the line thickness to 1.5
18522 \begin_inset space \thinspace{}
18523 \end_inset
18524
18525 pt only for vertical lines, create the following column format in the document
18526  preamble, according to the description in section
18527 \begin_inset space ~
18528 \end_inset
18529
18530
18531 \begin_inset CommandInset ref
18532 LatexCommand ref
18533 reference "sub:Customized-Format"
18534
18535 \end_inset
18536
18537 :
18538 \end_layout
18539
18540 \begin_layout Standard
18541
18542 \series bold
18543
18544 \backslash
18545 newcolumntype{V}{!{
18546 \backslash
18547 vrule width 1.5pt}}
18548 \end_layout
18549
18550 \begin_layout Standard
18551 For Table
18552 \begin_inset space ~
18553 \end_inset
18554
18555
18556 \begin_inset CommandInset ref
18557 LatexCommand ref
18558 reference "tab:Table-with-vertical"
18559
18560 \end_inset
18561
18562  the LaTeX-argument
18563 \end_layout
18564
18565 \begin_layout Standard
18566
18567 \series bold
18568 VcV
18569 \end_layout
18570
18571 \begin_layout Standard
18572 was used for the last column and
18573 \end_layout
18574
18575 \begin_layout Standard
18576
18577 \series bold
18578 Vc
18579 \end_layout
18580
18581 \begin_layout Standard
18582 for the other columns.
18583 \end_layout
18584
18585 \begin_layout Standard
18586 \begin_inset Float table
18587 wide false
18588 sideways false
18589 status open
18590
18591 \begin_layout Plain Layout
18592 \begin_inset Caption
18593
18594 \begin_layout Plain Layout
18595 \begin_inset CommandInset label
18596 LatexCommand label
18597 name "tab:Table-with-vertical"
18598
18599 \end_inset
18600
18601 Table with 1.5
18602 \begin_inset space \thinspace{}
18603 \end_inset
18604
18605 pt thick vertical lines
18606 \end_layout
18607
18608 \end_inset
18609
18610
18611 \end_layout
18612
18613 \begin_layout Plain Layout
18614 \align center
18615 \begin_inset Tabular
18616 <lyxtabular version="3" rows="3" columns="3">
18617 <features>
18618 <column alignment="center" valignment="top" width="0" special="Vc">
18619 <column alignment="center" valignment="top" width="0" special="Vc">
18620 <column alignment="center" valignment="top" width="0" special="VcV">
18621 <row>
18622 <cell alignment="center" valignment="top" topline="true" usebox="none">
18623 \begin_inset Text
18624
18625 \begin_layout Plain Layout
18626 sd
18627 \end_layout
18628
18629 \end_inset
18630 </cell>
18631 <cell alignment="center" valignment="top" topline="true" usebox="none">
18632 \begin_inset Text
18633
18634 \begin_layout Plain Layout
18635
18636 \end_layout
18637
18638 \end_inset
18639 </cell>
18640 <cell alignment="center" valignment="top" topline="true" usebox="none">
18641 \begin_inset Text
18642
18643 \begin_layout Plain Layout
18644
18645 \end_layout
18646
18647 \end_inset
18648 </cell>
18649 </row>
18650 <row>
18651 <cell alignment="center" valignment="top" topline="true" usebox="none">
18652 \begin_inset Text
18653
18654 \begin_layout Plain Layout
18655
18656 \end_layout
18657
18658 \end_inset
18659 </cell>
18660 <cell alignment="center" valignment="top" topline="true" usebox="none">
18661 \begin_inset Text
18662
18663 \begin_layout Plain Layout
18664 sd
18665 \end_layout
18666
18667 \end_inset
18668 </cell>
18669 <cell alignment="center" valignment="top" topline="true" usebox="none">
18670 \begin_inset Text
18671
18672 \begin_layout Plain Layout
18673
18674 \end_layout
18675
18676 \end_inset
18677 </cell>
18678 </row>
18679 <row>
18680 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18681 \begin_inset Text
18682
18683 \begin_layout Plain Layout
18684
18685 \end_layout
18686
18687 \end_inset
18688 </cell>
18689 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18690 \begin_inset Text
18691
18692 \begin_layout Plain Layout
18693
18694 \end_layout
18695
18696 \end_inset
18697 </cell>
18698 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18699 \begin_inset Text
18700
18701 \begin_layout Plain Layout
18702 sd
18703 \end_layout
18704
18705 \end_inset
18706 </cell>
18707 </row>
18708 </lyxtabular>
18709
18710 \end_inset
18711
18712
18713 \end_layout
18714
18715 \end_inset
18716
18717
18718 \end_layout
18719
18720 \begin_layout Subsection
18721 Dashed Lines
18722 \begin_inset Index
18723 status collapsed
18724
18725 \begin_layout Plain Layout
18726 Table Customization ! Dashed Lines
18727 \end_layout
18728
18729 \end_inset
18730
18731
18732 \end_layout
18733
18734 \begin_layout Standard
18735 \begin_inset ERT
18736 status collapsed
18737
18738 \begin_layout Plain Layout
18739
18740
18741 \backslash
18742 ifarydshln
18743 \end_layout
18744
18745 \end_inset
18746
18747
18748 \begin_inset Note Note
18749 status open
18750
18751 \begin_layout Plain Layout
18752 The following section will only be displayed when the LaTeX-package 
18753 \series bold
18754 arydshln
18755 \series default
18756  is installed.
18757 \end_layout
18758
18759 \end_inset
18760
18761
18762 \end_layout
18763
18764 \begin_layout Standard
18765 \begin_inset Float table
18766 placement H
18767 wide false
18768 sideways false
18769 status open
18770
18771 \begin_layout Plain Layout
18772 \begin_inset Caption
18773
18774 \begin_layout Plain Layout
18775 \begin_inset CommandInset label
18776 LatexCommand label
18777 name "tab:Table-with-dashed"
18778
18779 \end_inset
18780
18781 Table with dashed lines
18782 \end_layout
18783
18784 \end_inset
18785
18786
18787 \end_layout
18788
18789 \begin_layout Plain Layout
18790 \align center
18791 \begin_inset Tabular
18792 <lyxtabular version="3" rows="5" columns="5">
18793 <features>
18794 <column alignment="center" valignment="top" width="0">
18795 <column alignment="center" valignment="top" width="0">
18796 <column alignment="center" valignment="top" width="0" special=":c">
18797 <column alignment="center" valignment="top" width="0">
18798 <column alignment="center" valignment="top" width="0">
18799 <row>
18800 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18801 \begin_inset Text
18802
18803 \begin_layout Plain Layout
18804 a
18805 \end_layout
18806
18807 \end_inset
18808 </cell>
18809 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18810 \begin_inset Text
18811
18812 \begin_layout Plain Layout
18813 b
18814 \end_layout
18815
18816 \end_inset
18817 </cell>
18818 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18819 \begin_inset Text
18820
18821 \begin_layout Plain Layout
18822 c
18823 \end_layout
18824
18825 \end_inset
18826 </cell>
18827 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18828 \begin_inset Text
18829
18830 \begin_layout Plain Layout
18831 d
18832 \end_layout
18833
18834 \end_inset
18835 </cell>
18836 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18837 \begin_inset Text
18838
18839 \begin_layout Plain Layout
18840 e
18841 \end_layout
18842
18843 \end_inset
18844 </cell>
18845 </row>
18846 <row>
18847 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18848 \begin_inset Text
18849
18850 \begin_layout Plain Layout
18851 f
18852 \end_layout
18853
18854 \end_inset
18855 </cell>
18856 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18857 \begin_inset Text
18858
18859 \begin_layout Plain Layout
18860 g
18861 \end_layout
18862
18863 \end_inset
18864 </cell>
18865 <cell alignment="center" valignment="top" topline="true" usebox="none">
18866 \begin_inset Text
18867
18868 \begin_layout Plain Layout
18869 h
18870 \end_layout
18871
18872 \end_inset
18873 </cell>
18874 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18875 \begin_inset Text
18876
18877 \begin_layout Plain Layout
18878 i
18879 \end_layout
18880
18881 \end_inset
18882 </cell>
18883 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18884 \begin_inset Text
18885
18886 \begin_layout Plain Layout
18887 j
18888 \end_layout
18889
18890 \end_inset
18891 </cell>
18892 </row>
18893 <row>
18894 <cell alignment="center" valignment="top" leftline="true" usebox="none">
18895 \begin_inset Text
18896
18897 \begin_layout Plain Layout
18898 \begin_inset ERT
18899 status collapsed
18900
18901 \begin_layout Plain Layout
18902
18903
18904 \backslash
18905 hdashline 
18906 \end_layout
18907
18908 \end_inset
18909
18910 k
18911 \end_layout
18912
18913 \end_inset
18914 </cell>
18915 <cell alignment="center" valignment="top" leftline="true" usebox="none">
18916 \begin_inset Text
18917
18918 \begin_layout Plain Layout
18919 l
18920 \end_layout
18921
18922 \end_inset
18923 </cell>
18924 <cell alignment="center" valignment="top" usebox="none">
18925 \begin_inset Text
18926
18927 \begin_layout Plain Layout
18928 m
18929 \end_layout
18930
18931 \end_inset
18932 </cell>
18933 <cell alignment="center" valignment="top" leftline="true" usebox="none">
18934 \begin_inset Text
18935
18936 \begin_layout Plain Layout
18937 n
18938 \end_layout
18939
18940 \end_inset
18941 </cell>
18942 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
18943 \begin_inset Text
18944
18945 \begin_layout Plain Layout
18946 o
18947 \end_layout
18948
18949 \end_inset
18950 </cell>
18951 </row>
18952 <row>
18953 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18954 \begin_inset Text
18955
18956 \begin_layout Plain Layout
18957 \begin_inset ERT
18958 status collapsed
18959
18960 \begin_layout Plain Layout
18961
18962
18963 \backslash
18964 cdashline{4-5}
18965 \end_layout
18966
18967 \end_inset
18968
18969 p
18970 \end_layout
18971
18972 \end_inset
18973 </cell>
18974 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18975 \begin_inset Text
18976
18977 \begin_layout Plain Layout
18978 q
18979 \end_layout
18980
18981 \end_inset
18982 </cell>
18983 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
18984 \begin_inset Text
18985
18986 \begin_layout Plain Layout
18987 r
18988 \end_layout
18989
18990 \end_inset
18991 </cell>
18992 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none" special="c:">
18993 \begin_inset Text
18994
18995 \begin_layout Plain Layout
18996 s
18997 \end_layout
18998
18999 \end_inset
19000 </cell>
19001 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19002 \begin_inset Text
19003
19004 \begin_layout Plain Layout
19005
19006 \end_layout
19007
19008 \end_inset
19009 </cell>
19010 </row>
19011 <row>
19012 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19013 \begin_inset Text
19014
19015 \begin_layout Plain Layout
19016 t
19017 \end_layout
19018
19019 \end_inset
19020 </cell>
19021 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19022 \begin_inset Text
19023
19024 \begin_layout Plain Layout
19025 u
19026 \end_layout
19027
19028 \end_inset
19029 </cell>
19030 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19031 \begin_inset Text
19032
19033 \begin_layout Plain Layout
19034 v
19035 \end_layout
19036
19037 \end_inset
19038 </cell>
19039 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19040 \begin_inset Text
19041
19042 \begin_layout Plain Layout
19043 w
19044 \end_layout
19045
19046 \end_inset
19047 </cell>
19048 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19049 \begin_inset Text
19050
19051 \begin_layout Plain Layout
19052 x
19053 \end_layout
19054
19055 \end_inset
19056 </cell>
19057 </row>
19058 </lyxtabular>
19059
19060 \end_inset
19061
19062
19063 \end_layout
19064
19065 \end_inset
19066
19067
19068 \end_layout
19069
19070 \begin_layout Standard
19071 LyX doesn't natively support dashed lines, so you have to use TeX-Code.
19072  As prerequisite the LaTeX-package 
19073 \series bold
19074 arydshln
19075 \series default
19076
19077 \begin_inset Index
19078 status collapsed
19079
19080 \begin_layout Plain Layout
19081 LaTeX-packages ! arydshln
19082 \end_layout
19083
19084 \end_inset
19085
19086  must be loaded in the document preamble with the command
19087 \end_layout
19088
19089 \begin_layout Standard
19090
19091 \series bold
19092
19093 \backslash
19094 usepackage{arydshln}
19095 \end_layout
19096
19097 \begin_layout Standard
19098 To make a vertical line dashed, enter the colon 
19099 \begin_inset Quotes eld
19100 \end_inset
19101
19102 :
19103 \begin_inset Quotes erd
19104 \end_inset
19105
19106  together with the character for the horizontal alignment as LaTeX-argument
19107  in the table cell dialog.
19108 \end_layout
19109
19110 \begin_layout Standard
19111 For a horizontal dashed line add the command
19112 \end_layout
19113
19114 \begin_layout Standard
19115
19116 \series bold
19117
19118 \backslash
19119 hdashline
19120 \end_layout
19121
19122 \begin_layout Standard
19123 in TeX-Code as first element of the first cell in the table row.
19124 \end_layout
19125
19126 \begin_layout Standard
19127 For dashed multicolumn lines use the command
19128 \end_layout
19129
19130 \begin_layout Standard
19131
19132 \series bold
19133
19134 \backslash
19135 cdashline{line number
19136 \series default
19137 }
19138 \end_layout
19139
19140 \begin_layout Standard
19141 in TeX-Code as first element of the first cell in the table row.
19142  If you have for example a multicolumn spanning over columns 2 to 4 and
19143  you want to have a dashed line above, add the command
19144 \end_layout
19145
19146 \begin_layout Standard
19147
19148 \series bold
19149
19150 \backslash
19151 cdashline{2-4}
19152 \end_layout
19153
19154 \begin_layout Standard
19155 as first element of the first cell in the row of the multicolumn.
19156 \end_layout
19157
19158 \begin_layout Standard
19159 \begin_inset VSpace bigskip
19160 \end_inset
19161
19162
19163 \end_layout
19164
19165 \begin_layout Standard
19166 Table
19167 \begin_inset space ~
19168 \end_inset
19169
19170
19171 \begin_inset CommandInset ref
19172 LatexCommand ref
19173 reference "tab:Table-with-dashed"
19174
19175 \end_inset
19176
19177  was created using 
19178 \begin_inset Quotes eld
19179 \end_inset
19180
19181
19182 \series bold
19183 :c
19184 \series default
19185
19186 \begin_inset Quotes erd
19187 \end_inset
19188
19189  as LaTeX-argument of the third column.
19190  The TeX-Code command 
19191 \series bold
19192
19193 \backslash
19194 hdashline
19195 \series default
19196  was inserted to the first cell of the third row and the the TeX-Code command
19197 \begin_inset Newline newline
19198 \end_inset
19199
19200  
19201 \series bold
19202
19203 \backslash
19204 cdashline{4-5}
19205 \series default
19206  was inserted to the first cell of the fourth row.
19207 \end_layout
19208
19209 \begin_layout Standard
19210 \begin_inset Note Greyedout
19211 status open
19212
19213 \begin_layout Plain Layout
19214
19215 \series bold
19216 Note:
19217 \series default
19218  The used LaTeX-package 
19219 \series bold
19220 arydshln
19221 \series default
19222  is apparently not compatible with the LaTeX-package 
19223 \series bold
19224 colortbl
19225 \series default
19226
19227 \begin_inset Index
19228 status collapsed
19229
19230 \begin_layout Plain Layout
19231 LaTeX-packages ! colortbl
19232 \end_layout
19233
19234 \end_inset
19235
19236  that is used for colored tables in section
19237 \begin_inset space ~
19238 \end_inset
19239
19240
19241 \begin_inset CommandInset ref
19242 LatexCommand ref
19243 reference "sec:Colored-Tables"
19244
19245 \end_inset
19246
19247 .
19248  That means colored tables cannot have dashed lines.
19249 \end_layout
19250
19251 \end_inset
19252
19253
19254 \end_layout
19255
19256 \begin_layout Standard
19257 \begin_inset ERT
19258 status collapsed
19259
19260 \begin_layout Plain Layout
19261
19262
19263 \backslash
19264 else
19265 \end_layout
19266
19267 \end_inset
19268
19269
19270 \begin_inset Note Note
19271 status open
19272
19273 \begin_layout Plain Layout
19274 The following will be displayed when the LaTeX-package 
19275 \series bold
19276 arydshln
19277 \series default
19278  is not installed:
19279 \end_layout
19280
19281 \end_inset
19282
19283
19284 \end_layout
19285
19286 \begin_layout Standard
19287 You need to install the package 
19288 \series bold
19289 arydshln
19290 \series default
19291  to see the content of this section in the output.
19292 \end_layout
19293
19294 \begin_layout Standard
19295 \begin_inset ERT
19296 status collapsed
19297
19298 \begin_layout Plain Layout
19299
19300
19301 \backslash
19302 fi
19303 \end_layout
19304
19305 \end_inset
19306
19307
19308 \end_layout
19309
19310 \begin_layout Chapter
19311 Floats
19312 \begin_inset Index
19313 status collapsed
19314
19315 \begin_layout Plain Layout
19316 Floats
19317 \end_layout
19318
19319 \end_inset
19320
19321
19322 \end_layout
19323
19324 \begin_layout Section
19325 Introduction
19326 \begin_inset CommandInset label
19327 LatexCommand label
19328 name "sec:FloatIntroduction"
19329
19330 \end_inset
19331
19332
19333 \begin_inset Index
19334 status collapsed
19335
19336 \begin_layout Plain Layout
19337 Floats ! Introduction
19338 \end_layout
19339
19340 \end_inset
19341
19342
19343 \end_layout
19344
19345 \begin_layout Standard
19346 A float is a block of text associated with some sort of label, which doesn't
19347  have a fixed location.
19348  It can 
19349 \begin_inset Quotes eld
19350 \end_inset
19351
19352 float
19353 \begin_inset Quotes erd
19354 \end_inset
19355
19356  forward or backward a page or two, to wherever it fits best.
19357  
19358 \family sans
19359 Footnotes
19360 \family default
19361  and 
19362 \family sans
19363 Margin
19364 \begin_inset space ~
19365 \end_inset
19366
19367 Notes
19368 \family default
19369  are also floats, because they can float to the next page when there are
19370  too many notes at the page.
19371 \end_layout
19372
19373 \begin_layout Standard
19374 Floats allow a high quality layout.
19375  Images and tables can evenly be spread to the pages to avoid white space
19376  and pages without text.
19377  As the floating often destroys the context between the text and the image/table
19378 , every float can be referenced in the text.
19379  Floats are therefore numbered.
19380  Referencing is described in section
19381 \begin_inset space ~
19382 \end_inset
19383
19384
19385 \begin_inset CommandInset ref
19386 LatexCommand ref
19387 reference "sec:Referencing-Floats"
19388
19389 \end_inset
19390
19391 .
19392 \end_layout
19393
19394 \begin_layout Standard
19395 To insert a float, use the menu 
19396 \family sans
19397 Insert\SpecialChar \menuseparator
19398 Float
19399 \family default
19400 .
19401  This inserts the 
19402 \family sans
19403 Caption
19404 \family default
19405  inset, a box with a label.
19406  The label will automatically be translated to the document language in
19407  the output.
19408  Behind the label you can insert the caption text.
19409  The image or table is inserted above or below the caption in a separate
19410  paragraph within the float.
19411  More about the caption placement is described in section
19412 \begin_inset space ~
19413 \end_inset
19414
19415
19416 \begin_inset CommandInset ref
19417 LatexCommand ref
19418 reference "sec:Caption-Placement"
19419
19420 \end_inset
19421
19422 .
19423  To keep your LyX-document readable, you can open and close the float box
19424  by left-clicking on the box label.
19425  A closed float box looks like this: 
19426 \begin_inset Graphics
19427         filename clipart/floatQt4.png
19428         scale 70
19429         scaleBeforeRotation
19430
19431 \end_inset
19432
19433  – a gray button with a red label.
19434 \end_layout
19435
19436 \begin_layout Standard
19437 It is recommended to insert floats as a separate paragraph to avoid possible
19438  LaTeX-errors that can occur when the surrounding text is specially formatted.
19439 \end_layout
19440
19441 \begin_layout Standard
19442 Existing figures or tables can be put into a float by marking them and then
19443  pressing the corresponding toolbar button for a new float.
19444 \end_layout
19445
19446 \begin_layout Section
19447 Float Types
19448 \end_layout
19449
19450 \begin_layout Standard
19451 Besides figure and table floats that are described in section
19452 \begin_inset space ~
19453 \end_inset
19454
19455
19456 \begin_inset CommandInset ref
19457 LatexCommand ref
19458 reference "sec:Figure-Floats"
19459
19460 \end_inset
19461
19462  and 
19463 \begin_inset CommandInset ref
19464 LatexCommand ref
19465 reference "sec:Table-Floats"
19466
19467 \end_inset
19468
19469 , respectively, LyX offers the float types 
19470 \series bold
19471 Algorithm
19472 \series default
19473  and 
19474 \series bold
19475 Wrap
19476 \series default
19477 .
19478 \end_layout
19479
19480 \begin_layout Subsection
19481 Algorithm Floats
19482 \begin_inset Index
19483 status collapsed
19484
19485 \begin_layout Plain Layout
19486 Floats ! Algorithms
19487 \end_layout
19488
19489 \end_inset
19490
19491
19492 \end_layout
19493
19494 \begin_layout Standard
19495 \begin_inset Float algorithm
19496 placement h
19497 wide false
19498 sideways false
19499 status open
19500
19501 \begin_layout Plain Layout
19502 \begin_inset Caption
19503
19504 \begin_layout Plain Layout
19505 \begin_inset CommandInset label
19506 LatexCommand label
19507 name "alg:Example-Algorithm-float"
19508
19509 \end_inset
19510
19511 Example Algorithm float
19512 \end_layout
19513
19514 \end_inset
19515
19516
19517 \end_layout
19518
19519 \begin_layout LyX-Code
19520 for I in 1..N loop
19521 \begin_inset Newline newline
19522 \end_inset
19523
19524  Sum:= Sum + A(I); /*comment*/
19525 \begin_inset Newline newline
19526 \end_inset
19527
19528 end loop
19529 \begin_inset VSpace -4mm
19530 \end_inset
19531
19532
19533 \end_layout
19534
19535 \end_inset
19536
19537
19538 \end_layout
19539
19540 \begin_layout Standard
19541 This float type is inserted with the menu 
19542 \family sans
19543 Insert\SpecialChar \menuseparator
19544 Floats\SpecialChar \menuseparator
19545 Algorithm
19546 \family default
19547 .
19548  It is used for program codes and descriptions of algorithms and can be
19549  seen as an alternative to program code listings that are explained in chapter
19550 \begin_inset space ~
19551 \end_inset
19552
19553
19554 \begin_inset CommandInset ref
19555 LatexCommand ref
19556 reference "cha:Program-Code-Listings"
19557
19558 \end_inset
19559
19560 .
19561  A possible environment for algorithms is the 
19562 \family sans
19563 LyX-Code
19564 \family default
19565 , described in LyX's 
19566 \emph on
19567 Userguide
19568 \emph default
19569 .
19570  Algorithm
19571 \begin_inset space ~
19572 \end_inset
19573
19574
19575 \begin_inset CommandInset ref
19576 LatexCommand ref
19577 reference "alg:Example-Algorithm-float"
19578
19579 \end_inset
19580
19581  is an example of an algorithm float where -4
19582 \begin_inset space \thinspace{}
19583 \end_inset
19584
19585 mm vertical space was added at the end of the float to have the bottom rule
19586  exactly below the last text line.
19587 \end_layout
19588
19589 \begin_layout Standard
19590 The float label is not automatically translated into the document language.
19591  If your document is not in English, you have to do this manually by adding
19592  the following line to the document preamble
19593 \series bold
19594 :
19595 \end_layout
19596
19597 \begin_layout Standard
19598
19599 \series bold
19600
19601 \backslash
19602 floatname{algorithm}{your
19603 \begin_inset space ~
19604 \end_inset
19605
19606 name}
19607 \end_layout
19608
19609 \begin_layout Standard
19610 where 
19611 \family sans
19612 your
19613 \begin_inset space ~
19614 \end_inset
19615
19616 name
19617 \family default
19618  is the word 
19619 \begin_inset Quotes eld
19620 \end_inset
19621
19622
19623 \emph on
19624 algorithm
19625 \emph default
19626
19627 \begin_inset Quotes erd
19628 \end_inset
19629
19630  in your language.
19631 \end_layout
19632
19633 \begin_layout Standard
19634 To insert the list of algorithms you can use the menu 
19635 \family sans
19636 Insert\SpecialChar \menuseparator
19637 List
19638 \begin_inset space \thinspace{}
19639 \end_inset
19640
19641 /
19642 \begin_inset space \thinspace{}
19643 \end_inset
19644
19645 TOC\SpecialChar \menuseparator
19646 List of Algorithms
19647 \family default
19648  when your document has the same language as LyX's menu names.
19649  In other cases use this command in TeX-Code instead:
19650 \end_layout
19651
19652 \begin_layout Standard
19653
19654 \series bold
19655
19656 \backslash
19657 listof{algorithm}{your
19658 \begin_inset space ~
19659 \end_inset
19660
19661 name}
19662 \end_layout
19663
19664 \begin_layout Standard
19665 where 
19666 \family sans
19667 your
19668 \begin_inset space ~
19669 \end_inset
19670
19671 name
19672 \family default
19673  is the word 
19674 \begin_inset Quotes eld
19675 \end_inset
19676
19677
19678 \emph on
19679 List of Algorithm
19680 \emph default
19681 s
19682 \begin_inset Quotes erd
19683 \end_inset
19684
19685  in your language.
19686 \end_layout
19687
19688 \begin_layout Standard
19689 Algorithm floats are not by default numbered in the scheme 
19690 \begin_inset Quotes eld
19691 \end_inset
19692
19693 chapter.algorithm
19694 \begin_inset Quotes erd
19695 \end_inset
19696
19697  like it is the case for table and figure floats in many document-classes.
19698  To number algorithm floats in the same scheme, add this command to your
19699  document preamble:
19700 \end_layout
19701
19702 \begin_layout Standard
19703
19704 \series bold
19705
19706 \backslash
19707 numberwithin{algorithm}{chapter}
19708 \end_layout
19709
19710 \begin_layout Standard
19711 To be able to use the command 
19712 \series bold
19713
19714 \backslash
19715 numberwithin
19716 \series default
19717 , set in the tab 
19718 \family sans
19719 Math
19720 \begin_inset space ~
19721 \end_inset
19722
19723 Options
19724 \family default
19725  in the document settings the option 
19726 \family sans
19727 Use
19728 \begin_inset space ~
19729 \end_inset
19730
19731 AMS
19732 \begin_inset space ~
19733 \end_inset
19734
19735 math
19736 \begin_inset space ~
19737 \end_inset
19738
19739 package
19740 \family default
19741 .
19742 \end_layout
19743
19744 \begin_layout Subsection
19745 Wrap Floats
19746 \begin_inset Index
19747 status collapsed
19748
19749 \begin_layout Plain Layout
19750 Floats ! Wrap Floats
19751 \end_layout
19752
19753 \end_inset
19754
19755
19756 \end_layout
19757
19758 \begin_layout Standard
19759 \begin_inset Wrap figure
19760 lines 0
19761 placement l
19762 overhang 1cm
19763 width "40col%"
19764 status open
19765
19766 \begin_layout Plain Layout
19767 \begin_inset Graphics
19768         filename clipart/mobius.eps
19769         width 40col%
19770         scaleBeforeRotation
19771         rotateOrigin center
19772
19773 \end_inset
19774
19775
19776 \end_layout
19777
19778 \begin_layout Plain Layout
19779 \begin_inset Caption
19780
19781 \begin_layout Plain Layout
19782 \begin_inset CommandInset label
19783 LatexCommand label
19784 name "fig:This-is-a"
19785
19786 \end_inset
19787
19788 This is a figure wrap float.
19789 \end_layout
19790
19791 \end_inset
19792
19793
19794 \end_layout
19795
19796 \end_inset
19797
19798  This float type is used if you want to wrap text around a figure or table
19799  so that it only occupies some fraction of the column width.
19800  It can be inserted using the menu 
19801 \family sans
19802 Insert\SpecialChar \menuseparator
19803 Floats\SpecialChar \menuseparator
19804 Figure
19805 \begin_inset space ~
19806 \end_inset
19807
19808 Wrap
19809 \begin_inset space ~
19810 \end_inset
19811
19812 Float
19813 \family default
19814  or 
19815 \family sans
19816 Table
19817 \begin_inset space ~
19818 \end_inset
19819
19820 Wrap
19821 \begin_inset space ~
19822 \end_inset
19823
19824 Float
19825 \family default
19826  if the LaTeX-package 
19827 \series bold
19828 wrapfig
19829 \series default
19830
19831 \begin_inset Index
19832 status collapsed
19833
19834 \begin_layout Plain Layout
19835 LaTeX-packages ! wrapfig
19836 \begin_inset ERT
19837 status collapsed
19838
19839 \begin_layout Plain Layout
19840
19841
19842 \backslash
19843 vspace{4mm}
19844 \end_layout
19845
19846 \end_inset
19847
19848
19849 \end_layout
19850
19851 \end_inset
19852
19853  is installed.
19854 \begin_inset Foot
19855 status collapsed
19856
19857 \begin_layout Plain Layout
19858 Installing a LaTeX-package is explained it in the 
19859 \emph on
19860 LaTeX
19861 \begin_inset space ~
19862 \end_inset
19863
19864 Configuration
19865 \emph default
19866  manual.
19867 \end_layout
19868
19869 \end_inset
19870
19871  The settings of the float can be modified by right-clicking on the float
19872  box.
19873  The mandatory settings are the float 
19874 \family sans
19875 Placement
19876 \family default
19877  and its 
19878 \family sans
19879 Width
19880 \family default
19881 .
19882  Optional are the 
19883 \family sans
19884 Overhang
19885 \family default
19886  that specifies how much the float is set into the paragraph
19887 \begin_inset space \thinspace{}
19888 \end_inset
19889
19890 /
19891 \begin_inset space \thinspace{}
19892 \end_inset
19893
19894 page margin, and the 
19895 \family sans
19896 Line
19897 \begin_inset space ~
19898 \end_inset
19899
19900 span
19901 \family default
19902  that specifies how many text lines the float will approximately need.
19903  The line span is often hard to be approximated, so better only use it when
19904  you encounter float placement problems.
19905  You can furthermore decide if LaTeX is allowed to let the float float within
19906  the paragraph or to surrounding paragraphs.
19907  Figure
19908 \begin_inset space ~
19909 \end_inset
19910
19911
19912 \begin_inset CommandInset ref
19913 LatexCommand ref
19914 reference "fig:This-is-a"
19915
19916 \end_inset
19917
19918  is an example text wrap float with a width of 40
19919 \begin_inset space \thinspace{}
19920 \end_inset
19921
19922 col%, 1
19923 \begin_inset space \thinspace{}
19924 \end_inset
19925
19926 cm overhang, set to the left.
19927 \begin_inset Foot
19928 status collapsed
19929
19930 \begin_layout Plain Layout
19931 Available units are explained in appendix
19932 \begin_inset space ~
19933 \end_inset
19934
19935
19936 \begin_inset CommandInset ref
19937 LatexCommand ref
19938 reference "cha:Units-available-in"
19939
19940 \end_inset
19941
19942 .
19943 \end_layout
19944
19945 \end_inset
19946
19947
19948 \end_layout
19949
19950 \begin_layout Standard
19951 \begin_inset Note Greyedout
19952 status open
19953
19954 \begin_layout Plain Layout
19955
19956 \series bold
19957 Note:
19958 \series default
19959  Text
19960 \begin_inset space ~
19961 \end_inset
19962
19963 wrap float floats are fragile! E.
19964 \begin_inset space \thinspace{}
19965 \end_inset
19966
19967 g.
19968 \begin_inset space \space{}
19969 \end_inset
19970
19971 having a figure too close to the bottom of the page can mess things up in
19972  the way that the float doesn't appear in the output or that it is placed
19973  over some other text.
19974 \end_layout
19975
19976 \end_inset
19977
19978
19979 \end_layout
19980
19981 \begin_layout Standard
19982 In general:
19983 \end_layout
19984
19985 \begin_layout Itemize
19986 Wrap floats should not be placed in paragraphs that run over a page break.
19987  That means that wrap floats should better be inserted to the exact place
19988  when the document is nearly finished and you are able to estimate where
19989  page breaks will appear.
19990 \end_layout
19991
19992 \begin_layout Itemize
19993 Wrap floats should either be placed in an own paragraph before the paragraph
19994  where they should wrap into or within a paragraph.
19995 \end_layout
19996
19997 \begin_layout Itemize
19998 Wrap floats in consecutive paragraphs may cause troubles, so assure that
19999  there is a text paragraph between them as separator.
20000 \end_layout
20001
20002 \begin_layout Itemize
20003 Wrap floats are not allowed in section headings or tables.
20004 \end_layout
20005
20006 \begin_layout Section
20007 Float Numbering
20008 \begin_inset Index
20009 status collapsed
20010
20011 \begin_layout Plain Layout
20012 Floats ! Numbering
20013 \end_layout
20014
20015 \end_inset
20016
20017
20018 \end_layout
20019
20020 \begin_layout Standard
20021 Floats are usually numbered either independent from the sections the floats
20022  are in, or in the scheme 
20023 \begin_inset Quotes eld
20024 \end_inset
20025
20026 chapter.number
20027 \begin_inset Quotes erd
20028 \end_inset
20029
20030  or 
20031 \begin_inset Quotes eld
20032 \end_inset
20033
20034 section.number
20035 \begin_inset Quotes erd
20036 \end_inset
20037
20038 .
20039  This depends on the used document class.
20040 \end_layout
20041
20042 \begin_layout Standard
20043 To change the section independent numbering, you can use this command in
20044  the document preamble:
20045 \end_layout
20046
20047 \begin_layout Standard
20048
20049 \series bold
20050
20051 \backslash
20052 renewcommand{
20053 \backslash
20054 thetable}{
20055 \backslash
20056 roman{table}}
20057 \end_layout
20058
20059 \begin_layout Standard
20060
20061 \series bold
20062
20063 \backslash
20064 thetable
20065 \series default
20066  is the command that prints the table number, for figure floats, the command
20067  would be 
20068 \series bold
20069
20070 \backslash
20071 thefigure
20072 \series default
20073 .
20074  The command 
20075 \series bold
20076
20077 \backslash
20078 roman
20079 \series default
20080  prints in the command above the table number as small roman number.
20081 \end_layout
20082
20083 \begin_layout Standard
20084 To change the numbering scheme for example to 
20085 \begin_inset Quotes eld
20086 \end_inset
20087
20088 subsection.number
20089 \begin_inset Quotes erd
20090 \end_inset
20091
20092 , use this command in the preamble:
20093 \end_layout
20094
20095 \begin_layout Standard
20096
20097 \series bold
20098
20099 \backslash
20100 numberwithin{table}{subsection}
20101 \end_layout
20102
20103 \begin_layout Standard
20104 To be able to use the command 
20105 \series bold
20106
20107 \backslash
20108 numberwithin
20109 \series default
20110 , set in the tab 
20111 \family sans
20112 Math
20113 \begin_inset space ~
20114 \end_inset
20115
20116 Options
20117 \family default
20118  in the document settings the option 
20119 \family sans
20120 Use
20121 \begin_inset space ~
20122 \end_inset
20123
20124 AMS
20125 \begin_inset space ~
20126 \end_inset
20127
20128 math
20129 \begin_inset space ~
20130 \end_inset
20131
20132 package
20133 \family default
20134 .
20135 \end_layout
20136
20137 \begin_layout Standard
20138 Please also have a look at section
20139 \begin_inset space ~
20140 \end_inset
20141
20142
20143 \begin_inset CommandInset ref
20144 LatexCommand ref
20145 reference "sub:Footnote-Numbering"
20146
20147 \end_inset
20148
20149  for the details and important notes about the numbering commands.
20150 \end_layout
20151
20152 \begin_layout Section
20153 Referencing Floats
20154 \begin_inset CommandInset label
20155 LatexCommand label
20156 name "sec:Referencing-Floats"
20157
20158 \end_inset
20159
20160
20161 \begin_inset Index
20162 status collapsed
20163
20164 \begin_layout Plain Layout
20165 Floats ! References
20166 \end_layout
20167
20168 \end_inset
20169
20170
20171 \begin_inset Index
20172 status collapsed
20173
20174 \begin_layout Plain Layout
20175 References ! to Floats
20176 \end_layout
20177
20178 \end_inset
20179
20180
20181 \end_layout
20182
20183 \begin_layout Standard
20184 To reference a float, insert a label into its caption using the menu 
20185 \family sans
20186 Insert\SpecialChar \menuseparator
20187 Label
20188 \family default
20189  or the toolbar button 
20190 \begin_inset Graphics
20191         filename ../images/label-insert.png
20192         scale 85
20193         scaleBeforeRotation
20194
20195 \end_inset
20196
20197 .
20198  A grey label box like this one: 
20199 \begin_inset Graphics
20200         filename clipart/labelQt4.png
20201         scale 85
20202         scaleBeforeRotation
20203
20204 \end_inset
20205
20206  will be inserted and the label window pops up asking for the label text.
20207  LyX offers as text the first words of the caption with a prefix.
20208  The prefix depends on the float type, e.
20209 \begin_inset space \thinspace{}
20210 \end_inset
20211
20212 g.
20213 \begin_inset space \space{}
20214 \end_inset
20215
20216 for figure floats the prefix will be "
20217 \family sans
20218 fig:
20219 \family default
20220 ".
20221 \end_layout
20222
20223 \begin_layout Standard
20224 The label is used as anchor and name for the reference.
20225  You can refer to the label using the menu 
20226 \family sans
20227 Insert\SpecialChar \menuseparator
20228 Cross-reference
20229 \family default
20230  or the toolbar button 
20231 \begin_inset Graphics
20232         filename ../images/dialog-show-new-inset_ref.png
20233         scale 85
20234         scaleBeforeRotation
20235
20236 \end_inset
20237
20238 .
20239  A grey cross-reference box like this one: 
20240 \begin_inset Graphics
20241         filename clipart/referenceQt4.png
20242         scale 85
20243         scaleBeforeRotation
20244
20245 \end_inset
20246
20247  will be inserted and the cross-reference window appear showing all labels
20248  of the document.
20249  If you have multiple LyX-documents opened, choose the one you are working
20250  on from the drop-list at the top of the dialog.
20251  You can now sort the labels alphabetically and then choose one.
20252  At the position of the cross-reference box the float number will appear
20253  in the output.
20254 \end_layout
20255
20256 \begin_layout Standard
20257 It is recommended to use a protected space between the cross-reference name
20258  and its number to avoid line breaks between them.
20259  If a cross-reference refers to a non-existing label, you will see two question
20260  marks in the output instead of the reference.
20261 \end_layout
20262
20263 \begin_layout Standard
20264 You can change labels at any time by clicking on the label box.
20265  References to the changed label will automatically change its link to the
20266  new label text, so that you don't need to take care about this.
20267 \end_layout
20268
20269 \begin_layout Standard
20270 The button 
20271 \family sans
20272 Go
20273 \begin_inset space ~
20274 \end_inset
20275
20276 to
20277 \begin_inset space ~
20278 \end_inset
20279
20280 Label
20281 \family default
20282  in the cross-reference window sets the cursor before the referred label.
20283  The button text changes then to Go
20284 \begin_inset space ~
20285 \end_inset
20286
20287 Back and you can use it to set the cursor back to the cross-reference.
20288  Right-clicking on a cross-reference box also sets the cursor before the
20289  referenced label but without a possibility to go back.
20290 \end_layout
20291
20292 \begin_layout Subsection
20293 Cross-Reference Formats
20294 \begin_inset CommandInset label
20295 LatexCommand label
20296 name "sub:Cross-Reference-Formats"
20297
20298 \end_inset
20299
20300
20301 \begin_inset Index
20302 status collapsed
20303
20304 \begin_layout Plain Layout
20305 References ! Formats
20306 \end_layout
20307
20308 \end_inset
20309
20310
20311 \end_layout
20312
20313 \begin_layout Standard
20314 There are six varieties of cross-references:
20315 \end_layout
20316
20317 \begin_layout Description
20318 <reference>: prints the float number, this is the default: 
20319 \begin_inset CommandInset ref
20320 LatexCommand ref
20321 reference "fig:Two-distorted-images"
20322
20323 \end_inset
20324
20325
20326 \end_layout
20327
20328 \begin_layout Description
20329 (<reference>): prints the float number within two parentheses, this is the
20330  style normally used to reference formulas, especially when the reference
20331  name 
20332 \begin_inset Quotes eld
20333 \end_inset
20334
20335 Equation
20336 \begin_inset Quotes erd
20337 \end_inset
20338
20339  is omitted: 
20340 \begin_inset CommandInset ref
20341 LatexCommand eqref
20342 reference "eq:Wgn"
20343
20344 \end_inset
20345
20346
20347 \end_layout
20348
20349 \begin_layout Description
20350 <page>: prints the page number: Page
20351 \begin_inset space ~
20352 \end_inset
20353
20354
20355 \begin_inset CommandInset ref
20356 LatexCommand pageref
20357 reference "fig:Two-distorted-images"
20358
20359 \end_inset
20360
20361
20362 \end_layout
20363
20364 \begin_layout Description
20365 on
20366 \begin_inset space ~
20367 \end_inset
20368
20369 page
20370 \begin_inset space ~
20371 \end_inset
20372
20373 <page>: prints the text "on page" and the page number: 
20374 \begin_inset CommandInset ref
20375 LatexCommand vpageref
20376 reference "fig:Two-distorted-images"
20377
20378 \end_inset
20379
20380
20381 \end_layout
20382
20383 \begin_layout Description
20384 <reference>
20385 \begin_inset space ~
20386 \end_inset
20387
20388 on
20389 \begin_inset space ~
20390 \end_inset
20391
20392 page
20393 \begin_inset space ~
20394 \end_inset
20395
20396 <page>: prints the float number, the text "on page", and the page number:
20397  
20398 \begin_inset CommandInset ref
20399 LatexCommand vref
20400 reference "fig:Two-distorted-images"
20401
20402 \end_inset
20403
20404
20405 \end_layout
20406
20407 \begin_layout Description
20408 Formatted
20409 \begin_inset space ~
20410 \end_inset
20411
20412 reference: prints a self defined cross-reference format.
20413  
20414 \begin_inset Note Greyedout
20415 status open
20416
20417 \begin_layout Plain Layout
20418
20419 \series bold
20420 Note:
20421 \series default
20422  This feature is only available when you have the LaTeX-package 
20423 \series bold
20424 prettyref
20425 \series default
20426  installed.
20427 \end_layout
20428
20429 \end_inset
20430
20431
20432 \end_layout
20433
20434 \begin_layout Standard
20435 Note that the style <page> won't print the page number if the label is on
20436  the previous, the same, or the next page.
20437  You will e.
20438 \begin_inset space \thinspace{}
20439 \end_inset
20440
20441 g.
20442 \begin_inset space \space{}
20443 \end_inset
20444
20445 see the text 
20446 \begin_inset Quotes eld
20447 \end_inset
20448
20449
20450 \family sans
20451 on this page
20452 \family default
20453
20454 \begin_inset Quotes erd
20455 \end_inset
20456
20457  instead.
20458 \end_layout
20459
20460 \begin_layout Standard
20461 The number and current page of the referred document part in the output,
20462  is automatically calculated by LaTeX.
20463  The varieties are adjusted in the field 
20464 \family sans
20465 Format
20466 \family default
20467  of the cross-reference window, that appear when you click on the cross-referenc
20468 e box.
20469 \end_layout
20470
20471 \begin_layout Subsection
20472 Automatic Reference Naming
20473 \begin_inset Index
20474 status collapsed
20475
20476 \begin_layout Plain Layout
20477 References ! Automatic Reference Naming
20478 \end_layout
20479
20480 \end_inset
20481
20482
20483 \end_layout
20484
20485 \begin_layout Standard
20486 The LaTeX-package 
20487 \series bold
20488 hyperref
20489 \series default
20490
20491 \begin_inset Index
20492 status collapsed
20493
20494 \begin_layout Plain Layout
20495 LaTeX-packages ! hyperref
20496 \end_layout
20497
20498 \end_inset
20499
20500 , that is enabled in the 
20501 \family sans
20502 PDF Properties
20503 \family default
20504  of the 
20505 \family sans
20506 Document Settings
20507 \family default
20508  dialog, provides a very useful feature that cross-references automatically
20509  include the name of the referenced floats (or text parts like 
20510 \emph on
20511 section
20512 \emph default
20513 ).
20514  So you will save to write e.
20515 \begin_inset space \thinspace{}
20516 \end_inset
20517
20518 g.
20519 \begin_inset space \space{}
20520 \end_inset
20521
20522 the name 
20523 \begin_inset Quotes eld
20524 \end_inset
20525
20526 Figure
20527 \begin_inset Quotes erd
20528 \end_inset
20529
20530  before every reference to a figure.
20531  To use this feature, enable 
20532 \series bold
20533 hyperref
20534 \series default
20535  and insert this line to the LaTeX preamble:
20536 \end_layout
20537
20538 \begin_layout Standard
20539
20540 \series bold
20541
20542 \backslash
20543 AtBeginDocument{
20544 \backslash
20545 renewcommand{
20546 \backslash
20547 ref}[1]{
20548 \backslash
20549 mbox{
20550 \backslash
20551 autoref{#1}}}}
20552 \end_layout
20553
20554 \begin_layout Standard
20555 When you prefer other reference names than the default ones, for example
20556  you want instead of 
20557 \begin_inset Quotes eld
20558 \end_inset
20559
20560 section
20561 \begin_inset Quotes erd
20562 \end_inset
20563
20564  the name 
20565 \begin_inset Quotes eld
20566 \end_inset
20567
20568 sec.
20569 \begin_inset space \thinspace{}
20570 \end_inset
20571
20572
20573 \begin_inset Quotes eld
20574 \end_inset
20575
20576 , you can redefine the name by inserting this to the preamble:
20577 \end_layout
20578
20579 \begin_layout Standard
20580
20581 \series bold
20582
20583 \backslash
20584 addto
20585 \backslash
20586 extrasenglish{
20587 \backslash
20588 renewcommand{
20589 \backslash
20590 sectionautorefname}
20591 \begin_inset Newline newline
20592 \end_inset
20593
20594
20595 \begin_inset ERT
20596 status collapsed
20597
20598 \begin_layout Plain Layout
20599
20600
20601 \backslash
20602 hphantom{ }
20603 \end_layout
20604
20605 \end_inset
20606
20607 {sec.
20608 \backslash
20609 negthinspace}}
20610 \end_layout
20611
20612 \begin_layout Standard
20613 When you are using another document language than English, replace
20614 \begin_inset Newline newline
20615 \end_inset
20616
20617
20618 \series bold
20619
20620 \backslash
20621 extrasenglish
20622 \series default
20623  by 
20624 \series bold
20625
20626 \backslash
20627 extras***
20628 \series default
20629 , where *** is the name of the used language.
20630 \end_layout
20631
20632 \begin_layout Standard
20633 To get automatic names, but not for certain reference types, for example
20634  not for equations, use this preamble code:
20635 \end_layout
20636
20637 \begin_layout Standard
20638
20639 \series bold
20640
20641 \backslash
20642 newlength{
20643 \backslash
20644 abc}
20645 \begin_inset Newline newline
20646 \end_inset
20647
20648
20649 \backslash
20650 settowidth{
20651 \backslash
20652 abc}{
20653 \backslash
20654 space}
20655 \begin_inset Newline newline
20656 \end_inset
20657
20658
20659 \backslash
20660 addto
20661 \backslash
20662 extrasenglish{
20663 \backslash
20664 renewcommand{
20665 \backslash
20666 equationautorefname}
20667 \begin_inset Newline newline
20668 \end_inset
20669
20670
20671 \begin_inset ERT
20672 status collapsed
20673
20674 \begin_layout Plain Layout
20675
20676
20677 \backslash
20678 hphantom{ }
20679 \end_layout
20680
20681 \end_inset
20682
20683 {
20684 \backslash
20685 hspace{-
20686 \backslash
20687 abc}}
20688 \end_layout
20689
20690 \begin_layout Standard
20691 More about this topic can be found in 
20692 \series bold
20693 hyperref
20694 \series default
20695 's documentation 
20696 \begin_inset CommandInset citation
20697 LatexCommand cite
20698 key "hyperref"
20699
20700 \end_inset
20701
20702 .
20703 \end_layout
20704
20705 \begin_layout Standard
20706 \begin_inset Note Greyedout
20707 status open
20708
20709 \begin_layout Plain Layout
20710
20711 \series bold
20712 Note:
20713 \series default
20714  Automatic reference naming cannot be used when you use cross-references
20715  in the 
20716 \family sans
20717 Formatted
20718 \begin_inset space ~
20719 \end_inset
20720
20721 reference
20722 \family default
20723  style, as described in section
20724 \begin_inset space ~
20725 \end_inset
20726
20727
20728 \begin_inset CommandInset ref
20729 LatexCommand ref
20730 reference "sub:Cross-Reference-Formats"
20731
20732 \end_inset
20733
20734 .
20735 \end_layout
20736
20737 \end_inset
20738
20739
20740 \end_layout
20741
20742 \begin_layout Standard
20743 The 
20744 \emph on
20745 Math
20746 \emph default
20747  manual is an example where automatic reference naming is used.
20748 \end_layout
20749
20750 \begin_layout Subsection
20751 Reference Position
20752 \begin_inset CommandInset label
20753 LatexCommand label
20754 name "sub:Reference-Position"
20755
20756 \end_inset
20757
20758
20759 \begin_inset Index
20760 status collapsed
20761
20762 \begin_layout Plain Layout
20763 References ! Reference Position
20764 \end_layout
20765
20766 \end_inset
20767
20768
20769 \end_layout
20770
20771 \begin_layout Standard
20772 If you use 
20773 \series bold
20774 hyperref
20775 \series default
20776
20777 \begin_inset Index
20778 status collapsed
20779
20780 \begin_layout Plain Layout
20781 LaTeX-packages ! hyperref
20782 \end_layout
20783
20784 \end_inset
20785
20786  in the 
20787 \family sans
20788 PDF Properties
20789 \family default
20790  of the 
20791 \family sans
20792 Document Settings
20793 \family default
20794  dialog to link cross-references in the output, you will see that clicking
20795  on an image float reference jumps to the image label.
20796  The caption will be the first text part on the screen, so that you cannot
20797  see the image without scrolling.
20798  This is because the reference link anchor is placed at the position of
20799  the label.
20800  With the use of the package 
20801 \series bold
20802 hypcap
20803 \series default
20804
20805 \begin_inset Index
20806 status collapsed
20807
20808 \begin_layout Plain Layout
20809 LaTeX-packages ! hypcap
20810 \end_layout
20811
20812 \end_inset
20813
20814 , which is part of the LaTeX-package 
20815 \series bold
20816 oberdiek
20817 \series default
20818
20819 \begin_inset Index
20820 status collapsed
20821
20822 \begin_layout Plain Layout
20823 LaTeX-packages ! oberdiek
20824 \end_layout
20825
20826 \end_inset
20827
20828 , the link anchor is placed at the beginning of a float.
20829  To use this feature for figure floats, load 
20830 \series bold
20831 hypcap
20832 \series default
20833  in the document preamble with the line
20834 \end_layout
20835
20836 \begin_layout Standard
20837
20838 \series bold
20839
20840 \backslash
20841 usepackage[figure]{hypcap}
20842 \end_layout
20843
20844 \begin_layout Standard
20845 You can also use 
20846 \series bold
20847 hypcap
20848 \series default
20849  for all float types but this is not recommended for stability reasons.
20850  For more information, have a look at 
20851 \series bold
20852 hypcap
20853 \series default
20854 's manual 
20855 \begin_inset CommandInset citation
20856 LatexCommand cite
20857 key "hypcap"
20858
20859 \end_inset
20860
20861 .
20862 \end_layout
20863
20864 \begin_layout Standard
20865 \begin_inset Note Greyedout
20866 status open
20867
20868 \begin_layout Plain Layout
20869
20870 \series bold
20871 Note:
20872 \series default
20873  
20874 \series bold
20875 hypcap
20876 \series default
20877  has no effect for references to subfigures.
20878 \end_layout
20879
20880 \end_inset
20881
20882
20883 \end_layout
20884
20885 \begin_layout Section
20886 Float Placement
20887 \begin_inset CommandInset label
20888 LatexCommand label
20889 name "sec:Float-Placement"
20890
20891 \end_inset
20892
20893
20894 \begin_inset Index
20895 status collapsed
20896
20897 \begin_layout Plain Layout
20898 Floats ! Placement
20899 \end_layout
20900
20901 \end_inset
20902
20903
20904 \end_layout
20905
20906 \begin_layout Standard
20907 Right-clicking on a float-box opens a dialog where you can alter the placement
20908  options that LaTeX uses for positioning the float.
20909 \begin_inset Newline newline
20910 \end_inset
20911
20912 The option 
20913 \family sans
20914 Span
20915 \begin_inset space ~
20916 \end_inset
20917
20918 columns
20919 \family default
20920  is only useful for two-column documents: If you select it, the float will
20921  span across both columns on the page instead of being confined to just
20922  one.
20923 \begin_inset Newline newline
20924 \end_inset
20925
20926 The option 
20927 \family sans
20928 Rotate
20929 \begin_inset space ~
20930 \end_inset
20931
20932 sideways
20933 \family default
20934  is used to rotate floats, see section 
20935 \begin_inset CommandInset ref
20936 LatexCommand ref
20937 reference "sec:Rotated-Floats"
20938
20939 \end_inset
20940
20941 .
20942 \end_layout
20943
20944 \begin_layout Standard
20945 You can use one ore more of the following options in the float dialog to
20946  set the placement for a particular float when you uncheck the option 
20947 \family sans
20948 Use
20949 \begin_inset space ~
20950 \end_inset
20951
20952 default
20953 \begin_inset space ~
20954 \end_inset
20955
20956 placement
20957 \family default
20958 :
20959 \end_layout
20960
20961 \begin_layout Description
20962 Here
20963 \begin_inset space ~
20964 \end_inset
20965
20966 if
20967 \begin_inset space ~
20968 \end_inset
20969
20970 possible try to place the float on the position where it is inserted
20971 \end_layout
20972
20973 \begin_layout Description
20974 Top
20975 \begin_inset space ~
20976 \end_inset
20977
20978 of
20979 \begin_inset space ~
20980 \end_inset
20981
20982 page try to place the float on the top of the current page
20983 \end_layout
20984
20985 \begin_layout Description
20986 Bottom
20987 \begin_inset space ~
20988 \end_inset
20989
20990 of
20991 \begin_inset space ~
20992 \end_inset
20993
20994 page try to place the float on the bottom of the current page
20995 \end_layout
20996
20997 \begin_layout Description
20998 Page
20999 \begin_inset space ~
21000 \end_inset
21001
21002 of
21003 \begin_inset space ~
21004 \end_inset
21005
21006 floats try to place the float on an own page 
21007 \end_layout
21008
21009 \begin_layout Standard
21010 The order of the above option is 
21011 \emph on
21012 always
21013 \emph default
21014  used by LaTeX.
21015  That means, if you use the default placement, LaTeX will first try out
21016  
21017 \family sans
21018 Here
21019 \begin_inset space ~
21020 \end_inset
21021
21022 if
21023 \begin_inset space ~
21024 \end_inset
21025
21026 possible
21027 \family default
21028 , then 
21029 \family sans
21030 Top
21031 \begin_inset space ~
21032 \end_inset
21033
21034 of
21035 \begin_inset space ~
21036 \end_inset
21037
21038 page
21039 \family default
21040 , and then the others.
21041  If you don't use the default, LaTeX will try only the checked options but
21042  in the same order.
21043  If none of the 4 placements are possible the procedure is internally repeated
21044  but it is tried to put the float on the following page.
21045 \end_layout
21046
21047 \begin_layout Standard
21048 By default, each option has its own rules:
21049 \end_layout
21050
21051 \begin_layout Labeling
21052 \labelwidthstring 00.00.0000
21053
21054 \family sans
21055 Top
21056 \begin_inset space ~
21057 \end_inset
21058
21059 of
21060 \begin_inset space ~
21061 \end_inset
21062
21063 page
21064 \family default
21065  only floats occupying less than 70
21066 \begin_inset space \thinspace{}
21067 \end_inset
21068
21069 % of the page can be placed at the top of a page (
21070 \series bold
21071
21072 \backslash
21073 topfraction
21074 \series default
21075 )
21076 \end_layout
21077
21078 \begin_layout Labeling
21079 \labelwidthstring 00.00.0000
21080
21081 \family sans
21082 Bottom
21083 \begin_inset space ~
21084 \end_inset
21085
21086 of
21087 \begin_inset space ~
21088 \end_inset
21089
21090 page
21091 \family default
21092 : only floats occupying less than 30
21093 \begin_inset space \thinspace{}
21094 \end_inset
21095
21096 % of the page can be placed at the bottom of a page.
21097  (
21098 \series bold
21099
21100 \backslash
21101 bottomfraction
21102 \series default
21103 )
21104 \end_layout
21105
21106 \begin_layout Labeling
21107 \labelwidthstring 00.00.0000
21108
21109 \family sans
21110 Page
21111 \begin_inset space ~
21112 \end_inset
21113
21114 of
21115 \begin_inset space ~
21116 \end_inset
21117
21118 floats
21119 \family default
21120 : only if more than 50
21121 \begin_inset space \thinspace{}
21122 \end_inset
21123
21124 % of the page are occupied by floats, several floats can be set together
21125  on a page.
21126  (
21127 \series bold
21128
21129 \backslash
21130 floatpagefraction
21131 \series default
21132 )
21133 \end_layout
21134
21135 \begin_layout Standard
21136 If you don't like these rules, you can ignore them by using the additional
21137  option 
21138 \family sans
21139 Ignore
21140 \begin_inset space ~
21141 \end_inset
21142
21143 LaTeX
21144 \begin_inset space ~
21145 \end_inset
21146
21147 rules
21148 \family default
21149 .
21150 \begin_inset Newline newline
21151 \end_inset
21152
21153 You can also redefine the rules with LaTeX-commands that are given in parenthese
21154 s behind the rules description above.
21155  To increase for example the often too small default of the bottom-rule
21156  to 50
21157 \begin_inset space \thinspace{}
21158 \end_inset
21159
21160 % of the page, add this line to your document preamble:
21161 \end_layout
21162
21163 \begin_layout Standard
21164
21165 \series bold
21166
21167 \backslash
21168 renewcommand{
21169 \backslash
21170 bottomfraction}{0.5}
21171 \end_layout
21172
21173 \begin_layout Standard
21174 Sometimes you might need, under all circumstances, a float to be placed
21175  exactly at the position where it is inserted.
21176  For this case you can use the option 
21177 \family sans
21178 Here
21179 \begin_inset space ~
21180 \end_inset
21181
21182 definitely
21183 \family default
21184 .
21185  Use this option very rarely and only if the document is nearly ready to
21186  be printed.
21187  Because the float is then no longer able to 
21188 \begin_inset Quotes eld
21189 \end_inset
21190
21191 float
21192 \begin_inset Quotes erd
21193 \end_inset
21194
21195  when you change your document and this will often destroy the page layout.
21196 \end_layout
21197
21198 \begin_layout Standard
21199 There are no placement options for text wrap floats, because they are always
21200  surrounded by the text of a certain paragraph.
21201 \begin_inset VSpace bigskip
21202 \end_inset
21203
21204
21205 \end_layout
21206
21207 \begin_layout Standard
21208 Sometimes you have the problem that a float is placed at the top of a page
21209  while its corresponding section starts at the middle of the page, so that
21210  the reader could think the float is part of the previous section.
21211  To avoid this the LaTeX-command 
21212 \series bold
21213
21214 \backslash
21215 suppressfloats
21216 \series default
21217  can be used.
21218  It suppresses a given float placement for the page where it is inserted
21219  and can therefore be used to avoid that floats could be set before a section
21220  starts.
21221  To get this, add these commands to your document preamble:
21222 \end_layout
21223
21224 \begin_layout Standard
21225
21226 \series bold
21227
21228 \backslash
21229 let
21230 \backslash
21231 mySection
21232 \backslash
21233 section
21234 \begin_inset Newline newline
21235 \end_inset
21236
21237
21238 \backslash
21239 renewcommand{
21240 \backslash
21241 section}{
21242 \backslash
21243 suppressfloats[t]
21244 \backslash
21245 mySection}
21246 \end_layout
21247
21248 \begin_layout Standard
21249 You can define the same for all section headings, like chapters and subsections.
21250  This definition is not recommended to be used for small text parts like
21251  subsubsections because LaTeX may then have problems to find a suitable
21252  placement.
21253 \end_layout
21254
21255 \begin_layout Standard
21256 \begin_inset VSpace bigskip
21257 \end_inset
21258
21259 In some cases it is required to have all figures/tables at the end of the
21260  document.
21261  For this purpose the LaTeX-package 
21262 \series bold
21263 endfloat
21264 \series default
21265
21266 \begin_inset Index
21267 status collapsed
21268
21269 \begin_layout Plain Layout
21270 LaTeX-packages ! endfloat
21271 \end_layout
21272
21273 \end_inset
21274
21275  was developed.
21276  It puts all figure and table floats at the end of the document into own
21277  sections.
21278  At the original float position a text hint like 
21279 \begin_inset Quotes eld
21280 \end_inset
21281
21282
21283 \family sans
21284 [Figure
21285 \begin_inset space ~
21286 \end_inset
21287
21288 3.2 about here.]
21289 \family default
21290
21291 \begin_inset Quotes erd
21292 \end_inset
21293
21294  is inserted.
21295  The endfloat-package is loaded in the preamble with the line
21296 \end_layout
21297
21298 \begin_layout Standard
21299
21300 \series bold
21301
21302 \backslash
21303 usepackage[options]{endfloat}
21304 \end_layout
21305
21306 \begin_layout Standard
21307 There are various package options to format the created figure/table sections.
21308  For more information we refer to the 
21309 \series bold
21310 endfloat
21311 \series default
21312  documentation 
21313 \begin_inset CommandInset citation
21314 LatexCommand cite
21315 key "endfloat"
21316
21317 \end_inset
21318
21319 .
21320 \begin_inset Newline newline
21321 \end_inset
21322
21323
21324 \begin_inset Note Greyedout
21325 status open
21326
21327 \begin_layout Plain Layout
21328
21329 \series bold
21330 Note: endfloat
21331 \series default
21332  doesn't provide an automatic translation for the text hint, you have to
21333  do this manually, see section
21334 \begin_inset space ~
21335 \end_inset
21336
21337 4 in 
21338 \begin_inset CommandInset citation
21339 LatexCommand cite
21340 key "endfloat"
21341
21342 \end_inset
21343
21344 .
21345 \end_layout
21346
21347 \end_inset
21348
21349
21350 \begin_inset Newline newline
21351 \end_inset
21352
21353
21354 \begin_inset Note Greyedout
21355 status open
21356
21357 \begin_layout Plain Layout
21358
21359 \series bold
21360 Note:
21361 \series default
21362  There is currently a bug in 
21363 \series bold
21364 endfloat
21365 \series default
21366  when the caption contains a German 
21367 \begin_inset Quotes eld
21368 \end_inset
21369
21370 ß
21371 \begin_inset Quotes erd
21372 \end_inset
21373
21374 .
21375  Use in this case the command 
21376 \begin_inset Quotes eld
21377 \end_inset
21378
21379
21380 \series bold
21381
21382 \backslash
21383 ss
21384 \series default
21385
21386 \begin_inset Quotes erd
21387 \end_inset
21388
21389  in TeX-Code instead of 
21390 \begin_inset Quotes eld
21391 \end_inset
21392
21393 ß
21394 \begin_inset Quotes erd
21395 \end_inset
21396
21397 .
21398 \end_layout
21399
21400 \end_inset
21401
21402
21403 \end_layout
21404
21405 \begin_layout Standard
21406 \begin_inset VSpace bigskip
21407 \end_inset
21408
21409 For more details about float placements, have a look at LaTeX books, 
21410 \begin_inset CommandInset citation
21411 LatexCommand cite
21412 key "latexcompanion,latexguide,latexbook"
21413
21414 \end_inset
21415
21416 .
21417 \end_layout
21418
21419 \begin_layout Section
21420 Rotated Floats
21421 \begin_inset CommandInset label
21422 LatexCommand label
21423 name "sec:Rotated-Floats"
21424
21425 \end_inset
21426
21427
21428 \begin_inset Index
21429 status collapsed
21430
21431 \begin_layout Plain Layout
21432 Floats ! Rotating
21433 \end_layout
21434
21435 \end_inset
21436
21437
21438 \end_layout
21439
21440 \begin_layout Standard
21441 Especially for wide tables you might have floats rotated.
21442  To rotate a whole float including the caption, right-click on the float-box
21443  and use the option 
21444 \family sans
21445 Rotate
21446 \begin_inset space ~
21447 \end_inset
21448
21449 sideways
21450 \family default
21451 .
21452 \end_layout
21453
21454 \begin_layout Standard
21455 Rotated floats are always placed on its own page (or column, in case you
21456  have a multi-column document).
21457  You can let them span several columns using the float settings option 
21458 \family sans
21459 Span
21460 \begin_inset space ~
21461 \end_inset
21462
21463 columns
21464 \family default
21465 .
21466  Floats are rotated so that you can read them from the outside margin.
21467  To force a certain rotation direction for all pages, you can add either
21468  the option 
21469 \series bold
21470 figuresleft
21471 \series default
21472  or 
21473 \series bold
21474 figuresright
21475 \series default
21476  to the document class options.
21477 \end_layout
21478
21479 \begin_layout Standard
21480 Referencing rotated floats is the same like for normal floats, the caption
21481  format is also the same: Table
21482 \begin_inset space ~
21483 \end_inset
21484
21485
21486 \begin_inset CommandInset ref
21487 LatexCommand ref
21488 reference "tab:Rotated-table"
21489
21490 \end_inset
21491
21492  is an example of a rotated table float.
21493 \end_layout
21494
21495 \begin_layout Standard
21496 \begin_inset Note Greyedout
21497 status open
21498
21499 \begin_layout Plain Layout
21500
21501 \series bold
21502 Note:
21503 \series default
21504  Not all DVI-viewers are able to display rotated floats.
21505 \end_layout
21506
21507 \end_inset
21508
21509
21510 \end_layout
21511
21512 \begin_layout Standard
21513 \begin_inset Float table
21514 wide false
21515 sideways true
21516 status open
21517
21518 \begin_layout Plain Layout
21519 \begin_inset Caption
21520
21521 \begin_layout Plain Layout
21522 \begin_inset CommandInset label
21523 LatexCommand label
21524 name "tab:Rotated-table"
21525
21526 \end_inset
21527
21528  Rotated table
21529 \end_layout
21530
21531 \end_inset
21532
21533
21534 \end_layout
21535
21536 \begin_layout Plain Layout
21537 \align center
21538 \begin_inset Tabular
21539 <lyxtabular version="3" rows="1" columns="5">
21540 <features>
21541 <column alignment="center" valignment="top" width="0">
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 <row>
21547 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21548 \begin_inset Text
21549
21550 \begin_layout Plain Layout
21551 test
21552 \end_layout
21553
21554 \end_inset
21555 </cell>
21556 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21557 \begin_inset Text
21558
21559 \begin_layout Plain Layout
21560 b
21561 \end_layout
21562
21563 \end_inset
21564 </cell>
21565 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21566 \begin_inset Text
21567
21568 \begin_layout Plain Layout
21569 c
21570 \end_layout
21571
21572 \end_inset
21573 </cell>
21574 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21575 \begin_inset Text
21576
21577 \begin_layout Plain Layout
21578 d
21579 \end_layout
21580
21581 \end_inset
21582 </cell>
21583 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21584 \begin_inset Text
21585
21586 \begin_layout Plain Layout
21587 e
21588 \end_layout
21589
21590 \end_inset
21591 </cell>
21592 </row>
21593 </lyxtabular>
21594
21595 \end_inset
21596
21597
21598 \end_layout
21599
21600 \end_inset
21601
21602
21603 \end_layout
21604
21605 \begin_layout Section
21606 Floats Side by Side
21607 \begin_inset Index
21608 status collapsed
21609
21610 \begin_layout Plain Layout
21611 Floats ! Side by side
21612 \end_layout
21613
21614 \end_inset
21615
21616
21617 \end_layout
21618
21619 \begin_layout Standard
21620 To place floats side by side, like for Figure
21621 \begin_inset space ~
21622 \end_inset
21623
21624
21625 \begin_inset CommandInset ref
21626 LatexCommand ref
21627 reference "fig:Float-left"
21628
21629 \end_inset
21630
21631  and 
21632 \begin_inset CommandInset ref
21633 LatexCommand ref
21634 reference "fig:Float-right"
21635
21636 \end_inset
21637
21638 , only 
21639 \emph on
21640 one
21641 \emph default
21642  float is used.
21643  In it two minipage boxes are inserted.
21644 \begin_inset Foot
21645 status collapsed
21646
21647 \begin_layout Plain Layout
21648 Minipages are explained in section
21649 \begin_inset space ~
21650 \end_inset
21651
21652
21653 \begin_inset CommandInset ref
21654 LatexCommand ref
21655 reference "sec:Minipages"
21656
21657 \end_inset
21658
21659 .
21660 \end_layout
21661
21662 \end_inset
21663
21664  The width is set to 45
21665 \begin_inset space \thinspace{}
21666 \end_inset
21667
21668 -50
21669 \begin_inset space \thinspace{}
21670 \end_inset
21671
21672 column% and the box alignment to 
21673 \family sans
21674 Bottom
21675 \family default
21676  for each minipage.
21677  The minipage boxes contain the image and the caption in the same way as
21678  they are in a float.
21679  The only difference is that the image unit 
21680 \family sans
21681 Column
21682 \begin_inset space ~
21683 \end_inset
21684
21685 Width
21686 \begin_inset space ~
21687 \end_inset
21688
21689 %
21690 \family default
21691  is now calculated according to the width of the minipage boxes.
21692 \end_layout
21693
21694 \begin_layout Standard
21695 \begin_inset Float figure
21696 wide false
21697 sideways false
21698 status open
21699
21700 \begin_layout Plain Layout
21701 \begin_inset Box Frameless
21702 position "b"
21703 hor_pos "c"
21704 has_inner_box 1
21705 inner_pos "t"
21706 use_parbox 0
21707 width "45col%"
21708 special "none"
21709 height "1in"
21710 height_special "totalheight"
21711 status open
21712
21713 \begin_layout Plain Layout
21714 \align center
21715 \begin_inset Graphics
21716         filename clipart/mobius.eps
21717         lyxscale 50
21718         width 100col%
21719         scaleBeforeRotation
21720
21721 \end_inset
21722
21723
21724 \end_layout
21725
21726 \begin_layout Plain Layout
21727 \begin_inset Caption
21728
21729 \begin_layout Plain Layout
21730 \begin_inset CommandInset label
21731 LatexCommand label
21732 name "fig:Float-left"
21733
21734 \end_inset
21735
21736 Float on the left side.
21737 \end_layout
21738
21739 \end_inset
21740
21741
21742 \end_layout
21743
21744 \end_inset
21745
21746
21747 \begin_inset space \hfill{}
21748 \end_inset
21749
21750
21751 \begin_inset Box Frameless
21752 position "b"
21753 hor_pos "c"
21754 has_inner_box 1
21755 inner_pos "t"
21756 use_parbox 0
21757 width "45col%"
21758 special "none"
21759 height "1in"
21760 height_special "totalheight"
21761 status open
21762
21763 \begin_layout Plain Layout
21764 \align center
21765 \begin_inset Graphics
21766         filename clipart/platypus.eps
21767         lyxscale 50
21768         width 100col%
21769         scaleBeforeRotation
21770
21771 \end_inset
21772
21773
21774 \end_layout
21775
21776 \begin_layout Plain Layout
21777 \begin_inset Caption
21778
21779 \begin_layout Plain Layout
21780 \begin_inset CommandInset label
21781 LatexCommand label
21782 name "fig:Float-right"
21783
21784 \end_inset
21785
21786 Float on the right side.
21787 \end_layout
21788
21789 \end_inset
21790
21791
21792 \end_layout
21793
21794 \end_inset
21795
21796
21797 \end_layout
21798
21799 \begin_layout Plain Layout
21800
21801 \end_layout
21802
21803 \end_inset
21804
21805
21806 \end_layout
21807
21808 \begin_layout Section
21809 Caption Formatting
21810 \begin_inset Index
21811 status collapsed
21812
21813 \begin_layout Plain Layout
21814 Caption ! Formatting
21815 \end_layout
21816
21817 \end_inset
21818
21819
21820 \begin_inset Index
21821 status collapsed
21822
21823 \begin_layout Plain Layout
21824 Floats ! Caption Formatting
21825 \end_layout
21826
21827 \end_inset
21828
21829
21830 \begin_inset CommandInset label
21831 LatexCommand label
21832 name "sec:Caption-Formatting"
21833
21834 \end_inset
21835
21836
21837 \end_layout
21838
21839 \begin_layout Standard
21840 The 
21841 \family sans
21842 Caption
21843 \family default
21844  environment is the default paragraph environment for 
21845 \family sans
21846 Floats
21847 \family default
21848 .
21849  On the LyX screen captions appear as label, e.
21850 \begin_inset space \thinspace{}
21851 \end_inset
21852
21853 g.
21854 \begin_inset space \space{}
21855 \end_inset
21856
21857
21858 \begin_inset Quotes eld
21859 \end_inset
21860
21861
21862 \family sans
21863 Figure #:
21864 \family default
21865
21866 \begin_inset Quotes erd
21867 \end_inset
21868
21869  followed by the caption text.
21870  
21871 \begin_inset Quotes eld
21872 \end_inset
21873
21874 #
21875 \begin_inset Quotes erd
21876 \end_inset
21877
21878  is the actual reference number.
21879  By default the label and the number are in the same font as the caption
21880  text and a colon follows the number to divide the label from the text.
21881  This caption format is not suitable for all document formats.
21882  
21883 \end_layout
21884
21885 \begin_layout Standard
21886 To change the default caption format, load the LaTeX-package 
21887 \series bold
21888 caption
21889 \series default
21890
21891 \begin_inset Index
21892 status collapsed
21893
21894 \begin_layout Plain Layout
21895 LaTeX-packages ! caption
21896 \end_layout
21897
21898 \end_inset
21899
21900  in the document preamble with this line:
21901 \end_layout
21902
21903 \begin_layout Standard
21904
21905 \series bold
21906
21907 \backslash
21908 usepackage[format definition]{caption}
21909 \end_layout
21910
21911 \begin_layout Standard
21912 To have for example the label and the number in sans-serif bold font and
21913  the table captions always above the table like in this document, use the
21914  following command:
21915 \end_layout
21916
21917 \begin_layout Standard
21918
21919 \series bold
21920
21921 \backslash
21922 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
21923 \end_layout
21924
21925 \begin_layout Standard
21926 You can also define different caption formats for the different float types.
21927  In this case load the 
21928 \series bold
21929 caption
21930 \series default
21931  package without format specific options and define the different formats
21932  with the help of the command
21933 \end_layout
21934
21935 \begin_layout Standard
21936
21937 \series bold
21938
21939 \backslash
21940 captionsetup[float type]{format definition}
21941 \end_layout
21942
21943 \begin_layout Standard
21944 in the document preamble.
21945  For example the caption formats of Figure
21946 \begin_inset space ~
21947 \end_inset
21948
21949
21950 \begin_inset CommandInset ref
21951 LatexCommand ref
21952 reference "fig:This-is-an-fig"
21953
21954 \end_inset
21955
21956  and Table
21957 \begin_inset space ~
21958 \end_inset
21959
21960
21961 \begin_inset CommandInset ref
21962 LatexCommand ref
21963 reference "tab:This-is-an-tab"
21964
21965 \end_inset
21966
21967  can be created using these commands in the document preamble:
21968 \end_layout
21969
21970 \begin_layout Standard
21971
21972 \series bold
21973
21974 \backslash
21975 usepackage[tableposition=top]{caption}
21976 \series default
21977
21978 \begin_inset Newline newline
21979 \end_inset
21980
21981
21982 \series bold
21983
21984 \backslash
21985 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
21986 \begin_inset Newline newline
21987 \end_inset
21988
21989
21990 \begin_inset ERT
21991 status collapsed
21992
21993 \begin_layout Plain Layout
21994
21995
21996 \backslash
21997 hphantom{
21998 \backslash
21999
22000 \backslash
22001 captionsetup[figure]
22002 \backslash
22003 {}
22004 \end_layout
22005
22006 \end_inset
22007
22008  labelsep=period}
22009 \begin_inset Newline newline
22010 \end_inset
22011
22012
22013 \backslash
22014 captionsetup[table]{labelfont={bf,sf}}
22015 \end_layout
22016
22017 \begin_layout Standard
22018 \begin_inset Note Greyedout
22019 status open
22020
22021 \begin_layout Plain Layout
22022
22023 \series bold
22024 Note:
22025 \series default
22026  The option 
22027 \series bold
22028 tableposition=top
22029 \series default
22030  has no effect when a 
22031 \series bold
22032 koma-script
22033 \series default
22034
22035 \begin_inset Index
22036 status collapsed
22037
22038 \begin_layout Plain Layout
22039 LaTeX-packages ! koma-script
22040 \end_layout
22041
22042 \end_inset
22043
22044  document class is used.
22045  In this case the document class option 
22046 \series bold
22047 tablecaptionabove
22048 \series default
22049  must be used.
22050 \end_layout
22051
22052 \end_inset
22053
22054
22055 \end_layout
22056
22057 \begin_layout Standard
22058 For more information about the package 
22059 \series bold
22060 caption
22061 \series default
22062  we refer to its documentation 
22063 \begin_inset CommandInset citation
22064 LatexCommand cite
22065 key "caption"
22066
22067 \end_inset
22068
22069 .
22070 \end_layout
22071
22072 \begin_layout Standard
22073 To change the label name from e.
22074 \begin_inset space \thinspace{}
22075 \end_inset
22076
22077 g.
22078 \begin_inset space \space{}
22079 \end_inset
22080
22081
22082 \begin_inset Quotes eld
22083 \end_inset
22084
22085 Figure
22086 \begin_inset Quotes erd
22087 \end_inset
22088
22089  to 
22090 \begin_inset Quotes eld
22091 \end_inset
22092
22093 Image
22094 \begin_inset Quotes erd
22095 \end_inset
22096
22097  use this preamble command:
22098 \end_layout
22099
22100 \begin_layout Standard
22101
22102 \series bold
22103
22104 \backslash
22105 renewcommand{
22106 \backslash
22107 fnum@figure}{Image~
22108 \backslash
22109 thefigure}
22110 \end_layout
22111
22112 \begin_layout Standard
22113 where 
22114 \series bold
22115
22116 \backslash
22117 thefigure
22118 \series default
22119  inserts the figure number and
22120 \series bold
22121  
22122 \begin_inset Quotes eld
22123 \end_inset
22124
22125 ~
22126 \series default
22127
22128 \begin_inset Quotes erd
22129 \end_inset
22130
22131  creates a protected space.
22132 \end_layout
22133
22134 \begin_layout Standard
22135 \begin_inset VSpace bigskip
22136 \end_inset
22137
22138 If you are using a 
22139 \series bold
22140 koma-script
22141 \series default
22142
22143 \begin_inset Index
22144 status collapsed
22145
22146 \begin_layout Plain Layout
22147 LaTeX-packages ! koma-script
22148 \end_layout
22149
22150 \end_inset
22151
22152  document class (
22153 \family sans
22154 article (koma-script)
22155 \family default
22156
22157 \family sans
22158 book (koma-script)
22159 \family default
22160
22161 \family sans
22162 letter (koma-script)
22163 \family default
22164 , or 
22165 \family sans
22166 report (koma-script)
22167 \family default
22168
22169 \begin_inset space \thinspace{}
22170 \end_inset
22171
22172 ), you can alternatively to the 
22173 \series bold
22174 caption
22175 \series default
22176  package use 
22177 \series bold
22178 koma-script
22179 \series default
22180 's built-in command 
22181 \series bold
22182
22183 \backslash
22184 setkomafont
22185 \series default
22186 .
22187  For example, to have the caption label in bold, add this command to your
22188  document preamble:
22189 \end_layout
22190
22191 \begin_layout Standard
22192
22193 \series bold
22194
22195 \backslash
22196 setkomafont{captionlabel}{
22197 \backslash
22198 bfseries}
22199 \end_layout
22200
22201 \begin_layout Standard
22202 For more information about 
22203 \series bold
22204
22205 \backslash
22206 setkomafont
22207 \series default
22208  we refer to the 
22209 \series bold
22210 koma-script
22211 \series default
22212  documentation 
22213 \begin_inset CommandInset citation
22214 LatexCommand cite
22215 key "koma-script"
22216
22217 \end_inset
22218
22219 .
22220 \end_layout
22221
22222 \begin_layout Standard
22223 \begin_inset ERT
22224 status collapsed
22225
22226 \begin_layout Plain Layout
22227
22228
22229 \backslash
22230 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
22231 }
22232 \end_layout
22233
22234 \end_inset
22235
22236
22237 \begin_inset Note Note
22238 status open
22239
22240 \begin_layout Plain Layout
22241 The caption format is changed only for this example.
22242 \end_layout
22243
22244 \end_inset
22245
22246
22247 \end_layout
22248
22249 \begin_layout Standard
22250 \begin_inset Float figure
22251 placement !p
22252 wide false
22253 sideways false
22254 status open
22255
22256 \begin_layout Plain Layout
22257 \align center
22258 \begin_inset Graphics
22259         filename clipart/mobius.eps
22260         lyxscale 50
22261         scale 50
22262         scaleBeforeRotation
22263
22264 \end_inset
22265
22266
22267 \end_layout
22268
22269 \begin_layout Plain Layout
22270 \begin_inset Caption
22271
22272 \begin_layout Plain Layout
22273 \begin_inset CommandInset label
22274 LatexCommand label
22275 name "fig:This-is-an-fig"
22276
22277 \end_inset
22278
22279 This is an example figure caption that is longer than one line to show the
22280  different caption format.
22281  Here a self-defined caption format is used.
22282 \end_layout
22283
22284 \end_inset
22285
22286
22287 \end_layout
22288
22289 \end_inset
22290
22291
22292 \end_layout
22293
22294 \begin_layout Standard
22295 \begin_inset ERT
22296 status collapsed
22297
22298 \begin_layout Plain Layout
22299
22300
22301 \backslash
22302 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
22303 on}
22304 \end_layout
22305
22306 \end_inset
22307
22308
22309 \end_layout
22310
22311 \begin_layout Standard
22312 \begin_inset Float table
22313 placement !p
22314 wide false
22315 sideways false
22316 status open
22317
22318 \begin_layout Plain Layout
22319 \begin_inset Caption
22320
22321 \begin_layout Plain Layout
22322 \begin_inset CommandInset label
22323 LatexCommand label
22324 name "tab:This-is-an-tab"
22325
22326 \end_inset
22327
22328 This is an example table caption that is longer than one line to show the
22329  different caption format.
22330  Here the standard caption format for tables in this document is used.
22331 \end_layout
22332
22333 \end_inset
22334
22335
22336 \end_layout
22337
22338 \begin_layout Plain Layout
22339 \align center
22340 \begin_inset Tabular
22341 <lyxtabular version="3" rows="1" columns="5">
22342 <features>
22343 <column alignment="center" valignment="top" width="0">
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 <row>
22349 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22350 \begin_inset Text
22351
22352 \begin_layout Plain Layout
22353 a
22354 \end_layout
22355
22356 \end_inset
22357 </cell>
22358 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22359 \begin_inset Text
22360
22361 \begin_layout Plain Layout
22362 b
22363 \end_layout
22364
22365 \end_inset
22366 </cell>
22367 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22368 \begin_inset Text
22369
22370 \begin_layout Plain Layout
22371 c
22372 \end_layout
22373
22374 \end_inset
22375 </cell>
22376 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22377 \begin_inset Text
22378
22379 \begin_layout Plain Layout
22380 d
22381 \end_layout
22382
22383 \end_inset
22384 </cell>
22385 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22386 \begin_inset Text
22387
22388 \begin_layout Plain Layout
22389 e
22390 \end_layout
22391
22392 \end_inset
22393 </cell>
22394 </row>
22395 </lyxtabular>
22396
22397 \end_inset
22398
22399
22400 \end_layout
22401
22402 \end_inset
22403
22404
22405 \end_layout
22406
22407 \begin_layout Section
22408 Caption Placement
22409 \begin_inset Index
22410 status collapsed
22411
22412 \begin_layout Plain Layout
22413 Caption ! Placement
22414 \end_layout
22415
22416 \end_inset
22417
22418
22419 \begin_inset Index
22420 status collapsed
22421
22422 \begin_layout Plain Layout
22423 Floats ! Caption Placement
22424 \end_layout
22425
22426 \end_inset
22427
22428
22429 \begin_inset CommandInset label
22430 LatexCommand label
22431 name "sec:Caption-Placement"
22432
22433 \end_inset
22434
22435
22436 \end_layout
22437
22438 \begin_layout Standard
22439 The common caption placement rule is:
22440 \end_layout
22441
22442 \begin_layout Description
22443 Figure: Caption is set below the figure
22444 \end_layout
22445
22446 \begin_layout Description
22447 Table: Caption is set above the table
22448 \end_layout
22449
22450 \begin_layout Standard
22451 Having the caption above the table is unfortunately not supported in LaTeX's
22452  standard classes.
22453  That means if you are using the document classes 
22454 \family sans
22455 article
22456 \family default
22457
22458 \family sans
22459 book
22460 \family default
22461
22462 \family sans
22463 letter
22464 \family default
22465 , or 
22466 \family sans
22467 report
22468 \family default
22469  there will be no space between the caption and the table.
22470  To insert the needed space, add the following option to the load command
22471  of the LaTeX-package 
22472 \series bold
22473 caption
22474 \series default
22475  in your document preamble
22476 \begin_inset Foot
22477 status collapsed
22478
22479 \begin_layout Plain Layout
22480 See section
22481 \begin_inset space ~
22482 \end_inset
22483
22484
22485 \begin_inset CommandInset ref
22486 LatexCommand ref
22487 reference "sec:Caption-Formatting"
22488
22489 \end_inset
22490
22491  for more information of the package 
22492 \series bold
22493 caption
22494 \series default
22495 .
22496 \end_layout
22497
22498 \end_inset
22499
22500 :
22501 \end_layout
22502
22503 \begin_layout Standard
22504
22505 \series bold
22506 tableposition=top
22507 \end_layout
22508
22509 \begin_layout Standard
22510 If you are using a 
22511 \series bold
22512 koma-script
22513 \series default
22514
22515 \begin_inset Index
22516 status collapsed
22517
22518 \begin_layout Plain Layout
22519 LaTeX-packages ! koma-script
22520 \end_layout
22521
22522 \end_inset
22523
22524  document class (
22525 \family sans
22526 article (koma-script)
22527 \family default
22528
22529 \family sans
22530 book (koma-script)
22531 \family default
22532
22533 \family sans
22534 letter (koma-script)
22535 \family default
22536 , or 
22537 \family sans
22538 report (koma-script)
22539 \family default
22540
22541 \begin_inset space \thinspace{}
22542 \end_inset
22543
22544 ), you can alternatively to the 
22545 \series bold
22546 caption
22547 \series default
22548  package set the document class option 
22549 \series bold
22550 tablecaptionabove
22551 \series default
22552 .
22553 \end_layout
22554
22555 \begin_layout Standard
22556 \begin_inset VSpace bigskip
22557 \end_inset
22558
22559 It is also possible to set the caption beside a figure or table.
22560  To get this the LaTeX-package 
22561 \series bold
22562 sidecap
22563 \series default
22564
22565 \begin_inset Index
22566 status collapsed
22567
22568 \begin_layout Plain Layout
22569 LaTeX-packages ! sidecap
22570 \end_layout
22571
22572 \end_inset
22573
22574  has to be loaded in the document preamble with the line
22575 \end_layout
22576
22577 \begin_layout Standard
22578
22579 \series bold
22580
22581 \backslash
22582 usepackage[option]{sidecap}
22583 \end_layout
22584
22585 \begin_layout Standard
22586 If you set no option, the caption is placed on the side of the outer page
22587  margin – to the right on odd pages, to the left on even pages.
22588  You can change the placement to inner margin with the option 
22589 \series bold
22590 innercaption
22591 \series default
22592 .
22593  To force the placement always to the right or left, use the option 
22594 \series bold
22595 rightcaption
22596 \series default
22597  or 
22598 \series bold
22599 leftcaption
22600 \series default
22601 , respectively.
22602 \end_layout
22603
22604 \begin_layout Standard
22605 \begin_inset ERT
22606 status collapsed
22607
22608 \begin_layout Plain Layout
22609
22610
22611 \backslash
22612 ifsidecap
22613 \end_layout
22614
22615 \end_inset
22616
22617
22618 \begin_inset Note Note
22619 status open
22620
22621 \begin_layout Plain Layout
22622 The following section will only be displayed when the LaTeX-package 
22623 \series bold
22624 sidecap
22625 \series default
22626  is installed.
22627 \end_layout
22628
22629 \end_inset
22630
22631
22632 \end_layout
22633
22634 \begin_layout Standard
22635 To place in LyX the caption of a float on the side, it is necessary to add
22636  these commands to the document preamble:
22637 \end_layout
22638
22639 \begin_layout Standard
22640
22641 \lyxline
22642
22643 \end_layout
22644
22645 \begin_layout Standard
22646
22647 \series bold
22648
22649 \backslash
22650 newcommand{
22651 \backslash
22652 TabBesBeg}{%
22653 \begin_inset Newline newline
22654 \end_inset
22655
22656
22657 \begin_inset ERT
22658 status collapsed
22659
22660 \begin_layout Plain Layout
22661
22662
22663 \backslash
22664 hphantom{ }
22665 \end_layout
22666
22667 \end_inset
22668
22669
22670 \backslash
22671 let
22672 \backslash
22673 MyTable
22674 \backslash
22675 table
22676 \begin_inset Newline newline
22677 \end_inset
22678
22679
22680 \begin_inset ERT
22681 status collapsed
22682
22683 \begin_layout Plain Layout
22684
22685
22686 \backslash
22687 hphantom{ }
22688 \end_layout
22689
22690 \end_inset
22691
22692
22693 \backslash
22694 let
22695 \backslash
22696 MyEndtable
22697 \backslash
22698 endtable
22699 \begin_inset Newline newline
22700 \end_inset
22701
22702
22703 \begin_inset ERT
22704 status collapsed
22705
22706 \begin_layout Plain Layout
22707
22708
22709 \backslash
22710 hphantom{ }
22711 \end_layout
22712
22713 \end_inset
22714
22715
22716 \backslash
22717 renewenvironment{table}{
22718 \backslash
22719 begin{SCtable}}{
22720 \backslash
22721 end{SCtable}}}
22722 \end_layout
22723
22724 \begin_layout Standard
22725
22726 \series bold
22727
22728 \backslash
22729 newcommand{
22730 \backslash
22731 TabBesEnd}{%
22732 \begin_inset Newline newline
22733 \end_inset
22734
22735
22736 \begin_inset ERT
22737 status collapsed
22738
22739 \begin_layout Plain Layout
22740
22741
22742 \backslash
22743 hphantom{ }
22744 \end_layout
22745
22746 \end_inset
22747
22748
22749 \backslash
22750 let
22751 \backslash
22752 table
22753 \backslash
22754 MyTable
22755 \begin_inset Newline newline
22756 \end_inset
22757
22758
22759 \begin_inset ERT
22760 status collapsed
22761
22762 \begin_layout Plain Layout
22763
22764
22765 \backslash
22766 hphantom{ }
22767 \end_layout
22768
22769 \end_inset
22770
22771
22772 \backslash
22773 let
22774 \backslash
22775 endtable
22776 \backslash
22777 MyEndtable
22778 \end_layout
22779
22780 \begin_layout Standard
22781
22782 \series bold
22783
22784 \backslash
22785 newcommand{
22786 \backslash
22787 FigBesBeg}{%
22788 \begin_inset Newline newline
22789 \end_inset
22790
22791
22792 \begin_inset ERT
22793 status collapsed
22794
22795 \begin_layout Plain Layout
22796
22797
22798 \backslash
22799 hphantom{ }
22800 \end_layout
22801
22802 \end_inset
22803
22804
22805 \backslash
22806 let
22807 \backslash
22808 MyFigure
22809 \backslash
22810 figure
22811 \begin_inset Newline newline
22812 \end_inset
22813
22814
22815 \begin_inset ERT
22816 status collapsed
22817
22818 \begin_layout Plain Layout
22819
22820
22821 \backslash
22822 hphantom{ }
22823 \end_layout
22824
22825 \end_inset
22826
22827
22828 \backslash
22829 let
22830 \backslash
22831 MyEndfigure
22832 \backslash
22833 endfigure
22834 \begin_inset Newline newline
22835 \end_inset
22836
22837
22838 \begin_inset ERT
22839 status collapsed
22840
22841 \begin_layout Plain Layout
22842
22843
22844 \backslash
22845 hphantom{ }
22846 \end_layout
22847
22848 \end_inset
22849
22850
22851 \backslash
22852 renewenvironment{figure}{
22853 \backslash
22854 begin{SCfigure}}{
22855 \backslash
22856 end{SCfigure}}}
22857 \end_layout
22858
22859 \begin_layout Standard
22860
22861 \series bold
22862
22863 \backslash
22864 newcommand{
22865 \backslash
22866 FigBesEnd}{%
22867 \begin_inset Newline newline
22868 \end_inset
22869
22870
22871 \begin_inset ERT
22872 status collapsed
22873
22874 \begin_layout Plain Layout
22875
22876
22877 \backslash
22878 hphantom{ }
22879 \end_layout
22880
22881 \end_inset
22882
22883
22884 \backslash
22885 let
22886 \backslash
22887 figure
22888 \backslash
22889 MyFigure
22890 \begin_inset Newline newline
22891 \end_inset
22892
22893
22894 \begin_inset ERT
22895 status collapsed
22896
22897 \begin_layout Plain Layout
22898
22899
22900 \backslash
22901 hphantom{ }
22902 \end_layout
22903
22904 \end_inset
22905
22906
22907 \backslash
22908 let
22909 \backslash
22910 endfigure
22911 \backslash
22912 MyEndfigure}
22913 \end_layout
22914
22915 \begin_layout Standard
22916
22917 \lyxline
22918
22919 \end_layout
22920
22921 \begin_layout Standard
22922 The commands allow you to redefine the floats so that the caption is set
22923  on the side.
22924  For figure floats use the command
22925 \end_layout
22926
22927 \begin_layout Standard
22928
22929 \series bold
22930
22931 \backslash
22932 FigBesBeg
22933 \end_layout
22934
22935 \begin_layout Standard
22936 in TeX-Code before the float.
22937  Behind the float insert the command
22938 \end_layout
22939
22940 \begin_layout Standard
22941
22942 \series bold
22943
22944 \backslash
22945 FigBesEnd
22946 \end_layout
22947
22948 \begin_layout Standard
22949 in TeX-Code to get back to the original float definition.
22950 \end_layout
22951
22952 \begin_layout Standard
22953 For table floats use the corresponding commands
22954 \end_layout
22955
22956 \begin_layout Standard
22957
22958 \series bold
22959
22960 \backslash
22961 TabBesBeg
22962 \series default
22963  and 
22964 \series bold
22965
22966 \backslash
22967 TabBesEnd
22968 \end_layout
22969
22970 \begin_layout Standard
22971 Figure
22972 \begin_inset space ~
22973 \end_inset
22974
22975
22976 \begin_inset CommandInset ref
22977 LatexCommand ref
22978 reference "fig:cap-beside-fig"
22979
22980 \end_inset
22981
22982  and Table
22983 \begin_inset space ~
22984 \end_inset
22985
22986
22987 \begin_inset CommandInset ref
22988 LatexCommand ref
22989 reference "tab:cap-beside-tab"
22990
22991 \end_inset
22992
22993  are examples where the caption is set beside.
22994 \end_layout
22995
22996 \begin_layout Standard
22997 You can see in the examples that the caption text appears at the top of
22998  the floats for table floats and at the bottom for figure floats.
22999  To change this, you can use the command
23000 \end_layout
23001
23002 \begin_layout Standard
23003
23004 \series bold
23005
23006 \backslash
23007 sidecaptionvpos{float type}{placement}
23008 \end_layout
23009
23010 \begin_layout Standard
23011 in the document preamble or in TeX-Code before the float.
23012  The float type is either 
23013 \family sans
23014 figure
23015 \family default
23016  or 
23017 \family sans
23018 table
23019 \family default
23020 , the placement can be 
23021 \begin_inset Quotes eld
23022 \end_inset
23023
23024
23025 \family sans
23026 t
23027 \family default
23028
23029 \begin_inset Quotes erd
23030 \end_inset
23031
23032  for top, 
23033 \begin_inset Quotes eld
23034 \end_inset
23035
23036
23037 \family sans
23038 c
23039 \family default
23040
23041 \begin_inset Quotes erd
23042 \end_inset
23043
23044  for center, or 
23045 \begin_inset Quotes eld
23046 \end_inset
23047
23048
23049 \family sans
23050 b
23051 \family default
23052
23053 \begin_inset Quotes erd
23054 \end_inset
23055
23056  for bottom.
23057  To have for example the caption of figure floats vertically centered, use
23058  the command
23059 \end_layout
23060
23061 \begin_layout Standard
23062
23063 \series bold
23064
23065 \backslash
23066 sidecaptionvpos{figure}{c}
23067 \end_layout
23068
23069 \begin_layout Standard
23070 This was used for Figure
23071 \begin_inset space ~
23072 \end_inset
23073
23074
23075 \begin_inset CommandInset ref
23076 LatexCommand ref
23077 reference "fig:cap-beside-fig-2"
23078
23079 \end_inset
23080
23081 .
23082 \end_layout
23083
23084 \begin_layout Standard
23085 \begin_inset VSpace medskip
23086 \end_inset
23087
23088 For more information about the package 
23089 \series bold
23090 sidecap
23091 \series default
23092  we refer to its documentation 
23093 \begin_inset CommandInset citation
23094 LatexCommand cite
23095 key "sidecap"
23096
23097 \end_inset
23098
23099 .
23100 \end_layout
23101
23102 \begin_layout Standard
23103 \begin_inset Note Greyedout
23104 status open
23105
23106 \begin_layout Plain Layout
23107
23108 \series bold
23109 Note:
23110 \series default
23111  The LaTeX-package 
23112 \series bold
23113 hypcap
23114 \series default
23115
23116 \begin_inset Index
23117 status collapsed
23118
23119 \begin_layout Plain Layout
23120 LaTeX-packages ! hypcap
23121 \end_layout
23122
23123 \end_inset
23124
23125 , described in section
23126 \begin_inset space ~
23127 \end_inset
23128
23129
23130 \begin_inset CommandInset ref
23131 LatexCommand ref
23132 reference "sub:Reference-Position"
23133
23134 \end_inset
23135
23136 , has no effect on floats with the caption set beside.
23137 \end_layout
23138
23139 \end_inset
23140
23141
23142 \end_layout
23143
23144 \begin_layout Standard
23145 \begin_inset ERT
23146 status collapsed
23147
23148 \begin_layout Plain Layout
23149
23150
23151 \backslash
23152 FigBesBeg 
23153 \end_layout
23154
23155 \end_inset
23156
23157
23158 \end_layout
23159
23160 \begin_layout Standard
23161 \begin_inset Float figure
23162 wide false
23163 sideways false
23164 status open
23165
23166 \begin_layout Plain Layout
23167 \begin_inset Graphics
23168         filename clipart/escher-lsd.eps
23169         scale 75
23170         scaleBeforeRotation
23171
23172 \end_inset
23173
23174
23175 \end_layout
23176
23177 \begin_layout Plain Layout
23178 \begin_inset Caption
23179
23180 \begin_layout Plain Layout
23181 \begin_inset CommandInset label
23182 LatexCommand label
23183 name "fig:cap-beside-fig"
23184
23185 \end_inset
23186
23187 This is a caption beside a figure.
23188 \end_layout
23189
23190 \end_inset
23191
23192
23193 \end_layout
23194
23195 \end_inset
23196
23197
23198 \end_layout
23199
23200 \begin_layout Standard
23201 \begin_inset ERT
23202 status collapsed
23203
23204 \begin_layout Plain Layout
23205
23206
23207 \backslash
23208 TabBesBeg 
23209 \end_layout
23210
23211 \end_inset
23212
23213
23214 \end_layout
23215
23216 \begin_layout Standard
23217 \begin_inset Float table
23218 wide false
23219 sideways false
23220 status open
23221
23222 \begin_layout Plain Layout
23223 \begin_inset Caption
23224
23225 \begin_layout Plain Layout
23226 \begin_inset CommandInset label
23227 LatexCommand label
23228 name "tab:cap-beside-tab"
23229
23230 \end_inset
23231
23232 This is a caption beside a table.
23233 \end_layout
23234
23235 \end_inset
23236
23237
23238 \end_layout
23239
23240 \begin_layout Plain Layout
23241 \begin_inset Tabular
23242 <lyxtabular version="3" rows="4" columns="5">
23243 <features>
23244 <column alignment="center" valignment="top" width="0">
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 <row>
23250 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23251 \begin_inset Text
23252
23253 \begin_layout Plain Layout
23254 a
23255 \end_layout
23256
23257 \end_inset
23258 </cell>
23259 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23260 \begin_inset Text
23261
23262 \begin_layout Plain Layout
23263
23264 \end_layout
23265
23266 \end_inset
23267 </cell>
23268 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23269 \begin_inset Text
23270
23271 \begin_layout Plain Layout
23272 b
23273 \end_layout
23274
23275 \end_inset
23276 </cell>
23277 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23278 \begin_inset Text
23279
23280 \begin_layout Plain Layout
23281
23282 \end_layout
23283
23284 \end_inset
23285 </cell>
23286 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23287 \begin_inset Text
23288
23289 \begin_layout Plain Layout
23290 c
23291 \end_layout
23292
23293 \end_inset
23294 </cell>
23295 </row>
23296 <row>
23297 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23298 \begin_inset Text
23299
23300 \begin_layout Plain Layout
23301
23302 \end_layout
23303
23304 \end_inset
23305 </cell>
23306 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23307 \begin_inset Text
23308
23309 \begin_layout Plain Layout
23310 d
23311 \end_layout
23312
23313 \end_inset
23314 </cell>
23315 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23316 \begin_inset Text
23317
23318 \begin_layout Plain Layout
23319
23320 \end_layout
23321
23322 \end_inset
23323 </cell>
23324 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23325 \begin_inset Text
23326
23327 \begin_layout Plain Layout
23328 e
23329 \end_layout
23330
23331 \end_inset
23332 </cell>
23333 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23334 \begin_inset Text
23335
23336 \begin_layout Plain Layout
23337
23338 \end_layout
23339
23340 \end_inset
23341 </cell>
23342 </row>
23343 <row>
23344 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23345 \begin_inset Text
23346
23347 \begin_layout Plain Layout
23348 f
23349 \end_layout
23350
23351 \end_inset
23352 </cell>
23353 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23354 \begin_inset Text
23355
23356 \begin_layout Plain Layout
23357
23358 \end_layout
23359
23360 \end_inset
23361 </cell>
23362 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23363 \begin_inset Text
23364
23365 \begin_layout Plain Layout
23366 g
23367 \end_layout
23368
23369 \end_inset
23370 </cell>
23371 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23372 \begin_inset Text
23373
23374 \begin_layout Plain Layout
23375
23376 \end_layout
23377
23378 \end_inset
23379 </cell>
23380 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23381 \begin_inset Text
23382
23383 \begin_layout Plain Layout
23384 h
23385 \end_layout
23386
23387 \end_inset
23388 </cell>
23389 </row>
23390 <row>
23391 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23392 \begin_inset Text
23393
23394 \begin_layout Plain Layout
23395
23396 \end_layout
23397
23398 \end_inset
23399 </cell>
23400 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23401 \begin_inset Text
23402
23403 \begin_layout Plain Layout
23404 i
23405 \end_layout
23406
23407 \end_inset
23408 </cell>
23409 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23410 \begin_inset Text
23411
23412 \begin_layout Plain Layout
23413
23414 \end_layout
23415
23416 \end_inset
23417 </cell>
23418 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23419 \begin_inset Text
23420
23421 \begin_layout Plain Layout
23422 j
23423 \end_layout
23424
23425 \end_inset
23426 </cell>
23427 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23428 \begin_inset Text
23429
23430 \begin_layout Plain Layout
23431
23432 \end_layout
23433
23434 \end_inset
23435 </cell>
23436 </row>
23437 </lyxtabular>
23438
23439 \end_inset
23440
23441
23442 \end_layout
23443
23444 \end_inset
23445
23446
23447 \end_layout
23448
23449 \begin_layout Standard
23450 \begin_inset ERT
23451 status collapsed
23452
23453 \begin_layout Plain Layout
23454
23455
23456 \backslash
23457 TabBesEnd
23458 \end_layout
23459
23460 \end_inset
23461
23462
23463 \end_layout
23464
23465 \begin_layout Standard
23466 \begin_inset ERT
23467 status collapsed
23468
23469 \begin_layout Plain Layout
23470
23471
23472 \backslash
23473 sidecaptionvpos{figure}{c}
23474 \end_layout
23475
23476 \end_inset
23477
23478
23479 \begin_inset Float figure
23480 wide false
23481 sideways false
23482 status open
23483
23484 \begin_layout Plain Layout
23485 \begin_inset Graphics
23486         filename clipart/escher-lsd.eps
23487         scale 75
23488         scaleBeforeRotation
23489
23490 \end_inset
23491
23492
23493 \end_layout
23494
23495 \begin_layout Plain Layout
23496 \begin_inset Caption
23497
23498 \begin_layout Plain Layout
23499 \begin_inset CommandInset label
23500 LatexCommand label
23501 name "fig:cap-beside-fig-2"
23502
23503 \end_inset
23504
23505 This is a vertically centered caption beside a figure.
23506 \end_layout
23507
23508 \end_inset
23509
23510
23511 \end_layout
23512
23513 \end_inset
23514
23515
23516 \end_layout
23517
23518 \begin_layout Standard
23519 \begin_inset ERT
23520 status collapsed
23521
23522 \begin_layout Plain Layout
23523
23524
23525 \backslash
23526 FigBesEnd
23527 \end_layout
23528
23529 \end_inset
23530
23531
23532 \end_layout
23533
23534 \begin_layout Standard
23535 \begin_inset ERT
23536 status collapsed
23537
23538 \begin_layout Plain Layout
23539
23540
23541 \backslash
23542 else
23543 \end_layout
23544
23545 \end_inset
23546
23547
23548 \begin_inset Note Note
23549 status open
23550
23551 \begin_layout Plain Layout
23552 The following will be displayed when the LaTeX-package 
23553 \series bold
23554 sidecap
23555 \series default
23556  is not installed:
23557 \end_layout
23558
23559 \end_inset
23560
23561
23562 \end_layout
23563
23564 \begin_layout Standard
23565 You need to install the LaTeX-package 
23566 \series bold
23567 sidecap
23568 \series default
23569  to see the following part of this section in the output.
23570 \end_layout
23571
23572 \begin_layout Standard
23573 \begin_inset ERT
23574 status collapsed
23575
23576 \begin_layout Plain Layout
23577
23578
23579 \backslash
23580 fi
23581 \end_layout
23582
23583 \end_inset
23584
23585
23586 \end_layout
23587
23588 \begin_layout Section
23589 Listings of Floats
23590 \begin_inset Index
23591 status collapsed
23592
23593 \begin_layout Plain Layout
23594 Floats ! Float Lists
23595 \end_layout
23596
23597 \end_inset
23598
23599
23600 \end_layout
23601
23602 \begin_layout Standard
23603 Similar to the the table of contents where the sections of the document
23604  are listed, there are listings for all float types, like the figures of
23605  the documents.
23606  You can insert them via the 
23607 \family sans
23608 Insert\SpecialChar \menuseparator
23609 List
23610 \begin_inset space ~
23611 \end_inset
23612
23613 /
23614 \begin_inset space ~
23615 \end_inset
23616
23617 TOC
23618 \family default
23619  sub menus.
23620 \end_layout
23621
23622 \begin_layout Standard
23623 The list entries are the float captions or its short title, the float number,
23624  and the page number where they appear in the document.
23625 \end_layout
23626
23627 \begin_layout Standard
23628 You can find the list of figures and tables at the end of this document.
23629 \end_layout
23630
23631 \begin_layout Chapter
23632 Notes
23633 \end_layout
23634
23635 \begin_layout Section
23636 LyX Notes
23637 \begin_inset Index
23638 status collapsed
23639
23640 \begin_layout Plain Layout
23641 Notes ! LyX Notes
23642 \end_layout
23643
23644 \end_inset
23645
23646
23647 \end_layout
23648
23649 \begin_layout Standard
23650 Notes are inserted with the toolbar button 
23651 \begin_inset Graphics
23652         filename ../images/note-insert.png
23653         scale 85
23654         scaleBeforeRotation
23655
23656 \end_inset
23657
23658  or the menu 
23659 \family sans
23660 Insert\SpecialChar \menuseparator
23661 Note
23662 \family default
23663 .
23664  There are three types of notes:
23665 \end_layout
23666
23667 \begin_layout Description
23668 LyX
23669 \begin_inset space ~
23670 \end_inset
23671
23672 Note This note type is for internal notes that won't appear in the output.
23673  Its note-box looks like this:
23674 \begin_inset Newline newline
23675 \end_inset
23676
23677
23678 \begin_inset Newline newline
23679 \end_inset
23680
23681
23682 \begin_inset Graphics
23683         filename clipart/LyXNoteImageQt4.png
23684         display false
23685         scale 85
23686         scaleBeforeRotation
23687
23688 \end_inset
23689
23690  
23691 \begin_inset Note Note
23692 status open
23693
23694 \begin_layout Plain Layout
23695 This is text in a note box that doesn't appear in the output.
23696 \end_layout
23697
23698 \end_inset
23699
23700
23701 \end_layout
23702
23703 \begin_layout Description
23704 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
23705 ent, when you export the document to LaTeX via the menu 
23706 \family sans
23707 File\SpecialChar \menuseparator
23708 Export\SpecialChar \menuseparator
23709 LaTeX (pdflatex) / (plain)
23710 \family default
23711 .
23712  Its note-box looks like this:
23713 \begin_inset Newline newline
23714 \end_inset
23715
23716
23717 \begin_inset Newline newline
23718 \end_inset
23719
23720
23721 \begin_inset Graphics
23722         filename clipart/CommentNoteImageQt4.png
23723         display false
23724         scale 85
23725         scaleBeforeRotation
23726
23727 \end_inset
23728
23729  
23730 \begin_inset Note Comment
23731 status open
23732
23733 \begin_layout Plain Layout
23734 This is text in a note box that only appears as comment in LaTeX-files.
23735 \end_layout
23736
23737 \end_inset
23738
23739
23740 \end_layout
23741
23742 \begin_layout Description
23743 Greyed
23744 \begin_inset space ~
23745 \end_inset
23746
23747 Out This note will appear in the output as grey text.
23748  Its note-box looks like this:
23749 \begin_inset Newline newline
23750 \end_inset
23751
23752
23753 \begin_inset Newline newline
23754 \end_inset
23755
23756
23757 \begin_inset Graphics
23758         filename clipart/GreyedOutNoteImageQt4.png
23759         display false
23760         scale 85
23761         scaleBeforeRotation
23762
23763 \end_inset
23764
23765
23766 \begin_inset Newline newline
23767 \end_inset
23768
23769
23770 \begin_inset ERT
23771 status collapsed
23772
23773 \begin_layout Plain Layout
23774
23775
23776 \backslash
23777 renewenvironment{lyxgreyedout}
23778 \end_layout
23779
23780 \begin_layout Plain Layout
23781
23782 {
23783 \backslash
23784 textcolor[gray]{0.8}
23785 \backslash
23786 bgroup}{
23787 \backslash
23788 egroup}
23789 \end_layout
23790
23791 \end_inset
23792
23793
23794 \begin_inset Note Greyedout
23795 status open
23796
23797 \begin_layout Plain Layout
23798 This is text
23799 \begin_inset Foot
23800 status open
23801
23802 \begin_layout Plain Layout
23803 This is an example footnote within a greyed out note.
23804 \end_layout
23805
23806 \end_inset
23807
23808  of a comment that appears in the output as grey text.
23809 \end_layout
23810
23811 \end_inset
23812
23813
23814 \begin_inset ERT
23815 status collapsed
23816
23817 \begin_layout Plain Layout
23818
23819
23820 \backslash
23821 renewenvironment{lyxgreyedout}
23822 \end_layout
23823
23824 \begin_layout Plain Layout
23825
23826 {
23827 \backslash
23828 textcolor{blue}
23829 \backslash
23830 bgroup}{
23831 \backslash
23832 egroup}
23833 \end_layout
23834
23835 \end_inset
23836
23837
23838 \begin_inset Note Note
23839 status collapsed
23840
23841 \begin_layout Plain Layout
23842 The greyed out note is here redefined to show it with the original LyX definitio
23843 n because greyed out notes are redefined in the preamble of this document,
23844  as described below, to have blue text.
23845 \end_layout
23846
23847 \end_inset
23848
23849
23850 \begin_inset Newline newline
23851 \end_inset
23852
23853
23854 \begin_inset Newline newline
23855 \end_inset
23856
23857 As you can see in the example, the first line of greyed out notes is a bit
23858  indented and greyed out notes can have footnotes.
23859 \end_layout
23860
23861 \begin_layout Standard
23862 \begin_inset VSpace bigskip
23863 \end_inset
23864
23865 When you use the toolbar button 
23866 \begin_inset Graphics
23867         filename ../images/note-insert.png
23868         scale 85
23869         scaleBeforeRotation
23870
23871 \end_inset
23872
23873  to insert notes, a 
23874 \family sans
23875 LyX
23876 \begin_inset space ~
23877 \end_inset
23878
23879 Note
23880 \family default
23881  is inserted.
23882  You can switch between the five note types by right-clicking on the note-box.
23883  
23884 \family roman
23885 \series medium
23886 \bar no
23887 If you want to turn existing text into a note, mark it and click on the
23888  note
23889 \family default
23890 \series default
23891 \bar default
23892  toolbar 
23893 \family roman
23894 \series medium
23895 \bar no
23896 button
23897 \family default
23898 \series default
23899 \bar default
23900 .
23901  To change a note to text, press the backspace key when the cursor is in
23902  the first position of a note, or press the deletey key when the cursor
23903  is in the very last position of the note, respectively.
23904 \end_layout
23905
23906 \begin_layout Standard
23907 \begin_inset VSpace bigskip
23908 \end_inset
23909
23910 You can change the text color of the greyed out notes in the preamble with
23911  the following command:
23912 \end_layout
23913
23914 \begin_layout Standard
23915
23916 \series bold
23917
23918 \backslash
23919 renewenvironment{lyxgreyedout}
23920 \begin_inset Newline newline
23921 \end_inset
23922
23923
23924 \begin_inset ERT
23925 status collapsed
23926
23927 \begin_layout Plain Layout
23928
23929
23930 \backslash
23931 hphantom{ }
23932 \end_layout
23933
23934 \end_inset
23935
23936 {
23937 \backslash
23938 textcolor{color}
23939 \backslash
23940 bgroup}{
23941 \backslash
23942 egroup}
23943 \end_layout
23944
23945 \begin_layout Standard
23946 The available colors and the method to define own colors is explained in
23947  section
23948 \begin_inset space ~
23949 \end_inset
23950
23951
23952 \begin_inset CommandInset ref
23953 LatexCommand ref
23954 reference "sec:Colored-Tables"
23955
23956 \end_inset
23957
23958 .
23959 \end_layout
23960
23961 \begin_layout Standard
23962 Notes that appear in blue in this document are set using greyed out notes
23963  with blue text.
23964 \end_layout
23965
23966 \begin_layout Section
23967 Footnotes
23968 \begin_inset CommandInset label
23969 LatexCommand label
23970 name "sec:Footnotes"
23971
23972 \end_inset
23973
23974
23975 \begin_inset Index
23976 status collapsed
23977
23978 \begin_layout Plain Layout
23979 Notes ! Footnotes
23980 \end_layout
23981
23982 \end_inset
23983
23984
23985 \begin_inset Index
23986 status collapsed
23987
23988 \begin_layout Plain Layout
23989 Footnotes
23990 \end_layout
23991
23992 \end_inset
23993
23994
23995 \end_layout
23996
23997 \begin_layout Standard
23998 Footnotes can be inserted using the toolbar button 
23999 \begin_inset Graphics
24000         filename ../images/footnote-insert.png
24001         scale 85
24002         scaleBeforeRotation
24003
24004 \end_inset
24005
24006  or the menu 
24007 \family sans
24008 Insert\SpecialChar \menuseparator
24009 Footnote
24010 \family default
24011 .
24012  
24013 \family roman
24014 \series medium
24015 \bar no
24016 You'll see
24017 \family default
24018 \series default
24019 \bar default
24020  then the following footnote-box: 
24021 \begin_inset Graphics
24022         filename clipart/footnoteQt4.png
24023         scale 80
24024         scaleBeforeRotation
24025
24026 \end_inset
24027
24028  
24029 \family roman
24030 \series medium
24031 \bar no
24032 where you can enter the footnote text.
24033  If you want to turn existing text into a footnote, mark it and click on
24034  the footnote
24035 \family default
24036 \series default
24037 \bar default
24038  toolbar 
24039 \family roman
24040 \series medium
24041 \bar no
24042 button
24043 \family default
24044 \series default
24045 \bar default
24046 .
24047  To change a 
24048 \family roman
24049 \series medium
24050 \bar no
24051 footnote
24052 \family default
24053 \series default
24054 \bar default
24055  to text, press the Backspace key when the cursor is in the first position
24056  of a 
24057 \family roman
24058 \series medium
24059 \bar no
24060 footnote
24061 \family default
24062 \series default
24063 \bar default
24064 , or press the Delete key when the cursor is in the very last position of
24065  the 
24066 \family roman
24067 \series medium
24068 \bar no
24069 footnote
24070 \family default
24071 \series default
24072 \bar default
24073 , respectively.
24074 \end_layout
24075
24076 \begin_layout Standard
24077 Here is an example footnote:
24078 \family roman
24079 \series medium
24080 \bar no
24081
24082 \begin_inset Foot
24083 status open
24084
24085 \begin_layout Plain Layout
24086 \begin_inset CommandInset label
24087 LatexCommand label
24088 name "foot:This-is-an"
24089
24090 \end_inset
24091
24092 This is an example footnote.
24093 \end_layout
24094
24095 \end_inset
24096
24097
24098 \family default
24099 \series default
24100 \bar default
24101
24102 \begin_inset ERT
24103 status collapsed
24104
24105 \begin_layout Plain Layout
24106
24107
24108 \backslash
24109 newcounter{MyRepeatFoot}
24110 \end_layout
24111
24112 \begin_layout Plain Layout
24113
24114
24115 \backslash
24116 setcounter{MyRepeatFoot}{
24117 \backslash
24118 thefootnote}
24119 \end_layout
24120
24121 \end_inset
24122
24123
24124 \end_layout
24125
24126 \begin_layout Standard
24127 The footnote will appear in the output as a superscript number at the text
24128  position where the footnote box is placed.
24129  The footnote text is placed at the bottom of the current page.
24130  The footnote number is calculated by LaTeX, the numbers are consecutive.
24131  It depends on your document-class, if the footnote number is reset for
24132  every chapter.
24133 \end_layout
24134
24135 \begin_layout Standard
24136 Footnotes can be referenced like floats: Insert a label into the footnote
24137  and cross-reference this label in the text as described in section
24138 \begin_inset space ~
24139 \end_inset
24140
24141
24142 \begin_inset CommandInset ref
24143 LatexCommand ref
24144 reference "sec:Referencing-Floats"
24145
24146 \end_inset
24147
24148 .
24149 \begin_inset Newline newline
24150 \end_inset
24151
24152 This is a cross-reference of Footnote
24153 \begin_inset space ~
24154 \end_inset
24155
24156
24157 \begin_inset CommandInset ref
24158 LatexCommand ref
24159 reference "foot:This-is-an"
24160
24161 \end_inset
24162
24163 .
24164 \end_layout
24165
24166 \begin_layout Standard
24167 \begin_inset VSpace defskip
24168 \end_inset
24169
24170 To use footnotes within tables, you have to use minipages, see section
24171 \begin_inset space ~
24172 \end_inset
24173
24174
24175 \begin_inset CommandInset ref
24176 LatexCommand ref
24177 reference "sec:Minipages"
24178
24179 \end_inset
24180
24181 .
24182  Footnotes within longtables are described in section
24183 \begin_inset space ~
24184 \end_inset
24185
24186
24187 \begin_inset CommandInset ref
24188 LatexCommand ref
24189 reference "sub:Footnotes-in-Longtables"
24190
24191 \end_inset
24192
24193 .
24194 \end_layout
24195
24196 \begin_layout Standard
24197 \begin_inset VSpace defskip
24198 \end_inset
24199
24200 To create only a mark for a footnote, use the command 
24201 \series bold
24202
24203 \backslash
24204 footnotemark[number]
24205 \series default
24206  in TeX-Code.
24207  This is used when you have the same annotation several times in a text
24208  but doesn't want to print the footnote text every time.
24209 \begin_inset Newline newline
24210 \end_inset
24211
24212 As you don't know the number of the repeating footnote while you are writing
24213  the text, you have to store its number.
24214  For the following footnote mark example, these commands were inserted in
24215  TeX-Code behind Footnote
24216 \begin_inset space ~
24217 \end_inset
24218
24219
24220 \begin_inset CommandInset ref
24221 LatexCommand ref
24222 reference "foot:This-is-an"
24223
24224 \end_inset
24225
24226  to store the footnote number:
24227 \end_layout
24228
24229 \begin_layout Standard
24230
24231 \series bold
24232
24233 \backslash
24234 newcounter{MyRepeatFoot}
24235 \begin_inset Newline newline
24236 \end_inset
24237
24238
24239 \backslash
24240 setcounter{MyRepeatFoot}{
24241 \backslash
24242 thefootnote}
24243 \end_layout
24244
24245 \begin_layout Standard
24246 The footnote mark was then created with this command:
24247 \end_layout
24248
24249 \begin_layout Standard
24250
24251 \series bold
24252
24253 \backslash
24254 footnotemark[
24255 \backslash
24256 theMyRepeatFoot]
24257 \end_layout
24258
24259 \begin_layout Standard
24260 Here is an example footnote mark:
24261 \family roman
24262 \series medium
24263 \bar no
24264
24265 \begin_inset ERT
24266 status collapsed
24267
24268 \begin_layout Plain Layout
24269
24270
24271 \backslash
24272 footnotemark[
24273 \backslash
24274 theMyRepeatFoot]
24275 \end_layout
24276
24277 \end_inset
24278
24279
24280 \end_layout
24281
24282 \begin_layout Subsection
24283 Footnote Numbering
24284 \begin_inset CommandInset label
24285 LatexCommand label
24286 name "sub:Footnote-Numbering"
24287
24288 \end_inset
24289
24290
24291 \begin_inset Index
24292 status collapsed
24293
24294 \begin_layout Plain Layout
24295 Footnotes ! Numbering
24296 \end_layout
24297
24298 \end_inset
24299
24300
24301 \end_layout
24302
24303 \begin_layout Standard
24304 To reset the footnote number back to 1 after each section
24305 \family roman
24306 , add this command to your document preamble:
24307 \end_layout
24308
24309 \begin_layout Standard
24310
24311 \series bold
24312
24313 \backslash
24314 @addtoreset{footnote}{section}
24315 \end_layout
24316
24317 \begin_layout Standard
24318 \begin_inset VSpace bigskip
24319 \end_inset
24320
24321 The following preamble command changes the footnote numbering style to small
24322  roman numerals:
24323 \end_layout
24324
24325 \begin_layout Standard
24326
24327 \series bold
24328
24329 \backslash
24330 renewcommand{
24331 \backslash
24332 thefootnote}{
24333 \backslash
24334 roman{footnote}}
24335 \end_layout
24336
24337 \begin_layout Standard
24338 \begin_inset ERT
24339 status collapsed
24340
24341 \begin_layout Plain Layout
24342
24343
24344 \backslash
24345 renewcommand{
24346 \backslash
24347 thefootnote}{
24348 \backslash
24349 roman{footnote}}
24350 \end_layout
24351
24352 \end_inset
24353
24354  This is a footnote with roman numbering:
24355 \begin_inset Foot
24356 status open
24357
24358 \begin_layout Plain Layout
24359 This is an example footnote with roman numbering.
24360 \end_layout
24361
24362 \end_inset
24363
24364
24365 \end_layout
24366
24367 \begin_layout Standard
24368 To change the numbering style to capital roman numerals replace in the command
24369  above 
24370 \series bold
24371
24372 \backslash
24373 roman
24374 \series default
24375  by 
24376 \series bold
24377
24378 \backslash
24379 Roman
24380 \series default
24381 .
24382  To 
24383 \begin_inset Quotes eld
24384 \end_inset
24385
24386 number
24387 \begin_inset Quotes erd
24388 \end_inset
24389
24390  footnotes with capital or small Latin letters use 
24391 \series bold
24392
24393 \backslash
24394 Alph
24395 \series default
24396  or 
24397 \series bold
24398
24399 \backslash
24400 alph
24401 \series default
24402 , respectively.
24403  To 
24404 \begin_inset Quotes eld
24405 \end_inset
24406
24407 number
24408 \begin_inset Quotes erd
24409 \end_inset
24410
24411  footnotes with symbols use 
24412 \series bold
24413
24414 \backslash
24415 fnsymbol
24416 \series default
24417 .
24418 \end_layout
24419
24420 \begin_layout Standard
24421 \begin_inset Note Greyedout
24422 status open
24423
24424 \begin_layout Plain Layout
24425
24426 \series bold
24427 Note:
24428 \series default
24429  You can only number 26 footnotes with Latin letters, because this numbering
24430  is limited to single letters.
24431 \end_layout
24432
24433 \end_inset
24434
24435
24436 \begin_inset Newline newline
24437 \end_inset
24438
24439
24440 \begin_inset Note Greyedout
24441 status open
24442
24443 \begin_layout Plain Layout
24444
24445 \series bold
24446 Note:
24447 \series default
24448  You can only number 9 footnotes with symbols.
24449 \end_layout
24450
24451 \end_inset
24452
24453
24454 \end_layout
24455
24456 \begin_layout Standard
24457 To return to the default numbering style when you changed to another one,
24458  use 
24459 \series bold
24460
24461 \backslash
24462 arabic
24463 \series default
24464  instead of 
24465 \series bold
24466
24467 \backslash
24468 roman
24469 \series default
24470  in the command above.
24471 \begin_inset ERT
24472 status collapsed
24473
24474 \begin_layout Plain Layout
24475
24476
24477 \backslash
24478 renewcommand{
24479 \backslash
24480 thefootnote}{
24481 \backslash
24482 arabic{footnote}}
24483 \end_layout
24484
24485 \end_inset
24486
24487
24488 \end_layout
24489
24490 \begin_layout Standard
24491 \begin_inset VSpace bigskip
24492 \end_inset
24493
24494
24495 \end_layout
24496
24497 \begin_layout Standard
24498 If you want to have footnotes numbered in the scheme 
24499 \begin_inset Quotes eld
24500 \end_inset
24501
24502 chapter.footnote
24503 \begin_inset Quotes erd
24504 \end_inset
24505
24506 , add the following command to your document preamble:
24507 \end_layout
24508
24509 \begin_layout Standard
24510
24511 \series bold
24512
24513 \backslash
24514 numberwithin{footnote}{chapter}
24515 \end_layout
24516
24517 \begin_layout Standard
24518 To be able to use the command 
24519 \series bold
24520
24521 \backslash
24522 numberwithin
24523 \series default
24524 , set in the tab 
24525 \family sans
24526 Math
24527 \begin_inset space ~
24528 \end_inset
24529
24530 Options
24531 \family default
24532  in the document settings the option 
24533 \family sans
24534 Use
24535 \begin_inset space ~
24536 \end_inset
24537
24538 AMS
24539 \begin_inset space ~
24540 \end_inset
24541
24542 math
24543 \begin_inset space ~
24544 \end_inset
24545
24546 package
24547 \family default
24548 .
24549 \end_layout
24550
24551 \begin_layout Standard
24552 \begin_inset ERT
24553 status collapsed
24554
24555 \begin_layout Plain Layout
24556
24557
24558 \backslash
24559 numberwithin{footnote}{chapter}
24560 \end_layout
24561
24562 \end_inset
24563
24564 This is another example footnote:
24565 \series bold
24566
24567 \begin_inset Foot
24568 status open
24569
24570 \begin_layout Plain Layout
24571 This is a footnote numbered in the scheme 
24572 \begin_inset Quotes eld
24573 \end_inset
24574
24575 chapter.footnote
24576 \begin_inset Quotes erd
24577 \end_inset
24578
24579 .
24580 \end_layout
24581
24582 \end_inset
24583
24584
24585 \series default
24586
24587 \begin_inset ERT
24588 status collapsed
24589
24590 \begin_layout Plain Layout
24591
24592
24593 \backslash
24594 renewcommand{
24595 \backslash
24596 thefootnote}{
24597 \backslash
24598 arabic{footnote}}
24599 \end_layout
24600
24601 \end_inset
24602
24603
24604 \end_layout
24605
24606 \begin_layout Standard
24607 \begin_inset Note Greyedout
24608 status open
24609
24610 \begin_layout Plain Layout
24611
24612 \series bold
24613 Note:
24614 \series default
24615  
24616 \series bold
24617
24618 \backslash
24619 numberwithin
24620 \series default
24621  always prints out the footnote number as arabic number; previous redefinitions
24622  to get non-arabic numbers are overwritten.
24623 \end_layout
24624
24625 \end_inset
24626
24627
24628 \end_layout
24629
24630 \begin_layout Standard
24631 So to get for example the scheme 
24632 \begin_inset Quotes eld
24633 \end_inset
24634
24635 chapter.
24636 \backslash
24637 Roman{footnote}
24638 \begin_inset Quotes erd
24639 \end_inset
24640
24641 , use this command instead of 
24642 \series bold
24643
24644 \backslash
24645 numberwithin
24646 \series default
24647 :
24648 \end_layout
24649
24650 \begin_layout Standard
24651
24652 \series bold
24653
24654 \backslash
24655 renewcommand{
24656 \backslash
24657 thefootnote}{
24658 \backslash
24659 thechapter.
24660 \backslash
24661 Roman{footnote}}
24662 \end_layout
24663
24664 \begin_layout Subsection
24665 Footnote Placement
24666 \begin_inset Index
24667 status collapsed
24668
24669 \begin_layout Plain Layout
24670 Footnotes ! Placement
24671 \end_layout
24672
24673 \end_inset
24674
24675
24676 \end_layout
24677
24678 \begin_layout Standard
24679 If you have several footnotes in one page, they appear without vertical
24680  space between them at the bottom of the page.
24681  To make them better readable you can e.
24682 \begin_inset space \thinspace{}
24683 \end_inset
24684
24685 g.
24686 \begin_inset space \space{}
24687 \end_inset
24688
24689 add 1.5
24690 \begin_inset space \thinspace{}
24691 \end_inset
24692
24693 mm space with the following preamble command:
24694 \end_layout
24695
24696 \begin_layout Standard
24697
24698 \series bold
24699
24700 \backslash
24701 let
24702 \backslash
24703 myFoot
24704 \backslash
24705 footnote
24706 \begin_inset Newline newline
24707 \end_inset
24708
24709
24710 \backslash
24711 renewcommand{
24712 \backslash
24713 footnote}[1]{
24714 \backslash
24715 myFoot{#1
24716 \backslash
24717 vspace{1.5mm}}}
24718 \end_layout
24719
24720 \begin_layout Standard
24721 \begin_inset VSpace bigskip
24722 \end_inset
24723
24724 In a two-column document the footnotes appear at the bottom of every column,
24725  see Figure
24726 \begin_inset space ~
24727 \end_inset
24728
24729
24730 \begin_inset CommandInset ref
24731 LatexCommand ref
24732 reference "fig:Standard-footnote-placement"
24733
24734 \end_inset
24735
24736 .
24737  If the footnotes should only appear at the bottom of the right column,
24738  as in Figure
24739 \begin_inset space ~
24740 \end_inset
24741
24742
24743 \begin_inset CommandInset ref
24744 LatexCommand ref
24745 reference "fig:Footnote-placement-in"
24746
24747 \end_inset
24748
24749 , use the LaTeX-package 
24750 \series bold
24751 ftnright
24752 \series default
24753
24754 \begin_inset Index
24755 status collapsed
24756
24757 \begin_layout Plain Layout
24758 LaTeX-packages ! ftnright
24759 \end_layout
24760
24761 \end_inset
24762
24763  with this command in the document preamble:
24764 \end_layout
24765
24766 \begin_layout Standard
24767
24768 \series bold
24769
24770 \backslash
24771 usepackage{ftnright}
24772 \end_layout
24773
24774 \begin_layout Standard
24775 \begin_inset Float figure
24776 placement !h
24777 wide false
24778 sideways false
24779 status open
24780
24781 \begin_layout Plain Layout
24782 \begin_inset ERT
24783 status collapsed
24784
24785 \begin_layout Plain Layout
24786
24787
24788 \backslash
24789 framebox{
24790 \end_layout
24791
24792 \end_inset
24793
24794
24795 \begin_inset Graphics
24796         filename clipart/without_fntright.pdf
24797         width 100col%
24798         scaleBeforeRotation
24799
24800 \end_inset
24801
24802
24803 \begin_inset ERT
24804 status collapsed
24805
24806 \begin_layout Plain Layout
24807
24808 }
24809 \end_layout
24810
24811 \end_inset
24812
24813
24814 \end_layout
24815
24816 \begin_layout Plain Layout
24817 \begin_inset Caption
24818
24819 \begin_layout Plain Layout
24820 \begin_inset CommandInset label
24821 LatexCommand label
24822 name "fig:Standard-footnote-placement"
24823
24824 \end_inset
24825
24826 Standard footnote placement in two-column documents.
24827 \end_layout
24828
24829 \end_inset
24830
24831
24832 \end_layout
24833
24834 \end_inset
24835
24836
24837 \end_layout
24838
24839 \begin_layout Standard
24840 \begin_inset Float figure
24841 placement !h
24842 wide false
24843 sideways false
24844 status open
24845
24846 \begin_layout Plain Layout
24847 \begin_inset ERT
24848 status collapsed
24849
24850 \begin_layout Plain Layout
24851
24852
24853 \backslash
24854 framebox{
24855 \end_layout
24856
24857 \end_inset
24858
24859
24860 \begin_inset Graphics
24861         filename clipart/with_fntright.pdf
24862         width 100col%
24863         scaleBeforeRotation
24864
24865 \end_inset
24866
24867
24868 \begin_inset ERT
24869 status collapsed
24870
24871 \begin_layout Plain Layout
24872
24873 }
24874 \end_layout
24875
24876 \end_inset
24877
24878
24879 \end_layout
24880
24881 \begin_layout Plain Layout
24882 \begin_inset Caption
24883
24884 \begin_layout Plain Layout
24885 \begin_inset CommandInset label
24886 LatexCommand label
24887 name "fig:Footnote-placement-in"
24888
24889 \end_inset
24890
24891 Footnote placement in two-column documents when the LaTeX-package 
24892 \series bold
24893 ftnright
24894 \series default
24895  is used.
24896 \end_layout
24897
24898 \end_inset
24899
24900
24901 \end_layout
24902
24903 \end_inset
24904
24905
24906 \end_layout
24907
24908 \begin_layout Standard
24909 \begin_inset VSpace bigskip
24910 \end_inset
24911
24912 In some scientific literature it is usual to collect the footnotes and print
24913  them in a separate paragraph at the the end of a section, like in Figure
24914 \begin_inset space ~
24915 \end_inset
24916
24917
24918 \begin_inset CommandInset ref
24919 LatexCommand ref
24920 reference "fig:Endnotes----footnotes"
24921
24922 \end_inset
24923
24924 .
24925  They are then so called 
24926 \begin_inset Quotes eld
24927 \end_inset
24928
24929 endnotes
24930 \begin_inset Quotes erd
24931 \end_inset
24932
24933 .
24934 \begin_inset Index
24935 status collapsed
24936
24937 \begin_layout Plain Layout
24938 Endnotes
24939 \end_layout
24940
24941 \end_inset
24942
24943  To use endnotes instead of footnotes in your document, load the LaTeX-package
24944  
24945 \series bold
24946 endnotes
24947 \series default
24948
24949 \begin_inset Index
24950 status collapsed
24951
24952 \begin_layout Plain Layout
24953 LaTeX-packages ! endnotes
24954 \end_layout
24955
24956 \end_inset
24957
24958  with the document preamble lines
24959 \end_layout
24960
24961 \begin_layout Standard
24962
24963 \series bold
24964
24965 \backslash
24966 usepackage{endnotes}
24967 \begin_inset Newline newline
24968 \end_inset
24969
24970
24971 \backslash
24972 let
24973 \backslash
24974 footnote
24975 \backslash
24976 endnote
24977 \end_layout
24978
24979 \begin_layout Standard
24980 To insert the collected footnotes, insert the command
24981 \end_layout
24982
24983 \begin_layout Standard
24984
24985 \series bold
24986
24987 \backslash
24988 theendnotes
24989 \end_layout
24990
24991 \begin_layout Standard
24992 in TeX-Code at the the end of a section or chapter.
24993 \end_layout
24994
24995 \begin_layout Standard
24996 \begin_inset Float figure
24997 wide false
24998 sideways false
24999 status open
25000
25001 \begin_layout Plain Layout
25002 \align center
25003 \begin_inset ERT
25004 status collapsed
25005
25006 \begin_layout Plain Layout
25007
25008
25009 \backslash
25010 framebox{
25011 \end_layout
25012
25013 \end_inset
25014
25015
25016 \begin_inset Graphics
25017         filename clipart/endnotes.pdf
25018         scaleBeforeRotation
25019
25020 \end_inset
25021
25022
25023 \begin_inset ERT
25024 status collapsed
25025
25026 \begin_layout Plain Layout
25027
25028 }
25029 \end_layout
25030
25031 \end_inset
25032
25033
25034 \end_layout
25035
25036 \begin_layout Plain Layout
25037 \begin_inset Caption
25038
25039 \begin_layout Plain Layout
25040 \begin_inset CommandInset label
25041 LatexCommand label
25042 name "fig:Endnotes----footnotes"
25043
25044 \end_inset
25045
25046 Endnotes – footnotes are printed in a separate paragraph at the end of sections
25047  or chapters.
25048 \end_layout
25049
25050 \end_inset
25051
25052
25053 \end_layout
25054
25055 \end_inset
25056
25057
25058 \end_layout
25059
25060 \begin_layout Standard
25061 \begin_inset VSpace medskip
25062 \end_inset
25063
25064 The paragraph heading for the endnotes isn't automatically translated into
25065  the document language, this must be done manually.
25066  The following preamble command translate the default English name 
25067 \begin_inset Quotes eld
25068 \end_inset
25069
25070 Notes
25071 \begin_inset Quotes erd
25072 \end_inset
25073
25074  to the German translation 
25075 \begin_inset Quotes eld
25076 \end_inset
25077
25078 Anmerkungen
25079 \begin_inset Quotes erd
25080 \end_inset
25081
25082 :
25083 \end_layout
25084
25085 \begin_layout Standard
25086
25087 \series bold
25088
25089 \backslash
25090 renewcommand{
25091 \backslash
25092 notesname}{Anmerkungen}
25093 \end_layout
25094
25095 \begin_layout Standard
25096 \begin_inset VSpace medskip
25097 \end_inset
25098
25099 The numbering of endnotes can be changed like the footnote numbering as
25100  described in section
25101 \begin_inset space ~
25102 \end_inset
25103
25104
25105 \begin_inset CommandInset ref
25106 LatexCommand ref
25107 reference "sub:Footnote-Numbering"
25108
25109 \end_inset
25110
25111 ; just replace the command 
25112 \series bold
25113
25114 \backslash
25115 thefootnote
25116 \series default
25117  by 
25118 \series bold
25119
25120 \backslash
25121 theendnote
25122 \series default
25123 .
25124  To reset the endnote number use the command 
25125 \series bold
25126
25127 \backslash
25128 @addtoreset
25129 \series default
25130  as described in section
25131 \begin_inset space ~
25132 \end_inset
25133
25134
25135 \begin_inset CommandInset ref
25136 LatexCommand ref
25137 reference "sub:Footnote-Numbering"
25138
25139 \end_inset
25140
25141  and replace the command parameter 
25142 \series bold
25143 footnote
25144 \series default
25145  by 
25146 \series bold
25147 endnote
25148 \series default
25149 .
25150 \end_layout
25151
25152 \begin_layout Standard
25153 To create only a mark for an endnote, use the command 
25154 \series bold
25155
25156 \backslash
25157 endnotemark[number]
25158 \series default
25159  similar to the command 
25160 \series bold
25161
25162 \backslash
25163 footnotemark
25164 \series default
25165 , described in section
25166 \begin_inset space ~
25167 \end_inset
25168
25169
25170 \begin_inset CommandInset ref
25171 LatexCommand ref
25172 reference "sec:Footnotes"
25173
25174 \end_inset
25175
25176 .
25177 \end_layout
25178
25179 \begin_layout Standard
25180 \begin_inset VSpace bigskip
25181 \end_inset
25182
25183 Footnotes can also be placed in the page margin and the footnote text alignment
25184  can be changed, see the LaTeX-package 
25185 \series bold
25186 footmisc
25187 \series default
25188
25189 \begin_inset Index
25190 status collapsed
25191
25192 \begin_layout Plain Layout
25193 LaTeX-packages ! footmisc
25194 \end_layout
25195
25196 \end_inset
25197
25198
25199 \begin_inset CommandInset citation
25200 LatexCommand cite
25201 key "footmisc"
25202
25203 \end_inset
25204
25205  for more information about this.
25206 \end_layout
25207
25208 \begin_layout Standard
25209 For various further footnote formatting issues have a look at LaTeX-books,
25210  
25211 \begin_inset CommandInset citation
25212 LatexCommand cite
25213 key "latexcompanion,latexguide,latexbook"
25214
25215 \end_inset
25216
25217 .
25218 \end_layout
25219
25220 \begin_layout Section
25221 Margin Notes
25222 \begin_inset Index
25223 status collapsed
25224
25225 \begin_layout Plain Layout
25226 Notes ! Margin Notes
25227 \end_layout
25228
25229 \end_inset
25230
25231
25232 \end_layout
25233
25234 \begin_layout Standard
25235 Margin notes look and behave in LyX like footnotes.
25236  They are inserted via the menu 
25237 \family sans
25238 Insert\SpecialChar \menuseparator
25239 Marginal
25240 \begin_inset space ~
25241 \end_inset
25242
25243 Note
25244 \family default
25245  or the toolbar button 
25246 \begin_inset Graphics
25247         filename ../images/marginalnote-insert.png
25248         scale 85
25249         scaleBeforeRotation
25250
25251 \end_inset
25252
25253 .
25254  A grey 
25255 \family roman
25256 \series medium
25257 box with the
25258 \family default
25259 \series default
25260  red 
25261 \family roman
25262 \series medium
25263 label 
25264 \begin_inset Quotes eld
25265 \end_inset
25266
25267 margin
25268 \begin_inset Quotes erd
25269 \end_inset
25270
25271  appears where you can enter the text of the margin note.
25272 \end_layout
25273
25274 \begin_layout Standard
25275 At the side is an example margin note.
25276
25277 \family roman
25278 \series medium
25279  
25280 \begin_inset Marginal
25281 status open
25282
25283 \begin_layout Plain Layout
25284 This is a margin note.
25285 \end_layout
25286
25287 \end_inset
25288
25289
25290 \end_layout
25291
25292 \begin_layout Standard
25293 Margin notes appear at the right side in single-sided documents.
25294  In double-sided documents they appear in the outer margin – left on even
25295  pages, right on odd pages.
25296  The text of margin notes is aligned opposite to the outer margin – right-aligne
25297 d when the note appears in the left margin.
25298  The first line of the margin note is placed at the position of the text
25299  line where it is inserted in the document.
25300 \end_layout
25301
25302 \begin_layout Standard
25303 \begin_inset VSpace bigskip
25304 \end_inset
25305
25306 To place the margin note in the inner margin, add the command
25307 \end_layout
25308
25309 \begin_layout Standard
25310
25311 \series bold
25312
25313 \backslash
25314 reversemarginpar
25315 \end_layout
25316
25317 \begin_layout Standard
25318 in TeX-Code before a margin note.
25319  The new placement is valid for all following margin notes.
25320  
25321 \begin_inset ERT
25322 status collapsed
25323
25324 \begin_layout Plain Layout
25325
25326
25327 \backslash
25328 reversemarginpar 
25329 \end_layout
25330
25331 \end_inset
25332
25333
25334 \begin_inset Marginal
25335 status open
25336
25337 \begin_layout Plain Layout
25338 This is a margin note in the inner margin.
25339 \end_layout
25340
25341 \end_inset
25342
25343
25344 \series bold
25345
25346 \begin_inset Newline newline
25347 \end_inset
25348
25349
25350 \series default
25351
25352 \begin_inset Note Greyedout
25353 status open
25354
25355 \begin_layout Plain Layout
25356
25357 \series bold
25358 Note:
25359 \series default
25360  There is often not enough space in the inner margin so that the notes are
25361  not correctly displayed in the output.
25362 \end_layout
25363
25364 \end_inset
25365
25366
25367 \end_layout
25368
25369 \begin_layout Standard
25370 To return to the default placement insert the command
25371 \end_layout
25372
25373 \begin_layout Standard
25374
25375 \series bold
25376
25377 \backslash
25378 normalmarginpar
25379 \end_layout
25380
25381 \begin_layout Standard
25382 in TeX-Code.
25383 \begin_inset ERT
25384 status collapsed
25385
25386 \begin_layout Plain Layout
25387
25388
25389 \backslash
25390 normalmarginpar 
25391 \end_layout
25392
25393 \end_inset
25394
25395  
25396 \begin_inset Note Greyedout
25397 status open
25398
25399 \begin_layout Plain Layout
25400
25401 \series bold
25402 Note:
25403 \series default
25404  The command is ignored when it is within a paragraph where also the command
25405  
25406 \series bold
25407
25408 \backslash
25409 reversemarginpar
25410 \series default
25411  is inserted.
25412 \end_layout
25413
25414 \end_inset
25415
25416
25417 \end_layout
25418
25419 \begin_layout Standard
25420 \begin_inset VSpace bigskip
25421 \end_inset
25422
25423
25424 \family roman
25425 \series medium
25426
25427 \begin_inset Marginal
25428 status open
25429
25430 \begin_layout Plain Layout
25431 AVeryLongMarginParWord that isn't hyphenated.
25432 \end_layout
25433
25434 \end_inset
25435
25436
25437 \family default
25438 \series default
25439  Similar to the case described in section
25440 \begin_inset space ~
25441 \end_inset
25442
25443
25444 \begin_inset CommandInset ref
25445 LatexCommand ref
25446 reference "sub:Multiple-Lines-in"
25447
25448 \end_inset
25449
25450 , long words cannot be hyphenated when they are the first word in a margin
25451  note.
25452  To avoid this, insert 0
25453 \begin_inset space \thinspace{}
25454 \end_inset
25455
25456 pt horizontal space before the word
25457 \family roman
25458 \series medium
25459 .
25460  
25461 \begin_inset Marginal
25462 status open
25463
25464 \begin_layout Plain Layout
25465 \begin_inset space \hspace*{}
25466 \length 0pt
25467 \end_inset
25468
25469 AVeryLongMarginParWord that is hyphenated.
25470 \end_layout
25471
25472 \end_inset
25473
25474
25475 \end_layout
25476
25477 \begin_layout Standard
25478 \begin_inset VSpace bigskip
25479 \end_inset
25480
25481
25482 \end_layout
25483
25484 \begin_layout Standard
25485 \begin_inset Note Greyedout
25486 status open
25487
25488 \begin_layout Plain Layout
25489
25490 \series bold
25491 Note:
25492 \series default
25493  Margin notes can normally not be used inside tables, floats, and footnotes.
25494 \end_layout
25495
25496 \end_inset
25497
25498
25499 \end_layout
25500
25501 \begin_layout Standard
25502 \begin_inset VSpace bigskip
25503 \end_inset
25504
25505
25506 \end_layout
25507
25508 \begin_layout Standard
25509 \begin_inset ERT
25510 status collapsed
25511
25512 \begin_layout Plain Layout
25513
25514
25515 \backslash
25516 ifmarginnote
25517 \end_layout
25518
25519 \end_inset
25520
25521
25522 \begin_inset Note Note
25523 status open
25524
25525 \begin_layout Plain Layout
25526 The following section will only be displayed when the LaTeX-package 
25527 \series bold
25528 marginnote
25529 \series default
25530  is installed.
25531 \end_layout
25532
25533 \end_inset
25534
25535
25536 \end_layout
25537
25538 \begin_layout Standard
25539 This restriction can be evaded by using the LaTeX-package 
25540 \series bold
25541 marginnote
25542 \series default
25543
25544 \begin_inset Index
25545 status collapsed
25546
25547 \begin_layout Plain Layout
25548 LaTeX-packages ! marginnote
25549 \end_layout
25550
25551 \end_inset
25552
25553 .
25554  By adding these two lines to your document preamble, the command used by
25555  LyX for margin notes is redefined to use the command provided by the 
25556 \series bold
25557 marginnote
25558 \series default
25559 -package:
25560 \end_layout
25561
25562 \begin_layout Standard
25563
25564 \series bold
25565
25566 \backslash
25567 usepackage{marginnote}
25568 \begin_inset Newline newline
25569 \end_inset
25570
25571
25572 \backslash
25573 let
25574 \backslash
25575 marginpar
25576 \backslash
25577 marginnote
25578 \end_layout
25579
25580 \begin_layout Standard
25581 This is also used in this document because 
25582 \series bold
25583 marginnote
25584 \series default
25585  has another useful feature: You can set a vertical offset for the note.
25586  This is often needed when too many margin notes are too close together
25587  or for a better page layout.
25588  The offset is set in LyX as TeX-Code directly behind the margin note in
25589  the scheme
25590 \end_layout
25591
25592 \begin_layout Standard
25593
25594 \series bold
25595 [offset]
25596 \end_layout
25597
25598 \begin_layout Standard
25599 where the offset is a length with one of the units listed in Table
25600 \begin_inset space ~
25601 \end_inset
25602
25603
25604 \begin_inset CommandInset ref
25605 LatexCommand ref
25606 reference "tab:Units"
25607
25608 \end_inset
25609
25610 .
25611  A negative value shifts the note up, a positive value shifts it down.
25612  
25613 \family roman
25614 \series medium
25615 For example the margin note beside this text line is shifted up 1.5
25616 \begin_inset space \thinspace{}
25617 \end_inset
25618
25619 cm with the TeX-Code-command 
25620 \begin_inset Quotes eld
25621 \end_inset
25622
25623
25624 \family default
25625 \series bold
25626 [-1.5cm]
25627 \family roman
25628 \series medium
25629
25630 \begin_inset Quotes erd
25631 \end_inset
25632
25633
25634 \begin_inset Marginal
25635 status open
25636
25637 \begin_layout Plain Layout
25638 This margin note is shifted up 1.5
25639 \begin_inset space \thinspace{}
25640 \end_inset
25641
25642 cm from its original position.
25643 \end_layout
25644
25645 \end_inset
25646
25647
25648 \family default
25649 \series default
25650
25651 \begin_inset ERT
25652 status collapsed
25653
25654 \begin_layout Plain Layout
25655
25656 [-1.5cm]
25657 \end_layout
25658
25659 \end_inset
25660
25661
25662 \end_layout
25663
25664 \begin_layout Standard
25665 \begin_inset VSpace medskip
25666 \end_inset
25667
25668 With 
25669 \series bold
25670 marginnote
25671 \series default
25672  you can also change the alignment of the text in the margin note.
25673  For example the commands
25674 \end_layout
25675
25676 \begin_layout Standard
25677
25678 \series bold
25679
25680 \backslash
25681 renewcommand*{
25682 \backslash
25683 raggedleftmarginnote}{
25684 \backslash
25685 centering}
25686 \begin_inset Newline newline
25687 \end_inset
25688
25689
25690 \backslash
25691 renewcommand*{
25692 \backslash
25693 raggedrightmarginnote}{
25694 \backslash
25695 centering}
25696 \end_layout
25697
25698 \begin_layout Standard
25699 set the alignment to centered.
25700  
25701 \series bold
25702
25703 \backslash
25704 raggedleftmarginnote
25705 \series default
25706  denotes margin notes that appear at the left side.
25707 \family roman
25708 \series medium
25709
25710 \begin_inset ERT
25711 status collapsed
25712
25713 \begin_layout Plain Layout
25714
25715
25716 \backslash
25717 renewcommand*{
25718 \backslash
25719 raggedleftmarginnote}{
25720 \backslash
25721 centering}
25722 \end_layout
25723
25724 \begin_layout Plain Layout
25725
25726
25727 \backslash
25728 renewcommand*{
25729 \backslash
25730 raggedrightmarginnote}{
25731 \backslash
25732 centering}
25733 \end_layout
25734
25735 \end_inset
25736
25737
25738 \begin_inset Marginal
25739 status open
25740
25741 \begin_layout Plain Layout
25742 The text of this margin note is centered.
25743 \end_layout
25744
25745 \end_inset
25746
25747
25748 \family default
25749 \series default
25750  The default is
25751 \end_layout
25752
25753 \begin_layout Standard
25754
25755 \series bold
25756
25757 \backslash
25758 renewcommand*{
25759 \backslash
25760 raggedleftmarginnote}{
25761 \backslash
25762 raggedleft}
25763 \begin_inset Newline newline
25764 \end_inset
25765
25766
25767 \backslash
25768 renewcommand*{
25769 \backslash
25770 raggedrightmarginnote}{
25771 \backslash
25772 raggedright}
25773 \family roman
25774 \series medium
25775
25776 \begin_inset ERT
25777 status collapsed
25778
25779 \begin_layout Plain Layout
25780
25781
25782 \backslash
25783 renewcommand*{
25784 \backslash
25785 raggedleftmarginnote}{
25786 \backslash
25787 raggedleft}
25788 \end_layout
25789
25790 \begin_layout Plain Layout
25791
25792
25793 \backslash
25794 renewcommand*{
25795 \backslash
25796 raggedrightmarginnote}{
25797 \backslash
25798 raggedright}
25799 \end_layout
25800
25801 \end_inset
25802
25803
25804 \end_layout
25805
25806 \begin_layout Standard
25807 \begin_inset VSpace medskip
25808 \end_inset
25809
25810 For the other features of 
25811 \series bold
25812 marginnote
25813 \series default
25814  we refer to its documentation 
25815 \begin_inset CommandInset citation
25816 LatexCommand cite
25817 key "marginnote"
25818
25819 \end_inset
25820
25821 .
25822 \end_layout
25823
25824 \begin_layout Standard
25825 \begin_inset VSpace bigskip
25826 \end_inset
25827
25828 You can adjust the layout of margin notes by changing its definition.
25829  To create for example a header for all margin notes with the underlined,
25830  sans-serif, and bold header text 
25831 \begin_inset Quotes eld
25832 \end_inset
25833
25834
25835 \family sans
25836 \series bold
25837 \bar under
25838 Attention!
25839 \family default
25840 \series default
25841 \bar default
25842
25843 \begin_inset Quotes erd
25844 \end_inset
25845
25846 , add this to your document preamble:
25847 \end_layout
25848
25849 \begin_layout Standard
25850
25851 \series bold
25852
25853 \backslash
25854 let
25855 \backslash
25856 myMarginpar
25857 \backslash
25858 marginpar
25859 \begin_inset Newline newline
25860 \end_inset
25861
25862
25863 \backslash
25864 renewcommand{
25865 \backslash
25866 marginpar}[1]{
25867 \backslash
25868 myMarginpar{%
25869 \begin_inset Newline newline
25870 \end_inset
25871
25872
25873 \begin_inset ERT
25874 status collapsed
25875
25876 \begin_layout Plain Layout
25877
25878
25879 \backslash
25880 hphantom{ }
25881 \end_layout
25882
25883 \end_inset
25884
25885
25886 \backslash
25887 hspace{0pt}
25888 \backslash
25889 textsf{
25890 \backslash
25891 textbf{
25892 \backslash
25893 underbar{Attention!}}}%
25894 \begin_inset Newline newline
25895 \end_inset
25896
25897
25898 \begin_inset ERT
25899 status collapsed
25900
25901 \begin_layout Plain Layout
25902
25903
25904 \backslash
25905 hphantom{ }
25906 \end_layout
25907
25908 \end_inset
25909
25910
25911 \backslash
25912 vspace{1.5mm}
25913 \backslash
25914
25915 \backslash
25916 #1}}
25917 \end_layout
25918
25919 \begin_layout Standard
25920
25921 \family roman
25922 \series medium
25923 \begin_inset ERT
25924 status collapsed
25925
25926 \begin_layout Plain Layout
25927
25928
25929 \backslash
25930 let
25931 \backslash
25932 myMarginpar
25933 \backslash
25934 marginpar
25935 \end_layout
25936
25937 \begin_layout Plain Layout
25938
25939
25940 \backslash
25941 renewcommand{
25942 \backslash
25943 marginpar}[1]{
25944 \backslash
25945 myMarginpar{%
25946 \end_layout
25947
25948 \begin_layout Plain Layout
25949
25950    
25951 \backslash
25952 textsf{
25953 \backslash
25954 textbf{
25955 \backslash
25956 underbar{Attention!}}}%
25957 \end_layout
25958
25959 \begin_layout Plain Layout
25960
25961    
25962 \backslash
25963 vspace{1.5mm}
25964 \backslash
25965
25966 \backslash
25967 #1}}
25968 \end_layout
25969
25970 \end_inset
25971
25972
25973 \begin_inset Marginal
25974 status open
25975
25976 \begin_layout Plain Layout
25977 This is a margin note with a defined heading.
25978 \end_layout
25979
25980 \end_inset
25981
25982
25983 \family default
25984 \series default
25985
25986 \begin_inset ERT
25987 status collapsed
25988
25989 \begin_layout Plain Layout
25990
25991 [-1.5cm]
25992 \end_layout
25993
25994 \end_inset
25995
25996
25997 \family roman
25998 \series medium
25999
26000 \begin_inset ERT
26001 status collapsed
26002
26003 \begin_layout Plain Layout
26004
26005
26006 \backslash
26007 renewcommand{
26008 \backslash
26009 marginpar}[1]{
26010 \backslash
26011 myMarginpar{#1}}
26012 \end_layout
26013
26014 \end_inset
26015
26016
26017 \family default
26018 \series default
26019
26020 \begin_inset Note Note
26021 status collapsed
26022
26023 \begin_layout Plain Layout
26024 The margin note format is changed only for this example.
26025 \end_layout
26026
26027 \end_inset
26028
26029
26030 \end_layout
26031
26032 \begin_layout Standard
26033 \begin_inset ERT
26034 status collapsed
26035
26036 \begin_layout Plain Layout
26037
26038
26039 \backslash
26040 else
26041 \end_layout
26042
26043 \end_inset
26044
26045
26046 \begin_inset Note Note
26047 status open
26048
26049 \begin_layout Plain Layout
26050 The following will be displayed when the LaTeX-package 
26051 \series bold
26052 marginnote
26053 \series default
26054  is not installed:
26055 \end_layout
26056
26057 \end_inset
26058
26059
26060 \end_layout
26061
26062 \begin_layout Standard
26063 You need to install the LaTeX-package 
26064 \series bold
26065 marginnote
26066 \series default
26067  to see the following part of this section in the output.
26068 \end_layout
26069
26070 \begin_layout Standard
26071 \begin_inset ERT
26072 status collapsed
26073
26074 \begin_layout Plain Layout
26075
26076
26077 \backslash
26078 fi
26079 \end_layout
26080
26081 \end_inset
26082
26083
26084 \end_layout
26085
26086 \begin_layout Chapter
26087 Boxes
26088 \end_layout
26089
26090 \begin_layout Section
26091 Introduction
26092 \begin_inset Index
26093 status collapsed
26094
26095 \begin_layout Plain Layout
26096 Boxes ! Introduction
26097 \end_layout
26098
26099 \end_inset
26100
26101
26102 \end_layout
26103
26104 \begin_layout Standard
26105 Boxes are used to format a block of text.
26106  Boxes can be used to write documents with multiple languages, see section
26107 \begin_inset space ~
26108 \end_inset
26109
26110
26111 \begin_inset CommandInset ref
26112 LatexCommand ref
26113 reference "sec:Minipages"
26114
26115 \end_inset
26116
26117 , to frame texts, see section
26118 \begin_inset space ~
26119 \end_inset
26120
26121
26122 \begin_inset CommandInset ref
26123 LatexCommand ref
26124 reference "sec:Decoration"
26125
26126 \end_inset
26127
26128 , to prevent words to be hyphenated, see section
26129 \begin_inset space ~
26130 \end_inset
26131
26132
26133 \begin_inset CommandInset ref
26134 LatexCommand ref
26135 reference "sec:Prevent-Hyphenation"
26136
26137 \end_inset
26138
26139 , to align text, see section
26140 \begin_inset space ~
26141 \end_inset
26142
26143
26144 \begin_inset CommandInset ref
26145 LatexCommand ref
26146 reference "sub:Vertical-Alignment"
26147
26148 \end_inset
26149
26150 , or to set the background color of texts, see section
26151 \begin_inset space ~
26152 \end_inset
26153
26154
26155 \begin_inset CommandInset ref
26156 LatexCommand ref
26157 reference "sec:Colored-Boxes"
26158
26159 \end_inset
26160
26161 .
26162 \end_layout
26163
26164 \begin_layout Standard
26165 Boxes can be inserted with the menu 
26166 \family sans
26167 Insert\SpecialChar \menuseparator
26168 Box
26169 \family default
26170  or the toolbar button 
26171 \begin_inset Graphics
26172         filename ../images/box-insert.png
26173         scale 85
26174         scaleBeforeRotation
26175
26176 \end_inset
26177
26178 .
26179  A grey box with the label 
26180 \family sans
26181 Box (Minipage)
26182 \family default
26183
26184 \begin_inset Graphics
26185         filename clipart/BoxInsetDefaultQt4.png
26186         scale 85
26187         scaleBeforeRotation
26188
26189 \end_inset
26190
26191  will be inserted.
26192  The box type can be specified by right-clicking on the box.
26193  The appearing box dialog offers the 
26194 \family sans
26195 Inner
26196 \begin_inset space ~
26197 \end_inset
26198
26199 Box
26200 \family default
26201  types 
26202 \family sans
26203 Parbox
26204 \family default
26205  and 
26206 \family sans
26207 Minipage
26208 \family default
26209 .
26210  The type 
26211 \family sans
26212 Minipage
26213 \family default
26214  is the default for new boxes and is explained in section
26215 \begin_inset space ~
26216 \end_inset
26217
26218
26219 \begin_inset CommandInset ref
26220 LatexCommand ref
26221 reference "sec:Minipages"
26222
26223 \end_inset
26224
26225 ; the type 
26226 \family sans
26227 Parbox
26228 \family default
26229  is described in section
26230 \begin_inset space ~
26231 \end_inset
26232
26233
26234 \begin_inset CommandInset ref
26235 LatexCommand ref
26236 reference "sec:Parboxes"
26237
26238 \end_inset
26239
26240 .
26241 \end_layout
26242
26243 \begin_layout Standard
26244 Boxes aren't numbered and can therefore not be referenced like floats or
26245  footnotes.
26246 \end_layout
26247
26248 \begin_layout Standard
26249 \begin_inset Note Greyedout
26250 status open
26251
26252 \begin_layout Plain Layout
26253
26254 \series bold
26255 Note:
26256 \series default
26257  Boxes must not be the item in an 
26258 \family sans
26259 Itemize
26260 \family default
26261  or 
26262 \family sans
26263 Description
26264 \family default
26265  environment.
26266 \end_layout
26267
26268 \end_inset
26269
26270
26271 \end_layout
26272
26273 \begin_layout Standard
26274 \begin_inset Note Greyedout
26275 status open
26276
26277 \begin_layout Plain Layout
26278
26279 \series bold
26280 Note:
26281 \series default
26282  For an unknown reason you can only set the 
26283 \family sans
26284 Inner
26285 \begin_inset space ~
26286 \end_inset
26287
26288 Box
26289 \family default
26290  type to 
26291 \family sans
26292 None
26293 \family default
26294  when you use a framed box.
26295  Boxes without an 
26296 \family sans
26297 Inner
26298 \begin_inset space ~
26299 \end_inset
26300
26301 Box
26302 \family default
26303  type and without frames are explained in section
26304 \begin_inset space ~
26305 \end_inset
26306
26307
26308 \begin_inset CommandInset ref
26309 LatexCommand ref
26310 reference "sec:Prevent-Hyphenation"
26311
26312 \end_inset
26313
26314 .
26315 \end_layout
26316
26317 \end_inset
26318
26319
26320 \end_layout
26321
26322 \begin_layout Section
26323 Box Dialog
26324 \begin_inset CommandInset label
26325 LatexCommand label
26326 name "sec:Box-Dialog"
26327
26328 \end_inset
26329
26330
26331 \begin_inset Index
26332 status collapsed
26333
26334 \begin_layout Plain Layout
26335 Boxes ! Box Dialog
26336 \end_layout
26337
26338 \end_inset
26339
26340
26341 \end_layout
26342
26343 \begin_layout Subsection
26344 Size
26345 \begin_inset Index
26346 status collapsed
26347
26348 \begin_layout Plain Layout
26349 Boxes ! Size
26350 \end_layout
26351
26352 \end_inset
26353
26354
26355 \end_layout
26356
26357 \begin_layout Standard
26358 In the box dialog you can adjust the box geometry in the fields 
26359 \family sans
26360 Width
26361 \family default
26362  and 
26363 \family sans
26364 Height
26365 \family default
26366 .
26367  The available units for the geometry are explained in Table
26368 \begin_inset space ~
26369 \end_inset
26370
26371
26372 \begin_inset CommandInset ref
26373 LatexCommand ref
26374 reference "tab:Units"
26375
26376 \end_inset
26377
26378 .
26379  The field 
26380 \family sans
26381 Heigth
26382 \family default
26383  offers the following additional sizes:
26384 \end_layout
26385
26386 \begin_layout Description
26387 Depth This is the plain text 
26388 \begin_inset Quotes eld
26389 \end_inset
26390
26391 height
26392 \begin_inset Quotes erd
26393 \end_inset
26394
26395 .
26396  It ignores the total depth when there are multiple text lines in the box:
26397 \begin_inset Newline newline
26398 \end_inset
26399
26400
26401 \begin_inset Newline newline
26402 \end_inset
26403
26404
26405 \begin_inset Newline newline
26406 \end_inset
26407
26408
26409 \begin_inset Box Boxed
26410 position "c"
26411 hor_pos "c"
26412 has_inner_box 1
26413 inner_pos "c"
26414 use_parbox 0
26415 width "12col%"
26416 special "none"
26417 height "1in"
26418 height_special "depth"
26419 status collapsed
26420
26421 \begin_layout Plain Layout
26422 \align center
26423 Box height set to 1
26424 \begin_inset space \thinspace{}
26425 \end_inset
26426
26427 Depth
26428 \end_layout
26429
26430 \end_inset
26431
26432
26433 \begin_inset Newline newline
26434 \end_inset
26435
26436
26437 \begin_inset Newline newline
26438 \end_inset
26439
26440
26441 \end_layout
26442
26443 \begin_layout Description
26444 Height This is the heigth of the text that is inside the box.
26445  A value of e.
26446 \begin_inset space \thinspace{}
26447 \end_inset
26448
26449 g.
26450 \begin_inset space \space{}
26451 \end_inset
26452
26453 2 for this size will set the box heigth to 2 times the text height: 
26454 \begin_inset Box Boxed
26455 position "c"
26456 hor_pos "c"
26457 has_inner_box 1
26458 inner_pos "c"
26459 use_parbox 0
26460 width "20col%"
26461 special "none"
26462 height "2in"
26463 height_special "height"
26464 status collapsed
26465
26466 \begin_layout Plain Layout
26467 \align center
26468 Box height set to 2
26469 \begin_inset space \thinspace{}
26470 \end_inset
26471
26472 Height
26473 \end_layout
26474
26475 \end_inset
26476
26477
26478 \end_layout
26479
26480 \begin_layout Description
26481 Total
26482 \begin_inset space ~
26483 \end_inset
26484
26485 Height This is the Height
26486 \begin_inset space \thinspace{}
26487 \end_inset
26488
26489 +
26490 \begin_inset space \thinspace{}
26491 \end_inset
26492
26493 Depth: 
26494 \begin_inset Box Boxed
26495 position "c"
26496 hor_pos "c"
26497 has_inner_box 1
26498 inner_pos "c"
26499 use_parbox 0
26500 width "20col%"
26501 special "none"
26502 height "1in"
26503 height_special "totalheight"
26504 status collapsed
26505
26506 \begin_layout Plain Layout
26507 \align center
26508 Box height set to 1
26509 \begin_inset space \thinspace{}
26510 \end_inset
26511
26512 Total
26513 \begin_inset space ~
26514 \end_inset
26515
26516 Height
26517 \end_layout
26518
26519 \end_inset
26520
26521
26522 \end_layout
26523
26524 \begin_layout Description
26525 Width This sets the width of the box as heigth: 
26526 \begin_inset Box Boxed
26527 position "c"
26528 hor_pos "c"
26529 has_inner_box 1
26530 inner_pos "c"
26531 use_parbox 0
26532 width "12col%"
26533 special "none"
26534 height "1in"
26535 height_special "width"
26536 status collapsed
26537
26538 \begin_layout Plain Layout
26539 \align center
26540 Box height set to 1
26541 \begin_inset space \thinspace{}
26542 \end_inset
26543
26544 Width
26545 \end_layout
26546
26547 \end_inset
26548
26549
26550 \end_layout
26551
26552 \begin_layout Subsection
26553 Alignment
26554 \begin_inset Index
26555 status collapsed
26556
26557 \begin_layout Plain Layout
26558 Boxes ! Alignment
26559 \end_layout
26560
26561 \end_inset
26562
26563
26564 \end_layout
26565
26566 \begin_layout Standard
26567 When you have chosen an 
26568 \family sans
26569 Inner
26570 \begin_inset space ~
26571 \end_inset
26572
26573 Box
26574 \family default
26575 , the vertical box alignment can be:
26576 \end_layout
26577
26578 \begin_layout Description
26579 Top This is an example text line.
26580  
26581 \begin_inset Box Boxed
26582 position "t"
26583 hor_pos "c"
26584 has_inner_box 1
26585 inner_pos "c"
26586 use_parbox 0
26587 width "12col%"
26588 special "none"
26589 height "1in"
26590 height_special "totalheight"
26591 status collapsed
26592
26593 \begin_layout Plain Layout
26594 \align center
26595 This box is top-aligned.
26596 \end_layout
26597
26598 \end_inset
26599
26600  This is an example text line.
26601 \end_layout
26602
26603 \begin_layout Description
26604 Middle This is an example text line.
26605  
26606 \begin_inset Box Boxed
26607 position "c"
26608 hor_pos "c"
26609 has_inner_box 1
26610 inner_pos "c"
26611 use_parbox 0
26612 width "12col%"
26613 special "none"
26614 height "1in"
26615 height_special "totalheight"
26616 status collapsed
26617
26618 \begin_layout Plain Layout
26619 \align center
26620 This box is middle-aligned.
26621 \end_layout
26622
26623 \end_inset
26624
26625  This is an example text line.
26626 \end_layout
26627
26628 \begin_layout Description
26629 Bottom This is an example text line.
26630  
26631 \begin_inset Box Boxed
26632 position "b"
26633 hor_pos "c"
26634 has_inner_box 1
26635 inner_pos "c"
26636 use_parbox 0
26637 width "12col%"
26638 special "none"
26639 height "1in"
26640 height_special "totalheight"
26641 status collapsed
26642
26643 \begin_layout Plain Layout
26644 \align center
26645 This box is bottom-aligned.
26646 \end_layout
26647
26648 \end_inset
26649
26650  This is an example text line.
26651 \end_layout
26652
26653 \begin_layout Standard
26654 \begin_inset Note Greyedout
26655 status open
26656
26657 \begin_layout Plain Layout
26658
26659 \series bold
26660 Note:
26661 \series default
26662  The vertical box aligment can be lost in the output when you have two boxes
26663  in a line and one has e.
26664 \begin_inset space \thinspace{}
26665 \end_inset
26666
26667 g.
26668 \begin_inset space \space{}
26669 \end_inset
26670
26671 a shadow and the other one not.
26672 \end_layout
26673
26674 \end_inset
26675
26676
26677 \end_layout
26678
26679 \begin_layout Standard
26680 The horizontal box alignment can be set via LyX's paragraph dialog when
26681  you set the box into its own paragraph.
26682 \end_layout
26683
26684 \begin_layout Standard
26685 \begin_inset VSpace bigskip
26686 \end_inset
26687
26688 When you have chosen an 
26689 \family sans
26690 Inner
26691 \begin_inset space ~
26692 \end_inset
26693
26694 Box
26695 \family default
26696 , the box content can be vertical aligned to:
26697 \end_layout
26698
26699 \begin_layout Description
26700 top This is an example text line.
26701  
26702 \begin_inset Box Boxed
26703 position "c"
26704 hor_pos "c"
26705 has_inner_box 1
26706 inner_pos "t"
26707 use_parbox 0
26708 width "12col%"
26709 special "none"
26710 height "1.5in"
26711 height_special "totalheight"
26712 status collapsed
26713
26714 \begin_layout Plain Layout
26715 \align center
26716 This box text is top-aligned.
26717 \end_layout
26718
26719 \end_inset
26720
26721  This is an example text line.
26722 \end_layout
26723
26724 \begin_layout Description
26725 middle This is an example text line.
26726  
26727 \begin_inset Box Boxed
26728 position "c"
26729 hor_pos "c"
26730 has_inner_box 1
26731 inner_pos "c"
26732 use_parbox 0
26733 width "12col%"
26734 special "none"
26735 height "1.5in"
26736 height_special "totalheight"
26737 status collapsed
26738
26739 \begin_layout Plain Layout
26740 \align center
26741 This box text is middle-aligned.
26742 \end_layout
26743
26744 \end_inset
26745
26746  This is an example text line.
26747 \end_layout
26748
26749 \begin_layout Description
26750 bottom This is an example text line.
26751  
26752 \begin_inset Box Boxed
26753 position "c"
26754 hor_pos "c"
26755 has_inner_box 1
26756 inner_pos "b"
26757 use_parbox 0
26758 width "12col%"
26759 special "none"
26760 height "1.5in"
26761 height_special "totalheight"
26762 status collapsed
26763
26764 \begin_layout Plain Layout
26765 \align center
26766 This box text is bottom-aligned.
26767 \end_layout
26768
26769 \end_inset
26770
26771  This is an example text line.
26772 \end_layout
26773
26774 \begin_layout Description
26775 stretch This is an example text line.
26776  
26777 \begin_inset Box Boxed
26778 position "c"
26779 hor_pos "c"
26780 has_inner_box 1
26781 inner_pos "s"
26782 use_parbox 0
26783 width "12col%"
26784 special "none"
26785 height "1.5in"
26786 height_special "totalheight"
26787 status collapsed
26788
26789 \begin_layout Plain Layout
26790 \align center
26791 This box
26792 \end_layout
26793
26794 \begin_layout Plain Layout
26795 \align center
26796 text is
26797 \end_layout
26798
26799 \begin_layout Plain Layout
26800 \align center
26801 stretched.
26802 \end_layout
26803
26804 \end_inset
26805
26806  This is an example text line.
26807 \end_layout
26808
26809 \begin_layout Standard
26810 To stretch the box content, it must consist of more than one paragraph.
26811  In the example above every text line is in an own paragraph.
26812 \end_layout
26813
26814 \begin_layout Standard
26815 \begin_inset VSpace bigskip
26816 \end_inset
26817
26818 To align the box content horizontally you can use LyX's paragraph dialog
26819  when you have chosen an 
26820 \family sans
26821 Inner
26822 \begin_inset space ~
26823 \end_inset
26824
26825 Box
26826 \family default
26827 .
26828 \end_layout
26829
26830 \begin_layout Standard
26831 \align center
26832 \begin_inset Box Boxed
26833 position "c"
26834 hor_pos "c"
26835 has_inner_box 1
26836 inner_pos "s"
26837 use_parbox 0
26838 width "15col%"
26839 special "none"
26840 height "1.25in"
26841 height_special "totalheight"
26842 status collapsed
26843
26844 \begin_layout Plain Layout
26845 \align left
26846 This box
26847 \end_layout
26848
26849 \begin_layout Plain Layout
26850 \align center
26851 text is
26852 \end_layout
26853
26854 \begin_layout Plain Layout
26855 \align right
26856 stretched.
26857 \end_layout
26858
26859 \end_inset
26860
26861
26862 \end_layout
26863
26864 \begin_layout Standard
26865 If you haven't set an 
26866 \family sans
26867 Inner
26868 \begin_inset space ~
26869 \end_inset
26870
26871 Box
26872 \family default
26873 , you can align the box content horizontally in the box dialog.
26874 \end_layout
26875
26876 \begin_layout Standard
26877 \align center
26878 \begin_inset Box Boxed
26879 position "c"
26880 hor_pos "s"
26881 has_inner_box 0
26882 inner_pos "s"
26883 use_parbox 0
26884 width "90col%"
26885 special "none"
26886 height "1.25in"
26887 height_special "totalheight"
26888 status collapsed
26889
26890 \begin_layout Plain Layout
26891 \align left
26892 This box text is horizontally stretched.
26893 \end_layout
26894
26895 \end_inset
26896
26897
26898 \end_layout
26899
26900 \begin_layout Subsection
26901 Decoration
26902 \begin_inset CommandInset label
26903 LatexCommand label
26904 name "sec:Decoration"
26905
26906 \end_inset
26907
26908
26909 \begin_inset Index
26910 status collapsed
26911
26912 \begin_layout Plain Layout
26913 Boxes ! Decoration
26914 \end_layout
26915
26916 \end_inset
26917
26918
26919 \end_layout
26920
26921 \begin_layout Standard
26922 The type of the box can be specified in the box-dialog in the drop-down
26923  list 
26924 \family sans
26925 Decoration
26926 \family default
26927 .
26928  The following types are possible:
26929 \end_layout
26930
26931 \begin_layout Description
26932 Simple
26933 \begin_inset space ~
26934 \end_inset
26935
26936 rectangular
26937 \begin_inset space ~
26938 \end_inset
26939
26940 frame This draws a rectangle frame around the box.
26941  The frame line thickness has the size of 
26942 \series bold
26943
26944 \backslash
26945 fboxrule
26946 \series default
26947 .
26948  
26949 \begin_inset Box Boxed
26950 position "c"
26951 hor_pos "c"
26952 has_inner_box 1
26953 inner_pos "c"
26954 use_parbox 0
26955 width "20col%"
26956 special "none"
26957 height "1in"
26958 height_special "totalheight"
26959 status collapsed
26960
26961 \begin_layout Plain Layout
26962 \align center
26963 Rectangular box
26964 \end_layout
26965
26966 \end_inset
26967
26968
26969 \end_layout
26970
26971 \begin_layout Description
26972 Allow
26973 \begin_inset space ~
26974 \end_inset
26975
26976 page
26977 \begin_inset space ~
26978 \end_inset
26979
26980 break When you use the decoration 
26981 \family sans
26982 simple rectangular frame
26983 \family default
26984  and no inner box, you can allow page breaks within a box.
26985  Note that then, in contrary to other framed boxes, the frame always uses
26986  the whole column width, the box is set as its own paragraph, and 
26987 \series bold
26988
26989 \backslash
26990 fboxrule
26991 \series default
26992  and 
26993 \series bold
26994
26995 \backslash
26996 fboxsep
26997 \series default
26998  has no effect on this box type.
26999  The frame line thickness has the size of 
27000 \series bold
27001
27002 \backslash
27003 FrameRule
27004 \series default
27005 .
27006  
27007 \begin_inset Box Framed
27008 position "t"
27009 hor_pos "c"
27010 has_inner_box 0
27011 inner_pos "t"
27012 use_parbox 0
27013 width "100col%"
27014 special "none"
27015 height "1in"
27016 height_special "totalheight"
27017 status collapsed
27018
27019 \begin_layout Plain Layout
27020 Allow page break box
27021 \end_layout
27022
27023 \end_inset
27024
27025
27026 \end_layout
27027
27028 \begin_layout Description
27029 Oval
27030 \begin_inset space ~
27031 \end_inset
27032
27033 box,
27034 \begin_inset space ~
27035 \end_inset
27036
27037 thin This draws an oval frame around the box.
27038  The frame line thickness has the size 0.4
27039 \begin_inset space \thinspace{}
27040 \end_inset
27041
27042 pt.
27043  
27044 \begin_inset Box ovalbox
27045 position "c"
27046 hor_pos "c"
27047 has_inner_box 1
27048 inner_pos "c"
27049 use_parbox 0
27050 width "20col%"
27051 special "none"
27052 height "1in"
27053 height_special "totalheight"
27054 status collapsed
27055
27056 \begin_layout Plain Layout
27057 \align center
27058 Oval box, thin
27059 \end_layout
27060
27061 \end_inset
27062
27063
27064 \end_layout
27065
27066 \begin_layout Description
27067 Oval
27068 \begin_inset space ~
27069 \end_inset
27070
27071 box,
27072 \begin_inset space ~
27073 \end_inset
27074
27075 thick This draws an oval frame around the box.
27076  The frame line thickness has the size 0.8
27077 \begin_inset space \thinspace{}
27078 \end_inset
27079
27080 pt.
27081  
27082 \begin_inset Box Ovalbox
27083 position "c"
27084 hor_pos "c"
27085 has_inner_box 1
27086 inner_pos "c"
27087 use_parbox 0
27088 width "20col%"
27089 special "none"
27090 height "1in"
27091 height_special "totalheight"
27092 status collapsed
27093
27094 \begin_layout Plain Layout
27095 \align center
27096 Oval box, thick
27097 \end_layout
27098
27099 \end_inset
27100
27101
27102 \end_layout
27103
27104 \begin_layout Description
27105 Drop
27106 \begin_inset space ~
27107 \end_inset
27108
27109 shadow This draws a rectangle frame with a shadow around the box.
27110  The frame line thickness has the size of 
27111 \series bold
27112
27113 \backslash
27114 fboxrule
27115 \series default
27116 , the shadow has a width of 4
27117 \begin_inset space \thinspace{}
27118 \end_inset
27119
27120 pt.
27121  
27122 \begin_inset Box Shadowbox
27123 position "c"
27124 hor_pos "c"
27125 has_inner_box 1
27126 inner_pos "c"
27127 use_parbox 0
27128 width "20col%"
27129 special "none"
27130 height "1in"
27131 height_special "totalheight"
27132 status collapsed
27133
27134 \begin_layout Plain Layout
27135 \align center
27136 Shadow box
27137 \end_layout
27138
27139 \end_inset
27140
27141
27142 \end_layout
27143
27144 \begin_layout Description
27145 Shaded
27146 \begin_inset space ~
27147 \end_inset
27148
27149 background This draws a box with red background color.
27150  In contrary to colored boxes
27151 \begin_inset Foot
27152 status collapsed
27153
27154 \begin_layout Plain Layout
27155 see sec.
27156 \begin_inset space \thinspace{}
27157 \end_inset
27158
27159
27160 \begin_inset CommandInset ref
27161 LatexCommand ref
27162 reference "sec:Colored-Boxes"
27163
27164 \end_inset
27165
27166
27167 \end_layout
27168
27169 \end_inset
27170
27171 , it always uses the whole column width and the box is set as its own paragraph.
27172  
27173 \begin_inset Box Shaded
27174 position "t"
27175 hor_pos "c"
27176 has_inner_box 0
27177 inner_pos "t"
27178 use_parbox 0
27179 width "50col%"
27180 special "none"
27181 height "1in"
27182 height_special "totalheight"
27183 status collapsed
27184
27185 \begin_layout Plain Layout
27186 Shaded background box
27187 \end_layout
27188
27189 \end_inset
27190
27191
27192 \end_layout
27193
27194 \begin_layout Description
27195 Double
27196 \begin_inset space ~
27197 \end_inset
27198
27199 rectangular
27200 \begin_inset space ~
27201 \end_inset
27202
27203 frame This draws a double-line rectangle frame around the box.
27204  The line thickness of the inner frame is 0.75
27205 \begin_inset space \thinspace{}
27206 \end_inset
27207
27208
27209 \series bold
27210
27211 \backslash
27212 fboxrule
27213 \series default
27214 , the thickness of the outer frame is 1.5
27215 \begin_inset space \thinspace{}
27216 \end_inset
27217
27218
27219 \series bold
27220
27221 \backslash
27222 fboxrule
27223 \series default
27224 .
27225  The distance between the lines is 1.5
27226 \begin_inset space \thinspace{}
27227 \end_inset
27228
27229
27230 \series bold
27231
27232 \backslash
27233 fboxrule
27234 \series default
27235
27236 \begin_inset space \thinspace{}
27237 \end_inset
27238
27239 +
27240 \begin_inset space \thinspace{}
27241 \end_inset
27242
27243 0.5
27244 \begin_inset space \thinspace{}
27245 \end_inset
27246
27247 pt.
27248  
27249 \begin_inset Box Doublebox
27250 position "c"
27251 hor_pos "c"
27252 has_inner_box 1
27253 inner_pos "c"
27254 use_parbox 0
27255 width "20col%"
27256 special "none"
27257 height "1in"
27258 height_special "totalheight"
27259 status collapsed
27260
27261 \begin_layout Plain Layout
27262 \align center
27263 Double rectangular box
27264 \end_layout
27265
27266 \end_inset
27267
27268
27269 \end_layout
27270
27271 \begin_layout Standard
27272 \begin_inset VSpace bigskip
27273 \end_inset
27274
27275 LyX's box label will reflect the different frame types.
27276  To be able to use all types, the LaTeX-package 
27277 \series bold
27278 fancybox
27279 \series default
27280
27281 \begin_inset Index
27282 status collapsed
27283
27284 \begin_layout Plain Layout
27285 LaTeX-packages ! fancybox
27286 \end_layout
27287
27288 \end_inset
27289
27290  must be installed.
27291 \end_layout
27292
27293 \begin_layout Section
27294 Box customization
27295 \begin_inset Index
27296 status collapsed
27297
27298 \begin_layout Plain Layout
27299 Boxes ! Customization
27300 \end_layout
27301
27302 \end_inset
27303
27304
27305 \end_layout
27306
27307 \begin_layout Standard
27308 The default value for the size 
27309 \series bold
27310
27311 \backslash
27312 fboxrule
27313 \series default
27314  is 0.4
27315 \begin_inset space \thinspace{}
27316 \end_inset
27317
27318 pt.
27319  It can be changed with the following command in TeX-Code to e.
27320 \begin_inset space \thinspace{}
27321 \end_inset
27322
27323 g.
27324 \begin_inset space \space{}
27325 \end_inset
27326
27327 2
27328 \begin_inset space \thinspace{}
27329 \end_inset
27330
27331 pt:
27332 \end_layout
27333
27334 \begin_layout Standard
27335
27336 \series bold
27337
27338 \backslash
27339 setlength{
27340 \backslash
27341 fboxrule}{2pt}
27342 \end_layout
27343
27344 \begin_layout Standard
27345 \begin_inset ERT
27346 status collapsed
27347
27348 \begin_layout Plain Layout
27349
27350
27351 \backslash
27352 setlength{
27353 \backslash
27354 fboxrule}{2pt}
27355 \end_layout
27356
27357 \end_inset
27358
27359
27360 \begin_inset Box Boxed
27361 position "c"
27362 hor_pos "c"
27363 has_inner_box 1
27364 inner_pos "c"
27365 use_parbox 0
27366 width "25col%"
27367 special "none"
27368 height "1in"
27369 height_special "totalheight"
27370 status open
27371
27372 \begin_layout Plain Layout
27373 \align center
27374 Rectangular box with 
27375 \series bold
27376
27377 \backslash
27378 fboxrule
27379 \series default
27380
27381 \begin_inset space \thinspace{}
27382 \end_inset
27383
27384 =
27385 \begin_inset space \thinspace{}
27386 \end_inset
27387
27388 2
27389 \begin_inset space \thinspace{}
27390 \end_inset
27391
27392 pt
27393 \end_layout
27394
27395 \end_inset
27396
27397
27398 \begin_inset ERT
27399 status collapsed
27400
27401 \begin_layout Plain Layout
27402
27403
27404 \backslash
27405 setlength{
27406 \backslash
27407 fboxrule}{0.4pt}
27408 \end_layout
27409
27410 \end_inset
27411
27412
27413 \end_layout
27414
27415 \begin_layout Standard
27416 \begin_inset VSpace bigskip
27417 \end_inset
27418
27419 The space between the frame and the box content is for all frame styles
27420  by default 3
27421 \begin_inset space \thinspace{}
27422 \end_inset
27423
27424 pt.
27425  You can change it by setting the length 
27426 \series bold
27427
27428 \backslash
27429 fboxsep
27430 \series default
27431  to another value.
27432  For example the command
27433 \end_layout
27434
27435 \begin_layout Standard
27436
27437 \series bold
27438
27439 \backslash
27440 setlength{
27441 \backslash
27442 fboxsep}{10pt}
27443 \end_layout
27444
27445 \begin_layout Standard
27446 sets the value to 10
27447 \begin_inset space \thinspace{}
27448 \end_inset
27449
27450 pt, like for the following box:
27451 \end_layout
27452
27453 \begin_layout Standard
27454 \begin_inset ERT
27455 status collapsed
27456
27457 \begin_layout Plain Layout
27458
27459
27460 \backslash
27461 setlength{
27462 \backslash
27463 fboxsep}{10pt}
27464 \end_layout
27465
27466 \end_inset
27467
27468
27469 \begin_inset Box Boxed
27470 position "c"
27471 hor_pos "c"
27472 has_inner_box 1
27473 inner_pos "c"
27474 use_parbox 0
27475 width "25col%"
27476 special "none"
27477 height "1in"
27478 height_special "totalheight"
27479 status open
27480
27481 \begin_layout Plain Layout
27482 \align center
27483 Rectangular box with 
27484 \series bold
27485
27486 \backslash
27487 fboxsep
27488 \series default
27489
27490 \begin_inset space \thinspace{}
27491 \end_inset
27492
27493 =
27494 \begin_inset space \thinspace{}
27495 \end_inset
27496
27497 10
27498 \begin_inset space \thinspace{}
27499 \end_inset
27500
27501 pt
27502 \end_layout
27503
27504 \end_inset
27505
27506
27507 \begin_inset ERT
27508 status collapsed
27509
27510 \begin_layout Plain Layout
27511
27512
27513 \backslash
27514 setlength{
27515 \backslash
27516 fboxsep}{3pt}
27517 \end_layout
27518
27519 \end_inset
27520
27521
27522 \end_layout
27523
27524 \begin_layout Standard
27525 \begin_inset VSpace bigskip
27526 \end_inset
27527
27528 The diameter of the round corners of the oval boxes can be set with the
27529  command 
27530 \series bold
27531
27532 \backslash
27533 cornersize
27534 \series default
27535 .
27536  The command
27537 \end_layout
27538
27539 \begin_layout Standard
27540
27541 \series bold
27542
27543 \backslash
27544 cornersize*{1cm}
27545 \end_layout
27546
27547 \begin_layout Standard
27548 sets the diameter to 1
27549 \begin_inset space \thinspace{}
27550 \end_inset
27551
27552 cm.
27553  The command
27554 \end_layout
27555
27556 \begin_layout Standard
27557
27558 \series bold
27559
27560 \backslash
27561 cornersize{num}
27562 \end_layout
27563
27564 \begin_layout Standard
27565 sets the diameter to 
27566 \family sans
27567 num
27568 \begin_inset space \thinspace{}
27569 \end_inset
27570
27571 ×
27572 \begin_inset space \thinspace{}
27573 \end_inset
27574
27575 minimum(width and heigth of box)
27576 \family default
27577 .
27578  The default is 
27579 \series bold
27580
27581 \backslash
27582 cornersize{0.5}
27583 \series default
27584 .
27585 \end_layout
27586
27587 \begin_layout Standard
27588 \begin_inset ERT
27589 status collapsed
27590
27591 \begin_layout Plain Layout
27592
27593
27594 \backslash
27595 cornersize*{1.5cm}
27596 \end_layout
27597
27598 \end_inset
27599
27600
27601 \begin_inset Box Ovalbox
27602 position "c"
27603 hor_pos "c"
27604 has_inner_box 1
27605 inner_pos "c"
27606 use_parbox 0
27607 width "25col%"
27608 special "none"
27609 height "1in"
27610 height_special "totalheight"
27611 status open
27612
27613 \begin_layout Plain Layout
27614 \align center
27615 Oval box with 
27616 \series bold
27617
27618 \backslash
27619 cornersize
27620 \series default
27621
27622 \begin_inset space \thinspace{}
27623 \end_inset
27624
27625 =
27626 \begin_inset space \thinspace{}
27627 \end_inset
27628
27629 1.5
27630 \begin_inset space \thinspace{}
27631 \end_inset
27632
27633 cm
27634 \end_layout
27635
27636 \end_inset
27637
27638
27639 \begin_inset ERT
27640 status collapsed
27641
27642 \begin_layout Plain Layout
27643
27644
27645 \backslash
27646 cornersize{0.5}
27647 \end_layout
27648
27649 \end_inset
27650
27651
27652 \end_layout
27653
27654 \begin_layout Standard
27655 \begin_inset VSpace bigskip
27656 \end_inset
27657
27658 The size of the shadow can be adjusted by changing the length 
27659 \series bold
27660
27661 \backslash
27662 shadowsize
27663 \series default
27664 .
27665  It it set to 2
27666 \begin_inset space \thinspace{}
27667 \end_inset
27668
27669 pt for the following box by this command:
27670 \end_layout
27671
27672 \begin_layout Standard
27673
27674 \series bold
27675
27676 \backslash
27677 setlength{
27678 \backslash
27679 shadowsize}{2pt}
27680 \end_layout
27681
27682 \begin_layout Standard
27683 \begin_inset ERT
27684 status collapsed
27685
27686 \begin_layout Plain Layout
27687
27688
27689 \backslash
27690 setlength{
27691 \backslash
27692 shadowsize}{2pt}
27693 \end_layout
27694
27695 \end_inset
27696
27697
27698 \begin_inset Box Shadowbox
27699 position "c"
27700 hor_pos "c"
27701 has_inner_box 1
27702 inner_pos "c"
27703 use_parbox 0
27704 width "25col%"
27705 special "none"
27706 height "1in"
27707 height_special "totalheight"
27708 status open
27709
27710 \begin_layout Plain Layout
27711 \align center
27712 Shadow box with 
27713 \series bold
27714
27715 \backslash
27716 shadowsize
27717 \series default
27718
27719 \begin_inset space \thinspace{}
27720 \end_inset
27721
27722 =
27723 \begin_inset space \thinspace{}
27724 \end_inset
27725
27726 2
27727 \begin_inset space \thinspace{}
27728 \end_inset
27729
27730 pt
27731 \end_layout
27732
27733 \end_inset
27734
27735
27736 \begin_inset ERT
27737 status collapsed
27738
27739 \begin_layout Plain Layout
27740
27741
27742 \backslash
27743 setlength{
27744 \backslash
27745 shadowsize}{4pt}
27746 \end_layout
27747
27748 \end_inset
27749
27750
27751 \end_layout
27752
27753 \begin_layout Standard
27754 \begin_inset VSpace bigskip
27755 \end_inset
27756
27757
27758 \end_layout
27759
27760 \begin_layout Standard
27761 The default value for the size 
27762 \series bold
27763
27764 \backslash
27765 FrameRule
27766 \series default
27767  is 0.4
27768 \begin_inset space \thinspace{}
27769 \end_inset
27770
27771 pt.
27772  The default space between the note content and the frame is 9
27773 \begin_inset space \thinspace{}
27774 \end_inset
27775
27776 pt and can be changed with the value of 
27777 \series bold
27778
27779 \backslash
27780 FrameSep
27781 \series default
27782 .
27783  For example the frame appearance of the following 
27784 \family sans
27785 box
27786 \family default
27787  is set with the TeX-Code commands
27788 \end_layout
27789
27790 \begin_layout Standard
27791
27792 \series bold
27793
27794 \backslash
27795 setlength{
27796 \backslash
27797 FrameRule}{5pt}
27798 \begin_inset Newline newline
27799 \end_inset
27800
27801
27802 \backslash
27803 setlength{
27804 \backslash
27805 FrameSep}{0.5cm}
27806 \end_layout
27807
27808 \begin_layout Standard
27809 \begin_inset ERT
27810 status collapsed
27811
27812 \begin_layout Plain Layout
27813
27814
27815 \backslash
27816 setlength{
27817 \backslash
27818 FrameRule}{5pt}
27819 \end_layout
27820
27821 \begin_layout Plain Layout
27822
27823
27824 \backslash
27825 setlength{
27826 \backslash
27827 FrameSep}{0.5cm}
27828 \end_layout
27829
27830 \end_inset
27831
27832
27833 \begin_inset Box Framed
27834 position "t"
27835 hor_pos "c"
27836 has_inner_box 0
27837 inner_pos "t"
27838 use_parbox 0
27839 width "100col%"
27840 special "none"
27841 height "1in"
27842 height_special "totalheight"
27843 status open
27844
27845 \begin_layout Plain Layout
27846 This is text in an 
27847 \family sans
27848 allow page break
27849 \family default
27850  box.
27851 \end_layout
27852
27853 \end_inset
27854
27855
27856 \begin_inset ERT
27857 status collapsed
27858
27859 \begin_layout Plain Layout
27860
27861
27862 \backslash
27863 setlength{
27864 \backslash
27865 FrameRule}{0.4pt}
27866 \end_layout
27867
27868 \begin_layout Plain Layout
27869
27870
27871 \backslash
27872 setlength{
27873 \backslash
27874 FrameSep}{9pt}
27875 \end_layout
27876
27877 \end_inset
27878
27879
27880 \end_layout
27881
27882 \begin_layout Standard
27883 \begin_inset VSpace bigskip
27884 \end_inset
27885
27886
27887 \end_layout
27888
27889 \begin_layout Standard
27890 For 
27891 \family sans
27892 shaded background
27893 \family default
27894  boxes the default space between the box content and the box border is 3
27895 \begin_inset space \thinspace{}
27896 \end_inset
27897
27898 pt and can be changed with the value of 
27899 \series bold
27900
27901 \backslash
27902 fboxsep
27903 \series default
27904 .
27905  The default background color red can either be changed locally with the
27906  command 
27907 \series bold
27908
27909 \backslash
27910 definecolor{shadebox}
27911 \series default
27912  or globally with the menu 
27913 \family sans
27914 Tools\SpecialChar \menuseparator
27915 Preferences\SpecialChar \menuseparator
27916 Colors\SpecialChar \menuseparator
27917 shaded
27918 \begin_inset space ~
27919 \end_inset
27920
27921 box
27922 \family default
27923 .
27924  The scheme of the 
27925 \series bold
27926
27927 \backslash
27928 definecolor
27929 \series default
27930  command is explained in section
27931 \begin_inset space ~
27932 \end_inset
27933
27934
27935 \begin_inset CommandInset ref
27936 LatexCommand ref
27937 reference "sec:Colored-Tables"
27938
27939 \end_inset
27940
27941 .
27942 \begin_inset Foot
27943 status collapsed
27944
27945 \begin_layout Plain Layout
27946 Note that 
27947 \series bold
27948
27949 \backslash
27950 definecolor
27951 \series default
27952  requires the LaTeX-package 
27953 \series bold
27954 color
27955 \series default
27956  in the preamble, see section
27957 \begin_inset space ~
27958 \end_inset
27959
27960
27961 \begin_inset CommandInset ref
27962 LatexCommand ref
27963 reference "sec:Colored-Boxes"
27964
27965 \end_inset
27966
27967 .
27968 \end_layout
27969
27970 \end_inset
27971
27972  For example the appearance of the following shaded background note is set
27973  with the TeX-Code commands
27974 \end_layout
27975
27976 \begin_layout Standard
27977
27978 \series bold
27979
27980 \backslash
27981 setlength{
27982 \backslash
27983 fboxsep}{0.5cm}
27984 \series default
27985
27986 \begin_inset Newline newline
27987 \end_inset
27988
27989
27990 \series bold
27991
27992 \backslash
27993 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
27994 \end_layout
27995
27996 \begin_layout Standard
27997 \begin_inset ERT
27998 status collapsed
27999
28000 \begin_layout Plain Layout
28001
28002
28003 \backslash
28004 setlength{
28005 \backslash
28006 fboxsep}{0.5cm}
28007 \end_layout
28008
28009 \begin_layout Plain Layout
28010
28011
28012 \backslash
28013 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
28014 \end_layout
28015
28016 \end_inset
28017
28018
28019 \begin_inset Box Shaded
28020 position "t"
28021 hor_pos "c"
28022 has_inner_box 0
28023 inner_pos "t"
28024 use_parbox 0
28025 width "100col%"
28026 special "none"
28027 height "1in"
28028 height_special "totalheight"
28029 status open
28030
28031 \begin_layout Plain Layout
28032
28033 \color yellow
28034 This is yellow text in a
28035 \color none
28036  
28037 \family sans
28038 \color yellow
28039 shaded background
28040 \family default
28041 \color none
28042  
28043 \color yellow
28044 box with dark green background.
28045 \end_layout
28046
28047 \end_inset
28048
28049
28050 \begin_inset ERT
28051 status collapsed
28052
28053 \begin_layout Plain Layout
28054
28055
28056 \backslash
28057 setlength{
28058 \backslash
28059 fboxsep}{3pt}
28060 \end_layout
28061
28062 \begin_layout Plain Layout
28063
28064
28065 \backslash
28066 definecolor{shadecolor}{rgb}{1,0,0}
28067 \end_layout
28068
28069 \end_inset
28070
28071
28072 \end_layout
28073
28074 \begin_layout Standard
28075 \begin_inset VSpace bigskip
28076 \end_inset
28077
28078 Changed lengths and widths are valid for all boxes following the commands
28079  that change them.
28080 \end_layout
28081
28082 \begin_layout Section
28083 Minipages
28084 \begin_inset CommandInset label
28085 LatexCommand label
28086 name "sec:Minipages"
28087
28088 \end_inset
28089
28090
28091 \begin_inset Index
28092 status collapsed
28093
28094 \begin_layout Plain Layout
28095 Boxes ! Minipages
28096 \end_layout
28097
28098 \end_inset
28099
28100
28101 \end_layout
28102
28103 \begin_layout Standard
28104 Minipages are treated by LaTeX as pages within pages and can therefore for
28105  example have their own footnotes.
28106 \end_layout
28107
28108 \begin_layout Standard
28109 Minipages are useful when you write documents with different languages.
28110 \end_layout
28111
28112 \begin_layout Standard
28113 Below are two example minipages side by side.
28114  Their width is set to 45
28115 \begin_inset space \thinspace{}
28116 \end_inset
28117
28118 col% and they are separated by a horizontal fill, that was inserted via
28119  the menu 
28120 \family sans
28121 Insert\SpecialChar \menuseparator
28122 Special
28123 \begin_inset space ~
28124 \end_inset
28125
28126 Formatting\SpecialChar \menuseparator
28127 Horizontal
28128 \begin_inset space ~
28129 \end_inset
28130
28131 Fill
28132 \family default
28133 .
28134 \begin_inset Newpage newpage
28135 \end_inset
28136
28137
28138 \end_layout
28139
28140 \begin_layout Standard
28141 \begin_inset Box Frameless
28142 position "t"
28143 hor_pos "c"
28144 has_inner_box 1
28145 inner_pos "c"
28146 use_parbox 0
28147 width "45col%"
28148 special "none"
28149 height "1in"
28150 height_special "totalheight"
28151 status open
28152
28153 \begin_layout Plain Layout
28154
28155 \lang german
28156 Dies ist ein deutscher Text.
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 \begin_inset Foot
28170 status collapsed
28171
28172 \begin_layout Plain Layout
28173
28174 \lang german
28175 Dies ist eine deutsche Fußnote.
28176 \end_layout
28177
28178 \end_inset
28179
28180 .
28181  Dies ist ein deutscher Text.
28182  Dies ist ein deutscher Text.
28183 \end_layout
28184
28185 \end_inset
28186
28187
28188 \begin_inset space \hfill{}
28189 \end_inset
28190
28191
28192 \begin_inset Box Frameless
28193 position "t"
28194 hor_pos "c"
28195 has_inner_box 1
28196 inner_pos "c"
28197 use_parbox 0
28198 width "45col%"
28199 special "none"
28200 height "1in"
28201 height_special "totalheight"
28202 status open
28203
28204 \begin_layout Plain Layout
28205 This is an English Text.
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 \begin_inset Foot
28222 status collapsed
28223
28224 \begin_layout Plain Layout
28225 This is an English footnote.
28226 \end_layout
28227
28228 \end_inset
28229
28230  This is an English Text.
28231  
28232 \end_layout
28233
28234 \end_inset
28235
28236
28237 \end_layout
28238
28239 \begin_layout Standard
28240 \begin_inset VSpace bigskip
28241 \end_inset
28242
28243 Another application for minipages are footnotes within tables.
28244  Due to a LaTeX restriction footnotes within tables doesn't appear at the
28245  bottom of the current page.
28246  But when you put the table with the footnote to a minipage, the footnote
28247  will appear at its bottom, numbered with Latin letters.
28248  The footnote number is reset to 1 in every minipage but not outside the
28249  minipages.
28250 \end_layout
28251
28252 \begin_layout Standard
28253 The footnote of this table doesn't appear: 
28254 \begin_inset Tabular
28255 <lyxtabular version="3" rows="3" columns="4">
28256 <features>
28257 <column alignment="center" valignment="top" width="0pt">
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 <row>
28262 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28263 \begin_inset Text
28264
28265 \begin_layout Plain Layout
28266 1
28267 \end_layout
28268
28269 \end_inset
28270 </cell>
28271 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28272 \begin_inset Text
28273
28274 \begin_layout Plain Layout
28275 2
28276 \end_layout
28277
28278 \end_inset
28279 </cell>
28280 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28281 \begin_inset Text
28282
28283 \begin_layout Plain Layout
28284 3
28285 \begin_inset Foot
28286 status collapsed
28287
28288 \begin_layout Plain Layout
28289 This is a footnote within a table.
28290 \end_layout
28291
28292 \end_inset
28293
28294
28295 \end_layout
28296
28297 \end_inset
28298 </cell>
28299 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28300 \begin_inset Text
28301
28302 \begin_layout Plain Layout
28303 4
28304 \end_layout
28305
28306 \end_inset
28307 </cell>
28308 </row>
28309 <row>
28310 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28311 \begin_inset Text
28312
28313 \begin_layout Plain Layout
28314 a
28315 \end_layout
28316
28317 \end_inset
28318 </cell>
28319 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28320 \begin_inset Text
28321
28322 \begin_layout Plain Layout
28323 b
28324 \end_layout
28325
28326 \end_inset
28327 </cell>
28328 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28329 \begin_inset Text
28330
28331 \begin_layout Plain Layout
28332 c
28333 \end_layout
28334
28335 \end_inset
28336 </cell>
28337 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28338 \begin_inset Text
28339
28340 \begin_layout Plain Layout
28341 d
28342 \end_layout
28343
28344 \end_inset
28345 </cell>
28346 </row>
28347 <row>
28348 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28349 \begin_inset Text
28350
28351 \begin_layout Plain Layout
28352 e
28353 \end_layout
28354
28355 \end_inset
28356 </cell>
28357 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28358 \begin_inset Text
28359
28360 \begin_layout Plain Layout
28361 f
28362 \end_layout
28363
28364 \end_inset
28365 </cell>
28366 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28367 \begin_inset Text
28368
28369 \begin_layout Plain Layout
28370 g
28371 \end_layout
28372
28373 \end_inset
28374 </cell>
28375 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28376 \begin_inset Text
28377
28378 \begin_layout Plain Layout
28379 h
28380 \end_layout
28381
28382 \end_inset
28383 </cell>
28384 </row>
28385 </lyxtabular>
28386
28387 \end_inset
28388
28389
28390 \end_layout
28391
28392 \begin_layout Standard
28393 \align center
28394 \begin_inset Box Frameless
28395 position "t"
28396 hor_pos "c"
28397 has_inner_box 1
28398 inner_pos "c"
28399 use_parbox 0
28400 width "30col%"
28401 special "none"
28402 height "1in"
28403 height_special "totalheight"
28404 status open
28405
28406 \begin_layout Plain Layout
28407 \align center
28408 \begin_inset Tabular
28409 <lyxtabular version="3" rows="3" columns="4">
28410 <features>
28411 <column alignment="center" valignment="top" width="0pt">
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 <row>
28416 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28417 \begin_inset Text
28418
28419 \begin_layout Plain Layout
28420 1
28421 \end_layout
28422
28423 \end_inset
28424 </cell>
28425 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28426 \begin_inset Text
28427
28428 \begin_layout Plain Layout
28429 2
28430 \end_layout
28431
28432 \end_inset
28433 </cell>
28434 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28435 \begin_inset Text
28436
28437 \begin_layout Plain Layout
28438 3
28439 \begin_inset Foot
28440 status collapsed
28441
28442 \begin_layout Plain Layout
28443 This is a footnote within a table.
28444 \end_layout
28445
28446 \end_inset
28447
28448
28449 \end_layout
28450
28451 \end_inset
28452 </cell>
28453 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28454 \begin_inset Text
28455
28456 \begin_layout Plain Layout
28457 4
28458 \end_layout
28459
28460 \end_inset
28461 </cell>
28462 </row>
28463 <row>
28464 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28465 \begin_inset Text
28466
28467 \begin_layout Plain Layout
28468 a
28469 \end_layout
28470
28471 \end_inset
28472 </cell>
28473 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28474 \begin_inset Text
28475
28476 \begin_layout Plain Layout
28477 b
28478 \end_layout
28479
28480 \end_inset
28481 </cell>
28482 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28483 \begin_inset Text
28484
28485 \begin_layout Plain Layout
28486 c
28487 \end_layout
28488
28489 \end_inset
28490 </cell>
28491 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28492 \begin_inset Text
28493
28494 \begin_layout Plain Layout
28495 d
28496 \end_layout
28497
28498 \end_inset
28499 </cell>
28500 </row>
28501 <row>
28502 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28503 \begin_inset Text
28504
28505 \begin_layout Plain Layout
28506 e
28507 \end_layout
28508
28509 \end_inset
28510 </cell>
28511 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28512 \begin_inset Text
28513
28514 \begin_layout Plain Layout
28515 f
28516 \end_layout
28517
28518 \end_inset
28519 </cell>
28520 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28521 \begin_inset Text
28522
28523 \begin_layout Plain Layout
28524 g
28525 \end_layout
28526
28527 \end_inset
28528 </cell>
28529 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28530 \begin_inset Text
28531
28532 \begin_layout Plain Layout
28533 h
28534 \end_layout
28535
28536 \end_inset
28537 </cell>
28538 </row>
28539 </lyxtabular>
28540
28541 \end_inset
28542
28543
28544 \end_layout
28545
28546 \end_inset
28547
28548
28549 \end_layout
28550
28551 \begin_layout Standard
28552 \begin_inset VSpace bigskip
28553 \end_inset
28554
28555 The document-wide paragraph settings are ignored within minipages.
28556  That means that there will be no space between paragraphs in minipages
28557  although you set it to e.
28558 \begin_inset space \thinspace{}
28559 \end_inset
28560
28561 g.
28562 \begin_inset space \space{}
28563 \end_inset
28564
28565
28566 \family sans
28567 MedSkip
28568 \family default
28569  in the document settings.
28570 \end_layout
28571
28572 \begin_layout Standard
28573 Minipages can also be used to set a background color for text parts, see
28574  section
28575 \begin_inset space ~
28576 \end_inset
28577
28578
28579 \begin_inset CommandInset ref
28580 LatexCommand ref
28581 reference "sub:Color-for-Paragraphs"
28582
28583 \end_inset
28584
28585 .
28586 \end_layout
28587
28588 \begin_layout Standard
28589 \begin_inset Note Greyedout
28590 status open
28591
28592 \begin_layout Plain Layout
28593
28594 \series bold
28595 Note:
28596 \series default
28597  You cannot have floats or margin notes inside minipages but minipages can
28598  be used inside tables, floats, and other boxes.
28599 \end_layout
28600
28601 \end_inset
28602
28603
28604 \end_layout
28605
28606 \begin_layout Section
28607 Parboxes
28608 \begin_inset CommandInset label
28609 LatexCommand label
28610 name "sec:Parboxes"
28611
28612 \end_inset
28613
28614
28615 \begin_inset Index
28616 status collapsed
28617
28618 \begin_layout Plain Layout
28619 Boxes ! Parboxes
28620 \end_layout
28621
28622 \end_inset
28623
28624
28625 \end_layout
28626
28627 \begin_layout Standard
28628 Parboxes are very similar to minipages with the difference that they cannot
28629  have footnotes.
28630  The main difference to minipages is that minipages are in contrary to parboxes
28631  no real boxes but LaTeX-environments.
28632 \end_layout
28633
28634 \begin_layout Standard
28635 \align center
28636 \begin_inset Box Frameless
28637 position "t"
28638 hor_pos "c"
28639 has_inner_box 1
28640 inner_pos "t"
28641 use_parbox 1
28642 width "33col%"
28643 special "none"
28644 height "1in"
28645 height_special "totalheight"
28646 status collapsed
28647
28648 \begin_layout Plain Layout
28649 This a text within a parbox.
28650  This a text within a parbox.
28651 \end_layout
28652
28653 \begin_layout Plain Layout
28654 This footnote won't appear:
28655 \begin_inset Foot
28656 status collapsed
28657
28658 \begin_layout Plain Layout
28659 This footnote is inside a parbox and will therefore not appear.
28660 \end_layout
28661
28662 \end_inset
28663
28664
28665 \end_layout
28666
28667 \end_inset
28668
28669
28670 \end_layout
28671
28672 \begin_layout Section
28673 Boxes for Words and Characters
28674 \begin_inset Index
28675 status collapsed
28676
28677 \begin_layout Plain Layout
28678 Boxes ! for Characters
28679 \end_layout
28680
28681 \end_inset
28682
28683
28684 \end_layout
28685
28686 \begin_layout Subsection
28687 Prevent Hyphenation
28688 \begin_inset CommandInset label
28689 LatexCommand label
28690 name "sec:Prevent-Hyphenation"
28691
28692 \end_inset
28693
28694
28695 \begin_inset Index
28696 status collapsed
28697
28698 \begin_layout Plain Layout
28699 Boxes ! to Prevent Hyphenation
28700 \end_layout
28701
28702 \end_inset
28703
28704
28705 \end_layout
28706
28707 \begin_layout Standard
28708 You can use a special kind of boxes to prevent words or text to be hyphenated.
28709 \begin_inset Newline newline
28710 \end_inset
28711
28712 Here is an example text:
28713 \end_layout
28714
28715 \begin_layout Standard
28716 This line is an example to show how you can prevent the hyphenation of 
28717 \begin_inset Quotes eld
28718 \end_inset
28719
28720 veryverylongword
28721 \begin_inset Quotes erd
28722 \end_inset
28723
28724 .
28725 \end_layout
28726
28727 \begin_layout Standard
28728 To prevent the hyphenation of the word 
28729 \begin_inset Quotes eld
28730 \end_inset
28731
28732 veryverylongword
28733 \begin_inset Quotes erd
28734 \end_inset
28735
28736 , add the command
28737 \end_layout
28738
28739 \begin_layout Standard
28740
28741 \series bold
28742
28743 \backslash
28744 mbox{
28745 \end_layout
28746
28747 \begin_layout Standard
28748 in TeX-Code before the word.
28749  Behind the word insert a closing brace 
28750 \begin_inset Quotes eld
28751 \end_inset
28752
28753
28754 \series bold
28755 }
28756 \series default
28757
28758 \begin_inset Quotes erd
28759 \end_inset
28760
28761  in TeX-Code.
28762 \end_layout
28763
28764 \begin_layout Standard
28765 This is the result:
28766 \end_layout
28767
28768 \begin_layout Standard
28769 This line is an example to show how you can prevent the hyphenation of 
28770 \begin_inset ERT
28771 status collapsed
28772
28773 \begin_layout Plain Layout
28774
28775
28776 \backslash
28777 mbox{
28778 \end_layout
28779
28780 \end_inset
28781
28782
28783 \begin_inset Quotes eld
28784 \end_inset
28785
28786 veryverylongword
28787 \begin_inset Quotes erd
28788 \end_inset
28789
28790 .
28791 \begin_inset ERT
28792 status collapsed
28793
28794 \begin_layout Plain Layout
28795
28796 }
28797 \end_layout
28798
28799 \end_inset
28800
28801
28802 \end_layout
28803
28804 \begin_layout Standard
28805 You can alternatively set the command 
28806 \begin_inset Quotes eld
28807 \end_inset
28808
28809
28810 \series bold
28811
28812 \backslash
28813 -
28814 \series default
28815
28816 \begin_inset Quotes grd
28817 \end_inset
28818
28819  as TeX-Code directly before the word:
28820 \end_layout
28821
28822 \begin_layout Standard
28823 This line is an example to show how you can prevent the hyphenation of 
28824 \begin_inset Quotes eld
28825 \end_inset
28826
28827
28828 \begin_inset ERT
28829 status collapsed
28830
28831 \begin_layout Plain Layout
28832
28833
28834 \backslash
28835 -
28836 \end_layout
28837
28838 \end_inset
28839
28840 veryverylongword
28841 \begin_inset Quotes erd
28842 \end_inset
28843
28844 .
28845 \end_layout
28846
28847 \begin_layout Standard
28848 Of course the word now protrudes over the side margin.
28849  To avoid this, add via the menu 
28850 \family sans
28851 Insert\SpecialChar \menuseparator
28852 Special
28853 \begin_inset space ~
28854 \end_inset
28855
28856 Formatting\SpecialChar \menuseparator
28857 Line
28858 \begin_inset space ~
28859 \end_inset
28860
28861 Break
28862 \family default
28863  (shortcut 
28864 \begin_inset Info
28865 type  "shortcut"
28866 arg   "newline-insert newline"
28867 \end_inset
28868
28869 ) a line break before the word:
28870 \end_layout
28871
28872 \begin_layout Standard
28873 This line is an example to show how you can prevent the hyphenation of 
28874 \begin_inset Newline newline
28875 \end_inset
28876
28877
28878 \begin_inset ERT
28879 status collapsed
28880
28881 \begin_layout Plain Layout
28882
28883
28884 \backslash
28885 mbox{
28886 \end_layout
28887
28888 \end_inset
28889
28890
28891 \begin_inset Quotes eld
28892 \end_inset
28893
28894 veryverylongword
28895 \begin_inset Quotes erd
28896 \end_inset
28897
28898 .
28899 \begin_inset ERT
28900 status collapsed
28901
28902 \begin_layout Plain Layout
28903
28904 }
28905 \end_layout
28906
28907 \end_inset
28908
28909
28910 \end_layout
28911
28912 \begin_layout Subsection
28913 Vertical Alignment
28914 \begin_inset CommandInset label
28915 LatexCommand label
28916 name "sub:Vertical-Alignment"
28917
28918 \end_inset
28919
28920
28921 \begin_inset Index
28922 status collapsed
28923
28924 \begin_layout Plain Layout
28925 Boxes ! for Vertical Alignment
28926 \end_layout
28927
28928 \end_inset
28929
28930
28931 \begin_inset Index
28932 status collapsed
28933
28934 \begin_layout Plain Layout
28935 Boxes ! Raiseboxes
28936 \end_layout
28937
28938 \end_inset
28939
28940
28941 \end_layout
28942
28943 \begin_layout Standard
28944 With the help of the command 
28945 \series bold
28946
28947 \backslash
28948 raisebox
28949 \series default
28950  you can align words, characters or other boxes vertically to the surrounding
28951  text.
28952  
28953 \series bold
28954
28955 \backslash
28956 raisebox
28957 \series default
28958  is used with the following scheme:
28959 \end_layout
28960
28961 \begin_layout Standard
28962
28963 \series bold
28964
28965 \backslash
28966 raisebox{lift}[height][depth]{box content}
28967 \end_layout
28968
28969 \begin_layout Standard
28970 The lift can be a positive value to raise the box or a negative value to
28971  lower the box.
28972 \end_layout
28973
28974 \begin_layout Standard
28975 To align for example the word 
28976 \begin_inset Quotes eld
28977 \end_inset
28978
28979 preventing
28980 \begin_inset Quotes erd
28981 \end_inset
28982
28983  so that the bottom of the 
28984 \begin_inset Quotes eld
28985 \end_inset
28986
28987 deepest
28988 \begin_inset Quotes erd
28989 \end_inset
28990
28991  character 
28992 \begin_inset Quotes eld
28993 \end_inset
28994
28995 p
28996 \begin_inset Quotes erd
28997 \end_inset
28998
28999  is at the baseline, insert the command
29000 \end_layout
29001
29002 \begin_layout Standard
29003
29004 \series bold
29005
29006 \backslash
29007 raisebox{
29008 \backslash
29009 depth}{
29010 \end_layout
29011
29012 \begin_layout Standard
29013 in TeX-Code before the word.
29014  Behind the word insert a closing brace 
29015 \begin_inset Quotes eld
29016 \end_inset
29017
29018
29019 \series bold
29020 }
29021 \series default
29022
29023 \begin_inset Quotes erd
29024 \end_inset
29025
29026  in TeX-Code.
29027 \begin_inset Newline newline
29028 \end_inset
29029
29030 This is the result:
29031 \end_layout
29032
29033 \begin_layout Standard
29034 This is a text line with the word 
29035 \begin_inset ERT
29036 status collapsed
29037
29038 \begin_layout Plain Layout
29039
29040
29041 \backslash
29042 raisebox{
29043 \backslash
29044 depth}{
29045 \end_layout
29046
29047 \end_inset
29048
29049
29050 \begin_inset Quotes eld
29051 \end_inset
29052
29053 preventing
29054 \begin_inset Quotes erd
29055 \end_inset
29056
29057
29058 \begin_inset ERT
29059 status collapsed
29060
29061 \begin_layout Plain Layout
29062
29063 }
29064 \end_layout
29065
29066 \end_inset
29067
29068  as raised word.
29069 \end_layout
29070
29071 \begin_layout Standard
29072 \begin_inset VSpace bigskip
29073 \end_inset
29074
29075 When you raise or lower characters in a line, the line distance will be
29076  spread:
29077 \end_layout
29078
29079 \begin_layout Standard
29080 This is a text line with the word 
29081 \begin_inset ERT
29082 status collapsed
29083
29084 \begin_layout Plain Layout
29085
29086
29087 \backslash
29088 raisebox{-
29089 \backslash
29090 depth}{
29091 \end_layout
29092
29093 \end_inset
29094
29095
29096 \begin_inset Quotes eld
29097 \end_inset
29098
29099 preventing
29100 \begin_inset Quotes erd
29101 \end_inset
29102
29103
29104 \begin_inset ERT
29105 status collapsed
29106
29107 \begin_layout Plain Layout
29108
29109 }
29110 \end_layout
29111
29112 \end_inset
29113
29114  as lowered word.
29115 \begin_inset Newline newline
29116 \end_inset
29117
29118 This is a text line with the word 
29119 \begin_inset ERT
29120 status collapsed
29121
29122 \begin_layout Plain Layout
29123
29124
29125 \backslash
29126 raisebox{0.5cm}{
29127 \end_layout
29128
29129 \end_inset
29130
29131
29132 \begin_inset Quotes eld
29133 \end_inset
29134
29135 testing
29136 \begin_inset Quotes erd
29137 \end_inset
29138
29139
29140 \begin_inset ERT
29141 status collapsed
29142
29143 \begin_layout Plain Layout
29144
29145 }
29146 \end_layout
29147
29148 \end_inset
29149
29150  as raised word.
29151 \end_layout
29152
29153 \begin_layout Standard
29154 If you want to prevent this for a certain reason, set the box height to
29155  a zero value.
29156  For example use
29157 \end_layout
29158
29159 \begin_layout Standard
29160
29161 \series bold
29162
29163 \backslash
29164 raisebox{-
29165 \backslash
29166 depth}[0pt]{
29167 \end_layout
29168
29169 \begin_layout Standard
29170 This is a text line with the word 
29171 \begin_inset ERT
29172 status collapsed
29173
29174 \begin_layout Plain Layout
29175
29176
29177 \backslash
29178 raisebox{-
29179 \backslash
29180 depth}[0pt]{
29181 \end_layout
29182
29183 \end_inset
29184
29185
29186 \begin_inset Quotes eld
29187 \end_inset
29188
29189 preventing
29190 \begin_inset Quotes erd
29191 \end_inset
29192
29193
29194 \begin_inset ERT
29195 status collapsed
29196
29197 \begin_layout Plain Layout
29198
29199 }
29200 \end_layout
29201
29202 \end_inset
29203
29204  as lowered word.
29205 \begin_inset Newline newline
29206 \end_inset
29207
29208 This is a text line with the word 
29209 \begin_inset ERT
29210 status collapsed
29211
29212 \begin_layout Plain Layout
29213
29214
29215 \backslash
29216 raisebox{0.5cm}[0pt]{
29217 \end_layout
29218
29219 \end_inset
29220
29221
29222 \begin_inset Quotes eld
29223 \end_inset
29224
29225 testing
29226 \begin_inset Quotes erd
29227 \end_inset
29228
29229
29230 \begin_inset ERT
29231 status collapsed
29232
29233 \begin_layout Plain Layout
29234
29235 }
29236 \end_layout
29237
29238 \end_inset
29239
29240  as raised word.
29241 \end_layout
29242
29243 \begin_layout Section
29244 Colored Boxes
29245 \begin_inset CommandInset label
29246 LatexCommand label
29247 name "sec:Colored-Boxes"
29248
29249 \end_inset
29250
29251
29252 \begin_inset Index
29253 status collapsed
29254
29255 \begin_layout Plain Layout
29256 Boxes ! Color
29257 \end_layout
29258
29259 \end_inset
29260
29261
29262 \end_layout
29263
29264 \begin_layout Subsection
29265 Color for Text
29266 \begin_inset Index
29267 status collapsed
29268
29269 \begin_layout Plain Layout
29270 Color ! for Text
29271 \end_layout
29272
29273 \end_inset
29274
29275
29276 \end_layout
29277
29278 \begin_layout Standard
29279 To color the background of text the text must be put into a so called 
29280 \begin_inset Quotes eld
29281 \end_inset
29282
29283 colorbox
29284 \begin_inset Quotes erd
29285 \end_inset
29286
29287 .
29288  This requires that the LaTeX-package 
29289 \series bold
29290 color
29291 \series default
29292
29293 \begin_inset Index
29294 status collapsed
29295
29296 \begin_layout Plain Layout
29297 LaTeX-packages ! color
29298 \end_layout
29299
29300 \end_inset
29301
29302  is loaded in the document preamble with the command
29303 \end_layout
29304
29305 \begin_layout Standard
29306
29307 \series bold
29308
29309 \backslash
29310 @ifundefined{textcolor}
29311 \begin_inset Newline newline
29312 \end_inset
29313
29314
29315 \begin_inset ERT
29316 status collapsed
29317
29318 \begin_layout Plain Layout
29319
29320
29321 \backslash
29322 hphantom{ }
29323 \end_layout
29324
29325 \end_inset
29326
29327 {
29328 \backslash
29329 usepackage{color}}{}
29330 \end_layout
29331
29332 \begin_layout Standard
29333 The package 
29334 \series bold
29335 color
29336 \series default
29337  will be loaded automatically by LyX when you color text
29338 \begin_inset Foot
29339 status collapsed
29340
29341 \begin_layout Plain Layout
29342 To avoid that it is loaded twice the command 
29343 \series bold
29344
29345 \backslash
29346 @ifundefined
29347 \series default
29348  is used.
29349 \end_layout
29350
29351 \end_inset
29352
29353 .
29354 \end_layout
29355
29356 \begin_layout Standard
29357 \begin_inset VSpace medskip
29358 \end_inset
29359
29360 Colorboxes are created with the command 
29361 \series bold
29362
29363 \backslash
29364 colorbox
29365 \series default
29366 .
29367  This will be used with the following scheme:
29368 \end_layout
29369
29370 \begin_layout Standard
29371
29372 \series bold
29373
29374 \backslash
29375 colorbox{color}{box content}
29376 \end_layout
29377
29378 \begin_layout Standard
29379 The box content can also be a box and colorboxes can also be within other
29380  boxes.
29381 \end_layout
29382
29383 \begin_layout Standard
29384 The following colors are predefined:
29385 \begin_inset Newline newline
29386 \end_inset
29387
29388
29389 \family sans
29390 black
29391 \family default
29392
29393 \family sans
29394 blue
29395 \family default
29396
29397 \family sans
29398 cyan
29399 \family default
29400 \series bold
29401 ,
29402 \series default
29403  
29404 \family sans
29405 green
29406 \family default
29407
29408 \family sans
29409 magenta
29410 \family default
29411
29412 \family sans
29413 red
29414 \family default
29415
29416 \family sans
29417 white
29418 \family default
29419 , and 
29420 \family sans
29421 yellow
29422 \family default
29423 .
29424 \begin_inset Newline newline
29425 \end_inset
29426
29427 You can also define your own color as described in section
29428 \begin_inset space ~
29429 \end_inset
29430
29431
29432 \begin_inset CommandInset ref
29433 LatexCommand ref
29434 reference "sec:Colored-Tables"
29435
29436 \end_inset
29437
29438 .
29439 \end_layout
29440
29441 \begin_layout Standard
29442 To have e.
29443 \begin_inset space \thinspace{}
29444 \end_inset
29445
29446 g.
29447 \begin_inset space \space{}
29448 \end_inset
29449
29450 a red background for a word, insert the command
29451 \end_layout
29452
29453 \begin_layout Standard
29454
29455 \series bold
29456
29457 \backslash
29458 colorbox{red}{
29459 \end_layout
29460
29461 \begin_layout Standard
29462 before the word in TeX-Code.
29463  Behind the word insert a closing brace 
29464 \begin_inset Quotes eld
29465 \end_inset
29466
29467
29468 \series bold
29469 }
29470 \series default
29471
29472 \begin_inset Quotes erd
29473 \end_inset
29474
29475  in TeX-Code.
29476 \begin_inset Newline newline
29477 \end_inset
29478
29479 This is the result:
29480 \end_layout
29481
29482 \begin_layout Standard
29483 This is a line where the word 
29484 \begin_inset ERT
29485 status collapsed
29486
29487 \begin_layout Plain Layout
29488
29489
29490 \backslash
29491 colorbox{red}{
29492 \end_layout
29493
29494 \end_inset
29495
29496
29497 \begin_inset Quotes eld
29498 \end_inset
29499
29500 Attention!
29501 \begin_inset Quotes erd
29502 \end_inset
29503
29504
29505 \begin_inset ERT
29506 status collapsed
29507
29508 \begin_layout Plain Layout
29509
29510 }
29511 \end_layout
29512
29513 \end_inset
29514
29515  has a red background.
29516 \end_layout
29517
29518 \begin_layout Standard
29519 \begin_inset VSpace bigskip
29520 \end_inset
29521
29522 If you would have the box frame in a different color, you can use the command
29523  
29524 \series bold
29525
29526 \backslash
29527 fcolorbox
29528 \series default
29529  with the following scheme:
29530 \end_layout
29531
29532 \begin_layout Standard
29533
29534 \series bold
29535
29536 \backslash
29537 fcolorbox{frame color}{box color}{box content}
29538 \end_layout
29539
29540 \begin_layout Standard
29541
29542 \series bold
29543
29544 \backslash
29545 fcolorbox
29546 \series default
29547  is an extension to 
29548 \series bold
29549
29550 \backslash
29551 colorbox
29552 \series default
29553 .
29554  The frame thickness and the space between the frame and the box content
29555  can be adjusted with the lengths 
29556 \series bold
29557
29558 \backslash
29559 fboxrule
29560 \series default
29561  and 
29562 \series bold
29563
29564 \backslash
29565 fboxsep
29566 \series default
29567 , respectively, as described in section
29568 \begin_inset space ~
29569 \end_inset
29570
29571
29572 \begin_inset CommandInset ref
29573 LatexCommand ref
29574 reference "sec:Decoration"
29575
29576 \end_inset
29577
29578 .
29579 \end_layout
29580
29581 \begin_layout Standard
29582 For the following example the command
29583 \end_layout
29584
29585 \begin_layout Standard
29586
29587 \series bold
29588
29589 \backslash
29590 fcolorbox{cyan}{magenta}{
29591 \end_layout
29592
29593 \begin_layout Standard
29594 was used.
29595 \end_layout
29596
29597 \begin_layout Standard
29598 Here is an example where the frame line thickness was set to 1
29599 \begin_inset space \thinspace{}
29600 \end_inset
29601
29602 mm:
29603 \begin_inset Newline newline
29604 \end_inset
29605
29606
29607 \begin_inset ERT
29608 status collapsed
29609
29610 \begin_layout Plain Layout
29611
29612
29613 \backslash
29614 fboxrule 1mm 
29615 \backslash
29616 fboxsep 1mm
29617 \end_layout
29618
29619 \end_inset
29620
29621
29622 \begin_inset ERT
29623 status collapsed
29624
29625 \begin_layout Plain Layout
29626
29627
29628 \backslash
29629 fcolorbox{cyan}{magenta}{
29630 \end_layout
29631
29632 \end_inset
29633
29634 This is text within a colored, framed box.
29635 \begin_inset ERT
29636 status collapsed
29637
29638 \begin_layout Plain Layout
29639
29640 }
29641 \end_layout
29642
29643 \end_inset
29644
29645
29646 \end_layout
29647
29648 \begin_layout Standard
29649 \begin_inset VSpace bigskip
29650 \end_inset
29651
29652 Of course you can also have colored text inside a colorbox:
29653 \begin_inset Newline newline
29654 \end_inset
29655
29656
29657 \begin_inset ERT
29658 status collapsed
29659
29660 \begin_layout Plain Layout
29661
29662
29663 \backslash
29664 fcolorbox{cyan}{magenta}{
29665 \end_layout
29666
29667 \end_inset
29668
29669
29670 \color yellow
29671 This is colored text within a colored, framed box.
29672 \color none
29673
29674 \begin_inset ERT
29675 status collapsed
29676
29677 \begin_layout Plain Layout
29678
29679 }
29680 \end_layout
29681
29682 \end_inset
29683
29684
29685 \begin_inset ERT
29686 status collapsed
29687
29688 \begin_layout Plain Layout
29689
29690
29691 \backslash
29692 fboxrule 0.4pt 
29693 \backslash
29694 fboxsep 3pt
29695 \end_layout
29696
29697 \end_inset
29698
29699
29700 \end_layout
29701
29702 \begin_layout Standard
29703
29704 \series bold
29705 \begin_inset VSpace medskip
29706 \end_inset
29707
29708
29709 \end_layout
29710
29711 \begin_layout Standard
29712 \begin_inset Note Greyedout
29713 status open
29714
29715 \begin_layout Plain Layout
29716
29717 \series bold
29718 Note:
29719 \series default
29720  Text in colorboxes cannot have line breaks.
29721  To color multiple text lines or paragraphs, use a box inside a colorbox
29722  as described in the following.
29723 \end_layout
29724
29725 \end_inset
29726
29727
29728 \end_layout
29729
29730 \begin_layout Subsection
29731 Color for Paragraphs
29732 \begin_inset CommandInset label
29733 LatexCommand label
29734 name "sub:Color-for-Paragraphs"
29735
29736 \end_inset
29737
29738
29739 \begin_inset Index
29740 status collapsed
29741
29742 \begin_layout Plain Layout
29743 Color ! for Paragraphs
29744 \end_layout
29745
29746 \end_inset
29747
29748
29749 \end_layout
29750
29751 \begin_layout Standard
29752 To set the background color for more than one text line, put the text into
29753  a minipage.
29754  Before the minipage insert the 
29755 \series bold
29756
29757 \backslash
29758 colorbox
29759 \series default
29760  command
29761 \end_layout
29762
29763 \begin_layout Standard
29764
29765 \series bold
29766
29767 \backslash
29768 colorbox{color}{
29769 \end_layout
29770
29771 \begin_layout Standard
29772 in TeX-Code.
29773  Behind the minipage insert a closing brace 
29774 \begin_inset Quotes eld
29775 \end_inset
29776
29777
29778 \series bold
29779 }
29780 \series default
29781
29782 \begin_inset Quotes erd
29783 \end_inset
29784
29785  in TeX-Code.
29786 \end_layout
29787
29788 \begin_layout Standard
29789 \begin_inset ERT
29790 status collapsed
29791
29792 \begin_layout Plain Layout
29793
29794
29795 \backslash
29796 colorbox{lightgrey}{
29797 \end_layout
29798
29799 \end_inset
29800
29801
29802 \begin_inset Box Frameless
29803 position "t"
29804 hor_pos "c"
29805 has_inner_box 1
29806 inner_pos "t"
29807 use_parbox 0
29808 width "100col%"
29809 special "none"
29810 height "1in"
29811 height_special "totalheight"
29812 status collapsed
29813
29814 \begin_layout Plain Layout
29815 This is text with background color.
29816  This is text with background color.
29817 \end_layout
29818
29819 \begin_layout Plain Layout
29820 \begin_inset VSpace defskip
29821 \end_inset
29822
29823 The text can have footnotes
29824 \begin_inset Foot
29825 status collapsed
29826
29827 \begin_layout Plain Layout
29828 Another example footnote
29829 \end_layout
29830
29831 \end_inset
29832
29833  and can include tables and figures.
29834 \end_layout
29835
29836 \begin_layout Plain Layout
29837 \align center
29838 \begin_inset Tabular
29839 <lyxtabular version="3" rows="3" columns="3">
29840 <features>
29841 <column alignment="center" valignment="top" width="0">
29842 <column alignment="center" valignment="top" width="0">
29843 <column alignment="center" valignment="top" width="0">
29844 <row>
29845 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29846 \begin_inset Text
29847
29848 \begin_layout Plain Layout
29849 a
29850 \end_layout
29851
29852 \end_inset
29853 </cell>
29854 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29855 \begin_inset Text
29856
29857 \begin_layout Plain Layout
29858 !
29859 \end_layout
29860
29861 \end_inset
29862 </cell>
29863 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29864 \begin_inset Text
29865
29866 \begin_layout Plain Layout
29867 3
29868 \end_layout
29869
29870 \end_inset
29871 </cell>
29872 </row>
29873 <row>
29874 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29875 \begin_inset Text
29876
29877 \begin_layout Plain Layout
29878 <
29879 \end_layout
29880
29881 \end_inset
29882 </cell>
29883 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29884 \begin_inset Text
29885
29886 \begin_layout Plain Layout
29887 b2
29888 \begin_inset Quotes erd
29889 \end_inset
29890
29891 |
29892 \end_layout
29893
29894 \end_inset
29895 </cell>
29896 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29897 \begin_inset Text
29898
29899 \begin_layout Plain Layout
29900 >
29901 \end_layout
29902
29903 \end_inset
29904 </cell>
29905 </row>
29906 <row>
29907 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29908 \begin_inset Text
29909
29910 \begin_layout Plain Layout
29911 1
29912 \end_layout
29913
29914 \end_inset
29915 </cell>
29916 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29917 \begin_inset Text
29918
29919 \begin_layout Plain Layout
29920 §
29921 \end_layout
29922
29923 \end_inset
29924 </cell>
29925 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29926 \begin_inset Text
29927
29928 \begin_layout Plain Layout
29929 c
29930 \end_layout
29931
29932 \end_inset
29933 </cell>
29934 </row>
29935 </lyxtabular>
29936
29937 \end_inset
29938
29939
29940 \end_layout
29941
29942 \end_inset
29943
29944
29945 \begin_inset ERT
29946 status collapsed
29947
29948 \begin_layout Plain Layout
29949
29950 }
29951 \end_layout
29952
29953 \end_inset
29954
29955
29956 \end_layout
29957
29958 \begin_layout Section
29959 Rotated and Scaled Boxes
29960 \end_layout
29961
29962 \begin_layout Standard
29963 To use the the commands described in this section, the LaTeX-package 
29964 \series bold
29965 graphicx
29966 \series default
29967
29968 \begin_inset Index
29969 status collapsed
29970
29971 \begin_layout Plain Layout
29972 LaTeX-packages ! graphicx
29973 \end_layout
29974
29975 \end_inset
29976
29977  needs to be loaded in the document preamble with the command
29978 \end_layout
29979
29980 \begin_layout Standard
29981
29982 \series bold
29983
29984 \backslash
29985 @ifundefined{rotatebox}
29986 \begin_inset Newline newline
29987 \end_inset
29988
29989
29990 \begin_inset ERT
29991 status collapsed
29992
29993 \begin_layout Plain Layout
29994
29995
29996 \backslash
29997 hphantom{ }
29998 \end_layout
29999
30000 \end_inset
30001
30002 {
30003 \backslash
30004 usepackage{graphicx}}{}
30005 \end_layout
30006
30007 \begin_layout Standard
30008 \begin_inset Note Greyedout
30009 status open
30010
30011 \begin_layout Plain Layout
30012
30013 \series bold
30014 Note:
30015 \series default
30016  Some DVI-viewers can't display rotated or scaled material.
30017 \end_layout
30018
30019 \end_inset
30020
30021
30022 \end_layout
30023
30024 \begin_layout Standard
30025 \begin_inset Note Greyedout
30026 status open
30027
30028 \begin_layout Plain Layout
30029
30030 \series bold
30031 Note:
30032 \series default
30033  Floats mustn't be inside a rotated or scaled box.
30034 \end_layout
30035
30036 \end_inset
30037
30038
30039 \end_layout
30040
30041 \begin_layout Subsection
30042 Rotated Boxes
30043 \begin_inset Index
30044 status collapsed
30045
30046 \begin_layout Plain Layout
30047 Boxes ! rotated
30048 \end_layout
30049
30050 \end_inset
30051
30052
30053 \begin_inset Index
30054 status collapsed
30055
30056 \begin_layout Plain Layout
30057 Rotated material
30058 \end_layout
30059
30060 \end_inset
30061
30062
30063 \begin_inset Index
30064 status collapsed
30065
30066 \begin_layout Plain Layout
30067 Figures ! rotated
30068 \end_layout
30069
30070 \end_inset
30071
30072
30073 \begin_inset Index
30074 status collapsed
30075
30076 \begin_layout Plain Layout
30077 Table Customization ! Rotating
30078 \end_layout
30079
30080 \end_inset
30081
30082
30083 \end_layout
30084
30085 \begin_layout Standard
30086 To rotate material, you can put it into a rotated box.
30087  Such a box is created using the command 
30088 \series bold
30089
30090 \backslash
30091 rotatebox
30092 \series default
30093  in TeX-Code with the following scheme:
30094 \end_layout
30095
30096 \begin_layout Standard
30097
30098 \series bold
30099
30100 \backslash
30101 rotatebox[rotation origin]{rotation angle}{box content}
30102 \end_layout
30103
30104 \begin_layout Standard
30105 The rotation origin is specified in the form 
30106 \series bold
30107 origin=position
30108 \series default
30109 .
30110  The following positions are possible: 
30111 \emph on
30112 c
30113 \emph default
30114  (center), 
30115 \emph on
30116 l
30117 \emph default
30118  (left), 
30119 \emph on
30120 r
30121 \emph default
30122  (right), 
30123 \emph on
30124 b
30125 \emph default
30126  (bottom), 
30127 \emph on
30128 t
30129 \emph default
30130  (top), and also expedient combinations of the four base positions.
30131  For example 
30132 \emph on
30133 lt
30134 \emph default
30135  means, that the rotation origin is at the top left corner of the box.
30136  When no rotation origin is specified, the position 
30137 \emph on
30138 l
30139 \emph default
30140  will be used.
30141  The rotation angle is a number that can be negative that specifies the
30142  angle in degrees.
30143  The rotation direction is counterclockwise.
30144 \end_layout
30145
30146 \begin_layout Standard
30147 In the following example the command 
30148 \series bold
30149
30150 \backslash
30151 rotatebox[origin=c]{60}{
30152 \series default
30153  was inserted as TeX-Code before the text 
30154 \begin_inset Quotes eld
30155 \end_inset
30156
30157 with rotated
30158 \begin_inset Quotes erd
30159 \end_inset
30160
30161 ; after the text the box was closed by a closing brace 
30162 \series bold
30163 }
30164 \series default
30165  in TeX-Code.
30166 \end_layout
30167
30168 \begin_layout Standard
30169 This is a line 
30170 \begin_inset ERT
30171 status collapsed
30172
30173 \begin_layout Plain Layout
30174
30175
30176 \backslash
30177 rotatebox[origin=c]{60}{
30178 \end_layout
30179
30180 \end_inset
30181
30182 with rotated
30183 \begin_inset ERT
30184 status collapsed
30185
30186 \begin_layout Plain Layout
30187
30188 }
30189 \end_layout
30190
30191 \end_inset
30192
30193  text.
30194 \end_layout
30195
30196 \begin_layout Standard
30197 The box content can also be another box or an inline formula:
30198 \end_layout
30199
30200 \begin_layout Standard
30201 This is a line
30202 \begin_inset ERT
30203 status collapsed
30204
30205 \begin_layout Plain Layout
30206
30207
30208 \backslash
30209 rotatebox[origin=r]{-60}{
30210 \end_layout
30211
30212 \end_inset
30213
30214
30215 \begin_inset Box Doublebox
30216 position "c"
30217 hor_pos "c"
30218 has_inner_box 0
30219 inner_pos "c"
30220 use_parbox 0
30221 width "1in"
30222 special "width"
30223 height "1in"
30224 height_special "totalheight"
30225 status collapsed
30226
30227 \begin_layout Plain Layout
30228 with rotated
30229 \end_layout
30230
30231 \end_inset
30232
30233
30234 \begin_inset ERT
30235 status collapsed
30236
30237 \begin_layout Plain Layout
30238
30239 }
30240 \end_layout
30241
30242 \end_inset
30243
30244  framed text 
30245 \begin_inset ERT
30246 status collapsed
30247
30248 \begin_layout Plain Layout
30249
30250
30251 \backslash
30252 rotatebox[origin=lb]{60}{
30253 \end_layout
30254
30255 \end_inset
30256
30257
30258 \begin_inset Formula $\int A\,\mathrm{d}x=B$
30259 \end_inset
30260
30261
30262 \begin_inset ERT
30263 status collapsed
30264
30265 \begin_layout Plain Layout
30266
30267 }
30268 \end_layout
30269
30270 \end_inset
30271
30272  and a formula.
30273 \end_layout
30274
30275 \begin_layout Standard
30276 or an image or table:
30277 \end_layout
30278
30279 \begin_layout Standard
30280 This is a line
30281 \begin_inset ERT
30282 status collapsed
30283
30284 \begin_layout Plain Layout
30285
30286
30287 \backslash
30288 rotatebox[origin=lb]{90}{
30289 \end_layout
30290
30291 \end_inset
30292
30293
30294 \begin_inset Graphics
30295         filename clipart/platypus.eps
30296         lyxscale 50
30297         width 25col%
30298
30299 \end_inset
30300
30301
30302 \begin_inset ERT
30303 status collapsed
30304
30305 \begin_layout Plain Layout
30306
30307 }
30308 \end_layout
30309
30310 \end_inset
30311
30312  with a rotated image 
30313 \begin_inset ERT
30314 status collapsed
30315
30316 \begin_layout Plain Layout
30317
30318
30319 \backslash
30320 rotatebox[origin=l]{-90}{
30321 \end_layout
30322
30323 \end_inset
30324
30325
30326 \begin_inset Tabular
30327 <lyxtabular version="3" rows="2" columns="2">
30328 <features>
30329 <column alignment="center" valignment="top" width="0">
30330 <column alignment="center" valignment="top" width="0">
30331 <row>
30332 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30333 \begin_inset Text
30334
30335 \begin_layout Plain Layout
30336 q
30337 \end_layout
30338
30339 \end_inset
30340 </cell>
30341 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30342 \begin_inset Text
30343
30344 \begin_layout Plain Layout
30345 w
30346 \end_layout
30347
30348 \end_inset
30349 </cell>
30350 </row>
30351 <row>
30352 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30353 \begin_inset Text
30354
30355 \begin_layout Plain Layout
30356 e
30357 \end_layout
30358
30359 \end_inset
30360 </cell>
30361 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30362 \begin_inset Text
30363
30364 \begin_layout Plain Layout
30365 r
30366 \end_layout
30367
30368 \end_inset
30369 </cell>
30370 </row>
30371 </lyxtabular>
30372
30373 \end_inset
30374
30375
30376 \begin_inset ERT
30377 status collapsed
30378
30379 \begin_layout Plain Layout
30380
30381 }
30382 \end_layout
30383
30384 \end_inset
30385
30386  and table.
30387 \end_layout
30388
30389 \begin_layout Subsection
30390 Scaled Boxes
30391 \begin_inset Index
30392 status collapsed
30393
30394 \begin_layout Plain Layout
30395 Boxes ! scaled
30396 \end_layout
30397
30398 \end_inset
30399
30400
30401 \begin_inset Index
30402 status collapsed
30403
30404 \begin_layout Plain Layout
30405 Scaled material
30406 \end_layout
30407
30408 \end_inset
30409
30410
30411 \begin_inset Index
30412 status collapsed
30413
30414 \begin_layout Plain Layout
30415 Figures ! scaled
30416 \end_layout
30417
30418 \end_inset
30419
30420
30421 \begin_inset Index
30422 status collapsed
30423
30424 \begin_layout Plain Layout
30425 Table Customization ! Scaling
30426 \end_layout
30427
30428 \end_inset
30429
30430
30431 \end_layout
30432
30433 \begin_layout Standard
30434 To scale material the commands 
30435 \series bold
30436
30437 \backslash
30438 scalebox
30439 \series default
30440  and 
30441 \series bold
30442
30443 \backslash
30444 resizebox
30445 \series default
30446  can be used as TeX-Code.
30447 \end_layout
30448
30449 \begin_layout Standard
30450
30451 \series bold
30452
30453 \backslash
30454 scalebox
30455 \series default
30456  is used with the following scheme:
30457 \end_layout
30458
30459 \begin_layout Standard
30460
30461 \series bold
30462
30463 \backslash
30464 scalebox{horizontal}[vertical]{box content}
30465 \end_layout
30466
30467 \begin_layout Standard
30468 Horizontal and vertical are the corresponding scaling factors.
30469  If no vertical scaling factor is given, the horizontal factor will also
30470  be used as vertical one.
30471 \end_layout
30472
30473 \begin_layout Standard
30474 The command 
30475 \series bold
30476
30477 \backslash
30478 scalebox{2}{Hello}
30479 \series default
30480  creates for example a double size 
30481 \begin_inset ERT
30482 status collapsed
30483
30484 \begin_layout Plain Layout
30485
30486
30487 \backslash
30488 scalebox{2}{
30489 \end_layout
30490
30491 \end_inset
30492
30493 Hello
30494 \begin_inset ERT
30495 status collapsed
30496
30497 \begin_layout Plain Layout
30498
30499 }
30500 \end_layout
30501
30502 \end_inset
30503
30504 , compared to the document text size.
30505 \end_layout
30506
30507 \begin_layout Standard
30508
30509 \series bold
30510
30511 \backslash
30512 scalebox{2}[1]{Hello}
30513 \series default
30514  in contrary distorts the 
30515 \begin_inset ERT
30516 status collapsed
30517
30518 \begin_layout Plain Layout
30519
30520
30521 \backslash
30522 scalebox{2}[1]{
30523 \end_layout
30524
30525 \end_inset
30526
30527 Hello
30528 \begin_inset ERT
30529 status collapsed
30530
30531 \begin_layout Plain Layout
30532
30533 }
30534 \end_layout
30535
30536 \end_inset
30537
30538 .
30539 \end_layout
30540
30541 \begin_layout Standard
30542 If a the scaling factor is negative, the box content will be mirrored.
30543  Therefore the command 
30544 \series bold
30545
30546 \backslash
30547 scalebox{-1}[1]{Hello}
30548 \series default
30549  can be used to create mirror writing: 
30550 \begin_inset ERT
30551 status collapsed
30552
30553 \begin_layout Plain Layout
30554
30555
30556 \backslash
30557 scalebox{-1}[1]{
30558 \end_layout
30559
30560 \end_inset
30561
30562 Hello
30563 \begin_inset ERT
30564 status collapsed
30565
30566 \begin_layout Plain Layout
30567
30568 }
30569 \end_layout
30570
30571 \end_inset
30572
30573
30574 \end_layout
30575
30576 \begin_layout Standard
30577
30578 \series bold
30579
30580 \backslash
30581 scalebox{1}[-1]{Hello}
30582 \series default
30583  reflects the 
30584 \begin_inset ERT
30585 status collapsed
30586
30587 \begin_layout Plain Layout
30588
30589
30590 \backslash
30591 scalebox{1}[-1]{
30592 \end_layout
30593
30594 \end_inset
30595
30596 Hello
30597 \begin_inset ERT
30598 status collapsed
30599
30600 \begin_layout Plain Layout
30601
30602 }
30603 \end_layout
30604
30605 \end_inset
30606
30607  at the base line.
30608 \end_layout
30609
30610 \begin_layout Standard
30611 Equivalent to 
30612 \series bold
30613
30614 \backslash
30615 scalebox{-1}[1]{box content}
30616 \series default
30617  there exists the command
30618 \begin_inset Newline newline
30619 \end_inset
30620
30621
30622 \series bold
30623
30624 \backslash
30625 reflectbox{box content}
30626 \series default
30627 .
30628 \end_layout
30629
30630 \begin_layout Standard
30631 \begin_inset VSpace bigskip
30632 \end_inset
30633
30634 The command 
30635 \series bold
30636
30637 \backslash
30638 resizebox
30639 \series default
30640  is used to scale the box to a defined width and height.
30641  The command scheme is:
30642 \end_layout
30643
30644 \begin_layout Standard
30645
30646 \series bold
30647
30648 \backslash
30649 resizebox{width}{height}{box content}
30650 \end_layout
30651
30652 \begin_layout Standard
30653 Is one of the two command arguments given as exclamation mark 
30654 \series bold
30655 !
30656 \series default
30657 , the size is set so that the aspect ratio of the box content is kept.
30658 \end_layout
30659
30660 \begin_layout Standard
30661 The command 
30662 \series bold
30663
30664 \backslash
30665 resizebox{2cm}{1cm}{Hello}
30666 \series default
30667  produces: 
30668 \begin_inset ERT
30669 status collapsed
30670
30671 \begin_layout Plain Layout
30672
30673
30674 \backslash
30675 resizebox{2cm}{1cm}{
30676 \end_layout
30677
30678 \end_inset
30679
30680 Hello
30681 \begin_inset ERT
30682 status collapsed
30683
30684 \begin_layout Plain Layout
30685
30686 }
30687 \end_layout
30688
30689 \end_inset
30690
30691
30692 \begin_inset Newline newline
30693 \end_inset
30694
30695 The command 
30696 \series bold
30697
30698 \backslash
30699 resizebox{2cm}{!}{Hello}
30700 \series default
30701  produces: 
30702 \begin_inset ERT
30703 status collapsed
30704
30705 \begin_layout Plain Layout
30706
30707
30708 \backslash
30709 resizebox{2cm}{!}{
30710 \end_layout
30711
30712 \end_inset
30713
30714 Hello
30715 \begin_inset ERT
30716 status collapsed
30717
30718 \begin_layout Plain Layout
30719
30720 }
30721 \end_layout
30722
30723 \end_inset
30724
30725
30726 \end_layout
30727
30728 \begin_layout Standard
30729 \begin_inset VSpace bigskip
30730 \end_inset
30731
30732
30733 \begin_inset Note Greyedout
30734 status open
30735
30736 \begin_layout Plain Layout
30737
30738 \series bold
30739 Note:
30740 \series default
30741  When arguments of 
30742 \series bold
30743
30744 \backslash
30745 scalebox
30746 \series default
30747  or 
30748 \series bold
30749
30750 \backslash
30751 resizebox
30752 \series default
30753  are set to zero, no LaTeX-errors occur when exporting the document but
30754  the exported files can not or only partly be displayed.
30755 \end_layout
30756
30757 \end_inset
30758
30759
30760 \end_layout
30761
30762 \begin_layout Standard
30763 \begin_inset VSpace bigskip
30764 \end_inset
30765
30766
30767 \end_layout
30768
30769 \begin_layout Standard
30770 The boxes can be combined in any order.
30771  E.
30772 \begin_inset space \thinspace{}
30773 \end_inset
30774
30775 g.
30776 \begin_inset space \space{}
30777 \end_inset
30778
30779 the command
30780 \begin_inset Newline newline
30781 \end_inset
30782
30783
30784 \series bold
30785
30786 \backslash
30787 rotatebox[origin=c]{-45}{
30788 \backslash
30789 resizebox{2cm}{!}{
30790 \backslash
30791 reflectbox{Hello}}}
30792 \begin_inset Newline newline
30793 \end_inset
30794
30795
30796 \series default
30797 produces:
30798 \end_layout
30799
30800 \begin_layout Standard
30801 \align center
30802 \begin_inset ERT
30803 status collapsed
30804
30805 \begin_layout Plain Layout
30806
30807
30808 \backslash
30809 rotatebox[origin=c]{-45}{
30810 \backslash
30811 resizebox{2cm}{!}{
30812 \backslash
30813 reflectbox{
30814 \end_layout
30815
30816 \end_inset
30817
30818 Hello
30819 \begin_inset ERT
30820 status collapsed
30821
30822 \begin_layout Plain Layout
30823
30824 }}}
30825 \end_layout
30826
30827 \end_inset
30828
30829
30830 \end_layout
30831
30832 \begin_layout Standard
30833 \noindent
30834 Images, tables, and inline formulas are allowed as box content:
30835 \end_layout
30836
30837 \begin_layout Standard
30838 \align center
30839 \begin_inset ERT
30840 status collapsed
30841
30842 \begin_layout Plain Layout
30843
30844
30845 \backslash
30846 rotatebox[origin=c]{-30}{
30847 \backslash
30848 resizebox{2cm}{!}{
30849 \backslash
30850 reflectbox{
30851 \end_layout
30852
30853 \end_inset
30854
30855
30856 \begin_inset Graphics
30857         filename clipart/platypus.eps
30858         lyxscale 50
30859         width 25col%
30860
30861 \end_inset
30862
30863
30864 \begin_inset ERT
30865 status collapsed
30866
30867 \begin_layout Plain Layout
30868
30869 }}}
30870 \end_layout
30871
30872 \end_inset
30873
30874
30875 \begin_inset ERT
30876 status collapsed
30877
30878 \begin_layout Plain Layout
30879
30880
30881 \backslash
30882 rotatebox[origin=c]{-45}{
30883 \backslash
30884 resizebox{2cm}{!}{
30885 \backslash
30886 reflectbox{
30887 \end_layout
30888
30889 \end_inset
30890
30891
30892 \begin_inset Tabular
30893 <lyxtabular version="3" rows="2" columns="2">
30894 <features>
30895 <column alignment="center" valignment="top" width="0">
30896 <column alignment="center" valignment="top" width="0">
30897 <row>
30898 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30899 \begin_inset Text
30900
30901 \begin_layout Plain Layout
30902 q
30903 \end_layout
30904
30905 \end_inset
30906 </cell>
30907 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30908 \begin_inset Text
30909
30910 \begin_layout Plain Layout
30911 w
30912 \end_layout
30913
30914 \end_inset
30915 </cell>
30916 </row>
30917 <row>
30918 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30919 \begin_inset Text
30920
30921 \begin_layout Plain Layout
30922 e
30923 \end_layout
30924
30925 \end_inset
30926 </cell>
30927 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30928 \begin_inset Text
30929
30930 \begin_layout Plain Layout
30931 r
30932 \end_layout
30933
30934 \end_inset
30935 </cell>
30936 </row>
30937 </lyxtabular>
30938
30939 \end_inset
30940
30941
30942 \begin_inset ERT
30943 status collapsed
30944
30945 \begin_layout Plain Layout
30946
30947 }}}
30948 \end_layout
30949
30950 \end_inset
30951
30952
30953 \begin_inset ERT
30954 status collapsed
30955
30956 \begin_layout Plain Layout
30957
30958
30959 \backslash
30960 rotatebox[origin=c]{-45}{
30961 \backslash
30962 resizebox{2cm}{!}{
30963 \backslash
30964 reflectbox{
30965 \end_layout
30966
30967 \end_inset
30968
30969
30970 \begin_inset Formula $\int A\,\mathrm{d}x=B$
30971 \end_inset
30972
30973
30974 \begin_inset ERT
30975 status collapsed
30976
30977 \begin_layout Plain Layout
30978
30979 }}}
30980 \end_layout
30981
30982 \end_inset
30983
30984
30985 \end_layout
30986
30987 \begin_layout Standard
30988 When the global formula style 
30989 \series bold
30990 fleqn
30991 \series default
30992  is used in the document
30993 \begin_inset Foot
30994 status collapsed
30995
30996 \begin_layout Plain Layout
30997 When 
30998 \begin_inset Quotes eld
30999 \end_inset
31000
31001 fleqn
31002 \begin_inset Quotes erd
31003 \end_inset
31004
31005  is added to the document class options.
31006 \end_layout
31007
31008 \end_inset
31009
31010 , also display formulas can be scaled.
31011 \end_layout
31012
31013 \begin_layout Chapter
31014 External Stuff
31015 \begin_inset Index
31016 status collapsed
31017
31018 \begin_layout Plain Layout
31019 External Stuff
31020 \end_layout
31021
31022 \end_inset
31023
31024
31025 \end_layout
31026
31027 \begin_layout Standard
31028 With the menu 
31029 \family sans
31030 Insert\SpecialChar \menuseparator
31031 File
31032 \family default
31033  you can insert external material to your document.
31034  This can be:
31035 \end_layout
31036
31037 \begin_layout Description
31038 LyX
31039 \begin_inset space ~
31040 \end_inset
31041
31042 Document Another LyX document; its content is directly inserted to your
31043  document.
31044 \end_layout
31045
31046 \begin_layout Description
31047 Plain
31048 \begin_inset space ~
31049 \end_inset
31050
31051 Text A text document; every of its text lines is inserted to your document
31052  as own paragraph.
31053 \end_layout
31054
31055 \begin_layout Description
31056 Plain
31057 \begin_inset space ~
31058 \end_inset
31059
31060 Text,
31061 \begin_inset space ~
31062 \end_inset
31063
31064 Join
31065 \begin_inset space ~
31066 \end_inset
31067
31068 Lines A text document; its text lines are inserted as they are.
31069  Empty text lines creates a new paragraph in your document.
31070 \end_layout
31071
31072 \begin_layout Description
31073 External
31074 \begin_inset space ~
31075 \end_inset
31076
31077 Material Files in various formats.
31078 \end_layout
31079
31080 \begin_layout Description
31081 Child
31082 \begin_inset space ~
31083 \end_inset
31084
31085 Document LyX or LaTeX-documents.
31086 \end_layout
31087
31088 \begin_layout Section
31089 External Material
31090 \begin_inset Index
31091 status collapsed
31092
31093 \begin_layout Plain Layout
31094 External Stuff ! External Material
31095 \end_layout
31096
31097 \end_inset
31098
31099
31100 \end_layout
31101
31102 \begin_layout Standard
31103 The external material feature allows you to insert files to your document
31104  without converting them previously to a format that can be read by the
31105  document output format because LyX takes care of needed conversions.
31106  This is similar to images that can be inserted in various image formats
31107  to LyX documents.
31108  When you have enabled Instant Preview in LyX's preferences under 
31109 \family sans
31110 Look
31111 \begin_inset space ~
31112 \end_inset
31113
31114 and
31115 \begin_inset space ~
31116 \end_inset
31117
31118 feel\SpecialChar \menuseparator
31119 Graphics
31120 \family default
31121 , the external material types Dia and Xfig is directly shown in LyX.
31122 \end_layout
31123
31124 \begin_layout Standard
31125 External material can be inserted via the 
31126 \family sans
31127 External Material
31128 \family default
31129  dialog that is accessible with the menu 
31130 \family sans
31131 Insert\SpecialChar \menuseparator
31132 File\SpecialChar \menuseparator
31133 External
31134 \begin_inset space ~
31135 \end_inset
31136
31137 Material
31138 \family default
31139 .
31140  Currently the following file types (
31141 \family sans
31142 Templates
31143 \family default
31144 ) are allowed:
31145 \end_layout
31146
31147 \begin_layout Description
31148 ChessDiagram This template supports chess position diagrams made with the
31149  program 
31150 \series bold
31151
31152 \begin_inset CommandInset href
31153 LatexCommand href
31154 name "XBoard"
31155 target "http://en.wikipedia.org/wiki/XBoard"
31156
31157 \end_inset
31158
31159
31160 \series default
31161 .
31162 \end_layout
31163
31164 \begin_layout Description
31165 Date This inserts the date in the form 
31166 \emph on
31167 Day-Month-Year
31168 \emph default
31169 .
31170  This is a date inserted as external material: 
31171 \begin_inset External
31172         template Date
31173         filename .
31174
31175 \end_inset
31176
31177
31178 \begin_inset space ~
31179 \end_inset
31180
31181
31182 \begin_inset Note Note
31183 status open
31184
31185 \begin_layout Plain Layout
31186 Remove the protected space when bug 4398 is fixed!
31187 \end_layout
31188
31189 \end_inset
31190
31191
31192 \begin_inset Newline newline
31193 \end_inset
31194
31195 The date is not shown within LyX, only in the output.
31196  There are two other methods of inserting a date: Via menu 
31197 \family sans
31198 Insert\SpecialChar \menuseparator
31199 Date
31200 \family default
31201  and with the LaTeX command 
31202 \series bold
31203
31204 \backslash
31205 today
31206 \series default
31207  as TeX-Code.
31208  The different methods are compared in Table
31209 \begin_inset space ~
31210 \end_inset
31211
31212
31213 \begin_inset CommandInset ref
31214 LatexCommand ref
31215 reference "tab:Comparison-of-the"
31216
31217 \end_inset
31218
31219 .
31220 \end_layout
31221
31222 \begin_layout Description
31223 Dia This template supports diagrams created with the program 
31224 \series bold
31225
31226 \begin_inset CommandInset href
31227 LatexCommand href
31228 name "Dia"
31229 target "http://en.wikipedia.org/wiki/Dia_(software)"
31230
31231 \end_inset
31232
31233
31234 \series default
31235 .
31236 \end_layout
31237
31238 \begin_layout Description
31239 LilyPond This template is used for music notation typeset with the program
31240 \begin_inset Newline linebreak
31241 \end_inset
31242
31243
31244 \series bold
31245
31246 \begin_inset CommandInset href
31247 LatexCommand href
31248 name "LilyPond"
31249 target "http://en.wikipedia.org/wiki/LilyPond"
31250
31251 \end_inset
31252
31253
31254 \series default
31255 .
31256 \end_layout
31257
31258 \begin_layout Description
31259 PDFPages With this template you can insert PDF documents to your document.
31260  To insert certain or all pages of a PDF, use the 
31261 \emph on
31262 pages
31263 \emph default
31264  option in the 
31265 \family sans
31266 Option
31267 \family default
31268  field in the 
31269 \family sans
31270 LaTeX and LyX options
31271 \family default
31272  tab according to the template description in the dialog.
31273  When no 
31274 \emph on
31275 pages
31276 \emph default
31277  option is given, only the first page of the PDF will be inserted.
31278 \end_layout
31279
31280 \begin_layout Description
31281 RasterImage This can be used for bitmap images.
31282  Nearly all popular image formats are supported.
31283  The image can be treated in the 
31284 \family sans
31285 External material
31286 \family default
31287  dialog like the images that are usually included via the 
31288 \family sans
31289 Graphics
31290 \family default
31291  dialog as described in section
31292 \begin_inset space ~
31293 \end_inset
31294
31295
31296 \begin_inset CommandInset ref
31297 LatexCommand ref
31298 reference "sec:Graphics-Dialog"
31299
31300 \end_inset
31301
31302 .
31303  The difference is that only raster images are allowed, that means that
31304  PDF and EPS-images are not supported.
31305 \end_layout
31306
31307 \begin_layout Description
31308 XFig This template supports images created with the program 
31309 \series bold
31310
31311 \begin_inset CommandInset href
31312 LatexCommand href
31313 name "Xfig"
31314 target "http://en.wikipedia.org/wiki/Xfig"
31315
31316 \end_inset
31317
31318
31319 \series default
31320 .
31321 \end_layout
31322
31323 \begin_layout Standard
31324 \begin_inset Float table
31325 placement h
31326 wide false
31327 sideways false
31328 status open
31329
31330 \begin_layout Plain Layout
31331 \begin_inset Caption
31332
31333 \begin_layout Plain Layout
31334 \begin_inset CommandInset label
31335 LatexCommand label
31336 name "tab:Comparison-of-the"
31337
31338 \end_inset
31339
31340 Comparison of the date input methods.
31341 \end_layout
31342
31343 \end_inset
31344
31345
31346 \end_layout
31347
31348 \begin_layout Plain Layout
31349 \align center
31350 \begin_inset Tabular
31351 <lyxtabular version="3" rows="4" columns="4">
31352 <features>
31353 <column alignment="center" valignment="top" width="0">
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 <row>
31358 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31359 \begin_inset Text
31360
31361 \begin_layout Plain Layout
31362 Document format
31363 \end_layout
31364
31365 \end_inset
31366 </cell>
31367 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31368 \begin_inset Text
31369
31370 \begin_layout Plain Layout
31371
31372 \family sans
31373 External Material\SpecialChar \menuseparator
31374 Date
31375 \end_layout
31376
31377 \end_inset
31378 </cell>
31379 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31380 \begin_inset Text
31381
31382 \begin_layout Plain Layout
31383
31384 \family sans
31385 Insert\SpecialChar \menuseparator
31386 Date
31387 \end_layout
31388
31389 \end_inset
31390 </cell>
31391 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31392 \begin_inset Text
31393
31394 \begin_layout Plain Layout
31395 command 
31396 \series bold
31397
31398 \backslash
31399 today
31400 \end_layout
31401
31402 \end_inset
31403 </cell>
31404 </row>
31405 <row>
31406 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31407 \begin_inset Text
31408
31409 \begin_layout Plain Layout
31410 LyX
31411 \end_layout
31412
31413 \end_inset
31414 </cell>
31415 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31416 \begin_inset Text
31417
31418 \begin_layout Plain Layout
31419 as inset box
31420 \end_layout
31421
31422 \end_inset
31423 </cell>
31424 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31425 \begin_inset Text
31426
31427 \begin_layout Plain Layout
31428 as date
31429 \end_layout
31430
31431 \end_inset
31432 </cell>
31433 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31434 \begin_inset Text
31435
31436 \begin_layout Plain Layout
31437 as TeX-Code inset box
31438 \end_layout
31439
31440 \end_inset
31441 </cell>
31442 </row>
31443 <row>
31444 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31445 \begin_inset Text
31446
31447 \begin_layout Plain Layout
31448 LaTeX
31449 \end_layout
31450
31451 \end_inset
31452 </cell>
31453 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31454 \begin_inset Text
31455
31456 \begin_layout Plain Layout
31457 as date
31458 \end_layout
31459
31460 \end_inset
31461 </cell>
31462 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31463 \begin_inset Text
31464
31465 \begin_layout Plain Layout
31466 as date
31467 \end_layout
31468
31469 \end_inset
31470 </cell>
31471 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31472 \begin_inset Text
31473
31474 \begin_layout Plain Layout
31475 as command
31476 \end_layout
31477
31478 \end_inset
31479 </cell>
31480 </row>
31481 <row>
31482 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31483 \begin_inset Text
31484
31485 \begin_layout Plain Layout
31486 DVI, PDF, PS
31487 \end_layout
31488
31489 \end_inset
31490 </cell>
31491 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31492 \begin_inset Text
31493
31494 \begin_layout Plain Layout
31495 as date
31496 \end_layout
31497
31498 \end_inset
31499 </cell>
31500 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31501 \begin_inset Text
31502
31503 \begin_layout Plain Layout
31504 as date
31505 \end_layout
31506
31507 \end_inset
31508 </cell>
31509 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31510 \begin_inset Text
31511
31512 \begin_layout Plain Layout
31513 as date
31514 \end_layout
31515
31516 \end_inset
31517 </cell>
31518 </row>
31519 </lyxtabular>
31520
31521 \end_inset
31522
31523
31524 \end_layout
31525
31526 \end_inset
31527
31528
31529 \end_layout
31530
31531 \begin_layout Standard
31532 When you use the option 
31533 \family sans
31534 Draft
31535 \family default
31536  in the 
31537 \family sans
31538 File
31539 \family default
31540  tab of the 
31541 \family sans
31542 External Material
31543 \family default
31544  dialog, only the path to the inserted file is shown in the output.
31545 \begin_inset Newline newline
31546 \end_inset
31547
31548 External material is displayed in LyX either as box like this: 
31549 \begin_inset Graphics
31550         filename clipart/ExternalMaterialQt4.png
31551         scale 85
31552         scaleBeforeRotation
31553
31554 \end_inset
31555
31556  or as image, depending on the option 
31557 \family sans
31558 Show in LyX
31559 \family default
31560  in the 
31561 \family sans
31562 LaTeX and LyX options
31563 \family default
31564  tab of the dialog.
31565 \end_layout
31566
31567 \begin_layout Standard
31568 The 
31569 \family sans
31570 \emph on
31571 Customization
31572 \family default
31573 \emph default
31574  manual explains how you can define your own templates.
31575 \end_layout
31576
31577 \begin_layout Section
31578 Child Documents
31579 \begin_inset CommandInset label
31580 LatexCommand label
31581 name "sec:Child-Documents"
31582
31583 \end_inset
31584
31585
31586 \begin_inset Index
31587 status collapsed
31588
31589 \begin_layout Plain Layout
31590 External Stuff ! Child Documents
31591 \end_layout
31592
31593 \end_inset
31594
31595
31596 \begin_inset Index
31597 status collapsed
31598
31599 \begin_layout Plain Layout
31600 Files ! Include
31601 \end_layout
31602
31603 \end_inset
31604
31605
31606 \end_layout
31607
31608 \begin_layout Standard
31609 Child documents are used when you have a long document consisting of several
31610  larger parts or sections.
31611  For maintenance it is often useful and sometimes even required to split
31612  the document in several files that can be revised separately.
31613  The different documents are then the so called child documents and a master
31614  document connects them to print the full document or parts of it.
31615  A child documents inherits contents of its master, for example the LaTeX
31616  preamble, the bibliography, and labels for cross-references.
31617 \end_layout
31618
31619 \begin_layout Standard
31620 To be able to work on child documents without the need to open its master,
31621  specify in the child document the master in the menu
31622 \family sans
31623  Document\SpecialChar \menuseparator
31624 Settings\SpecialChar \menuseparator
31625 Document
31626 \begin_inset space ~
31627 \end_inset
31628
31629 Class
31630 \family default
31631 .
31632  This master file will then be used in the background by LyX when you edit
31633  the child document.
31634 \end_layout
31635
31636 \begin_layout Standard
31637 Included documents are displayed in LyX as a box like this: 
31638 \begin_inset Graphics
31639         filename clipart/ChildDocumentQt4.png
31640         scale 85
31641         scaleBeforeRotation
31642
31643 \end_inset
31644
31645  To include child documents to a master document use the menu 
31646 \family sans
31647 Insert\SpecialChar \menuseparator
31648 File\SpecialChar \menuseparator
31649 Child
31650 \begin_inset space ~
31651 \end_inset
31652
31653 Documents
31654 \family default
31655 .
31656  A dialog pops up where you can choose between four include methods:
31657 \end_layout
31658
31659 \begin_layout Description
31660 Include You can include LyX and LaTeX-documents.
31661  When you press the 
31662 \family sans
31663 Load
31664 \family default
31665  button in the 
31666 \family sans
31667 Child Document
31668 \family default
31669  dialog, the included documents will be opened in LyX in a new file tab
31670  so that you can modify it.
31671 \begin_inset Newline newline
31672 \end_inset
31673
31674
31675 \end_layout
31676
31677 \begin_layout Standard
31678 Here is a child document inserted using 
31679 \family sans
31680 Include
31681 \family default
31682
31683 \begin_inset CommandInset include
31684 LatexCommand include
31685 filename "DummyDocument1.lyx"
31686
31687 \end_inset
31688
31689
31690 \end_layout
31691
31692 \begin_layout Standard
31693 The section numbering includes the sections of the included files in the
31694  order they are inserted in the master document.
31695  The included example document has for example a subsection that is numbered
31696  as subsection of this section.
31697  Labels of included documents can be referenced: Subsection
31698 \begin_inset space ~
31699 \end_inset
31700
31701
31702 \begin_inset CommandInset ref
31703 LatexCommand ref
31704 reference "sub:External-Subsection-1"
31705
31706 \end_inset
31707
31708
31709 \end_layout
31710
31711 \begin_layout Standard
31712 The preamble of the child document is ignored, only the preamble of the
31713  master document is used.
31714  Included documents are inserted starting on a new page and end with a page
31715  break.
31716 \end_layout
31717
31718 \begin_layout Standard
31719 With the LaTeX-command 
31720 \series bold
31721
31722 \backslash
31723 includeonly 
31724 \series default
31725 you can specify which included child documents are processed when the output
31726  is generated.
31727  This is useful when you are perhaps only working on a certain chapter of
31728  your large document as this saves compiling time.
31729  
31730 \series bold
31731
31732 \backslash
31733 includeonly
31734 \series default
31735  is inserted to the master document preamble.
31736  It takes a comma-separated list of the filenames as argument, e.
31737 \begin_inset space \thinspace{}
31738 \end_inset
31739
31740 g.
31741 \end_layout
31742
31743 \begin_layout Standard
31744
31745 \series bold
31746
31747 \backslash
31748 includeonly{chapter1,chapter5}
31749 \end_layout
31750
31751 \begin_layout Standard
31752 will only process the included files named 
31753 \begin_inset Quotes eld
31754 \end_inset
31755
31756 chapter1.lyx
31757 \begin_inset Quotes erd
31758 \end_inset
31759
31760  (or 
31761 \begin_inset Quotes eld
31762 \end_inset
31763
31764 chapter1.tex
31765 \begin_inset Quotes erd
31766 \end_inset
31767
31768 ) and 
31769 \begin_inset Quotes eld
31770 \end_inset
31771
31772 chapter5.lyx
31773 \begin_inset Quotes erd
31774 \end_inset
31775
31776  .
31777 \end_layout
31778
31779 \begin_layout Standard
31780 \begin_inset Note Greyedout
31781 status open
31782
31783 \begin_layout Plain Layout
31784
31785 \series bold
31786 Note:
31787 \series default
31788  When you have included a LyX- or LaTeX-file, you are warned when you export/vie
31789 w the document in case that the child document uses another document class
31790  than the master document as this will lead to unexpected outputs.
31791 \end_layout
31792
31793 \end_inset
31794
31795
31796 \end_layout
31797
31798 \begin_layout Description
31799 Input This method is very similar to the Include method.
31800  The differences are:
31801 \end_layout
31802
31803 \begin_deeper
31804 \begin_layout Itemize
31805 Input files don't start with a new page and don't end with a page break.
31806 \end_layout
31807
31808 \begin_layout Itemize
31809 Input files can be previewed in LyX when 
31810 \family sans
31811 Instant
31812 \begin_inset space ~
31813 \end_inset
31814
31815 Preview
31816 \family default
31817  is enabled in LyX's preferences under 
31818 \family sans
31819 Look
31820 \begin_inset space ~
31821 \end_inset
31822
31823 and
31824 \begin_inset space ~
31825 \end_inset
31826
31827 feel\SpecialChar \menuseparator
31828 Graphics
31829 \family default
31830 .
31831 \end_layout
31832
31833 \begin_layout Itemize
31834 The LaTeX-command 
31835 \series bold
31836
31837 \backslash
31838 includeonly
31839 \series default
31840  cannot be used.
31841 \end_layout
31842
31843 \end_deeper
31844 \begin_layout Standard
31845 Here is a child document inserted using 
31846 \family sans
31847 Input
31848 \family default
31849
31850 \begin_inset CommandInset include
31851 LatexCommand input
31852 filename "DummyDocument2.lyx"
31853
31854 \end_inset
31855
31856
31857 \end_layout
31858
31859 \begin_layout Description
31860 Verbatim With this method every text file can be included.
31861  The file is shown in the output with its source code, no command used in
31862  the text is invoked.
31863  You can use the option 
31864 \family sans
31865 Mark spaces in output
31866 \family default
31867  that displays the character 
31868 \begin_inset Quotes eld
31869 \end_inset
31870
31871
31872 \begin_inset ERT
31873 status collapsed
31874
31875 \begin_layout Plain Layout
31876
31877
31878 \backslash
31879 textvisiblespace 
31880 \end_layout
31881
31882 \end_inset
31883
31884
31885 \begin_inset Quotes erd
31886 \end_inset
31887
31888  for every space character in the source code.
31889  The difference to the method via the menu 
31890 \family sans
31891 Insert\SpecialChar \menuseparator
31892 File\SpecialChar \menuseparator
31893 Plain
31894 \begin_inset space ~
31895 \end_inset
31896
31897 Text
31898 \family default
31899  is that the document content is not shown in LyX.
31900 \end_layout
31901
31902 \begin_layout Standard
31903 Here is a child document inserted as Verbatim: 
31904 \begin_inset CommandInset include
31905 LatexCommand verbatiminput
31906 filename "DummyTextDocument.txt"
31907
31908 \end_inset
31909
31910
31911 \begin_inset VSpace bigskip
31912 \end_inset
31913
31914 Here is a child document inserted as Verbatim using the 
31915 \family sans
31916 Mark spaces in output
31917 \family default
31918  option: 
31919 \begin_inset CommandInset include
31920 LatexCommand verbatiminput*
31921 filename "DummyTextDocument.txt"
31922
31923 \end_inset
31924
31925
31926 \end_layout
31927
31928 \begin_layout Standard
31929 \begin_inset VSpace bigskip
31930 \end_inset
31931
31932
31933 \end_layout
31934
31935 \begin_layout Standard
31936 \begin_inset Note Greyedout
31937 status open
31938
31939 \begin_layout Plain Layout
31940
31941 \series bold
31942 Note:
31943 \series default
31944  As you can see in the examples above, the text of the documents included
31945  as 
31946 \family sans
31947 verbatim
31948 \family default
31949  is not broken at the end of the document lines.
31950 \end_layout
31951
31952 \end_inset
31953
31954
31955 \end_layout
31956
31957 \begin_layout Description
31958 Listings This type is described in chapter
31959 \begin_inset space ~
31960 \end_inset
31961
31962
31963 \begin_inset CommandInset ref
31964 LatexCommand ref
31965 reference "cha:Program-Code-Listings"
31966
31967 \end_inset
31968
31969 .
31970 \end_layout
31971
31972 \begin_layout Standard
31973 \begin_inset Note Greyedout
31974 status open
31975
31976 \begin_layout Plain Layout
31977
31978 \series bold
31979 Note:
31980 \series default
31981  Including the same document twice in a document using different methods
31982  could cause LaTeX-problems.
31983 \end_layout
31984
31985 \end_inset
31986
31987
31988 \end_layout
31989
31990 \begin_layout Chapter
31991 Program Code Listings
31992 \begin_inset CommandInset label
31993 LatexCommand label
31994 name "cha:Program-Code-Listings"
31995
31996 \end_inset
31997
31998
31999 \begin_inset Index
32000 status collapsed
32001
32002 \begin_layout Plain Layout
32003 Listings
32004 \end_layout
32005
32006 \end_inset
32007
32008
32009 \begin_inset Index
32010 status collapsed
32011
32012 \begin_layout Plain Layout
32013 Program Code
32014 \end_layout
32015
32016 \end_inset
32017
32018
32019 \begin_inset Index
32020 status collapsed
32021
32022 \begin_layout Plain Layout
32023 Floats ! Listings
32024 \end_layout
32025
32026 \end_inset
32027
32028
32029 \end_layout
32030
32031 \begin_layout Standard
32032 To include and typeset program code you can use the 
32033 \family sans
32034 Listings
32035 \family default
32036  inset that can be inserted via the menu 
32037 \family sans
32038 Insert\SpecialChar \menuseparator
32039 Program Listing
32040 \family default
32041 .
32042  The LaTeX-package 
32043 \series bold
32044 listings
32045 \series default
32046
32047 \begin_inset Index
32048 status collapsed
32049
32050 \begin_layout Plain Layout
32051 LaTeX-packages ! listings
32052 \end_layout
32053
32054 \end_inset
32055
32056  provides a powerful and flexible way to insert program source code to your
32057  document.
32058 \end_layout
32059
32060 \begin_layout Standard
32061 Right-clicking on a listings inset opens the context menu containing where
32062  you can set the listings format.
32063 \end_layout
32064
32065 \begin_layout Standard
32066 By default, a listing starts a new paragraph in the output.
32067  The placement option 
32068 \family sans
32069 Inline
32070 \begin_inset space ~
32071 \end_inset
32072
32073 listing
32074 \family default
32075  prints the listing inline like this: 
32076 \begin_inset listings
32077 lstparams "language={C++}"
32078 inline true
32079 status open
32080
32081 \begin_layout Plain Layout
32082
32083 int a=5;
32084 \end_layout
32085
32086 \end_inset
32087
32088
32089 \begin_inset Newline newline
32090 \end_inset
32091
32092 The option 
32093 \family sans
32094 Float
32095 \family default
32096  creates a listings float where you can specify the placement options 
32097 \begin_inset Quotes eld
32098 \end_inset
32099
32100
32101 \family sans
32102 h
32103 \family default
32104
32105 \begin_inset Quotes erd
32106 \end_inset
32107
32108
32109 \begin_inset Quotes eld
32110 \end_inset
32111
32112
32113 \family sans
32114 t
32115 \family default
32116
32117 \begin_inset Quotes erd
32118 \end_inset
32119
32120
32121 \begin_inset Quotes eld
32122 \end_inset
32123
32124
32125 \family sans
32126 b
32127 \family default
32128
32129 \begin_inset Quotes erd
32130 \end_inset
32131
32132 , and 
32133 \begin_inset Quotes eld
32134 \end_inset
32135
32136
32137 \family sans
32138 p
32139 \family default
32140
32141 \begin_inset Quotes erd
32142 \end_inset
32143
32144  corresponding to the float placement options described in section
32145 \begin_inset space ~
32146 \end_inset
32147
32148
32149 \begin_inset CommandInset ref
32150 LatexCommand ref
32151 reference "sec:Float-Placement"
32152
32153 \end_inset
32154
32155 .
32156  The placement options can be mixed and are inserted without any separation,
32157  e.
32158 \begin_inset space \thinspace{}
32159 \end_inset
32160
32161 g.
32162 \begin_inset space \space{}
32163 \end_inset
32164
32165
32166 \begin_inset Quotes eld
32167 \end_inset
32168
32169
32170 \family sans
32171 htbp
32172 \family default
32173
32174 \begin_inset Quotes erd
32175 \end_inset
32176
32177 .
32178  The option 
32179 \begin_inset Quotes eld
32180 \end_inset
32181
32182 h
32183 \begin_inset Quotes erd
32184 \end_inset
32185
32186  has sometimes no effect, but you don't need to use the 
32187 \family sans
32188 Float
32189 \family default
32190  option in this case as also non-float listings can have captions and be
32191  referenced.
32192 \end_layout
32193
32194 \begin_layout Standard
32195 You can add captions to listings with the menu 
32196 \family sans
32197 Insert\SpecialChar \menuseparator
32198 Caption
32199 \family default
32200 .
32201  Listings can be referenced like floats: Listing
32202 \begin_inset space ~
32203 \end_inset
32204
32205
32206 \begin_inset CommandInset ref
32207 LatexCommand ref
32208 reference "lst:Example-Listing"
32209
32210 \end_inset
32211
32212
32213 \end_layout
32214
32215 \begin_layout Standard
32216 \begin_inset listings
32217 lstparams "language=Python"
32218 inline false
32219 status open
32220
32221 \begin_layout Plain Layout
32222
32223 \begin_inset Caption
32224
32225 \begin_layout Plain Layout
32226 \begin_inset CommandInset label
32227 LatexCommand label
32228 name "lst:Example-Listing"
32229
32230 \end_inset
32231
32232 Example Listing float
32233 \end_layout
32234
32235 \end_inset
32236
32237 # Example listing float
32238 \end_layout
32239
32240 \begin_layout Plain Layout
32241
32242 def func(param):
32243 \end_layout
32244
32245 \begin_layout Plain Layout
32246
32247     'this is a python function'
32248 \end_layout
32249
32250 \begin_layout Plain Layout
32251
32252     pass
32253 \end_layout
32254
32255 \end_inset
32256
32257
32258 \end_layout
32259
32260 \begin_layout Standard
32261 When you have set a programming language in the listings dialog, the keywords
32262  of this language will be recognized and specially typeset in the output.
32263  In the example listings the Python keyword 
32264 \begin_inset Quotes eld
32265 \end_inset
32266
32267 def
32268 \begin_inset Quotes erd
32269 \end_inset
32270
32271  is recognized and printed bold in the output.
32272 \end_layout
32273
32274 \begin_layout Standard
32275 \begin_inset Note Greyedout
32276 status open
32277
32278 \begin_layout Plain Layout
32279
32280 \series bold
32281 Note:
32282 \series default
32283  If you don't get bold keywords when using typewriter fonts, your 
32284 \family typewriter
32285 typewriter
32286 \family default
32287  font probably doesn't provide a bold shape.
32288  In this case select a different one in the menu 
32289 \family sans
32290 Document\SpecialChar \menuseparator
32291 Settings\SpecialChar \menuseparator
32292 Fonts
32293 \family default
32294 .
32295  (The fonts 
32296 \emph on
32297 LuxiMono, BeraMono
32298 \emph default
32299  and 
32300 \emph on
32301 Courier
32302 \emph default
32303  provide bold shapes.)
32304 \end_layout
32305
32306 \end_inset
32307
32308
32309 \end_layout
32310
32311 \begin_layout Standard
32312 In section 
32313 \family sans
32314 Line
32315 \begin_inset space ~
32316 \end_inset
32317
32318 numbering
32319 \family default
32320  of the listings dialog you can specify the line numbering style.
32321  You can insert a number to specify which lines are numbered to the field
32322  
32323 \family sans
32324 Step
32325 \family default
32326 .
32327  When you insert e.
32328 \begin_inset space \thinspace{}
32329 \end_inset
32330
32331 g.
32332 \begin_inset space \space{}
32333 \end_inset
32334
32335
32336 \begin_inset Quotes eld
32337 \end_inset
32338
32339 3
32340 \begin_inset Quotes erd
32341 \end_inset
32342
32343 , only every 3rd line will be numbered.
32344 \end_layout
32345
32346 \begin_layout Standard
32347 You can furthermore specify a range of lines, only these will then appear
32348  in the output.
32349  The option 
32350 \family sans
32351 Extended character table
32352 \family default
32353  should be used when you use national characters like the German umlauts
32354  in the listing.
32355 \begin_inset Newline newline
32356 \end_inset
32357
32358 Here is an example listing with left line numbering, step 
32359 \begin_inset Quotes eld
32360 \end_inset
32361
32362 3
32363 \begin_inset Quotes erd
32364 \end_inset
32365
32366 , language 
32367 \begin_inset Quotes eld
32368 \end_inset
32369
32370 Python
32371 \begin_inset Quotes erd
32372 \end_inset
32373
32374 , options 
32375 \begin_inset Quotes eld
32376 \end_inset
32377
32378 Extended character table
32379 \begin_inset Quotes erd
32380 \end_inset
32381
32382  and 
32383 \begin_inset Quotes eld
32384 \end_inset
32385
32386 Space
32387 \begin_inset space ~
32388 \end_inset
32389
32390 as
32391 \begin_inset space ~
32392 \end_inset
32393
32394 symbol
32395 \begin_inset Quotes erd
32396 \end_inset
32397
32398 , range lines 3
32399 \begin_inset space \thinspace{}
32400 \end_inset
32401
32402 -
32403 \begin_inset space \thinspace{}
32404 \end_inset
32405
32406 8:
32407 \end_layout
32408
32409 \begin_layout Standard
32410 \begin_inset listings
32411 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
32412 inline false
32413 status open
32414
32415 \begin_layout Plain Layout
32416
32417 def func(param):
32418 \end_layout
32419
32420 \begin_layout Plain Layout
32421
32422     'this is a python function'
32423 \end_layout
32424
32425 \begin_layout Plain Layout
32426
32427     pass
32428 \end_layout
32429
32430 \begin_layout Plain Layout
32431
32432 def func(param):
32433 \end_layout
32434
32435 \begin_layout Plain Layout
32436
32437 'This is a German word: Tschüß'
32438 \end_layout
32439
32440 \begin_layout Plain Layout
32441
32442 pass
32443 \end_layout
32444
32445 \begin_layout Plain Layout
32446
32447 def func(param):
32448 \end_layout
32449
32450 \begin_layout Plain Layout
32451
32452 'this is a python function'
32453 \end_layout
32454
32455 \begin_layout Plain Layout
32456
32457 pass
32458 \end_layout
32459
32460 \end_inset
32461
32462
32463 \end_layout
32464
32465 \begin_layout Standard
32466 When you have tabulators in your listing, you can specify the number of
32467  characters that are spanned by a tabulator in the field 
32468 \family sans
32469 Tabulator
32470 \begin_inset space ~
32471 \end_inset
32472
32473 size
32474 \family default
32475 .
32476 \end_layout
32477
32478 \begin_layout Standard
32479 \begin_inset Note Greyedout
32480 status open
32481
32482 \begin_layout Plain Layout
32483
32484 \series bold
32485 Note:
32486 \series default
32487  Due to a bug in the 
32488 \series bold
32489 listings
32490 \series default
32491  package the line numbering is shifted by a line by every previous listing.
32492  That's the reason why the lines 2 and 5 are numbered in the above listing
32493  and not the lines 3 and 6.
32494 \end_layout
32495
32496 \end_inset
32497
32498
32499 \end_layout
32500
32501 \begin_layout Standard
32502 \begin_inset VSpace bigskip
32503 \end_inset
32504
32505
32506 \end_layout
32507
32508 \begin_layout Standard
32509 It is also possible to print lines from a file as listing.
32510  To do this, use the menu 
32511 \family sans
32512 Insert\SpecialChar \menuseparator
32513 File\SpecialChar \menuseparator
32514 Child Document
32515 \family default
32516  and choose the type 
32517 \family sans
32518 Listings
32519 \family default
32520 .
32521 \begin_inset Foot
32522 status collapsed
32523
32524 \begin_layout Plain Layout
32525 The other child document types are described in section
32526 \begin_inset space ~
32527 \end_inset
32528
32529
32530 \begin_inset CommandInset ref
32531 LatexCommand ref
32532 reference "sec:Child-Documents"
32533
32534 \end_inset
32535
32536 .
32537 \end_layout
32538
32539 \end_inset
32540
32541  In the child document dialog you can specify the listing parameters in
32542  a text box.
32543  To show a list of all available parameters, type in a question mark 
32544 \begin_inset Quotes eld
32545 \end_inset
32546
32547 ?
32548 \begin_inset Quotes erd
32549 \end_inset
32550
32551  in the text box.
32552 \end_layout
32553
32554 \begin_layout Standard
32555 To reference child document listings, write a label text into the corresponding
32556  field of the child document dialog.
32557  The label can then be referenced using the menu 
32558 \family sans
32559 Insert\SpecialChar \menuseparator
32560 Cross-Reference
32561 \family default
32562 .
32563 \end_layout
32564
32565 \begin_layout Standard
32566 Listing
32567 \begin_inset space ~
32568 \end_inset
32569
32570
32571 \begin_inset CommandInset ref
32572 LatexCommand ref
32573 reference "lst:file-listing"
32574
32575 \end_inset
32576
32577  is an example for a listing of a file; there the lines 10
32578 \begin_inset space \thinspace{}
32579 \end_inset
32580
32581 -
32582 \begin_inset space \thinspace{}
32583 \end_inset
32584
32585 15 of this LyX file are listed.
32586 \end_layout
32587
32588 \begin_layout Standard
32589 \begin_inset CommandInset include
32590 LatexCommand lstinputlisting
32591 filename "EmbeddedObjects.lyx"
32592 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
32593
32594 \end_inset
32595
32596
32597 \end_layout
32598
32599 \begin_layout Standard
32600 \begin_inset VSpace bigskip
32601 \end_inset
32602
32603
32604 \end_layout
32605
32606 \begin_layout Standard
32607 Global listings settings can be set in the 
32608 \family sans
32609 Document\SpecialChar \menuseparator
32610 Settings\SpecialChar \menuseparator
32611 Text Layout
32612 \family default
32613  dialog.
32614  To get there a list of available options, type in a question mark 
32615 \begin_inset Quotes eld
32616 \end_inset
32617
32618 ?
32619 \begin_inset Quotes erd
32620 \end_inset
32621
32622  in the 
32623 \family sans
32624 Listings
32625 \begin_inset space ~
32626 \end_inset
32627
32628 settings
32629 \family default
32630  field.
32631 \end_layout
32632
32633 \begin_layout Standard
32634 For more information about the 
32635 \series bold
32636 listings
32637 \series default
32638  package, we refer to its documentation 
32639 \begin_inset CommandInset citation
32640 LatexCommand cite
32641 key "listings"
32642
32643 \end_inset
32644
32645 .
32646 \end_layout
32647
32648 \begin_layout Standard
32649 \begin_inset Newpage newpage
32650 \end_inset
32651
32652
32653 \end_layout
32654
32655 \begin_layout Chapter
32656 \start_of_appendix
32657 Units available in LyX
32658 \begin_inset Index
32659 status collapsed
32660
32661 \begin_layout Plain Layout
32662 Units
32663 \end_layout
32664
32665 \end_inset
32666
32667
32668 \begin_inset CommandInset label
32669 LatexCommand label
32670 name "cha:Units-available-in"
32671
32672 \end_inset
32673
32674
32675 \end_layout
32676
32677 \begin_layout Standard
32678 To understand the units described in this documentation, Table
32679 \begin_inset space ~
32680 \end_inset
32681
32682
32683 \begin_inset CommandInset ref
32684 LatexCommand ref
32685 reference "tab:Units"
32686
32687 \end_inset
32688
32689  explains all units available in LyX.
32690 \end_layout
32691
32692 \begin_layout Standard
32693 \begin_inset Float table
32694 placement h
32695 wide false
32696 sideways false
32697 status open
32698
32699 \begin_layout Plain Layout
32700 \begin_inset Caption
32701
32702 \begin_layout Plain Layout
32703 \begin_inset CommandInset label
32704 LatexCommand label
32705 name "tab:Units"
32706
32707 \end_inset
32708
32709 Units
32710 \end_layout
32711
32712 \end_inset
32713
32714
32715 \end_layout
32716
32717 \begin_layout Plain Layout
32718 \begin_inset VSpace medskip
32719 \end_inset
32720
32721
32722 \end_layout
32723
32724 \begin_layout Plain Layout
32725 \align center
32726 \begin_inset Tabular
32727 <lyxtabular version="3" rows="20" columns="2">
32728 <features>
32729 <column alignment="center" valignment="top" width="0">
32730 <column alignment="center" valignment="top" width="0">
32731 <row>
32732 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32733 \begin_inset Text
32734
32735 \begin_layout Plain Layout
32736 unit
32737 \end_layout
32738
32739 \end_inset
32740 </cell>
32741 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
32742 \begin_inset Text
32743
32744 \begin_layout Plain Layout
32745 name/description
32746 \end_layout
32747
32748 \end_inset
32749 </cell>
32750 </row>
32751 <row>
32752 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32753 \begin_inset Text
32754
32755 \begin_layout Plain Layout
32756 mm
32757 \end_layout
32758
32759 \end_inset
32760 </cell>
32761 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32762 \begin_inset Text
32763
32764 \begin_layout Plain Layout
32765 millimeter
32766 \end_layout
32767
32768 \end_inset
32769 </cell>
32770 </row>
32771 <row>
32772 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32773 \begin_inset Text
32774
32775 \begin_layout Plain Layout
32776 cm
32777 \end_layout
32778
32779 \end_inset
32780 </cell>
32781 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32782 \begin_inset Text
32783
32784 \begin_layout Plain Layout
32785 centimeter
32786 \end_layout
32787
32788 \end_inset
32789 </cell>
32790 </row>
32791 <row>
32792 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32793 \begin_inset Text
32794
32795 \begin_layout Plain Layout
32796 in
32797 \end_layout
32798
32799 \end_inset
32800 </cell>
32801 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32802 \begin_inset Text
32803
32804 \begin_layout Plain Layout
32805 inch
32806 \end_layout
32807
32808 \end_inset
32809 </cell>
32810 </row>
32811 <row>
32812 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32813 \begin_inset Text
32814
32815 \begin_layout Plain Layout
32816 pt
32817 \end_layout
32818
32819 \end_inset
32820 </cell>
32821 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32822 \begin_inset Text
32823
32824 \begin_layout Plain Layout
32825 point (72.27
32826 \begin_inset space \thinspace{}
32827 \end_inset
32828
32829 pt = 1
32830 \begin_inset space \thinspace{}
32831 \end_inset
32832
32833 in)
32834 \end_layout
32835
32836 \end_inset
32837 </cell>
32838 </row>
32839 <row>
32840 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32841 \begin_inset Text
32842
32843 \begin_layout Plain Layout
32844 pc
32845 \end_layout
32846
32847 \end_inset
32848 </cell>
32849 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32850 \begin_inset Text
32851
32852 \begin_layout Plain Layout
32853 pica (1
32854 \begin_inset space \thinspace{}
32855 \end_inset
32856
32857 pc = 12
32858 \begin_inset space \thinspace{}
32859 \end_inset
32860
32861 pt)
32862 \end_layout
32863
32864 \end_inset
32865 </cell>
32866 </row>
32867 <row>
32868 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32869 \begin_inset Text
32870
32871 \begin_layout Plain Layout
32872 sp
32873 \end_layout
32874
32875 \end_inset
32876 </cell>
32877 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32878 \begin_inset Text
32879
32880 \begin_layout Plain Layout
32881 scaled point (65536
32882 \begin_inset space \thinspace{}
32883 \end_inset
32884
32885 sp = 1
32886 \begin_inset space \thinspace{}
32887 \end_inset
32888
32889 pt)
32890 \end_layout
32891
32892 \end_inset
32893 </cell>
32894 </row>
32895 <row>
32896 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32897 \begin_inset Text
32898
32899 \begin_layout Plain Layout
32900 bp
32901 \end_layout
32902
32903 \end_inset
32904 </cell>
32905 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32906 \begin_inset Text
32907
32908 \begin_layout Plain Layout
32909 big point (72
32910 \begin_inset space \thinspace{}
32911 \end_inset
32912
32913 bp = 1
32914 \begin_inset space \thinspace{}
32915 \end_inset
32916
32917 in)
32918 \end_layout
32919
32920 \end_inset
32921 </cell>
32922 </row>
32923 <row>
32924 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32925 \begin_inset Text
32926
32927 \begin_layout Plain Layout
32928 dd
32929 \end_layout
32930
32931 \end_inset
32932 </cell>
32933 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32934 \begin_inset Text
32935
32936 \begin_layout Plain Layout
32937 didot (1
32938 \begin_inset space \thinspace{}
32939 \end_inset
32940
32941 dd 
32942 \begin_inset Formula $\approx$
32943 \end_inset
32944
32945  0.376
32946 \begin_inset space \thinspace{}
32947 \end_inset
32948
32949 mm)
32950 \end_layout
32951
32952 \end_inset
32953 </cell>
32954 </row>
32955 <row>
32956 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32957 \begin_inset Text
32958
32959 \begin_layout Plain Layout
32960 cc
32961 \end_layout
32962
32963 \end_inset
32964 </cell>
32965 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32966 \begin_inset Text
32967
32968 \begin_layout Plain Layout
32969 cicero (1
32970 \begin_inset space \thinspace{}
32971 \end_inset
32972
32973 cc = 12
32974 \begin_inset space \thinspace{}
32975 \end_inset
32976
32977 dd)
32978 \end_layout
32979
32980 \end_inset
32981 </cell>
32982 </row>
32983 <row>
32984 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32985 \begin_inset Text
32986
32987 \begin_layout Plain Layout
32988 Scale%
32989 \end_layout
32990
32991 \end_inset
32992 </cell>
32993 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32994 \begin_inset Text
32995
32996 \begin_layout Plain Layout
32997 % of original image width
32998 \end_layout
32999
33000 \end_inset
33001 </cell>
33002 </row>
33003 <row>
33004 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33005 \begin_inset Text
33006
33007 \begin_layout Plain Layout
33008 text%
33009 \end_layout
33010
33011 \end_inset
33012 </cell>
33013 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33014 \begin_inset Text
33015
33016 \begin_layout Plain Layout
33017 % of text width
33018 \end_layout
33019
33020 \end_inset
33021 </cell>
33022 </row>
33023 <row>
33024 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33025 \begin_inset Text
33026
33027 \begin_layout Plain Layout
33028 col%
33029 \end_layout
33030
33031 \end_inset
33032 </cell>
33033 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33034 \begin_inset Text
33035
33036 \begin_layout Plain Layout
33037 % of column width
33038 \end_layout
33039
33040 \end_inset
33041 </cell>
33042 </row>
33043 <row>
33044 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33045 \begin_inset Text
33046
33047 \begin_layout Plain Layout
33048 page%
33049 \end_layout
33050
33051 \end_inset
33052 </cell>
33053 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33054 \begin_inset Text
33055
33056 \begin_layout Plain Layout
33057 % of paper width
33058 \end_layout
33059
33060 \end_inset
33061 </cell>
33062 </row>
33063 <row>
33064 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33065 \begin_inset Text
33066
33067 \begin_layout Plain Layout
33068 line%
33069 \end_layout
33070
33071 \end_inset
33072 </cell>
33073 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33074 \begin_inset Text
33075
33076 \begin_layout Plain Layout
33077 % of line width
33078 \end_layout
33079
33080 \end_inset
33081 </cell>
33082 </row>
33083 <row>
33084 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33085 \begin_inset Text
33086
33087 \begin_layout Plain Layout
33088 theight%
33089 \end_layout
33090
33091 \end_inset
33092 </cell>
33093 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33094 \begin_inset Text
33095
33096 \begin_layout Plain Layout
33097 % of text height
33098 \end_layout
33099
33100 \end_inset
33101 </cell>
33102 </row>
33103 <row>
33104 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33105 \begin_inset Text
33106
33107 \begin_layout Plain Layout
33108 pheight%
33109 \end_layout
33110
33111 \end_inset
33112 </cell>
33113 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33114 \begin_inset Text
33115
33116 \begin_layout Plain Layout
33117 % of paper height
33118 \end_layout
33119
33120 \end_inset
33121 </cell>
33122 </row>
33123 <row>
33124 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33125 \begin_inset Text
33126
33127 \begin_layout Plain Layout
33128 ex
33129 \end_layout
33130
33131 \end_inset
33132 </cell>
33133 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33134 \begin_inset Text
33135
33136 \begin_layout Plain Layout
33137 height of letter 
33138 \emph on
33139 x
33140 \emph default
33141  in current font
33142 \end_layout
33143
33144 \end_inset
33145 </cell>
33146 </row>
33147 <row>
33148 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33149 \begin_inset Text
33150
33151 \begin_layout Plain Layout
33152 em
33153 \end_layout
33154
33155 \end_inset
33156 </cell>
33157 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33158 \begin_inset Text
33159
33160 \begin_layout Plain Layout
33161 width of letter 
33162 \emph on
33163 M
33164 \emph default
33165  in current font
33166 \end_layout
33167
33168 \end_inset
33169 </cell>
33170 </row>
33171 <row>
33172 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
33173 \begin_inset Text
33174
33175 \begin_layout Plain Layout
33176 mu
33177 \end_layout
33178
33179 \end_inset
33180 </cell>
33181 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
33182 \begin_inset Text
33183
33184 \begin_layout Plain Layout
33185 math unit (1
33186 \begin_inset space \thinspace{}
33187 \end_inset
33188
33189 mu = 1/18
33190 \begin_inset space \thinspace{}
33191 \end_inset
33192
33193 em)
33194 \end_layout
33195
33196 \end_inset
33197 </cell>
33198 </row>
33199 </lyxtabular>
33200
33201 \end_inset
33202
33203
33204 \end_layout
33205
33206 \end_inset
33207
33208
33209 \end_layout
33210
33211 \begin_layout Chapter
33212 Output File Formats with Graphics
33213 \begin_inset CommandInset label
33214 LatexCommand label
33215 name "cha:Output-File-Formats"
33216
33217 \end_inset
33218
33219
33220 \end_layout
33221
33222 \begin_layout Section
33223 DVI
33224 \begin_inset Index
33225 status collapsed
33226
33227 \begin_layout Plain Layout
33228 File Formats ! DVI
33229 \end_layout
33230
33231 \end_inset
33232
33233
33234 \begin_inset Index
33235 status collapsed
33236
33237 \begin_layout Plain Layout
33238 DVI|see
33239 \begin_inset ERT
33240 status collapsed
33241
33242 \begin_layout Plain Layout
33243
33244 {
33245 \end_layout
33246
33247 \end_inset
33248
33249 File Formats
33250 \begin_inset ERT
33251 status collapsed
33252
33253 \begin_layout Plain Layout
33254
33255 }
33256 \end_layout
33257
33258 \end_inset
33259
33260
33261 \end_layout
33262
33263 \end_inset
33264
33265
33266 \end_layout
33267
33268 \begin_layout Standard
33269 This file type has the extension 
33270 \begin_inset Quotes eld
33271 \end_inset
33272
33273
33274 \family typewriter
33275 .dvi
33276 \family default
33277
33278 \begin_inset Quotes erd
33279 \end_inset
33280
33281 .
33282  It is called 
33283 \begin_inset Quotes eld
33284 \end_inset
33285
33286 device-independent
33287 \begin_inset Quotes erd
33288 \end_inset
33289
33290  (DVI), because it is completely portable; you can move them from one machine
33291  to another without needing to do any sort of conversion.
33292  At the time when this file-format was developed, this was no matter of
33293  course.
33294  DVIs are used for quick previews and as pre-stage for other output formats,
33295  like PostScript.
33296 \end_layout
33297
33298 \begin_layout Standard
33299 \begin_inset Note Greyedout
33300 status open
33301
33302 \begin_layout Plain Layout
33303
33304 \series bold
33305 Note:
33306 \series default
33307  DVI-files doesn't contain images, they will only be a linked.
33308 \end_layout
33309
33310 \end_inset
33311
33312  So don't forget this, if you move your 
33313 \family typewriter
33314 .dvi
33315 \family default
33316  file to another computer.
33317  This property can also slow down your computer when you view the DVI.
33318  Because the DVI-viewer has to convert the image in the background to make
33319  it visible when you scroll in the DVI.
33320  So we recommend to use PDF for files with many images.
33321 \end_layout
33322
33323 \begin_layout Standard
33324 You can export your document to DVI by using the menu 
33325 \family sans
33326 File\SpecialChar \menuseparator
33327 Export\SpecialChar \menuseparator
33328 DVI
33329 \family default
33330 .
33331  You can view your document as DVI via the 
33332 \family sans
33333 View
33334 \family default
33335  menu or by using the toolbar button 
33336 \begin_inset Graphics
33337         filename ../images/buffer-view_dvi.png
33338         scale 85
33339         scaleBeforeRotation
33340
33341 \end_inset
33342
33343 .
33344 \end_layout
33345
33346 \begin_layout Section
33347 PostScript
33348 \begin_inset CommandInset label
33349 LatexCommand label
33350 name "sec:PostScript"
33351
33352 \end_inset
33353
33354
33355 \begin_inset Index
33356 status collapsed
33357
33358 \begin_layout Plain Layout
33359 File Formats ! PostScript
33360 \end_layout
33361
33362 \end_inset
33363
33364
33365 \begin_inset Index
33366 status collapsed
33367
33368 \begin_layout Plain Layout
33369 PostScript|see
33370 \begin_inset ERT
33371 status collapsed
33372
33373 \begin_layout Plain Layout
33374
33375 {
33376 \end_layout
33377
33378 \end_inset
33379
33380 File Formats
33381 \begin_inset ERT
33382 status collapsed
33383
33384 \begin_layout Plain Layout
33385
33386 }
33387 \end_layout
33388
33389 \end_inset
33390
33391
33392 \end_layout
33393
33394 \end_inset
33395
33396
33397 \end_layout
33398
33399 \begin_layout Standard
33400 This file type has the extension 
33401 \begin_inset Quotes eld
33402 \end_inset
33403
33404
33405 \family typewriter
33406 .ps
33407 \family default
33408
33409 \begin_inset Quotes erd
33410 \end_inset
33411
33412 .
33413  PostScript was developed by the company 
33414 \family typewriter
33415 Adobe
33416 \family default
33417  as printer language.
33418  The file contains therefore commands that the printer uses to print the
33419  file.
33420  PostScript can be seen as 
33421 \begin_inset Quotes eld
33422 \end_inset
33423
33424 programming language
33425 \begin_inset Quotes erd
33426 \end_inset
33427
33428 ; you can calculate with it and draw diagrams and images
33429 \begin_inset Foot
33430 status collapsed
33431
33432 \begin_layout Plain Layout
33433 If you are interested to learn more about this, have a look at the LaTeX-package
33434  
33435 \series bold
33436 PSTricks
33437 \series default
33438  
33439 \begin_inset CommandInset citation
33440 LatexCommand cite
33441 key "pstricks"
33442
33443 \end_inset
33444
33445 .
33446 \end_layout
33447
33448 \end_inset
33449
33450 .
33451  Due to this ability, the files are often bigger than PDFs.
33452 \end_layout
33453
33454 \begin_layout Standard
33455 PostScript can only contain images in the format 
33456 \begin_inset Quotes eld
33457 \end_inset
33458
33459 Encapsulated PostScript
33460 \begin_inset Quotes erd
33461 \end_inset
33462
33463  (EPS, file extension 
33464 \begin_inset Quotes eld
33465 \end_inset
33466
33467
33468 \family typewriter
33469 .eps
33470 \family default
33471
33472 \begin_inset Quotes erd
33473 \end_inset
33474
33475 ).
33476  As LyX allows you to use any known image format in your document, it has
33477  to convert images in the background to EPS.
33478  If you have e.g 50 images in your document, LyX has to do 50 conversions
33479  whenever you view or export your document.
33480  This will slow down your work flow with LyX drastically.
33481  So if you plan to use PostScript, you can insert your images directly as
33482  EPS to avoid this problem.
33483 \end_layout
33484
33485 \begin_layout Standard
33486 You can export your document to PostScript using the menu 
33487 \family sans
33488 File\SpecialChar \menuseparator
33489 Export\SpecialChar \menuseparator
33490 Postscript
33491 \family default
33492 .
33493  You can view your document as PostScript via the 
33494 \family sans
33495 View
33496 \family default
33497  menu or by using the toolbar button 
33498 \begin_inset Graphics
33499         filename ../images/buffer-view_ps.png
33500         scale 85
33501         scaleBeforeRotation
33502
33503 \end_inset
33504
33505 .
33506 \end_layout
33507
33508 \begin_layout Section
33509 PDF
33510 \begin_inset Index
33511 status collapsed
33512
33513 \begin_layout Plain Layout
33514 File Formats ! PDF
33515 \end_layout
33516
33517 \end_inset
33518
33519
33520 \begin_inset Index
33521 status collapsed
33522
33523 \begin_layout Plain Layout
33524 PDF
33525 \end_layout
33526
33527 \end_inset
33528
33529
33530 \end_layout
33531
33532 \begin_layout Standard
33533 This file type has the extension 
33534 \begin_inset Quotes eld
33535 \end_inset
33536
33537
33538 \family typewriter
33539 .pdf
33540 \family default
33541
33542 \begin_inset Quotes erd
33543 \end_inset
33544
33545 .
33546  The 
33547 \begin_inset Quotes eld
33548 \end_inset
33549
33550 Portable Document Format
33551 \begin_inset Quotes erd
33552 \end_inset
33553
33554  (PDF) is developed by 
33555 \family typewriter
33556 Adobe
33557 \family default
33558  as derivative from PostScript.
33559  It is more compressed and it uses much less commands than PostScript.
33560  As the name 
33561 \begin_inset Quotes eld
33562 \end_inset
33563
33564 portable
33565 \begin_inset Quotes erd
33566 \end_inset
33567
33568  implies, it can be processed at any computer system and the printed output
33569  looks exactly the same.
33570 \end_layout
33571
33572 \begin_layout Standard
33573 PDF can contain images in its own PDF format, in the format 
33574 \begin_inset Quotes eld
33575 \end_inset
33576
33577 Joint Photographic Experts Group
33578 \begin_inset Quotes erd
33579 \end_inset
33580
33581  (JPG, file extension 
33582 \begin_inset Quotes eld
33583 \end_inset
33584
33585
33586 \family typewriter
33587 .jpg
33588 \family default
33589
33590 \begin_inset Quotes erd
33591 \end_inset
33592
33593  or 
33594 \begin_inset Quotes eld
33595 \end_inset
33596
33597
33598 \family typewriter
33599 .jpeg
33600 \family default
33601
33602 \begin_inset Quotes erd
33603 \end_inset
33604
33605 ), and in the format 
33606 \begin_inset Quotes eld
33607 \end_inset
33608
33609 Portable Network Graphics
33610 \begin_inset Quotes erd
33611 \end_inset
33612
33613  (PNG, file extension 
33614 \begin_inset Quotes eld
33615 \end_inset
33616
33617
33618 \family typewriter
33619 .png
33620 \family default
33621
33622 \begin_inset Quotes erd
33623 \end_inset
33624
33625 ).
33626  Nevertheless you can use any other image format, because LyX converts them
33627  in the background to one of these formats.
33628  But as described in the section about PostScript, the image conversion
33629  will slow down your work flow.
33630  So it is recommended to use images in one of the three mentioned formats.
33631 \end_layout
33632
33633 \begin_layout Standard
33634 You can export your document to PDF via the menu 
33635 \family sans
33636 File\SpecialChar \menuseparator
33637 Export
33638 \family default
33639  in three different ways:
33640 \end_layout
33641
33642 \begin_layout Description
33643 PDF
33644 \begin_inset space ~
33645 \end_inset
33646
33647 (ps2pdf) This uses the program 
33648 \family typewriter
33649 ps2pdf
33650 \family default
33651  that creates a PDF from a PostScript-version of your file.
33652  The PostScript-version is produced by the program 
33653 \family typewriter
33654 dvips
33655 \family default
33656  which uses a DVI-version as intermediate step.
33657  So this export variant consist of three conversions.
33658 \end_layout
33659
33660 \begin_layout Description
33661 PDF
33662 \begin_inset space ~
33663 \end_inset
33664
33665 (dvipdfm) This uses the program 
33666 \family typewriter
33667 dvipdfm
33668 \family default
33669  that converts your file in the background to DVI and in a second step to
33670  PDF.
33671 \end_layout
33672
33673 \begin_layout Description
33674 PDF
33675 \begin_inset space ~
33676 \end_inset
33677
33678 (pdflatex) This uses the program 
33679 \family typewriter
33680 pdftex
33681 \family default
33682  that converts your file directly to PDF.
33683 \end_layout
33684
33685 \begin_layout Standard
33686 It is recommended to use 
33687 \family sans
33688 PDF
33689 \begin_inset space ~
33690 \end_inset
33691
33692 (pdflatex)
33693 \family default
33694  because 
33695 \family typewriter
33696 pdftex
33697 \family default
33698  supports all features of actual PDF-versions, is quick and works stable
33699  without problems.
33700  The program 
33701 \family typewriter
33702 dvipdfm
33703 \family default
33704  is not under development and therefore a bit outdated.
33705 \end_layout
33706
33707 \begin_layout Standard
33708 You can view your document as PDF via the 
33709 \family sans
33710 View
33711 \family default
33712  menu or by using the toolbar button 
33713 \begin_inset Graphics
33714         filename ../images/buffer-view_pdf2.png
33715         scale 85
33716         scaleBeforeRotation
33717
33718 \end_inset
33719
33720  
33721 \family sans
33722 (
33723 \family default
33724 that uses 
33725 \family sans
33726 PDF
33727 \begin_inset space ~
33728 \end_inset
33729
33730 (pdflatex)
33731 \family default
33732 ).
33733 \end_layout
33734
33735 \begin_layout Chapter
33736 Explanation of Equation
33737 \begin_inset space ~
33738 \end_inset
33739
33740
33741 \begin_inset CommandInset ref
33742 LatexCommand eqref
33743 reference "eq:Wgn"
33744
33745 \end_inset
33746
33747
33748 \begin_inset CommandInset label
33749 LatexCommand label
33750 name "cha:Explanation-of-Equation"
33751
33752 \end_inset
33753
33754
33755 \end_layout
33756
33757 \begin_layout Standard
33758 The total width of 
33759 \emph on
33760 n
33761 \emph default
33762  table cells 
33763 \begin_inset Formula $W_{\mathrm{tot\, n}}$
33764 \end_inset
33765
33766  can be calculated to
33767 \end_layout
33768
33769 \begin_layout Standard
33770 \begin_inset Formula \begin{equation}
33771 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}
33772
33773 \end_inset
33774
33775
33776 \end_layout
33777
33778 \begin_layout Standard
33779 Where 
33780 \begin_inset Formula $W_{g\, n}$
33781 \end_inset
33782
33783  is the given width of all cells.
33784  
33785 \series bold
33786
33787 \backslash
33788 tabcolsep
33789 \series default
33790  is the LaTeX-length between the cell text and the cell border, its default
33791  value is 6
33792 \begin_inset space \thinspace{}
33793 \end_inset
33794
33795 pt.
33796  
33797 \series bold
33798
33799 \backslash
33800 arrayrulewidth
33801 \series default
33802  is the thickness of the cell border line, the default is 0.4
33803 \begin_inset space \thinspace{}
33804 \end_inset
33805
33806 pt.
33807 \end_layout
33808
33809 \begin_layout Standard
33810 Following equation
33811 \begin_inset space ~
33812 \end_inset
33813
33814
33815 \begin_inset CommandInset ref
33816 LatexCommand eqref
33817 reference "eq:Wtot_n"
33818
33819 \end_inset
33820
33821 , the total width of a multicolumn 
33822 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
33823 \end_inset
33824
33825  is
33826 \end_layout
33827
33828 \begin_layout Standard
33829 \begin_inset Formula \begin{equation}
33830 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
33831
33832 \end_inset
33833
33834
33835 \end_layout
33836
33837 \begin_layout Standard
33838 By setting equation
33839 \begin_inset space ~
33840 \end_inset
33841
33842
33843 \begin_inset CommandInset ref
33844 LatexCommand eqref
33845 reference "eq:Wtot_n"
33846
33847 \end_inset
33848
33849  and 
33850 \begin_inset CommandInset ref
33851 LatexCommand eqref
33852 reference "eq:Wtot_mult"
33853
33854 \end_inset
33855
33856  equal we can calculate the needed given width 
33857 \begin_inset Formula $W_{g\, n}$
33858 \end_inset
33859
33860  when 
33861 \emph on
33862 n
33863 \emph default
33864  columns are spanned, so that each column has a total width of 
33865 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
33866 \end_inset
33867
33868 :
33869 \end_layout
33870
33871 \begin_layout Standard
33872 \begin_inset Formula \begin{equation}
33873 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
33874
33875 \end_inset
33876
33877
33878 \end_layout
33879
33880 \begin_layout Bibliography
33881 \begin_inset CommandInset bibitem
33882 LatexCommand bibitem
33883 key "latexcompanion"
33884
33885 \end_inset
33886
33887 Frank Mittelbach and Michel Goossens: 
33888 \emph on
33889 The LaTeX Companion Second Edition.
33890
33891 \emph default
33892  Addison-Wesley, 2004
33893 \end_layout
33894
33895 \begin_layout Bibliography
33896 \begin_inset CommandInset bibitem
33897 LatexCommand bibitem
33898 key "latexguide"
33899
33900 \end_inset
33901
33902 Helmut Kopka and Patrick W.
33903  Daly: 
33904 \emph on
33905 A Guide to LaTeX Fourth Edition.
33906
33907 \emph default
33908  Addison-Wesley, 2003
33909 \end_layout
33910
33911 \begin_layout Bibliography
33912 \begin_inset CommandInset bibitem
33913 LatexCommand bibitem
33914 key "latexbook"
33915
33916 \end_inset
33917
33918 Leslie Lamport: 
33919 \emph on
33920 LaTeX: A Document Preparation System.
33921
33922 \emph default
33923  Addison-Wesley, second edition, 1994
33924 \end_layout
33925
33926 \begin_layout Bibliography
33927 \begin_inset CommandInset bibitem
33928 LatexCommand bibitem
33929 key "booktabs"
33930
33931 \end_inset
33932
33933 Documentation of the LaTeX-package 
33934 \series bold
33935
33936 \begin_inset CommandInset href
33937 LatexCommand href
33938 name "booktabs"
33939 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf"
33940
33941 \end_inset
33942
33943
33944 \series default
33945
33946 \begin_inset Index
33947 status collapsed
33948
33949 \begin_layout Plain Layout
33950 LaTeX-packages ! booktabs
33951 \end_layout
33952
33953 \end_inset
33954
33955
33956 \end_layout
33957
33958 \begin_layout Bibliography
33959 \begin_inset CommandInset bibitem
33960 LatexCommand bibitem
33961 key "caption"
33962
33963 \end_inset
33964
33965 Documentation of the LaTeX-package 
33966 \series bold
33967
33968 \begin_inset CommandInset href
33969 LatexCommand href
33970 name "caption"
33971 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf"
33972
33973 \end_inset
33974
33975
33976 \series default
33977
33978 \begin_inset Index
33979 status collapsed
33980
33981 \begin_layout Plain Layout
33982 LaTeX-packages ! caption
33983 \end_layout
33984
33985 \end_inset
33986
33987
33988 \end_layout
33989
33990 \begin_layout Bibliography
33991 \begin_inset CommandInset bibitem
33992 LatexCommand bibitem
33993 key "endfloat"
33994
33995 \end_inset
33996
33997 Documentation of the LaTeX-package 
33998 \series bold
33999
34000 \begin_inset CommandInset href
34001 LatexCommand href
34002 name "endfloat"
34003 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf"
34004
34005 \end_inset
34006
34007
34008 \series default
34009
34010 \begin_inset Index
34011 status collapsed
34012
34013 \begin_layout Plain Layout
34014 LaTeX-packages ! endfloat
34015 \end_layout
34016
34017 \end_inset
34018
34019
34020 \end_layout
34021
34022 \begin_layout Bibliography
34023 \begin_inset CommandInset bibitem
34024 LatexCommand bibitem
34025 key "wrapfig"
34026
34027 \end_inset
34028
34029 Documentation of the LaTeX-package 
34030 \series bold
34031
34032 \begin_inset CommandInset href
34033 LatexCommand href
34034 name "wrapfig"
34035 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/wrapfig/wrapfig.sty"
34036
34037 \end_inset
34038
34039
34040 \series default
34041
34042 \begin_inset Index
34043 status collapsed
34044
34045 \begin_layout Plain Layout
34046 LaTeX-packages ! wrapfig
34047 \begin_inset ERT
34048 status collapsed
34049
34050 \begin_layout Plain Layout
34051
34052
34053 \backslash
34054 vspace{4mm}
34055 \end_layout
34056
34057 \end_inset
34058
34059
34060 \end_layout
34061
34062 \end_inset
34063
34064
34065 \end_layout
34066
34067 \begin_layout Bibliography
34068 \begin_inset CommandInset bibitem
34069 LatexCommand bibitem
34070 key "footmisc"
34071
34072 \end_inset
34073
34074 Documentation of the LaTeX-package 
34075 \series bold
34076
34077 \begin_inset CommandInset href
34078 LatexCommand href
34079 name "footmisc"
34080 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf"
34081
34082 \end_inset
34083
34084
34085 \series default
34086
34087 \begin_inset Index
34088 status collapsed
34089
34090 \begin_layout Plain Layout
34091 LaTeX-packages ! footmisc
34092 \end_layout
34093
34094 \end_inset
34095
34096
34097 \end_layout
34098
34099 \begin_layout Bibliography
34100 \begin_inset CommandInset bibitem
34101 LatexCommand bibitem
34102 key "hypcap"
34103
34104 \end_inset
34105
34106 Documentation of the LaTeX-package 
34107 \series bold
34108
34109 \begin_inset CommandInset href
34110 LatexCommand href
34111 name "hypcap"
34112 target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
34113
34114 \end_inset
34115
34116
34117 \series default
34118
34119 \begin_inset Index
34120 status collapsed
34121
34122 \begin_layout Plain Layout
34123 LaTeX-packages ! hyperref
34124 \end_layout
34125
34126 \end_inset
34127
34128
34129 \end_layout
34130
34131 \begin_layout Bibliography
34132 \begin_inset CommandInset bibitem
34133 LatexCommand bibitem
34134 key "hyperref"
34135
34136 \end_inset
34137
34138 Documentation of the LaTeX-package 
34139 \series bold
34140
34141 \begin_inset CommandInset href
34142 LatexCommand href
34143 name "hyperref"
34144 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf"
34145
34146 \end_inset
34147
34148
34149 \series default
34150
34151 \begin_inset Index
34152 status collapsed
34153
34154 \begin_layout Plain Layout
34155 LaTeX-packages ! hyperref
34156 \end_layout
34157
34158 \end_inset
34159
34160
34161 \end_layout
34162
34163 \begin_layout Bibliography
34164 \begin_inset CommandInset bibitem
34165 LatexCommand bibitem
34166 key "koma-script"
34167
34168 \end_inset
34169
34170 Documentation of the LaTeX-package 
34171 \series bold
34172
34173 \begin_inset CommandInset href
34174 LatexCommand href
34175 name "koma-script"
34176 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf"
34177
34178 \end_inset
34179
34180
34181 \series default
34182
34183 \begin_inset Index
34184 status collapsed
34185
34186 \begin_layout Plain Layout
34187 LaTeX-packages ! koma-script
34188 \end_layout
34189
34190 \end_inset
34191
34192
34193 \end_layout
34194
34195 \begin_layout Bibliography
34196 \begin_inset CommandInset bibitem
34197 LatexCommand bibitem
34198 key "listings"
34199
34200 \end_inset
34201
34202 Documentation of the LaTeX-package 
34203 \series bold
34204
34205 \begin_inset CommandInset href
34206 LatexCommand href
34207 name "listings"
34208 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
34209
34210 \end_inset
34211
34212
34213 \series default
34214
34215 \begin_inset Index
34216 status collapsed
34217
34218 \begin_layout Plain Layout
34219 LaTeX-packages ! listings
34220 \end_layout
34221
34222 \end_inset
34223
34224
34225 \end_layout
34226
34227 \begin_layout Bibliography
34228 \begin_inset CommandInset bibitem
34229 LatexCommand bibitem
34230 key "marginnote"
34231
34232 \end_inset
34233
34234 Documentation of the LaTeX-package 
34235 \series bold
34236
34237 \begin_inset CommandInset href
34238 LatexCommand href
34239 name "marginnote"
34240 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
34241
34242 \end_inset
34243
34244
34245 \series default
34246
34247 \begin_inset Index
34248 status collapsed
34249
34250 \begin_layout Plain Layout
34251 LaTeX-packages ! marginnote
34252 \end_layout
34253
34254 \end_inset
34255
34256
34257 \end_layout
34258
34259 \begin_layout Bibliography
34260 \begin_inset CommandInset bibitem
34261 LatexCommand bibitem
34262 key "pstricks"
34263
34264 \end_inset
34265
34266 Web page of the LaTeX-package 
34267 \series bold
34268
34269 \begin_inset CommandInset href
34270 LatexCommand href
34271 name "PSTricks"
34272 target "http://tug.org/PSTricks/"
34273
34274 \end_inset
34275
34276
34277 \series default
34278
34279 \begin_inset Index
34280 status collapsed
34281
34282 \begin_layout Plain Layout
34283 LaTeX-packages ! PSTricks
34284 \end_layout
34285
34286 \end_inset
34287
34288
34289 \end_layout
34290
34291 \begin_layout Bibliography
34292 \begin_inset CommandInset bibitem
34293 LatexCommand bibitem
34294 key "sidecap"
34295
34296 \end_inset
34297
34298 Documentation of the LaTeX-package 
34299 \series bold
34300
34301 \begin_inset CommandInset href
34302 LatexCommand href
34303 name "sidecap"
34304 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
34305
34306 \end_inset
34307
34308
34309 \series default
34310
34311 \begin_inset Index
34312 status collapsed
34313
34314 \begin_layout Plain Layout
34315 LaTeX-packages ! sidecap
34316 \end_layout
34317
34318 \end_inset
34319
34320
34321 \end_layout
34322
34323 \begin_layout Bibliography
34324 \begin_inset CommandInset bibitem
34325 LatexCommand bibitem
34326 key "NewInLyX16"
34327
34328 \end_inset
34329
34330
34331 \begin_inset CommandInset href
34332 LatexCommand href
34333 name "Wiki page"
34334 target "http://wiki.lyx.org/LyX/NewInLyX16"
34335
34336 \end_inset
34337
34338  about new features in 
34339 \family sans
34340 LyX 1.6.0
34341 \family default
34342 .
34343 \end_layout
34344
34345 \begin_layout Standard
34346 \begin_inset CommandInset index_print
34347 LatexCommand printindex
34348
34349 \end_inset
34350
34351
34352 \end_layout
34353
34354 \begin_layout Standard
34355 \begin_inset FloatList figure
34356
34357 \end_inset
34358
34359
34360 \end_layout
34361
34362 \begin_layout Standard
34363 \begin_inset FloatList table
34364
34365 \end_inset
34366
34367
34368 \end_layout
34369
34370 \begin_layout Standard
34371 \begin_inset FloatList algorithm
34372
34373 \end_inset
34374
34375
34376 \end_layout
34377
34378 \end_body
34379 \end_document