]> git.lyx.org Git - lyx.git/blob - lib/doc/EmbeddedObjects.lyx
EmbeddedObjects.lyx: update the description of longtables and captions
[lyx.git] / lib / doc / EmbeddedObjects.lyx
1 #LyX 1.6.2svn created this file. For more info see http://www.lyx.org/
2 \lyxformat 345
3 \begin_document
4 \begin_header
5 \textclass scrbook
6 \begin_preamble
7 % if pdflatex is used
8 \usepackage{ifpdf}
9 \ifpdf
10
11 % set fonts for nicer pdf view
12 \IfFileExists{lmodern.sty}
13  {\usepackage{lmodern}}{}
14
15 \fi % end if pdflatex is used
16
17 % that links to image floats jumps
18 % to the beginning of the float and 
19 % not to its caption
20 \usepackage[figure]{hypcap}
21
22 % the pages of the TOC is numbered roman
23 % and a PDF-bookmark for the TOC is added
24 \let\myTOC\tableofcontents
25 \renewcommand\tableofcontents{%
26   \frontmatter
27   \pdfbookmark[1]{\contentsname}{}
28   \myTOC
29   \mainmatter }
30
31 % provides caption formatting
32 \usepackage[labelfont={bf,sf}, tableposition=top]{caption}[2004/07/16]
33
34 % provides commands to set caption
35 % beside tables/images
36 \usepackage{sidecap}
37
38 \newcommand{\TabBesBeg}{%
39  \let\MyTable\table
40  \let\MyEndtable\endtable
41  \renewenvironment{table}{\begin{SCtable}}{\end{SCtable}}}
42
43 \newcommand{\TabBesEnd}{%
44  \let\table\MyTable
45  \let\endtable\MyEndtable}
46
47 \newcommand{\FigBesBeg}{%
48  \let\MyFigure\figure
49  \let\MyEndfigure\endfigure
50  \renewenvironment{figure}{\begin{SCfigure}}{\end{SCfigure}}}
51
52 \newcommand{\FigBesEnd}{%
53  \let\figure\MyFigure
54  \let\endfigure\MyEndfigure}
55
56 % enables calculation of values,
57 \usepackage{calc}
58
59 % provides special table cell alignments
60 \usepackage{dcolumn}
61
62 % increase the bottom float placement fraction
63 \renewcommand{\bottomfraction}{0.5}
64
65 % avoids that floats are placed before their
66 % corresponding section starts
67 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
68
69 % speed up the longtable calculation
70 \setcounter{LTchunksize}{100}
71
72 % used for scaled and rotated boxes
73 \@ifundefined{rotatebox}{\usepackage{graphicx}}{}
74
75 % used for colored tables
76 \@ifundefined{textcolor}
77  {\usepackage{color}}{}
78 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
79 \definecolor{lightgrey}{gray}{0.8}
80
81 % check for package colortbl
82 % used for colored table cells
83 \newboolean{colortbl}
84 \IfFileExists{colortbl.sty}
85  {\usepackage{colortbl}
86   \setboolean{colortbl}{true}}
87  {\setboolean{colortbl}{false}}
88
89 % used for multirows
90 \usepackage{multirow}
91 %\renewcommand{\multirowsetup}{\centering}
92
93 % used for book-style tables
94 \usepackage{booktabs}
95
96 % used to have extra space in table cells
97 \@ifundefined{extrarowheight}
98  {\usepackage{array}}{}
99 \setlength{\extrarowheight}{2pt}
100
101 % used for customized tables
102 % ---
103 \newcolumntype{M}[1]
104  {>{\centering\hspace{0pt}}m{#1}}
105
106 \newcolumntype{S}[2]
107  {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
108
109 \newcolumntype{K}[1]
110  {>{\columncolor{#1}\hspace{0pt}}c}
111
112 \newcolumntype{V}{!{\vrule width 1.5pt}}
113
114 \newcolumntype{W}{!{\color{green}\vline}}
115 % ---
116
117 % insert additional vertical space of
118 % 1.5 mm between footnotes
119 \let\myFoot\footnote
120 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
121
122 % number algorithm floats within chapters
123 \numberwithin{algorithm}{chapter}
124
125 % redefine the greyed out note
126 \renewenvironment{lyxgreyedout}
127  {\textcolor{blue}\bgroup}{\egroup}
128
129 % ------------------------------------
130 % used to check for needed LaTeX packages
131 \usepackage{ifthen}
132
133 % check for package arydshln
134 % used for tables with dashed lines
135 \newboolean{arydshln}
136 \IfFileExists{arydshln.sty}
137  {\usepackage{arydshln}
138   \setboolean{arydshln}{true}}
139  {\setboolean{arydshln}{false}}
140
141 % check for package marginnote
142 % used for margin notes
143 \newboolean{marginnote}
144 \IfFileExists{marginnote.sty}
145  {\usepackage{marginnote}
146   \let\marginpar\marginnote
147   \setboolean{marginnote}{true}}
148  {\setboolean{marginnote}{false}}
149
150 % check for package sidecap
151 % used for captions on the side
152 \newboolean{sidecap}
153 \IfFileExists{sidecap.sty}
154  {\usepackage{sidecap}
155   \let\marginpar\marginnote
156   \setboolean{sidecap}{true}}
157  {\setboolean{sidecap}{false}}
158
159 % redefine the \LyX macro for PDF bookmarks
160 \def\LyX{\texorpdfstring{%
161   L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
162   {LyX}}
163 \end_preamble
164 \options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove
165 \use_default_options false
166 \language english
167 \inputencoding auto
168 \font_roman default
169 \font_sans default
170 \font_typewriter default
171 \font_default_family default
172 \font_sc false
173 \font_osf false
174 \font_sf_scale 100
175 \font_tt_scale 100
176
177 \graphics default
178 \paperfontsize 12
179 \spacing single
180 \use_hyperref true
181 \pdf_title "LyX's Figure, Table, Floats, Notes, and Boxes manual"
182 \pdf_author "LyX Team, Uwe Stöhr"
183 \pdf_subject "LyX-documentation about figures, tables, floats, notes, and boxes"
184 \pdf_keywords "LyX, Tables, Figures, Floats, Boxes, Notes"
185 \pdf_bookmarks true
186 \pdf_bookmarksnumbered true
187 \pdf_bookmarksopen true
188 \pdf_bookmarksopenlevel 1
189 \pdf_breaklinks false
190 \pdf_pdfborder false
191 \pdf_colorlinks true
192 \pdf_backref false
193 \pdf_pdfusetitle false
194 \pdf_quoted_options " linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,  pdfpagelayout=OneColumn, pdfnewwindow=true,  pdfstartview=XYZ, plainpages=false, pdfpagelabels"
195 \papersize default
196 \use_geometry false
197 \use_amsmath 2
198 \use_esint 0
199 \cite_engine basic
200 \use_bibtopic false
201 \paperorientation portrait
202 \secnumdepth 3
203 \tocdepth 3
204 \paragraph_separation skip
205 \defskip medskip
206 \quotes_language english
207 \papercolumns 1
208 \papersides 2
209 \paperpagestyle default
210 \bullet 1 1 34 -1
211 \bullet 2 2 35 -1
212 \bullet 3 2 7 -1
213 \tracking_changes false
214 \output_changes false
215 \author "" 
216 \author "" 
217 \end_header
218
219 \begin_body
220
221 \begin_layout Title
222 LyX's detailed Figure, Table, Floats, Notes, Boxes and External Material
223  manual
224 \end_layout
225
226 \begin_layout Author
227 by the LyX Team
228 \begin_inset Foot
229 status collapsed
230
231 \begin_layout Plain Layout
232 \noindent
233 If you have comments or error corrections, please send them to the LyX Documenta
234 tion mailing list: 
235 \begin_inset CommandInset href
236 LatexCommand href
237 name "lyx-docs@lists.lyx.org"
238 target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
239 type "mailto:"
240
241 \end_inset
242
243
244 \end_layout
245
246 \end_inset
247
248
249 \begin_inset Note Note
250 status collapsed
251
252 \begin_layout Plain Layout
253 author: Uwe Stöhr
254 \end_layout
255
256 \end_inset
257
258
259 \begin_inset Newline newline
260 \end_inset
261
262
263 \begin_inset Newline newline
264 \end_inset
265
266
267 \family sans
268 Version 1.6.x
269 \end_layout
270
271 \begin_layout Standard
272 \begin_inset CommandInset toc
273 LatexCommand tableofcontents
274
275 \end_inset
276
277
278 \end_layout
279
280 \begin_layout Standard
281 \begin_inset Note Note
282 status open
283
284 \begin_layout Plain Layout
285 To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
286  
287 \series bold
288 arydshln
289 \series default
290
291 \series bold
292 colortbl
293 \series default
294
295 \series bold
296 marginnote
297 \series default
298 , and 
299 \series bold
300 sidecap
301 \series default
302  must be installed.
303  If they are not installed you can export the document anyway but the sections
304  where the packages are required won't appear in the output.
305 \end_layout
306
307 \begin_layout Plain Layout
308 The latest PDF-version of this document can be found here:
309 \begin_inset Newline newline
310 \end_inset
311
312
313 \series bold
314 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
315 \end_layout
316
317 \end_inset
318
319
320 \end_layout
321
322 \begin_layout Chapter
323 Figures
324 \begin_inset Index
325 status collapsed
326
327 \begin_layout Plain Layout
328 Figures
329 \end_layout
330
331 \end_inset
332
333
334 \begin_inset Index
335 status collapsed
336
337 \begin_layout Plain Layout
338 Graphics|see
339 \begin_inset ERT
340 status collapsed
341
342 \begin_layout Plain Layout
343
344 {
345 \end_layout
346
347 \end_inset
348
349 Figures
350 \begin_inset ERT
351 status collapsed
352
353 \begin_layout Plain Layout
354
355 }
356 \end_layout
357
358 \end_inset
359
360
361 \end_layout
362
363 \end_inset
364
365
366 \end_layout
367
368 \begin_layout Section
369 Graphics Dialog
370 \begin_inset Index
371 status collapsed
372
373 \begin_layout Plain Layout
374 Figures ! Graphics Dialog
375 \end_layout
376
377 \end_inset
378
379
380 \begin_inset CommandInset label
381 LatexCommand label
382 name "sec:Graphics-Dialog"
383
384 \end_inset
385
386
387 \end_layout
388
389 \begin_layout Standard
390 To insert an image into your document, place the cursor at the text position
391  you want and click on the toolbar icon 
392 \begin_inset Graphics
393         filename ../images/dialog-show-new-inset_graphics.png
394         scale 85
395         scaleBeforeRotation
396
397 \end_inset
398
399  or use the menu 
400 \family sans
401 Insert\SpecialChar \menuseparator
402 Graphics
403 \family default
404 .
405  Then a dialog will appear to choose the file to load.
406  The image will appear in the output exactly at the position where it is
407  in the text.
408 \end_layout
409
410 \begin_layout Standard
411 The graphics dialog can be called at any time by clicking on an image.
412  This dialog has three tabs:
413 \end_layout
414
415 \begin_layout Description
416
417 \family sans
418 Graphics
419 \family default
420  Here you can choose an image file and adjust its appearance in the output.
421  The available units for the image size are explained in appendix
422 \begin_inset space ~
423 \end_inset
424
425
426 \begin_inset CommandInset ref
427 LatexCommand ref
428 reference "cha:Units-available-in"
429
430 \end_inset
431
432 .
433 \begin_inset Newline newline
434 \end_inset
435
436
437 \begin_inset Index
438 status collapsed
439
440 \begin_layout Plain Layout
441 Figures ! rotated
442 \end_layout
443
444 \end_inset
445
446 You can rotate images counter-clockwise by setting a rotation angle and
447  a rotation origin.
448  The image will also be rotated inside LyX.
449 \begin_inset Newline newline
450 \end_inset
451
452
453 \begin_inset Index
454 status collapsed
455
456 \begin_layout Plain Layout
457 Figures ! scaled
458 \end_layout
459
460 \end_inset
461
462 Images can be scaled by using a percentage value or by setting the width
463  and height explicitly.
464  If you set only the width or only the height, the other size will be determined
465  automatically.
466  If you set both, then the image will be transformed to the given size,
467  possibly distorting it.
468  To prevent the image from distortion, use the option 
469 \family sans
470 Maintain aspect ratio
471 \family default
472 .
473  The image will then be scaled so that its width and height don't exceed
474  the specified dimensions.
475 \begin_inset Newline newline
476 \end_inset
477
478 Images can be opened in a program of your choice when pressing the 
479 \family sans
480 Edit
481 \family default
482  button.
483  The program can be set for every image format in the file format settings
484  in LyX's preferences.
485 \end_layout
486
487 \begin_layout Description
488
489 \family sans
490 Clipping
491 \family default
492  Alternatively to the usage of scaling units it is possible to set image
493  coordinates to adjust the height and width of the image in the output.
494  The coordinates can also be calculated automatically by pressing the button
495  
496 \family sans
497 Get
498 \begin_inset space ~
499 \end_inset
500
501 from
502 \begin_inset space ~
503 \end_inset
504
505 File
506 \family default
507 .
508  The option 
509 \family sans
510 Clip
511 \begin_inset space ~
512 \end_inset
513
514 to
515 \begin_inset space ~
516 \end_inset
517
518 bounding
519 \begin_inset space ~
520 \end_inset
521
522 box
523 \family default
524  will only print the image region within the given coordinates.
525  Normally you don't need to take care about image coordinates and can ignore
526  this tab.
527 \end_layout
528
529 \begin_layout Description
530
531 \family sans
532 LaTeX
533 \begin_inset space ~
534 \end_inset
535
536 and
537 \begin_inset space ~
538 \end_inset
539
540 LyX
541 \begin_inset space ~
542 \end_inset
543
544 options
545 \family default
546  In this tab you can modify the appearance of the image within LyX and LaTeX
547  experts can specify additional LaTeX options.
548 \begin_inset Newline newline
549 \end_inset
550
551 The option 
552 \family sans
553 Draft
554 \begin_inset space ~
555 \end_inset
556
557 mode
558 \family default
559  makes the image appear in the output only as a frame with the size of the
560  image.
561 \begin_inset Newline newline
562 \end_inset
563
564 The 
565 \family sans
566 Don't
567 \begin_inset space ~
568 \end_inset
569
570 unzip
571 \begin_inset space ~
572 \end_inset
573
574 on
575 \begin_inset space ~
576 \end_inset
577
578 export
579 \family default
580  option only affects zipped EPS-graphics, e.
581 \begin_inset space \thinspace{}
582 \end_inset
583
584 g.
585 \begin_inset space \space{}
586 \end_inset
587
588
589 \emph on
590 x.eps.gz
591 \emph default
592 .
593  When the option is used the images will not be unzipped on export, since
594  LaTeX can handle them as they are.
595 \begin_inset Newline newline
596 \end_inset
597
598 Zipped EPS-graphics are useful to save disk space when you choose PostScript
599  as output format, see appendix
600 \begin_inset space ~
601 \end_inset
602
603
604 \begin_inset CommandInset ref
605 LatexCommand ref
606 reference "sec:PostScript"
607
608 \end_inset
609
610 .
611  To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows
612  console:
613 \begin_inset Newline newline
614 \end_inset
615
616
617 \series bold
618 gzip x.eps
619 \series default
620
621 \begin_inset Newline newline
622 \end_inset
623
624
625 \series bold
626 zgrep %%Bounding x.eps.gz > x.eps.bb
627 \series default
628
629 \begin_inset Newline newline
630 \end_inset
631
632 The second command creates the bounding box file 
633 \begin_inset Quotes eld
634 \end_inset
635
636 x.eps.bb
637 \begin_inset Quotes erd
638 \end_inset
639
640  that is needed by LaTeX for zipped graphics.
641 \begin_inset Newline newline
642 \end_inset
643
644 The field 
645 \family sans
646 Initialize
647 \begin_inset space ~
648 \end_inset
649
650 Group
651 \begin_inset space ~
652 \end_inset
653
654 Name
655 \family default
656  allows you define or join an image settings group.
657 \begin_inset Index
658 status collapsed
659
660 \begin_layout Plain Layout
661 Figures ! Settings grouping
662 \end_layout
663
664 \end_inset
665
666  Images within such a group share their settings, so adjusting one image
667  of the group automatically also adjusts all other images of the group in
668  the same way.
669  So you can for example change the size for a bunch of images without the
670  need to manually change each of them.
671  Joining an existing group can also be done using the context menu of the
672  image by checking the name of the desired group.
673 \end_layout
674
675 \begin_layout Standard
676 \begin_inset VSpace bigskip
677 \end_inset
678
679
680 \end_layout
681
682 \begin_layout Standard
683 This is an example image in EPS format
684 \begin_inset Foot
685 status collapsed
686
687 \begin_layout Plain Layout
688 Image formats are explained in section
689 \begin_inset space ~
690 \end_inset
691
692
693 \begin_inset CommandInset ref
694 LatexCommand ref
695 reference "sec:Image-Formats"
696
697 \end_inset
698
699 .
700 \end_layout
701
702 \end_inset
703
704  within a separate, horizontally centered paragraph:
705 \end_layout
706
707 \begin_layout Standard
708 \align center
709 \begin_inset Graphics
710         filename clipart/mobius.eps
711         scale 70
712         scaleBeforeRotation
713         rotateOrigin center
714
715 \end_inset
716
717
718 \end_layout
719
720 \begin_layout Standard
721 This is the same image like the one above but in draft mode:
722 \end_layout
723
724 \begin_layout Standard
725 \align center
726 \begin_inset Graphics
727         filename clipart/mobius.eps
728         scale 70
729         draft
730         scaleBeforeRotation
731         rotateOrigin center
732
733 \end_inset
734
735
736 \end_layout
737
738 \begin_layout Standard
739 \begin_inset Newpage newpage
740 \end_inset
741
742
743 \end_layout
744
745 \begin_layout Section
746 Figure Floats
747 \begin_inset CommandInset label
748 LatexCommand label
749 name "sec:Figure-Floats"
750
751 \end_inset
752
753
754 \begin_inset Index
755 status collapsed
756
757 \begin_layout Plain Layout
758 Floats ! Figures
759 \end_layout
760
761 \end_inset
762
763
764 \begin_inset Index
765 status collapsed
766
767 \begin_layout Plain Layout
768 Figures ! Floats
769 \end_layout
770
771 \end_inset
772
773
774 \end_layout
775
776 \begin_layout Standard
777 For general explanations about floats, have a look at section
778 \begin_inset space ~
779 \end_inset
780
781
782 \begin_inset CommandInset ref
783 LatexCommand ref
784 reference "sec:FloatIntroduction"
785
786 \end_inset
787
788 .
789 \end_layout
790
791 \begin_layout Standard
792 The toolbar button 
793 \begin_inset Graphics
794         filename ../images/float-insert_figure.png
795         scale 85
796         scaleBeforeRotation
797
798 \end_inset
799
800  and the menu 
801 \family sans
802 Insert\SpecialChar \menuseparator
803 Float\SpecialChar \menuseparator
804 Figure
805 \family default
806  inserts a float with a caption that has the label 
807 \begin_inset Quotes eld
808 \end_inset
809
810 Figure
811 \begin_inset space ~
812 \end_inset
813
814 #:
815 \begin_inset Quotes erd
816 \end_inset
817
818  (# is the actual number).
819  You can insert the image above the caption, like in Figure
820 \begin_inset space ~
821 \end_inset
822
823
824 \begin_inset CommandInset ref
825 LatexCommand ref
826 reference "fig:kill-plat"
827
828 \end_inset
829
830  or below the caption, like in Figure
831 \begin_inset space ~
832 \end_inset
833
834
835 \begin_inset CommandInset ref
836 LatexCommand ref
837 reference "fig:escher"
838
839 \end_inset
840
841 .
842  More about the caption placement is described in section
843 \begin_inset space ~
844 \end_inset
845
846
847 \begin_inset CommandInset ref
848 LatexCommand ref
849 reference "sec:Caption-Placement"
850
851 \end_inset
852
853 .
854 \end_layout
855
856 \begin_layout Standard
857 \begin_inset Float figure
858 wide false
859 sideways false
860 status open
861
862 \begin_layout Plain Layout
863 \align center
864 \begin_inset Graphics
865         filename clipart/platypus.eps
866         width 50col%
867         scaleBeforeRotation
868         rotateOrigin center
869
870 \end_inset
871
872
873 \end_layout
874
875 \begin_layout Plain Layout
876 \begin_inset Caption
877
878 \begin_layout Plain Layout
879 \begin_inset CommandInset label
880 LatexCommand label
881 name "fig:kill-plat"
882
883 \end_inset
884
885 A severely distorted platypus in a float.
886 \end_layout
887
888 \end_inset
889
890
891 \end_layout
892
893 \end_inset
894
895
896 \end_layout
897
898 \begin_layout Standard
899 \begin_inset Float figure
900 wide false
901 sideways false
902 status open
903
904 \begin_layout Plain Layout
905 \begin_inset Caption
906
907 \begin_layout Plain Layout
908 \begin_inset CommandInset label
909 LatexCommand label
910 name "fig:escher"
911
912 \end_inset
913
914 M.C.
915  Escher on acid.
916 \end_layout
917
918 \end_inset
919
920
921 \end_layout
922
923 \begin_layout Plain Layout
924 \align center
925 \begin_inset Graphics
926         filename clipart/escher-lsd.eps
927         scale 80
928         scaleBeforeRotation
929         rotateOrigin center
930
931 \end_inset
932
933
934 \end_layout
935
936 \end_inset
937
938
939 \end_layout
940
941 \begin_layout Standard
942 \begin_inset Index
943 status collapsed
944
945 \begin_layout Plain Layout
946 References ! to Figures
947 \end_layout
948
949 \end_inset
950
951 Figure
952 \begin_inset space ~
953 \end_inset
954
955
956 \begin_inset CommandInset ref
957 LatexCommand ref
958 reference "fig:kill-plat"
959
960 \end_inset
961
962  and 
963 \begin_inset CommandInset ref
964 LatexCommand ref
965 reference "fig:escher"
966
967 \end_inset
968
969  are examples of referenced figures.
970  Figures can be referenced in the text by referencing their label.
971  To do this insert a label in the caption using the menu 
972 \family sans
973 Insert\SpecialChar \menuseparator
974 Label
975 \family default
976  or the toolbar button 
977 \begin_inset Graphics
978         filename ../images/label-insert.png
979         scale 85
980         scaleBeforeRotation
981
982 \end_inset
983
984 .
985  You can now refer to the label using the menu 
986 \family sans
987 Insert\SpecialChar \menuseparator
988 Cross
989 \begin_inset space ~
990 \end_inset
991
992 reference
993 \family default
994  or the toolbar button 
995 \begin_inset Graphics
996         filename ../images/dialog-show-new-inset_ref.png
997         scale 85
998         scaleBeforeRotation
999
1000 \end_inset
1001
1002 .
1003  It is important to use references to floats, rather than using vague references
1004  like 
1005 \begin_inset Quotes eld
1006 \end_inset
1007
1008 the figure above
1009 \begin_inset Quotes erd
1010 \end_inset
1011
1012 , because as LaTeX will reposition the floats in the final document, it
1013  might not be 
1014 \begin_inset Quotes eld
1015 \end_inset
1016
1017 above
1018 \begin_inset Quotes erd
1019 \end_inset
1020
1021  at all.
1022 \begin_inset Newline newline
1023 \end_inset
1024
1025 Referencing is explained in detail in section
1026 \begin_inset space ~
1027 \end_inset
1028
1029
1030 \begin_inset CommandInset ref
1031 LatexCommand ref
1032 reference "sec:Referencing-Floats"
1033
1034 \end_inset
1035
1036 .
1037 \end_layout
1038
1039 \begin_layout Standard
1040 Normally only one image is inserted to a figure float, but sometimes you
1041  might want to use two images with separate subcaptions.
1042  This can be done by inserting image floats into existing image floats.
1043  Note that only the main caption of the float is added to the List of Figures.
1044  Figure
1045 \begin_inset space ~
1046 \end_inset
1047
1048
1049 \begin_inset CommandInset ref
1050 LatexCommand ref
1051 reference "fig:Two-distorted-images"
1052
1053 \end_inset
1054
1055  is an example of a figure float with two images set side by side.
1056  You can also set the images one below the other.
1057  Figure
1058 \begin_inset space ~
1059 \end_inset
1060
1061
1062 \begin_inset CommandInset ref
1063 LatexCommand ref
1064 reference "fig:Undefinable-structure"
1065
1066 \end_inset
1067
1068  and 
1069 \begin_inset CommandInset ref
1070 LatexCommand ref
1071 reference "fig:A-Platypus"
1072
1073 \end_inset
1074
1075  are the subfigures.
1076 \end_layout
1077
1078 \begin_layout Standard
1079 \begin_inset Float figure
1080 wide false
1081 sideways false
1082 status open
1083
1084 \begin_layout Plain Layout
1085 \begin_inset space \hfill{}
1086 \end_inset
1087
1088
1089 \begin_inset Float figure
1090 wide false
1091 sideways false
1092 status collapsed
1093
1094 \begin_layout Plain Layout
1095 \begin_inset Caption
1096
1097 \begin_layout Plain Layout
1098 \begin_inset CommandInset label
1099 LatexCommand label
1100 name "fig:Undefinable-structure"
1101
1102 \end_inset
1103
1104 Undefinable structure.
1105 \end_layout
1106
1107 \end_inset
1108
1109
1110 \end_layout
1111
1112 \begin_layout Plain Layout
1113 \begin_inset Graphics
1114         filename clipart/escher-lsd.eps
1115         width 45col%
1116         scaleBeforeRotation
1117         groupId distorted
1118
1119 \end_inset
1120
1121
1122 \end_layout
1123
1124 \end_inset
1125
1126
1127 \begin_inset space \hfill{}
1128 \end_inset
1129
1130
1131 \begin_inset Float figure
1132 wide false
1133 sideways false
1134 status collapsed
1135
1136 \begin_layout Plain Layout
1137 \begin_inset Caption
1138
1139 \begin_layout Plain Layout
1140 \begin_inset CommandInset label
1141 LatexCommand label
1142 name "fig:A-Platypus"
1143
1144 \end_inset
1145
1146 A Platypus.
1147 \end_layout
1148
1149 \end_inset
1150
1151
1152 \end_layout
1153
1154 \begin_layout Plain Layout
1155 \begin_inset Graphics
1156         filename clipart/platypus.eps
1157         width 45col%
1158         scaleBeforeRotation
1159         groupId distorted
1160
1161 \end_inset
1162
1163
1164 \end_layout
1165
1166 \end_inset
1167
1168
1169 \begin_inset space \hfill{}
1170 \end_inset
1171
1172
1173 \end_layout
1174
1175 \begin_layout Plain Layout
1176 \begin_inset Caption
1177
1178 \begin_layout Plain Layout
1179 \begin_inset CommandInset label
1180 LatexCommand label
1181 name "fig:Two-distorted-images"
1182
1183 \end_inset
1184
1185 Two distorted images.
1186  Both images are in the image settings group named 
1187 \begin_inset Quotes eld
1188 \end_inset
1189
1190 distorted
1191 \begin_inset Quotes erd
1192 \end_inset
1193
1194 .
1195 \end_layout
1196
1197 \end_inset
1198
1199
1200 \end_layout
1201
1202 \end_inset
1203
1204
1205 \end_layout
1206
1207 \begin_layout Standard
1208 \begin_inset Newpage newpage
1209 \end_inset
1210
1211
1212 \end_layout
1213
1214 \begin_layout Section
1215 Image Formats
1216 \begin_inset CommandInset label
1217 LatexCommand label
1218 name "sec:Image-Formats"
1219
1220 \end_inset
1221
1222
1223 \begin_inset Index
1224 status collapsed
1225
1226 \begin_layout Plain Layout
1227 Image Formats
1228 \end_layout
1229
1230 \end_inset
1231
1232
1233 \begin_inset Index
1234 status collapsed
1235
1236 \begin_layout Plain Layout
1237 Figures ! Image Formats
1238 \end_layout
1239
1240 \end_inset
1241
1242
1243 \end_layout
1244
1245 \begin_layout Standard
1246 You can insert images in any known file format.
1247  But as explained in appendix
1248 \begin_inset space ~
1249 \end_inset
1250
1251
1252 \begin_inset CommandInset ref
1253 LatexCommand ref
1254 reference "cha:Output-File-Formats"
1255
1256 \end_inset
1257
1258 , every output document format allows only a few image formats.
1259  LyX uses therefore the program 
1260 \family typewriter
1261 Imagemagick
1262 \family default
1263  in the background to convert the images to the right format.
1264  To increase your work flow by avoiding these conversions in the background,
1265  you can use only the image formats that can directly be embedded in the
1266  output file format.
1267  The output file formats are explained in appendix
1268 \begin_inset space ~
1269 \end_inset
1270
1271
1272 \begin_inset CommandInset ref
1273 LatexCommand ref
1274 reference "cha:Output-File-Formats"
1275
1276 \end_inset
1277
1278 .
1279 \end_layout
1280
1281 \begin_layout Standard
1282 Similar to fonts there are two types of image formats:
1283 \end_layout
1284
1285 \begin_layout Description
1286 Bitmap
1287 \begin_inset space ~
1288 \end_inset
1289
1290 images consist of pixel values, often in a compressed form.
1291  They are therefore not fully scalable and look pixeled in large zooms.
1292  Well-known bitmap image formats are 
1293 \begin_inset Quotes eld
1294 \end_inset
1295
1296 Graphics Interchange Format
1297 \begin_inset Quotes erd
1298 \end_inset
1299
1300  (GIF, file extension 
1301 \begin_inset Quotes eld
1302 \end_inset
1303
1304
1305 \family typewriter
1306 .gif
1307 \family default
1308
1309 \begin_inset Quotes erd
1310 \end_inset
1311
1312 )
1313 \begin_inset Index
1314 status collapsed
1315
1316 \begin_layout Plain Layout
1317 GIF|see
1318 \begin_inset ERT
1319 status collapsed
1320
1321 \begin_layout Plain Layout
1322
1323 {
1324 \end_layout
1325
1326 \end_inset
1327
1328 Image formats
1329 \begin_inset ERT
1330 status collapsed
1331
1332 \begin_layout Plain Layout
1333
1334 }
1335 \end_layout
1336
1337 \end_inset
1338
1339
1340 \end_layout
1341
1342 \end_inset
1343
1344
1345 \begin_inset Quotes eld
1346 \end_inset
1347
1348 Portable Network Graphics
1349 \begin_inset Quotes erd
1350 \end_inset
1351
1352  (PNG, file extension 
1353 \begin_inset Quotes eld
1354 \end_inset
1355
1356
1357 \family typewriter
1358 .png
1359 \family default
1360
1361 \begin_inset Quotes erd
1362 \end_inset
1363
1364 )
1365 \begin_inset Index
1366 status collapsed
1367
1368 \begin_layout Plain Layout
1369 PNG|see
1370 \begin_inset ERT
1371 status collapsed
1372
1373 \begin_layout Plain Layout
1374
1375 {
1376 \end_layout
1377
1378 \end_inset
1379
1380 Image formats
1381 \begin_inset ERT
1382 status collapsed
1383
1384 \begin_layout Plain Layout
1385
1386 }
1387 \end_layout
1388
1389 \end_inset
1390
1391
1392 \end_layout
1393
1394 \end_inset
1395
1396 , and 
1397 \begin_inset Quotes eld
1398 \end_inset
1399
1400 Joint Photographic Experts Group
1401 \begin_inset Quotes erd
1402 \end_inset
1403
1404  (JPG, file extension 
1405 \begin_inset Quotes eld
1406 \end_inset
1407
1408
1409 \family typewriter
1410 .jpg
1411 \family default
1412
1413 \begin_inset Quotes erd
1414 \end_inset
1415
1416  or 
1417 \begin_inset Quotes eld
1418 \end_inset
1419
1420
1421 \family typewriter
1422 .jpeg
1423 \family default
1424
1425 \begin_inset Quotes erd
1426 \end_inset
1427
1428 )
1429 \begin_inset Index
1430 status collapsed
1431
1432 \begin_layout Plain Layout
1433 JPG|see
1434 \begin_inset ERT
1435 status collapsed
1436
1437 \begin_layout Plain Layout
1438
1439 {
1440 \end_layout
1441
1442 \end_inset
1443
1444 Image formats
1445 \begin_inset ERT
1446 status collapsed
1447
1448 \begin_layout Plain Layout
1449
1450 }
1451 \end_layout
1452
1453 \end_inset
1454
1455
1456 \end_layout
1457
1458 \end_inset
1459
1460 .
1461 \end_layout
1462
1463 \begin_layout Description
1464 Vector
1465 \begin_inset space ~
1466 \end_inset
1467
1468 images consist of vectors and can therefore be scaled to any size without
1469  data loss.
1470  The scaling ability is necessary if you want to create presentations, because
1471  presentations are always scaled by the video projector.
1472  Scaling is also useful for online documents to let the user zoom into diagrams.
1473 \begin_inset Newline newline
1474 \end_inset
1475
1476 Well-known scalable image formats are 
1477 \begin_inset Quotes eld
1478 \end_inset
1479
1480 Scalable Vector Graphics
1481 \begin_inset Quotes erd
1482 \end_inset
1483
1484  (SVG, file extension 
1485 \begin_inset Quotes eld
1486 \end_inset
1487
1488
1489 \family typewriter
1490 .svg
1491 \family default
1492
1493 \begin_inset Quotes erd
1494 \end_inset
1495
1496 )
1497 \begin_inset Index
1498 status collapsed
1499
1500 \begin_layout Plain Layout
1501 SVG|see
1502 \begin_inset ERT
1503 status collapsed
1504
1505 \begin_layout Plain Layout
1506
1507 {
1508 \end_layout
1509
1510 \end_inset
1511
1512 Image formats
1513 \begin_inset ERT
1514 status collapsed
1515
1516 \begin_layout Plain Layout
1517
1518 }
1519 \end_layout
1520
1521 \end_inset
1522
1523
1524 \end_layout
1525
1526 \end_inset
1527
1528
1529 \begin_inset Quotes eld
1530 \end_inset
1531
1532 Encapsulated PostScript
1533 \begin_inset Quotes erd
1534 \end_inset
1535
1536  (EPS, file extension 
1537 \begin_inset Quotes eld
1538 \end_inset
1539
1540
1541 \family typewriter
1542 .eps
1543 \family default
1544
1545 \begin_inset Quotes erd
1546 \end_inset
1547
1548 )
1549 \begin_inset Index
1550 status collapsed
1551
1552 \begin_layout Plain Layout
1553 EPS|see
1554 \begin_inset ERT
1555 status collapsed
1556
1557 \begin_layout Plain Layout
1558
1559 {
1560 \end_layout
1561
1562 \end_inset
1563
1564 Image formats
1565 \begin_inset ERT
1566 status collapsed
1567
1568 \begin_layout Plain Layout
1569
1570 }
1571 \end_layout
1572
1573 \end_inset
1574
1575
1576 \end_layout
1577
1578 \end_inset
1579
1580
1581 \begin_inset Quotes eld
1582 \end_inset
1583
1584 Portable Document Format
1585 \begin_inset Quotes erd
1586 \end_inset
1587
1588  (PDF, file extension 
1589 \begin_inset Quotes eld
1590 \end_inset
1591
1592
1593 \family typewriter
1594 .pdf
1595 \family default
1596
1597 \begin_inset Quotes erd
1598 \end_inset
1599
1600 )
1601 \begin_inset Index
1602 status collapsed
1603
1604 \begin_layout Plain Layout
1605 PDF
1606 \end_layout
1607
1608 \end_inset
1609
1610 , and 
1611 \begin_inset Quotes eld
1612 \end_inset
1613
1614 Windows Metafile
1615 \begin_inset Quotes erd
1616 \end_inset
1617
1618  (WMF, file extension 
1619 \begin_inset Quotes eld
1620 \end_inset
1621
1622
1623 \family typewriter
1624 .wmf
1625 \family default
1626
1627 \begin_inset Quotes erd
1628 \end_inset
1629
1630 )
1631 \begin_inset Index
1632 status collapsed
1633
1634 \begin_layout Plain Layout
1635 SVG|see
1636 \begin_inset ERT
1637 status collapsed
1638
1639 \begin_layout Plain Layout
1640
1641 {
1642 \end_layout
1643
1644 \end_inset
1645
1646 Image formats
1647 \begin_inset ERT
1648 status collapsed
1649
1650 \begin_layout Plain Layout
1651
1652 }
1653 \end_layout
1654
1655 \end_inset
1656
1657
1658 \end_layout
1659
1660 \end_inset
1661
1662 .
1663  We wrote 
1664 \begin_inset Quotes eld
1665 \end_inset
1666
1667 can be
1668 \begin_inset Quotes erd
1669 \end_inset
1670
1671 , because you can convert any bitmap image to a PDF or EPS-image and the
1672  result will still be a bitmap image.
1673  In this cases only a header with the image properties is added to the original
1674  image
1675 \begin_inset Foot
1676 status open
1677
1678 \begin_layout Plain Layout
1679 In the case of PDF, the original image is additionally compressed.
1680 \end_layout
1681
1682 \end_inset
1683
1684 .
1685  The PDF-files generated by 
1686 \family typewriter
1687 Adobe Photoshop
1688 \family default
1689  are for example bitmap images.
1690 \end_layout
1691
1692 \begin_layout Standard
1693 Normally it is not possible to convert a bitmap image into a scalable one,
1694  only vice versa.
1695  Only the image formats PDF and EPS can directly be embedded to PDF and
1696  PostScript output files, respectively.
1697  SVG and WMF-images are recalculated to bitmaps when the output file is
1698  generated because there is currently no adequate WMF/SVG
1699 \begin_inset Formula $\to$
1700 \end_inset
1701
1702 PDF/EPS converter available.
1703 \end_layout
1704
1705 \begin_layout Chapter
1706 Tables
1707 \begin_inset Index
1708 status collapsed
1709
1710 \begin_layout Plain Layout
1711 Table
1712 \end_layout
1713
1714 \end_inset
1715
1716
1717 \end_layout
1718
1719 \begin_layout Section
1720 Introduction
1721 \begin_inset Index
1722 status collapsed
1723
1724 \begin_layout Plain Layout
1725 Table ! Introduction
1726 \end_layout
1727
1728 \end_inset
1729
1730
1731 \end_layout
1732
1733 \begin_layout Standard
1734 You can insert a table using either the toolbar button 
1735 \begin_inset Graphics
1736         filename ../images/tabular-insert.png
1737         scale 85
1738         scaleBeforeRotation
1739
1740 \end_inset
1741
1742  or the menu 
1743 \family sans
1744 Insert\SpecialChar \menuseparator
1745 Table
1746 \family default
1747 .
1748  The toolbar button offers you a graphical selection: Move the mouse to
1749  set the column/row number of the table that should be created and then
1750  press a mouse button.
1751  When you use the menu to create a table, a dialog will appear, asking you
1752  for the number of rows and columns.
1753 \begin_inset Newline newline
1754 \end_inset
1755
1756  The default table has lines around any cell and the first row appears separated
1757  from the rest of the table.
1758  This separation occurs due to a double line: The cells of the first row
1759  have a line below them and the cells of the second row have a line above
1760  them.
1761  Here is an example table:
1762 \end_layout
1763
1764 \begin_layout Standard
1765 \align center
1766 \begin_inset Tabular
1767 <lyxtabular version="3" rows="4" columns="4">
1768 <features>
1769 <column alignment="center" valignment="top" width="0">
1770 <column alignment="center" valignment="top" width="0">
1771 <column alignment="center" valignment="top" width="0">
1772 <column alignment="center" valignment="top" width="0">
1773 <row>
1774 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1775 \begin_inset Text
1776
1777 \begin_layout Plain Layout
1778
1779 \end_layout
1780
1781 \end_inset
1782 </cell>
1783 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1784 \begin_inset Text
1785
1786 \begin_layout Plain Layout
1787
1788 \family roman
1789 \series medium
1790 \shape up
1791 \size normal
1792 \emph off
1793 \bar no
1794 \noun off
1795 \color none
1796 1
1797 \end_layout
1798
1799 \end_inset
1800 </cell>
1801 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1802 \begin_inset Text
1803
1804 \begin_layout Plain Layout
1805 2
1806 \end_layout
1807
1808 \end_inset
1809 </cell>
1810 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1811 \begin_inset Text
1812
1813 \begin_layout Plain Layout
1814 3
1815 \end_layout
1816
1817 \end_inset
1818 </cell>
1819 </row>
1820 <row>
1821 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1822 \begin_inset Text
1823
1824 \begin_layout Plain Layout
1825
1826 \family roman
1827 \series medium
1828 \shape up
1829 \size normal
1830 \emph off
1831 \bar no
1832 \noun off
1833 \color none
1834 A
1835 \end_layout
1836
1837 \end_inset
1838 </cell>
1839 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1840 \begin_inset Text
1841
1842 \begin_layout Plain Layout
1843
1844 \end_layout
1845
1846 \end_inset
1847 </cell>
1848 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1849 \begin_inset Text
1850
1851 \begin_layout Plain Layout
1852
1853 \end_layout
1854
1855 \end_inset
1856 </cell>
1857 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1858 \begin_inset Text
1859
1860 \begin_layout Plain Layout
1861
1862 \end_layout
1863
1864 \end_inset
1865 </cell>
1866 </row>
1867 <row>
1868 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1869 \begin_inset Text
1870
1871 \begin_layout Plain Layout
1872
1873 \family roman
1874 \series medium
1875 \shape up
1876 \size normal
1877 \emph off
1878 \bar no
1879 \noun off
1880 \color none
1881 B
1882 \end_layout
1883
1884 \end_inset
1885 </cell>
1886 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1887 \begin_inset Text
1888
1889 \begin_layout Plain Layout
1890
1891 \end_layout
1892
1893 \end_inset
1894 </cell>
1895 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1896 \begin_inset Text
1897
1898 \begin_layout Plain Layout
1899
1900 \end_layout
1901
1902 \end_inset
1903 </cell>
1904 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1905 \begin_inset Text
1906
1907 \begin_layout Plain Layout
1908
1909 \end_layout
1910
1911 \end_inset
1912 </cell>
1913 </row>
1914 <row>
1915 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1916 \begin_inset Text
1917
1918 \begin_layout Plain Layout
1919
1920 \family roman
1921 \series medium
1922 \shape up
1923 \size normal
1924 \emph off
1925 \bar no
1926 \noun off
1927 \color none
1928 C
1929 \end_layout
1930
1931 \end_inset
1932 </cell>
1933 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1934 \begin_inset Text
1935
1936 \begin_layout Plain Layout
1937
1938 \end_layout
1939
1940 \end_inset
1941 </cell>
1942 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1943 \begin_inset Text
1944
1945 \begin_layout Plain Layout
1946
1947 \end_layout
1948
1949 \end_inset
1950 </cell>
1951 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1952 \begin_inset Text
1953
1954 \begin_layout Plain Layout
1955
1956 \end_layout
1957
1958 \end_inset
1959 </cell>
1960 </row>
1961 </lyxtabular>
1962
1963 \end_inset
1964
1965
1966 \end_layout
1967
1968 \begin_layout Section
1969 Table Dialog
1970 \begin_inset Index
1971 status collapsed
1972
1973 \begin_layout Plain Layout
1974 Table ! Dialog
1975 \end_layout
1976
1977 \end_inset
1978
1979
1980 \end_layout
1981
1982 \begin_layout Standard
1983 You can alter a table by clicking on it with the right mouse button, which
1984  brings up the table dialog.
1985  Here you can adjust the settings of that cell and row/column respectively
1986  where the cursor is currently placed.
1987  Most of the dialog options also work on selections.
1988  This means if you select more cells, columns or rows, the action is done
1989  for the whole selection.
1990  Note that there is a difference between selecting the 
1991 \emph on
1992 contents
1993 \emph default
1994  of the cell, and the cell itself.
1995  You can alter tables with the following tabs of the table dialog:
1996 \end_layout
1997
1998 \begin_layout Description
1999
2000 \family sans
2001 Table
2002 \begin_inset space ~
2003 \end_inset
2004
2005 Settings
2006 \family default
2007  Here you can set the horizontal alignment and the width of the current
2008  column.
2009  When you have set a width you can also adjust the vertical alignment of
2010  the current row.
2011  A given width will allow the cell to have line breaks and multiple paragraphs
2012  of text, see section
2013 \begin_inset space ~
2014 \end_inset
2015
2016
2017 \begin_inset CommandInset ref
2018 LatexCommand ref
2019 reference "sub:Multiple-Lines-in"
2020
2021 \end_inset
2022
2023 .
2024  If you set no width, the column is as wide as their widest cell content
2025  is.
2026 \begin_inset Newline newline
2027 \end_inset
2028
2029 Furthermore, you can mark one or multiple cells of one row as a multicolumn
2030  cell, see section
2031 \begin_inset space ~
2032 \end_inset
2033
2034
2035 \begin_inset CommandInset ref
2036 LatexCommand ref
2037 reference "sub:Multicolumns"
2038
2039 \end_inset
2040
2041 .
2042 \begin_inset Newline newline
2043 \end_inset
2044
2045 The rotate check boxes rotates the current cell, a selection, or the whole
2046  table counter-clockwise by 90°.
2047  The rotation is not shown within LyX, only in the output.
2048 \begin_inset Newline newline
2049 \end_inset
2050
2051
2052 \begin_inset Note Greyedout
2053 status open
2054
2055 \begin_layout Plain Layout
2056
2057 \series bold
2058 Note:
2059 \series default
2060  Not all DVI-viewers are able to display rotations.
2061 \end_layout
2062
2063 \end_inset
2064
2065
2066 \begin_inset Newline newline
2067 \end_inset
2068
2069 It is also possible to enter a LaTeX-argument which is needed for special
2070  table formattings, see section
2071 \begin_inset space ~
2072 \end_inset
2073
2074
2075 \begin_inset CommandInset ref
2076 LatexCommand ref
2077 reference "sub:Multicolumn-Calculations"
2078
2079 \end_inset
2080
2081  and 
2082 \begin_inset CommandInset ref
2083 LatexCommand ref
2084 reference "sec:Colored-Tables"
2085
2086 \end_inset
2087
2088 .
2089 \end_layout
2090
2091 \begin_layout Description
2092
2093 \family sans
2094 Borders
2095 \family default
2096  In this tab you can add and delete border lines for the current row/column.
2097 \begin_inset Newline newline
2098 \end_inset
2099
2100 Using the style option 
2101 \family sans
2102 Formal
2103 \family default
2104  will convert the table to a formal table as described in section
2105 \begin_inset space ~
2106 \end_inset
2107
2108
2109 \begin_inset CommandInset ref
2110 LatexCommand ref
2111 reference "sec:Formal-Tables"
2112
2113 \end_inset
2114
2115 .
2116 \begin_inset Newline newline
2117 \end_inset
2118
2119 You can also add here space to table rows as decribed in section
2120 \begin_inset space ~
2121 \end_inset
2122
2123
2124 \begin_inset CommandInset ref
2125 LatexCommand ref
2126 reference "sub:Row-Spacing"
2127
2128 \end_inset
2129
2130 .
2131 \end_layout
2132
2133 \begin_layout Description
2134
2135 \family sans
2136 Longtable
2137 \family default
2138  This tab is to make a table a so called 
2139 \begin_inset Quotes eld
2140 \end_inset
2141
2142
2143 \emph on
2144 longtable
2145 \emph default
2146
2147 \begin_inset Quotes erd
2148 \end_inset
2149
2150  that can run over several pages.
2151  Section
2152 \begin_inset space ~
2153 \end_inset
2154
2155
2156 \begin_inset CommandInset ref
2157 LatexCommand ref
2158 reference "sec:Longtables"
2159
2160 \end_inset
2161
2162  and 
2163 \begin_inset CommandInset ref
2164 LatexCommand ref
2165 reference "sec:Special-Longtable-Issues"
2166
2167 \end_inset
2168
2169  describe the longtable features in detail.
2170 \end_layout
2171
2172 \begin_layout Standard
2173 When the table toolbar is opened, you can move the cursor with the arrow
2174  keys from cell to cell and the property of the current cell will immediately
2175  be displayed in the dialog.
2176 \end_layout
2177
2178 \begin_layout Section
2179 Table Toolbar
2180 \begin_inset Index
2181 status collapsed
2182
2183 \begin_layout Plain Layout
2184 Table ! Toolbar
2185 \end_layout
2186
2187 \end_inset
2188
2189
2190 \end_layout
2191
2192 \begin_layout Standard
2193 The table toolbar is an alternative to the table dialog to be able to alter
2194  tables faster.
2195  It should normally appear at the bottom of LyX's main window when the cursor
2196  is inside a table.
2197  You can alternatively switch it on to appear always, by right-clicking
2198  in LyX's main menu bar.
2199 \end_layout
2200
2201 \begin_layout Standard
2202 The toolbar has the following icons:
2203 \end_layout
2204
2205 \begin_layout Labeling
2206 \labelwidthstring 00.00.0000
2207 \begin_inset Graphics
2208         filename ../images/tabular-feature_append-row.png
2209         scaleBeforeRotation
2210
2211 \end_inset
2212
2213  adds a row below the current cell or selection
2214 \end_layout
2215
2216 \begin_layout Labeling
2217 \labelwidthstring 00.00.0000
2218 \begin_inset Graphics
2219         filename ../images/tabular-feature_append-column.png
2220         scaleBeforeRotation
2221
2222 \end_inset
2223
2224  adds a column right beside the current cell or selection
2225 \end_layout
2226
2227 \begin_layout Labeling
2228 \labelwidthstring 00.00.0000
2229 \begin_inset Graphics
2230         filename ../images/tabular-feature_delete-row.png
2231         scaleBeforeRotation
2232
2233 \end_inset
2234
2235  deletes the current row or selection
2236 \end_layout
2237
2238 \begin_layout Labeling
2239 \labelwidthstring 00.00.0000
2240 \begin_inset Graphics
2241         filename ../images/tabular-feature_delete-column.png
2242         scaleBeforeRotation
2243
2244 \end_inset
2245
2246  deletes the current column or selection
2247 \end_layout
2248
2249 \begin_layout Labeling
2250 \labelwidthstring 00.00.0000
2251 \begin_inset Graphics
2252         filename ../images/tabular-feature_toggle-line-top.png
2253         scaleBeforeRotation
2254
2255 \end_inset
2256
2257  adds a line at the top of the current cell / row or of a selection
2258 \end_layout
2259
2260 \begin_layout Labeling
2261 \labelwidthstring 00.00.0000
2262 \begin_inset Graphics
2263         filename ../images/tabular-feature_toggle-line-bottom.png
2264         scaleBeforeRotation
2265
2266 \end_inset
2267
2268  adds a line at the bottom of the current cell / row or of a selection
2269 \end_layout
2270
2271 \begin_layout Labeling
2272 \labelwidthstring 00.00.0000
2273 \begin_inset Graphics
2274         filename ../images/tabular-feature_toggle-line-left.png
2275         scaleBeforeRotation
2276
2277 \end_inset
2278
2279  adds a line at the left side of the current cell / row or of a selection
2280 \end_layout
2281
2282 \begin_layout Labeling
2283 \labelwidthstring 00.00.0000
2284 \begin_inset Graphics
2285         filename ../images/tabular-feature_toggle-line-right.png
2286         scaleBeforeRotation
2287
2288 \end_inset
2289
2290  adds a line at the right side of the current cell / row or of a selection
2291 \end_layout
2292
2293 \begin_layout Labeling
2294 \labelwidthstring 00.00.0000
2295 \begin_inset Graphics
2296         filename ../images/tabular-feature_set-all-lines.png
2297         scaleBeforeRotation
2298
2299 \end_inset
2300
2301  adds lines around the current or selected cells - if the current cell no
2302  multicolumn this also affects the current row and column
2303 \end_layout
2304
2305 \begin_layout Labeling
2306 \labelwidthstring 00.00.0000
2307 \begin_inset Graphics
2308         filename ../images/tabular-feature_unset-all-lines.png
2309         scaleBeforeRotation
2310
2311 \end_inset
2312
2313  deletes all lines of the current or selected cells - if the current cell
2314  no multicolumn this also affects the current row and column
2315 \end_layout
2316
2317 \begin_layout Labeling
2318 \labelwidthstring 00.00.0000
2319 \begin_inset Graphics
2320         filename ../images/tabular-feature_align-left.png
2321         scaleBeforeRotation
2322
2323 \end_inset
2324
2325  left-aligns the content of the current cell / column
2326 \end_layout
2327
2328 \begin_layout Labeling
2329 \labelwidthstring 00.00.0000
2330 \begin_inset Graphics
2331         filename ../images/tabular-feature_align-center.png
2332         scaleBeforeRotation
2333
2334 \end_inset
2335
2336  centers the content of the current cell / column horizontally
2337 \end_layout
2338
2339 \begin_layout Labeling
2340 \labelwidthstring 00.00.0000
2341 \begin_inset Graphics
2342         filename ../images/tabular-feature_align-right.png
2343         scaleBeforeRotation
2344
2345 \end_inset
2346
2347  right-aligns the content of the current cell / column
2348 \end_layout
2349
2350 \begin_layout Labeling
2351 \labelwidthstring 00.00.0000
2352 \begin_inset Graphics
2353         filename ../images/tabular-feature_valign-top.png
2354         scaleBeforeRotation
2355
2356 \end_inset
2357
2358  aligns the content of the current cell vertically to the top
2359 \end_layout
2360
2361 \begin_layout Labeling
2362 \labelwidthstring 00.00.0000
2363 \begin_inset Graphics
2364         filename ../images/tabular-feature_valign-middle.png
2365         scaleBeforeRotation
2366
2367 \end_inset
2368
2369  centers the content of the current cell vertically
2370 \end_layout
2371
2372 \begin_layout Labeling
2373 \labelwidthstring 00.00.0000
2374 \begin_inset Graphics
2375         filename ../images/tabular-feature_valign-bottom.png
2376         scaleBeforeRotation
2377
2378 \end_inset
2379
2380  aligns the content of the current cell vertically to the bottom
2381 \end_layout
2382
2383 \begin_layout Labeling
2384 \labelwidthstring 00.00.0000
2385 \begin_inset Graphics
2386         filename ../images/tabular-feature_set-rotate-cell.png
2387         scaleBeforeRotation
2388
2389 \end_inset
2390
2391  rotates the current cell or selection counter-clockwise by 90°
2392 \end_layout
2393
2394 \begin_layout Labeling
2395 \labelwidthstring 00.00.0000
2396 \begin_inset Graphics
2397         filename ../images/tabular-feature_set-rotate-tabular.png
2398         scaleBeforeRotation
2399
2400 \end_inset
2401
2402  rotates the whole table counter-clockwise by 90°
2403 \end_layout
2404
2405 \begin_layout Labeling
2406 \labelwidthstring 00.00.0000
2407 \begin_inset Graphics
2408         filename ../images/tabular-feature_multicolumn.png
2409         scaleBeforeRotation
2410
2411 \end_inset
2412
2413  sets the current cell or selection as a multicolumn
2414 \end_layout
2415
2416 \begin_layout Standard
2417 \begin_inset Note Greyedout
2418 status open
2419
2420 \begin_layout Plain Layout
2421
2422 \series bold
2423 Note:
2424 \series default
2425  For the output the vertical alignment of the first cell in a row is used
2426  for all following cells in the row.
2427 \end_layout
2428
2429 \end_inset
2430
2431
2432 \end_layout
2433
2434 \begin_layout Section
2435 Edit Table Menu
2436 \begin_inset Index
2437 status collapsed
2438
2439 \begin_layout Plain Layout
2440 Table ! Edit Menu
2441 \end_layout
2442
2443 \end_inset
2444
2445
2446 \end_layout
2447
2448 \begin_layout Standard
2449 Additionally to the table dialog and toolbar, the menu 
2450 \family sans
2451 Edit\SpecialChar \menuseparator
2452 Table
2453 \family default
2454  allows you to add and delete border lines for the current row/column and
2455  to set the current selection as multicolumn.
2456  The menu is only available when the cursor is inside a table.
2457 \end_layout
2458
2459 \begin_layout Section
2460 Table Floats
2461 \begin_inset CommandInset label
2462 LatexCommand label
2463 name "sec:Table-Floats"
2464
2465 \end_inset
2466
2467
2468 \begin_inset Index
2469 status collapsed
2470
2471 \begin_layout Plain Layout
2472 Floats ! Tables
2473 \end_layout
2474
2475 \end_inset
2476
2477
2478 \begin_inset Index
2479 status collapsed
2480
2481 \begin_layout Plain Layout
2482 Table ! Floats
2483 \end_layout
2484
2485 \end_inset
2486
2487
2488 \end_layout
2489
2490 \begin_layout Standard
2491 For general explanations about floats, have a look at section
2492 \begin_inset space ~
2493 \end_inset
2494
2495
2496 \begin_inset CommandInset ref
2497 LatexCommand ref
2498 reference "sec:FloatIntroduction"
2499
2500 \end_inset
2501
2502 .
2503 \end_layout
2504
2505 \begin_layout Standard
2506 \begin_inset Float table
2507 placement h
2508 wide false
2509 sideways false
2510 status open
2511
2512 \begin_layout Plain Layout
2513 \begin_inset Caption
2514
2515 \begin_layout Plain Layout
2516 \begin_inset CommandInset label
2517 LatexCommand label
2518 name "tab:a table float"
2519
2520 \end_inset
2521
2522 A table float.
2523 \end_layout
2524
2525 \end_inset
2526
2527
2528 \end_layout
2529
2530 \begin_layout Plain Layout
2531 \align center
2532 \begin_inset Tabular
2533 <lyxtabular version="3" rows="3" columns="3">
2534 <features>
2535 <column alignment="center" valignment="top" width="0pt">
2536 <column alignment="center" valignment="top" width="0pt">
2537 <column alignment="center" valignment="top" width="0pt">
2538 <row>
2539 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2540 \begin_inset Text
2541
2542 \begin_layout Plain Layout
2543
2544 \family roman
2545 \series medium
2546 \shape up
2547 \size normal
2548 \emph off
2549 \bar no
2550 \noun off
2551 \color none
2552 1
2553 \end_layout
2554
2555 \end_inset
2556 </cell>
2557 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2558 \begin_inset Text
2559
2560 \begin_layout Plain Layout
2561
2562 \family roman
2563 \series medium
2564 \shape up
2565 \size normal
2566 \emph off
2567 \bar no
2568 \noun off
2569 \color none
2570 2
2571 \end_layout
2572
2573 \end_inset
2574 </cell>
2575 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2576 \begin_inset Text
2577
2578 \begin_layout Plain Layout
2579
2580 \family roman
2581 \series medium
2582 \shape up
2583 \size normal
2584 \emph off
2585 \bar no
2586 \noun off
2587 \color none
2588 3
2589 \end_layout
2590
2591 \end_inset
2592 </cell>
2593 </row>
2594 <row>
2595 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2596 \begin_inset Text
2597
2598 \begin_layout Plain Layout
2599
2600 \family roman
2601 \series medium
2602 \shape up
2603 \size normal
2604 \emph off
2605 \bar no
2606 \noun off
2607 \color none
2608 Joe
2609 \end_layout
2610
2611 \end_inset
2612 </cell>
2613 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2614 \begin_inset Text
2615
2616 \begin_layout Plain Layout
2617
2618 \family roman
2619 \series medium
2620 \shape up
2621 \size normal
2622 \emph off
2623 \bar no
2624 \noun off
2625 \color none
2626 Mary
2627 \end_layout
2628
2629 \end_inset
2630 </cell>
2631 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2632 \begin_inset Text
2633
2634 \begin_layout Plain Layout
2635
2636 \family roman
2637 \series medium
2638 \shape up
2639 \size normal
2640 \emph off
2641 \bar no
2642 \noun off
2643 \color none
2644 Ted
2645 \end_layout
2646
2647 \end_inset
2648 </cell>
2649 </row>
2650 <row>
2651 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2652 \begin_inset Text
2653
2654 \begin_layout Plain Layout
2655
2656 \family roman
2657 \series medium
2658 \shape up
2659 \size normal
2660 \emph off
2661 \bar no
2662 \noun off
2663 \color none
2664 \begin_inset Formula $\int x^{2}dx$
2665 \end_inset
2666
2667
2668 \end_layout
2669
2670 \end_inset
2671 </cell>
2672 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2673 \begin_inset Text
2674
2675 \begin_layout Plain Layout
2676
2677 \family roman
2678 \series medium
2679 \shape up
2680 \size normal
2681 \emph off
2682 \bar no
2683 \noun off
2684 \color none
2685 \begin_inset Formula $\left[\begin{array}{cc}
2686 a & b\\
2687 c & d\end{array}\right]$
2688 \end_inset
2689
2690
2691 \end_layout
2692
2693 \end_inset
2694 </cell>
2695 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2696 \begin_inset Text
2697
2698 \begin_layout Plain Layout
2699
2700 \family roman
2701 \series medium
2702 \shape up
2703 \size normal
2704 \emph off
2705 \bar no
2706 \noun off
2707 \color none
2708 \begin_inset Formula $1+1=2$
2709 \end_inset
2710
2711
2712 \end_layout
2713
2714 \end_inset
2715 </cell>
2716 </row>
2717 </lyxtabular>
2718
2719 \end_inset
2720
2721
2722 \end_layout
2723
2724 \end_inset
2725
2726
2727 \end_layout
2728
2729 \begin_layout Standard
2730 Table floats can be inserted using the menu 
2731 \family sans
2732 Insert\SpecialChar \menuseparator
2733 Float\SpecialChar \menuseparator
2734 Table
2735 \family default
2736  or the toolbar button 
2737 \begin_inset Graphics
2738         filename ../images/float-insert_table.png
2739         scale 85
2740         scaleBeforeRotation
2741
2742 \end_inset
2743
2744 .
2745 \end_layout
2746
2747 \begin_layout Standard
2748 The float appears as a collapsible box with a caption that has the label
2749  
2750 \begin_inset Quotes eld
2751 \end_inset
2752
2753 Table
2754 \begin_inset space ~
2755 \end_inset
2756
2757 #:
2758 \begin_inset Quotes erd
2759 \end_inset
2760
2761  (# is the actual table number).
2762  You can insert tables to the float above or below the caption.
2763 \end_layout
2764
2765 \begin_layout Standard
2766 Table
2767 \begin_inset space ~
2768 \end_inset
2769
2770
2771 \begin_inset CommandInset ref
2772 LatexCommand ref
2773 reference "tab:a table float"
2774
2775 \end_inset
2776
2777  is an example table within a table float.
2778 \end_layout
2779
2780 \begin_layout Standard
2781 Having the caption above the table is the common rule that is unfortunately
2782  not supported in LaTeX's standard classes.
2783  That means if you are using the document classes 
2784 \family sans
2785 article
2786 \family default
2787
2788 \family sans
2789 book
2790 \family default
2791
2792 \family sans
2793 letter
2794 \family default
2795 , or 
2796 \family sans
2797 report
2798 \family default
2799  there will be no space between the caption and the table.
2800  To insert the needed space, add the following option to the load command
2801  of the LaTeX-package 
2802 \series bold
2803 caption
2804 \series default
2805
2806 \begin_inset Index
2807 status collapsed
2808
2809 \begin_layout Plain Layout
2810 LaTeX-packages ! caption
2811 \end_layout
2812
2813 \end_inset
2814
2815  in your document preamble
2816 \begin_inset Foot
2817 status collapsed
2818
2819 \begin_layout Plain Layout
2820 For more information have a look at section
2821 \begin_inset space ~
2822 \end_inset
2823
2824
2825 \begin_inset CommandInset ref
2826 LatexCommand ref
2827 reference "sec:Caption-Placement"
2828
2829 \end_inset
2830
2831 .
2832 \end_layout
2833
2834 \end_inset
2835
2836 :
2837 \end_layout
2838
2839 \begin_layout Standard
2840
2841 \series bold
2842 tableposition=top
2843 \end_layout
2844
2845 \begin_layout Standard
2846 The package 
2847 \series bold
2848 caption
2849 \series default
2850 , which is described in section
2851 \begin_inset space ~
2852 \end_inset
2853
2854
2855 \begin_inset CommandInset ref
2856 LatexCommand ref
2857 reference "sec:Caption-Formatting"
2858
2859 \end_inset
2860
2861 , is used to adjust the caption format.
2862 \end_layout
2863
2864 \begin_layout Standard
2865 \begin_inset Index
2866 status collapsed
2867
2868 \begin_layout Plain Layout
2869 References ! to Tables
2870 \end_layout
2871
2872 \end_inset
2873
2874 Tables can be cross-referenced in the text by referencing their label.
2875  To do this insert a label in the caption using the menu 
2876 \family sans
2877 Insert\SpecialChar \menuseparator
2878 Label
2879 \family default
2880  or the toolbar button 
2881 \begin_inset Graphics
2882         filename ../images/label-insert.png
2883         scale 85
2884         scaleBeforeRotation
2885
2886 \end_inset
2887
2888 .
2889  You can now refer to the label using the menu 
2890 \family sans
2891 Insert\SpecialChar \menuseparator
2892 Cross
2893 \begin_inset space ~
2894 \end_inset
2895
2896 reference
2897 \family default
2898  or the toolbar button 
2899 \begin_inset Graphics
2900         filename ../images/dialog-show-new-inset_ref.png
2901         scale 85
2902         scaleBeforeRotation
2903
2904 \end_inset
2905
2906 .
2907 \begin_inset Newline newline
2908 \end_inset
2909
2910 Referencing is explained in detail in section
2911 \begin_inset space ~
2912 \end_inset
2913
2914
2915 \begin_inset CommandInset ref
2916 LatexCommand ref
2917 reference "sec:Referencing-Floats"
2918
2919 \end_inset
2920
2921 .
2922 \end_layout
2923
2924 \begin_layout Section
2925 Longtables
2926 \begin_inset CommandInset label
2927 LatexCommand label
2928 name "sec:Longtables"
2929
2930 \end_inset
2931
2932
2933 \begin_inset Index
2934 status collapsed
2935
2936 \begin_layout Plain Layout
2937 Longtables
2938 \end_layout
2939
2940 \end_inset
2941
2942
2943 \begin_inset Index
2944 status collapsed
2945
2946 \begin_layout Plain Layout
2947 Table ! Longtables
2948 \end_layout
2949
2950 \end_inset
2951
2952
2953 \end_layout
2954
2955 \begin_layout Standard
2956 If the table is too long to fit on one page, you can use the option 
2957 \family sans
2958 Use
2959 \begin_inset space ~
2960 \end_inset
2961
2962 long
2963 \begin_inset space ~
2964 \end_inset
2965
2966 table
2967 \family default
2968  in the tab 
2969 \family sans
2970 Longtable
2971 \family default
2972  of the table dialog to split the table automatically over more pages.
2973  Doing this enables the following options:
2974 \end_layout
2975
2976 \begin_layout Description
2977 Header: The current row is defined to be a header row that appears on all
2978  pages of the longtable; except for the first page, if 
2979 \family sans
2980 First
2981 \begin_inset space ~
2982 \end_inset
2983
2984 header
2985 \family default
2986  is defined.
2987  This therefore called the main header.
2988 \end_layout
2989
2990 \begin_layout Description
2991 First
2992 \begin_inset space ~
2993 \end_inset
2994
2995 header: The current row is defined to be a header row that appears on the
2996  first page of the longtable.
2997 \end_layout
2998
2999 \begin_layout Description
3000 Footer: The current row is defined to be a footer row that appears on all
3001  pages of the longtable; except for the last page, if 
3002 \family sans
3003 Last
3004 \begin_inset space ~
3005 \end_inset
3006
3007 footer
3008 \family default
3009  is defined.
3010 \end_layout
3011
3012 \begin_layout Description
3013 Last
3014 \begin_inset space ~
3015 \end_inset
3016
3017 footer: The current row is defined to be a footer row that appear on the
3018  last page of the longtable.
3019 \end_layout
3020
3021 \begin_layout Description
3022 Caption: The current row contains the table caption.
3023  The row is reset as single column and a caption is inserted.
3024  More about longtable captions is explained in sec.
3025 \begin_inset space \thinspace{}
3026 \end_inset
3027
3028
3029 \begin_inset CommandInset ref
3030 LatexCommand ref
3031 reference "sub:Longtable-Captions"
3032
3033 \end_inset
3034
3035 .
3036 \end_layout
3037
3038 \begin_layout Standard
3039 You can also specify a row where the table is split.
3040  See the following longtable to see how it works:
3041 \end_layout
3042
3043 \begin_layout Standard
3044 \align center
3045 \begin_inset Tabular
3046 <lyxtabular version="3" rows="69" columns="3">
3047 <features islongtable="true">
3048 <column alignment="left" valignment="top" width="0cm">
3049 <column alignment="left" valignment="top" width="0pt">
3050 <column alignment="center" valignment="top" width="0pt">
3051 <row endfirsthead="true">
3052 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3053 \begin_inset Text
3054
3055 \begin_layout Plain Layout
3056
3057 \series bold
3058 Example Phone List (ignore the names)
3059 \end_layout
3060
3061 \end_inset
3062 </cell>
3063 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3064 \begin_inset Text
3065
3066 \begin_layout Plain Layout
3067
3068 \end_layout
3069
3070 \end_inset
3071 </cell>
3072 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3073 \begin_inset Text
3074
3075 \begin_layout Plain Layout
3076
3077 \end_layout
3078
3079 \end_inset
3080 </cell>
3081 </row>
3082 <row endfirsthead="true">
3083 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3084 \begin_inset Text
3085
3086 \begin_layout Plain Layout
3087
3088 \series bold
3089 NAME
3090 \end_layout
3091
3092 \end_inset
3093 </cell>
3094 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3095 \begin_inset Text
3096
3097 \begin_layout Plain Layout
3098
3099 \end_layout
3100
3101 \end_inset
3102 </cell>
3103 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3104 \begin_inset Text
3105
3106 \begin_layout Plain Layout
3107
3108 \series bold
3109 TEL.
3110 \end_layout
3111
3112 \end_inset
3113 </cell>
3114 </row>
3115 <row endhead="true">
3116 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3117 \begin_inset Text
3118
3119 \begin_layout Plain Layout
3120
3121 \series bold
3122 Example Phone List
3123 \end_layout
3124
3125 \end_inset
3126 </cell>
3127 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3128 \begin_inset Text
3129
3130 \begin_layout Plain Layout
3131
3132 \end_layout
3133
3134 \end_inset
3135 </cell>
3136 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3137 \begin_inset Text
3138
3139 \begin_layout Plain Layout
3140
3141 \end_layout
3142
3143 \end_inset
3144 </cell>
3145 </row>
3146 <row endhead="true">
3147 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3148 \begin_inset Text
3149
3150 \begin_layout Plain Layout
3151
3152 \series bold
3153 NAME
3154 \end_layout
3155
3156 \end_inset
3157 </cell>
3158 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3159 \begin_inset Text
3160
3161 \begin_layout Plain Layout
3162
3163 \end_layout
3164
3165 \end_inset
3166 </cell>
3167 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3168 \begin_inset Text
3169
3170 \begin_layout Plain Layout
3171
3172 \series bold
3173 TEL.
3174 \end_layout
3175
3176 \end_inset
3177 </cell>
3178 </row>
3179 <row endfoot="true">
3180 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
3181 \begin_inset Text
3182
3183 \begin_layout Plain Layout
3184  continued on next page
3185 \end_layout
3186
3187 \end_inset
3188 </cell>
3189 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3190 \begin_inset Text
3191
3192 \begin_layout Plain Layout
3193
3194 \end_layout
3195
3196 \end_inset
3197 </cell>
3198 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3199 \begin_inset Text
3200
3201 \begin_layout Plain Layout
3202
3203 \end_layout
3204
3205 \end_inset
3206 </cell>
3207 </row>
3208 <row>
3209 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3210 \begin_inset Text
3211
3212 \begin_layout Plain Layout
3213
3214 \series bold
3215 Annovi
3216 \end_layout
3217
3218 \end_inset
3219 </cell>
3220 <cell alignment="center" valignment="top" usebox="none">
3221 \begin_inset Text
3222
3223 \begin_layout Plain Layout
3224 Silvia
3225 \end_layout
3226
3227 \end_inset
3228 </cell>
3229 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
3230 \begin_inset Text
3231
3232 \begin_layout Plain Layout
3233 111
3234 \end_layout
3235
3236 \end_inset
3237 </cell>
3238 </row>
3239 <row>
3240 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3241 \begin_inset Text
3242
3243 \begin_layout Plain Layout
3244
3245 \series bold
3246 Bertoli
3247 \end_layout
3248
3249 \end_inset
3250 </cell>
3251 <cell alignment="center" valignment="top" usebox="none">
3252 \begin_inset Text
3253
3254 \begin_layout Plain Layout
3255 Stefano
3256 \end_layout
3257
3258 \end_inset
3259 </cell>
3260 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3261 \begin_inset Text
3262
3263 \begin_layout Plain Layout
3264 111
3265 \end_layout
3266
3267 \end_inset
3268 </cell>
3269 </row>
3270 <row>
3271 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3272 \begin_inset Text
3273
3274 \begin_layout Plain Layout
3275
3276 \series bold
3277 Bozzi
3278 \end_layout
3279
3280 \end_inset
3281 </cell>
3282 <cell alignment="center" valignment="top" usebox="none">
3283 \begin_inset Text
3284
3285 \begin_layout Plain Layout
3286 Walter
3287 \end_layout
3288
3289 \end_inset
3290 </cell>
3291 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3292 \begin_inset Text
3293
3294 \begin_layout Plain Layout
3295 111
3296 \end_layout
3297
3298 \end_inset
3299 </cell>
3300 </row>
3301 <row>
3302 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3303 \begin_inset Text
3304
3305 \begin_layout Plain Layout
3306
3307 \series bold
3308 Cachia
3309 \end_layout
3310
3311 \end_inset
3312 </cell>
3313 <cell alignment="center" valignment="top" usebox="none">
3314 \begin_inset Text
3315
3316 \begin_layout Plain Layout
3317 Maria
3318 \end_layout
3319
3320 \end_inset
3321 </cell>
3322 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3323 \begin_inset Text
3324
3325 \begin_layout Plain Layout
3326 111
3327 \end_layout
3328
3329 \end_inset
3330 </cell>
3331 </row>
3332 <row>
3333 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3334 \begin_inset Text
3335
3336 \begin_layout Plain Layout
3337
3338 \series bold
3339 Cachia
3340 \end_layout
3341
3342 \end_inset
3343 </cell>
3344 <cell alignment="center" valignment="top" usebox="none">
3345 \begin_inset Text
3346
3347 \begin_layout Plain Layout
3348 Maurizio
3349 \end_layout
3350
3351 \end_inset
3352 </cell>
3353 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3354 \begin_inset Text
3355
3356 \begin_layout Plain Layout
3357 111
3358 \end_layout
3359
3360 \end_inset
3361 </cell>
3362 </row>
3363 <row>
3364 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3365 \begin_inset Text
3366
3367 \begin_layout Plain Layout
3368
3369 \series bold
3370 Cinquemani
3371 \end_layout
3372
3373 \end_inset
3374 </cell>
3375 <cell alignment="center" valignment="top" usebox="none">
3376 \begin_inset Text
3377
3378 \begin_layout Plain Layout
3379 Giusi
3380 \end_layout
3381
3382 \end_inset
3383 </cell>
3384 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3385 \begin_inset Text
3386
3387 \begin_layout Plain Layout
3388 111
3389 \end_layout
3390
3391 \end_inset
3392 </cell>
3393 </row>
3394 <row>
3395 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3396 \begin_inset Text
3397
3398 \begin_layout Plain Layout
3399
3400 \series bold
3401 Colin
3402 \end_layout
3403
3404 \end_inset
3405 </cell>
3406 <cell alignment="center" valignment="top" usebox="none">
3407 \begin_inset Text
3408
3409 \begin_layout Plain Layout
3410 Bernard
3411 \end_layout
3412
3413 \end_inset
3414 </cell>
3415 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3416 \begin_inset Text
3417
3418 \begin_layout Plain Layout
3419 111
3420 \end_layout
3421
3422 \end_inset
3423 </cell>
3424 </row>
3425 <row>
3426 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3427 \begin_inset Text
3428
3429 \begin_layout Plain Layout
3430
3431 \series bold
3432 Concli
3433 \end_layout
3434
3435 \end_inset
3436 </cell>
3437 <cell alignment="center" valignment="top" usebox="none">
3438 \begin_inset Text
3439
3440 \begin_layout Plain Layout
3441 Gianfranco
3442 \end_layout
3443
3444 \end_inset
3445 </cell>
3446 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3447 \begin_inset Text
3448
3449 \begin_layout Plain Layout
3450 111
3451 \end_layout
3452
3453 \end_inset
3454 </cell>
3455 </row>
3456 <row>
3457 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3458 \begin_inset Text
3459
3460 \begin_layout Plain Layout
3461
3462 \series bold
3463 Dal Bosco
3464 \end_layout
3465
3466 \end_inset
3467 </cell>
3468 <cell alignment="center" valignment="top" usebox="none">
3469 \begin_inset Text
3470
3471 \begin_layout Plain Layout
3472 Carolina
3473 \end_layout
3474
3475 \end_inset
3476 </cell>
3477 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3478 \begin_inset Text
3479
3480 \begin_layout Plain Layout
3481 111
3482 \end_layout
3483
3484 \end_inset
3485 </cell>
3486 </row>
3487 <row>
3488 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3489 \begin_inset Text
3490
3491 \begin_layout Plain Layout
3492
3493 \series bold
3494 Dalpiaz
3495 \end_layout
3496
3497 \end_inset
3498 </cell>
3499 <cell alignment="center" valignment="top" usebox="none">
3500 \begin_inset Text
3501
3502 \begin_layout Plain Layout
3503 Annamaria
3504 \end_layout
3505
3506 \end_inset
3507 </cell>
3508 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3509 \begin_inset Text
3510
3511 \begin_layout Plain Layout
3512 111
3513 \end_layout
3514
3515 \end_inset
3516 </cell>
3517 </row>
3518 <row>
3519 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3520 \begin_inset Text
3521
3522 \begin_layout Plain Layout
3523
3524 \series bold
3525 Feliciello
3526 \end_layout
3527
3528 \end_inset
3529 </cell>
3530 <cell alignment="center" valignment="top" usebox="none">
3531 \begin_inset Text
3532
3533 \begin_layout Plain Layout
3534 Domenico
3535 \end_layout
3536
3537 \end_inset
3538 </cell>
3539 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3540 \begin_inset Text
3541
3542 \begin_layout Plain Layout
3543 111
3544 \end_layout
3545
3546 \end_inset
3547 </cell>
3548 </row>
3549 <row>
3550 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3551 \begin_inset Text
3552
3553 \begin_layout Plain Layout
3554
3555 \series bold
3556 Focarelli
3557 \end_layout
3558
3559 \end_inset
3560 </cell>
3561 <cell alignment="center" valignment="top" usebox="none">
3562 \begin_inset Text
3563
3564 \begin_layout Plain Layout
3565 Paola
3566 \end_layout
3567
3568 \end_inset
3569 </cell>
3570 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3571 \begin_inset Text
3572
3573 \begin_layout Plain Layout
3574 111
3575 \end_layout
3576
3577 \end_inset
3578 </cell>
3579 </row>
3580 <row>
3581 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3582 \begin_inset Text
3583
3584 \begin_layout Plain Layout
3585
3586 \series bold
3587 Galletti
3588 \end_layout
3589
3590 \end_inset
3591 </cell>
3592 <cell alignment="center" valignment="top" usebox="none">
3593 \begin_inset Text
3594
3595 \begin_layout Plain Layout
3596 Oreste
3597 \end_layout
3598
3599 \end_inset
3600 </cell>
3601 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3602 \begin_inset Text
3603
3604 \begin_layout Plain Layout
3605 111
3606 \end_layout
3607
3608 \end_inset
3609 </cell>
3610 </row>
3611 <row>
3612 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3613 \begin_inset Text
3614
3615 \begin_layout Plain Layout
3616
3617 \series bold
3618 Gasparini
3619 \end_layout
3620
3621 \end_inset
3622 </cell>
3623 <cell alignment="center" valignment="top" usebox="none">
3624 \begin_inset Text
3625
3626 \begin_layout Plain Layout
3627 Franca
3628 \end_layout
3629
3630 \end_inset
3631 </cell>
3632 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3633 \begin_inset Text
3634
3635 \begin_layout Plain Layout
3636 111
3637 \end_layout
3638
3639 \end_inset
3640 </cell>
3641 </row>
3642 <row>
3643 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3644 \begin_inset Text
3645
3646 \begin_layout Plain Layout
3647
3648 \series bold
3649 Rizzardi
3650 \end_layout
3651
3652 \end_inset
3653 </cell>
3654 <cell alignment="center" valignment="top" usebox="none">
3655 \begin_inset Text
3656
3657 \begin_layout Plain Layout
3658 Paola
3659 \end_layout
3660
3661 \end_inset
3662 </cell>
3663 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3664 \begin_inset Text
3665
3666 \begin_layout Plain Layout
3667 111
3668 \end_layout
3669
3670 \end_inset
3671 </cell>
3672 </row>
3673 <row>
3674 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3675 \begin_inset Text
3676
3677 \begin_layout Plain Layout
3678
3679 \series bold
3680 Lassini
3681 \end_layout
3682
3683 \end_inset
3684 </cell>
3685 <cell alignment="center" valignment="top" usebox="none">
3686 \begin_inset Text
3687
3688 \begin_layout Plain Layout
3689 Giancarlo
3690 \end_layout
3691
3692 \end_inset
3693 </cell>
3694 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3695 \begin_inset Text
3696
3697 \begin_layout Plain Layout
3698 111
3699 \end_layout
3700
3701 \end_inset
3702 </cell>
3703 </row>
3704 <row>
3705 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3706 \begin_inset Text
3707
3708 \begin_layout Plain Layout
3709
3710 \series bold
3711 Malfatti
3712 \end_layout
3713
3714 \end_inset
3715 </cell>
3716 <cell alignment="center" valignment="top" usebox="none">
3717 \begin_inset Text
3718
3719 \begin_layout Plain Layout
3720 Luciano
3721 \end_layout
3722
3723 \end_inset
3724 </cell>
3725 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3726 \begin_inset Text
3727
3728 \begin_layout Plain Layout
3729 111
3730 \end_layout
3731
3732 \end_inset
3733 </cell>
3734 </row>
3735 <row>
3736 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3737 \begin_inset Text
3738
3739 \begin_layout Plain Layout
3740
3741 \series bold
3742 Malfatti
3743 \end_layout
3744
3745 \end_inset
3746 </cell>
3747 <cell alignment="center" valignment="top" usebox="none">
3748 \begin_inset Text
3749
3750 \begin_layout Plain Layout
3751 Valeriano
3752 \end_layout
3753
3754 \end_inset
3755 </cell>
3756 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3757 \begin_inset Text
3758
3759 \begin_layout Plain Layout
3760 111
3761 \end_layout
3762
3763 \end_inset
3764 </cell>
3765 </row>
3766 <row>
3767 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3768 \begin_inset Text
3769
3770 \begin_layout Plain Layout
3771
3772 \series bold
3773 Meneguzzo
3774 \end_layout
3775
3776 \end_inset
3777 </cell>
3778 <cell alignment="center" valignment="top" usebox="none">
3779 \begin_inset Text
3780
3781 \begin_layout Plain Layout
3782 Roberto
3783 \end_layout
3784
3785 \end_inset
3786 </cell>
3787 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3788 \begin_inset Text
3789
3790 \begin_layout Plain Layout
3791 111
3792 \end_layout
3793
3794 \end_inset
3795 </cell>
3796 </row>
3797 <row>
3798 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3799 \begin_inset Text
3800
3801 \begin_layout Plain Layout
3802
3803 \series bold
3804 Mezzadra
3805 \end_layout
3806
3807 \end_inset
3808 </cell>
3809 <cell alignment="center" valignment="top" usebox="none">
3810 \begin_inset Text
3811
3812 \begin_layout Plain Layout
3813 Roberto
3814 \end_layout
3815
3816 \end_inset
3817 </cell>
3818 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3819 \begin_inset Text
3820
3821 \begin_layout Plain Layout
3822 111
3823 \end_layout
3824
3825 \end_inset
3826 </cell>
3827 </row>
3828 <row>
3829 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3830 \begin_inset Text
3831
3832 \begin_layout Plain Layout
3833
3834 \series bold
3835 Pirpamer
3836 \end_layout
3837
3838 \end_inset
3839 </cell>
3840 <cell alignment="center" valignment="top" usebox="none">
3841 \begin_inset Text
3842
3843 \begin_layout Plain Layout
3844 Erich
3845 \end_layout
3846
3847 \end_inset
3848 </cell>
3849 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3850 \begin_inset Text
3851
3852 \begin_layout Plain Layout
3853 111
3854 \end_layout
3855
3856 \end_inset
3857 </cell>
3858 </row>
3859 <row>
3860 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3861 \begin_inset Text
3862
3863 \begin_layout Plain Layout
3864
3865 \series bold
3866 Pochiesa
3867 \end_layout
3868
3869 \end_inset
3870 </cell>
3871 <cell alignment="center" valignment="top" usebox="none">
3872 \begin_inset Text
3873
3874 \begin_layout Plain Layout
3875 Paolo
3876 \end_layout
3877
3878 \end_inset
3879 </cell>
3880 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3881 \begin_inset Text
3882
3883 \begin_layout Plain Layout
3884 111, 222
3885 \end_layout
3886
3887 \end_inset
3888 </cell>
3889 </row>
3890 <row>
3891 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3892 \begin_inset Text
3893
3894 \begin_layout Plain Layout
3895
3896 \series bold
3897 Radina
3898 \end_layout
3899
3900 \end_inset
3901 </cell>
3902 <cell alignment="center" valignment="top" usebox="none">
3903 \begin_inset Text
3904
3905 \begin_layout Plain Layout
3906 Claudio
3907 \end_layout
3908
3909 \end_inset
3910 </cell>
3911 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3912 \begin_inset Text
3913
3914 \begin_layout Plain Layout
3915 111
3916 \end_layout
3917
3918 \end_inset
3919 </cell>
3920 </row>
3921 <row>
3922 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3923 \begin_inset Text
3924
3925 \begin_layout Plain Layout
3926
3927 \series bold
3928 Stuffer
3929 \end_layout
3930
3931 \end_inset
3932 </cell>
3933 <cell alignment="center" valignment="top" usebox="none">
3934 \begin_inset Text
3935
3936 \begin_layout Plain Layout
3937 Oskar
3938 \end_layout
3939
3940 \end_inset
3941 </cell>
3942 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3943 \begin_inset Text
3944
3945 \begin_layout Plain Layout
3946 111
3947 \end_layout
3948
3949 \end_inset
3950 </cell>
3951 </row>
3952 <row>
3953 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3954 \begin_inset Text
3955
3956 \begin_layout Plain Layout
3957
3958 \series bold
3959 Tacchelli
3960 \end_layout
3961
3962 \end_inset
3963 </cell>
3964 <cell alignment="center" valignment="top" usebox="none">
3965 \begin_inset Text
3966
3967 \begin_layout Plain Layout
3968 Ugo
3969 \end_layout
3970
3971 \end_inset
3972 </cell>
3973 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3974 \begin_inset Text
3975
3976 \begin_layout Plain Layout
3977 111
3978 \end_layout
3979
3980 \end_inset
3981 </cell>
3982 </row>
3983 <row>
3984 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3985 \begin_inset Text
3986
3987 \begin_layout Plain Layout
3988
3989 \series bold
3990 Tezzele
3991 \end_layout
3992
3993 \end_inset
3994 </cell>
3995 <cell alignment="center" valignment="top" usebox="none">
3996 \begin_inset Text
3997
3998 \begin_layout Plain Layout
3999 Margit
4000 \end_layout
4001
4002 \end_inset
4003 </cell>
4004 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4005 \begin_inset Text
4006
4007 \begin_layout Plain Layout
4008 111
4009 \end_layout
4010
4011 \end_inset
4012 </cell>
4013 </row>
4014 <row>
4015 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4016 \begin_inset Text
4017
4018 \begin_layout Plain Layout
4019
4020 \series bold
4021 Unterkalmsteiner
4022 \end_layout
4023
4024 \end_inset
4025 </cell>
4026 <cell alignment="center" valignment="top" usebox="none">
4027 \begin_inset Text
4028
4029 \begin_layout Plain Layout
4030 Frieda
4031 \end_layout
4032
4033 \end_inset
4034 </cell>
4035 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4036 \begin_inset Text
4037
4038 \begin_layout Plain Layout
4039 111
4040 \end_layout
4041
4042 \end_inset
4043 </cell>
4044 </row>
4045 <row>
4046 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4047 \begin_inset Text
4048
4049 \begin_layout Plain Layout
4050
4051 \series bold
4052 Vieider
4053 \end_layout
4054
4055 \end_inset
4056 </cell>
4057 <cell alignment="center" valignment="top" usebox="none">
4058 \begin_inset Text
4059
4060 \begin_layout Plain Layout
4061 Hilde
4062 \end_layout
4063
4064 \end_inset
4065 </cell>
4066 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4067 \begin_inset Text
4068
4069 \begin_layout Plain Layout
4070 111
4071 \end_layout
4072
4073 \end_inset
4074 </cell>
4075 </row>
4076 <row>
4077 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4078 \begin_inset Text
4079
4080 \begin_layout Plain Layout
4081
4082 \series bold
4083 Vigna
4084 \end_layout
4085
4086 \end_inset
4087 </cell>
4088 <cell alignment="center" valignment="top" usebox="none">
4089 \begin_inset Text
4090
4091 \begin_layout Plain Layout
4092 Jürgen
4093 \end_layout
4094
4095 \end_inset
4096 </cell>
4097 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4098 \begin_inset Text
4099
4100 \begin_layout Plain Layout
4101 111
4102 \end_layout
4103
4104 \end_inset
4105 </cell>
4106 </row>
4107 <row>
4108 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4109 \begin_inset Text
4110
4111 \begin_layout Plain Layout
4112
4113 \series bold
4114 Weber
4115 \end_layout
4116
4117 \end_inset
4118 </cell>
4119 <cell alignment="center" valignment="top" usebox="none">
4120 \begin_inset Text
4121
4122 \begin_layout Plain Layout
4123 Maurizio
4124 \end_layout
4125
4126 \end_inset
4127 </cell>
4128 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4129 \begin_inset Text
4130
4131 \begin_layout Plain Layout
4132 111
4133 \end_layout
4134
4135 \end_inset
4136 </cell>
4137 </row>
4138 <row>
4139 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
4140 \begin_inset Text
4141
4142 \begin_layout Plain Layout
4143
4144 \series bold
4145 Winkler
4146 \end_layout
4147
4148 \end_inset
4149 </cell>
4150 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4151 \begin_inset Text
4152
4153 \begin_layout Plain Layout
4154 Franz
4155 \end_layout
4156
4157 \end_inset
4158 </cell>
4159 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4160 \begin_inset Text
4161
4162 \begin_layout Plain Layout
4163 111
4164 \end_layout
4165
4166 \end_inset
4167 </cell>
4168 </row>
4169 <row>
4170 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4171 \begin_inset Text
4172
4173 \begin_layout Plain Layout
4174  
4175 \end_layout
4176
4177 \end_inset
4178 </cell>
4179 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4180 \begin_inset Text
4181
4182 \begin_layout Plain Layout
4183
4184 \end_layout
4185
4186 \end_inset
4187 </cell>
4188 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4189 \begin_inset Text
4190
4191 \begin_layout Plain Layout
4192
4193 \end_layout
4194
4195 \end_inset
4196 </cell>
4197 </row>
4198 <row>
4199 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4200 \begin_inset Text
4201
4202 \begin_layout Plain Layout
4203
4204 \series bold
4205 Annovi
4206 \end_layout
4207
4208 \end_inset
4209 </cell>
4210 <cell alignment="center" valignment="top" usebox="none">
4211 \begin_inset Text
4212
4213 \begin_layout Plain Layout
4214 Silvia
4215 \end_layout
4216
4217 \end_inset
4218 </cell>
4219 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4220 \begin_inset Text
4221
4222 \begin_layout Plain Layout
4223 555
4224 \end_layout
4225
4226 \end_inset
4227 </cell>
4228 </row>
4229 <row>
4230 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4231 \begin_inset Text
4232
4233 \begin_layout Plain Layout
4234
4235 \series bold
4236 Bertoli
4237 \end_layout
4238
4239 \end_inset
4240 </cell>
4241 <cell alignment="center" valignment="top" usebox="none">
4242 \begin_inset Text
4243
4244 \begin_layout Plain Layout
4245 Stefano
4246 \end_layout
4247
4248 \end_inset
4249 </cell>
4250 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4251 \begin_inset Text
4252
4253 \begin_layout Plain Layout
4254 555
4255 \end_layout
4256
4257 \end_inset
4258 </cell>
4259 </row>
4260 <row>
4261 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4262 \begin_inset Text
4263
4264 \begin_layout Plain Layout
4265
4266 \series bold
4267 Bozzi
4268 \end_layout
4269
4270 \end_inset
4271 </cell>
4272 <cell alignment="center" valignment="top" usebox="none">
4273 \begin_inset Text
4274
4275 \begin_layout Plain Layout
4276 Walter
4277 \end_layout
4278
4279 \end_inset
4280 </cell>
4281 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4282 \begin_inset Text
4283
4284 \begin_layout Plain Layout
4285 555
4286 \end_layout
4287
4288 \end_inset
4289 </cell>
4290 </row>
4291 <row>
4292 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4293 \begin_inset Text
4294
4295 \begin_layout Plain Layout
4296
4297 \series bold
4298 Cachia
4299 \end_layout
4300
4301 \end_inset
4302 </cell>
4303 <cell alignment="center" valignment="top" usebox="none">
4304 \begin_inset Text
4305
4306 \begin_layout Plain Layout
4307 Maria
4308 \end_layout
4309
4310 \end_inset
4311 </cell>
4312 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4313 \begin_inset Text
4314
4315 \begin_layout Plain Layout
4316 555
4317 \end_layout
4318
4319 \end_inset
4320 </cell>
4321 </row>
4322 <row>
4323 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4324 \begin_inset Text
4325
4326 \begin_layout Plain Layout
4327
4328 \series bold
4329 Cachia
4330 \end_layout
4331
4332 \end_inset
4333 </cell>
4334 <cell alignment="center" valignment="top" usebox="none">
4335 \begin_inset Text
4336
4337 \begin_layout Plain Layout
4338 Maurizio
4339 \end_layout
4340
4341 \end_inset
4342 </cell>
4343 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4344 \begin_inset Text
4345
4346 \begin_layout Plain Layout
4347 555
4348 \end_layout
4349
4350 \end_inset
4351 </cell>
4352 </row>
4353 <row>
4354 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4355 \begin_inset Text
4356
4357 \begin_layout Plain Layout
4358
4359 \series bold
4360 Cinquemani
4361 \end_layout
4362
4363 \end_inset
4364 </cell>
4365 <cell alignment="center" valignment="top" usebox="none">
4366 \begin_inset Text
4367
4368 \begin_layout Plain Layout
4369 Giusi
4370 \end_layout
4371
4372 \end_inset
4373 </cell>
4374 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4375 \begin_inset Text
4376
4377 \begin_layout Plain Layout
4378 555
4379 \end_layout
4380
4381 \end_inset
4382 </cell>
4383 </row>
4384 <row>
4385 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4386 \begin_inset Text
4387
4388 \begin_layout Plain Layout
4389
4390 \series bold
4391 Colin
4392 \end_layout
4393
4394 \end_inset
4395 </cell>
4396 <cell alignment="center" valignment="top" usebox="none">
4397 \begin_inset Text
4398
4399 \begin_layout Plain Layout
4400 Bernard
4401 \end_layout
4402
4403 \end_inset
4404 </cell>
4405 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4406 \begin_inset Text
4407
4408 \begin_layout Plain Layout
4409 555
4410 \end_layout
4411
4412 \end_inset
4413 </cell>
4414 </row>
4415 <row>
4416 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4417 \begin_inset Text
4418
4419 \begin_layout Plain Layout
4420
4421 \series bold
4422 Concli
4423 \end_layout
4424
4425 \end_inset
4426 </cell>
4427 <cell alignment="center" valignment="top" usebox="none">
4428 \begin_inset Text
4429
4430 \begin_layout Plain Layout
4431 Gianfranco
4432 \end_layout
4433
4434 \end_inset
4435 </cell>
4436 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4437 \begin_inset Text
4438
4439 \begin_layout Plain Layout
4440 555
4441 \end_layout
4442
4443 \end_inset
4444 </cell>
4445 </row>
4446 <row>
4447 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4448 \begin_inset Text
4449
4450 \begin_layout Plain Layout
4451
4452 \series bold
4453 Dal Bosco
4454 \end_layout
4455
4456 \end_inset
4457 </cell>
4458 <cell alignment="center" valignment="top" usebox="none">
4459 \begin_inset Text
4460
4461 \begin_layout Plain Layout
4462 Carolina
4463 \end_layout
4464
4465 \end_inset
4466 </cell>
4467 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4468 \begin_inset Text
4469
4470 \begin_layout Plain Layout
4471 555
4472 \end_layout
4473
4474 \end_inset
4475 </cell>
4476 </row>
4477 <row>
4478 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4479 \begin_inset Text
4480
4481 \begin_layout Plain Layout
4482
4483 \series bold
4484 Dalpiaz
4485 \end_layout
4486
4487 \end_inset
4488 </cell>
4489 <cell alignment="center" valignment="top" usebox="none">
4490 \begin_inset Text
4491
4492 \begin_layout Plain Layout
4493 Annamaria
4494 \end_layout
4495
4496 \end_inset
4497 </cell>
4498 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4499 \begin_inset Text
4500
4501 \begin_layout Plain Layout
4502 555
4503 \end_layout
4504
4505 \end_inset
4506 </cell>
4507 </row>
4508 <row>
4509 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4510 \begin_inset Text
4511
4512 \begin_layout Plain Layout
4513
4514 \series bold
4515 Feliciello
4516 \end_layout
4517
4518 \end_inset
4519 </cell>
4520 <cell alignment="center" valignment="top" usebox="none">
4521 \begin_inset Text
4522
4523 \begin_layout Plain Layout
4524 Domenico
4525 \end_layout
4526
4527 \end_inset
4528 </cell>
4529 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4530 \begin_inset Text
4531
4532 \begin_layout Plain Layout
4533 555
4534 \end_layout
4535
4536 \end_inset
4537 </cell>
4538 </row>
4539 <row>
4540 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4541 \begin_inset Text
4542
4543 \begin_layout Plain Layout
4544
4545 \series bold
4546 Focarelli
4547 \end_layout
4548
4549 \end_inset
4550 </cell>
4551 <cell alignment="center" valignment="top" usebox="none">
4552 \begin_inset Text
4553
4554 \begin_layout Plain Layout
4555 Paola
4556 \end_layout
4557
4558 \end_inset
4559 </cell>
4560 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4561 \begin_inset Text
4562
4563 \begin_layout Plain Layout
4564 555
4565 \end_layout
4566
4567 \end_inset
4568 </cell>
4569 </row>
4570 <row>
4571 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4572 \begin_inset Text
4573
4574 \begin_layout Plain Layout
4575
4576 \series bold
4577 Galletti
4578 \end_layout
4579
4580 \end_inset
4581 </cell>
4582 <cell alignment="center" valignment="top" usebox="none">
4583 \begin_inset Text
4584
4585 \begin_layout Plain Layout
4586 Oreste
4587 \end_layout
4588
4589 \end_inset
4590 </cell>
4591 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4592 \begin_inset Text
4593
4594 \begin_layout Plain Layout
4595 555
4596 \end_layout
4597
4598 \end_inset
4599 </cell>
4600 </row>
4601 <row>
4602 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4603 \begin_inset Text
4604
4605 \begin_layout Plain Layout
4606
4607 \series bold
4608 Gasparini
4609 \end_layout
4610
4611 \end_inset
4612 </cell>
4613 <cell alignment="center" valignment="top" usebox="none">
4614 \begin_inset Text
4615
4616 \begin_layout Plain Layout
4617 Franca
4618 \end_layout
4619
4620 \end_inset
4621 </cell>
4622 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4623 \begin_inset Text
4624
4625 \begin_layout Plain Layout
4626 555
4627 \end_layout
4628
4629 \end_inset
4630 </cell>
4631 </row>
4632 <row>
4633 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4634 \begin_inset Text
4635
4636 \begin_layout Plain Layout
4637
4638 \series bold
4639 Rizzardi
4640 \end_layout
4641
4642 \end_inset
4643 </cell>
4644 <cell alignment="center" valignment="top" usebox="none">
4645 \begin_inset Text
4646
4647 \begin_layout Plain Layout
4648 Paola
4649 \end_layout
4650
4651 \end_inset
4652 </cell>
4653 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4654 \begin_inset Text
4655
4656 \begin_layout Plain Layout
4657 555
4658 \end_layout
4659
4660 \end_inset
4661 </cell>
4662 </row>
4663 <row>
4664 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4665 \begin_inset Text
4666
4667 \begin_layout Plain Layout
4668
4669 \series bold
4670 Lassini
4671 \end_layout
4672
4673 \end_inset
4674 </cell>
4675 <cell alignment="center" valignment="top" usebox="none">
4676 \begin_inset Text
4677
4678 \begin_layout Plain Layout
4679 Giancarlo
4680 \end_layout
4681
4682 \end_inset
4683 </cell>
4684 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4685 \begin_inset Text
4686
4687 \begin_layout Plain Layout
4688 555
4689 \end_layout
4690
4691 \end_inset
4692 </cell>
4693 </row>
4694 <row>
4695 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4696 \begin_inset Text
4697
4698 \begin_layout Plain Layout
4699
4700 \series bold
4701 Malfatti
4702 \end_layout
4703
4704 \end_inset
4705 </cell>
4706 <cell alignment="center" valignment="top" usebox="none">
4707 \begin_inset Text
4708
4709 \begin_layout Plain Layout
4710 Luciano
4711 \end_layout
4712
4713 \end_inset
4714 </cell>
4715 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4716 \begin_inset Text
4717
4718 \begin_layout Plain Layout
4719 555
4720 \end_layout
4721
4722 \end_inset
4723 </cell>
4724 </row>
4725 <row>
4726 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4727 \begin_inset Text
4728
4729 \begin_layout Plain Layout
4730
4731 \series bold
4732 Malfatti
4733 \end_layout
4734
4735 \end_inset
4736 </cell>
4737 <cell alignment="center" valignment="top" usebox="none">
4738 \begin_inset Text
4739
4740 \begin_layout Plain Layout
4741 Valeriano
4742 \end_layout
4743
4744 \end_inset
4745 </cell>
4746 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4747 \begin_inset Text
4748
4749 \begin_layout Plain Layout
4750 555
4751 \end_layout
4752
4753 \end_inset
4754 </cell>
4755 </row>
4756 <row>
4757 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4758 \begin_inset Text
4759
4760 \begin_layout Plain Layout
4761
4762 \series bold
4763 Meneguzzo
4764 \end_layout
4765
4766 \end_inset
4767 </cell>
4768 <cell alignment="center" valignment="top" usebox="none">
4769 \begin_inset Text
4770
4771 \begin_layout Plain Layout
4772 Roberto
4773 \end_layout
4774
4775 \end_inset
4776 </cell>
4777 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4778 \begin_inset Text
4779
4780 \begin_layout Plain Layout
4781 555
4782 \end_layout
4783
4784 \end_inset
4785 </cell>
4786 </row>
4787 <row>
4788 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4789 \begin_inset Text
4790
4791 \begin_layout Plain Layout
4792
4793 \series bold
4794 Mezzadra
4795 \end_layout
4796
4797 \end_inset
4798 </cell>
4799 <cell alignment="center" valignment="top" usebox="none">
4800 \begin_inset Text
4801
4802 \begin_layout Plain Layout
4803 Roberto
4804 \end_layout
4805
4806 \end_inset
4807 </cell>
4808 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4809 \begin_inset Text
4810
4811 \begin_layout Plain Layout
4812 555
4813 \end_layout
4814
4815 \end_inset
4816 </cell>
4817 </row>
4818 <row>
4819 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4820 \begin_inset Text
4821
4822 \begin_layout Plain Layout
4823
4824 \series bold
4825 Pirpamer
4826 \end_layout
4827
4828 \end_inset
4829 </cell>
4830 <cell alignment="center" valignment="top" usebox="none">
4831 \begin_inset Text
4832
4833 \begin_layout Plain Layout
4834 Erich
4835 \end_layout
4836
4837 \end_inset
4838 </cell>
4839 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4840 \begin_inset Text
4841
4842 \begin_layout Plain Layout
4843 555
4844 \end_layout
4845
4846 \end_inset
4847 </cell>
4848 </row>
4849 <row>
4850 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4851 \begin_inset Text
4852
4853 \begin_layout Plain Layout
4854
4855 \series bold
4856 Pochiesa
4857 \end_layout
4858
4859 \end_inset
4860 </cell>
4861 <cell alignment="center" valignment="top" usebox="none">
4862 \begin_inset Text
4863
4864 \begin_layout Plain Layout
4865 Paolo
4866 \end_layout
4867
4868 \end_inset
4869 </cell>
4870 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4871 \begin_inset Text
4872
4873 \begin_layout Plain Layout
4874 555, 222
4875 \end_layout
4876
4877 \end_inset
4878 </cell>
4879 </row>
4880 <row>
4881 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4882 \begin_inset Text
4883
4884 \begin_layout Plain Layout
4885
4886 \series bold
4887 Radina
4888 \end_layout
4889
4890 \end_inset
4891 </cell>
4892 <cell alignment="center" valignment="top" usebox="none">
4893 \begin_inset Text
4894
4895 \begin_layout Plain Layout
4896 Claudio
4897 \end_layout
4898
4899 \end_inset
4900 </cell>
4901 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4902 \begin_inset Text
4903
4904 \begin_layout Plain Layout
4905 555
4906 \end_layout
4907
4908 \end_inset
4909 </cell>
4910 </row>
4911 <row>
4912 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4913 \begin_inset Text
4914
4915 \begin_layout Plain Layout
4916
4917 \series bold
4918 Stuffer
4919 \end_layout
4920
4921 \end_inset
4922 </cell>
4923 <cell alignment="center" valignment="top" usebox="none">
4924 \begin_inset Text
4925
4926 \begin_layout Plain Layout
4927 Oskar
4928 \end_layout
4929
4930 \end_inset
4931 </cell>
4932 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4933 \begin_inset Text
4934
4935 \begin_layout Plain Layout
4936 555
4937 \end_layout
4938
4939 \end_inset
4940 </cell>
4941 </row>
4942 <row>
4943 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4944 \begin_inset Text
4945
4946 \begin_layout Plain Layout
4947
4948 \series bold
4949 Tacchelli
4950 \end_layout
4951
4952 \end_inset
4953 </cell>
4954 <cell alignment="center" valignment="top" usebox="none">
4955 \begin_inset Text
4956
4957 \begin_layout Plain Layout
4958 Ugo
4959 \end_layout
4960
4961 \end_inset
4962 </cell>
4963 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4964 \begin_inset Text
4965
4966 \begin_layout Plain Layout
4967 555
4968 \end_layout
4969
4970 \end_inset
4971 </cell>
4972 </row>
4973 <row>
4974 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4975 \begin_inset Text
4976
4977 \begin_layout Plain Layout
4978
4979 \series bold
4980 Tezzele
4981 \end_layout
4982
4983 \end_inset
4984 </cell>
4985 <cell alignment="center" valignment="top" usebox="none">
4986 \begin_inset Text
4987
4988 \begin_layout Plain Layout
4989 Margit
4990 \end_layout
4991
4992 \end_inset
4993 </cell>
4994 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4995 \begin_inset Text
4996
4997 \begin_layout Plain Layout
4998 555
4999 \end_layout
5000
5001 \end_inset
5002 </cell>
5003 </row>
5004 <row>
5005 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5006 \begin_inset Text
5007
5008 \begin_layout Plain Layout
5009
5010 \series bold
5011 Unterkalmsteiner
5012 \end_layout
5013
5014 \end_inset
5015 </cell>
5016 <cell alignment="center" valignment="top" usebox="none">
5017 \begin_inset Text
5018
5019 \begin_layout Plain Layout
5020 Frieda
5021 \end_layout
5022
5023 \end_inset
5024 </cell>
5025 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5026 \begin_inset Text
5027
5028 \begin_layout Plain Layout
5029 555
5030 \end_layout
5031
5032 \end_inset
5033 </cell>
5034 </row>
5035 <row>
5036 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5037 \begin_inset Text
5038
5039 \begin_layout Plain Layout
5040
5041 \series bold
5042 Vieider
5043 \end_layout
5044
5045 \end_inset
5046 </cell>
5047 <cell alignment="center" valignment="top" usebox="none">
5048 \begin_inset Text
5049
5050 \begin_layout Plain Layout
5051 Hilde
5052 \end_layout
5053
5054 \end_inset
5055 </cell>
5056 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5057 \begin_inset Text
5058
5059 \begin_layout Plain Layout
5060 555
5061 \end_layout
5062
5063 \end_inset
5064 </cell>
5065 </row>
5066 <row>
5067 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5068 \begin_inset Text
5069
5070 \begin_layout Plain Layout
5071
5072 \series bold
5073 Vigna
5074 \end_layout
5075
5076 \end_inset
5077 </cell>
5078 <cell alignment="center" valignment="top" usebox="none">
5079 \begin_inset Text
5080
5081 \begin_layout Plain Layout
5082 Jürgen
5083 \end_layout
5084
5085 \end_inset
5086 </cell>
5087 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5088 \begin_inset Text
5089
5090 \begin_layout Plain Layout
5091 999
5092 \end_layout
5093
5094 \end_inset
5095 </cell>
5096 </row>
5097 <row>
5098 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5099 \begin_inset Text
5100
5101 \begin_layout Plain Layout
5102
5103 \series bold
5104 Weber
5105 \end_layout
5106
5107 \end_inset
5108 </cell>
5109 <cell alignment="center" valignment="top" usebox="none">
5110 \begin_inset Text
5111
5112 \begin_layout Plain Layout
5113 Maurizio
5114 \end_layout
5115
5116 \end_inset
5117 </cell>
5118 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5119 \begin_inset Text
5120
5121 \begin_layout Plain Layout
5122 555
5123 \end_layout
5124
5125 \end_inset
5126 </cell>
5127 </row>
5128 <row>
5129 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
5130 \begin_inset Text
5131
5132 \begin_layout Plain Layout
5133
5134 \series bold
5135 Winkler
5136 \end_layout
5137
5138 \end_inset
5139 </cell>
5140 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
5141 \begin_inset Text
5142
5143 \begin_layout Plain Layout
5144 Franz
5145 \end_layout
5146
5147 \end_inset
5148 </cell>
5149 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
5150 \begin_inset Text
5151
5152 \begin_layout Plain Layout
5153 555
5154 \end_layout
5155
5156 \end_inset
5157 </cell>
5158 </row>
5159 <row endlastfoot="true">
5160 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
5161 \begin_inset Text
5162
5163 \begin_layout Plain Layout
5164 end
5165 \end_layout
5166
5167 \end_inset
5168 </cell>
5169 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
5170 \begin_inset Text
5171
5172 \begin_layout Plain Layout
5173
5174 \end_layout
5175
5176 \end_inset
5177 </cell>
5178 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5179 \begin_inset Text
5180
5181 \begin_layout Plain Layout
5182
5183 \end_layout
5184
5185 \end_inset
5186 </cell>
5187 </row>
5188 </lyxtabular>
5189
5190 \end_inset
5191
5192
5193 \begin_inset ERT
5194 status collapsed
5195
5196 \begin_layout Plain Layout
5197
5198
5199 \backslash
5200 addtocounter{table}{-1}
5201 \end_layout
5202
5203 \end_inset
5204
5205
5206 \begin_inset Note Note
5207 status collapsed
5208
5209 \begin_layout Plain Layout
5210 See the first greyed-out note in section
5211 \begin_inset space ~
5212 \end_inset
5213
5214
5215 \begin_inset CommandInset ref
5216 LatexCommand ref
5217 reference "sub:Longtable-Captions"
5218
5219 \end_inset
5220
5221  for an explanation of this command.
5222 \end_layout
5223
5224 \end_inset
5225
5226
5227 \end_layout
5228
5229 \begin_layout Subsection
5230 Footnotes in Longtables
5231 \begin_inset CommandInset label
5232 LatexCommand label
5233 name "sub:Footnotes-in-Longtables"
5234
5235 \end_inset
5236
5237
5238 \begin_inset Index
5239 status collapsed
5240
5241 \begin_layout Plain Layout
5242 Longtables ! Footnotes
5243 \end_layout
5244
5245 \end_inset
5246
5247
5248 \end_layout
5249
5250 \begin_layout Standard
5251 Footnotes can be inserted to every longtable cell.
5252  They appear at the bottom of the page where the table cell with the footnote
5253  appears.
5254  Table
5255 \begin_inset space ~
5256 \end_inset
5257
5258
5259 \begin_inset CommandInset ref
5260 LatexCommand ref
5261 reference "tab:DiffCaptions"
5262
5263 \end_inset
5264
5265  has for example a footnote.
5266 \end_layout
5267
5268 \begin_layout Subsection
5269 Longtable Alignment
5270 \begin_inset Index
5271 status collapsed
5272
5273 \begin_layout Plain Layout
5274 Longtables ! Alignment
5275 \end_layout
5276
5277 \end_inset
5278
5279
5280 \end_layout
5281
5282 \begin_layout Standard
5283 Longtables are by default centered.
5284  In contrary to the alignment of the table columns and row, the table alignment
5285  can currently not be changed in the table dialog.
5286  To change the alignment of longtables you have to change the value of the
5287  lengths 
5288 \series bold
5289
5290 \backslash
5291 LTleft 
5292 \series default
5293 and 
5294 \series bold
5295
5296 \backslash
5297 LTright
5298 \series default
5299  by inserting this line as TeX-Code before the corresponding longtable:
5300 \end_layout
5301
5302 \begin_layout Standard
5303
5304 \series bold
5305
5306 \backslash
5307 setlength{
5308 \backslash
5309 LTleft}{value}
5310 \end_layout
5311
5312 \begin_layout Standard
5313 Where the value can have any of the units listed in Table
5314 \begin_inset space ~
5315 \end_inset
5316
5317
5318 \begin_inset CommandInset ref
5319 LatexCommand ref
5320 reference "tab:Units"
5321
5322 \end_inset
5323
5324 .
5325  
5326 \series bold
5327
5328 \backslash
5329 LTleft
5330 \series default
5331  controls the horizontal distance from the left page border to the longtable,
5332  
5333 \series bold
5334
5335 \backslash
5336 LTright
5337 \series default
5338  the distance from the right side.
5339  The default value for both lengths is 
5340 \series bold
5341
5342 \backslash
5343 fill
5344 \series default
5345 , which is in this case the same as an horizontal fill in LyX.
5346 \end_layout
5347
5348 \begin_layout Standard
5349 The following longtable was left-aligned by setting 
5350 \series bold
5351
5352 \backslash
5353 LTleft
5354 \series default
5355  to 0
5356 \begin_inset space \thinspace{}
5357 \end_inset
5358
5359 pt.
5360 \begin_inset ERT
5361 status collapsed
5362
5363 \begin_layout Plain Layout
5364
5365
5366 \backslash
5367 setlength{
5368 \backslash
5369 LTleft}{0pt}
5370 \end_layout
5371
5372 \end_inset
5373
5374
5375 \end_layout
5376
5377 \begin_layout Standard
5378 \begin_inset Tabular
5379 <lyxtabular version="3" rows="5" columns="5">
5380 <features islongtable="true">
5381 <column alignment="center" valignment="top" width="0">
5382 <column alignment="center" valignment="top" width="0">
5383 <column alignment="center" valignment="top" width="0">
5384 <column alignment="center" valignment="top" width="0">
5385 <column alignment="center" valignment="top" width="0">
5386 <row>
5387 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5388 \begin_inset Text
5389
5390 \begin_layout Plain Layout
5391 1
5392 \end_layout
5393
5394 \end_inset
5395 </cell>
5396 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5397 \begin_inset Text
5398
5399 \begin_layout Plain Layout
5400 2
5401 \end_layout
5402
5403 \end_inset
5404 </cell>
5405 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5406 \begin_inset Text
5407
5408 \begin_layout Plain Layout
5409 3
5410 \end_layout
5411
5412 \end_inset
5413 </cell>
5414 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5415 \begin_inset Text
5416
5417 \begin_layout Plain Layout
5418 4
5419 \end_layout
5420
5421 \end_inset
5422 </cell>
5423 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5424 \begin_inset Text
5425
5426 \begin_layout Plain Layout
5427 5
5428 \end_layout
5429
5430 \end_inset
5431 </cell>
5432 </row>
5433 <row>
5434 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5435 \begin_inset Text
5436
5437 \begin_layout Plain Layout
5438 asd
5439 \end_layout
5440
5441 \end_inset
5442 </cell>
5443 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5444 \begin_inset Text
5445
5446 \begin_layout Plain Layout
5447 s
5448 \end_layout
5449
5450 \end_inset
5451 </cell>
5452 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5453 \begin_inset Text
5454
5455 \begin_layout Plain Layout
5456 s
5457 \end_layout
5458
5459 \end_inset
5460 </cell>
5461 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5462 \begin_inset Text
5463
5464 \begin_layout Plain Layout
5465 s
5466 \end_layout
5467
5468 \end_inset
5469 </cell>
5470 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5471 \begin_inset Text
5472
5473 \begin_layout Plain Layout
5474 asd
5475 \end_layout
5476
5477 \end_inset
5478 </cell>
5479 </row>
5480 <row>
5481 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5482 \begin_inset Text
5483
5484 \begin_layout Plain Layout
5485 asd
5486 \end_layout
5487
5488 \end_inset
5489 </cell>
5490 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5491 \begin_inset Text
5492
5493 \begin_layout Plain Layout
5494 s
5495 \end_layout
5496
5497 \end_inset
5498 </cell>
5499 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5500 \begin_inset Text
5501
5502 \begin_layout Plain Layout
5503 s
5504 \end_layout
5505
5506 \end_inset
5507 </cell>
5508 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5509 \begin_inset Text
5510
5511 \begin_layout Plain Layout
5512 s
5513 \end_layout
5514
5515 \end_inset
5516 </cell>
5517 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5518 \begin_inset Text
5519
5520 \begin_layout Plain Layout
5521 asd
5522 \end_layout
5523
5524 \end_inset
5525 </cell>
5526 </row>
5527 <row>
5528 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5529 \begin_inset Text
5530
5531 \begin_layout Plain Layout
5532 asd
5533 \end_layout
5534
5535 \end_inset
5536 </cell>
5537 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5538 \begin_inset Text
5539
5540 \begin_layout Plain Layout
5541 s
5542 \end_layout
5543
5544 \end_inset
5545 </cell>
5546 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5547 \begin_inset Text
5548
5549 \begin_layout Plain Layout
5550 s
5551 \end_layout
5552
5553 \end_inset
5554 </cell>
5555 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5556 \begin_inset Text
5557
5558 \begin_layout Plain Layout
5559 s
5560 \end_layout
5561
5562 \end_inset
5563 </cell>
5564 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5565 \begin_inset Text
5566
5567 \begin_layout Plain Layout
5568 asd
5569 \end_layout
5570
5571 \end_inset
5572 </cell>
5573 </row>
5574 <row>
5575 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5576 \begin_inset Text
5577
5578 \begin_layout Plain Layout
5579 asd
5580 \end_layout
5581
5582 \end_inset
5583 </cell>
5584 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5585 \begin_inset Text
5586
5587 \begin_layout Plain Layout
5588 asd
5589 \end_layout
5590
5591 \end_inset
5592 </cell>
5593 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5594 \begin_inset Text
5595
5596 \begin_layout Plain Layout
5597 asd
5598 \end_layout
5599
5600 \end_inset
5601 </cell>
5602 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5603 \begin_inset Text
5604
5605 \begin_layout Plain Layout
5606 asd
5607 \end_layout
5608
5609 \end_inset
5610 </cell>
5611 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5612 \begin_inset Text
5613
5614 \begin_layout Plain Layout
5615 asd
5616 \end_layout
5617
5618 \end_inset
5619 </cell>
5620 </row>
5621 </lyxtabular>
5622
5623 \end_inset
5624
5625
5626 \begin_inset ERT
5627 status collapsed
5628
5629 \begin_layout Plain Layout
5630
5631
5632 \backslash
5633 setlength{
5634 \backslash
5635 LTleft}{
5636 \backslash
5637 fill}
5638 \end_layout
5639
5640 \end_inset
5641
5642
5643 \begin_inset ERT
5644 status collapsed
5645
5646 \begin_layout Plain Layout
5647
5648
5649 \backslash
5650 addtocounter{table}{-1}
5651 \end_layout
5652
5653 \end_inset
5654
5655
5656 \begin_inset Note Note
5657 status collapsed
5658
5659 \begin_layout Plain Layout
5660 See the first greyed-out note in section
5661 \begin_inset space ~
5662 \end_inset
5663
5664
5665 \begin_inset CommandInset ref
5666 LatexCommand ref
5667 reference "sub:Longtable-Captions"
5668
5669 \end_inset
5670
5671  for an explanation of this command.
5672 \end_layout
5673
5674 \end_inset
5675
5676
5677 \end_layout
5678
5679 \begin_layout Subsection
5680 Longtable Captions
5681 \begin_inset Index
5682 status collapsed
5683
5684 \begin_layout Plain Layout
5685 Longtables ! Captions
5686 \end_layout
5687
5688 \end_inset
5689
5690
5691 \begin_inset CommandInset label
5692 LatexCommand label
5693 name "sub:Longtable-Captions"
5694
5695 \end_inset
5696
5697
5698 \end_layout
5699
5700 \begin_layout Standard
5701 A longtable cannot be put into a table float because floats can only be
5702  on one page.
5703  But the caption environment of floats can also be used for longtables when
5704  you use for a table row the longtable option 
5705 \family sans
5706 Caption
5707 \family default
5708  as described in sec.
5709 \begin_inset space \thinspace{}
5710 \end_inset
5711
5712
5713 \begin_inset CommandInset ref
5714 LatexCommand ref
5715 reference "sec:Longtables"
5716
5717 \end_inset
5718
5719 .
5720  Only one table row can contain the caption.
5721 \end_layout
5722
5723 \begin_layout Standard
5724 Here is a short longtable to see how it works:
5725 \end_layout
5726
5727 \begin_layout Standard
5728 \begin_inset Tabular
5729 <lyxtabular version="3" rows="6" columns="5">
5730 <features islongtable="true">
5731 <column alignment="center" valignment="top" width="0">
5732 <column alignment="center" valignment="top" width="0">
5733 <column alignment="center" valignment="top" width="0">
5734 <column alignment="center" valignment="top" width="0">
5735 <column alignment="center" valignment="top" width="0">
5736 <row caption="true">
5737 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
5738 \begin_inset Text
5739
5740 \begin_layout Plain Layout
5741 \begin_inset Caption
5742
5743 \begin_layout Plain Layout
5744 Longtable with caption
5745 \begin_inset OptArg
5746 status open
5747
5748 \begin_layout Plain Layout
5749 Longtable
5750 \end_layout
5751
5752 \end_inset
5753
5754
5755 \end_layout
5756
5757 \end_inset
5758
5759
5760 \end_layout
5761
5762 \end_inset
5763 </cell>
5764 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5765 \begin_inset Text
5766
5767 \begin_layout Plain Layout
5768
5769 \end_layout
5770
5771 \end_inset
5772 </cell>
5773 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5774 \begin_inset Text
5775
5776 \begin_layout Plain Layout
5777
5778 \end_layout
5779
5780 \end_inset
5781 </cell>
5782 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5783 \begin_inset Text
5784
5785 \begin_layout Plain Layout
5786
5787 \end_layout
5788
5789 \end_inset
5790 </cell>
5791 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5792 \begin_inset Text
5793
5794 \begin_layout Plain Layout
5795
5796 \end_layout
5797
5798 \end_inset
5799 </cell>
5800 </row>
5801 <row>
5802 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5803 \begin_inset Text
5804
5805 \begin_layout Plain Layout
5806 1
5807 \end_layout
5808
5809 \end_inset
5810 </cell>
5811 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5812 \begin_inset Text
5813
5814 \begin_layout Plain Layout
5815 2
5816 \end_layout
5817
5818 \end_inset
5819 </cell>
5820 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5821 \begin_inset Text
5822
5823 \begin_layout Plain Layout
5824 3
5825 \end_layout
5826
5827 \end_inset
5828 </cell>
5829 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5830 \begin_inset Text
5831
5832 \begin_layout Plain Layout
5833 4
5834 \end_layout
5835
5836 \end_inset
5837 </cell>
5838 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5839 \begin_inset Text
5840
5841 \begin_layout Plain Layout
5842 5
5843 \end_layout
5844
5845 \end_inset
5846 </cell>
5847 </row>
5848 <row>
5849 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5850 \begin_inset Text
5851
5852 \begin_layout Plain Layout
5853 asd
5854 \end_layout
5855
5856 \end_inset
5857 </cell>
5858 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5859 \begin_inset Text
5860
5861 \begin_layout Plain Layout
5862 s
5863 \end_layout
5864
5865 \end_inset
5866 </cell>
5867 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5868 \begin_inset Text
5869
5870 \begin_layout Plain Layout
5871 s
5872 \end_layout
5873
5874 \end_inset
5875 </cell>
5876 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5877 \begin_inset Text
5878
5879 \begin_layout Plain Layout
5880 s
5881 \end_layout
5882
5883 \end_inset
5884 </cell>
5885 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5886 \begin_inset Text
5887
5888 \begin_layout Plain Layout
5889 asd
5890 \end_layout
5891
5892 \end_inset
5893 </cell>
5894 </row>
5895 <row>
5896 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5897 \begin_inset Text
5898
5899 \begin_layout Plain Layout
5900 asd
5901 \end_layout
5902
5903 \end_inset
5904 </cell>
5905 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5906 \begin_inset Text
5907
5908 \begin_layout Plain Layout
5909 s
5910 \end_layout
5911
5912 \end_inset
5913 </cell>
5914 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5915 \begin_inset Text
5916
5917 \begin_layout Plain Layout
5918 s
5919 \end_layout
5920
5921 \end_inset
5922 </cell>
5923 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5924 \begin_inset Text
5925
5926 \begin_layout Plain Layout
5927 s
5928 \end_layout
5929
5930 \end_inset
5931 </cell>
5932 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5933 \begin_inset Text
5934
5935 \begin_layout Plain Layout
5936 asd
5937 \end_layout
5938
5939 \end_inset
5940 </cell>
5941 </row>
5942 <row>
5943 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5944 \begin_inset Text
5945
5946 \begin_layout Plain Layout
5947 asd
5948 \end_layout
5949
5950 \end_inset
5951 </cell>
5952 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5953 \begin_inset Text
5954
5955 \begin_layout Plain Layout
5956 s
5957 \end_layout
5958
5959 \end_inset
5960 </cell>
5961 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5962 \begin_inset Text
5963
5964 \begin_layout Plain Layout
5965 s
5966 \end_layout
5967
5968 \end_inset
5969 </cell>
5970 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5971 \begin_inset Text
5972
5973 \begin_layout Plain Layout
5974 s
5975 \end_layout
5976
5977 \end_inset
5978 </cell>
5979 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5980 \begin_inset Text
5981
5982 \begin_layout Plain Layout
5983 asd
5984 \end_layout
5985
5986 \end_inset
5987 </cell>
5988 </row>
5989 <row>
5990 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5991 \begin_inset Text
5992
5993 \begin_layout Plain Layout
5994 asd
5995 \end_layout
5996
5997 \end_inset
5998 </cell>
5999 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6000 \begin_inset Text
6001
6002 \begin_layout Plain Layout
6003 asd
6004 \end_layout
6005
6006 \end_inset
6007 </cell>
6008 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6009 \begin_inset Text
6010
6011 \begin_layout Plain Layout
6012 asd
6013 \end_layout
6014
6015 \end_inset
6016 </cell>
6017 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6018 \begin_inset Text
6019
6020 \begin_layout Plain Layout
6021 asd
6022 \end_layout
6023
6024 \end_inset
6025 </cell>
6026 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6027 \begin_inset Text
6028
6029 \begin_layout Plain Layout
6030 asd
6031 \end_layout
6032
6033 \end_inset
6034 </cell>
6035 </row>
6036 </lyxtabular>
6037
6038 \end_inset
6039
6040
6041 \end_layout
6042
6043 \begin_layout Standard
6044 \begin_inset VSpace medskip
6045 \end_inset
6046
6047
6048 \begin_inset Note Greyedout
6049 status open
6050
6051 \begin_layout Plain Layout
6052
6053 \series bold
6054 Note
6055 \begin_inset space ~
6056 \end_inset
6057
6058 1:
6059 \series default
6060  The table number is increased for every longtable, also if you didn't set
6061  a caption for it.
6062  For this reason you could have the case that e.
6063 \begin_inset space \thinspace{}
6064 \end_inset
6065
6066 g.
6067 \begin_inset space \space{}
6068 \end_inset
6069
6070 Table
6071 \begin_inset space ~
6072 \end_inset
6073
6074 2.4 follows on Table
6075 \begin_inset space ~
6076 \end_inset
6077
6078 2.1 in the list of tables if there are two longtables without captions.
6079  To avoid this you can add the following command in TeX-Code behind every
6080  longtable without a caption:
6081 \end_layout
6082
6083 \begin_layout Plain Layout
6084
6085 \series bold
6086
6087 \backslash
6088 addtocounter{table}{-1}
6089 \end_layout
6090
6091 \begin_layout Plain Layout
6092 This is not needed when none of your longtables have a caption and you add
6093  the following code to the document preamble:
6094 \end_layout
6095
6096 \begin_layout Plain Layout
6097
6098 \series bold
6099
6100 \backslash
6101 let
6102 \backslash
6103 myEnd
6104 \backslash
6105 endlongtable
6106 \begin_inset Newline newline
6107 \end_inset
6108
6109
6110 \backslash
6111 renewcommand{
6112 \backslash
6113 endlongtable}{
6114 \backslash
6115 myEnd
6116 \backslash
6117 addtocounter{table}{-1}}
6118 \end_layout
6119
6120 \end_inset
6121
6122
6123 \end_layout
6124
6125 \begin_layout Standard
6126 \begin_inset Note Greyedout
6127 status open
6128
6129 \begin_layout Plain Layout
6130
6131 \series bold
6132 Note
6133 \begin_inset space ~
6134 \end_inset
6135
6136 2:
6137 \series default
6138  If you are using
6139 \series bold
6140  hyperref
6141 \series default
6142
6143 \begin_inset Index
6144 status collapsed
6145
6146 \begin_layout Plain Layout
6147 LaTeX-packages ! hyperref
6148 \end_layout
6149
6150 \end_inset
6151
6152  in the 
6153 \family sans
6154 PDF Properties
6155 \family default
6156  of the 
6157 \family sans
6158 Document Settings
6159 \family default
6160  dialog to link cross-references, the link to a longtable caption will always
6161  point to the beginning of the document.
6162 \end_layout
6163
6164 \end_inset
6165
6166
6167 \end_layout
6168
6169 \begin_layout Subsubsection
6170 References to Longtables
6171 \begin_inset Index
6172 status collapsed
6173
6174 \begin_layout Plain Layout
6175 Longtables ! References
6176 \end_layout
6177
6178 \end_inset
6179
6180
6181 \end_layout
6182
6183 \begin_layout Standard
6184 \begin_inset Tabular
6185 <lyxtabular version="3" rows="6" columns="5">
6186 <features islongtable="true">
6187 <column alignment="center" valignment="top" width="0">
6188 <column alignment="center" valignment="top" width="0">
6189 <column alignment="center" valignment="top" width="0">
6190 <column alignment="center" valignment="top" width="0">
6191 <column alignment="center" valignment="top" width="0">
6192 <row caption="true">
6193 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6194 \begin_inset Text
6195
6196 \begin_layout Plain Layout
6197 \begin_inset Caption
6198
6199 \begin_layout Plain Layout
6200 Referenced longtable
6201 \begin_inset CommandInset label
6202 LatexCommand label
6203 name "tab:RefExample"
6204
6205 \end_inset
6206
6207
6208 \end_layout
6209
6210 \end_inset
6211
6212
6213 \end_layout
6214
6215 \end_inset
6216 </cell>
6217 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6218 \begin_inset Text
6219
6220 \begin_layout Plain Layout
6221
6222 \end_layout
6223
6224 \end_inset
6225 </cell>
6226 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6227 \begin_inset Text
6228
6229 \begin_layout Plain Layout
6230
6231 \end_layout
6232
6233 \end_inset
6234 </cell>
6235 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6236 \begin_inset Text
6237
6238 \begin_layout Plain Layout
6239
6240 \end_layout
6241
6242 \end_inset
6243 </cell>
6244 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6245 \begin_inset Text
6246
6247 \begin_layout Plain Layout
6248
6249 \end_layout
6250
6251 \end_inset
6252 </cell>
6253 </row>
6254 <row>
6255 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6256 \begin_inset Text
6257
6258 \begin_layout Plain Layout
6259 1
6260 \end_layout
6261
6262 \end_inset
6263 </cell>
6264 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6265 \begin_inset Text
6266
6267 \begin_layout Plain Layout
6268 2
6269 \end_layout
6270
6271 \end_inset
6272 </cell>
6273 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6274 \begin_inset Text
6275
6276 \begin_layout Plain Layout
6277 3
6278 \end_layout
6279
6280 \end_inset
6281 </cell>
6282 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6283 \begin_inset Text
6284
6285 \begin_layout Plain Layout
6286 4
6287 \end_layout
6288
6289 \end_inset
6290 </cell>
6291 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6292 \begin_inset Text
6293
6294 \begin_layout Plain Layout
6295 5
6296 \end_layout
6297
6298 \end_inset
6299 </cell>
6300 </row>
6301 <row>
6302 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6303 \begin_inset Text
6304
6305 \begin_layout Plain Layout
6306 asd
6307 \end_layout
6308
6309 \end_inset
6310 </cell>
6311 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6312 \begin_inset Text
6313
6314 \begin_layout Plain Layout
6315 s
6316 \end_layout
6317
6318 \end_inset
6319 </cell>
6320 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6321 \begin_inset Text
6322
6323 \begin_layout Plain Layout
6324 s
6325 \end_layout
6326
6327 \end_inset
6328 </cell>
6329 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6330 \begin_inset Text
6331
6332 \begin_layout Plain Layout
6333 s
6334 \end_layout
6335
6336 \end_inset
6337 </cell>
6338 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6339 \begin_inset Text
6340
6341 \begin_layout Plain Layout
6342 asd
6343 \end_layout
6344
6345 \end_inset
6346 </cell>
6347 </row>
6348 <row>
6349 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6350 \begin_inset Text
6351
6352 \begin_layout Plain Layout
6353 asd
6354 \end_layout
6355
6356 \end_inset
6357 </cell>
6358 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6359 \begin_inset Text
6360
6361 \begin_layout Plain Layout
6362 s
6363 \end_layout
6364
6365 \end_inset
6366 </cell>
6367 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6368 \begin_inset Text
6369
6370 \begin_layout Plain Layout
6371 s
6372 \end_layout
6373
6374 \end_inset
6375 </cell>
6376 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6377 \begin_inset Text
6378
6379 \begin_layout Plain Layout
6380 s
6381 \end_layout
6382
6383 \end_inset
6384 </cell>
6385 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6386 \begin_inset Text
6387
6388 \begin_layout Plain Layout
6389 asd
6390 \end_layout
6391
6392 \end_inset
6393 </cell>
6394 </row>
6395 <row>
6396 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6397 \begin_inset Text
6398
6399 \begin_layout Plain Layout
6400 asd
6401 \end_layout
6402
6403 \end_inset
6404 </cell>
6405 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6406 \begin_inset Text
6407
6408 \begin_layout Plain Layout
6409 s
6410 \end_layout
6411
6412 \end_inset
6413 </cell>
6414 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6415 \begin_inset Text
6416
6417 \begin_layout Plain Layout
6418 s
6419 \end_layout
6420
6421 \end_inset
6422 </cell>
6423 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6424 \begin_inset Text
6425
6426 \begin_layout Plain Layout
6427 s
6428 \end_layout
6429
6430 \end_inset
6431 </cell>
6432 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6433 \begin_inset Text
6434
6435 \begin_layout Plain Layout
6436 asd
6437 \end_layout
6438
6439 \end_inset
6440 </cell>
6441 </row>
6442 <row>
6443 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6444 \begin_inset Text
6445
6446 \begin_layout Plain Layout
6447 asd
6448 \end_layout
6449
6450 \end_inset
6451 </cell>
6452 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6453 \begin_inset Text
6454
6455 \begin_layout Plain Layout
6456 sad
6457 \end_layout
6458
6459 \end_inset
6460 </cell>
6461 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6462 \begin_inset Text
6463
6464 \begin_layout Plain Layout
6465 asd
6466 \end_layout
6467
6468 \end_inset
6469 </cell>
6470 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6471 \begin_inset Text
6472
6473 \begin_layout Plain Layout
6474 asd
6475 \end_layout
6476
6477 \end_inset
6478 </cell>
6479 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6480 \begin_inset Text
6481
6482 \begin_layout Plain Layout
6483 asd
6484 \end_layout
6485
6486 \end_inset
6487 </cell>
6488 </row>
6489 </lyxtabular>
6490
6491 \end_inset
6492
6493
6494 \end_layout
6495
6496 \begin_layout Standard
6497 To reference a longtable, insert a label into the caption.
6498 \end_layout
6499
6500 \begin_layout Standard
6501 This is a reference to Table
6502 \begin_inset space ~
6503 \end_inset
6504
6505
6506 \begin_inset CommandInset ref
6507 LatexCommand ref
6508 reference "tab:RefExample"
6509
6510 \end_inset
6511
6512 .
6513 \end_layout
6514
6515 \begin_layout Standard
6516 The caption layout can be set together with all other captions of your document
6517  using the LaTeX-package 
6518 \series bold
6519 caption
6520 \series default
6521
6522 \begin_inset Index
6523 status collapsed
6524
6525 \begin_layout Plain Layout
6526 LaTeX-packages ! caption
6527 \end_layout
6528
6529 \end_inset
6530
6531 , see section
6532 \begin_inset space ~
6533 \end_inset
6534
6535
6536 \begin_inset CommandInset ref
6537 LatexCommand ref
6538 reference "sec:Caption-Formatting"
6539
6540 \end_inset
6541
6542 .
6543 \end_layout
6544
6545 \begin_layout Subsubsection
6546 Caption Width
6547 \begin_inset Index
6548 status collapsed
6549
6550 \begin_layout Plain Layout
6551 Longtables ! Caption Width
6552 \end_layout
6553
6554 \end_inset
6555
6556
6557 \end_layout
6558
6559 \begin_layout Standard
6560 The maximal width of of caption lines is defined by the length 
6561 \series bold
6562
6563 \backslash
6564 LTcapwidth
6565 \series default
6566 .
6567  Its default value is 4
6568 \begin_inset space \thinspace{}
6569 \end_inset
6570
6571 in.
6572  To change it add the following command to your document preamble or as
6573  TeX-Code into your document before the longtable that should be affected
6574 \end_layout
6575
6576 \begin_layout Standard
6577
6578 \series bold
6579
6580 \backslash
6581 setlength{
6582 \backslash
6583 LTcapwidth}{width}
6584 \end_layout
6585
6586 \begin_layout Standard
6587 where the width could have one of the units listed in appendix
6588 \begin_inset space ~
6589 \end_inset
6590
6591
6592 \begin_inset CommandInset ref
6593 LatexCommand ref
6594 reference "cha:Units-available-in"
6595
6596 \end_inset
6597
6598 .
6599 \end_layout
6600
6601 \begin_layout Standard
6602 The following tables show the difference:
6603 \end_layout
6604
6605 \begin_layout Standard
6606 \begin_inset Tabular
6607 <lyxtabular version="3" rows="6" columns="5">
6608 <features islongtable="true">
6609 <column alignment="center" valignment="top" width="0">
6610 <column alignment="center" valignment="top" width="0">
6611 <column alignment="center" valignment="top" width="0">
6612 <column alignment="center" valignment="top" width="0">
6613 <column alignment="center" valignment="top" width="0">
6614 <row caption="true">
6615 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6616 \begin_inset Text
6617
6618 \begin_layout Plain Layout
6619 \begin_inset Caption
6620
6621 \begin_layout Plain Layout
6622 long full title with default width long full title with default width long
6623  full title with default width
6624 \begin_inset OptArg
6625 status collapsed
6626
6627 \begin_layout Plain Layout
6628 caption with default width
6629 \end_layout
6630
6631 \end_inset
6632
6633
6634 \end_layout
6635
6636 \end_inset
6637
6638
6639 \end_layout
6640
6641 \end_inset
6642 </cell>
6643 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6644 \begin_inset Text
6645
6646 \begin_layout Plain Layout
6647
6648 \end_layout
6649
6650 \end_inset
6651 </cell>
6652 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6653 \begin_inset Text
6654
6655 \begin_layout Plain Layout
6656
6657 \end_layout
6658
6659 \end_inset
6660 </cell>
6661 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6662 \begin_inset Text
6663
6664 \begin_layout Plain Layout
6665
6666 \end_layout
6667
6668 \end_inset
6669 </cell>
6670 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6671 \begin_inset Text
6672
6673 \begin_layout Plain Layout
6674
6675 \end_layout
6676
6677 \end_inset
6678 </cell>
6679 </row>
6680 <row>
6681 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6682 \begin_inset Text
6683
6684 \begin_layout Plain Layout
6685 1
6686 \end_layout
6687
6688 \end_inset
6689 </cell>
6690 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6691 \begin_inset Text
6692
6693 \begin_layout Plain Layout
6694 2
6695 \end_layout
6696
6697 \end_inset
6698 </cell>
6699 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6700 \begin_inset Text
6701
6702 \begin_layout Plain Layout
6703 3
6704 \end_layout
6705
6706 \end_inset
6707 </cell>
6708 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6709 \begin_inset Text
6710
6711 \begin_layout Plain Layout
6712 4
6713 \end_layout
6714
6715 \end_inset
6716 </cell>
6717 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6718 \begin_inset Text
6719
6720 \begin_layout Plain Layout
6721 5
6722 \end_layout
6723
6724 \end_inset
6725 </cell>
6726 </row>
6727 <row>
6728 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6729 \begin_inset Text
6730
6731 \begin_layout Plain Layout
6732 asd
6733 \end_layout
6734
6735 \end_inset
6736 </cell>
6737 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6738 \begin_inset Text
6739
6740 \begin_layout Plain Layout
6741 s
6742 \end_layout
6743
6744 \end_inset
6745 </cell>
6746 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6747 \begin_inset Text
6748
6749 \begin_layout Plain Layout
6750 s
6751 \end_layout
6752
6753 \end_inset
6754 </cell>
6755 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6756 \begin_inset Text
6757
6758 \begin_layout Plain Layout
6759 s
6760 \end_layout
6761
6762 \end_inset
6763 </cell>
6764 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6765 \begin_inset Text
6766
6767 \begin_layout Plain Layout
6768 asd
6769 \end_layout
6770
6771 \end_inset
6772 </cell>
6773 </row>
6774 <row>
6775 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6776 \begin_inset Text
6777
6778 \begin_layout Plain Layout
6779 asd
6780 \end_layout
6781
6782 \end_inset
6783 </cell>
6784 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6785 \begin_inset Text
6786
6787 \begin_layout Plain Layout
6788 s
6789 \end_layout
6790
6791 \end_inset
6792 </cell>
6793 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6794 \begin_inset Text
6795
6796 \begin_layout Plain Layout
6797 s
6798 \end_layout
6799
6800 \end_inset
6801 </cell>
6802 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6803 \begin_inset Text
6804
6805 \begin_layout Plain Layout
6806 s
6807 \end_layout
6808
6809 \end_inset
6810 </cell>
6811 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6812 \begin_inset Text
6813
6814 \begin_layout Plain Layout
6815 asd
6816 \end_layout
6817
6818 \end_inset
6819 </cell>
6820 </row>
6821 <row>
6822 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6823 \begin_inset Text
6824
6825 \begin_layout Plain Layout
6826 asd
6827 \end_layout
6828
6829 \end_inset
6830 </cell>
6831 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6832 \begin_inset Text
6833
6834 \begin_layout Plain Layout
6835 s
6836 \end_layout
6837
6838 \end_inset
6839 </cell>
6840 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6841 \begin_inset Text
6842
6843 \begin_layout Plain Layout
6844 s
6845 \end_layout
6846
6847 \end_inset
6848 </cell>
6849 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6850 \begin_inset Text
6851
6852 \begin_layout Plain Layout
6853 s
6854 \end_layout
6855
6856 \end_inset
6857 </cell>
6858 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6859 \begin_inset Text
6860
6861 \begin_layout Plain Layout
6862 asd
6863 \end_layout
6864
6865 \end_inset
6866 </cell>
6867 </row>
6868 <row>
6869 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6870 \begin_inset Text
6871
6872 \begin_layout Plain Layout
6873 asd
6874 \end_layout
6875
6876 \end_inset
6877 </cell>
6878 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6879 \begin_inset Text
6880
6881 \begin_layout Plain Layout
6882 sad
6883 \end_layout
6884
6885 \end_inset
6886 </cell>
6887 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6888 \begin_inset Text
6889
6890 \begin_layout Plain Layout
6891 asd
6892 \end_layout
6893
6894 \end_inset
6895 </cell>
6896 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6897 \begin_inset Text
6898
6899 \begin_layout Plain Layout
6900 asd
6901 \end_layout
6902
6903 \end_inset
6904 </cell>
6905 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6906 \begin_inset Text
6907
6908 \begin_layout Plain Layout
6909 asd
6910 \end_layout
6911
6912 \end_inset
6913 </cell>
6914 </row>
6915 </lyxtabular>
6916
6917 \end_inset
6918
6919
6920 \end_layout
6921
6922 \begin_layout Standard
6923 \begin_inset ERT
6924 status collapsed
6925
6926 \begin_layout Plain Layout
6927
6928
6929 \backslash
6930 setlength{
6931 \backslash
6932 LTcapwidth}{5cm}
6933 \end_layout
6934
6935 \end_inset
6936
6937
6938 \begin_inset Tabular
6939 <lyxtabular version="3" rows="6" columns="5">
6940 <features islongtable="true">
6941 <column alignment="center" valignment="top" width="0">
6942 <column alignment="center" valignment="top" width="0">
6943 <column alignment="center" valignment="top" width="0">
6944 <column alignment="center" valignment="top" width="0">
6945 <column alignment="center" valignment="top" width="0">
6946 <row caption="true">
6947 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6948 \begin_inset Text
6949
6950 \begin_layout Plain Layout
6951 \begin_inset Caption
6952
6953 \begin_layout Plain Layout
6954 long full title with width set to 5
6955 \begin_inset space \thinspace{}
6956 \end_inset
6957
6958 cm 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
6967 \begin_inset OptArg
6968 status collapsed
6969
6970 \begin_layout Plain Layout
6971 caption with width
6972 \begin_inset space \thinspace{}
6973 \end_inset
6974
6975 =
6976 \begin_inset space \thinspace{}
6977 \end_inset
6978
6979 5
6980 \begin_inset space \thinspace{}
6981 \end_inset
6982
6983 cm
6984 \end_layout
6985
6986 \end_inset
6987
6988
6989 \end_layout
6990
6991 \end_inset
6992
6993
6994 \end_layout
6995
6996 \end_inset
6997 </cell>
6998 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6999 \begin_inset Text
7000
7001 \begin_layout Plain Layout
7002
7003 \end_layout
7004
7005 \end_inset
7006 </cell>
7007 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7008 \begin_inset Text
7009
7010 \begin_layout Plain Layout
7011
7012 \end_layout
7013
7014 \end_inset
7015 </cell>
7016 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7017 \begin_inset Text
7018
7019 \begin_layout Plain Layout
7020
7021 \end_layout
7022
7023 \end_inset
7024 </cell>
7025 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7026 \begin_inset Text
7027
7028 \begin_layout Plain Layout
7029
7030 \end_layout
7031
7032 \end_inset
7033 </cell>
7034 </row>
7035 <row>
7036 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7037 \begin_inset Text
7038
7039 \begin_layout Plain Layout
7040 1
7041 \end_layout
7042
7043 \end_inset
7044 </cell>
7045 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7046 \begin_inset Text
7047
7048 \begin_layout Plain Layout
7049 2
7050 \end_layout
7051
7052 \end_inset
7053 </cell>
7054 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7055 \begin_inset Text
7056
7057 \begin_layout Plain Layout
7058 3
7059 \end_layout
7060
7061 \end_inset
7062 </cell>
7063 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7064 \begin_inset Text
7065
7066 \begin_layout Plain Layout
7067 4
7068 \end_layout
7069
7070 \end_inset
7071 </cell>
7072 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7073 \begin_inset Text
7074
7075 \begin_layout Plain Layout
7076 5
7077 \end_layout
7078
7079 \end_inset
7080 </cell>
7081 </row>
7082 <row>
7083 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7084 \begin_inset Text
7085
7086 \begin_layout Plain Layout
7087 asd
7088 \end_layout
7089
7090 \end_inset
7091 </cell>
7092 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7093 \begin_inset Text
7094
7095 \begin_layout Plain Layout
7096 s
7097 \end_layout
7098
7099 \end_inset
7100 </cell>
7101 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7102 \begin_inset Text
7103
7104 \begin_layout Plain Layout
7105 s
7106 \end_layout
7107
7108 \end_inset
7109 </cell>
7110 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7111 \begin_inset Text
7112
7113 \begin_layout Plain Layout
7114 s
7115 \end_layout
7116
7117 \end_inset
7118 </cell>
7119 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7120 \begin_inset Text
7121
7122 \begin_layout Plain Layout
7123 asd
7124 \end_layout
7125
7126 \end_inset
7127 </cell>
7128 </row>
7129 <row>
7130 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7131 \begin_inset Text
7132
7133 \begin_layout Plain Layout
7134 asd
7135 \end_layout
7136
7137 \end_inset
7138 </cell>
7139 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7140 \begin_inset Text
7141
7142 \begin_layout Plain Layout
7143 s
7144 \end_layout
7145
7146 \end_inset
7147 </cell>
7148 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7149 \begin_inset Text
7150
7151 \begin_layout Plain Layout
7152 s
7153 \end_layout
7154
7155 \end_inset
7156 </cell>
7157 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7158 \begin_inset Text
7159
7160 \begin_layout Plain Layout
7161 s
7162 \end_layout
7163
7164 \end_inset
7165 </cell>
7166 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7167 \begin_inset Text
7168
7169 \begin_layout Plain Layout
7170 asd
7171 \end_layout
7172
7173 \end_inset
7174 </cell>
7175 </row>
7176 <row>
7177 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7178 \begin_inset Text
7179
7180 \begin_layout Plain Layout
7181 asd
7182 \end_layout
7183
7184 \end_inset
7185 </cell>
7186 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7187 \begin_inset Text
7188
7189 \begin_layout Plain Layout
7190 s
7191 \end_layout
7192
7193 \end_inset
7194 </cell>
7195 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7196 \begin_inset Text
7197
7198 \begin_layout Plain Layout
7199 s
7200 \end_layout
7201
7202 \end_inset
7203 </cell>
7204 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7205 \begin_inset Text
7206
7207 \begin_layout Plain Layout
7208 s
7209 \end_layout
7210
7211 \end_inset
7212 </cell>
7213 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7214 \begin_inset Text
7215
7216 \begin_layout Plain Layout
7217 asd
7218 \end_layout
7219
7220 \end_inset
7221 </cell>
7222 </row>
7223 <row>
7224 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7225 \begin_inset Text
7226
7227 \begin_layout Plain Layout
7228 asd
7229 \end_layout
7230
7231 \end_inset
7232 </cell>
7233 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7234 \begin_inset Text
7235
7236 \begin_layout Plain Layout
7237 sad
7238 \end_layout
7239
7240 \end_inset
7241 </cell>
7242 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7243 \begin_inset Text
7244
7245 \begin_layout Plain Layout
7246 asd
7247 \end_layout
7248
7249 \end_inset
7250 </cell>
7251 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7252 \begin_inset Text
7253
7254 \begin_layout Plain Layout
7255 asd
7256 \end_layout
7257
7258 \end_inset
7259 </cell>
7260 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7261 \begin_inset Text
7262
7263 \begin_layout Plain Layout
7264 asd
7265 \end_layout
7266
7267 \end_inset
7268 </cell>
7269 </row>
7270 </lyxtabular>
7271
7272 \end_inset
7273
7274
7275 \end_layout
7276
7277 \begin_layout Standard
7278 \begin_inset ERT
7279 status collapsed
7280
7281 \begin_layout Plain Layout
7282
7283
7284 \backslash
7285 setlength{
7286 \backslash
7287 LTcapwidth}{4in}
7288 \end_layout
7289
7290 \end_inset
7291
7292
7293 \end_layout
7294
7295 \begin_layout Standard
7296 \begin_inset Note Greyedout
7297 status open
7298
7299 \begin_layout Plain Layout
7300
7301 \series bold
7302 Note:
7303 \series default
7304  When the LaTeX-package 
7305 \series bold
7306 caption
7307 \series default
7308
7309 \begin_inset Index
7310 status collapsed
7311
7312 \begin_layout Plain Layout
7313 LaTeX-packages ! caption
7314 \end_layout
7315
7316 \end_inset
7317
7318  is used, as in this document, the full page width is used for the caption
7319  when you use the default value of 4
7320 \begin_inset space \thinspace{}
7321 \end_inset
7322
7323 in for 
7324 \series bold
7325
7326 \backslash
7327 LTcapwidth
7328 \series default
7329 .
7330  To get in this case exactly a 4
7331 \begin_inset space \thinspace{}
7332 \end_inset
7333
7334 in wide caption, you can either use a value slightly different from 4.0
7335 \begin_inset space \thinspace{}
7336 \end_inset
7337
7338 in, e.
7339 \begin_inset space \thinspace{}
7340 \end_inset
7341
7342 g.
7343 \begin_inset space \space{}
7344 \end_inset
7345
7346 3.99
7347 \begin_inset space \thinspace{}
7348 \end_inset
7349
7350 in, or the LaTeX-command 
7351 \series bold
7352
7353 \backslash
7354 captionsetup{width=value}
7355 \series default
7356  that is provided by the 
7357 \series bold
7358 caption
7359 \series default
7360 -package.
7361 \end_layout
7362
7363 \end_inset
7364
7365
7366 \end_layout
7367
7368 \begin_layout Subsubsection
7369 Different Captions for Table Pages
7370 \begin_inset Index
7371 status collapsed
7372
7373 \begin_layout Plain Layout
7374 Longtables ! Different Captions for Pages
7375 \end_layout
7376
7377 \end_inset
7378
7379
7380 \end_layout
7381
7382 \begin_layout Standard
7383 When the table captions for the following pages should differ from the one
7384  of the first table page, insert a caption with the TeX code command
7385 \end_layout
7386
7387 \begin_layout Standard
7388
7389 \series bold
7390
7391 \backslash
7392 caption*{caption text}
7393 \backslash
7394
7395 \backslash
7396 %
7397 \end_layout
7398
7399 \begin_layout Standard
7400 in a dummy caption row that is marked as header.
7401  Table
7402 \begin_inset space ~
7403 \end_inset
7404
7405
7406 \begin_inset CommandInset ref
7407 LatexCommand ref
7408 reference "tab:DiffCaptions"
7409
7410 \end_inset
7411
7412  is an example for a longtable with different heading where the second caption
7413  doesn't include the table number.
7414 \end_layout
7415
7416 \begin_layout Standard
7417 \align center
7418 \begin_inset Tabular
7419 <lyxtabular version="3" rows="60" columns="3">
7420 <features islongtable="true">
7421 <column alignment="left" valignment="top" width="0cm">
7422 <column alignment="left" valignment="top" width="0pt">
7423 <column alignment="center" valignment="top" width="0pt">
7424 <row caption="true">
7425 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
7426 \begin_inset Text
7427
7428 \begin_layout Plain Layout
7429 \begin_inset Caption
7430
7431 \begin_layout Plain Layout
7432 Example Phone List
7433 \begin_inset CommandInset label
7434 LatexCommand label
7435 name "tab:DiffCaptions"
7436
7437 \end_inset
7438
7439
7440 \begin_inset OptArg
7441 status collapsed
7442
7443 \begin_layout Plain Layout
7444 Example Phone List
7445 \end_layout
7446
7447 \end_inset
7448
7449
7450 \end_layout
7451
7452 \end_inset
7453
7454
7455 \end_layout
7456
7457 \end_inset
7458 </cell>
7459 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7460 \begin_inset Text
7461
7462 \begin_layout Plain Layout
7463
7464 \end_layout
7465
7466 \end_inset
7467 </cell>
7468 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7469 \begin_inset Text
7470
7471 \begin_layout Plain Layout
7472
7473 \end_layout
7474
7475 \end_inset
7476 </cell>
7477 </row>
7478 <row endfirsthead="true">
7479 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7480 \begin_inset Text
7481
7482 \begin_layout Plain Layout
7483
7484 \series bold
7485 Example Phone List (ignore the names)
7486 \end_layout
7487
7488 \end_inset
7489 </cell>
7490 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7491 \begin_inset Text
7492
7493 \begin_layout Plain Layout
7494
7495 \end_layout
7496
7497 \end_inset
7498 </cell>
7499 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7500 \begin_inset Text
7501
7502 \begin_layout Plain Layout
7503
7504 \end_layout
7505
7506 \end_inset
7507 </cell>
7508 </row>
7509 <row endfirsthead="true">
7510 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7511 \begin_inset Text
7512
7513 \begin_layout Plain Layout
7514
7515 \series bold
7516 NAME
7517 \end_layout
7518
7519 \end_inset
7520 </cell>
7521 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7522 \begin_inset Text
7523
7524 \begin_layout Plain Layout
7525
7526 \end_layout
7527
7528 \end_inset
7529 </cell>
7530 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7531 \begin_inset Text
7532
7533 \begin_layout Plain Layout
7534
7535 \series bold
7536 TEL.
7537 \end_layout
7538
7539 \end_inset
7540 </cell>
7541 </row>
7542 <row endhead="true">
7543 <cell alignment="left" valignment="top" leftline="true" usebox="none">
7544 \begin_inset Text
7545
7546 \begin_layout Plain Layout
7547 \begin_inset ERT
7548 status open
7549
7550 \begin_layout Plain Layout
7551
7552
7553 \backslash
7554 caption*{Continued Example Phone List}
7555 \backslash
7556
7557 \backslash
7558 %
7559 \end_layout
7560
7561 \end_inset
7562
7563
7564 \end_layout
7565
7566 \end_inset
7567 </cell>
7568 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7569 \begin_inset Text
7570
7571 \begin_layout Plain Layout
7572
7573 \end_layout
7574
7575 \end_inset
7576 </cell>
7577 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7578 \begin_inset Text
7579
7580 \begin_layout Plain Layout
7581
7582 \end_layout
7583
7584 \end_inset
7585 </cell>
7586 </row>
7587 <row endhead="true">
7588 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7589 \begin_inset Text
7590
7591 \begin_layout Plain Layout
7592
7593 \series bold
7594 Example Phone List
7595 \end_layout
7596
7597 \end_inset
7598 </cell>
7599 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7600 \begin_inset Text
7601
7602 \begin_layout Plain Layout
7603
7604 \end_layout
7605
7606 \end_inset
7607 </cell>
7608 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7609 \begin_inset Text
7610
7611 \begin_layout Plain Layout
7612
7613 \end_layout
7614
7615 \end_inset
7616 </cell>
7617 </row>
7618 <row endhead="true">
7619 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7620 \begin_inset Text
7621
7622 \begin_layout Plain Layout
7623
7624 \series bold
7625 NAME
7626 \end_layout
7627
7628 \end_inset
7629 </cell>
7630 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7631 \begin_inset Text
7632
7633 \begin_layout Plain Layout
7634
7635 \end_layout
7636
7637 \end_inset
7638 </cell>
7639 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7640 \begin_inset Text
7641
7642 \begin_layout Plain Layout
7643
7644 \series bold
7645 TEL.
7646 \end_layout
7647
7648 \end_inset
7649 </cell>
7650 </row>
7651 <row endfoot="true">
7652 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
7653 \begin_inset Text
7654
7655 \begin_layout Plain Layout
7656 continued on next page
7657 \end_layout
7658
7659 \end_inset
7660 </cell>
7661 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7662 \begin_inset Text
7663
7664 \begin_layout Plain Layout
7665
7666 \end_layout
7667
7668 \end_inset
7669 </cell>
7670 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7671 \begin_inset Text
7672
7673 \begin_layout Plain Layout
7674
7675 \end_layout
7676
7677 \end_inset
7678 </cell>
7679 </row>
7680 <row>
7681 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7682 \begin_inset Text
7683
7684 \begin_layout Plain Layout
7685
7686 \series bold
7687 Annovi
7688 \end_layout
7689
7690 \end_inset
7691 </cell>
7692 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7693 \begin_inset Text
7694
7695 \begin_layout Plain Layout
7696 Silvia
7697 \end_layout
7698
7699 \end_inset
7700 </cell>
7701 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
7702 \begin_inset Text
7703
7704 \begin_layout Plain Layout
7705 111
7706 \end_layout
7707
7708 \end_inset
7709 </cell>
7710 </row>
7711 <row>
7712 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7713 \begin_inset Text
7714
7715 \begin_layout Plain Layout
7716
7717 \series bold
7718 Bertoli
7719 \end_layout
7720
7721 \end_inset
7722 </cell>
7723 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7724 \begin_inset Text
7725
7726 \begin_layout Plain Layout
7727 Stefano
7728 \end_layout
7729
7730 \end_inset
7731 </cell>
7732 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7733 \begin_inset Text
7734
7735 \begin_layout Plain Layout
7736 111
7737 \end_layout
7738
7739 \end_inset
7740 </cell>
7741 </row>
7742 <row>
7743 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7744 \begin_inset Text
7745
7746 \begin_layout Plain Layout
7747
7748 \series bold
7749 Bozzi
7750 \end_layout
7751
7752 \end_inset
7753 </cell>
7754 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7755 \begin_inset Text
7756
7757 \begin_layout Plain Layout
7758 Walter
7759 \end_layout
7760
7761 \end_inset
7762 </cell>
7763 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7764 \begin_inset Text
7765
7766 \begin_layout Plain Layout
7767 111
7768 \end_layout
7769
7770 \end_inset
7771 </cell>
7772 </row>
7773 <row>
7774 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7775 \begin_inset Text
7776
7777 \begin_layout Plain Layout
7778
7779 \series bold
7780 Cachia
7781 \end_layout
7782
7783 \end_inset
7784 </cell>
7785 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7786 \begin_inset Text
7787
7788 \begin_layout Plain Layout
7789 Maria
7790 \end_layout
7791
7792 \end_inset
7793 </cell>
7794 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7795 \begin_inset Text
7796
7797 \begin_layout Plain Layout
7798 111
7799 \end_layout
7800
7801 \end_inset
7802 </cell>
7803 </row>
7804 <row>
7805 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7806 \begin_inset Text
7807
7808 \begin_layout Plain Layout
7809
7810 \series bold
7811 Cachia
7812 \end_layout
7813
7814 \end_inset
7815 </cell>
7816 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7817 \begin_inset Text
7818
7819 \begin_layout Plain Layout
7820 Maurizio
7821 \end_layout
7822
7823 \end_inset
7824 </cell>
7825 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7826 \begin_inset Text
7827
7828 \begin_layout Plain Layout
7829 111
7830 \end_layout
7831
7832 \end_inset
7833 </cell>
7834 </row>
7835 <row>
7836 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7837 \begin_inset Text
7838
7839 \begin_layout Plain Layout
7840
7841 \series bold
7842 Cinquemani
7843 \end_layout
7844
7845 \end_inset
7846 </cell>
7847 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7848 \begin_inset Text
7849
7850 \begin_layout Plain Layout
7851 Giusi
7852 \end_layout
7853
7854 \end_inset
7855 </cell>
7856 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7857 \begin_inset Text
7858
7859 \begin_layout Plain Layout
7860 111
7861 \end_layout
7862
7863 \end_inset
7864 </cell>
7865 </row>
7866 <row>
7867 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7868 \begin_inset Text
7869
7870 \begin_layout Plain Layout
7871
7872 \series bold
7873 Colin
7874 \end_layout
7875
7876 \end_inset
7877 </cell>
7878 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7879 \begin_inset Text
7880
7881 \begin_layout Plain Layout
7882 Bernard
7883 \end_layout
7884
7885 \end_inset
7886 </cell>
7887 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7888 \begin_inset Text
7889
7890 \begin_layout Plain Layout
7891 111
7892 \end_layout
7893
7894 \end_inset
7895 </cell>
7896 </row>
7897 <row>
7898 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7899 \begin_inset Text
7900
7901 \begin_layout Plain Layout
7902
7903 \series bold
7904 Concli
7905 \end_layout
7906
7907 \end_inset
7908 </cell>
7909 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7910 \begin_inset Text
7911
7912 \begin_layout Plain Layout
7913 Gianfranco
7914 \end_layout
7915
7916 \end_inset
7917 </cell>
7918 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7919 \begin_inset Text
7920
7921 \begin_layout Plain Layout
7922 111
7923 \end_layout
7924
7925 \end_inset
7926 </cell>
7927 </row>
7928 <row>
7929 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7930 \begin_inset Text
7931
7932 \begin_layout Plain Layout
7933
7934 \series bold
7935 Dal Bosco
7936 \end_layout
7937
7938 \end_inset
7939 </cell>
7940 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7941 \begin_inset Text
7942
7943 \begin_layout Plain Layout
7944 Carolina
7945 \end_layout
7946
7947 \end_inset
7948 </cell>
7949 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7950 \begin_inset Text
7951
7952 \begin_layout Plain Layout
7953 111
7954 \end_layout
7955
7956 \end_inset
7957 </cell>
7958 </row>
7959 <row>
7960 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7961 \begin_inset Text
7962
7963 \begin_layout Plain Layout
7964
7965 \series bold
7966 Dalpiaz
7967 \end_layout
7968
7969 \end_inset
7970 </cell>
7971 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7972 \begin_inset Text
7973
7974 \begin_layout Plain Layout
7975 Annamaria
7976 \end_layout
7977
7978 \end_inset
7979 </cell>
7980 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7981 \begin_inset Text
7982
7983 \begin_layout Plain Layout
7984 111
7985 \end_layout
7986
7987 \end_inset
7988 </cell>
7989 </row>
7990 <row>
7991 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7992 \begin_inset Text
7993
7994 \begin_layout Plain Layout
7995
7996 \series bold
7997 Feliciello
7998 \end_layout
7999
8000 \end_inset
8001 </cell>
8002 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8003 \begin_inset Text
8004
8005 \begin_layout Plain Layout
8006 Domenico
8007 \end_layout
8008
8009 \end_inset
8010 </cell>
8011 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8012 \begin_inset Text
8013
8014 \begin_layout Plain Layout
8015 111
8016 \end_layout
8017
8018 \end_inset
8019 </cell>
8020 </row>
8021 <row>
8022 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8023 \begin_inset Text
8024
8025 \begin_layout Plain Layout
8026
8027 \series bold
8028 Focarelli
8029 \end_layout
8030
8031 \end_inset
8032 </cell>
8033 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8034 \begin_inset Text
8035
8036 \begin_layout Plain Layout
8037 Paola
8038 \end_layout
8039
8040 \end_inset
8041 </cell>
8042 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8043 \begin_inset Text
8044
8045 \begin_layout Plain Layout
8046 111
8047 \end_layout
8048
8049 \end_inset
8050 </cell>
8051 </row>
8052 <row>
8053 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8054 \begin_inset Text
8055
8056 \begin_layout Plain Layout
8057
8058 \series bold
8059 Galletti
8060 \end_layout
8061
8062 \end_inset
8063 </cell>
8064 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8065 \begin_inset Text
8066
8067 \begin_layout Plain Layout
8068 Oreste
8069 \end_layout
8070
8071 \end_inset
8072 </cell>
8073 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8074 \begin_inset Text
8075
8076 \begin_layout Plain Layout
8077 111
8078 \end_layout
8079
8080 \end_inset
8081 </cell>
8082 </row>
8083 <row>
8084 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8085 \begin_inset Text
8086
8087 \begin_layout Plain Layout
8088
8089 \series bold
8090 Gasparini
8091 \end_layout
8092
8093 \end_inset
8094 </cell>
8095 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8096 \begin_inset Text
8097
8098 \begin_layout Plain Layout
8099 Franca
8100 \end_layout
8101
8102 \end_inset
8103 </cell>
8104 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8105 \begin_inset Text
8106
8107 \begin_layout Plain Layout
8108 111
8109 \end_layout
8110
8111 \end_inset
8112 </cell>
8113 </row>
8114 <row>
8115 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8116 \begin_inset Text
8117
8118 \begin_layout Plain Layout
8119
8120 \series bold
8121 Rizzardi
8122 \series default
8123
8124 \begin_inset Foot
8125 status open
8126
8127 \begin_layout Plain Layout
8128 Example footnote
8129 \end_layout
8130
8131 \end_inset
8132
8133
8134 \end_layout
8135
8136 \end_inset
8137 </cell>
8138 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8139 \begin_inset Text
8140
8141 \begin_layout Plain Layout
8142 Paola
8143 \end_layout
8144
8145 \end_inset
8146 </cell>
8147 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8148 \begin_inset Text
8149
8150 \begin_layout Plain Layout
8151 111
8152 \end_layout
8153
8154 \end_inset
8155 </cell>
8156 </row>
8157 <row>
8158 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8159 \begin_inset Text
8160
8161 \begin_layout Plain Layout
8162
8163 \series bold
8164 Lassini
8165 \end_layout
8166
8167 \end_inset
8168 </cell>
8169 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8170 \begin_inset Text
8171
8172 \begin_layout Plain Layout
8173 Giancarlo
8174 \end_layout
8175
8176 \end_inset
8177 </cell>
8178 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8179 \begin_inset Text
8180
8181 \begin_layout Plain Layout
8182 111
8183 \end_layout
8184
8185 \end_inset
8186 </cell>
8187 </row>
8188 <row>
8189 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8190 \begin_inset Text
8191
8192 \begin_layout Plain Layout
8193
8194 \series bold
8195 Malfatti
8196 \end_layout
8197
8198 \end_inset
8199 </cell>
8200 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8201 \begin_inset Text
8202
8203 \begin_layout Plain Layout
8204 Luciano
8205 \end_layout
8206
8207 \end_inset
8208 </cell>
8209 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8210 \begin_inset Text
8211
8212 \begin_layout Plain Layout
8213 111
8214 \end_layout
8215
8216 \end_inset
8217 </cell>
8218 </row>
8219 <row>
8220 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8221 \begin_inset Text
8222
8223 \begin_layout Plain Layout
8224
8225 \series bold
8226 Malfatti
8227 \end_layout
8228
8229 \end_inset
8230 </cell>
8231 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8232 \begin_inset Text
8233
8234 \begin_layout Plain Layout
8235 Valeriano
8236 \end_layout
8237
8238 \end_inset
8239 </cell>
8240 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8241 \begin_inset Text
8242
8243 \begin_layout Plain Layout
8244 111
8245 \end_layout
8246
8247 \end_inset
8248 </cell>
8249 </row>
8250 <row>
8251 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8252 \begin_inset Text
8253
8254 \begin_layout Plain Layout
8255
8256 \series bold
8257 Meneguzzo
8258 \end_layout
8259
8260 \end_inset
8261 </cell>
8262 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8263 \begin_inset Text
8264
8265 \begin_layout Plain Layout
8266 Roberto
8267 \end_layout
8268
8269 \end_inset
8270 </cell>
8271 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8272 \begin_inset Text
8273
8274 \begin_layout Plain Layout
8275 111
8276 \end_layout
8277
8278 \end_inset
8279 </cell>
8280 </row>
8281 <row>
8282 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8283 \begin_inset Text
8284
8285 \begin_layout Plain Layout
8286
8287 \series bold
8288 Mezzadra
8289 \end_layout
8290
8291 \end_inset
8292 </cell>
8293 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8294 \begin_inset Text
8295
8296 \begin_layout Plain Layout
8297 Roberto
8298 \end_layout
8299
8300 \end_inset
8301 </cell>
8302 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8303 \begin_inset Text
8304
8305 \begin_layout Plain Layout
8306 111
8307 \end_layout
8308
8309 \end_inset
8310 </cell>
8311 </row>
8312 <row>
8313 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8314 \begin_inset Text
8315
8316 \begin_layout Plain Layout
8317
8318 \series bold
8319 Pirpamer
8320 \end_layout
8321
8322 \end_inset
8323 </cell>
8324 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8325 \begin_inset Text
8326
8327 \begin_layout Plain Layout
8328 Erich
8329 \end_layout
8330
8331 \end_inset
8332 </cell>
8333 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8334 \begin_inset Text
8335
8336 \begin_layout Plain Layout
8337 111
8338 \end_layout
8339
8340 \end_inset
8341 </cell>
8342 </row>
8343 <row>
8344 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8345 \begin_inset Text
8346
8347 \begin_layout Plain Layout
8348
8349 \series bold
8350 Pochiesa
8351 \end_layout
8352
8353 \end_inset
8354 </cell>
8355 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8356 \begin_inset Text
8357
8358 \begin_layout Plain Layout
8359 Paolo
8360 \end_layout
8361
8362 \end_inset
8363 </cell>
8364 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8365 \begin_inset Text
8366
8367 \begin_layout Plain Layout
8368 111, 222
8369 \end_layout
8370
8371 \end_inset
8372 </cell>
8373 </row>
8374 <row>
8375 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8376 \begin_inset Text
8377
8378 \begin_layout Plain Layout
8379
8380 \series bold
8381 Radina
8382 \end_layout
8383
8384 \end_inset
8385 </cell>
8386 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8387 \begin_inset Text
8388
8389 \begin_layout Plain Layout
8390 Claudio
8391 \end_layout
8392
8393 \end_inset
8394 </cell>
8395 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8396 \begin_inset Text
8397
8398 \begin_layout Plain Layout
8399 111
8400 \end_layout
8401
8402 \end_inset
8403 </cell>
8404 </row>
8405 <row>
8406 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8407 \begin_inset Text
8408
8409 \begin_layout Plain Layout
8410
8411 \series bold
8412 Stuffer
8413 \end_layout
8414
8415 \end_inset
8416 </cell>
8417 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8418 \begin_inset Text
8419
8420 \begin_layout Plain Layout
8421 Oskar
8422 \end_layout
8423
8424 \end_inset
8425 </cell>
8426 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8427 \begin_inset Text
8428
8429 \begin_layout Plain Layout
8430 111
8431 \end_layout
8432
8433 \end_inset
8434 </cell>
8435 </row>
8436 <row>
8437 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8438 \begin_inset Text
8439
8440 \begin_layout Plain Layout
8441
8442 \series bold
8443 Tacchelli
8444 \end_layout
8445
8446 \end_inset
8447 </cell>
8448 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8449 \begin_inset Text
8450
8451 \begin_layout Plain Layout
8452 Ugo
8453 \end_layout
8454
8455 \end_inset
8456 </cell>
8457 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8458 \begin_inset Text
8459
8460 \begin_layout Plain Layout
8461 111
8462 \end_layout
8463
8464 \end_inset
8465 </cell>
8466 </row>
8467 <row>
8468 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8469 \begin_inset Text
8470
8471 \begin_layout Plain Layout
8472
8473 \series bold
8474 Tezzele
8475 \end_layout
8476
8477 \end_inset
8478 </cell>
8479 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8480 \begin_inset Text
8481
8482 \begin_layout Plain Layout
8483 Margit
8484 \end_layout
8485
8486 \end_inset
8487 </cell>
8488 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8489 \begin_inset Text
8490
8491 \begin_layout Plain Layout
8492 111
8493 \end_layout
8494
8495 \end_inset
8496 </cell>
8497 </row>
8498 <row>
8499 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8500 \begin_inset Text
8501
8502 \begin_layout Plain Layout
8503
8504 \series bold
8505 Unterkalmsteiner
8506 \end_layout
8507
8508 \end_inset
8509 </cell>
8510 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8511 \begin_inset Text
8512
8513 \begin_layout Plain Layout
8514 Frieda
8515 \end_layout
8516
8517 \end_inset
8518 </cell>
8519 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8520 \begin_inset Text
8521
8522 \begin_layout Plain Layout
8523 111
8524 \end_layout
8525
8526 \end_inset
8527 </cell>
8528 </row>
8529 <row>
8530 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8531 \begin_inset Text
8532
8533 \begin_layout Plain Layout
8534
8535 \series bold
8536 Vieider
8537 \end_layout
8538
8539 \end_inset
8540 </cell>
8541 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8542 \begin_inset Text
8543
8544 \begin_layout Plain Layout
8545 Hilde
8546 \end_layout
8547
8548 \end_inset
8549 </cell>
8550 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8551 \begin_inset Text
8552
8553 \begin_layout Plain Layout
8554 111
8555 \end_layout
8556
8557 \end_inset
8558 </cell>
8559 </row>
8560 <row>
8561 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8562 \begin_inset Text
8563
8564 \begin_layout Plain Layout
8565
8566 \series bold
8567 Vigna
8568 \end_layout
8569
8570 \end_inset
8571 </cell>
8572 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8573 \begin_inset Text
8574
8575 \begin_layout Plain Layout
8576 Jürgen
8577 \end_layout
8578
8579 \end_inset
8580 </cell>
8581 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8582 \begin_inset Text
8583
8584 \begin_layout Plain Layout
8585 111
8586 \end_layout
8587
8588 \end_inset
8589 </cell>
8590 </row>
8591 <row>
8592 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8593 \begin_inset Text
8594
8595 \begin_layout Plain Layout
8596
8597 \series bold
8598 Weber
8599 \end_layout
8600
8601 \end_inset
8602 </cell>
8603 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8604 \begin_inset Text
8605
8606 \begin_layout Plain Layout
8607 Maurizio
8608 \end_layout
8609
8610 \end_inset
8611 </cell>
8612 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8613 \begin_inset Text
8614
8615 \begin_layout Plain Layout
8616 111
8617 \end_layout
8618
8619 \end_inset
8620 </cell>
8621 </row>
8622 <row>
8623 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8624 \begin_inset Text
8625
8626 \begin_layout Plain Layout
8627
8628 \series bold
8629 Winkler
8630 \end_layout
8631
8632 \end_inset
8633 </cell>
8634 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8635 \begin_inset Text
8636
8637 \begin_layout Plain Layout
8638 Franz
8639 \end_layout
8640
8641 \end_inset
8642 </cell>
8643 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8644 \begin_inset Text
8645
8646 \begin_layout Plain Layout
8647 111
8648 \end_layout
8649
8650 \end_inset
8651 </cell>
8652 </row>
8653 <row>
8654 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8655 \begin_inset Text
8656
8657 \begin_layout Plain Layout
8658  
8659 \end_layout
8660
8661 \end_inset
8662 </cell>
8663 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
8664 \begin_inset Text
8665
8666 \begin_layout Plain Layout
8667
8668 \end_layout
8669
8670 \end_inset
8671 </cell>
8672 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8673 \begin_inset Text
8674
8675 \begin_layout Plain Layout
8676
8677 \end_layout
8678
8679 \end_inset
8680 </cell>
8681 </row>
8682 <row>
8683 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8684 \begin_inset Text
8685
8686 \begin_layout Plain Layout
8687
8688 \series bold
8689 Annovi
8690 \end_layout
8691
8692 \end_inset
8693 </cell>
8694 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8695 \begin_inset Text
8696
8697 \begin_layout Plain Layout
8698 Silvia
8699 \end_layout
8700
8701 \end_inset
8702 </cell>
8703 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8704 \begin_inset Text
8705
8706 \begin_layout Plain Layout
8707 555
8708 \end_layout
8709
8710 \end_inset
8711 </cell>
8712 </row>
8713 <row>
8714 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8715 \begin_inset Text
8716
8717 \begin_layout Plain Layout
8718
8719 \series bold
8720 Bertoli
8721 \end_layout
8722
8723 \end_inset
8724 </cell>
8725 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8726 \begin_inset Text
8727
8728 \begin_layout Plain Layout
8729 Stefano
8730 \end_layout
8731
8732 \end_inset
8733 </cell>
8734 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8735 \begin_inset Text
8736
8737 \begin_layout Plain Layout
8738 555
8739 \end_layout
8740
8741 \end_inset
8742 </cell>
8743 </row>
8744 <row>
8745 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8746 \begin_inset Text
8747
8748 \begin_layout Plain Layout
8749
8750 \series bold
8751 Bozzi
8752 \end_layout
8753
8754 \end_inset
8755 </cell>
8756 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8757 \begin_inset Text
8758
8759 \begin_layout Plain Layout
8760 Walter
8761 \end_layout
8762
8763 \end_inset
8764 </cell>
8765 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8766 \begin_inset Text
8767
8768 \begin_layout Plain Layout
8769 555
8770 \end_layout
8771
8772 \end_inset
8773 </cell>
8774 </row>
8775 <row>
8776 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8777 \begin_inset Text
8778
8779 \begin_layout Plain Layout
8780
8781 \series bold
8782 Cachia
8783 \end_layout
8784
8785 \end_inset
8786 </cell>
8787 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8788 \begin_inset Text
8789
8790 \begin_layout Plain Layout
8791 Maria
8792 \end_layout
8793
8794 \end_inset
8795 </cell>
8796 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8797 \begin_inset Text
8798
8799 \begin_layout Plain Layout
8800 555
8801 \end_layout
8802
8803 \end_inset
8804 </cell>
8805 </row>
8806 <row>
8807 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8808 \begin_inset Text
8809
8810 \begin_layout Plain Layout
8811
8812 \series bold
8813 Cachia
8814 \end_layout
8815
8816 \end_inset
8817 </cell>
8818 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8819 \begin_inset Text
8820
8821 \begin_layout Plain Layout
8822 Maurizio
8823 \end_layout
8824
8825 \end_inset
8826 </cell>
8827 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8828 \begin_inset Text
8829
8830 \begin_layout Plain Layout
8831 555
8832 \end_layout
8833
8834 \end_inset
8835 </cell>
8836 </row>
8837 <row>
8838 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8839 \begin_inset Text
8840
8841 \begin_layout Plain Layout
8842
8843 \series bold
8844 Cinquemani
8845 \end_layout
8846
8847 \end_inset
8848 </cell>
8849 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8850 \begin_inset Text
8851
8852 \begin_layout Plain Layout
8853 Giusi
8854 \end_layout
8855
8856 \end_inset
8857 </cell>
8858 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8859 \begin_inset Text
8860
8861 \begin_layout Plain Layout
8862 555
8863 \end_layout
8864
8865 \end_inset
8866 </cell>
8867 </row>
8868 <row>
8869 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8870 \begin_inset Text
8871
8872 \begin_layout Plain Layout
8873
8874 \series bold
8875 Colin
8876 \end_layout
8877
8878 \end_inset
8879 </cell>
8880 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8881 \begin_inset Text
8882
8883 \begin_layout Plain Layout
8884 Bernard
8885 \end_layout
8886
8887 \end_inset
8888 </cell>
8889 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8890 \begin_inset Text
8891
8892 \begin_layout Plain Layout
8893 555
8894 \end_layout
8895
8896 \end_inset
8897 </cell>
8898 </row>
8899 <row>
8900 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8901 \begin_inset Text
8902
8903 \begin_layout Plain Layout
8904
8905 \series bold
8906 Concli
8907 \end_layout
8908
8909 \end_inset
8910 </cell>
8911 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8912 \begin_inset Text
8913
8914 \begin_layout Plain Layout
8915 Gianfranco
8916 \end_layout
8917
8918 \end_inset
8919 </cell>
8920 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8921 \begin_inset Text
8922
8923 \begin_layout Plain Layout
8924 555
8925 \end_layout
8926
8927 \end_inset
8928 </cell>
8929 </row>
8930 <row>
8931 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8932 \begin_inset Text
8933
8934 \begin_layout Plain Layout
8935
8936 \series bold
8937 Dal Bosco
8938 \end_layout
8939
8940 \end_inset
8941 </cell>
8942 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8943 \begin_inset Text
8944
8945 \begin_layout Plain Layout
8946 Carolina
8947 \end_layout
8948
8949 \end_inset
8950 </cell>
8951 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8952 \begin_inset Text
8953
8954 \begin_layout Plain Layout
8955 555
8956 \end_layout
8957
8958 \end_inset
8959 </cell>
8960 </row>
8961 <row>
8962 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8963 \begin_inset Text
8964
8965 \begin_layout Plain Layout
8966
8967 \series bold
8968 Dalpiaz
8969 \end_layout
8970
8971 \end_inset
8972 </cell>
8973 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8974 \begin_inset Text
8975
8976 \begin_layout Plain Layout
8977 Annamaria
8978 \end_layout
8979
8980 \end_inset
8981 </cell>
8982 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8983 \begin_inset Text
8984
8985 \begin_layout Plain Layout
8986 555
8987 \end_layout
8988
8989 \end_inset
8990 </cell>
8991 </row>
8992 <row>
8993 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8994 \begin_inset Text
8995
8996 \begin_layout Plain Layout
8997
8998 \series bold
8999 Feliciello
9000 \end_layout
9001
9002 \end_inset
9003 </cell>
9004 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9005 \begin_inset Text
9006
9007 \begin_layout Plain Layout
9008 Domenico
9009 \end_layout
9010
9011 \end_inset
9012 </cell>
9013 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9014 \begin_inset Text
9015
9016 \begin_layout Plain Layout
9017 555
9018 \end_layout
9019
9020 \end_inset
9021 </cell>
9022 </row>
9023 <row>
9024 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9025 \begin_inset Text
9026
9027 \begin_layout Plain Layout
9028
9029 \series bold
9030 Focarelli
9031 \end_layout
9032
9033 \end_inset
9034 </cell>
9035 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9036 \begin_inset Text
9037
9038 \begin_layout Plain Layout
9039 Paola
9040 \end_layout
9041
9042 \end_inset
9043 </cell>
9044 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9045 \begin_inset Text
9046
9047 \begin_layout Plain Layout
9048 555
9049 \end_layout
9050
9051 \end_inset
9052 </cell>
9053 </row>
9054 <row>
9055 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9056 \begin_inset Text
9057
9058 \begin_layout Plain Layout
9059
9060 \series bold
9061 Galletti
9062 \end_layout
9063
9064 \end_inset
9065 </cell>
9066 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9067 \begin_inset Text
9068
9069 \begin_layout Plain Layout
9070 Oreste
9071 \end_layout
9072
9073 \end_inset
9074 </cell>
9075 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9076 \begin_inset Text
9077
9078 \begin_layout Plain Layout
9079 555
9080 \end_layout
9081
9082 \end_inset
9083 </cell>
9084 </row>
9085 <row>
9086 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9087 \begin_inset Text
9088
9089 \begin_layout Plain Layout
9090
9091 \series bold
9092 Gasparini
9093 \end_layout
9094
9095 \end_inset
9096 </cell>
9097 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9098 \begin_inset Text
9099
9100 \begin_layout Plain Layout
9101 Franca
9102 \end_layout
9103
9104 \end_inset
9105 </cell>
9106 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9107 \begin_inset Text
9108
9109 \begin_layout Plain Layout
9110 555
9111 \end_layout
9112
9113 \end_inset
9114 </cell>
9115 </row>
9116 <row>
9117 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9118 \begin_inset Text
9119
9120 \begin_layout Plain Layout
9121
9122 \series bold
9123 Rizzardi
9124 \end_layout
9125
9126 \end_inset
9127 </cell>
9128 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9129 \begin_inset Text
9130
9131 \begin_layout Plain Layout
9132 Paola
9133 \end_layout
9134
9135 \end_inset
9136 </cell>
9137 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9138 \begin_inset Text
9139
9140 \begin_layout Plain Layout
9141 555
9142 \end_layout
9143
9144 \end_inset
9145 </cell>
9146 </row>
9147 <row>
9148 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9149 \begin_inset Text
9150
9151 \begin_layout Plain Layout
9152
9153 \series bold
9154 Lassini
9155 \end_layout
9156
9157 \end_inset
9158 </cell>
9159 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9160 \begin_inset Text
9161
9162 \begin_layout Plain Layout
9163 Giancarlo
9164 \end_layout
9165
9166 \end_inset
9167 </cell>
9168 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9169 \begin_inset Text
9170
9171 \begin_layout Plain Layout
9172 555
9173 \end_layout
9174
9175 \end_inset
9176 </cell>
9177 </row>
9178 <row>
9179 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9180 \begin_inset Text
9181
9182 \begin_layout Plain Layout
9183
9184 \series bold
9185 Malfatti
9186 \end_layout
9187
9188 \end_inset
9189 </cell>
9190 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9191 \begin_inset Text
9192
9193 \begin_layout Plain Layout
9194 Luciano
9195 \end_layout
9196
9197 \end_inset
9198 </cell>
9199 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9200 \begin_inset Text
9201
9202 \begin_layout Plain Layout
9203 555
9204 \end_layout
9205
9206 \end_inset
9207 </cell>
9208 </row>
9209 <row>
9210 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9211 \begin_inset Text
9212
9213 \begin_layout Plain Layout
9214
9215 \series bold
9216 Malfatti
9217 \end_layout
9218
9219 \end_inset
9220 </cell>
9221 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9222 \begin_inset Text
9223
9224 \begin_layout Plain Layout
9225 Valeriano
9226 \end_layout
9227
9228 \end_inset
9229 </cell>
9230 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9231 \begin_inset Text
9232
9233 \begin_layout Plain Layout
9234 555
9235 \end_layout
9236
9237 \end_inset
9238 </cell>
9239 </row>
9240 <row>
9241 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9242 \begin_inset Text
9243
9244 \begin_layout Plain Layout
9245
9246 \series bold
9247 Meneguzzo
9248 \end_layout
9249
9250 \end_inset
9251 </cell>
9252 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9253 \begin_inset Text
9254
9255 \begin_layout Plain Layout
9256 Roberto
9257 \end_layout
9258
9259 \end_inset
9260 </cell>
9261 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9262 \begin_inset Text
9263
9264 \begin_layout Plain Layout
9265 555
9266 \end_layout
9267
9268 \end_inset
9269 </cell>
9270 </row>
9271 <row>
9272 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
9273 \begin_inset Text
9274
9275 \begin_layout Plain Layout
9276
9277 \series bold
9278 Mezzadra
9279 \end_layout
9280
9281 \end_inset
9282 </cell>
9283 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9284 \begin_inset Text
9285
9286 \begin_layout Plain Layout
9287 Roberto
9288 \end_layout
9289
9290 \end_inset
9291 </cell>
9292 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9293 \begin_inset Text
9294
9295 \begin_layout Plain Layout
9296 555
9297 \end_layout
9298
9299 \end_inset
9300 </cell>
9301 </row>
9302 <row endlastfoot="true">
9303 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9304 \begin_inset Text
9305
9306 \begin_layout Plain Layout
9307
9308 \end_layout
9309
9310 \end_inset
9311 </cell>
9312 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
9313 \begin_inset Text
9314
9315 \begin_layout Plain Layout
9316
9317 \end_layout
9318
9319 \end_inset
9320 </cell>
9321 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9322 \begin_inset Text
9323
9324 \begin_layout Plain Layout
9325
9326 \end_layout
9327
9328 \end_inset
9329 </cell>
9330 </row>
9331 </lyxtabular>
9332
9333 \end_inset
9334
9335
9336 \end_layout
9337
9338 \begin_layout Section
9339 Special Longtable Issues
9340 \begin_inset CommandInset label
9341 LatexCommand label
9342 name "sec:Special-Longtable-Issues"
9343
9344 \end_inset
9345
9346
9347 \end_layout
9348
9349 \begin_layout Subsection
9350 Longtable Calculation
9351 \begin_inset Index
9352 status collapsed
9353
9354 \begin_layout Plain Layout
9355 Longtables ! Calculation
9356 \end_layout
9357
9358 \end_inset
9359
9360
9361 \end_layout
9362
9363 \begin_layout Standard
9364 LaTeX calculates the height of table pages and their page breaks using so
9365  called chunks.
9366  Chunks are pieces of the tables that are at once in LaTeX's memory.
9367  The default value is historically set to only 20 table rows.
9368  If you are using longtables with many pages this may slow down the creation
9369  of your document.
9370  You can safely increase the chunk size to values of 100-1000 by adding
9371  this command line to your document preamble:
9372 \end_layout
9373
9374 \begin_layout Standard
9375
9376 \series bold
9377
9378 \backslash
9379 setcounter{LTchunksize}{100}
9380 \end_layout
9381
9382 \begin_layout Subsection
9383 Floats and Longtables
9384 \begin_inset Index
9385 status collapsed
9386
9387 \begin_layout Plain Layout
9388 Longtables ! Floats
9389 \end_layout
9390
9391 \end_inset
9392
9393
9394 \end_layout
9395
9396 \begin_layout Standard
9397 There might be problems when a float appears on the same page where a longtable
9398  starts.
9399  To avoid such situation, add the command 
9400 \series bold
9401
9402 \backslash
9403 clearpage
9404 \series default
9405  as TeX-Code before your longtable.
9406 \end_layout
9407
9408 \begin_layout Subsection
9409 Forced Page Breaks
9410 \begin_inset Index
9411 status collapsed
9412
9413 \begin_layout Plain Layout
9414 Longtables ! Forced Page Breaks
9415 \end_layout
9416
9417 \end_inset
9418
9419
9420 \end_layout
9421
9422 \begin_layout Standard
9423 By default tables are only broken between rows.
9424  If you have a cell with multiples lines and want to have a page break within
9425  the cell, insert the new line command 
9426 \begin_inset Quotes eld
9427 \end_inset
9428
9429
9430 \series bold
9431
9432 \backslash
9433
9434 \backslash
9435
9436 \series default
9437
9438 \begin_inset Quotes erd
9439 \end_inset
9440
9441  as TeX-Code at this point of the cell where it can be broken.
9442  Before the 
9443 \series bold
9444
9445 \backslash
9446
9447 \backslash
9448
9449 \series default
9450  command you have to insert in TeX-Code so many 
9451 \begin_inset Quotes eld
9452 \end_inset
9453
9454
9455 \series bold
9456 &
9457 \series default
9458
9459 \begin_inset Quotes erd
9460 \end_inset
9461
9462  characters like the number of the following table columns.
9463  The 
9464 \series bold
9465 &
9466 \series default
9467  is the character to separate table cells.
9468  Write in TeX-Code after each 
9469 \series bold
9470 &
9471 \series default
9472  the content of the corresponding following cell and delete the content
9473  of these cells.
9474 \begin_inset Newline newline
9475 \end_inset
9476
9477 Behind the the 
9478 \series bold
9479
9480 \backslash
9481
9482 \backslash
9483
9484 \series default
9485  command, insert so many 
9486 \series bold
9487 &
9488 \series default
9489  characters like the number of table columns before the current column.
9490  In Table
9491 \begin_inset space ~
9492 \end_inset
9493
9494
9495 \begin_inset CommandInset ref
9496 LatexCommand ref
9497 reference "tab:ForcedPagebreak"
9498
9499 \end_inset
9500
9501  the cell that should be broken is in the second column followed by another
9502  column.
9503  Therefore the following command was inserted in the cell as TeX-Code behind
9504  
9505 \begin_inset Quotes eld
9506 \end_inset
9507
9508
9509 \emph on
9510 Castelchiodato,
9511 \emph default
9512
9513 \begin_inset Quotes erd
9514 \end_inset
9515
9516 :
9517 \end_layout
9518
9519 \begin_layout Standard
9520
9521 \series bold
9522 & 111
9523 \backslash
9524
9525 \backslash
9526  
9527 \backslash
9528 newpage
9529 \begin_inset Newline newline
9530 \end_inset
9531
9532 &
9533 \end_layout
9534
9535 \begin_layout Standard
9536 The 
9537 \begin_inset Quotes eld
9538 \end_inset
9539
9540 111
9541 \begin_inset Quotes erd
9542 \end_inset
9543
9544  in the third columns of the row was deleted.
9545  
9546 \series bold
9547
9548 \backslash
9549 newpage
9550 \series default
9551  is only needed when a page break should definitively occur at this position,
9552  otherwise it is only a possibility to break.
9553  If your footer row of the longtable has for a certain reason no upper line
9554  but you would have a horizontal line where the cell is broken, use this
9555  command instead:
9556 \end_layout
9557
9558 \begin_layout Standard
9559
9560 \series bold
9561 & 111
9562 \backslash
9563
9564 \backslash
9565
9566 \begin_inset Newline newline
9567 \end_inset
9568
9569
9570 \backslash
9571 hline &
9572 \end_layout
9573
9574 \begin_layout Standard
9575 When the cell to be broken is in the last column, the command
9576 \end_layout
9577
9578 \begin_layout Standard
9579
9580 \series bold
9581
9582 \backslash
9583 setlength{
9584 \backslash
9585 parfillskip}{0pt}
9586 \end_layout
9587
9588 \begin_layout Standard
9589 must be inserted as TeX-Code at the beginning of the cell.
9590  This assures that the part of the cell that will be displayed on the new
9591  page appears with the full width.
9592 \end_layout
9593
9594 \begin_layout Standard
9595 \align center
9596 \begin_inset Tabular
9597 <lyxtabular version="3" rows="39" columns="3">
9598 <features islongtable="true">
9599 <column alignment="left" valignment="top" width="0cm">
9600 <column alignment="left" valignment="top" width="3cm">
9601 <column alignment="center" valignment="top" width="0pt">
9602 <row caption="true">
9603 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9604 \begin_inset Text
9605
9606 \begin_layout Plain Layout
9607 \begin_inset Caption
9608
9609 \begin_layout Plain Layout
9610 Table with forced page break in table cell
9611 \begin_inset CommandInset label
9612 LatexCommand label
9613 name "tab:ForcedPagebreak"
9614
9615 \end_inset
9616
9617
9618 \begin_inset OptArg
9619 status collapsed
9620
9621 \begin_layout Plain Layout
9622 Table with forced page break in table cell
9623 \end_layout
9624
9625 \end_inset
9626
9627
9628 \end_layout
9629
9630 \end_inset
9631
9632
9633 \end_layout
9634
9635 \end_inset
9636 </cell>
9637 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9638 \begin_inset Text
9639
9640 \begin_layout Plain Layout
9641
9642 \end_layout
9643
9644 \end_inset
9645 </cell>
9646 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9647 \begin_inset Text
9648
9649 \begin_layout Plain Layout
9650
9651 \end_layout
9652
9653 \end_inset
9654 </cell>
9655 </row>
9656 <row endfirsthead="true">
9657 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9658 \begin_inset Text
9659
9660 \begin_layout Plain Layout
9661
9662 \series bold
9663 Example Phone List (ignore the names)
9664 \end_layout
9665
9666 \end_inset
9667 </cell>
9668 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9669 \begin_inset Text
9670
9671 \begin_layout Plain Layout
9672
9673 \end_layout
9674
9675 \end_inset
9676 </cell>
9677 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9678 \begin_inset Text
9679
9680 \begin_layout Plain Layout
9681
9682 \end_layout
9683
9684 \end_inset
9685 </cell>
9686 </row>
9687 <row endfirsthead="true">
9688 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9689 \begin_inset Text
9690
9691 \begin_layout Plain Layout
9692
9693 \series bold
9694 NAME
9695 \end_layout
9696
9697 \end_inset
9698 </cell>
9699 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9700 \begin_inset Text
9701
9702 \begin_layout Plain Layout
9703
9704 \end_layout
9705
9706 \end_inset
9707 </cell>
9708 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9709 \begin_inset Text
9710
9711 \begin_layout Plain Layout
9712
9713 \series bold
9714 TEL.
9715 \end_layout
9716
9717 \end_inset
9718 </cell>
9719 </row>
9720 <row endhead="true">
9721 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9722 \begin_inset Text
9723
9724 \begin_layout Plain Layout
9725 \begin_inset ERT
9726 status collapsed
9727
9728 \begin_layout Plain Layout
9729
9730
9731 \backslash
9732 caption*{Continued Example Phone List}
9733 \backslash
9734
9735 \backslash
9736 %
9737 \end_layout
9738
9739 \end_inset
9740
9741
9742 \end_layout
9743
9744 \end_inset
9745 </cell>
9746 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9747 \begin_inset Text
9748
9749 \begin_layout Plain Layout
9750
9751 \end_layout
9752
9753 \end_inset
9754 </cell>
9755 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9756 \begin_inset Text
9757
9758 \begin_layout Plain Layout
9759
9760 \end_layout
9761
9762 \end_inset
9763 </cell>
9764 </row>
9765 <row endhead="true">
9766 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9767 \begin_inset Text
9768
9769 \begin_layout Plain Layout
9770
9771 \series bold
9772 Example Phone List
9773 \end_layout
9774
9775 \end_inset
9776 </cell>
9777 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9778 \begin_inset Text
9779
9780 \begin_layout Plain Layout
9781
9782 \end_layout
9783
9784 \end_inset
9785 </cell>
9786 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9787 \begin_inset Text
9788
9789 \begin_layout Plain Layout
9790
9791 \end_layout
9792
9793 \end_inset
9794 </cell>
9795 </row>
9796 <row endhead="true">
9797 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9798 \begin_inset Text
9799
9800 \begin_layout Plain Layout
9801
9802 \series bold
9803 NAME
9804 \end_layout
9805
9806 \end_inset
9807 </cell>
9808 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9809 \begin_inset Text
9810
9811 \begin_layout Plain Layout
9812
9813 \end_layout
9814
9815 \end_inset
9816 </cell>
9817 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9818 \begin_inset Text
9819
9820 \begin_layout Plain Layout
9821
9822 \series bold
9823 TEL.
9824 \end_layout
9825
9826 \end_inset
9827 </cell>
9828 </row>
9829 <row endfoot="true">
9830 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
9831 \begin_inset Text
9832
9833 \begin_layout Plain Layout
9834 continued on next page
9835 \end_layout
9836
9837 \end_inset
9838 </cell>
9839 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9840 \begin_inset Text
9841
9842 \begin_layout Plain Layout
9843
9844 \end_layout
9845
9846 \end_inset
9847 </cell>
9848 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9849 \begin_inset Text
9850
9851 \begin_layout Plain Layout
9852
9853 \end_layout
9854
9855 \end_inset
9856 </cell>
9857 </row>
9858 <row>
9859 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9860 \begin_inset Text
9861
9862 \begin_layout Plain Layout
9863
9864 \series bold
9865 Annovi
9866 \end_layout
9867
9868 \end_inset
9869 </cell>
9870 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9871 \begin_inset Text
9872
9873 \begin_layout Plain Layout
9874 Silvia
9875 \end_layout
9876
9877 \end_inset
9878 </cell>
9879 <cell alignment="right" valignment="top" rightline="true" usebox="none">
9880 \begin_inset Text
9881
9882 \begin_layout Plain Layout
9883 111
9884 \end_layout
9885
9886 \end_inset
9887 </cell>
9888 </row>
9889 <row>
9890 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9891 \begin_inset Text
9892
9893 \begin_layout Plain Layout
9894
9895 \series bold
9896 Bertoli
9897 \end_layout
9898
9899 \end_inset
9900 </cell>
9901 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9902 \begin_inset Text
9903
9904 \begin_layout Plain Layout
9905 Stefano
9906 \end_layout
9907
9908 \end_inset
9909 </cell>
9910 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9911 \begin_inset Text
9912
9913 \begin_layout Plain Layout
9914 111
9915 \end_layout
9916
9917 \end_inset
9918 </cell>
9919 </row>
9920 <row>
9921 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9922 \begin_inset Text
9923
9924 \begin_layout Plain Layout
9925
9926 \series bold
9927 Bozzi
9928 \end_layout
9929
9930 \end_inset
9931 </cell>
9932 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9933 \begin_inset Text
9934
9935 \begin_layout Plain Layout
9936 Walter
9937 \end_layout
9938
9939 \end_inset
9940 </cell>
9941 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9942 \begin_inset Text
9943
9944 \begin_layout Plain Layout
9945 111
9946 \end_layout
9947
9948 \end_inset
9949 </cell>
9950 </row>
9951 <row>
9952 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9953 \begin_inset Text
9954
9955 \begin_layout Plain Layout
9956
9957 \series bold
9958 Cachia
9959 \end_layout
9960
9961 \end_inset
9962 </cell>
9963 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9964 \begin_inset Text
9965
9966 \begin_layout Plain Layout
9967 Maria
9968 \end_layout
9969
9970 \end_inset
9971 </cell>
9972 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9973 \begin_inset Text
9974
9975 \begin_layout Plain Layout
9976 111
9977 \end_layout
9978
9979 \end_inset
9980 </cell>
9981 </row>
9982 <row>
9983 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9984 \begin_inset Text
9985
9986 \begin_layout Plain Layout
9987
9988 \series bold
9989 Cachia
9990 \end_layout
9991
9992 \end_inset
9993 </cell>
9994 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9995 \begin_inset Text
9996
9997 \begin_layout Plain Layout
9998 Maurizio
9999 \end_layout
10000
10001 \end_inset
10002 </cell>
10003 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10004 \begin_inset Text
10005
10006 \begin_layout Plain Layout
10007 111
10008 \end_layout
10009
10010 \end_inset
10011 </cell>
10012 </row>
10013 <row>
10014 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10015 \begin_inset Text
10016
10017 \begin_layout Plain Layout
10018
10019 \series bold
10020 Cinquemani
10021 \end_layout
10022
10023 \end_inset
10024 </cell>
10025 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10026 \begin_inset Text
10027
10028 \begin_layout Plain Layout
10029 Giusi
10030 \end_layout
10031
10032 \end_inset
10033 </cell>
10034 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10035 \begin_inset Text
10036
10037 \begin_layout Plain Layout
10038 111
10039 \end_layout
10040
10041 \end_inset
10042 </cell>
10043 </row>
10044 <row>
10045 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10046 \begin_inset Text
10047
10048 \begin_layout Plain Layout
10049
10050 \series bold
10051 Colin
10052 \end_layout
10053
10054 \end_inset
10055 </cell>
10056 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10057 \begin_inset Text
10058
10059 \begin_layout Plain Layout
10060 Bernard
10061 \end_layout
10062
10063 \end_inset
10064 </cell>
10065 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10066 \begin_inset Text
10067
10068 \begin_layout Plain Layout
10069 111
10070 \end_layout
10071
10072 \end_inset
10073 </cell>
10074 </row>
10075 <row>
10076 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10077 \begin_inset Text
10078
10079 \begin_layout Plain Layout
10080
10081 \series bold
10082 Concli
10083 \end_layout
10084
10085 \end_inset
10086 </cell>
10087 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10088 \begin_inset Text
10089
10090 \begin_layout Plain Layout
10091 Gianfranco
10092 \end_layout
10093
10094 \end_inset
10095 </cell>
10096 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10097 \begin_inset Text
10098
10099 \begin_layout Plain Layout
10100 111
10101 \end_layout
10102
10103 \end_inset
10104 </cell>
10105 </row>
10106 <row>
10107 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10108 \begin_inset Text
10109
10110 \begin_layout Plain Layout
10111
10112 \series bold
10113 Dal Bosco
10114 \end_layout
10115
10116 \end_inset
10117 </cell>
10118 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10119 \begin_inset Text
10120
10121 \begin_layout Plain Layout
10122 Carolina
10123 \end_layout
10124
10125 \end_inset
10126 </cell>
10127 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10128 \begin_inset Text
10129
10130 \begin_layout Plain Layout
10131 111
10132 \end_layout
10133
10134 \end_inset
10135 </cell>
10136 </row>
10137 <row>
10138 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10139 \begin_inset Text
10140
10141 \begin_layout Plain Layout
10142
10143 \series bold
10144 Dalpiaz
10145 \end_layout
10146
10147 \end_inset
10148 </cell>
10149 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10150 \begin_inset Text
10151
10152 \begin_layout Plain Layout
10153 Annamaria
10154 \end_layout
10155
10156 \end_inset
10157 </cell>
10158 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10159 \begin_inset Text
10160
10161 \begin_layout Plain Layout
10162 111
10163 \end_layout
10164
10165 \end_inset
10166 </cell>
10167 </row>
10168 <row>
10169 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10170 \begin_inset Text
10171
10172 \begin_layout Plain Layout
10173
10174 \series bold
10175 Feliciello
10176 \end_layout
10177
10178 \end_inset
10179 </cell>
10180 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10181 \begin_inset Text
10182
10183 \begin_layout Plain Layout
10184 Domenico
10185 \end_layout
10186
10187 \end_inset
10188 </cell>
10189 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10190 \begin_inset Text
10191
10192 \begin_layout Plain Layout
10193 111
10194 \end_layout
10195
10196 \end_inset
10197 </cell>
10198 </row>
10199 <row>
10200 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10201 \begin_inset Text
10202
10203 \begin_layout Plain Layout
10204
10205 \series bold
10206 Focarelli
10207 \end_layout
10208
10209 \end_inset
10210 </cell>
10211 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10212 \begin_inset Text
10213
10214 \begin_layout Plain Layout
10215 Paola
10216 \end_layout
10217
10218 \end_inset
10219 </cell>
10220 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10221 \begin_inset Text
10222
10223 \begin_layout Plain Layout
10224 111
10225 \end_layout
10226
10227 \end_inset
10228 </cell>
10229 </row>
10230 <row>
10231 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10232 \begin_inset Text
10233
10234 \begin_layout Plain Layout
10235
10236 \series bold
10237 Galletti
10238 \end_layout
10239
10240 \end_inset
10241 </cell>
10242 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10243 \begin_inset Text
10244
10245 \begin_layout Plain Layout
10246 Oreste
10247 \end_layout
10248
10249 \end_inset
10250 </cell>
10251 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10252 \begin_inset Text
10253
10254 \begin_layout Plain Layout
10255 111
10256 \end_layout
10257
10258 \end_inset
10259 </cell>
10260 </row>
10261 <row>
10262 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10263 \begin_inset Text
10264
10265 \begin_layout Plain Layout
10266
10267 \series bold
10268 Gasparini
10269 \end_layout
10270
10271 \end_inset
10272 </cell>
10273 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10274 \begin_inset Text
10275
10276 \begin_layout Plain Layout
10277 Franca
10278 \end_layout
10279
10280 \end_inset
10281 </cell>
10282 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10283 \begin_inset Text
10284
10285 \begin_layout Plain Layout
10286 111
10287 \end_layout
10288
10289 \end_inset
10290 </cell>
10291 </row>
10292 <row>
10293 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10294 \begin_inset Text
10295
10296 \begin_layout Plain Layout
10297
10298 \series bold
10299 Lassini
10300 \end_layout
10301
10302 \end_inset
10303 </cell>
10304 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10305 \begin_inset Text
10306
10307 \begin_layout Plain Layout
10308 Giancarlo
10309 \end_layout
10310
10311 \end_inset
10312 </cell>
10313 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10314 \begin_inset Text
10315
10316 \begin_layout Plain Layout
10317 111
10318 \end_layout
10319
10320 \end_inset
10321 </cell>
10322 </row>
10323 <row>
10324 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10325 \begin_inset Text
10326
10327 \begin_layout Plain Layout
10328
10329 \series bold
10330 Malfatti
10331 \end_layout
10332
10333 \end_inset
10334 </cell>
10335 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10336 \begin_inset Text
10337
10338 \begin_layout Plain Layout
10339 Luciano
10340 \end_layout
10341
10342 \end_inset
10343 </cell>
10344 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10345 \begin_inset Text
10346
10347 \begin_layout Plain Layout
10348 111
10349 \end_layout
10350
10351 \end_inset
10352 </cell>
10353 </row>
10354 <row>
10355 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10356 \begin_inset Text
10357
10358 \begin_layout Plain Layout
10359
10360 \series bold
10361 Malfatti
10362 \end_layout
10363
10364 \end_inset
10365 </cell>
10366 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10367 \begin_inset Text
10368
10369 \begin_layout Plain Layout
10370 Valeriano
10371 \end_layout
10372
10373 \end_inset
10374 </cell>
10375 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10376 \begin_inset Text
10377
10378 \begin_layout Plain Layout
10379 111
10380 \end_layout
10381
10382 \end_inset
10383 </cell>
10384 </row>
10385 <row>
10386 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10387 \begin_inset Text
10388
10389 \begin_layout Plain Layout
10390
10391 \series bold
10392 Meneguzzo
10393 \end_layout
10394
10395 \end_inset
10396 </cell>
10397 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10398 \begin_inset Text
10399
10400 \begin_layout Plain Layout
10401 Roberto
10402 \end_layout
10403
10404 \end_inset
10405 </cell>
10406 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10407 \begin_inset Text
10408
10409 \begin_layout Plain Layout
10410 111
10411 \end_layout
10412
10413 \end_inset
10414 </cell>
10415 </row>
10416 <row>
10417 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10418 \begin_inset Text
10419
10420 \begin_layout Plain Layout
10421
10422 \series bold
10423 Mezzadra
10424 \end_layout
10425
10426 \end_inset
10427 </cell>
10428 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10429 \begin_inset Text
10430
10431 \begin_layout Plain Layout
10432 Roberto
10433 \end_layout
10434
10435 \end_inset
10436 </cell>
10437 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10438 \begin_inset Text
10439
10440 \begin_layout Plain Layout
10441 111
10442 \end_layout
10443
10444 \end_inset
10445 </cell>
10446 </row>
10447 <row>
10448 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10449 \begin_inset Text
10450
10451 \begin_layout Plain Layout
10452
10453 \series bold
10454 Pirpamer
10455 \end_layout
10456
10457 \end_inset
10458 </cell>
10459 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10460 \begin_inset Text
10461
10462 \begin_layout Plain Layout
10463 Erich
10464 \end_layout
10465
10466 \end_inset
10467 </cell>
10468 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10469 \begin_inset Text
10470
10471 \begin_layout Plain Layout
10472 111
10473 \end_layout
10474
10475 \end_inset
10476 </cell>
10477 </row>
10478 <row>
10479 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10480 \begin_inset Text
10481
10482 \begin_layout Plain Layout
10483
10484 \series bold
10485 Pochiesa
10486 \end_layout
10487
10488 \end_inset
10489 </cell>
10490 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10491 \begin_inset Text
10492
10493 \begin_layout Plain Layout
10494 Paolo
10495 \end_layout
10496
10497 \end_inset
10498 </cell>
10499 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10500 \begin_inset Text
10501
10502 \begin_layout Plain Layout
10503 111, 222
10504 \end_layout
10505
10506 \end_inset
10507 </cell>
10508 </row>
10509 <row>
10510 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10511 \begin_inset Text
10512
10513 \begin_layout Plain Layout
10514
10515 \series bold
10516 Radina
10517 \end_layout
10518
10519 \end_inset
10520 </cell>
10521 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10522 \begin_inset Text
10523
10524 \begin_layout Plain Layout
10525 Claudio
10526 \end_layout
10527
10528 \end_inset
10529 </cell>
10530 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10531 \begin_inset Text
10532
10533 \begin_layout Plain Layout
10534 111
10535 \end_layout
10536
10537 \end_inset
10538 </cell>
10539 </row>
10540 <row>
10541 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10542 \begin_inset Text
10543
10544 \begin_layout Plain Layout
10545
10546 \series bold
10547 Rizzardi
10548 \end_layout
10549
10550 \end_inset
10551 </cell>
10552 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10553 \begin_inset Text
10554
10555 \begin_layout Plain Layout
10556 Paolo, 11.
10557  Fürst von Montecompatri, 11.
10558  Fürst von Sulmona und Vivaro, 10.
10559  Fürst von Rossano, 5.
10560  Herzog von Canemorte, 11.
10561  Herzog von Palombara, 5.
10562  Herzog von Castelchiodato,
10563 \begin_inset ERT
10564 status open
10565
10566 \begin_layout Plain Layout
10567
10568 & 111
10569 \backslash
10570
10571 \backslash
10572  
10573 \backslash
10574 newpage
10575 \end_layout
10576
10577 \begin_layout Plain Layout
10578
10579 &
10580 \end_layout
10581
10582 \end_inset
10583
10584  11.
10585  Herzog von Poggionativo, 11.
10586  Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
10587  Graf von Valinfreda, 11.
10588  Baron von Cropalati, 11.
10589  Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
10590 \end_layout
10591
10592 \end_inset
10593 </cell>
10594 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10595 \begin_inset Text
10596
10597 \begin_layout Plain Layout
10598
10599 \end_layout
10600
10601 \end_inset
10602 </cell>
10603 </row>
10604 <row>
10605 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10606 \begin_inset Text
10607
10608 \begin_layout Plain Layout
10609
10610 \series bold
10611 Stuffer
10612 \end_layout
10613
10614 \end_inset
10615 </cell>
10616 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10617 \begin_inset Text
10618
10619 \begin_layout Plain Layout
10620 Oskar
10621 \end_layout
10622
10623 \end_inset
10624 </cell>
10625 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10626 \begin_inset Text
10627
10628 \begin_layout Plain Layout
10629 111
10630 \end_layout
10631
10632 \end_inset
10633 </cell>
10634 </row>
10635 <row>
10636 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10637 \begin_inset Text
10638
10639 \begin_layout Plain Layout
10640
10641 \series bold
10642 Tacchelli
10643 \end_layout
10644
10645 \end_inset
10646 </cell>
10647 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10648 \begin_inset Text
10649
10650 \begin_layout Plain Layout
10651 Ugo
10652 \end_layout
10653
10654 \end_inset
10655 </cell>
10656 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10657 \begin_inset Text
10658
10659 \begin_layout Plain Layout
10660 111
10661 \end_layout
10662
10663 \end_inset
10664 </cell>
10665 </row>
10666 <row>
10667 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10668 \begin_inset Text
10669
10670 \begin_layout Plain Layout
10671
10672 \series bold
10673 Tezzele
10674 \end_layout
10675
10676 \end_inset
10677 </cell>
10678 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10679 \begin_inset Text
10680
10681 \begin_layout Plain Layout
10682 Margit
10683 \end_layout
10684
10685 \end_inset
10686 </cell>
10687 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10688 \begin_inset Text
10689
10690 \begin_layout Plain Layout
10691 111
10692 \end_layout
10693
10694 \end_inset
10695 </cell>
10696 </row>
10697 <row>
10698 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10699 \begin_inset Text
10700
10701 \begin_layout Plain Layout
10702
10703 \series bold
10704 Unterkalmsteiner
10705 \end_layout
10706
10707 \end_inset
10708 </cell>
10709 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10710 \begin_inset Text
10711
10712 \begin_layout Plain Layout
10713 Frieda
10714 \end_layout
10715
10716 \end_inset
10717 </cell>
10718 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10719 \begin_inset Text
10720
10721 \begin_layout Plain Layout
10722 111
10723 \end_layout
10724
10725 \end_inset
10726 </cell>
10727 </row>
10728 <row>
10729 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10730 \begin_inset Text
10731
10732 \begin_layout Plain Layout
10733
10734 \series bold
10735 Vieider
10736 \end_layout
10737
10738 \end_inset
10739 </cell>
10740 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10741 \begin_inset Text
10742
10743 \begin_layout Plain Layout
10744 Hilde
10745 \end_layout
10746
10747 \end_inset
10748 </cell>
10749 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10750 \begin_inset Text
10751
10752 \begin_layout Plain Layout
10753 111
10754 \end_layout
10755
10756 \end_inset
10757 </cell>
10758 </row>
10759 <row>
10760 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10761 \begin_inset Text
10762
10763 \begin_layout Plain Layout
10764
10765 \series bold
10766 Vigna
10767 \end_layout
10768
10769 \end_inset
10770 </cell>
10771 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10772 \begin_inset Text
10773
10774 \begin_layout Plain Layout
10775 Jürgen
10776 \end_layout
10777
10778 \end_inset
10779 </cell>
10780 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10781 \begin_inset Text
10782
10783 \begin_layout Plain Layout
10784 111
10785 \end_layout
10786
10787 \end_inset
10788 </cell>
10789 </row>
10790 <row>
10791 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10792 \begin_inset Text
10793
10794 \begin_layout Plain Layout
10795
10796 \series bold
10797 Weber
10798 \end_layout
10799
10800 \end_inset
10801 </cell>
10802 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10803 \begin_inset Text
10804
10805 \begin_layout Plain Layout
10806 Maurizio
10807 \end_layout
10808
10809 \end_inset
10810 </cell>
10811 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10812 \begin_inset Text
10813
10814 \begin_layout Plain Layout
10815 111
10816 \end_layout
10817
10818 \end_inset
10819 </cell>
10820 </row>
10821 <row>
10822 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10823 \begin_inset Text
10824
10825 \begin_layout Plain Layout
10826
10827 \series bold
10828 Winkler
10829 \end_layout
10830
10831 \end_inset
10832 </cell>
10833 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10834 \begin_inset Text
10835
10836 \begin_layout Plain Layout
10837 Franz
10838 \end_layout
10839
10840 \end_inset
10841 </cell>
10842 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10843 \begin_inset Text
10844
10845 \begin_layout Plain Layout
10846 111
10847 \end_layout
10848
10849 \end_inset
10850 </cell>
10851 </row>
10852 <row endlastfoot="true">
10853 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
10854 \begin_inset Text
10855
10856 \begin_layout Plain Layout
10857
10858 \end_layout
10859
10860 \end_inset
10861 </cell>
10862 <cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
10863 \begin_inset Text
10864
10865 \begin_layout Plain Layout
10866
10867 \end_layout
10868
10869 \end_inset
10870 </cell>
10871 <cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
10872 \begin_inset Text
10873
10874 \begin_layout Plain Layout
10875
10876 \end_layout
10877
10878 \end_inset
10879 </cell>
10880 </row>
10881 </lyxtabular>
10882
10883 \end_inset
10884
10885
10886 \end_layout
10887
10888 \begin_layout Section
10889 Multiple Lines Columns and Rows
10890 \end_layout
10891
10892 \begin_layout Subsection
10893 Multiple Lines in Table Cells
10894 \begin_inset CommandInset label
10895 LatexCommand label
10896 name "sub:Multiple-Lines-in"
10897
10898 \end_inset
10899
10900
10901 \begin_inset Index
10902 status collapsed
10903
10904 \begin_layout Plain Layout
10905 Multiple Lines in Table Cells
10906 \end_layout
10907
10908 \end_inset
10909
10910
10911 \begin_inset Index
10912 status collapsed
10913
10914 \begin_layout Plain Layout
10915 Table ! Linebreaks
10916 \end_layout
10917
10918 \end_inset
10919
10920
10921 \end_layout
10922
10923 \begin_layout Standard
10924 \noindent
10925 \begin_inset Float table
10926 placement H
10927 wide false
10928 sideways false
10929 status open
10930
10931 \begin_layout Plain Layout
10932 \begin_inset Caption
10933
10934 \begin_layout Plain Layout
10935 \begin_inset CommandInset label
10936 LatexCommand label
10937 name "tab:Table-with-multiple"
10938
10939 \end_inset
10940
10941 Table with multiple lines in cells
10942 \end_layout
10943
10944 \end_inset
10945
10946
10947 \end_layout
10948
10949 \begin_layout Plain Layout
10950 \align center
10951 \begin_inset Tabular
10952 <lyxtabular version="3" rows="3" columns="3">
10953 <features>
10954 <column alignment="center" valignment="middle" width="2.5cm">
10955 <column alignment="center" valignment="middle" width="0">
10956 <column alignment="center" valignment="middle" width="0">
10957 <row>
10958 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10959 \begin_inset Text
10960
10961 \begin_layout Plain Layout
10962 multiple
10963 \begin_inset Newline linebreak
10964 \end_inset
10965
10966 lines
10967 \end_layout
10968
10969 \end_inset
10970 </cell>
10971 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10972 \begin_inset Text
10973
10974 \begin_layout Plain Layout
10975 b
10976 \end_layout
10977
10978 \end_inset
10979 </cell>
10980 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10981 \begin_inset Text
10982
10983 \begin_layout Plain Layout
10984 c
10985 \end_layout
10986
10987 \end_inset
10988 </cell>
10989 </row>
10990 <row>
10991 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10992 \begin_inset Text
10993
10994 \begin_layout Plain Layout
10995 d
10996 \end_layout
10997
10998 \end_inset
10999 </cell>
11000 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11001 \begin_inset Text
11002
11003 \begin_layout Plain Layout
11004 e
11005 \end_layout
11006
11007 \end_inset
11008 </cell>
11009 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11010 \begin_inset Text
11011
11012 \begin_layout Plain Layout
11013 f
11014 \end_layout
11015
11016 \end_inset
11017 </cell>
11018 </row>
11019 <row>
11020 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11021 \begin_inset Text
11022
11023 \begin_layout Plain Layout
11024 g
11025 \end_layout
11026
11027 \end_inset
11028 </cell>
11029 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11030 \begin_inset Text
11031
11032 \begin_layout Plain Layout
11033 h
11034 \end_layout
11035
11036 \end_inset
11037 </cell>
11038 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11039 \begin_inset Text
11040
11041 \begin_layout Plain Layout
11042 i
11043 \end_layout
11044
11045 \end_inset
11046 </cell>
11047 </row>
11048 </lyxtabular>
11049
11050 \end_inset
11051
11052
11053 \end_layout
11054
11055 \end_inset
11056
11057
11058 \end_layout
11059
11060 \begin_layout Standard
11061 Adjusting a fixed width for a column, enables to enter text as a paragraph
11062  with multiple lines and hyphenations.
11063 \end_layout
11064
11065 \begin_layout Standard
11066 To produce Table
11067 \begin_inset space ~
11068 \end_inset
11069
11070
11071 \begin_inset CommandInset ref
11072 LatexCommand ref
11073 reference "tab:Table-with-multiple"
11074
11075 \end_inset
11076
11077 , create a 3×3 table, mark the first cell and right-click on it.
11078  In the appearing table dialog we set a cell width of 2.5
11079 \begin_inset space \thinspace{}
11080 \end_inset
11081
11082 cm and choose centered for the vertical and horizontal alignment.
11083  The vertical alignment is used for all cells of the row.
11084  As our text is smaller than than 2.5
11085 \begin_inset space \thinspace{}
11086 \end_inset
11087
11088 cm, only one line will appear.
11089  To get two lines, a justified line break (shortcut 
11090 \begin_inset Info
11091 type  "shortcut"
11092 arg   "newline-insert linebreak"
11093 \end_inset
11094
11095 ) was added.
11096  If the text is wider than the set cell width, it will automatically be
11097  broken to several lines.
11098 \end_layout
11099
11100 \begin_layout Standard
11101 If you have a long word in a cell with a fixed width, it cannot be hyphenated
11102  by LaTeX if it is the first entry.
11103  Therefore you need to insert something, to make the word not being the
11104  first entry.
11105  So add a horizontal space of 0
11106 \begin_inset space \thinspace{}
11107 \end_inset
11108
11109 pt before the word.
11110  As the space is zero, it doesn't change the output.
11111  Table
11112 \begin_inset space ~
11113 \end_inset
11114
11115
11116 \begin_inset CommandInset ref
11117 LatexCommand ref
11118 reference "tab:Table-with-and"
11119
11120 \end_inset
11121
11122  shows the effect.
11123 \end_layout
11124
11125 \begin_layout Standard
11126 \begin_inset Float table
11127 placement h
11128 wide false
11129 sideways false
11130 status open
11131
11132 \begin_layout Plain Layout
11133 \begin_inset Caption
11134
11135 \begin_layout Plain Layout
11136 \begin_inset CommandInset label
11137 LatexCommand label
11138 name "tab:Table-with-and"
11139
11140 \end_inset
11141
11142 Table with and without hyphenation
11143 \end_layout
11144
11145 \end_inset
11146
11147
11148 \end_layout
11149
11150 \begin_layout Plain Layout
11151 \begin_inset space \hfill{}
11152 \end_inset
11153
11154
11155 \begin_inset Tabular
11156 <lyxtabular version="3" rows="3" columns="3">
11157 <features>
11158 <column alignment="center" valignment="middle" width="2.5cm">
11159 <column alignment="center" valignment="middle" width="0">
11160 <column alignment="center" valignment="middle" width="0">
11161 <row>
11162 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11163 \begin_inset Text
11164
11165 \begin_layout Plain Layout
11166 verylongtablecellword
11167 \end_layout
11168
11169 \end_inset
11170 </cell>
11171 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11172 \begin_inset Text
11173
11174 \begin_layout Plain Layout
11175 b
11176 \end_layout
11177
11178 \end_inset
11179 </cell>
11180 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11181 \begin_inset Text
11182
11183 \begin_layout Plain Layout
11184 c
11185 \end_layout
11186
11187 \end_inset
11188 </cell>
11189 </row>
11190 <row>
11191 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11192 \begin_inset Text
11193
11194 \begin_layout Plain Layout
11195 d
11196 \end_layout
11197
11198 \end_inset
11199 </cell>
11200 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11201 \begin_inset Text
11202
11203 \begin_layout Plain Layout
11204 e
11205 \end_layout
11206
11207 \end_inset
11208 </cell>
11209 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11210 \begin_inset Text
11211
11212 \begin_layout Plain Layout
11213 f
11214 \end_layout
11215
11216 \end_inset
11217 </cell>
11218 </row>
11219 <row>
11220 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11221 \begin_inset Text
11222
11223 \begin_layout Plain Layout
11224 g
11225 \end_layout
11226
11227 \end_inset
11228 </cell>
11229 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11230 \begin_inset Text
11231
11232 \begin_layout Plain Layout
11233 h
11234 \end_layout
11235
11236 \end_inset
11237 </cell>
11238 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11239 \begin_inset Text
11240
11241 \begin_layout Plain Layout
11242 i
11243 \end_layout
11244
11245 \end_inset
11246 </cell>
11247 </row>
11248 </lyxtabular>
11249
11250 \end_inset
11251
11252
11253 \begin_inset space \hfill{}
11254 \end_inset
11255
11256
11257 \begin_inset Tabular
11258 <lyxtabular version="3" rows="3" columns="3">
11259 <features>
11260 <column alignment="center" valignment="middle" width="2.5cm">
11261 <column alignment="center" valignment="middle" width="0">
11262 <column alignment="center" valignment="middle" width="0">
11263 <row>
11264 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11265 \begin_inset Text
11266
11267 \begin_layout Plain Layout
11268 \begin_inset space \hspace{}
11269 \length 0pt
11270 \end_inset
11271
11272 verylongtablecellword
11273 \end_layout
11274
11275 \end_inset
11276 </cell>
11277 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11278 \begin_inset Text
11279
11280 \begin_layout Plain Layout
11281 b
11282 \end_layout
11283
11284 \end_inset
11285 </cell>
11286 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11287 \begin_inset Text
11288
11289 \begin_layout Plain Layout
11290 c
11291 \end_layout
11292
11293 \end_inset
11294 </cell>
11295 </row>
11296 <row>
11297 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11298 \begin_inset Text
11299
11300 \begin_layout Plain Layout
11301 d
11302 \end_layout
11303
11304 \end_inset
11305 </cell>
11306 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11307 \begin_inset Text
11308
11309 \begin_layout Plain Layout
11310 e
11311 \end_layout
11312
11313 \end_inset
11314 </cell>
11315 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11316 \begin_inset Text
11317
11318 \begin_layout Plain Layout
11319 f
11320 \end_layout
11321
11322 \end_inset
11323 </cell>
11324 </row>
11325 <row>
11326 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11327 \begin_inset Text
11328
11329 \begin_layout Plain Layout
11330 g
11331 \end_layout
11332
11333 \end_inset
11334 </cell>
11335 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11336 \begin_inset Text
11337
11338 \begin_layout Plain Layout
11339 h
11340 \end_layout
11341
11342 \end_inset
11343 </cell>
11344 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11345 \begin_inset Text
11346
11347 \begin_layout Plain Layout
11348 i
11349 \end_layout
11350
11351 \end_inset
11352 </cell>
11353 </row>
11354 </lyxtabular>
11355
11356 \end_inset
11357
11358
11359 \begin_inset space \hfill{}
11360 \end_inset
11361
11362
11363 \end_layout
11364
11365 \end_inset
11366
11367
11368 \end_layout
11369
11370 \begin_layout Subsection
11371 Multicolumns
11372 \begin_inset CommandInset label
11373 LatexCommand label
11374 name "sub:Multicolumns"
11375
11376 \end_inset
11377
11378
11379 \begin_inset Index
11380 status collapsed
11381
11382 \begin_layout Plain Layout
11383 Multicolumns
11384 \end_layout
11385
11386 \end_inset
11387
11388
11389 \begin_inset Index
11390 status collapsed
11391
11392 \begin_layout Plain Layout
11393 Table ! Multicolumns
11394 \end_layout
11395
11396 \end_inset
11397
11398
11399 \end_layout
11400
11401 \begin_layout Subsubsection
11402 Multicolumn Basics
11403 \end_layout
11404
11405 \begin_layout Standard
11406 To span a cell over multiple columns, mark as much cells within a line that
11407  should be one spanned cell and use either the table-toolbar button 
11408 \begin_inset Graphics
11409         filename ../images/tabular-feature_multicolumn.png
11410         scale 85
11411         scaleBeforeRotation
11412
11413 \end_inset
11414
11415 , or the menu 
11416 \family sans
11417 Edit\SpecialChar \menuseparator
11418 Table\SpecialChar \menuseparator
11419 Multicolumn
11420 \family default
11421 , or right click on the marked cells and choose multicolumn in the appearing
11422  table dialog under the tab 
11423 \family sans
11424 Table Settings
11425 \family default
11426 .
11427 \end_layout
11428
11429 \begin_layout Standard
11430 Multicolumns have there own cell settings.
11431  That means changing cell borders, cell alignment, and the width only affects
11432  the multicolumn.
11433  Here is an example table with a multicolumn cell in the first row and one
11434  in the last row without the upper border:
11435 \end_layout
11436
11437 \begin_layout Standard
11438 \align center
11439 \begin_inset Tabular
11440 <lyxtabular version="3" rows="3" columns="4">
11441 <features firstHeadTopDL="true" firstHeadBottomDL="true">
11442 <column alignment="center" valignment="top" width="0pt">
11443 <column alignment="center" valignment="middle" width="0">
11444 <column alignment="center" valignment="top" width="0in">
11445 <column alignment="center" valignment="top" width="0pt">
11446 <row>
11447 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11448 \begin_inset Text
11449
11450 \begin_layout Plain Layout
11451 abc
11452 \end_layout
11453
11454 \end_inset
11455 </cell>
11456 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
11457 \begin_inset Text
11458
11459 \begin_layout Plain Layout
11460 def ghi
11461 \end_layout
11462
11463 \end_inset
11464 </cell>
11465 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11466 \begin_inset Text
11467
11468 \begin_layout Plain Layout
11469
11470 \end_layout
11471
11472 \end_inset
11473 </cell>
11474 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11475 \begin_inset Text
11476
11477 \begin_layout Plain Layout
11478 jkl
11479 \end_layout
11480
11481 \end_inset
11482 </cell>
11483 </row>
11484 <row>
11485 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11486 \begin_inset Text
11487
11488 \begin_layout Plain Layout
11489
11490 \family roman
11491 \series medium
11492 \shape up
11493 \size normal
11494 \emph off
11495 \bar no
11496 \noun off
11497 \color none
11498 A
11499 \end_layout
11500
11501 \end_inset
11502 </cell>
11503 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11504 \begin_inset Text
11505
11506 \begin_layout Plain Layout
11507 B
11508 \end_layout
11509
11510 \end_inset
11511 </cell>
11512 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11513 \begin_inset Text
11514
11515 \begin_layout Plain Layout
11516 C
11517 \end_layout
11518
11519 \end_inset
11520 </cell>
11521 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11522 \begin_inset Text
11523
11524 \begin_layout Plain Layout
11525 D
11526 \end_layout
11527
11528 \end_inset
11529 </cell>
11530 </row>
11531 <row>
11532 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11533 \begin_inset Text
11534
11535 \begin_layout Plain Layout
11536 1
11537 \end_layout
11538
11539 \end_inset
11540 </cell>
11541 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11542 \begin_inset Text
11543
11544 \begin_layout Plain Layout
11545 2
11546 \end_layout
11547
11548 \end_inset
11549 </cell>
11550 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11551 \begin_inset Text
11552
11553 \begin_layout Plain Layout
11554 3
11555 \end_layout
11556
11557 \end_inset
11558 </cell>
11559 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11560 \begin_inset Text
11561
11562 \begin_layout Plain Layout
11563 4
11564 \end_layout
11565
11566 \end_inset
11567 </cell>
11568 </row>
11569 </lyxtabular>
11570
11571 \end_inset
11572
11573
11574 \end_layout
11575
11576 \begin_layout Subsubsection
11577 Multicolumn Calculations
11578 \begin_inset CommandInset label
11579 LatexCommand label
11580 name "sub:Multicolumn-Calculations"
11581
11582 \end_inset
11583
11584
11585 \begin_inset Index
11586 status collapsed
11587
11588 \begin_layout Plain Layout
11589 Multicolumns ! Calculations
11590 \end_layout
11591
11592 \end_inset
11593
11594
11595 \end_layout
11596
11597 \begin_layout Standard
11598 LyX supports multicolumns directly, but we have to take notice of the cell
11599  width of the columns spanned by the multicolumn cell.
11600 \end_layout
11601
11602 \begin_layout Standard
11603 \begin_inset Float table
11604 placement h
11605 wide false
11606 sideways false
11607 status open
11608
11609 \begin_layout Plain Layout
11610 \begin_inset Caption
11611
11612 \begin_layout Plain Layout
11613 \begin_inset CommandInset label
11614 LatexCommand label
11615 name "tab:Table-with-centered"
11616
11617 \end_inset
11618
11619 Table with centered multicolumn text above two columns that have exactly
11620  half the width of the multicolumn cell
11621 \begin_inset OptArg
11622 status collapsed
11623
11624 \begin_layout Plain Layout
11625 Perfect multicolumn table
11626 \end_layout
11627
11628 \end_inset
11629
11630
11631 \end_layout
11632
11633 \end_inset
11634
11635
11636 \end_layout
11637
11638 \begin_layout Plain Layout
11639 \align center
11640 \begin_inset Tabular
11641 <lyxtabular version="3" rows="3" columns="3">
11642 <features>
11643 <column alignment="center" valignment="middle" width="0" special=">{\centering}m{1.25cm-6.2pt}">
11644 <column alignment="center" valignment="middle" width="0">
11645 <column alignment="center" valignment="top" width="0">
11646 <row>
11647 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
11648 \begin_inset Text
11649
11650 \begin_layout Plain Layout
11651 multiple lines multicolumn
11652 \end_layout
11653
11654 \end_inset
11655 </cell>
11656 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11657 \begin_inset Text
11658
11659 \begin_layout Plain Layout
11660
11661 \end_layout
11662
11663 \end_inset
11664 </cell>
11665 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11666 \begin_inset Text
11667
11668 \begin_layout Plain Layout
11669 c
11670 \end_layout
11671
11672 \end_inset
11673 </cell>
11674 </row>
11675 <row>
11676 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11677 \begin_inset Text
11678
11679 \begin_layout Plain Layout
11680 d
11681 \end_layout
11682
11683 \end_inset
11684 </cell>
11685 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11686 \begin_inset Text
11687
11688 \begin_layout Plain Layout
11689 e
11690 \end_layout
11691
11692 \end_inset
11693 </cell>
11694 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11695 \begin_inset Text
11696
11697 \begin_layout Plain Layout
11698 f
11699 \end_layout
11700
11701 \end_inset
11702 </cell>
11703 </row>
11704 <row>
11705 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11706 \begin_inset Text
11707
11708 \begin_layout Plain Layout
11709 g
11710 \end_layout
11711
11712 \end_inset
11713 </cell>
11714 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11715 \begin_inset Text
11716
11717 \begin_layout Plain Layout
11718 h
11719 \end_layout
11720
11721 \end_inset
11722 </cell>
11723 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11724 \begin_inset Text
11725
11726 \begin_layout Plain Layout
11727 i
11728 \end_layout
11729
11730 \end_inset
11731 </cell>
11732 </row>
11733 </lyxtabular>
11734
11735 \end_inset
11736
11737
11738 \end_layout
11739
11740 \end_inset
11741
11742
11743 \end_layout
11744
11745 \begin_layout Standard
11746 To create for example Table
11747 \begin_inset space ~
11748 \end_inset
11749
11750
11751 \begin_inset CommandInset ref
11752 LatexCommand ref
11753 reference "tab:Table-with-centered"
11754
11755 \end_inset
11756
11757 , mark the first two cells in the first row of a 3×3 table and right-click
11758  on them.
11759  Now choose for this cell 
11760 \emph on
11761 multicolumn
11762 \emph default
11763
11764 \emph on
11765 centered alignment
11766 \emph default
11767  and a width of 2.5
11768 \begin_inset space \thinspace{}
11769 \end_inset
11770
11771 cm in the table dialog.
11772  The spanned columns should have exactly half the width of the multicolumn
11773  cell, so that you would adjust a width of 1.25
11774 \begin_inset space \thinspace{}
11775 \end_inset
11776
11777 cm for the first column.
11778  The second column has then automatically a width of 1.25
11779 \begin_inset space \thinspace{}
11780 \end_inset
11781
11782 cm (multicolumn width - width of first column).
11783  This was done for Table
11784 \begin_inset space ~
11785 \end_inset
11786
11787
11788 \begin_inset CommandInset ref
11789 LatexCommand ref
11790 reference "tab:Table-without-half"
11791
11792 \end_inset
11793
11794 .
11795 \end_layout
11796
11797 \begin_layout Standard
11798 \begin_inset Float table
11799 wide false
11800 sideways false
11801 status open
11802
11803 \begin_layout Plain Layout
11804 \begin_inset Caption
11805
11806 \begin_layout Plain Layout
11807 \begin_inset CommandInset label
11808 LatexCommand label
11809 name "tab:Table-without-half"
11810
11811 \end_inset
11812
11813 Table where the spanned table columns have not exactly half the width of
11814  the multicolumn cell
11815 \begin_inset OptArg
11816 status collapsed
11817
11818 \begin_layout Plain Layout
11819 Imperfect multicolumn table
11820 \end_layout
11821
11822 \end_inset
11823
11824
11825 \end_layout
11826
11827 \end_inset
11828
11829
11830 \end_layout
11831
11832 \begin_layout Plain Layout
11833 \align center
11834 \begin_inset Tabular
11835 <lyxtabular version="3" rows="3" columns="3">
11836 <features>
11837 <column alignment="center" valignment="top" width="1.25cm">
11838 <column alignment="center" valignment="top" width="0">
11839 <column alignment="center" valignment="top" width="0">
11840 <row>
11841 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
11842 \begin_inset Text
11843
11844 \begin_layout Plain Layout
11845 multiple lines multicolumn
11846 \end_layout
11847
11848 \end_inset
11849 </cell>
11850 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11851 \begin_inset Text
11852
11853 \begin_layout Plain Layout
11854
11855 \end_layout
11856
11857 \end_inset
11858 </cell>
11859 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11860 \begin_inset Text
11861
11862 \begin_layout Plain Layout
11863 c
11864 \end_layout
11865
11866 \end_inset
11867 </cell>
11868 </row>
11869 <row>
11870 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11871 \begin_inset Text
11872
11873 \begin_layout Plain Layout
11874 d
11875 \end_layout
11876
11877 \end_inset
11878 </cell>
11879 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11880 \begin_inset Text
11881
11882 \begin_layout Plain Layout
11883 e
11884 \end_layout
11885
11886 \end_inset
11887 </cell>
11888 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11889 \begin_inset Text
11890
11891 \begin_layout Plain Layout
11892 f
11893 \end_layout
11894
11895 \end_inset
11896 </cell>
11897 </row>
11898 <row>
11899 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11900 \begin_inset Text
11901
11902 \begin_layout Plain Layout
11903 g
11904 \end_layout
11905
11906 \end_inset
11907 </cell>
11908 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11909 \begin_inset Text
11910
11911 \begin_layout Plain Layout
11912 h
11913 \end_layout
11914
11915 \end_inset
11916 </cell>
11917 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11918 \begin_inset Text
11919
11920 \begin_layout Plain Layout
11921 i
11922 \end_layout
11923
11924 \end_inset
11925 </cell>
11926 </row>
11927 </lyxtabular>
11928
11929 \end_inset
11930
11931
11932 \end_layout
11933
11934 \end_inset
11935
11936
11937 \end_layout
11938
11939 \begin_layout Standard
11940 You can see that the first column has not the half width of the multicolumn
11941  cell, it is a bit bigger.
11942  The reason is that the given width of a cell 
11943 \begin_inset Formula $W_{g}$
11944 \end_inset
11945
11946  is not its total width 
11947 \begin_inset Formula $W_{\mathrm{tot}}$
11948 \end_inset
11949
11950  because a cell is always a bit larger than its given width.
11951  Appendix
11952 \begin_inset space ~
11953 \end_inset
11954
11955
11956 \begin_inset CommandInset ref
11957 LatexCommand eqref
11958 reference "cha:Explanation-of-Equation"
11959
11960 \end_inset
11961
11962  explains it in detail.
11963 \end_layout
11964
11965 \begin_layout Standard
11966 The needed given width 
11967 \begin_inset Formula $W_{g\, n}$
11968 \end_inset
11969
11970  when 
11971 \emph on
11972 n
11973 \emph default
11974  columns are spanned can be calculated, so that each column has a total
11975  width of 
11976 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
11977 \end_inset
11978
11979 :
11980 \begin_inset Formula \begin{equation}
11981 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
11982
11983 \end_inset
11984
11985
11986 \end_layout
11987
11988 \begin_layout Standard
11989 In our case we have 
11990 \begin_inset Formula $n=2$
11991 \end_inset
11992
11993
11994 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
11995 \end_inset
11996
11997 cm and the default values for the lengths, so that equation 
11998 \begin_inset CommandInset ref
11999 LatexCommand ref
12000 reference "eq:Wgn"
12001
12002 \end_inset
12003
12004  becomes
12005 \begin_inset Formula \begin{equation}
12006 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
12007
12008 \end_inset
12009
12010
12011 \end_layout
12012
12013 \begin_layout Standard
12014 To enable calculations in LaTeX, the LaTeX-package 
12015 \series bold
12016 calc
12017 \series default
12018  must be loaded with the document preamble line
12019 \begin_inset Index
12020 status collapsed
12021
12022 \begin_layout Plain Layout
12023 LaTeX-packages ! calc
12024 \end_layout
12025
12026 \end_inset
12027
12028
12029 \end_layout
12030
12031 \begin_layout Standard
12032
12033 \series bold
12034
12035 \backslash
12036 usepackage{calc}
12037 \end_layout
12038
12039 \begin_layout Standard
12040 LyX does not allow to calculate lengths in the width-field of the table
12041  dialog.
12042  Therefore you have to format the column by inserting a LaTeX-argument in
12043  the dialog.
12044  Here is an overview about the arguments:
12045 \end_layout
12046
12047 \begin_layout Itemize
12048
12049 \series bold
12050 p{width}
12051 \series default
12052  creates cell with a fixed width, its text is vertically top-aligned
12053 \end_layout
12054
12055 \begin_layout Itemize
12056
12057 \series bold
12058 m{width}
12059 \series default
12060  creates cell with a fixed width, its text is vertically centered
12061 \end_layout
12062
12063 \begin_layout Itemize
12064
12065 \series bold
12066 b{width}
12067 \series default
12068  creates cell with a fixed width, its text is vertically bottom-aligned
12069 \end_layout
12070
12071 \begin_layout Standard
12072 By entering a LaTeX-argument, all cell settings set in the table dialog
12073  are overwritten.
12074 \end_layout
12075
12076 \begin_layout Standard
12077 \begin_inset Note Greyedout
12078 status open
12079
12080 \begin_layout Plain Layout
12081
12082 \series bold
12083 Note:
12084 \series default
12085  Due to a bug, LyX shows the overwritten settings anyway.
12086 \end_layout
12087
12088 \end_inset
12089
12090
12091 \end_layout
12092
12093 \begin_layout Standard
12094 As the text should be horizontally centered, the command 
12095 \series bold
12096
12097 \backslash
12098 centering
12099 \series default
12100  is added.
12101  You can now enter the following LaTeX-argument for the first spanned column:
12102 \end_layout
12103
12104 \begin_layout Standard
12105
12106 \series bold
12107 >{
12108 \backslash
12109 centering}m{1.25cm-6.2pt}
12110 \end_layout
12111
12112 \begin_layout Standard
12113 The command 
12114 \series bold
12115 >{ }
12116 \series default
12117  means, that the commands inside the braces are applied before the cell
12118  is created.
12119 \end_layout
12120
12121 \begin_layout Standard
12122 Although we have chosen centered alignment for the text of the multicolumn
12123  cell, it is still left aligned.
12124  This is because LyX only applies the alignment to single columns.
12125  So we have to use for the multicolumn the LaTeX-argument
12126 \end_layout
12127
12128 \begin_layout Standard
12129
12130 \series bold
12131 >{
12132 \backslash
12133 centering}m{2.5cm}
12134 \end_layout
12135
12136 \begin_layout Subsection
12137 Multirows
12138 \begin_inset Index
12139 status collapsed
12140
12141 \begin_layout Plain Layout
12142 Multirows
12143 \end_layout
12144
12145 \end_inset
12146
12147
12148 \begin_inset Index
12149 status collapsed
12150
12151 \begin_layout Plain Layout
12152 Table ! Multirows
12153 \end_layout
12154
12155 \end_inset
12156
12157
12158 \end_layout
12159
12160 \begin_layout Standard
12161 In contrary to multicolumns multirows are not yet supported by LyX so a
12162  bit of TeX-Code needs to be used.
12163  To use multirows load the LaTeX-package 
12164 \series bold
12165 multirow
12166 \series default
12167
12168 \begin_inset Index
12169 status collapsed
12170
12171 \begin_layout Plain Layout
12172 LaTeX-packages ! multirow
12173 \end_layout
12174
12175 \end_inset
12176
12177  in your document preamble with the command
12178 \end_layout
12179
12180 \begin_layout Standard
12181
12182 \series bold
12183
12184 \backslash
12185 usepackage{multirow}
12186 \end_layout
12187
12188 \begin_layout Standard
12189 Multirows are created with the command
12190 \end_layout
12191
12192 \begin_layout Standard
12193
12194 \series bold
12195
12196 \backslash
12197 multirow{number of rows}{cell width}{cell entry}
12198 \end_layout
12199
12200 \begin_layout Standard
12201 To create the following table:
12202 \end_layout
12203
12204 \begin_layout Standard
12205 \align center
12206 \begin_inset ERT
12207 status collapsed
12208
12209 \begin_layout Plain Layout
12210
12211
12212 \backslash
12213 renewcommand{
12214 \backslash
12215 multirowsetup}{
12216 \backslash
12217 centering}
12218 \end_layout
12219
12220 \end_inset
12221
12222
12223 \begin_inset Tabular
12224 <lyxtabular version="3" rows="3" columns="3">
12225 <features>
12226 <column alignment="center" valignment="top" width="0">
12227 <column alignment="center" valignment="top" width="0">
12228 <column alignment="center" valignment="top" width="0">
12229 <row>
12230 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12231 \begin_inset Text
12232
12233 \begin_layout Plain Layout
12234 a
12235 \end_layout
12236
12237 \end_inset
12238 </cell>
12239 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12240 \begin_inset Text
12241
12242 \begin_layout Plain Layout
12243 b
12244 \end_layout
12245
12246 \end_inset
12247 </cell>
12248 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12249 \begin_inset Text
12250
12251 \begin_layout Plain Layout
12252 c
12253 \end_layout
12254
12255 \end_inset
12256 </cell>
12257 </row>
12258 <row>
12259 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12260 \begin_inset Text
12261
12262 \begin_layout Plain Layout
12263 \begin_inset ERT
12264 status collapsed
12265
12266 \begin_layout Plain Layout
12267
12268
12269 \backslash
12270 multirow{2}{2.5cm}{
12271 \end_layout
12272
12273 \end_inset
12274
12275 multirow entry
12276 \begin_inset ERT
12277 status collapsed
12278
12279 \begin_layout Plain Layout
12280
12281 }
12282 \end_layout
12283
12284 \end_inset
12285
12286
12287 \end_layout
12288
12289 \end_inset
12290 </cell>
12291 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12292 \begin_inset Text
12293
12294 \begin_layout Plain Layout
12295 e
12296 \end_layout
12297
12298 \end_inset
12299 </cell>
12300 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12301 \begin_inset Text
12302
12303 \begin_layout Plain Layout
12304 f
12305 \end_layout
12306
12307 \end_inset
12308 </cell>
12309 </row>
12310 <row>
12311 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
12312 \begin_inset Text
12313
12314 \begin_layout Plain Layout
12315
12316 \end_layout
12317
12318 \end_inset
12319 </cell>
12320 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12321 \begin_inset Text
12322
12323 \begin_layout Plain Layout
12324 h
12325 \end_layout
12326
12327 \end_inset
12328 </cell>
12329 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12330 \begin_inset Text
12331
12332 \begin_layout Plain Layout
12333 i
12334 \end_layout
12335
12336 \end_inset
12337 </cell>
12338 </row>
12339 </lyxtabular>
12340
12341 \end_inset
12342
12343
12344 \begin_inset ERT
12345 status collapsed
12346
12347 \begin_layout Plain Layout
12348
12349
12350 \backslash
12351 renewcommand{
12352 \backslash
12353 multirowsetup}{
12354 \backslash
12355 raggedright}
12356 \end_layout
12357
12358 \end_inset
12359
12360
12361 \end_layout
12362
12363 \begin_layout Standard
12364 create a 3×3 table.
12365  To get rid of the line above the last cell in the first column, the cell
12366  is marked as multicolumn and the upper border is unset.
12367  The multirow is now created in the second row of the first column by inserting
12368  there the command
12369 \end_layout
12370
12371 \begin_layout Standard
12372
12373 \series bold
12374
12375 \backslash
12376 multirow{2}{2.5cm}{
12377 \end_layout
12378
12379 \begin_layout Standard
12380 as TeX-Code.
12381  According to the command parameters the multirow spans now two rows and
12382  has a width of 2.5
12383 \begin_inset space \thinspace{}
12384 \end_inset
12385
12386 cm.
12387  The content of the multirow cell follows outside the TeX-Code box and the
12388  command is finished with a right brace 
12389 \series bold
12390 }
12391 \series default
12392  in another TeX-Code-box behind the text.
12393 \end_layout
12394
12395 \begin_layout Standard
12396
12397 \series bold
12398
12399 \backslash
12400 multirow
12401 \series default
12402  left-aligns its content by default.
12403  To override the default, renew the command 
12404 \series bold
12405
12406 \backslash
12407 multirowsetup
12408 \series default
12409  with the command
12410 \end_layout
12411
12412 \begin_layout Standard
12413
12414 \series bold
12415
12416 \backslash
12417 renewcommand{
12418 \backslash
12419 multirowsetup}{
12420 \backslash
12421 centering}
12422 \end_layout
12423
12424 \begin_layout Standard
12425 in TeX-Code in the document preamble.
12426  Then all entries of multirow cells in the document are centered.
12427  If centering is only needed for several tables, you can renew the command
12428  in an TeX-Code box just before the table instead of the preamble.
12429  If the text should be right-aligned, replace 
12430 \series bold
12431
12432 \backslash
12433 centering
12434 \series default
12435  by 
12436 \series bold
12437
12438 \backslash
12439 raggedleft
12440 \series default
12441 .
12442  To return to left-alignment 
12443 \series bold
12444
12445 \backslash
12446 raggedright
12447 \series default
12448  is used.
12449 \end_layout
12450
12451 \begin_layout Section
12452 Formal Tables
12453 \begin_inset CommandInset label
12454 LatexCommand label
12455 name "sec:Formal-Tables"
12456
12457 \end_inset
12458
12459
12460 \begin_inset Index
12461 status collapsed
12462
12463 \begin_layout Plain Layout
12464 Table ! Formal
12465 \end_layout
12466
12467 \end_inset
12468
12469
12470 \end_layout
12471
12472 \begin_layout Standard
12473 Tables are often typeset in books similar to Table
12474 \begin_inset space ~
12475 \end_inset
12476
12477
12478 \begin_inset CommandInset ref
12479 LatexCommand ref
12480 reference "tab:Example-booktabs-table"
12481
12482 \end_inset
12483
12484 .
12485  This kind of tables is called 
12486 \begin_inset Quotes eld
12487 \end_inset
12488
12489
12490 \emph on
12491 formal
12492 \emph default
12493
12494 \begin_inset Quotes erd
12495 \end_inset
12496
12497 .
12498  To make a table a formal table use the option 
12499 \family sans
12500 Formal
12501 \family default
12502  in the 
12503 \family sans
12504 Borders
12505 \family default
12506  tab of the table dialog.
12507 \end_layout
12508
12509 \begin_layout Standard
12510 \begin_inset Float table
12511 placement h
12512 wide false
12513 sideways false
12514 status open
12515
12516 \begin_layout Plain Layout
12517 \begin_inset Caption
12518
12519 \begin_layout Plain Layout
12520 \begin_inset CommandInset label
12521 LatexCommand label
12522 name "tab:Example-booktabs-table"
12523
12524 \end_inset
12525
12526 Example booktabs-table
12527 \end_layout
12528
12529 \end_inset
12530
12531
12532 \end_layout
12533
12534 \begin_layout Plain Layout
12535 \align center
12536 \begin_inset Tabular
12537 <lyxtabular version="3" rows="8" columns="4">
12538 <features booktabs="true">
12539 <column alignment="center" valignment="top" width="0">
12540 <column alignment="center" valignment="top" width="0">
12541 <column alignment="center" valignment="top" width="0">
12542 <column alignment="center" valignment="top" width="0">
12543 <row>
12544 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
12545 \begin_inset Text
12546
12547 \begin_layout Plain Layout
12548 System
12549 \end_layout
12550
12551 \end_inset
12552 </cell>
12553 <cell alignment="center" valignment="top" topline="true" usebox="none">
12554 \begin_inset Text
12555
12556 \begin_layout Plain Layout
12557 Medipix
12558 \begin_inset space \thinspace{}
12559 \end_inset
12560
12561 1
12562 \end_layout
12563
12564 \end_inset
12565 </cell>
12566 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
12567 \begin_inset Text
12568
12569 \begin_layout Plain Layout
12570 Medipix
12571 \begin_inset space \thinspace{}
12572 \end_inset
12573
12574 2
12575 \end_layout
12576
12577 \end_inset
12578 </cell>
12579 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12580 \begin_inset Text
12581
12582 \begin_layout Plain Layout
12583
12584 \end_layout
12585
12586 \end_inset
12587 </cell>
12588 </row>
12589 <row>
12590 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12591 \begin_inset Text
12592
12593 \begin_layout Plain Layout
12594 \begin_inset ERT
12595 status collapsed
12596
12597 \begin_layout Plain Layout
12598
12599
12600 \backslash
12601 cmidrule(r){2-2}
12602 \end_layout
12603
12604 \end_inset
12605
12606
12607 \begin_inset ERT
12608 status collapsed
12609
12610 \begin_layout Plain Layout
12611
12612
12613 \backslash
12614 cmidrule(l){3-4}
12615 \end_layout
12616
12617 \end_inset
12618
12619 Detector thickness [µm]
12620 \end_layout
12621
12622 \end_inset
12623 </cell>
12624 <cell alignment="center" valignment="top" usebox="none">
12625 \begin_inset Text
12626
12627 \begin_layout Plain Layout
12628 300
12629 \end_layout
12630
12631 \end_inset
12632 </cell>
12633 <cell alignment="center" valignment="top" usebox="none">
12634 \begin_inset Text
12635
12636 \begin_layout Plain Layout
12637 300
12638 \end_layout
12639
12640 \end_inset
12641 </cell>
12642 <cell alignment="center" valignment="top" usebox="none">
12643 \begin_inset Text
12644
12645 \begin_layout Plain Layout
12646 700
12647 \end_layout
12648
12649 \end_inset
12650 </cell>
12651 </row>
12652 <row>
12653 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
12654 \begin_inset Text
12655
12656 \begin_layout Plain Layout
12657 Edge angle [°]
12658 \end_layout
12659
12660 \end_inset
12661 </cell>
12662 <cell alignment="center" valignment="top" topline="true" usebox="none">
12663 \begin_inset Text
12664
12665 \begin_layout Plain Layout
12666 3.55
12667 \end_layout
12668
12669 \end_inset
12670 </cell>
12671 <cell alignment="center" valignment="top" topline="true" usebox="none">
12672 \begin_inset Text
12673
12674 \begin_layout Plain Layout
12675 2.71
12676 \end_layout
12677
12678 \end_inset
12679 </cell>
12680 <cell alignment="center" valignment="top" topline="true" usebox="none">
12681 \begin_inset Text
12682
12683 \begin_layout Plain Layout
12684 7.99
12685 \end_layout
12686
12687 \end_inset
12688 </cell>
12689 </row>
12690 <row topspace="default">
12691 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12692 \begin_inset Text
12693
12694 \begin_layout Plain Layout
12695 Spatial resolution [µm]
12696 \end_layout
12697
12698 \end_inset
12699 </cell>
12700 <cell alignment="center" valignment="top" usebox="none">
12701 \begin_inset Text
12702
12703 \begin_layout Plain Layout
12704 4.26
12705 \end_layout
12706
12707 \end_inset
12708 </cell>
12709 <cell alignment="center" valignment="top" usebox="none">
12710 \begin_inset Text
12711
12712 \begin_layout Plain Layout
12713 10.17
12714 \end_layout
12715
12716 \end_inset
12717 </cell>
12718 <cell alignment="center" valignment="top" usebox="none">
12719 \begin_inset Text
12720
12721 \begin_layout Plain Layout
12722 10.56
12723 \end_layout
12724
12725 \end_inset
12726 </cell>
12727 </row>
12728 <row topspace="default">
12729 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12730 \begin_inset Text
12731
12732 \begin_layout Plain Layout
12733 MTF at 
12734 \begin_inset Formula $f_{\mathrm{max}}$
12735 \end_inset
12736
12737
12738 \end_layout
12739
12740 \end_inset
12741 </cell>
12742 <cell alignment="center" valignment="top" usebox="none">
12743 \begin_inset Text
12744
12745 \begin_layout Plain Layout
12746 0.53
12747 \end_layout
12748
12749 \end_inset
12750 </cell>
12751 <cell alignment="center" valignment="top" usebox="none">
12752 \begin_inset Text
12753
12754 \begin_layout Plain Layout
12755 0.37
12756 \end_layout
12757
12758 \end_inset
12759 </cell>
12760 <cell alignment="center" valignment="top" usebox="none">
12761 \begin_inset Text
12762
12763 \begin_layout Plain Layout
12764 0.39
12765 \end_layout
12766
12767 \end_inset
12768 </cell>
12769 </row>
12770 <row topspace="default">
12771 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12772 \begin_inset Text
12773
12774 \begin_layout Plain Layout
12775 \begin_inset ERT
12776 status collapsed
12777
12778 \begin_layout Plain Layout
12779
12780
12781 \backslash
12782 cmidrule(l{10pt}){1-1}
12783 \end_layout
12784
12785 \end_inset
12786
12787 LSF-spatial resolution
12788 \end_layout
12789
12790 \end_inset
12791 </cell>
12792 <cell alignment="center" valignment="top" usebox="none">
12793 \begin_inset Text
12794
12795 \begin_layout Plain Layout
12796
12797 \end_layout
12798
12799 \end_inset
12800 </cell>
12801 <cell alignment="center" valignment="top" usebox="none">
12802 \begin_inset Text
12803
12804 \begin_layout Plain Layout
12805
12806 \end_layout
12807
12808 \end_inset
12809 </cell>
12810 <cell alignment="center" valignment="top" usebox="none">
12811 \begin_inset Text
12812
12813 \begin_layout Plain Layout
12814
12815 \end_layout
12816
12817 \end_inset
12818 </cell>
12819 </row>
12820 <row>
12821 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12822 \begin_inset Text
12823
12824 \begin_layout Plain Layout
12825 in µm
12826 \end_layout
12827
12828 \end_inset
12829 </cell>
12830 <cell alignment="center" valignment="top" usebox="none">
12831 \begin_inset Text
12832
12833 \begin_layout Plain Layout
12834 129.7
12835 \end_layout
12836
12837 \end_inset
12838 </cell>
12839 <cell alignment="center" valignment="top" usebox="none">
12840 \begin_inset Text
12841
12842 \begin_layout Plain Layout
12843 52.75
12844 \end_layout
12845
12846 \end_inset
12847 </cell>
12848 <cell alignment="center" valignment="top" usebox="none">
12849 \begin_inset Text
12850
12851 \begin_layout Plain Layout
12852 50.78
12853 \end_layout
12854
12855 \end_inset
12856 </cell>
12857 </row>
12858 <row>
12859 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
12860 \begin_inset Text
12861
12862 \begin_layout Plain Layout
12863 in % of pixel size
12864 \end_layout
12865
12866 \end_inset
12867 </cell>
12868 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12869 \begin_inset Text
12870
12871 \begin_layout Plain Layout
12872 76.3
12873 \end_layout
12874
12875 \end_inset
12876 </cell>
12877 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12878 \begin_inset Text
12879
12880 \begin_layout Plain Layout
12881 95.9
12882 \end_layout
12883
12884 \end_inset
12885 </cell>
12886 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12887 \begin_inset Text
12888
12889 \begin_layout Plain Layout
12890 92.3
12891 \end_layout
12892
12893 \end_inset
12894 </cell>
12895 </row>
12896 </lyxtabular>
12897
12898 \end_inset
12899
12900
12901 \end_layout
12902
12903 \end_inset
12904
12905
12906 \end_layout
12907
12908 \begin_layout Standard
12909 Spaces to table rows can be added using the 
12910 \family sans
12911 Borders
12912 \family default
12913  tab of the table dialog as described in section
12914 \begin_inset space ~
12915 \end_inset
12916
12917
12918 \begin_inset CommandInset ref
12919 LatexCommand ref
12920 reference "sub:Row-Spacing"
12921
12922 \end_inset
12923
12924 .
12925 \end_layout
12926
12927 \begin_layout Standard
12928 In contrary to normal tables, formal tables have no vertical table lines.
12929  The horizontal table lines can be set like for normal tables but they appear
12930  with different width in the output:
12931 \begin_inset Newline newline
12932 \end_inset
12933
12934 The first and the last table line have a default width of 0.08
12935 \begin_inset space \thinspace{}
12936 \end_inset
12937
12938 em while the other lines have a default width of 0.05
12939 \begin_inset space \thinspace{}
12940 \end_inset
12941
12942 em.
12943 \end_layout
12944
12945 \begin_layout Standard
12946 The default widths can be changed with the following preamble lines
12947 \end_layout
12948
12949 \begin_layout Standard
12950
12951 \series bold
12952
12953 \backslash
12954 let
12955 \backslash
12956 mytoprule
12957 \backslash
12958 toprule
12959 \begin_inset Newline newline
12960 \end_inset
12961
12962
12963 \backslash
12964 renewcommand{
12965 \backslash
12966 toprule}{
12967 \backslash
12968 mytoprule[width]}
12969 \end_layout
12970
12971 \begin_layout Standard
12972 This example is for the first line, the so called 
12973 \series bold
12974 toprule
12975 \series default
12976 .
12977  If you want to change the width for the last line, replace 
12978 \series bold
12979 toprule
12980 \series default
12981  by 
12982 \series bold
12983 bottomrule
12984 \series default
12985 .
12986  To change the width for the other lines replace 
12987 \series bold
12988 toprule
12989 \series default
12990  by 
12991 \series bold
12992 midrule
12993 \series default
12994 .
12995  You can use all units listed in appendix
12996 \begin_inset space ~
12997 \end_inset
12998
12999
13000 \begin_inset CommandInset ref
13001 LatexCommand ref
13002 reference "cha:Units-available-in"
13003
13004 \end_inset
13005
13006  to set the width.
13007 \end_layout
13008
13009 \begin_layout Standard
13010 Lines that don't span over all table columns can be created by setting a
13011  table line for multicolumn cells.
13012  LyX will then internally use the command 
13013 \series bold
13014
13015 \backslash
13016 cmidrule
13017 \series default
13018  to create this line.
13019  Its full scheme is
13020 \end_layout
13021
13022 \begin_layout Standard
13023
13024 \series bold
13025
13026 \backslash
13027 cmidrule[width](trim){startcol-endcol}
13028 \end_layout
13029
13030 \begin_layout Standard
13031 The options of 
13032 \series bold
13033
13034 \backslash
13035 cmidrule
13036 \series default
13037  are are currently not supported by LyX so you have to use TeX-Code to be
13038  able to use them.
13039  
13040 \series bold
13041
13042 \backslash
13043 cmidrule
13044 \series default
13045 s can manually be created by inserting the command as TeX-Code as first
13046  cell entry of the first cell of a row.
13047  The line is then drawn in the output above the current row.
13048 \end_layout
13049
13050 \begin_layout Standard
13051 The default for the width is 0.03
13052 \begin_inset space \thinspace{}
13053 \end_inset
13054
13055 em.
13056  Startcol is the number of the column where the line starts and endcol the
13057  column number where the line ends.
13058  The endcol always needs to be specified, also when the line should span
13059  only one column.
13060  The optional parameter trim could be either 
13061 \emph on
13062 l{trimwidth}
13063 \emph default
13064 , or 
13065 \emph on
13066 r{trimwidth}
13067 \emph default
13068  where the trimwidth is also optional.
13069  Using for example the parameter 
13070 \emph on
13071 l{2pt}
13072 \emph default
13073  means that the line is trimmed from its left end by 2
13074 \begin_inset space \thinspace{}
13075 \end_inset
13076
13077 pt.
13078  If you don't specify the trimwidth the lines are trimmed by the default
13079  of 0.5
13080 \begin_inset space \thinspace{}
13081 \end_inset
13082
13083 em.
13084 \end_layout
13085
13086 \begin_layout Standard
13087 \begin_inset VSpace bigskip
13088 \end_inset
13089
13090 Table
13091 \begin_inset space ~
13092 \end_inset
13093
13094
13095 \begin_inset CommandInset ref
13096 LatexCommand ref
13097 reference "tab:Example-booktabs-table"
13098
13099 \end_inset
13100
13101  was created using the commands
13102 \end_layout
13103
13104 \begin_layout Standard
13105
13106 \series bold
13107
13108 \backslash
13109 cmidrule(r){2-2}
13110 \backslash
13111 cmidrule(l){3-4}
13112 \end_layout
13113
13114 \begin_layout Standard
13115 at the beginning of the in the second row and
13116 \end_layout
13117
13118 \begin_layout Standard
13119
13120 \series bold
13121
13122 \backslash
13123 cmidrule(l{10pt}){1-1}
13124 \end_layout
13125
13126 \begin_layout Standard
13127 in the sixth row.
13128 \end_layout
13129
13130 \begin_layout Standard
13131 \begin_inset VSpace bigskip
13132 \end_inset
13133
13134
13135 \end_layout
13136
13137 \begin_layout Standard
13138 You might want to have overlapping 
13139 \series bold
13140
13141 \backslash
13142 cmidrule
13143 \series default
13144 s like in Table
13145 \begin_inset space ~
13146 \end_inset
13147
13148
13149 \begin_inset CommandInset ref
13150 LatexCommand ref
13151 reference "tab:Special-booktabs-table"
13152
13153 \end_inset
13154
13155 .
13156  This can be achieved with the TeX-Code command
13157 \end_layout
13158
13159 \begin_layout Standard
13160
13161 \series bold
13162
13163 \backslash
13164 morecmidrules
13165 \end_layout
13166
13167 \begin_layout Standard
13168 The command that was used for the second row of Table
13169 \begin_inset space ~
13170 \end_inset
13171
13172
13173 \begin_inset CommandInset ref
13174 LatexCommand ref
13175 reference "tab:Special-booktabs-table"
13176
13177 \end_inset
13178
13179  is
13180 \end_layout
13181
13182 \begin_layout Standard
13183
13184 \series bold
13185
13186 \backslash
13187 cmidrule(r){2-2}
13188 \backslash
13189 cmidrule(l){3-4}
13190 \backslash
13191 morecmidrules
13192 \backslash
13193 cmidrule{2-4}
13194 \end_layout
13195
13196 \begin_layout Standard
13197 The command for the sixth row is
13198 \end_layout
13199
13200 \begin_layout Standard
13201
13202 \series bold
13203
13204 \backslash
13205 midrule
13206 \backslash
13207 morecmidrules
13208 \backslash
13209 cmidrule{3-4}
13210 \end_layout
13211
13212 \begin_layout Standard
13213 \begin_inset VSpace bigskip
13214 \end_inset
13215
13216
13217 \end_layout
13218
13219 \begin_layout Standard
13220 If you are anyway not satisfied with the border line spacing, you can use
13221  the following command to produce lines that span over all table columns
13222 \series bold
13223 :
13224 \end_layout
13225
13226 \begin_layout Standard
13227
13228 \series bold
13229
13230 \backslash
13231 specialrule{width}{space above}{space below}
13232 \end_layout
13233
13234 \begin_layout Standard
13235 For more informations about these specialties, we refer to the manual of
13236  the LaTeX-package 
13237 \series bold
13238 booktabs
13239 \series default
13240  
13241 \begin_inset CommandInset citation
13242 LatexCommand cite
13243 key "booktabs"
13244
13245 \end_inset
13246
13247 .
13248 \begin_inset Index
13249 status collapsed
13250
13251 \begin_layout Plain Layout
13252 LaTeX-packages ! booktabs
13253 \end_layout
13254
13255 \end_inset
13256
13257
13258 \end_layout
13259
13260 \begin_layout Standard
13261 \begin_inset Float table
13262 placement h
13263 wide false
13264 sideways false
13265 status open
13266
13267 \begin_layout Plain Layout
13268 \begin_inset Caption
13269
13270 \begin_layout Plain Layout
13271 \begin_inset CommandInset label
13272 LatexCommand label
13273 name "tab:Special-booktabs-table"
13274
13275 \end_inset
13276
13277 Special booktabs-table
13278 \end_layout
13279
13280 \end_inset
13281
13282
13283 \end_layout
13284
13285 \begin_layout Plain Layout
13286 \align center
13287 \begin_inset Tabular
13288 <lyxtabular version="3" rows="8" columns="4">
13289 <features booktabs="true">
13290 <column alignment="center" valignment="top" width="0">
13291 <column alignment="center" valignment="top" width="0">
13292 <column alignment="center" valignment="top" width="0">
13293 <column alignment="center" valignment="top" width="0">
13294 <row>
13295 <cell alignment="center" valignment="top" topline="true" usebox="none">
13296 \begin_inset Text
13297
13298 \begin_layout Plain Layout
13299 System
13300 \end_layout
13301
13302 \end_inset
13303 </cell>
13304 <cell alignment="center" valignment="top" topline="true" usebox="none">
13305 \begin_inset Text
13306
13307 \begin_layout Plain Layout
13308 Medipix
13309 \begin_inset space \thinspace{}
13310 \end_inset
13311
13312 1
13313 \end_layout
13314
13315 \end_inset
13316 </cell>
13317 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
13318 \begin_inset Text
13319
13320 \begin_layout Plain Layout
13321 Medipix
13322 \begin_inset space \thinspace{}
13323 \end_inset
13324
13325 2
13326 \end_layout
13327
13328 \end_inset
13329 </cell>
13330 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13331 \begin_inset Text
13332
13333 \begin_layout Plain Layout
13334
13335 \end_layout
13336
13337 \end_inset
13338 </cell>
13339 </row>
13340 <row>
13341 <cell alignment="center" valignment="top" usebox="none">
13342 \begin_inset Text
13343
13344 \begin_layout Plain Layout
13345 \begin_inset ERT
13346 status collapsed
13347
13348 \begin_layout Plain Layout
13349
13350
13351 \backslash
13352 cmidrule(r){2-2}
13353 \end_layout
13354
13355 \end_inset
13356
13357
13358 \begin_inset ERT
13359 status collapsed
13360
13361 \begin_layout Plain Layout
13362
13363
13364 \backslash
13365 cmidrule(l){3-4}
13366 \end_layout
13367
13368 \end_inset
13369
13370
13371 \begin_inset ERT
13372 status collapsed
13373
13374 \begin_layout Plain Layout
13375
13376
13377 \backslash
13378 morecmidrules 
13379 \end_layout
13380
13381 \end_inset
13382
13383
13384 \begin_inset ERT
13385 status collapsed
13386
13387 \begin_layout Plain Layout
13388
13389
13390 \backslash
13391 cmidrule{2-4}
13392 \end_layout
13393
13394 \end_inset
13395
13396 Detector thickness [µm]
13397 \end_layout
13398
13399 \end_inset
13400 </cell>
13401 <cell alignment="center" valignment="top" usebox="none">
13402 \begin_inset Text
13403
13404 \begin_layout Plain Layout
13405 300
13406 \end_layout
13407
13408 \end_inset
13409 </cell>
13410 <cell alignment="center" valignment="top" usebox="none">
13411 \begin_inset Text
13412
13413 \begin_layout Plain Layout
13414 300
13415 \end_layout
13416
13417 \end_inset
13418 </cell>
13419 <cell alignment="center" valignment="top" usebox="none">
13420 \begin_inset Text
13421
13422 \begin_layout Plain Layout
13423 700
13424 \end_layout
13425
13426 \end_inset
13427 </cell>
13428 </row>
13429 <row>
13430 <cell alignment="center" valignment="top" topline="true" usebox="none">
13431 \begin_inset Text
13432
13433 \begin_layout Plain Layout
13434 Edge angle [°]
13435 \end_layout
13436
13437 \end_inset
13438 </cell>
13439 <cell alignment="center" valignment="top" topline="true" usebox="none">
13440 \begin_inset Text
13441
13442 \begin_layout Plain Layout
13443 3.55
13444 \end_layout
13445
13446 \end_inset
13447 </cell>
13448 <cell alignment="center" valignment="top" topline="true" usebox="none">
13449 \begin_inset Text
13450
13451 \begin_layout Plain Layout
13452 2.71
13453 \end_layout
13454
13455 \end_inset
13456 </cell>
13457 <cell alignment="center" valignment="top" topline="true" usebox="none">
13458 \begin_inset Text
13459
13460 \begin_layout Plain Layout
13461 7.99
13462 \end_layout
13463
13464 \end_inset
13465 </cell>
13466 </row>
13467 <row topspace="default">
13468 <cell alignment="center" valignment="top" usebox="none">
13469 \begin_inset Text
13470
13471 \begin_layout Plain Layout
13472 Spatial resolution [µm]
13473 \end_layout
13474
13475 \end_inset
13476 </cell>
13477 <cell alignment="center" valignment="top" usebox="none">
13478 \begin_inset Text
13479
13480 \begin_layout Plain Layout
13481 4.26
13482 \end_layout
13483
13484 \end_inset
13485 </cell>
13486 <cell alignment="center" valignment="top" usebox="none">
13487 \begin_inset Text
13488
13489 \begin_layout Plain Layout
13490 10.17
13491 \end_layout
13492
13493 \end_inset
13494 </cell>
13495 <cell alignment="center" valignment="top" usebox="none">
13496 \begin_inset Text
13497
13498 \begin_layout Plain Layout
13499 10.56
13500 \end_layout
13501
13502 \end_inset
13503 </cell>
13504 </row>
13505 <row topspace="default">
13506 <cell alignment="center" valignment="top" usebox="none">
13507 \begin_inset Text
13508
13509 \begin_layout Plain Layout
13510 MTF at 
13511 \begin_inset Formula $f_{\mathrm{max}}$
13512 \end_inset
13513
13514
13515 \end_layout
13516
13517 \end_inset
13518 </cell>
13519 <cell alignment="center" valignment="top" usebox="none">
13520 \begin_inset Text
13521
13522 \begin_layout Plain Layout
13523 0.53
13524 \end_layout
13525
13526 \end_inset
13527 </cell>
13528 <cell alignment="center" valignment="top" usebox="none">
13529 \begin_inset Text
13530
13531 \begin_layout Plain Layout
13532 0.37
13533 \end_layout
13534
13535 \end_inset
13536 </cell>
13537 <cell alignment="center" valignment="top" usebox="none">
13538 \begin_inset Text
13539
13540 \begin_layout Plain Layout
13541 0.39
13542 \end_layout
13543
13544 \end_inset
13545 </cell>
13546 </row>
13547 <row>
13548 <cell alignment="center" valignment="top" topline="true" usebox="none">
13549 \begin_inset Text
13550
13551 \begin_layout Plain Layout
13552 \begin_inset ERT
13553 status collapsed
13554
13555 \begin_layout Plain Layout
13556
13557
13558 \backslash
13559 morecmidrules 
13560 \end_layout
13561
13562 \end_inset
13563
13564
13565 \begin_inset ERT
13566 status collapsed
13567
13568 \begin_layout Plain Layout
13569
13570
13571 \backslash
13572 cmidrule{3-4}
13573 \end_layout
13574
13575 \end_inset
13576
13577 LSF-spatial resolution
13578 \end_layout
13579
13580 \end_inset
13581 </cell>
13582 <cell alignment="center" valignment="top" topline="true" usebox="none">
13583 \begin_inset Text
13584
13585 \begin_layout Plain Layout
13586
13587 \end_layout
13588
13589 \end_inset
13590 </cell>
13591 <cell alignment="center" valignment="top" topline="true" usebox="none">
13592 \begin_inset Text
13593
13594 \begin_layout Plain Layout
13595
13596 \end_layout
13597
13598 \end_inset
13599 </cell>
13600 <cell alignment="center" valignment="top" topline="true" usebox="none">
13601 \begin_inset Text
13602
13603 \begin_layout Plain Layout
13604
13605 \end_layout
13606
13607 \end_inset
13608 </cell>
13609 </row>
13610 <row>
13611 <cell alignment="center" valignment="top" usebox="none">
13612 \begin_inset Text
13613
13614 \begin_layout Plain Layout
13615 in µm
13616 \end_layout
13617
13618 \end_inset
13619 </cell>
13620 <cell alignment="center" valignment="top" usebox="none">
13621 \begin_inset Text
13622
13623 \begin_layout Plain Layout
13624 129.7
13625 \end_layout
13626
13627 \end_inset
13628 </cell>
13629 <cell alignment="center" valignment="top" usebox="none">
13630 \begin_inset Text
13631
13632 \begin_layout Plain Layout
13633 52.75
13634 \end_layout
13635
13636 \end_inset
13637 </cell>
13638 <cell alignment="center" valignment="top" usebox="none">
13639 \begin_inset Text
13640
13641 \begin_layout Plain Layout
13642 50.78
13643 \end_layout
13644
13645 \end_inset
13646 </cell>
13647 </row>
13648 <row>
13649 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13650 \begin_inset Text
13651
13652 \begin_layout Plain Layout
13653 in % of pixel size
13654 \end_layout
13655
13656 \end_inset
13657 </cell>
13658 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13659 \begin_inset Text
13660
13661 \begin_layout Plain Layout
13662 76.3
13663 \end_layout
13664
13665 \end_inset
13666 </cell>
13667 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13668 \begin_inset Text
13669
13670 \begin_layout Plain Layout
13671 95.9
13672 \end_layout
13673
13674 \end_inset
13675 </cell>
13676 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13677 \begin_inset Text
13678
13679 \begin_layout Plain Layout
13680 92.3
13681 \end_layout
13682
13683 \end_inset
13684 </cell>
13685 </row>
13686 </lyxtabular>
13687
13688 \end_inset
13689
13690
13691 \end_layout
13692
13693 \end_inset
13694
13695
13696 \end_layout
13697
13698 \begin_layout Section
13699 Vertical Table Alignment
13700 \begin_inset Index
13701 status collapsed
13702
13703 \begin_layout Plain Layout
13704 Table ! Alignment
13705 \end_layout
13706
13707 \end_inset
13708
13709
13710 \end_layout
13711
13712 \begin_layout Standard
13713 To align tables vertically in a text line the table must be inside a box.
13714  The box can then be vertically aligned as described in section
13715 \begin_inset space ~
13716 \end_inset
13717
13718
13719 \begin_inset CommandInset ref
13720 LatexCommand ref
13721 reference "sec:Box-Dialog"
13722
13723 \end_inset
13724
13725 .
13726 \end_layout
13727
13728 \begin_layout Standard
13729 In the following example the tables are inside a minipage
13730 \begin_inset Foot
13731 status collapsed
13732
13733 \begin_layout Plain Layout
13734 Minipages are described in section
13735 \begin_inset space ~
13736 \end_inset
13737
13738
13739 \begin_inset CommandInset ref
13740 LatexCommand ref
13741 reference "sec:Minipages"
13742
13743 \end_inset
13744
13745 .
13746 \end_layout
13747
13748 \end_inset
13749
13750  box that has a width of 15
13751 \begin_inset space \thinspace{}
13752 \end_inset
13753
13754 col%:
13755 \end_layout
13756
13757 \begin_layout Itemize
13758 test 
13759 \begin_inset Box Frameless
13760 position "t"
13761 hor_pos "c"
13762 has_inner_box 1
13763 inner_pos "c"
13764 use_parbox 0
13765 width "15col%"
13766 special "none"
13767 height "1in"
13768 height_special "totalheight"
13769 status collapsed
13770
13771 \begin_layout Plain Layout
13772 \begin_inset Tabular
13773 <lyxtabular version="3" rows="3" columns="3">
13774 <features>
13775 <column alignment="center" valignment="top" width="0">
13776 <column alignment="center" valignment="top" width="0">
13777 <column alignment="center" valignment="top" width="0">
13778 <row>
13779 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13780 \begin_inset Text
13781
13782 \begin_layout Plain Layout
13783 a
13784 \end_layout
13785
13786 \end_inset
13787 </cell>
13788 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13789 \begin_inset Text
13790
13791 \begin_layout Plain Layout
13792 d
13793 \end_layout
13794
13795 \end_inset
13796 </cell>
13797 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13798 \begin_inset Text
13799
13800 \begin_layout Plain Layout
13801 g
13802 \end_layout
13803
13804 \end_inset
13805 </cell>
13806 </row>
13807 <row>
13808 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13809 \begin_inset Text
13810
13811 \begin_layout Plain Layout
13812 b
13813 \end_layout
13814
13815 \end_inset
13816 </cell>
13817 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13818 \begin_inset Text
13819
13820 \begin_layout Plain Layout
13821 e
13822 \end_layout
13823
13824 \end_inset
13825 </cell>
13826 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13827 \begin_inset Text
13828
13829 \begin_layout Plain Layout
13830 h
13831 \end_layout
13832
13833 \end_inset
13834 </cell>
13835 </row>
13836 <row>
13837 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13838 \begin_inset Text
13839
13840 \begin_layout Plain Layout
13841 c
13842 \end_layout
13843
13844 \end_inset
13845 </cell>
13846 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13847 \begin_inset Text
13848
13849 \begin_layout Plain Layout
13850 f
13851 \end_layout
13852
13853 \end_inset
13854 </cell>
13855 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13856 \begin_inset Text
13857
13858 \begin_layout Plain Layout
13859 i
13860 \end_layout
13861
13862 \end_inset
13863 </cell>
13864 </row>
13865 </lyxtabular>
13866
13867 \end_inset
13868
13869
13870 \end_layout
13871
13872 \end_inset
13873
13874  test 
13875 \begin_inset ERT
13876 status collapsed
13877
13878 \begin_layout Plain Layout
13879
13880
13881 \backslash
13882 raisebox{0.85
13883 \backslash
13884 baselineskip}{
13885 \end_layout
13886
13887 \end_inset
13888
13889
13890 \begin_inset Box Frameless
13891 position "t"
13892 hor_pos "c"
13893 has_inner_box 1
13894 inner_pos "c"
13895 use_parbox 0
13896 width "15col%"
13897 special "none"
13898 height "1in"
13899 height_special "totalheight"
13900 status collapsed
13901
13902 \begin_layout Plain Layout
13903 \begin_inset Tabular
13904 <lyxtabular version="3" rows="3" columns="3">
13905 <features>
13906 <column alignment="center" valignment="top" width="0">
13907 <column alignment="center" valignment="top" width="0">
13908 <column alignment="center" valignment="top" width="0">
13909 <row>
13910 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13911 \begin_inset Text
13912
13913 \begin_layout Plain Layout
13914 a
13915 \end_layout
13916
13917 \end_inset
13918 </cell>
13919 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13920 \begin_inset Text
13921
13922 \begin_layout Plain Layout
13923 d
13924 \end_layout
13925
13926 \end_inset
13927 </cell>
13928 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13929 \begin_inset Text
13930
13931 \begin_layout Plain Layout
13932 g
13933 \end_layout
13934
13935 \end_inset
13936 </cell>
13937 </row>
13938 <row>
13939 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13940 \begin_inset Text
13941
13942 \begin_layout Plain Layout
13943 b
13944 \end_layout
13945
13946 \end_inset
13947 </cell>
13948 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13949 \begin_inset Text
13950
13951 \begin_layout Plain Layout
13952 e
13953 \end_layout
13954
13955 \end_inset
13956 </cell>
13957 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13958 \begin_inset Text
13959
13960 \begin_layout Plain Layout
13961 h
13962 \end_layout
13963
13964 \end_inset
13965 </cell>
13966 </row>
13967 <row>
13968 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13969 \begin_inset Text
13970
13971 \begin_layout Plain Layout
13972 c
13973 \end_layout
13974
13975 \end_inset
13976 </cell>
13977 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13978 \begin_inset Text
13979
13980 \begin_layout Plain Layout
13981 f
13982 \end_layout
13983
13984 \end_inset
13985 </cell>
13986 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13987 \begin_inset Text
13988
13989 \begin_layout Plain Layout
13990 i
13991 \end_layout
13992
13993 \end_inset
13994 </cell>
13995 </row>
13996 </lyxtabular>
13997
13998 \end_inset
13999
14000
14001 \end_layout
14002
14003 \end_inset
14004
14005
14006 \begin_inset ERT
14007 status collapsed
14008
14009 \begin_layout Plain Layout
14010
14011 }
14012 \end_layout
14013
14014 \end_inset
14015
14016
14017 \end_layout
14018
14019 \begin_layout Itemize
14020 test 
14021 \begin_inset Box Frameless
14022 position "c"
14023 hor_pos "c"
14024 has_inner_box 1
14025 inner_pos "c"
14026 use_parbox 0
14027 width "15col%"
14028 special "none"
14029 height "1in"
14030 height_special "totalheight"
14031 status collapsed
14032
14033 \begin_layout Plain Layout
14034 \begin_inset Tabular
14035 <lyxtabular version="3" rows="3" columns="3">
14036 <features>
14037 <column alignment="center" valignment="top" width="0">
14038 <column alignment="center" valignment="top" width="0">
14039 <column alignment="center" valignment="top" width="0">
14040 <row>
14041 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14042 \begin_inset Text
14043
14044 \begin_layout Plain Layout
14045 a
14046 \end_layout
14047
14048 \end_inset
14049 </cell>
14050 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14051 \begin_inset Text
14052
14053 \begin_layout Plain Layout
14054 d
14055 \end_layout
14056
14057 \end_inset
14058 </cell>
14059 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14060 \begin_inset Text
14061
14062 \begin_layout Plain Layout
14063 g
14064 \end_layout
14065
14066 \end_inset
14067 </cell>
14068 </row>
14069 <row>
14070 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14071 \begin_inset Text
14072
14073 \begin_layout Plain Layout
14074 b
14075 \end_layout
14076
14077 \end_inset
14078 </cell>
14079 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14080 \begin_inset Text
14081
14082 \begin_layout Plain Layout
14083 e
14084 \end_layout
14085
14086 \end_inset
14087 </cell>
14088 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14089 \begin_inset Text
14090
14091 \begin_layout Plain Layout
14092 h
14093 \end_layout
14094
14095 \end_inset
14096 </cell>
14097 </row>
14098 <row>
14099 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14100 \begin_inset Text
14101
14102 \begin_layout Plain Layout
14103 c
14104 \end_layout
14105
14106 \end_inset
14107 </cell>
14108 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14109 \begin_inset Text
14110
14111 \begin_layout Plain Layout
14112 f
14113 \end_layout
14114
14115 \end_inset
14116 </cell>
14117 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14118 \begin_inset Text
14119
14120 \begin_layout Plain Layout
14121 i
14122 \end_layout
14123
14124 \end_inset
14125 </cell>
14126 </row>
14127 </lyxtabular>
14128
14129 \end_inset
14130
14131
14132 \end_layout
14133
14134 \end_inset
14135
14136
14137 \end_layout
14138
14139 \begin_layout Itemize
14140 test 
14141 \begin_inset Box Frameless
14142 position "b"
14143 hor_pos "c"
14144 has_inner_box 1
14145 inner_pos "c"
14146 use_parbox 0
14147 width "15col%"
14148 special "none"
14149 height "1in"
14150 height_special "totalheight"
14151 status collapsed
14152
14153 \begin_layout Plain Layout
14154 \begin_inset Tabular
14155 <lyxtabular version="3" rows="3" columns="3">
14156 <features>
14157 <column alignment="center" valignment="top" width="0">
14158 <column alignment="center" valignment="top" width="0">
14159 <column alignment="center" valignment="top" width="0">
14160 <row>
14161 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14162 \begin_inset Text
14163
14164 \begin_layout Plain Layout
14165 a
14166 \end_layout
14167
14168 \end_inset
14169 </cell>
14170 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14171 \begin_inset Text
14172
14173 \begin_layout Plain Layout
14174 d
14175 \end_layout
14176
14177 \end_inset
14178 </cell>
14179 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14180 \begin_inset Text
14181
14182 \begin_layout Plain Layout
14183 g
14184 \end_layout
14185
14186 \end_inset
14187 </cell>
14188 </row>
14189 <row>
14190 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14191 \begin_inset Text
14192
14193 \begin_layout Plain Layout
14194 b
14195 \end_layout
14196
14197 \end_inset
14198 </cell>
14199 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14200 \begin_inset Text
14201
14202 \begin_layout Plain Layout
14203 e
14204 \end_layout
14205
14206 \end_inset
14207 </cell>
14208 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14209 \begin_inset Text
14210
14211 \begin_layout Plain Layout
14212 h
14213 \end_layout
14214
14215 \end_inset
14216 </cell>
14217 </row>
14218 <row>
14219 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14220 \begin_inset Text
14221
14222 \begin_layout Plain Layout
14223 c
14224 \end_layout
14225
14226 \end_inset
14227 </cell>
14228 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14229 \begin_inset Text
14230
14231 \begin_layout Plain Layout
14232 f
14233 \end_layout
14234
14235 \end_inset
14236 </cell>
14237 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14238 \begin_inset Text
14239
14240 \begin_layout Plain Layout
14241 i
14242 \end_layout
14243
14244 \end_inset
14245 </cell>
14246 </row>
14247 </lyxtabular>
14248
14249 \end_inset
14250
14251
14252 \end_layout
14253
14254 \end_inset
14255
14256  test 
14257 \begin_inset ERT
14258 status collapsed
14259
14260 \begin_layout Plain Layout
14261
14262
14263 \backslash
14264 raisebox{-0.32
14265 \backslash
14266 baselineskip}{
14267 \end_layout
14268
14269 \end_inset
14270
14271
14272 \begin_inset Box Frameless
14273 position "b"
14274 hor_pos "c"
14275 has_inner_box 1
14276 inner_pos "c"
14277 use_parbox 0
14278 width "15col%"
14279 special "none"
14280 height "1in"
14281 height_special "totalheight"
14282 status collapsed
14283
14284 \begin_layout Plain Layout
14285 \begin_inset Tabular
14286 <lyxtabular version="3" rows="3" columns="3">
14287 <features>
14288 <column alignment="center" valignment="top" width="0">
14289 <column alignment="center" valignment="top" width="0">
14290 <column alignment="center" valignment="top" width="0">
14291 <row>
14292 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14293 \begin_inset Text
14294
14295 \begin_layout Plain Layout
14296 a
14297 \end_layout
14298
14299 \end_inset
14300 </cell>
14301 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14302 \begin_inset Text
14303
14304 \begin_layout Plain Layout
14305 d
14306 \end_layout
14307
14308 \end_inset
14309 </cell>
14310 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14311 \begin_inset Text
14312
14313 \begin_layout Plain Layout
14314 g
14315 \end_layout
14316
14317 \end_inset
14318 </cell>
14319 </row>
14320 <row>
14321 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14322 \begin_inset Text
14323
14324 \begin_layout Plain Layout
14325 b
14326 \end_layout
14327
14328 \end_inset
14329 </cell>
14330 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14331 \begin_inset Text
14332
14333 \begin_layout Plain Layout
14334 e
14335 \end_layout
14336
14337 \end_inset
14338 </cell>
14339 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14340 \begin_inset Text
14341
14342 \begin_layout Plain Layout
14343 h
14344 \end_layout
14345
14346 \end_inset
14347 </cell>
14348 </row>
14349 <row>
14350 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14351 \begin_inset Text
14352
14353 \begin_layout Plain Layout
14354 c
14355 \end_layout
14356
14357 \end_inset
14358 </cell>
14359 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14360 \begin_inset Text
14361
14362 \begin_layout Plain Layout
14363 f
14364 \end_layout
14365
14366 \end_inset
14367 </cell>
14368 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14369 \begin_inset Text
14370
14371 \begin_layout Plain Layout
14372 i
14373 \end_layout
14374
14375 \end_inset
14376 </cell>
14377 </row>
14378 </lyxtabular>
14379
14380 \end_inset
14381
14382
14383 \end_layout
14384
14385 \end_inset
14386
14387
14388 \begin_inset ERT
14389 status collapsed
14390
14391 \begin_layout Plain Layout
14392
14393 }
14394 \end_layout
14395
14396 \end_inset
14397
14398
14399 \end_layout
14400
14401 \begin_layout Standard
14402 As you can see, the content of the first and last table row is not correctly
14403  aligned with the text line where the table is in.
14404  To get this alignment, the minipage box must be set into a raisebox
14405 \begin_inset Foot
14406 status collapsed
14407
14408 \begin_layout Plain Layout
14409 Raiseboxes are described in section
14410 \begin_inset space ~
14411 \end_inset
14412
14413
14414 \begin_inset CommandInset ref
14415 LatexCommand ref
14416 reference "sub:Vertical-Alignment"
14417
14418 \end_inset
14419
14420 .
14421 \end_layout
14422
14423 \end_inset
14424
14425 .
14426  In the example above the second table in the first item is aligned using
14427  the TeX-Code-command
14428 \end_layout
14429
14430 \begin_layout Standard
14431
14432 \series bold
14433
14434 \backslash
14435 raisebox{0.85
14436 \backslash
14437 baselineskip}{
14438 \end_layout
14439
14440 \begin_layout Standard
14441 before the box.
14442  Behind the box the closing brace 
14443 \series bold
14444 }
14445 \series default
14446  is inserted as TeX-Code.
14447  For the second table in the last item the command
14448 \end_layout
14449
14450 \begin_layout Standard
14451
14452 \series bold
14453
14454 \backslash
14455 raisebox{-0.32
14456 \backslash
14457 baselineskip}{
14458 \end_layout
14459
14460 \begin_layout Standard
14461 is used.
14462 \end_layout
14463
14464 \begin_layout Standard
14465 \begin_inset Note Greyedout
14466 status open
14467
14468 \begin_layout Plain Layout
14469
14470 \series bold
14471 Note:
14472 \series default
14473  The alignment of the table row content to the surrounding text line is
14474  not exact.
14475  The needed factor of the 
14476 \series bold
14477
14478 \backslash
14479 raisebox
14480 \series default
14481  command for this alignment depends on the document font, the font size,
14482  and the table line thickness.
14483 \end_layout
14484
14485 \end_inset
14486
14487
14488 \end_layout
14489
14490 \begin_layout Section
14491 Colored Tables
14492 \begin_inset CommandInset label
14493 LatexCommand label
14494 name "sec:Colored-Tables"
14495
14496 \end_inset
14497
14498
14499 \begin_inset Index
14500 status collapsed
14501
14502 \begin_layout Plain Layout
14503 Table ! Color
14504 \end_layout
14505
14506 \end_inset
14507
14508
14509 \end_layout
14510
14511 \begin_layout Subsection
14512 Colored Cells
14513 \begin_inset Index
14514 status collapsed
14515
14516 \begin_layout Plain Layout
14517 Table Color ! for Cells
14518 \end_layout
14519
14520 \end_inset
14521
14522
14523 \begin_inset Index
14524 status collapsed
14525
14526 \begin_layout Plain Layout
14527 Color ! for Table Cells
14528 \end_layout
14529
14530 \end_inset
14531
14532
14533 \end_layout
14534
14535 \begin_layout Standard
14536 \begin_inset Float table
14537 placement h
14538 wide false
14539 sideways false
14540 status open
14541
14542 \begin_layout Plain Layout
14543 \begin_inset Caption
14544
14545 \begin_layout Plain Layout
14546 \begin_inset CommandInset label
14547 LatexCommand label
14548 name "tab:Table-colored-without"
14549
14550 \end_inset
14551
14552 Table colored without using the package 
14553 \series bold
14554 colortbl
14555 \series default
14556
14557 \begin_inset OptArg
14558 status collapsed
14559
14560 \begin_layout Plain Layout
14561 Table without colortbl
14562 \end_layout
14563
14564 \end_inset
14565
14566
14567 \end_layout
14568
14569 \end_inset
14570
14571
14572 \end_layout
14573
14574 \begin_layout Plain Layout
14575 \align center
14576 \begin_inset Tabular
14577 <lyxtabular version="3" rows="3" columns="3">
14578 <features>
14579 <column alignment="center" valignment="top" width="0">
14580 <column alignment="center" valignment="top" width="0">
14581 <column alignment="center" valignment="top" width="0">
14582 <row>
14583 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14584 \begin_inset Text
14585
14586 \begin_layout Plain Layout
14587
14588 \color green
14589 a
14590 \end_layout
14591
14592 \end_inset
14593 </cell>
14594 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14595 \begin_inset Text
14596
14597 \begin_layout Plain Layout
14598
14599 \color red
14600 b
14601 \end_layout
14602
14603 \end_inset
14604 </cell>
14605 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14606 \begin_inset Text
14607
14608 \begin_layout Plain Layout
14609
14610 \color red
14611 c
14612 \end_layout
14613
14614 \end_inset
14615 </cell>
14616 </row>
14617 <row>
14618 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14619 \begin_inset Text
14620
14621 \begin_layout Plain Layout
14622
14623 \color green
14624 d
14625 \end_layout
14626
14627 \end_inset
14628 </cell>
14629 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14630 \begin_inset Text
14631
14632 \begin_layout Plain Layout
14633
14634 \color blue
14635 e
14636 \end_layout
14637
14638 \end_inset
14639 </cell>
14640 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14641 \begin_inset Text
14642
14643 \begin_layout Plain Layout
14644
14645 \color blue
14646 f
14647 \end_layout
14648
14649 \end_inset
14650 </cell>
14651 </row>
14652 <row>
14653 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14654 \begin_inset Text
14655
14656 \begin_layout Plain Layout
14657
14658 \color green
14659 g
14660 \end_layout
14661
14662 \end_inset
14663 </cell>
14664 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14665 \begin_inset Text
14666
14667 \begin_layout Plain Layout
14668
14669 \color blue
14670 h
14671 \end_layout
14672
14673 \end_inset
14674 </cell>
14675 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14676 \begin_inset Text
14677
14678 \begin_layout Plain Layout
14679
14680 \color blue
14681 i
14682 \end_layout
14683
14684 \end_inset
14685 </cell>
14686 </row>
14687 </lyxtabular>
14688
14689 \end_inset
14690
14691
14692 \end_layout
14693
14694 \end_inset
14695
14696
14697 \end_layout
14698
14699 \begin_layout Standard
14700 If you only need colored text, mark the cells and choose a color in the
14701  menu 
14702 \family sans
14703 Edit\SpecialChar \menuseparator
14704 Text
14705 \begin_inset space ~
14706 \end_inset
14707
14708 Style
14709 \family default
14710 .
14711  This was used to create Table
14712 \begin_inset space ~
14713 \end_inset
14714
14715
14716 \begin_inset CommandInset ref
14717 LatexCommand ref
14718 reference "tab:Table-colored-without"
14719
14720 \end_inset
14721
14722 .
14723  In any other case you have to use the LaTeX-package 
14724 \series bold
14725 colortbl
14726 \series default
14727 .
14728 \begin_inset Index
14729 status collapsed
14730
14731 \begin_layout Plain Layout
14732 LaTeX-packages ! colortbl
14733 \end_layout
14734
14735 \end_inset
14736
14737
14738 \end_layout
14739
14740 \begin_layout Standard
14741 \begin_inset ERT
14742 status collapsed
14743
14744 \begin_layout Plain Layout
14745
14746
14747 \backslash
14748 ifcolortbl
14749 \end_layout
14750
14751 \end_inset
14752
14753
14754 \begin_inset Note Note
14755 status open
14756
14757 \begin_layout Plain Layout
14758 The following section part will only be displayed when the LaTeX-package
14759  
14760 \series bold
14761 colortbl
14762 \series default
14763  is installed.
14764 \end_layout
14765
14766 \end_inset
14767
14768
14769 \end_layout
14770
14771 \begin_layout Standard
14772 To create colored tables, 
14773 \series bold
14774 colortbl
14775 \series default
14776  must be loaded in the preamble with the line
14777 \end_layout
14778
14779 \begin_layout Standard
14780
14781 \series bold
14782
14783 \backslash
14784 usepackage{colortbl}
14785 \end_layout
14786
14787 \begin_layout Standard
14788 The color of a column is adjusted with the command
14789 \end_layout
14790
14791 \begin_layout Standard
14792
14793 \series bold
14794
14795 \backslash
14796 columncolor{name of color}
14797 \end_layout
14798
14799 \begin_layout Standard
14800 inside the command 
14801 \series bold
14802 >{ }
14803 \series default
14804 .
14805  More about the command 
14806 \series bold
14807 >{}
14808 \series default
14809  is described in section
14810 \begin_inset space ~
14811 \end_inset
14812
14813
14814 \begin_inset CommandInset ref
14815 LatexCommand ref
14816 reference "sub:Multicolumn-Calculations"
14817
14818 \end_inset
14819
14820 .
14821 \end_layout
14822
14823 \begin_layout Standard
14824 The following color names are predefined:
14825 \end_layout
14826
14827 \begin_layout Standard
14828
14829 \family sans
14830 red
14831 \family default
14832
14833 \family sans
14834 green
14835 \family default
14836
14837 \family sans
14838 yellow
14839 \family default
14840
14841 \family sans
14842 blue
14843 \family default
14844
14845 \family sans
14846 cyan
14847 \family default
14848
14849 \family sans
14850 magenta
14851 \family default
14852
14853 \family sans
14854 black
14855 \family default
14856  and 
14857 \family sans
14858 white
14859 \end_layout
14860
14861 \begin_layout Standard
14862 \begin_inset VSpace medskip
14863 \end_inset
14864
14865
14866 \end_layout
14867
14868 \begin_layout Standard
14869 You can also define your own color with the command
14870 \end_layout
14871
14872 \begin_layout Standard
14873
14874 \series bold
14875
14876 \backslash
14877 definecolor{color name}{color model}{color values}
14878 \end_layout
14879
14880 \begin_layout Standard
14881 The color model can be
14882 \end_layout
14883
14884 \begin_layout Labeling
14885 \labelwidthstring 00.00.0000
14886 cmyk: cyan, magenta, yellow, black
14887 \end_layout
14888
14889 \begin_layout Labeling
14890 \labelwidthstring 00.00.0000
14891 rgb: red, green blue
14892 \end_layout
14893
14894 \begin_layout Labeling
14895 \labelwidthstring 00.00.0000
14896 gray gray
14897 \end_layout
14898
14899 \begin_layout Standard
14900 and the color values are comma separated numbers between 0 and 1 describing
14901  the factor for the corresponding color of the color model.
14902 \end_layout
14903
14904 \begin_layout Standard
14905 You can e.
14906 \begin_inset space \thinspace{}
14907 \end_inset
14908
14909 g.
14910 \begin_inset space \space{}
14911 \end_inset
14912
14913 define the color "
14914 \emph on
14915 darkgreen
14916 \emph default
14917 " in the preamble with
14918 \end_layout
14919
14920 \begin_layout Standard
14921
14922 \series bold
14923
14924 \backslash
14925 definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
14926 \end_layout
14927
14928 \begin_layout Standard
14929 and the color "
14930 \emph on
14931 lightgray
14932 \emph default
14933 " with
14934 \end_layout
14935
14936 \begin_layout Standard
14937
14938 \series bold
14939
14940 \backslash
14941 definecolor{lightgray}{gray}{0.8}
14942 \end_layout
14943
14944 \begin_layout Standard
14945 \begin_inset VSpace medskip
14946 \end_inset
14947
14948
14949 \end_layout
14950
14951 \begin_layout Standard
14952 Lines are colored with the command
14953 \end_layout
14954
14955 \begin_layout Standard
14956
14957 \series bold
14958
14959 \backslash
14960 rowcolor{name of color}
14961 \end_layout
14962
14963 \begin_layout Standard
14964 and cells are colored with the command
14965 \end_layout
14966
14967 \begin_layout Standard
14968
14969 \series bold
14970
14971 \backslash
14972 cellcolor{name of color}
14973 \end_layout
14974
14975 \begin_layout Standard
14976 Both commands are inserted at the beginning of a cell as TeX-Code.
14977 \end_layout
14978
14979 \begin_layout Standard
14980 To color characters in the table, mark the cells and use the LyX menu 
14981 \family sans
14982 Edit\SpecialChar \menuseparator
14983 Text
14984 \begin_inset space ~
14985 \end_inset
14986
14987 Style
14988 \family default
14989 .
14990  If a cell contains TeX-Code mark only the characters, otherwise the colored
14991  TeX-Code will cause LaTeX-errors.
14992 \end_layout
14993
14994 \begin_layout Standard
14995 \begin_inset Note Greyedout
14996 status open
14997
14998 \begin_layout Plain Layout
14999
15000 \series bold
15001 Note:
15002 \series default
15003  Not all DVI-viewers are able to display self-defined colors.
15004 \end_layout
15005
15006 \end_inset
15007
15008
15009 \end_layout
15010
15011 \begin_layout Standard
15012 \begin_inset VSpace bigskip
15013 \end_inset
15014
15015
15016 \end_layout
15017
15018 \begin_layout Standard
15019 To create Table
15020 \begin_inset space ~
15021 \end_inset
15022
15023
15024 \begin_inset CommandInset ref
15025 LatexCommand ref
15026 reference "tab:Table-colored-using"
15027
15028 \end_inset
15029
15030  do the following: The color of the first column should be 
15031 \emph on
15032 darkgreen
15033 \emph default
15034 .
15035  So insert
15036 \end_layout
15037
15038 \begin_layout Standard
15039
15040 \series bold
15041 >{
15042 \backslash
15043 columncolor{darkgreen}
15044 \backslash
15045 centering}c
15046 \end_layout
15047
15048 \begin_layout Standard
15049 as LaTeX-argument for this column.
15050  The first row should be blue, therefore the TeX-Code command
15051 \end_layout
15052
15053 \begin_layout Standard
15054
15055 \series bold
15056
15057 \backslash
15058 rowcolow{cyan}
15059 \end_layout
15060
15061 \begin_layout Standard
15062 is inserted to the first cell of this row.
15063  Note that this overwrites the column color for the first cell.
15064  The last cell of the last row is colored magenta by inserting the TeX-Code
15065  command
15066 \end_layout
15067
15068 \begin_layout Standard
15069
15070 \series bold
15071
15072 \backslash
15073 cellcolor{magenta}
15074 \end_layout
15075
15076 \begin_layout Standard
15077 The characters could now be colored using the menu 
15078 \family sans
15079 Edit\SpecialChar \menuseparator
15080 Text
15081 \begin_inset space ~
15082 \end_inset
15083
15084 Style
15085 \family default
15086 .
15087 \end_layout
15088
15089 \begin_layout Standard
15090 \begin_inset Float table
15091 placement h
15092 wide false
15093 sideways false
15094 status open
15095
15096 \begin_layout Plain Layout
15097 \begin_inset Caption
15098
15099 \begin_layout Plain Layout
15100 \begin_inset CommandInset label
15101 LatexCommand label
15102 name "tab:Table-colored-using"
15103
15104 \end_inset
15105
15106 Table colored using the package 
15107 \series bold
15108 colortbl
15109 \series default
15110
15111 \begin_inset OptArg
15112 status collapsed
15113
15114 \begin_layout Plain Layout
15115 Table with colortbl
15116 \end_layout
15117
15118 \end_inset
15119
15120
15121 \end_layout
15122
15123 \end_inset
15124
15125
15126 \end_layout
15127
15128 \begin_layout Plain Layout
15129 \align center
15130 \begin_inset Tabular
15131 <lyxtabular version="3" rows="3" columns="3">
15132 <features>
15133 <column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
15134 <column alignment="center" valignment="top" width="0">
15135 <column alignment="center" valignment="top" width="0">
15136 <row>
15137 <cell alignment="center" valignment="top" usebox="none">
15138 \begin_inset Text
15139
15140 \begin_layout Plain Layout
15141 \begin_inset ERT
15142 status collapsed
15143
15144 \begin_layout Plain Layout
15145
15146
15147 \backslash
15148 rowcolor{cyan}
15149 \end_layout
15150
15151 \end_inset
15152
15153
15154 \color magenta
15155 a
15156 \end_layout
15157
15158 \end_inset
15159 </cell>
15160 <cell alignment="center" valignment="top" usebox="none">
15161 \begin_inset Text
15162
15163 \begin_layout Plain Layout
15164
15165 \color red
15166 b
15167 \end_layout
15168
15169 \end_inset
15170 </cell>
15171 <cell alignment="center" valignment="top" usebox="none">
15172 \begin_inset Text
15173
15174 \begin_layout Plain Layout
15175
15176 \color red
15177 c
15178 \end_layout
15179
15180 \end_inset
15181 </cell>
15182 </row>
15183 <row>
15184 <cell alignment="center" valignment="top" usebox="none">
15185 \begin_inset Text
15186
15187 \begin_layout Plain Layout
15188
15189 \color yellow
15190 d
15191 \end_layout
15192
15193 \end_inset
15194 </cell>
15195 <cell alignment="center" valignment="top" usebox="none">
15196 \begin_inset Text
15197
15198 \begin_layout Plain Layout
15199
15200 \color blue
15201 e
15202 \end_layout
15203
15204 \end_inset
15205 </cell>
15206 <cell alignment="center" valignment="top" usebox="none">
15207 \begin_inset Text
15208
15209 \begin_layout Plain Layout
15210
15211 \color blue
15212 f
15213 \end_layout
15214
15215 \end_inset
15216 </cell>
15217 </row>
15218 <row>
15219 <cell alignment="center" valignment="top" usebox="none">
15220 \begin_inset Text
15221
15222 \begin_layout Plain Layout
15223
15224 \color yellow
15225 g
15226 \end_layout
15227
15228 \end_inset
15229 </cell>
15230 <cell alignment="center" valignment="top" usebox="none">
15231 \begin_inset Text
15232
15233 \begin_layout Plain Layout
15234
15235 \color blue
15236 h
15237 \end_layout
15238
15239 \end_inset
15240 </cell>
15241 <cell alignment="center" valignment="top" usebox="none">
15242 \begin_inset Text
15243
15244 \begin_layout Plain Layout
15245 \begin_inset ERT
15246 status collapsed
15247
15248 \begin_layout Plain Layout
15249
15250
15251 \backslash
15252 cellcolor{magenta}
15253 \end_layout
15254
15255 \end_inset
15256
15257
15258 \color green
15259 i
15260 \end_layout
15261
15262 \end_inset
15263 </cell>
15264 </row>
15265 </lyxtabular>
15266
15267 \end_inset
15268
15269
15270 \end_layout
15271
15272 \end_inset
15273
15274
15275 \end_layout
15276
15277 \begin_layout Standard
15278 \begin_inset ERT
15279 status collapsed
15280
15281 \begin_layout Plain Layout
15282
15283
15284 \backslash
15285 else
15286 \end_layout
15287
15288 \end_inset
15289
15290
15291 \begin_inset Note Note
15292 status open
15293
15294 \begin_layout Plain Layout
15295 The following will be displayed when the LaTeX-package 
15296 \series bold
15297 colortbl
15298 \series default
15299  is not installed:
15300 \end_layout
15301
15302 \end_inset
15303
15304
15305 \end_layout
15306
15307 \begin_layout Standard
15308 You need to install the package 
15309 \series bold
15310 colortbl
15311 \series default
15312  to see the content of this section in the output.
15313 \end_layout
15314
15315 \begin_layout Standard
15316 \begin_inset ERT
15317 status collapsed
15318
15319 \begin_layout Plain Layout
15320
15321
15322 \backslash
15323 fi
15324 \end_layout
15325
15326 \end_inset
15327
15328
15329 \end_layout
15330
15331 \begin_layout Subsection
15332 Colored Lines
15333 \begin_inset Index
15334 status collapsed
15335
15336 \begin_layout Plain Layout
15337 Table Color ! for Lines
15338 \end_layout
15339
15340 \end_inset
15341
15342
15343 \begin_inset Index
15344 status collapsed
15345
15346 \begin_layout Plain Layout
15347 Color ! for Table Lines
15348 \end_layout
15349
15350 \end_inset
15351
15352
15353 \end_layout
15354
15355 \begin_layout Standard
15356 As described in section
15357 \begin_inset space ~
15358 \end_inset
15359
15360
15361 \begin_inset CommandInset ref
15362 LatexCommand ref
15363 reference "sub:Line-Thickness"
15364
15365 \end_inset
15366
15367 , the line thickness for all lines in a table can be adjusted with the length
15368  
15369 \series bold
15370
15371 \backslash
15372 arrayrulewidth
15373 \series default
15374 .
15375  It is set to 1.5
15376 \begin_inset space \thinspace{}
15377 \end_inset
15378
15379 pt for all tables of this section.
15380 \begin_inset ERT
15381 status collapsed
15382
15383 \begin_layout Plain Layout
15384
15385
15386 \backslash
15387 setlength{
15388 \backslash
15389 arrayrulewidth}{1.5pt}
15390 \end_layout
15391
15392 \end_inset
15393
15394
15395 \end_layout
15396
15397 \begin_layout Standard
15398 To color vertical lines for example with green, create the following column
15399  format in the document preamble, according to the description in section
15400 \begin_inset space ~
15401 \end_inset
15402
15403
15404 \begin_inset CommandInset ref
15405 LatexCommand ref
15406 reference "sub:Customized-Format"
15407
15408 \end_inset
15409
15410 :
15411 \end_layout
15412
15413 \begin_layout Standard
15414
15415 \series bold
15416
15417 \backslash
15418 newcolumntype{W}{!{
15419 \backslash
15420 color{green}
15421 \backslash
15422 vline}}
15423 \end_layout
15424
15425 \begin_layout Standard
15426 For Table
15427 \begin_inset space ~
15428 \end_inset
15429
15430
15431 \begin_inset CommandInset ref
15432 LatexCommand ref
15433 reference "tab:Table-with-vertical-colored"
15434
15435 \end_inset
15436
15437  the LaTeX-argument
15438 \series bold
15439  WcW
15440 \series default
15441  was used for the last column and
15442 \series bold
15443  Wc
15444 \series default
15445  for the other columns.
15446 \end_layout
15447
15448 \begin_layout Standard
15449 If you want to have several colors, define more column formats.
15450 \end_layout
15451
15452 \begin_layout Standard
15453 \begin_inset Float table
15454 placement h
15455 wide false
15456 sideways false
15457 status open
15458
15459 \begin_layout Plain Layout
15460 \begin_inset Caption
15461
15462 \begin_layout Plain Layout
15463 \begin_inset CommandInset label
15464 LatexCommand label
15465 name "tab:Table-with-vertical-colored"
15466
15467 \end_inset
15468
15469 Table with colored vertical lines
15470 \end_layout
15471
15472 \end_inset
15473
15474
15475 \end_layout
15476
15477 \begin_layout Plain Layout
15478 \align center
15479 \begin_inset Tabular
15480 <lyxtabular version="3" rows="3" columns="3">
15481 <features>
15482 <column alignment="center" valignment="top" width="0" special="Wc">
15483 <column alignment="center" valignment="top" width="0" special="Wc">
15484 <column alignment="center" valignment="top" width="0" special="WcW">
15485 <row>
15486 <cell alignment="center" valignment="top" topline="true" usebox="none">
15487 \begin_inset Text
15488
15489 \begin_layout Plain Layout
15490 sd
15491 \end_layout
15492
15493 \end_inset
15494 </cell>
15495 <cell alignment="center" valignment="top" topline="true" usebox="none">
15496 \begin_inset Text
15497
15498 \begin_layout Plain Layout
15499
15500 \end_layout
15501
15502 \end_inset
15503 </cell>
15504 <cell alignment="center" valignment="top" topline="true" usebox="none">
15505 \begin_inset Text
15506
15507 \begin_layout Plain Layout
15508
15509 \end_layout
15510
15511 \end_inset
15512 </cell>
15513 </row>
15514 <row>
15515 <cell alignment="center" valignment="top" topline="true" usebox="none">
15516 \begin_inset Text
15517
15518 \begin_layout Plain Layout
15519
15520 \end_layout
15521
15522 \end_inset
15523 </cell>
15524 <cell alignment="center" valignment="top" topline="true" usebox="none">
15525 \begin_inset Text
15526
15527 \begin_layout Plain Layout
15528 sd
15529 \end_layout
15530
15531 \end_inset
15532 </cell>
15533 <cell alignment="center" valignment="top" topline="true" usebox="none">
15534 \begin_inset Text
15535
15536 \begin_layout Plain Layout
15537
15538 \end_layout
15539
15540 \end_inset
15541 </cell>
15542 </row>
15543 <row>
15544 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15545 \begin_inset Text
15546
15547 \begin_layout Plain Layout
15548
15549 \end_layout
15550
15551 \end_inset
15552 </cell>
15553 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15554 \begin_inset Text
15555
15556 \begin_layout Plain Layout
15557
15558 \end_layout
15559
15560 \end_inset
15561 </cell>
15562 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15563 \begin_inset Text
15564
15565 \begin_layout Plain Layout
15566 sd
15567 \end_layout
15568
15569 \end_inset
15570 </cell>
15571 </row>
15572 </lyxtabular>
15573
15574 \end_inset
15575
15576
15577 \end_layout
15578
15579 \end_inset
15580
15581
15582 \end_layout
15583
15584 \begin_layout Standard
15585 \begin_inset VSpace bigskip
15586 \end_inset
15587
15588 To color horizontal lines for example with red, like in Table
15589 \begin_inset space ~
15590 \end_inset
15591
15592
15593 \begin_inset CommandInset ref
15594 LatexCommand ref
15595 reference "tab:Table-with-horizontal-colored"
15596
15597 \end_inset
15598
15599 , insert these commands in TeX-Code before the table or table float:
15600 \end_layout
15601
15602 \begin_layout Standard
15603
15604 \series bold
15605
15606 \backslash
15607 let
15608 \backslash
15609 myHlineC
15610 \backslash
15611 hline
15612 \begin_inset Newline newline
15613 \end_inset
15614
15615
15616 \backslash
15617 renewcommand{
15618 \backslash
15619 hline}
15620 \begin_inset Newline newline
15621 \end_inset
15622
15623
15624 \begin_inset ERT
15625 status collapsed
15626
15627 \begin_layout Plain Layout
15628
15629
15630 \backslash
15631 hphantom{ }
15632 \end_layout
15633
15634 \end_inset
15635
15636 {
15637 \backslash
15638 arrayrulecolor{red}
15639 \backslash
15640 myHlineC
15641 \backslash
15642 arrayrulecolor{black}}
15643 \end_layout
15644
15645 \begin_layout Standard
15646 \begin_inset ERT
15647 status collapsed
15648
15649 \begin_layout Plain Layout
15650
15651
15652 \backslash
15653 let
15654 \backslash
15655 myHlineC
15656 \backslash
15657 hline
15658 \end_layout
15659
15660 \begin_layout Plain Layout
15661
15662
15663 \backslash
15664 renewcommand{
15665 \backslash
15666 hline}
15667 \end_layout
15668
15669 \begin_layout Plain Layout
15670
15671  {
15672 \backslash
15673 arrayrulecolor{red}
15674 \backslash
15675 myHlineC
15676 \backslash
15677 arrayrulecolor{black}}
15678 \end_layout
15679
15680 \end_inset
15681
15682
15683 \begin_inset Float table
15684 placement h
15685 wide false
15686 sideways false
15687 status open
15688
15689 \begin_layout Plain Layout
15690 \begin_inset Caption
15691
15692 \begin_layout Plain Layout
15693 \begin_inset CommandInset label
15694 LatexCommand label
15695 name "tab:Table-with-horizontal-colored"
15696
15697 \end_inset
15698
15699 Table with colored horizontal lines
15700 \end_layout
15701
15702 \end_inset
15703
15704
15705 \end_layout
15706
15707 \begin_layout Plain Layout
15708 \align center
15709 \begin_inset Tabular
15710 <lyxtabular version="3" rows="3" columns="3">
15711 <features>
15712 <column alignment="center" valignment="top" width="0">
15713 <column alignment="center" valignment="top" width="0">
15714 <column alignment="center" valignment="top" width="0">
15715 <row>
15716 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15717 \begin_inset Text
15718
15719 \begin_layout Plain Layout
15720 sd
15721 \end_layout
15722
15723 \end_inset
15724 </cell>
15725 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15726 \begin_inset Text
15727
15728 \begin_layout Plain Layout
15729
15730 \end_layout
15731
15732 \end_inset
15733 </cell>
15734 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15735 \begin_inset Text
15736
15737 \begin_layout Plain Layout
15738
15739 \end_layout
15740
15741 \end_inset
15742 </cell>
15743 </row>
15744 <row>
15745 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15746 \begin_inset Text
15747
15748 \begin_layout Plain Layout
15749
15750 \end_layout
15751
15752 \end_inset
15753 </cell>
15754 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15755 \begin_inset Text
15756
15757 \begin_layout Plain Layout
15758 sd
15759 \end_layout
15760
15761 \end_inset
15762 </cell>
15763 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15764 \begin_inset Text
15765
15766 \begin_layout Plain Layout
15767
15768 \end_layout
15769
15770 \end_inset
15771 </cell>
15772 </row>
15773 <row>
15774 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15775 \begin_inset Text
15776
15777 \begin_layout Plain Layout
15778
15779 \end_layout
15780
15781 \end_inset
15782 </cell>
15783 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15784 \begin_inset Text
15785
15786 \begin_layout Plain Layout
15787
15788 \end_layout
15789
15790 \end_inset
15791 </cell>
15792 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15793 \begin_inset Text
15794
15795 \begin_layout Plain Layout
15796 sd
15797 \end_layout
15798
15799 \end_inset
15800 </cell>
15801 </row>
15802 </lyxtabular>
15803
15804 \end_inset
15805
15806
15807 \end_layout
15808
15809 \end_inset
15810
15811
15812 \end_layout
15813
15814 \begin_layout Standard
15815 To return to the default line color black, insert this command in TeX-Code
15816  behind the table or table float:
15817 \end_layout
15818
15819 \begin_layout Standard
15820
15821 \series bold
15822
15823 \backslash
15824 renewcommand{
15825 \backslash
15826 hline}{
15827 \backslash
15828 myHlineC}
15829 \end_layout
15830
15831 \begin_layout Standard
15832 Table
15833 \begin_inset space ~
15834 \end_inset
15835
15836
15837 \begin_inset CommandInset ref
15838 LatexCommand ref
15839 reference "tab:Table-with-colored"
15840
15841 \end_inset
15842
15843  is an example with colored vertical and horizontal lines.
15844 \end_layout
15845
15846 \begin_layout Standard
15847 \begin_inset Float table
15848 placement h
15849 wide false
15850 sideways false
15851 status open
15852
15853 \begin_layout Plain Layout
15854 \begin_inset Caption
15855
15856 \begin_layout Plain Layout
15857 \begin_inset CommandInset label
15858 LatexCommand label
15859 name "tab:Table-with-colored"
15860
15861 \end_inset
15862
15863 Table with colored lines
15864 \end_layout
15865
15866 \end_inset
15867
15868
15869 \end_layout
15870
15871 \begin_layout Plain Layout
15872 \align center
15873 \begin_inset Tabular
15874 <lyxtabular version="3" rows="3" columns="3">
15875 <features>
15876 <column alignment="center" valignment="top" width="0" special="Wc">
15877 <column alignment="center" valignment="top" width="0" special="Wc">
15878 <column alignment="center" valignment="top" width="0" special="WcW">
15879 <row>
15880 <cell alignment="center" valignment="top" topline="true" usebox="none">
15881 \begin_inset Text
15882
15883 \begin_layout Plain Layout
15884 sd
15885 \end_layout
15886
15887 \end_inset
15888 </cell>
15889 <cell alignment="center" valignment="top" topline="true" usebox="none">
15890 \begin_inset Text
15891
15892 \begin_layout Plain Layout
15893
15894 \end_layout
15895
15896 \end_inset
15897 </cell>
15898 <cell alignment="center" valignment="top" topline="true" usebox="none">
15899 \begin_inset Text
15900
15901 \begin_layout Plain Layout
15902
15903 \end_layout
15904
15905 \end_inset
15906 </cell>
15907 </row>
15908 <row>
15909 <cell alignment="center" valignment="top" topline="true" usebox="none">
15910 \begin_inset Text
15911
15912 \begin_layout Plain Layout
15913
15914 \end_layout
15915
15916 \end_inset
15917 </cell>
15918 <cell alignment="center" valignment="top" topline="true" usebox="none">
15919 \begin_inset Text
15920
15921 \begin_layout Plain Layout
15922 sd
15923 \end_layout
15924
15925 \end_inset
15926 </cell>
15927 <cell alignment="center" valignment="top" topline="true" usebox="none">
15928 \begin_inset Text
15929
15930 \begin_layout Plain Layout
15931
15932 \end_layout
15933
15934 \end_inset
15935 </cell>
15936 </row>
15937 <row topspace="default">
15938 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15939 \begin_inset Text
15940
15941 \begin_layout Plain Layout
15942
15943 \end_layout
15944
15945 \end_inset
15946 </cell>
15947 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15948 \begin_inset Text
15949
15950 \begin_layout Plain Layout
15951
15952 \end_layout
15953
15954 \end_inset
15955 </cell>
15956 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15957 \begin_inset Text
15958
15959 \begin_layout Plain Layout
15960 sd
15961 \end_layout
15962
15963 \end_inset
15964 </cell>
15965 </row>
15966 </lyxtabular>
15967
15968 \end_inset
15969
15970
15971 \end_layout
15972
15973 \end_inset
15974
15975
15976 \end_layout
15977
15978 \begin_layout Standard
15979 \begin_inset ERT
15980 status collapsed
15981
15982 \begin_layout Plain Layout
15983
15984
15985 \backslash
15986 renewcommand{
15987 \backslash
15988 hline}{
15989 \backslash
15990 myHlineC}
15991 \end_layout
15992
15993 \end_inset
15994
15995
15996 \end_layout
15997
15998 \begin_layout Standard
15999 \begin_inset ERT
16000 status collapsed
16001
16002 \begin_layout Plain Layout
16003
16004
16005 \backslash
16006 setlength{
16007 \backslash
16008 arrayrulewidth}{0.4pt}
16009 \end_layout
16010
16011 \end_inset
16012
16013
16014 \end_layout
16015
16016 \begin_layout Section
16017 Table Customization
16018 \begin_inset Index
16019 status collapsed
16020
16021 \begin_layout Plain Layout
16022 Table Customization
16023 \end_layout
16024
16025 \end_inset
16026
16027
16028 \begin_inset Index
16029 status collapsed
16030
16031 \begin_layout Plain Layout
16032 Table ! Customization
16033 \end_layout
16034
16035 \end_inset
16036
16037
16038 \end_layout
16039
16040 \begin_layout Subsection
16041 Row Spacing
16042 \begin_inset CommandInset label
16043 LatexCommand label
16044 name "sub:Row-Spacing"
16045
16046 \end_inset
16047
16048
16049 \begin_inset Index
16050 status collapsed
16051
16052 \begin_layout Plain Layout
16053 Table Customization ! Row Spacing
16054 \end_layout
16055
16056 \end_inset
16057
16058
16059 \end_layout
16060
16061 \begin_layout Standard
16062 You can add vertical space to table rows in the 
16063 \family sans
16064 Borders
16065 \family default
16066  tab of the table dialog.
16067  You find there three possibilities:
16068 \end_layout
16069
16070 \begin_layout Description
16071 Top
16072 \begin_inset space ~
16073 \end_inset
16074
16075 of
16076 \begin_inset space ~
16077 \end_inset
16078
16079 row will add space above the characters of the table row.
16080  If the table is a formal table
16081 \begin_inset Foot
16082 status collapsed
16083
16084 \begin_layout Plain Layout
16085 Formal tables are explained in section
16086 \begin_inset space ~
16087 \end_inset
16088
16089
16090 \begin_inset CommandInset ref
16091 LatexCommand ref
16092 reference "sec:Formal-Tables"
16093
16094 \end_inset
16095
16096 .
16097 \end_layout
16098
16099 \end_inset
16100
16101  LyX will insert as default 0.5
16102 \begin_inset space \thinspace{}
16103 \end_inset
16104
16105 em space.
16106  For normal tables the inserted space will unfortunately destroy the vertical
16107  table lines as in the following table:
16108 \begin_inset VSpace medskip
16109 \end_inset
16110
16111
16112 \begin_inset Newline newline
16113 \end_inset
16114
16115
16116 \begin_inset space \hspace*{}
16117 \length 0pt
16118 \end_inset
16119
16120
16121 \begin_inset space \hfill{}
16122 \end_inset
16123
16124
16125 \begin_inset Tabular
16126 <lyxtabular version="3" rows="3" columns="1">
16127 <features>
16128 <column alignment="center" valignment="top" width="0">
16129 <row>
16130 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16131 \begin_inset Text
16132
16133 \begin_layout Plain Layout
16134 A
16135 \end_layout
16136
16137 \end_inset
16138 </cell>
16139 </row>
16140 <row topspace="3mm">
16141 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16142 \begin_inset Text
16143
16144 \begin_layout Plain Layout
16145 3
16146 \begin_inset space \thinspace{}
16147 \end_inset
16148
16149 mm space top of row
16150 \end_layout
16151
16152 \end_inset
16153 </cell>
16154 </row>
16155 <row>
16156 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16157 \begin_inset Text
16158
16159 \begin_layout Plain Layout
16160 C
16161 \end_layout
16162
16163 \end_inset
16164 </cell>
16165 </row>
16166 </lyxtabular>
16167
16168 \end_inset
16169
16170
16171 \begin_inset space \hfill{}
16172 \end_inset
16173
16174
16175 \begin_inset space \hspace*{}
16176 \length 0pt
16177 \end_inset
16178
16179
16180 \begin_inset VSpace medskip
16181 \end_inset
16182
16183
16184 \begin_inset Newline newline
16185 \end_inset
16186
16187 So inserting space to the top of row for normal tables is only useful when
16188  you don't have vertical lines.
16189 \end_layout
16190
16191 \begin_layout Description
16192 Bottom
16193 \begin_inset space ~
16194 \end_inset
16195
16196 of
16197 \begin_inset space ~
16198 \end_inset
16199
16200 row will add space below the characters of the table row.
16201  If the table is a formal table LyX will insert as default 0.5
16202 \begin_inset space \thinspace{}
16203 \end_inset
16204
16205 em space, for normal tables the default size is 2
16206 \begin_inset space \thinspace{}
16207 \end_inset
16208
16209 pt.
16210 \end_layout
16211
16212 \begin_layout Description
16213 Between
16214 \begin_inset space ~
16215 \end_inset
16216
16217 rows adds space between the current and the following row.
16218  If the table is a formal table LyX will insert as default 0.5
16219 \begin_inset space \thinspace{}
16220 \end_inset
16221
16222 em space.
16223  For normal tables the inserted space will unfortunately destroy the vertical
16224  table lines as in the following table:
16225 \begin_inset VSpace medskip
16226 \end_inset
16227
16228
16229 \begin_inset Newline newline
16230 \end_inset
16231
16232
16233 \begin_inset space \hspace*{}
16234 \length 0pt
16235 \end_inset
16236
16237
16238 \begin_inset space \hfill{}
16239 \end_inset
16240
16241
16242 \begin_inset Tabular
16243 <lyxtabular version="3" rows="3" columns="1">
16244 <features>
16245 <column alignment="center" valignment="top" width="0">
16246 <row>
16247 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16248 \begin_inset Text
16249
16250 \begin_layout Plain Layout
16251 A
16252 \end_layout
16253
16254 \end_inset
16255 </cell>
16256 </row>
16257 <row interlinespace="3mm">
16258 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16259 \begin_inset Text
16260
16261 \begin_layout Plain Layout
16262 \begin_inset Formula $\downarrow$
16263 \end_inset
16264
16265  3
16266 \begin_inset space \thinspace{}
16267 \end_inset
16268
16269 mm space between row 
16270 \begin_inset Formula $\downarrow$
16271 \end_inset
16272
16273
16274 \end_layout
16275
16276 \end_inset
16277 </cell>
16278 </row>
16279 <row>
16280 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16281 \begin_inset Text
16282
16283 \begin_layout Plain Layout
16284 \begin_inset Formula $\uparrow$
16285 \end_inset
16286
16287  3
16288 \begin_inset space \thinspace{}
16289 \end_inset
16290
16291 mm space between row 
16292 \begin_inset Formula $\uparrow$
16293 \end_inset
16294
16295
16296 \end_layout
16297
16298 \end_inset
16299 </cell>
16300 </row>
16301 </lyxtabular>
16302
16303 \end_inset
16304
16305
16306 \begin_inset space \hfill{}
16307 \end_inset
16308
16309
16310 \begin_inset space \hspace*{}
16311 \length 0pt
16312 \end_inset
16313
16314
16315 \begin_inset VSpace medskip
16316 \end_inset
16317
16318
16319 \begin_inset Newline newline
16320 \end_inset
16321
16322 So inserting space between rows for normal tables is only useful when you
16323  don't have vertical lines.
16324 \end_layout
16325
16326 \begin_layout Standard
16327 \begin_inset VSpace bigskip
16328 \end_inset
16329
16330 When you want to add extra height to all cells of all tables, you can do
16331  this with the following preamble lines:
16332 \end_layout
16333
16334 \begin_layout Standard
16335
16336 \series bold
16337
16338 \backslash
16339 @ifundefined{extrarowheight}
16340 \begin_inset Newline newline
16341 \end_inset
16342
16343
16344 \begin_inset ERT
16345 status collapsed
16346
16347 \begin_layout Plain Layout
16348
16349
16350 \backslash
16351 hphantom{ }
16352 \end_layout
16353
16354 \end_inset
16355
16356 {
16357 \backslash
16358 usepackage{array}}{}
16359 \begin_inset Newline newline
16360 \end_inset
16361
16362
16363 \backslash
16364 setlength{
16365 \backslash
16366 extrarowheight}{height}
16367 \end_layout
16368
16369 \begin_layout Standard
16370 But this has the disadvantage that the cell texts are no longer exactly
16371  vertically centered.
16372  (The package 
16373 \series bold
16374 array
16375 \series default
16376  will be loaded automatically by LyX when you use self defined table formats.
16377  To avoid that it is loaded twice the command 
16378 \series bold
16379
16380 \backslash
16381 @ifundefined
16382 \series default
16383  is used in the above command.)
16384 \end_layout
16385
16386 \begin_layout Standard
16387 In case you are using font sizes larger than the normal size, the table
16388  borders are often too close to the letters.
16389  This can be corrected by inserting the command 
16390 \series bold
16391
16392 \backslash
16393 strut
16394 \series default
16395  in TeX code at the beginning of a table row.
16396  Table
16397 \begin_inset space ~
16398 \end_inset
16399
16400
16401 \begin_inset CommandInset ref
16402 LatexCommand ref
16403 reference "tab:Vertical-alignment-of"
16404
16405 \end_inset
16406
16407  visualizes the effect.
16408 \end_layout
16409
16410 \begin_layout Standard
16411 \noindent
16412 \begin_inset Float table
16413 placement h
16414 wide false
16415 sideways false
16416 status open
16417
16418 \begin_layout Plain Layout
16419 \begin_inset Caption
16420
16421 \begin_layout Plain Layout
16422 \begin_inset CommandInset label
16423 LatexCommand label
16424 name "tab:Vertical-alignment-of"
16425
16426 \end_inset
16427
16428 Vertical alignment of text with large font sizes.
16429 \end_layout
16430
16431 \end_inset
16432
16433
16434 \end_layout
16435
16436 \begin_layout Plain Layout
16437 \begin_inset space \hfill{}
16438 \end_inset
16439
16440
16441 \begin_inset Float table
16442 wide false
16443 sideways false
16444 status collapsed
16445
16446 \begin_layout Plain Layout
16447 \begin_inset Caption
16448
16449 \begin_layout Plain Layout
16450 Normal table.
16451 \end_layout
16452
16453 \end_inset
16454
16455
16456 \end_layout
16457
16458 \begin_layout Plain Layout
16459 \noindent
16460 \align center
16461 \begin_inset Tabular
16462 <lyxtabular version="3" rows="6" columns="1">
16463 <features>
16464 <column alignment="left" valignment="top" width="0">
16465 <row>
16466 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16467 \begin_inset Text
16468
16469 \begin_layout Plain Layout
16470 Normal, g
16471 \end_layout
16472
16473 \end_inset
16474 </cell>
16475 </row>
16476 <row>
16477 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16478 \begin_inset Text
16479
16480 \begin_layout Plain Layout
16481
16482 \size large
16483 Large
16484 \end_layout
16485
16486 \end_inset
16487 </cell>
16488 </row>
16489 <row>
16490 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16491 \begin_inset Text
16492
16493 \begin_layout Plain Layout
16494
16495 \size larger
16496 Larger
16497 \end_layout
16498
16499 \end_inset
16500 </cell>
16501 </row>
16502 <row>
16503 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16504 \begin_inset Text
16505
16506 \begin_layout Plain Layout
16507
16508 \size largest
16509 Largest
16510 \end_layout
16511
16512 \end_inset
16513 </cell>
16514 </row>
16515 <row>
16516 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16517 \begin_inset Text
16518
16519 \begin_layout Plain Layout
16520
16521 \size huge
16522 Huge
16523 \end_layout
16524
16525 \end_inset
16526 </cell>
16527 </row>
16528 <row>
16529 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16530 \begin_inset Text
16531
16532 \begin_layout Plain Layout
16533
16534 \size huge
16535 Huger
16536 \end_layout
16537
16538 \end_inset
16539 </cell>
16540 </row>
16541 </lyxtabular>
16542
16543 \end_inset
16544
16545
16546 \end_layout
16547
16548 \end_inset
16549
16550
16551 \begin_inset space \hfill{}
16552 \end_inset
16553
16554
16555 \begin_inset Float table
16556 wide false
16557 sideways false
16558 status collapsed
16559
16560 \begin_layout Plain Layout
16561 \begin_inset Caption
16562
16563 \begin_layout Plain Layout
16564 Table using the command 
16565 \series bold
16566
16567 \backslash
16568 strut
16569 \series default
16570 .
16571 \end_layout
16572
16573 \end_inset
16574
16575
16576 \end_layout
16577
16578 \begin_layout Plain Layout
16579 \noindent
16580 \align center
16581 \begin_inset Tabular
16582 <lyxtabular version="3" rows="6" columns="1">
16583 <features>
16584 <column alignment="left" valignment="top" width="0">
16585 <row>
16586 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16587 \begin_inset Text
16588
16589 \begin_layout Plain Layout
16590 Normal, g
16591 \end_layout
16592
16593 \end_inset
16594 </cell>
16595 </row>
16596 <row>
16597 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16598 \begin_inset Text
16599
16600 \begin_layout Plain Layout
16601
16602 \size large
16603 \begin_inset ERT
16604 status collapsed
16605
16606 \begin_layout Plain Layout
16607
16608
16609 \backslash
16610 strut 
16611 \end_layout
16612
16613 \end_inset
16614
16615 Large
16616 \end_layout
16617
16618 \end_inset
16619 </cell>
16620 </row>
16621 <row>
16622 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16623 \begin_inset Text
16624
16625 \begin_layout Plain Layout
16626
16627 \size larger
16628 \begin_inset ERT
16629 status collapsed
16630
16631 \begin_layout Plain Layout
16632
16633
16634 \backslash
16635 strut 
16636 \end_layout
16637
16638 \end_inset
16639
16640 Larger
16641 \end_layout
16642
16643 \end_inset
16644 </cell>
16645 </row>
16646 <row>
16647 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16648 \begin_inset Text
16649
16650 \begin_layout Plain Layout
16651
16652 \size largest
16653 \begin_inset ERT
16654 status collapsed
16655
16656 \begin_layout Plain Layout
16657
16658
16659 \backslash
16660 strut 
16661 \end_layout
16662
16663 \end_inset
16664
16665 Largest
16666 \end_layout
16667
16668 \end_inset
16669 </cell>
16670 </row>
16671 <row>
16672 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16673 \begin_inset Text
16674
16675 \begin_layout Plain Layout
16676
16677 \size huge
16678 \begin_inset ERT
16679 status collapsed
16680
16681 \begin_layout Plain Layout
16682
16683
16684 \backslash
16685 strut 
16686 \end_layout
16687
16688 \end_inset
16689
16690 Huge
16691 \end_layout
16692
16693 \end_inset
16694 </cell>
16695 </row>
16696 <row>
16697 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16698 \begin_inset Text
16699
16700 \begin_layout Plain Layout
16701
16702 \size giant
16703 \begin_inset ERT
16704 status collapsed
16705
16706 \begin_layout Plain Layout
16707
16708
16709 \backslash
16710 strut 
16711 \end_layout
16712
16713 \end_inset
16714
16715
16716 \size huge
16717 Huger
16718 \end_layout
16719
16720 \end_inset
16721 </cell>
16722 </row>
16723 </lyxtabular>
16724
16725 \end_inset
16726
16727
16728 \end_layout
16729
16730 \end_inset
16731
16732
16733 \begin_inset space \hfill{}
16734 \end_inset
16735
16736
16737 \end_layout
16738
16739 \end_inset
16740
16741
16742 \end_layout
16743
16744 \begin_layout Subsection
16745 Special Cell Alignment
16746 \begin_inset Index
16747 status collapsed
16748
16749 \begin_layout Plain Layout
16750 Table Customization ! Special Cell Alignment
16751 \end_layout
16752
16753 \end_inset
16754
16755
16756 \end_layout
16757
16758 \begin_layout Standard
16759 Sometimes it looks better when the cell entries of a column are aligned
16760  with a special character, e.
16761 \begin_inset space \thinspace{}
16762 \end_inset
16763
16764 g.
16765 \begin_inset space \space{}
16766 \end_inset
16767
16768 with the decimal separator as in Table
16769 \begin_inset space ~
16770 \end_inset
16771
16772
16773 \begin_inset CommandInset ref
16774 LatexCommand ref
16775 reference "tab:Table-cells-of"
16776
16777 \end_inset
16778
16779 .
16780 \end_layout
16781
16782 \begin_layout Standard
16783 \begin_inset Float table
16784 placement h
16785 wide false
16786 sideways false
16787 status open
16788
16789 \begin_layout Plain Layout
16790 \begin_inset Caption
16791
16792 \begin_layout Plain Layout
16793 \begin_inset CommandInset label
16794 LatexCommand label
16795 name "tab:Table-cells-of"
16796
16797 \end_inset
16798
16799 Table cells of a column aligned with the decimal separator.
16800 \end_layout
16801
16802 \end_inset
16803
16804
16805 \end_layout
16806
16807 \begin_layout Plain Layout
16808 \align center
16809 \begin_inset Tabular
16810 <lyxtabular version="3" rows="4" columns="2">
16811 <features>
16812 <column alignment="right" valignment="top" width="0">
16813 <column alignment="left" valignment="top" width="0" special="@{}l">
16814 <row>
16815 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
16816 \begin_inset Text
16817
16818 \begin_layout Plain Layout
16819 heading
16820 \end_layout
16821
16822 \end_inset
16823 </cell>
16824 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16825 \begin_inset Text
16826
16827 \begin_layout Plain Layout
16828
16829 \end_layout
16830
16831 \end_inset
16832 </cell>
16833 </row>
16834 <row>
16835 <cell alignment="center" valignment="top" usebox="none">
16836 \begin_inset Text
16837
16838 \begin_layout Plain Layout
16839 12.
16840 \end_layout
16841
16842 \end_inset
16843 </cell>
16844 <cell alignment="center" valignment="top" usebox="none">
16845 \begin_inset Text
16846
16847 \begin_layout Plain Layout
16848 6
16849 \end_layout
16850
16851 \end_inset
16852 </cell>
16853 </row>
16854 <row>
16855 <cell alignment="center" valignment="top" usebox="none">
16856 \begin_inset Text
16857
16858 \begin_layout Plain Layout
16859 0.
16860 \end_layout
16861
16862 \end_inset
16863 </cell>
16864 <cell alignment="center" valignment="top" usebox="none">
16865 \begin_inset Text
16866
16867 \begin_layout Plain Layout
16868 68
16869 \end_layout
16870
16871 \end_inset
16872 </cell>
16873 </row>
16874 <row>
16875 <cell alignment="center" valignment="top" usebox="none">
16876 \begin_inset Text
16877
16878 \begin_layout Plain Layout
16879 -123.
16880 \end_layout
16881
16882 \end_inset
16883 </cell>
16884 <cell alignment="center" valignment="top" usebox="none">
16885 \begin_inset Text
16886
16887 \begin_layout Plain Layout
16888 0
16889 \end_layout
16890
16891 \end_inset
16892 </cell>
16893 </row>
16894 </lyxtabular>
16895
16896 \end_inset
16897
16898
16899 \end_layout
16900
16901 \end_inset
16902
16903
16904 \end_layout
16905
16906 \begin_layout Standard
16907 This table was created with a 4×2 table.
16908  The heading is a centered multicolumn.
16909  The first column is right-aligned and contains the digits before the decimal
16910  point and the decimal point.
16911  The second column is left aligned and contains the digits after the decimal
16912  point.
16913  To omit the space that is normally between two table columns, use the following
16914  LaTeX-argument for the second column:
16915 \end_layout
16916
16917 \begin_layout Standard
16918
16919 \series bold
16920 @{}l
16921 \end_layout
16922
16923 \begin_layout Standard
16924 Table
16925 \begin_inset space ~
16926 \end_inset
16927
16928
16929 \begin_inset CommandInset ref
16930 LatexCommand ref
16931 reference "tab:Several-table-cell"
16932
16933 \end_inset
16934
16935  shows some example alignments.
16936  For the alignment with the relation sign, you must add the second smallest
16937  math-space at the beginning of the last column to get the correct space
16938  surrounding the relation sign.
16939 \end_layout
16940
16941 \begin_layout Standard
16942 \begin_inset Float table
16943 wide false
16944 sideways false
16945 status open
16946
16947 \begin_layout Plain Layout
16948 \begin_inset Caption
16949
16950 \begin_layout Plain Layout
16951 \begin_inset CommandInset label
16952 LatexCommand label
16953 name "tab:Several-table-cell"
16954
16955 \end_inset
16956
16957 Several table cell alignments.
16958 \end_layout
16959
16960 \end_inset
16961
16962
16963 \end_layout
16964
16965 \begin_layout Plain Layout
16966 \align center
16967 \begin_inset Tabular
16968 <lyxtabular version="3" rows="4" columns="6">
16969 <features>
16970 <column alignment="right" valignment="top" width="0">
16971 <column alignment="left" valignment="top" width="0" special="@{}l">
16972 <column alignment="right" valignment="top" width="0">
16973 <column alignment="left" valignment="top" width="0" special="@{}l">
16974 <column alignment="right" valignment="top" width="0">
16975 <column alignment="left" valignment="top" width="0" special="@{}l">
16976 <row>
16977 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16978 \begin_inset Text
16979
16980 \begin_layout Plain Layout
16981 units
16982 \end_layout
16983
16984 \end_inset
16985 </cell>
16986 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16987 \begin_inset Text
16988
16989 \begin_layout Plain Layout
16990
16991 \end_layout
16992
16993 \end_inset
16994 </cell>
16995 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16996 \begin_inset Text
16997
16998 \begin_layout Plain Layout
16999 exponents
17000 \end_layout
17001
17002 \end_inset
17003 </cell>
17004 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17005 \begin_inset Text
17006
17007 \begin_layout Plain Layout
17008
17009 \end_layout
17010
17011 \end_inset
17012 </cell>
17013 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
17014 \begin_inset Text
17015
17016 \begin_layout Plain Layout
17017 relations
17018 \end_layout
17019
17020 \end_inset
17021 </cell>
17022 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17023 \begin_inset Text
17024
17025 \begin_layout Plain Layout
17026
17027 \end_layout
17028
17029 \end_inset
17030 </cell>
17031 </row>
17032 <row>
17033 <cell alignment="center" valignment="top" usebox="none">
17034 \begin_inset Text
17035
17036 \begin_layout Plain Layout
17037 12×
17038 \end_layout
17039
17040 \end_inset
17041 </cell>
17042 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17043 \begin_inset Text
17044
17045 \begin_layout Plain Layout
17046 24
17047 \begin_inset space \thinspace{}
17048 \end_inset
17049
17050 bottles
17051 \end_layout
17052
17053 \end_inset
17054 </cell>
17055 <cell alignment="center" valignment="top" usebox="none">
17056 \begin_inset Text
17057
17058 \begin_layout Plain Layout
17059 \begin_inset Formula $10\cdot$
17060 \end_inset
17061
17062
17063 \end_layout
17064
17065 \end_inset
17066 </cell>
17067 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17068 \begin_inset Text
17069
17070 \begin_layout Plain Layout
17071 \begin_inset Formula $10^{\mbox{-}17}$
17072 \end_inset
17073
17074
17075 \end_layout
17076
17077 \end_inset
17078 </cell>
17079 <cell alignment="center" valignment="top" usebox="none">
17080 \begin_inset Text
17081
17082 \begin_layout Plain Layout
17083 \begin_inset Formula $\Gamma(t)\propto$
17084 \end_inset
17085
17086
17087 \end_layout
17088
17089 \end_inset
17090 </cell>
17091 <cell alignment="center" valignment="top" usebox="none">
17092 \begin_inset Text
17093
17094 \begin_layout Plain Layout
17095 \begin_inset Formula $\:\Upsilon(t)$
17096 \end_inset
17097
17098
17099 \end_layout
17100
17101 \end_inset
17102 </cell>
17103 </row>
17104 <row>
17105 <cell alignment="center" valignment="top" usebox="none">
17106 \begin_inset Text
17107
17108 \begin_layout Plain Layout
17109 1024×
17110 \end_layout
17111
17112 \end_inset
17113 </cell>
17114 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17115 \begin_inset Text
17116
17117 \begin_layout Plain Layout
17118 768
17119 \begin_inset space \thinspace{}
17120 \end_inset
17121
17122 Pixels
17123 \end_layout
17124
17125 \end_inset
17126 </cell>
17127 <cell alignment="center" valignment="top" usebox="none">
17128 \begin_inset Text
17129
17130 \begin_layout Plain Layout
17131 \begin_inset Formula $5.78\cdot$
17132 \end_inset
17133
17134
17135 \end_layout
17136
17137 \end_inset
17138 </cell>
17139 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17140 \begin_inset Text
17141
17142 \begin_layout Plain Layout
17143 \begin_inset Formula $10^{7}$
17144 \end_inset
17145
17146
17147 \end_layout
17148
17149 \end_inset
17150 </cell>
17151 <cell alignment="center" valignment="top" usebox="none">
17152 \begin_inset Text
17153
17154 \begin_layout Plain Layout
17155 \begin_inset Formula $A\ne$
17156 \end_inset
17157
17158
17159 \end_layout
17160
17161 \end_inset
17162 </cell>
17163 <cell alignment="center" valignment="top" usebox="none">
17164 \begin_inset Text
17165
17166 \begin_layout Plain Layout
17167 \begin_inset Formula $\: B_{\mathrm{red}}$
17168 \end_inset
17169
17170
17171 \end_layout
17172
17173 \end_inset
17174 </cell>
17175 </row>
17176 <row>
17177 <cell alignment="center" valignment="top" usebox="none">
17178 \begin_inset Text
17179
17180 \begin_layout Plain Layout
17181 32×
17182 \end_layout
17183
17184 \end_inset
17185 </cell>
17186 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17187 \begin_inset Text
17188
17189 \begin_layout Plain Layout
17190 6
17191 \begin_inset space \thinspace{}
17192 \end_inset
17193
17194 cm
17195 \end_layout
17196
17197 \end_inset
17198 </cell>
17199 <cell alignment="center" valignment="top" usebox="none">
17200 \begin_inset Text
17201
17202 \begin_layout Plain Layout
17203 -
17204 \begin_inset Formula $33.5\cdot$
17205 \end_inset
17206
17207
17208 \end_layout
17209
17210 \end_inset
17211 </cell>
17212 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17213 \begin_inset Text
17214
17215 \begin_layout Plain Layout
17216 \begin_inset Formula $10^{4}$
17217 \end_inset
17218
17219
17220 \end_layout
17221
17222 \end_inset
17223 </cell>
17224 <cell alignment="center" valignment="top" usebox="none">
17225 \begin_inset Text
17226
17227 \begin_layout Plain Layout
17228 \begin_inset Formula $\sin(\alpha)\ge$
17229 \end_inset
17230
17231
17232 \end_layout
17233
17234 \end_inset
17235 </cell>
17236 <cell alignment="center" valignment="top" usebox="none">
17237 \begin_inset Text
17238
17239 \begin_layout Plain Layout
17240 \begin_inset Formula $\:\sin(\beta)$
17241 \end_inset
17242
17243
17244 \end_layout
17245
17246 \end_inset
17247 </cell>
17248 </row>
17249 </lyxtabular>
17250
17251 \end_inset
17252
17253
17254 \end_layout
17255
17256 \end_inset
17257
17258
17259 \end_layout
17260
17261 \begin_layout Standard
17262 \begin_inset VSpace bigskip
17263 \end_inset
17264
17265 There is also the LaTeX-package 
17266 \series bold
17267 dcolumn
17268 \series default
17269
17270 \begin_inset Index
17271 status collapsed
17272
17273 \begin_layout Plain Layout
17274 LaTeX-packages ! dcolumn
17275 \end_layout
17276
17277 \end_inset
17278
17279  that provides table cell alignments.
17280  But this unfortunately treats the cell entries as math and doesn't allow
17281  formulas in table cells: The first column of Table
17282 \begin_inset space ~
17283 \end_inset
17284
17285
17286 \begin_inset CommandInset ref
17287 LatexCommand ref
17288 reference "tab:Several-table-cell"
17289
17290 \end_inset
17291
17292  will look with 
17293 \series bold
17294 dcolumn
17295 \series default
17296  like the first column in Table
17297 \begin_inset space ~
17298 \end_inset
17299
17300
17301 \begin_inset CommandInset ref
17302 LatexCommand ref
17303 reference "tab:Alignments-when"
17304
17305 \end_inset
17306
17307  and only with some tricks like the expected.
17308  The alignment of the second and third column of Table
17309 \begin_inset space ~
17310 \end_inset
17311
17312
17313 \begin_inset CommandInset ref
17314 LatexCommand ref
17315 reference "tab:Several-table-cell"
17316
17317 \end_inset
17318
17319  is not possible with 
17320 \series bold
17321 dcolumn
17322 \series default
17323 .
17324 \end_layout
17325
17326 \begin_layout Standard
17327 \begin_inset Float table
17328 placement h
17329 wide false
17330 sideways false
17331 status open
17332
17333 \begin_layout Plain Layout
17334 \begin_inset Caption
17335
17336 \begin_layout Plain Layout
17337 \begin_inset CommandInset label
17338 LatexCommand label
17339 name "tab:Alignments-when"
17340
17341 \end_inset
17342
17343 Alignments when LaTeX-package dcolumn is used.
17344  For all column alignments tricks have to be used to get the output.
17345 \end_layout
17346
17347 \end_inset
17348
17349
17350 \end_layout
17351
17352 \begin_layout Plain Layout
17353 \align center
17354 \begin_inset Tabular
17355 <lyxtabular version="3" rows="4" columns="3">
17356 <features>
17357 <column alignment="center" valignment="top" width="0" special="D{x}{\times}{-1}">
17358 <column alignment="center" valignment="top" width="0" special="D{x}{\times}{4.9}">
17359 <column alignment="center" valignment="top" width="0" special="D{~}{\,}{9.7}">
17360 <row>
17361 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
17362 \begin_inset Text
17363
17364 \begin_layout Plain Layout
17365 units
17366 \end_layout
17367
17368 \end_inset
17369 </cell>
17370 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
17371 \begin_inset Text
17372
17373 \begin_layout Plain Layout
17374 units
17375 \end_layout
17376
17377 \end_inset
17378 </cell>
17379 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
17380 \begin_inset Text
17381
17382 \begin_layout Plain Layout
17383 units
17384 \end_layout
17385
17386 \end_inset
17387 </cell>
17388 </row>
17389 <row>
17390 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17391 \begin_inset Text
17392
17393 \begin_layout Plain Layout
17394 12x24
17395 \begin_inset space \thinspace{}
17396 \end_inset
17397
17398 bottles
17399 \end_layout
17400
17401 \end_inset
17402 </cell>
17403 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17404 \begin_inset Text
17405
17406 \begin_layout Plain Layout
17407 12x24
17408 \begin_inset space \thinspace{}
17409 \end_inset
17410
17411
17412 \begin_inset Formula $\mbox{bottles}$
17413 \end_inset
17414
17415
17416 \end_layout
17417
17418 \end_inset
17419 </cell>
17420 <cell alignment="center" valignment="top" usebox="none">
17421 \begin_inset Text
17422
17423 \begin_layout Plain Layout
17424 12
17425 \begin_inset ERT
17426 status collapsed
17427
17428 \begin_layout Plain Layout
17429
17430
17431 \backslash
17432 times 
17433 \end_layout
17434
17435 \end_inset
17436
17437 24~
17438 \begin_inset Formula $\mbox{bottles}$
17439 \end_inset
17440
17441
17442 \end_layout
17443
17444 \end_inset
17445 </cell>
17446 </row>
17447 <row>
17448 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17449 \begin_inset Text
17450
17451 \begin_layout Plain Layout
17452 1024x768
17453 \begin_inset space \thinspace{}
17454 \end_inset
17455
17456 Pixels
17457 \end_layout
17458
17459 \end_inset
17460 </cell>
17461 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17462 \begin_inset Text
17463
17464 \begin_layout Plain Layout
17465 1024x768
17466 \begin_inset space \thinspace{}
17467 \end_inset
17468
17469
17470 \begin_inset Formula $\mbox{Pixels}$
17471 \end_inset
17472
17473
17474 \end_layout
17475
17476 \end_inset
17477 </cell>
17478 <cell alignment="center" valignment="top" usebox="none">
17479 \begin_inset Text
17480
17481 \begin_layout Plain Layout
17482 1024
17483 \begin_inset ERT
17484 status collapsed
17485
17486 \begin_layout Plain Layout
17487
17488
17489 \backslash
17490 times 
17491 \end_layout
17492
17493 \end_inset
17494
17495 768~
17496 \begin_inset Formula $\mbox{Pixels}$
17497 \end_inset
17498
17499
17500 \end_layout
17501
17502 \end_inset
17503 </cell>
17504 </row>
17505 <row>
17506 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17507 \begin_inset Text
17508
17509 \begin_layout Plain Layout
17510 32x6
17511 \begin_inset space \thinspace{}
17512 \end_inset
17513
17514 cm
17515 \end_layout
17516
17517 \end_inset
17518 </cell>
17519 <cell alignment="center" valignment="top" rightline="true" usebox="none">
17520 \begin_inset Text
17521
17522 \begin_layout Plain Layout
17523 32x6
17524 \begin_inset space \thinspace{}
17525 \end_inset
17526
17527
17528 \begin_inset Formula $\mbox{cm}$
17529 \end_inset
17530
17531
17532 \end_layout
17533
17534 \end_inset
17535 </cell>
17536 <cell alignment="center" valignment="top" usebox="none">
17537 \begin_inset Text
17538
17539 \begin_layout Plain Layout
17540 32
17541 \begin_inset ERT
17542 status collapsed
17543
17544 \begin_layout Plain Layout
17545
17546
17547 \backslash
17548 times 
17549 \end_layout
17550
17551 \end_inset
17552
17553 6~
17554 \begin_inset Formula $\mbox{cm}$
17555 \end_inset
17556
17557
17558 \end_layout
17559
17560 \end_inset
17561 </cell>
17562 </row>
17563 </lyxtabular>
17564
17565 \end_inset
17566
17567
17568 \end_layout
17569
17570 \end_inset
17571
17572
17573 \end_layout
17574
17575 \begin_layout Subsection
17576 Customized Cell/Column Format
17577 \begin_inset CommandInset label
17578 LatexCommand label
17579 name "sub:Customized-Format"
17580
17581 \end_inset
17582
17583
17584 \begin_inset Index
17585 status collapsed
17586
17587 \begin_layout Plain Layout
17588 Table Customization ! Cell/Column Format
17589 \end_layout
17590
17591 \end_inset
17592
17593
17594 \end_layout
17595
17596 \begin_layout Standard
17597 Calculating the needed width for spanned columns like in section
17598 \begin_inset space ~
17599 \end_inset
17600
17601
17602 \begin_inset CommandInset ref
17603 LatexCommand ref
17604 reference "sub:Multicolumn-Calculations"
17605
17606 \end_inset
17607
17608  is very annoying if you have several tables with multicolumn cells.
17609  To make life easier, you can define a cell/column format in the preamble,
17610  so that it can be used in all tables of the document.
17611  The format is defined with the command
17612 \end_layout
17613
17614 \begin_layout Standard
17615
17616 \series bold
17617
17618 \backslash
17619 newcolumntype{name of format}[number of arguments]{commands}
17620 \end_layout
17621
17622 \begin_layout Standard
17623 The format name may only consist of one letter.
17624  The letters 
17625 \emph on
17626 b
17627 \emph default
17628
17629 \emph on
17630 c
17631 \emph default
17632
17633 \emph on
17634 l
17635 \emph default
17636
17637 \emph on
17638 m
17639 \emph default
17640
17641 \emph on
17642 p
17643 \emph default
17644  and 
17645 \emph on
17646 r
17647 \emph default
17648  are predefined and cannot be used.
17649  But all letters are allowed as capitals.
17650 \end_layout
17651
17652 \begin_layout Standard
17653 \begin_inset VSpace medskip
17654 \end_inset
17655
17656
17657 \end_layout
17658
17659 \begin_layout Standard
17660 For vertically and horizontally centered multicolumn cells with a fixed
17661  width you can define the cell format
17662 \end_layout
17663
17664 \begin_layout Standard
17665
17666 \series bold
17667
17668 \backslash
17669 newcolumntype{M}[1]{>{
17670 \backslash
17671 centering
17672 \backslash
17673 hspace{0pt}}m{#1}}
17674 \end_layout
17675
17676 \begin_layout Standard
17677 where 
17678 \series bold
17679
17680 \backslash
17681 hspace{0pt}
17682 \series default
17683  avoids the problem of hyphenating the first word, as described in section
17684 \begin_inset space ~
17685 \end_inset
17686
17687
17688 \begin_inset CommandInset ref
17689 LatexCommand ref
17690 reference "sub:Multiple-Lines-in"
17691
17692 \end_inset
17693
17694 .
17695  Now you can simply enter
17696 \end_layout
17697
17698 \begin_layout Standard
17699
17700 \series bold
17701 M{width}
17702 \end_layout
17703
17704 \begin_layout Standard
17705 as LaTeX-argument in the table dialog to create a multicolumn.
17706 \end_layout
17707
17708 \begin_layout Standard
17709 \begin_inset VSpace bigskip
17710 \end_inset
17711
17712
17713 \end_layout
17714
17715 \begin_layout Standard
17716 For cells spanned by a multicolumn cell, you can define the format
17717 \end_layout
17718
17719 \begin_layout Standard
17720
17721 \series bold
17722
17723 \backslash
17724 newcolumntype{S}[2]{>{
17725 \backslash
17726 centering
17727 \backslash
17728 hspace{0pt}}
17729 \begin_inset Newline newline
17730 \end_inset
17731
17732
17733 \begin_inset ERT
17734 status collapsed
17735
17736 \begin_layout Plain Layout
17737
17738
17739 \backslash
17740 phantom{
17741 \end_layout
17742
17743 \end_inset
17744
17745
17746 \backslash
17747 newcolumntype
17748 \begin_inset ERT
17749 status collapsed
17750
17751 \begin_layout Plain Layout
17752
17753 }
17754 \end_layout
17755
17756 \end_inset
17757
17758 m{(#1+(2
17759 \backslash
17760 tabcolsep+
17761 \backslash
17762 arrayrulewidth)*(1-#2))/#2}}
17763 \end_layout
17764
17765 \begin_layout Standard
17766 This format uses equation 
17767 \begin_inset CommandInset ref
17768 LatexCommand eqref
17769 reference "eq:Wgn"
17770
17771 \end_inset
17772
17773  to calculate the needed width so that each spanned cell has the same width.
17774 \end_layout
17775
17776 \begin_layout Standard
17777 You can now enter
17778 \end_layout
17779
17780 \begin_layout Standard
17781
17782 \series bold
17783 S{width of multicolumn cell}{number of spanned columns}
17784 \end_layout
17785
17786 \begin_layout Standard
17787 as LaTeX-argument of the column.
17788 \end_layout
17789
17790 \begin_layout Standard
17791 \begin_inset VSpace bigskip
17792 \end_inset
17793
17794
17795 \end_layout
17796
17797 \begin_layout Standard
17798 For colored columns, you can define
17799 \end_layout
17800
17801 \begin_layout Standard
17802
17803 \series bold
17804
17805 \backslash
17806 newcolumntype{K}[1]{>{
17807 \backslash
17808 columncolor{#1}
17809 \backslash
17810 hspace{0pt}}c}
17811 \end_layout
17812
17813 \begin_layout Standard
17814 The 
17815 \begin_inset Quotes eld
17816 \end_inset
17817
17818 c
17819 \begin_inset Quotes erd
17820 \end_inset
17821
17822  at the end creates a column with a flexible width whose text is horizontally
17823  centered.
17824  You can now enter
17825 \end_layout
17826
17827 \begin_layout Standard
17828
17829 \series bold
17830 K{color name}
17831 \end_layout
17832
17833 \begin_layout Standard
17834 as LaTeX-argument.
17835 \end_layout
17836
17837 \begin_layout Standard
17838 \begin_inset VSpace bigskip
17839 \end_inset
17840
17841
17842 \end_layout
17843
17844 \begin_layout Standard
17845 To create Table
17846 \begin_inset space ~
17847 \end_inset
17848
17849
17850 \begin_inset CommandInset ref
17851 LatexCommand ref
17852 reference "tab:Table-using-user-defined"
17853
17854 \end_inset
17855
17856  use the LaTeX-arguments
17857 \end_layout
17858
17859 \begin_layout Standard
17860
17861 \series bold
17862 M{2.5cm}
17863 \end_layout
17864
17865 \begin_layout Standard
17866 for the first column and the multicolumn,
17867 \end_layout
17868
17869 \begin_layout Standard
17870
17871 \series bold
17872 K{red}
17873 \end_layout
17874
17875 \begin_layout Standard
17876 for the the last column, and
17877 \end_layout
17878
17879 \begin_layout Standard
17880
17881 \series bold
17882 S{2.5cm}{2}
17883 \end_layout
17884
17885 \begin_layout Standard
17886 for the cells in the second column.
17887 \end_layout
17888
17889 \begin_layout Standard
17890 \begin_inset Float table
17891 placement h
17892 wide false
17893 sideways false
17894 status open
17895
17896 \begin_layout Plain Layout
17897 \begin_inset Caption
17898
17899 \begin_layout Plain Layout
17900 \begin_inset CommandInset label
17901 LatexCommand label
17902 name "tab:Table-using-user-defined"
17903
17904 \end_inset
17905
17906 Table using user-defined table formats
17907 \end_layout
17908
17909 \end_inset
17910
17911
17912 \end_layout
17913
17914 \begin_layout Plain Layout
17915 \align center
17916 \begin_inset Tabular
17917 <lyxtabular version="3" rows="3" columns="4">
17918 <features>
17919 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
17920 <column alignment="center" valignment="middle" width="0" special="S{2.5cm}{2}">
17921 <column alignment="center" valignment="middle" width="0">
17922 <column alignment="center" valignment="middle" width="0" special="K{red}">
17923 <row>
17924 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17925 \begin_inset Text
17926
17927 \begin_layout Plain Layout
17928 verylongtablecellword
17929 \end_layout
17930
17931 \end_inset
17932 </cell>
17933 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
17934 \begin_inset Text
17935
17936 \begin_layout Plain Layout
17937 multiple lines multicolumn
17938 \end_layout
17939
17940 \end_inset
17941 </cell>
17942 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17943 \begin_inset Text
17944
17945 \begin_layout Plain Layout
17946
17947 \end_layout
17948
17949 \end_inset
17950 </cell>
17951 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17952 \begin_inset Text
17953
17954 \begin_layout Plain Layout
17955 c
17956 \end_layout
17957
17958 \end_inset
17959 </cell>
17960 </row>
17961 <row>
17962 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17963 \begin_inset Text
17964
17965 \begin_layout Plain Layout
17966 d
17967 \end_layout
17968
17969 \end_inset
17970 </cell>
17971 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17972 \begin_inset Text
17973
17974 \begin_layout Plain Layout
17975 e
17976 \end_layout
17977
17978 \end_inset
17979 </cell>
17980 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17981 \begin_inset Text
17982
17983 \begin_layout Plain Layout
17984 f
17985 \end_layout
17986
17987 \end_inset
17988 </cell>
17989 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17990 \begin_inset Text
17991
17992 \begin_layout Plain Layout
17993 g
17994 \end_layout
17995
17996 \end_inset
17997 </cell>
17998 </row>
17999 <row>
18000 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18001 \begin_inset Text
18002
18003 \begin_layout Plain Layout
18004 h
18005 \end_layout
18006
18007 \end_inset
18008 </cell>
18009 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18010 \begin_inset Text
18011
18012 \begin_layout Plain Layout
18013 i
18014 \end_layout
18015
18016 \end_inset
18017 </cell>
18018 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18019 \begin_inset Text
18020
18021 \begin_layout Plain Layout
18022 j
18023 \end_layout
18024
18025 \end_inset
18026 </cell>
18027 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18028 \begin_inset Text
18029
18030 \begin_layout Plain Layout
18031 k
18032 \end_layout
18033
18034 \end_inset
18035 </cell>
18036 </row>
18037 </lyxtabular>
18038
18039 \end_inset
18040
18041
18042 \end_layout
18043
18044 \end_inset
18045
18046
18047 \end_layout
18048
18049 \begin_layout Subsection
18050 Line Thickness
18051 \begin_inset CommandInset label
18052 LatexCommand label
18053 name "sub:Line-Thickness"
18054
18055 \end_inset
18056
18057
18058 \begin_inset Index
18059 status collapsed
18060
18061 \begin_layout Plain Layout
18062 Table Customization ! Line Thickness
18063 \end_layout
18064
18065 \end_inset
18066
18067
18068 \end_layout
18069
18070 \begin_layout Standard
18071 The line thickness for all lines in a table can be adjusted with the length
18072  
18073 \series bold
18074
18075 \backslash
18076 arrayrulewidth
18077 \series default
18078 .
18079  To set for example a line thickness of 1.5
18080 \begin_inset space \thinspace{}
18081 \end_inset
18082
18083 pt, like in Table
18084 \begin_inset space ~
18085 \end_inset
18086
18087
18088 \begin_inset CommandInset ref
18089 LatexCommand ref
18090 reference "tab:Table-with-1.5"
18091
18092 \end_inset
18093
18094 , insert the command
18095 \end_layout
18096
18097 \begin_layout Standard
18098
18099 \series bold
18100
18101 \backslash
18102 setlength{
18103 \backslash
18104 arrayrulewidth}{1.5pt}
18105 \end_layout
18106
18107 \begin_layout Standard
18108 in TeX-Code before the table or table float.
18109  The changed thickness is valid for all following tables.
18110  To use the default value again, set 
18111 \series bold
18112
18113 \backslash
18114 arrayrulewidth
18115 \series default
18116  to 0.4
18117 \begin_inset space \thinspace{}
18118 \end_inset
18119
18120 pt in TeX-Code behind the table or table float.
18121 \end_layout
18122
18123 \begin_layout Standard
18124 \begin_inset ERT
18125 status collapsed
18126
18127 \begin_layout Plain Layout
18128
18129
18130 \backslash
18131 setlength{
18132 \backslash
18133 arrayrulewidth}{1.5pt}
18134 \end_layout
18135
18136 \end_inset
18137
18138
18139 \begin_inset Float table
18140 wide false
18141 sideways false
18142 status open
18143
18144 \begin_layout Plain Layout
18145 \begin_inset Caption
18146
18147 \begin_layout Plain Layout
18148 \begin_inset CommandInset label
18149 LatexCommand label
18150 name "tab:Table-with-1.5"
18151
18152 \end_inset
18153
18154 Table with 1.5
18155 \begin_inset space \thinspace{}
18156 \end_inset
18157
18158 pt thick lines
18159 \end_layout
18160
18161 \end_inset
18162
18163
18164 \end_layout
18165
18166 \begin_layout Plain Layout
18167 \align center
18168 \begin_inset Tabular
18169 <lyxtabular version="3" rows="3" columns="3">
18170 <features>
18171 <column alignment="center" valignment="top" width="0">
18172 <column alignment="center" valignment="top" width="0">
18173 <column alignment="center" valignment="top" width="0">
18174 <row>
18175 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18176 \begin_inset Text
18177
18178 \begin_layout Plain Layout
18179 sd
18180 \end_layout
18181
18182 \end_inset
18183 </cell>
18184 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18185 \begin_inset Text
18186
18187 \begin_layout Plain Layout
18188
18189 \end_layout
18190
18191 \end_inset
18192 </cell>
18193 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18194 \begin_inset Text
18195
18196 \begin_layout Plain Layout
18197
18198 \end_layout
18199
18200 \end_inset
18201 </cell>
18202 </row>
18203 <row>
18204 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18205 \begin_inset Text
18206
18207 \begin_layout Plain Layout
18208
18209 \end_layout
18210
18211 \end_inset
18212 </cell>
18213 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18214 \begin_inset Text
18215
18216 \begin_layout Plain Layout
18217 sd
18218 \end_layout
18219
18220 \end_inset
18221 </cell>
18222 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18223 \begin_inset Text
18224
18225 \begin_layout Plain Layout
18226
18227 \end_layout
18228
18229 \end_inset
18230 </cell>
18231 </row>
18232 <row>
18233 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18234 \begin_inset Text
18235
18236 \begin_layout Plain Layout
18237
18238 \end_layout
18239
18240 \end_inset
18241 </cell>
18242 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18243 \begin_inset Text
18244
18245 \begin_layout Plain Layout
18246
18247 \end_layout
18248
18249 \end_inset
18250 </cell>
18251 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18252 \begin_inset Text
18253
18254 \begin_layout Plain Layout
18255 sd
18256 \end_layout
18257
18258 \end_inset
18259 </cell>
18260 </row>
18261 </lyxtabular>
18262
18263 \end_inset
18264
18265
18266 \end_layout
18267
18268 \end_inset
18269
18270
18271 \begin_inset ERT
18272 status collapsed
18273
18274 \begin_layout Plain Layout
18275
18276
18277 \backslash
18278 setlength{
18279 \backslash
18280 arrayrulewidth}{0.4pt}
18281 \end_layout
18282
18283 \end_inset
18284
18285
18286 \end_layout
18287
18288 \begin_layout Standard
18289 \begin_inset VSpace bigskip
18290 \end_inset
18291
18292 To set the line thickness to 1.5
18293 \begin_inset space \thinspace{}
18294 \end_inset
18295
18296 pt only for horizontal lines, like in Table
18297 \begin_inset space ~
18298 \end_inset
18299
18300
18301 \begin_inset CommandInset ref
18302 LatexCommand ref
18303 reference "tab:Table-with-horizontal"
18304
18305 \end_inset
18306
18307 , insert these commands in TeX-Code before the table or table float:
18308 \end_layout
18309
18310 \begin_layout Standard
18311
18312 \series bold
18313
18314 \backslash
18315 let
18316 \backslash
18317 myHline
18318 \backslash
18319 hline
18320 \begin_inset Newline newline
18321 \end_inset
18322
18323
18324 \backslash
18325 renewcommand{
18326 \backslash
18327 hline}
18328 \begin_inset Newline newline
18329 \end_inset
18330
18331  {
18332 \backslash
18333 noalign{
18334 \backslash
18335 global
18336 \backslash
18337 arrayrulewidth 1.5pt}
18338 \begin_inset Newline newline
18339 \end_inset
18340
18341  
18342 \backslash
18343 myHline
18344 \backslash
18345 noalign{
18346 \backslash
18347 global
18348 \backslash
18349 arrayrulewidth 0.4pt}}
18350 \end_layout
18351
18352 \begin_layout Standard
18353 To return to the default line thickness, insert this command in TeX-Code
18354  behind the table or table float:
18355 \end_layout
18356
18357 \begin_layout Standard
18358
18359 \series bold
18360
18361 \backslash
18362 renewcommand{
18363 \backslash
18364 hline}{
18365 \backslash
18366 myHline}
18367 \end_layout
18368
18369 \begin_layout Standard
18370 \begin_inset ERT
18371 status collapsed
18372
18373 \begin_layout Plain Layout
18374
18375
18376 \backslash
18377 let
18378 \backslash
18379 myHline
18380 \backslash
18381 hline
18382 \end_layout
18383
18384 \begin_layout Plain Layout
18385
18386
18387 \backslash
18388 renewcommand{
18389 \backslash
18390 hline}
18391 \end_layout
18392
18393 \begin_layout Plain Layout
18394
18395  {
18396 \backslash
18397 noalign{
18398 \backslash
18399 global
18400 \backslash
18401 arrayrulewidth 1.5pt}
18402 \end_layout
18403
18404 \begin_layout Plain Layout
18405
18406   
18407 \backslash
18408 myHline
18409 \backslash
18410 noalign{
18411 \backslash
18412 global
18413 \backslash
18414 arrayrulewidth 0.4pt}}
18415 \end_layout
18416
18417 \end_inset
18418
18419
18420 \begin_inset Float table
18421 wide false
18422 sideways false
18423 status open
18424
18425 \begin_layout Plain Layout
18426 \begin_inset Caption
18427
18428 \begin_layout Plain Layout
18429 \begin_inset CommandInset label
18430 LatexCommand label
18431 name "tab:Table-with-horizontal"
18432
18433 \end_inset
18434
18435 Table with 1.5
18436 \begin_inset space \thinspace{}
18437 \end_inset
18438
18439 pt thick horizontal lines
18440 \end_layout
18441
18442 \end_inset
18443
18444
18445 \end_layout
18446
18447 \begin_layout Plain Layout
18448 \align center
18449 \begin_inset Tabular
18450 <lyxtabular version="3" rows="3" columns="3">
18451 <features>
18452 <column alignment="center" valignment="top" width="0">
18453 <column alignment="center" valignment="top" width="0">
18454 <column alignment="center" valignment="top" width="0">
18455 <row>
18456 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18457 \begin_inset Text
18458
18459 \begin_layout Plain Layout
18460 sd
18461 \end_layout
18462
18463 \end_inset
18464 </cell>
18465 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18466 \begin_inset Text
18467
18468 \begin_layout Plain Layout
18469
18470 \end_layout
18471
18472 \end_inset
18473 </cell>
18474 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18475 \begin_inset Text
18476
18477 \begin_layout Plain Layout
18478
18479 \end_layout
18480
18481 \end_inset
18482 </cell>
18483 </row>
18484 <row>
18485 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18486 \begin_inset Text
18487
18488 \begin_layout Plain Layout
18489
18490 \end_layout
18491
18492 \end_inset
18493 </cell>
18494 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18495 \begin_inset Text
18496
18497 \begin_layout Plain Layout
18498 sd
18499 \end_layout
18500
18501 \end_inset
18502 </cell>
18503 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18504 \begin_inset Text
18505
18506 \begin_layout Plain Layout
18507
18508 \end_layout
18509
18510 \end_inset
18511 </cell>
18512 </row>
18513 <row>
18514 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18515 \begin_inset Text
18516
18517 \begin_layout Plain Layout
18518
18519 \end_layout
18520
18521 \end_inset
18522 </cell>
18523 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18524 \begin_inset Text
18525
18526 \begin_layout Plain Layout
18527
18528 \end_layout
18529
18530 \end_inset
18531 </cell>
18532 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18533 \begin_inset Text
18534
18535 \begin_layout Plain Layout
18536 sd
18537 \end_layout
18538
18539 \end_inset
18540 </cell>
18541 </row>
18542 </lyxtabular>
18543
18544 \end_inset
18545
18546
18547 \end_layout
18548
18549 \end_inset
18550
18551
18552 \begin_inset ERT
18553 status collapsed
18554
18555 \begin_layout Plain Layout
18556
18557
18558 \backslash
18559 renewcommand{
18560 \backslash
18561 hline}{
18562 \backslash
18563 myHline}
18564 \end_layout
18565
18566 \end_inset
18567
18568
18569 \end_layout
18570
18571 \begin_layout Standard
18572 \begin_inset VSpace bigskip
18573 \end_inset
18574
18575 To set the line thickness to 1.5
18576 \begin_inset space \thinspace{}
18577 \end_inset
18578
18579 pt only for vertical lines, create the following column format in the document
18580  preamble, according to the description in section
18581 \begin_inset space ~
18582 \end_inset
18583
18584
18585 \begin_inset CommandInset ref
18586 LatexCommand ref
18587 reference "sub:Customized-Format"
18588
18589 \end_inset
18590
18591 :
18592 \end_layout
18593
18594 \begin_layout Standard
18595
18596 \series bold
18597
18598 \backslash
18599 newcolumntype{V}{!{
18600 \backslash
18601 vrule width 1.5pt}}
18602 \end_layout
18603
18604 \begin_layout Standard
18605 For Table
18606 \begin_inset space ~
18607 \end_inset
18608
18609
18610 \begin_inset CommandInset ref
18611 LatexCommand ref
18612 reference "tab:Table-with-vertical"
18613
18614 \end_inset
18615
18616  the LaTeX-argument
18617 \end_layout
18618
18619 \begin_layout Standard
18620
18621 \series bold
18622 VcV
18623 \end_layout
18624
18625 \begin_layout Standard
18626 was used for the last column and
18627 \end_layout
18628
18629 \begin_layout Standard
18630
18631 \series bold
18632 Vc
18633 \end_layout
18634
18635 \begin_layout Standard
18636 for the other columns.
18637 \end_layout
18638
18639 \begin_layout Standard
18640 \begin_inset Float table
18641 wide false
18642 sideways false
18643 status open
18644
18645 \begin_layout Plain Layout
18646 \begin_inset Caption
18647
18648 \begin_layout Plain Layout
18649 \begin_inset CommandInset label
18650 LatexCommand label
18651 name "tab:Table-with-vertical"
18652
18653 \end_inset
18654
18655 Table with 1.5
18656 \begin_inset space \thinspace{}
18657 \end_inset
18658
18659 pt thick vertical lines
18660 \end_layout
18661
18662 \end_inset
18663
18664
18665 \end_layout
18666
18667 \begin_layout Plain Layout
18668 \align center
18669 \begin_inset Tabular
18670 <lyxtabular version="3" rows="3" columns="3">
18671 <features>
18672 <column alignment="center" valignment="top" width="0" special="Vc">
18673 <column alignment="center" valignment="top" width="0" special="Vc">
18674 <column alignment="center" valignment="top" width="0" special="VcV">
18675 <row>
18676 <cell alignment="center" valignment="top" topline="true" usebox="none">
18677 \begin_inset Text
18678
18679 \begin_layout Plain Layout
18680 sd
18681 \end_layout
18682
18683 \end_inset
18684 </cell>
18685 <cell alignment="center" valignment="top" topline="true" usebox="none">
18686 \begin_inset Text
18687
18688 \begin_layout Plain Layout
18689
18690 \end_layout
18691
18692 \end_inset
18693 </cell>
18694 <cell alignment="center" valignment="top" topline="true" usebox="none">
18695 \begin_inset Text
18696
18697 \begin_layout Plain Layout
18698
18699 \end_layout
18700
18701 \end_inset
18702 </cell>
18703 </row>
18704 <row>
18705 <cell alignment="center" valignment="top" topline="true" usebox="none">
18706 \begin_inset Text
18707
18708 \begin_layout Plain Layout
18709
18710 \end_layout
18711
18712 \end_inset
18713 </cell>
18714 <cell alignment="center" valignment="top" topline="true" usebox="none">
18715 \begin_inset Text
18716
18717 \begin_layout Plain Layout
18718 sd
18719 \end_layout
18720
18721 \end_inset
18722 </cell>
18723 <cell alignment="center" valignment="top" topline="true" usebox="none">
18724 \begin_inset Text
18725
18726 \begin_layout Plain Layout
18727
18728 \end_layout
18729
18730 \end_inset
18731 </cell>
18732 </row>
18733 <row>
18734 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18735 \begin_inset Text
18736
18737 \begin_layout Plain Layout
18738
18739 \end_layout
18740
18741 \end_inset
18742 </cell>
18743 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18744 \begin_inset Text
18745
18746 \begin_layout Plain Layout
18747
18748 \end_layout
18749
18750 \end_inset
18751 </cell>
18752 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18753 \begin_inset Text
18754
18755 \begin_layout Plain Layout
18756 sd
18757 \end_layout
18758
18759 \end_inset
18760 </cell>
18761 </row>
18762 </lyxtabular>
18763
18764 \end_inset
18765
18766
18767 \end_layout
18768
18769 \end_inset
18770
18771
18772 \end_layout
18773
18774 \begin_layout Subsection
18775 Dashed Lines
18776 \begin_inset Index
18777 status collapsed
18778
18779 \begin_layout Plain Layout
18780 Table Customization ! Dashed Lines
18781 \end_layout
18782
18783 \end_inset
18784
18785
18786 \end_layout
18787
18788 \begin_layout Standard
18789 \begin_inset ERT
18790 status collapsed
18791
18792 \begin_layout Plain Layout
18793
18794
18795 \backslash
18796 ifarydshln
18797 \end_layout
18798
18799 \end_inset
18800
18801
18802 \begin_inset Note Note
18803 status open
18804
18805 \begin_layout Plain Layout
18806 The following section will only be displayed when the LaTeX-package 
18807 \series bold
18808 arydshln
18809 \series default
18810  is installed.
18811 \end_layout
18812
18813 \end_inset
18814
18815
18816 \end_layout
18817
18818 \begin_layout Standard
18819 \begin_inset Float table
18820 placement H
18821 wide false
18822 sideways false
18823 status open
18824
18825 \begin_layout Plain Layout
18826 \begin_inset Caption
18827
18828 \begin_layout Plain Layout
18829 \begin_inset CommandInset label
18830 LatexCommand label
18831 name "tab:Table-with-dashed"
18832
18833 \end_inset
18834
18835 Table with dashed lines
18836 \end_layout
18837
18838 \end_inset
18839
18840
18841 \end_layout
18842
18843 \begin_layout Plain Layout
18844 \align center
18845 \begin_inset Tabular
18846 <lyxtabular version="3" rows="5" columns="5">
18847 <features>
18848 <column alignment="center" valignment="top" width="0">
18849 <column alignment="center" valignment="top" width="0">
18850 <column alignment="center" valignment="top" width="0" special=":c">
18851 <column alignment="center" valignment="top" width="0">
18852 <column alignment="center" valignment="top" width="0">
18853 <row>
18854 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18855 \begin_inset Text
18856
18857 \begin_layout Plain Layout
18858 a
18859 \end_layout
18860
18861 \end_inset
18862 </cell>
18863 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18864 \begin_inset Text
18865
18866 \begin_layout Plain Layout
18867 b
18868 \end_layout
18869
18870 \end_inset
18871 </cell>
18872 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18873 \begin_inset Text
18874
18875 \begin_layout Plain Layout
18876 c
18877 \end_layout
18878
18879 \end_inset
18880 </cell>
18881 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18882 \begin_inset Text
18883
18884 \begin_layout Plain Layout
18885 d
18886 \end_layout
18887
18888 \end_inset
18889 </cell>
18890 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18891 \begin_inset Text
18892
18893 \begin_layout Plain Layout
18894 e
18895 \end_layout
18896
18897 \end_inset
18898 </cell>
18899 </row>
18900 <row>
18901 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18902 \begin_inset Text
18903
18904 \begin_layout Plain Layout
18905 f
18906 \end_layout
18907
18908 \end_inset
18909 </cell>
18910 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18911 \begin_inset Text
18912
18913 \begin_layout Plain Layout
18914 g
18915 \end_layout
18916
18917 \end_inset
18918 </cell>
18919 <cell alignment="center" valignment="top" topline="true" usebox="none">
18920 \begin_inset Text
18921
18922 \begin_layout Plain Layout
18923 h
18924 \end_layout
18925
18926 \end_inset
18927 </cell>
18928 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18929 \begin_inset Text
18930
18931 \begin_layout Plain Layout
18932 i
18933 \end_layout
18934
18935 \end_inset
18936 </cell>
18937 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18938 \begin_inset Text
18939
18940 \begin_layout Plain Layout
18941 j
18942 \end_layout
18943
18944 \end_inset
18945 </cell>
18946 </row>
18947 <row>
18948 <cell alignment="center" valignment="top" leftline="true" usebox="none">
18949 \begin_inset Text
18950
18951 \begin_layout Plain Layout
18952 \begin_inset ERT
18953 status collapsed
18954
18955 \begin_layout Plain Layout
18956
18957
18958 \backslash
18959 hdashline 
18960 \end_layout
18961
18962 \end_inset
18963
18964 k
18965 \end_layout
18966
18967 \end_inset
18968 </cell>
18969 <cell alignment="center" valignment="top" leftline="true" usebox="none">
18970 \begin_inset Text
18971
18972 \begin_layout Plain Layout
18973 l
18974 \end_layout
18975
18976 \end_inset
18977 </cell>
18978 <cell alignment="center" valignment="top" usebox="none">
18979 \begin_inset Text
18980
18981 \begin_layout Plain Layout
18982 m
18983 \end_layout
18984
18985 \end_inset
18986 </cell>
18987 <cell alignment="center" valignment="top" leftline="true" usebox="none">
18988 \begin_inset Text
18989
18990 \begin_layout Plain Layout
18991 n
18992 \end_layout
18993
18994 \end_inset
18995 </cell>
18996 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
18997 \begin_inset Text
18998
18999 \begin_layout Plain Layout
19000 o
19001 \end_layout
19002
19003 \end_inset
19004 </cell>
19005 </row>
19006 <row>
19007 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19008 \begin_inset Text
19009
19010 \begin_layout Plain Layout
19011 \begin_inset ERT
19012 status collapsed
19013
19014 \begin_layout Plain Layout
19015
19016
19017 \backslash
19018 cdashline{4-5}
19019 \end_layout
19020
19021 \end_inset
19022
19023 p
19024 \end_layout
19025
19026 \end_inset
19027 </cell>
19028 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19029 \begin_inset Text
19030
19031 \begin_layout Plain Layout
19032 q
19033 \end_layout
19034
19035 \end_inset
19036 </cell>
19037 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
19038 \begin_inset Text
19039
19040 \begin_layout Plain Layout
19041 r
19042 \end_layout
19043
19044 \end_inset
19045 </cell>
19046 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none" special="c:">
19047 \begin_inset Text
19048
19049 \begin_layout Plain Layout
19050 s
19051 \end_layout
19052
19053 \end_inset
19054 </cell>
19055 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19056 \begin_inset Text
19057
19058 \begin_layout Plain Layout
19059
19060 \end_layout
19061
19062 \end_inset
19063 </cell>
19064 </row>
19065 <row>
19066 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19067 \begin_inset Text
19068
19069 \begin_layout Plain Layout
19070 t
19071 \end_layout
19072
19073 \end_inset
19074 </cell>
19075 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19076 \begin_inset Text
19077
19078 \begin_layout Plain Layout
19079 u
19080 \end_layout
19081
19082 \end_inset
19083 </cell>
19084 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19085 \begin_inset Text
19086
19087 \begin_layout Plain Layout
19088 v
19089 \end_layout
19090
19091 \end_inset
19092 </cell>
19093 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19094 \begin_inset Text
19095
19096 \begin_layout Plain Layout
19097 w
19098 \end_layout
19099
19100 \end_inset
19101 </cell>
19102 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19103 \begin_inset Text
19104
19105 \begin_layout Plain Layout
19106 x
19107 \end_layout
19108
19109 \end_inset
19110 </cell>
19111 </row>
19112 </lyxtabular>
19113
19114 \end_inset
19115
19116
19117 \end_layout
19118
19119 \end_inset
19120
19121
19122 \end_layout
19123
19124 \begin_layout Standard
19125 LyX doesn't natively support dashed lines, so you have to use TeX-Code.
19126  As prerequisite the LaTeX-package 
19127 \series bold
19128 arydshln
19129 \series default
19130
19131 \begin_inset Index
19132 status collapsed
19133
19134 \begin_layout Plain Layout
19135 LaTeX-packages ! arydshln
19136 \end_layout
19137
19138 \end_inset
19139
19140  must be loaded in the document preamble with the command
19141 \end_layout
19142
19143 \begin_layout Standard
19144
19145 \series bold
19146
19147 \backslash
19148 usepackage{arydshln}
19149 \end_layout
19150
19151 \begin_layout Standard
19152 To make a vertical line dashed, enter the colon 
19153 \begin_inset Quotes eld
19154 \end_inset
19155
19156 :
19157 \begin_inset Quotes erd
19158 \end_inset
19159
19160  together with the character for the horizontal alignment as LaTeX-argument
19161  in the table cell dialog.
19162 \end_layout
19163
19164 \begin_layout Standard
19165 For a horizontal dashed line add the command
19166 \end_layout
19167
19168 \begin_layout Standard
19169
19170 \series bold
19171
19172 \backslash
19173 hdashline
19174 \end_layout
19175
19176 \begin_layout Standard
19177 in TeX-Code as first element of the first cell in the table row.
19178 \end_layout
19179
19180 \begin_layout Standard
19181 For dashed multicolumn lines use the command
19182 \end_layout
19183
19184 \begin_layout Standard
19185
19186 \series bold
19187
19188 \backslash
19189 cdashline{line number
19190 \series default
19191 }
19192 \end_layout
19193
19194 \begin_layout Standard
19195 in TeX-Code as first element of the first cell in the table row.
19196  If you have for example a multicolumn spanning over columns 2 to 4 and
19197  you want to have a dashed line above, add the command
19198 \end_layout
19199
19200 \begin_layout Standard
19201
19202 \series bold
19203
19204 \backslash
19205 cdashline{2-4}
19206 \end_layout
19207
19208 \begin_layout Standard
19209 as first element of the first cell in the row of the multicolumn.
19210 \end_layout
19211
19212 \begin_layout Standard
19213 \begin_inset VSpace bigskip
19214 \end_inset
19215
19216
19217 \end_layout
19218
19219 \begin_layout Standard
19220 Table
19221 \begin_inset space ~
19222 \end_inset
19223
19224
19225 \begin_inset CommandInset ref
19226 LatexCommand ref
19227 reference "tab:Table-with-dashed"
19228
19229 \end_inset
19230
19231  was created using 
19232 \begin_inset Quotes eld
19233 \end_inset
19234
19235
19236 \series bold
19237 :c
19238 \series default
19239
19240 \begin_inset Quotes erd
19241 \end_inset
19242
19243  as LaTeX-argument of the third column.
19244  The TeX-Code command 
19245 \series bold
19246
19247 \backslash
19248 hdashline
19249 \series default
19250  was inserted to the first cell of the third row and the the TeX-Code command
19251 \begin_inset Newline newline
19252 \end_inset
19253
19254  
19255 \series bold
19256
19257 \backslash
19258 cdashline{4-5}
19259 \series default
19260  was inserted to the first cell of the fourth row.
19261 \end_layout
19262
19263 \begin_layout Standard
19264 \begin_inset Note Greyedout
19265 status open
19266
19267 \begin_layout Plain Layout
19268
19269 \series bold
19270 Note:
19271 \series default
19272  The used LaTeX-package 
19273 \series bold
19274 arydshln
19275 \series default
19276  is apparently not compatible with the LaTeX-package 
19277 \series bold
19278 colortbl
19279 \series default
19280
19281 \begin_inset Index
19282 status collapsed
19283
19284 \begin_layout Plain Layout
19285 LaTeX-packages ! colortbl
19286 \end_layout
19287
19288 \end_inset
19289
19290  that is used for colored tables in section
19291 \begin_inset space ~
19292 \end_inset
19293
19294
19295 \begin_inset CommandInset ref
19296 LatexCommand ref
19297 reference "sec:Colored-Tables"
19298
19299 \end_inset
19300
19301 .
19302  That means colored tables cannot have dashed lines.
19303 \end_layout
19304
19305 \end_inset
19306
19307
19308 \end_layout
19309
19310 \begin_layout Standard
19311 \begin_inset ERT
19312 status collapsed
19313
19314 \begin_layout Plain Layout
19315
19316
19317 \backslash
19318 else
19319 \end_layout
19320
19321 \end_inset
19322
19323
19324 \begin_inset Note Note
19325 status open
19326
19327 \begin_layout Plain Layout
19328 The following will be displayed when the LaTeX-package 
19329 \series bold
19330 arydshln
19331 \series default
19332  is not installed:
19333 \end_layout
19334
19335 \end_inset
19336
19337
19338 \end_layout
19339
19340 \begin_layout Standard
19341 You need to install the package 
19342 \series bold
19343 arydshln
19344 \series default
19345  to see the content of this section in the output.
19346 \end_layout
19347
19348 \begin_layout Standard
19349 \begin_inset ERT
19350 status collapsed
19351
19352 \begin_layout Plain Layout
19353
19354
19355 \backslash
19356 fi
19357 \end_layout
19358
19359 \end_inset
19360
19361
19362 \end_layout
19363
19364 \begin_layout Chapter
19365 Floats
19366 \begin_inset Index
19367 status collapsed
19368
19369 \begin_layout Plain Layout
19370 Floats
19371 \end_layout
19372
19373 \end_inset
19374
19375
19376 \end_layout
19377
19378 \begin_layout Section
19379 Introduction
19380 \begin_inset CommandInset label
19381 LatexCommand label
19382 name "sec:FloatIntroduction"
19383
19384 \end_inset
19385
19386
19387 \begin_inset Index
19388 status collapsed
19389
19390 \begin_layout Plain Layout
19391 Floats ! Introduction
19392 \end_layout
19393
19394 \end_inset
19395
19396
19397 \end_layout
19398
19399 \begin_layout Standard
19400 A float is a block of text associated with some sort of label, which doesn't
19401  have a fixed location.
19402  It can 
19403 \begin_inset Quotes eld
19404 \end_inset
19405
19406 float
19407 \begin_inset Quotes erd
19408 \end_inset
19409
19410  forward or backward a page or two, to wherever it fits best.
19411  
19412 \family sans
19413 Footnotes
19414 \family default
19415  and 
19416 \family sans
19417 Margin
19418 \begin_inset space ~
19419 \end_inset
19420
19421 Notes
19422 \family default
19423  are also floats, because they can float to the next page when there are
19424  too many notes at the page.
19425 \end_layout
19426
19427 \begin_layout Standard
19428 Floats allow a high quality layout.
19429  Images and tables can evenly be spread to the pages to avoid white space
19430  and pages without text.
19431  As the floating often destroys the context between the text and the image/table
19432 , every float can be referenced in the text.
19433  Floats are therefore numbered.
19434  Referencing is described in section
19435 \begin_inset space ~
19436 \end_inset
19437
19438
19439 \begin_inset CommandInset ref
19440 LatexCommand ref
19441 reference "sec:Referencing-Floats"
19442
19443 \end_inset
19444
19445 .
19446 \end_layout
19447
19448 \begin_layout Standard
19449 To insert a float, use the menu 
19450 \family sans
19451 Insert\SpecialChar \menuseparator
19452 Float
19453 \family default
19454 .
19455  This inserts the 
19456 \family sans
19457 Caption
19458 \family default
19459  inset, a box with a label.
19460  The label will automatically be translated to the document language in
19461  the output.
19462  Behind the label you can insert the caption text.
19463  The image or table is inserted above or below the caption in a separate
19464  paragraph within the float.
19465  More about the caption placement is described in section
19466 \begin_inset space ~
19467 \end_inset
19468
19469
19470 \begin_inset CommandInset ref
19471 LatexCommand ref
19472 reference "sec:Caption-Placement"
19473
19474 \end_inset
19475
19476 .
19477  To keep your LyX-document readable, you can open and close the float box
19478  by left-clicking on the box label.
19479  A closed float box looks like this: 
19480 \begin_inset Graphics
19481         filename clipart/floatQt4.png
19482         scale 70
19483         scaleBeforeRotation
19484
19485 \end_inset
19486
19487  – a gray button with a red label.
19488 \end_layout
19489
19490 \begin_layout Standard
19491 It is recommended to insert floats as a separate paragraph to avoid possible
19492  LaTeX-errors that can occur when the surrounding text is specially formatted.
19493 \end_layout
19494
19495 \begin_layout Standard
19496 Existing figures or tables can be put into a float by marking them and then
19497  pressing the corresponding toolbar button for a new float.
19498 \end_layout
19499
19500 \begin_layout Section
19501 Float Types
19502 \end_layout
19503
19504 \begin_layout Standard
19505 Besides figure and table floats that are described in section
19506 \begin_inset space ~
19507 \end_inset
19508
19509
19510 \begin_inset CommandInset ref
19511 LatexCommand ref
19512 reference "sec:Figure-Floats"
19513
19514 \end_inset
19515
19516  and 
19517 \begin_inset CommandInset ref
19518 LatexCommand ref
19519 reference "sec:Table-Floats"
19520
19521 \end_inset
19522
19523 , respectively, LyX offers the float types 
19524 \series bold
19525 Algorithm
19526 \series default
19527  and 
19528 \series bold
19529 Wrap
19530 \series default
19531 .
19532 \end_layout
19533
19534 \begin_layout Subsection
19535 Algorithm Floats
19536 \begin_inset Index
19537 status collapsed
19538
19539 \begin_layout Plain Layout
19540 Floats ! Algorithms
19541 \end_layout
19542
19543 \end_inset
19544
19545
19546 \end_layout
19547
19548 \begin_layout Standard
19549 \begin_inset Float algorithm
19550 placement h
19551 wide false
19552 sideways false
19553 status open
19554
19555 \begin_layout Plain Layout
19556 \begin_inset Caption
19557
19558 \begin_layout Plain Layout
19559 \begin_inset CommandInset label
19560 LatexCommand label
19561 name "alg:Example-Algorithm-float"
19562
19563 \end_inset
19564
19565 Example Algorithm float
19566 \end_layout
19567
19568 \end_inset
19569
19570
19571 \end_layout
19572
19573 \begin_layout LyX-Code
19574 for I in 1..N loop
19575 \begin_inset Newline newline
19576 \end_inset
19577
19578  Sum:= Sum + A(I); /*comment*/
19579 \begin_inset Newline newline
19580 \end_inset
19581
19582 end loop
19583 \begin_inset VSpace -4mm
19584 \end_inset
19585
19586
19587 \end_layout
19588
19589 \end_inset
19590
19591
19592 \end_layout
19593
19594 \begin_layout Standard
19595 This float type is inserted with the menu 
19596 \family sans
19597 Insert\SpecialChar \menuseparator
19598 Floats\SpecialChar \menuseparator
19599 Algorithm
19600 \family default
19601 .
19602  It is used for program codes and descriptions of algorithms.
19603  A possible environment for algorithms is the 
19604 \family sans
19605 LyX-Code
19606 \family default
19607 , described in LyX's 
19608 \emph on
19609 Userguide
19610 \emph default
19611 .
19612  Algorithm
19613 \begin_inset space ~
19614 \end_inset
19615
19616
19617 \begin_inset CommandInset ref
19618 LatexCommand ref
19619 reference "alg:Example-Algorithm-float"
19620
19621 \end_inset
19622
19623  is an example of an algorithm float where -4
19624 \begin_inset space \thinspace{}
19625 \end_inset
19626
19627 mm vertical space was added at the end of the float to have the bottom rule
19628  exactly below the last text line.
19629 \end_layout
19630
19631 \begin_layout Standard
19632 The float label is not automatically translated into the document language.
19633  If your document is not in English, you have to do this manually by adding
19634  the following line to the document preamble
19635 \series bold
19636 :
19637 \end_layout
19638
19639 \begin_layout Standard
19640
19641 \series bold
19642
19643 \backslash
19644 floatname{algorithm}{your
19645 \begin_inset space ~
19646 \end_inset
19647
19648 name}
19649 \end_layout
19650
19651 \begin_layout Standard
19652 where 
19653 \family sans
19654 your
19655 \begin_inset space ~
19656 \end_inset
19657
19658 name
19659 \family default
19660  is the word 
19661 \begin_inset Quotes eld
19662 \end_inset
19663
19664
19665 \emph on
19666 algorithm
19667 \emph default
19668
19669 \begin_inset Quotes erd
19670 \end_inset
19671
19672  in your language.
19673 \end_layout
19674
19675 \begin_layout Standard
19676 To insert the list of algorithms you can not use the menu 
19677 \family sans
19678 Insert\SpecialChar \menuseparator
19679 List
19680 \begin_inset space \thinspace{}
19681 \end_inset
19682
19683 /
19684 \begin_inset space \thinspace{}
19685 \end_inset
19686
19687 TOC\SpecialChar \menuseparator
19688 List of Algorithms
19689 \family default
19690  when your document is a non-English one.
19691  In this case use this command in TeX-Code instead:
19692 \end_layout
19693
19694 \begin_layout Standard
19695
19696 \series bold
19697
19698 \backslash
19699 listof{algorithm}{your
19700 \begin_inset space ~
19701 \end_inset
19702
19703 name}
19704 \end_layout
19705
19706 \begin_layout Standard
19707 where 
19708 \family sans
19709 your
19710 \begin_inset space ~
19711 \end_inset
19712
19713 name
19714 \family default
19715  is the word 
19716 \begin_inset Quotes eld
19717 \end_inset
19718
19719
19720 \emph on
19721 List of Algorithm
19722 \emph default
19723 s
19724 \begin_inset Quotes erd
19725 \end_inset
19726
19727  in your language.
19728 \end_layout
19729
19730 \begin_layout Standard
19731 Algorithm floats are not by default numbered in the scheme 
19732 \begin_inset Quotes eld
19733 \end_inset
19734
19735 chapter.algorithm
19736 \begin_inset Quotes erd
19737 \end_inset
19738
19739  like it is the case for table and figure floats in many document-classes.
19740  To number algorithm floats in the same scheme, add this command to your
19741  document preamble:
19742 \end_layout
19743
19744 \begin_layout Standard
19745
19746 \series bold
19747
19748 \backslash
19749 numberwithin{algorithm}{chapter}
19750 \end_layout
19751
19752 \begin_layout Standard
19753 To be able to use the command 
19754 \series bold
19755
19756 \backslash
19757 numberwithin
19758 \series default
19759 , set in the tab 
19760 \family sans
19761 Math
19762 \begin_inset space ~
19763 \end_inset
19764
19765 Options
19766 \family default
19767  in the document settings the option 
19768 \family sans
19769 Use
19770 \begin_inset space ~
19771 \end_inset
19772
19773 AMS
19774 \begin_inset space ~
19775 \end_inset
19776
19777 math
19778 \begin_inset space ~
19779 \end_inset
19780
19781 package
19782 \family default
19783 .
19784 \end_layout
19785
19786 \begin_layout Subsection
19787 Wrap Floats
19788 \begin_inset Index
19789 status collapsed
19790
19791 \begin_layout Plain Layout
19792 Floats ! Wrap Floats
19793 \end_layout
19794
19795 \end_inset
19796
19797
19798 \end_layout
19799
19800 \begin_layout Standard
19801 \begin_inset Wrap figure
19802 lines 0
19803 placement l
19804 overhang 1cm
19805 width "40col%"
19806 status open
19807
19808 \begin_layout Plain Layout
19809 \begin_inset Graphics
19810         filename clipart/mobius.eps
19811         width 40col%
19812         scaleBeforeRotation
19813         rotateOrigin center
19814
19815 \end_inset
19816
19817
19818 \end_layout
19819
19820 \begin_layout Plain Layout
19821 \begin_inset Caption
19822
19823 \begin_layout Plain Layout
19824 \begin_inset CommandInset label
19825 LatexCommand label
19826 name "fig:This-is-a"
19827
19828 \end_inset
19829
19830 This is a figure wrap float.
19831 \end_layout
19832
19833 \end_inset
19834
19835
19836 \end_layout
19837
19838 \end_inset
19839
19840  This float type is used if you want to wrap text around a figure or table
19841  so that it only occupies some fraction of the column width.
19842  It can be inserted using the menu 
19843 \family sans
19844 Insert\SpecialChar \menuseparator
19845 Floats\SpecialChar \menuseparator
19846 Figure
19847 \begin_inset space ~
19848 \end_inset
19849
19850 Wrap
19851 \begin_inset space ~
19852 \end_inset
19853
19854 Float
19855 \family default
19856  or 
19857 \family sans
19858 Table
19859 \begin_inset space ~
19860 \end_inset
19861
19862 Wrap
19863 \begin_inset space ~
19864 \end_inset
19865
19866 Float
19867 \family default
19868  if the LaTeX-package 
19869 \series bold
19870 wrapfig
19871 \series default
19872
19873 \begin_inset Index
19874 status collapsed
19875
19876 \begin_layout Plain Layout
19877 LaTeX-packages ! wrapfig
19878 \begin_inset ERT
19879 status collapsed
19880
19881 \begin_layout Plain Layout
19882
19883
19884 \backslash
19885 vspace{4mm}
19886 \end_layout
19887
19888 \end_inset
19889
19890
19891 \end_layout
19892
19893 \end_inset
19894
19895  is installed.
19896 \begin_inset Foot
19897 status collapsed
19898
19899 \begin_layout Plain Layout
19900 Installing a LaTeX-package is explained it in the 
19901 \emph on
19902 LaTeX
19903 \begin_inset space ~
19904 \end_inset
19905
19906 Configuration
19907 \emph default
19908  manual.
19909 \end_layout
19910
19911 \end_inset
19912
19913  The settings of the float can be modified by right-clicking on the float
19914  box.
19915  The mandatory settings are the float 
19916 \family sans
19917 Placement
19918 \family default
19919  and its 
19920 \family sans
19921 Width
19922 \family default
19923 .
19924  Optional are the 
19925 \family sans
19926 Overhang
19927 \family default
19928  that specifies how much the float is set into the paragraph
19929 \begin_inset space \thinspace{}
19930 \end_inset
19931
19932 /
19933 \begin_inset space \thinspace{}
19934 \end_inset
19935
19936 page margin, and the 
19937 \family sans
19938 Line
19939 \begin_inset space ~
19940 \end_inset
19941
19942 span
19943 \family default
19944  that specifies how many text lines the float will approximately need.
19945  The line span is often hard to be approximated, so better only use it when
19946  you encounter float placement problems.
19947  You can furthermore decide if LaTeX is allowed to let the float float within
19948  the paragraph or to surrounding paragraphs.
19949  Figure
19950 \begin_inset space ~
19951 \end_inset
19952
19953
19954 \begin_inset CommandInset ref
19955 LatexCommand ref
19956 reference "fig:This-is-a"
19957
19958 \end_inset
19959
19960  is an example text wrap float with a width of 40
19961 \begin_inset space \thinspace{}
19962 \end_inset
19963
19964 col%, 1
19965 \begin_inset space \thinspace{}
19966 \end_inset
19967
19968 cm overhang, set to the left.
19969 \begin_inset Foot
19970 status collapsed
19971
19972 \begin_layout Plain Layout
19973 Available units are explained in appendix
19974 \begin_inset space ~
19975 \end_inset
19976
19977
19978 \begin_inset CommandInset ref
19979 LatexCommand ref
19980 reference "cha:Units-available-in"
19981
19982 \end_inset
19983
19984 .
19985 \end_layout
19986
19987 \end_inset
19988
19989
19990 \end_layout
19991
19992 \begin_layout Standard
19993 \begin_inset Note Greyedout
19994 status open
19995
19996 \begin_layout Plain Layout
19997
19998 \series bold
19999 Note:
20000 \series default
20001  Text
20002 \begin_inset space ~
20003 \end_inset
20004
20005 wrap float floats are fragile! E.
20006 \begin_inset space \thinspace{}
20007 \end_inset
20008
20009 g.
20010 \begin_inset space \space{}
20011 \end_inset
20012
20013 having a figure too close to the bottom of the page can mess things up in
20014  the way that the float doesn't appear in the output or that it is placed
20015  over some other text.
20016 \end_layout
20017
20018 \end_inset
20019
20020
20021 \end_layout
20022
20023 \begin_layout Standard
20024 In general:
20025 \end_layout
20026
20027 \begin_layout Itemize
20028 Wrap floats should not be placed in paragraphs that run over a page break.
20029  That means that wrap floats should better be inserted to the exact place
20030  when the document is nearly finished and you are able to estimate where
20031  page breaks will appear.
20032 \end_layout
20033
20034 \begin_layout Itemize
20035 Wrap floats should either be placed in an own paragraph before the paragraph
20036  where they should wrap into or within a paragraph.
20037 \end_layout
20038
20039 \begin_layout Itemize
20040 Wrap floats in consecutive paragraphs may cause troubles, so assure that
20041  there is a text paragraph between them as separator.
20042 \end_layout
20043
20044 \begin_layout Itemize
20045 Wrap floats are not allowed in section headings or tables.
20046 \end_layout
20047
20048 \begin_layout Section
20049 Float Numbering
20050 \begin_inset Index
20051 status collapsed
20052
20053 \begin_layout Plain Layout
20054 Floats ! Numbering
20055 \end_layout
20056
20057 \end_inset
20058
20059
20060 \end_layout
20061
20062 \begin_layout Standard
20063 Floats are usually numbered either independent from the sections the floats
20064  are in, or in the scheme 
20065 \begin_inset Quotes eld
20066 \end_inset
20067
20068 chapter.number
20069 \begin_inset Quotes erd
20070 \end_inset
20071
20072  or 
20073 \begin_inset Quotes eld
20074 \end_inset
20075
20076 section.number
20077 \begin_inset Quotes erd
20078 \end_inset
20079
20080 .
20081  This depends on the used document class.
20082 \end_layout
20083
20084 \begin_layout Standard
20085 To change the section independent numbering, you can use this command in
20086  the document preamble:
20087 \end_layout
20088
20089 \begin_layout Standard
20090
20091 \series bold
20092
20093 \backslash
20094 renewcommand{
20095 \backslash
20096 thetable}{
20097 \backslash
20098 roman{table}}
20099 \end_layout
20100
20101 \begin_layout Standard
20102
20103 \series bold
20104
20105 \backslash
20106 thetable
20107 \series default
20108  is the command that prints the table number, for figure floats, the command
20109  would be 
20110 \series bold
20111
20112 \backslash
20113 thefigure
20114 \series default
20115 .
20116  The command 
20117 \series bold
20118
20119 \backslash
20120 roman
20121 \series default
20122  prints in the command above the table number as small roman number.
20123 \end_layout
20124
20125 \begin_layout Standard
20126 To change the numbering scheme for example to 
20127 \begin_inset Quotes eld
20128 \end_inset
20129
20130 subsection.number
20131 \begin_inset Quotes erd
20132 \end_inset
20133
20134 , use this command in the preamble:
20135 \end_layout
20136
20137 \begin_layout Standard
20138
20139 \series bold
20140
20141 \backslash
20142 numberwithin{table}{subsection}
20143 \end_layout
20144
20145 \begin_layout Standard
20146 To be able to use the command 
20147 \series bold
20148
20149 \backslash
20150 numberwithin
20151 \series default
20152 , set in the tab 
20153 \family sans
20154 Math
20155 \begin_inset space ~
20156 \end_inset
20157
20158 Options
20159 \family default
20160  in the document settings the option 
20161 \family sans
20162 Use
20163 \begin_inset space ~
20164 \end_inset
20165
20166 AMS
20167 \begin_inset space ~
20168 \end_inset
20169
20170 math
20171 \begin_inset space ~
20172 \end_inset
20173
20174 package
20175 \family default
20176 .
20177 \end_layout
20178
20179 \begin_layout Standard
20180 Please also have a look at section
20181 \begin_inset space ~
20182 \end_inset
20183
20184
20185 \begin_inset CommandInset ref
20186 LatexCommand ref
20187 reference "sub:Footnote-Numbering"
20188
20189 \end_inset
20190
20191  for the details and important notes about the numbering commands.
20192 \end_layout
20193
20194 \begin_layout Section
20195 Referencing Floats
20196 \begin_inset CommandInset label
20197 LatexCommand label
20198 name "sec:Referencing-Floats"
20199
20200 \end_inset
20201
20202
20203 \begin_inset Index
20204 status collapsed
20205
20206 \begin_layout Plain Layout
20207 Floats ! References
20208 \end_layout
20209
20210 \end_inset
20211
20212
20213 \begin_inset Index
20214 status collapsed
20215
20216 \begin_layout Plain Layout
20217 References ! to Floats
20218 \end_layout
20219
20220 \end_inset
20221
20222
20223 \end_layout
20224
20225 \begin_layout Standard
20226 To reference a float, insert a label into its caption using the menu 
20227 \family sans
20228 Insert\SpecialChar \menuseparator
20229 Label
20230 \family default
20231  or the toolbar button 
20232 \begin_inset Graphics
20233         filename ../images/label-insert.png
20234         scale 85
20235         scaleBeforeRotation
20236
20237 \end_inset
20238
20239 .
20240  A grey label box like this one: 
20241 \begin_inset Graphics
20242         filename clipart/labelQt4.png
20243         scale 85
20244         scaleBeforeRotation
20245
20246 \end_inset
20247
20248  will be inserted and the label window pops up asking for the label text.
20249  LyX offers as text the first words of the caption with a prefix.
20250  The prefix depends on the float type, e.
20251 \begin_inset space \thinspace{}
20252 \end_inset
20253
20254 g.
20255 \begin_inset space \space{}
20256 \end_inset
20257
20258 for figure floats the prefix will be "
20259 \family sans
20260 fig:
20261 \family default
20262 ".
20263 \end_layout
20264
20265 \begin_layout Standard
20266 The label is used as anchor and name for the reference.
20267  You can refer to the label using the menu 
20268 \family sans
20269 Insert\SpecialChar \menuseparator
20270 Cross-reference
20271 \family default
20272  or the toolbar button 
20273 \begin_inset Graphics
20274         filename ../images/dialog-show-new-inset_ref.png
20275         scale 85
20276         scaleBeforeRotation
20277
20278 \end_inset
20279
20280 .
20281  A grey cross-reference box like this one: 
20282 \begin_inset Graphics
20283         filename clipart/referenceQt4.png
20284         scale 85
20285         scaleBeforeRotation
20286
20287 \end_inset
20288
20289  will be inserted and the cross-reference window appear showing all labels
20290  of the document.
20291  If you have multiple LyX-documents opened, choose the one you are working
20292  on from the drop-list at the top of the dialog.
20293  You can now sort the labels alphabetically and then choose one.
20294  At the position of the cross-reference box the float number will appear
20295  in the output.
20296 \end_layout
20297
20298 \begin_layout Standard
20299 It is recommended to use a protected space between the cross-reference name
20300  and its number to avoid line breaks between them.
20301  If a cross-reference refers to a non-existing label, you will see two question
20302  marks in the output instead of the reference.
20303 \end_layout
20304
20305 \begin_layout Standard
20306 You can change labels at any time by clicking on the label box.
20307  References to the changed label will automatically change its link to the
20308  new label text, so that you don't need to take care about this.
20309 \end_layout
20310
20311 \begin_layout Standard
20312 The button 
20313 \family sans
20314 Go
20315 \begin_inset space ~
20316 \end_inset
20317
20318 to
20319 \begin_inset space ~
20320 \end_inset
20321
20322 Label
20323 \family default
20324  in the cross-reference window sets the cursor before the referred label.
20325  The button text changes then to Go
20326 \begin_inset space ~
20327 \end_inset
20328
20329 Back and you can use it to set the cursor back to the cross-reference.
20330  Right-clicking on a cross-reference box also sets the cursor before the
20331  referenced label but without a possibility to go back.
20332 \end_layout
20333
20334 \begin_layout Subsection
20335 Cross-Reference Formats
20336 \begin_inset CommandInset label
20337 LatexCommand label
20338 name "sub:Cross-Reference-Formats"
20339
20340 \end_inset
20341
20342
20343 \begin_inset Index
20344 status collapsed
20345
20346 \begin_layout Plain Layout
20347 References ! Formats
20348 \end_layout
20349
20350 \end_inset
20351
20352
20353 \end_layout
20354
20355 \begin_layout Standard
20356 There are six varieties of cross-references:
20357 \end_layout
20358
20359 \begin_layout Description
20360 <reference>: prints the float number, this is the default: 
20361 \begin_inset CommandInset ref
20362 LatexCommand ref
20363 reference "fig:Two-distorted-images"
20364
20365 \end_inset
20366
20367
20368 \end_layout
20369
20370 \begin_layout Description
20371 (<reference>): prints the float number within two parentheses, this is the
20372  style normally used to reference formulas, especially when the reference
20373  name 
20374 \begin_inset Quotes eld
20375 \end_inset
20376
20377 Equation
20378 \begin_inset Quotes erd
20379 \end_inset
20380
20381  is omitted: 
20382 \begin_inset CommandInset ref
20383 LatexCommand eqref
20384 reference "eq:Wgn"
20385
20386 \end_inset
20387
20388
20389 \end_layout
20390
20391 \begin_layout Description
20392 <page>: prints the page number: Page
20393 \begin_inset space ~
20394 \end_inset
20395
20396
20397 \begin_inset CommandInset ref
20398 LatexCommand pageref
20399 reference "fig:Two-distorted-images"
20400
20401 \end_inset
20402
20403
20404 \end_layout
20405
20406 \begin_layout Description
20407 on
20408 \begin_inset space ~
20409 \end_inset
20410
20411 page
20412 \begin_inset space ~
20413 \end_inset
20414
20415 <page>: prints the text "on page" and the page number: 
20416 \begin_inset CommandInset ref
20417 LatexCommand vpageref
20418 reference "fig:Two-distorted-images"
20419
20420 \end_inset
20421
20422
20423 \end_layout
20424
20425 \begin_layout Description
20426 <reference>
20427 \begin_inset space ~
20428 \end_inset
20429
20430 on
20431 \begin_inset space ~
20432 \end_inset
20433
20434 page
20435 \begin_inset space ~
20436 \end_inset
20437
20438 <page>: prints the float number, the text "on page", and the page number:
20439  
20440 \begin_inset CommandInset ref
20441 LatexCommand vref
20442 reference "fig:Two-distorted-images"
20443
20444 \end_inset
20445
20446
20447 \end_layout
20448
20449 \begin_layout Description
20450 Formatted
20451 \begin_inset space ~
20452 \end_inset
20453
20454 reference: prints a self defined cross-reference format.
20455  
20456 \begin_inset Note Greyedout
20457 status open
20458
20459 \begin_layout Plain Layout
20460
20461 \series bold
20462 Note:
20463 \series default
20464  This feature is only available when you have the LaTeX-package 
20465 \series bold
20466 prettyref
20467 \series default
20468  installed.
20469 \end_layout
20470
20471 \end_inset
20472
20473
20474 \end_layout
20475
20476 \begin_layout Standard
20477 Note that the style <page> won't print the page number if the label is on
20478  the previous, the same, or the next page.
20479  You will e.
20480 \begin_inset space \thinspace{}
20481 \end_inset
20482
20483 g.
20484 \begin_inset space \space{}
20485 \end_inset
20486
20487 see the text 
20488 \begin_inset Quotes eld
20489 \end_inset
20490
20491
20492 \family sans
20493 on this page
20494 \family default
20495
20496 \begin_inset Quotes erd
20497 \end_inset
20498
20499  instead.
20500 \end_layout
20501
20502 \begin_layout Standard
20503 The number and current page of the referred document part in the output,
20504  is automatically calculated by LaTeX.
20505  The varieties are adjusted in the field 
20506 \family sans
20507 Format
20508 \family default
20509  of the cross-reference window, that appear when you click on the cross-referenc
20510 e box.
20511 \end_layout
20512
20513 \begin_layout Subsection
20514 Automatic Reference Naming
20515 \begin_inset Index
20516 status collapsed
20517
20518 \begin_layout Plain Layout
20519 References ! Automatic Reference Naming
20520 \end_layout
20521
20522 \end_inset
20523
20524
20525 \end_layout
20526
20527 \begin_layout Standard
20528 The LaTeX-package 
20529 \series bold
20530 hyperref
20531 \series default
20532
20533 \begin_inset Index
20534 status collapsed
20535
20536 \begin_layout Plain Layout
20537 LaTeX-packages ! hyperref
20538 \end_layout
20539
20540 \end_inset
20541
20542 , that is enabled in the 
20543 \family sans
20544 PDF Properties
20545 \family default
20546  of the 
20547 \family sans
20548 Document Settings
20549 \family default
20550  dialog, provides a very useful feature that cross-references automatically
20551  include the name of the referenced floats (or text parts like 
20552 \emph on
20553 section
20554 \emph default
20555 ).
20556  So you will save to write e.
20557 \begin_inset space \thinspace{}
20558 \end_inset
20559
20560 g.
20561 \begin_inset space \space{}
20562 \end_inset
20563
20564 the name 
20565 \begin_inset Quotes eld
20566 \end_inset
20567
20568 Figure
20569 \begin_inset Quotes erd
20570 \end_inset
20571
20572  before every reference to a figure.
20573  To use this feature, enable 
20574 \series bold
20575 hyperref
20576 \series default
20577  and insert this line to the LaTeX preamble:
20578 \end_layout
20579
20580 \begin_layout Standard
20581
20582 \series bold
20583
20584 \backslash
20585 AtBeginDocument{
20586 \backslash
20587 renewcommand{
20588 \backslash
20589 ref}[1]{
20590 \backslash
20591 mbox{
20592 \backslash
20593 autoref{#1}}}}
20594 \end_layout
20595
20596 \begin_layout Standard
20597 When you prefer other reference names than the default ones, for example
20598  you want instead of 
20599 \begin_inset Quotes eld
20600 \end_inset
20601
20602 section
20603 \begin_inset Quotes erd
20604 \end_inset
20605
20606  the name 
20607 \begin_inset Quotes eld
20608 \end_inset
20609
20610 sec.
20611 \begin_inset space \thinspace{}
20612 \end_inset
20613
20614
20615 \begin_inset Quotes eld
20616 \end_inset
20617
20618 , you can redefine the name by inserting this to the preamble:
20619 \end_layout
20620
20621 \begin_layout Standard
20622
20623 \series bold
20624
20625 \backslash
20626 addto
20627 \backslash
20628 extrasenglish{
20629 \backslash
20630 renewcommand{
20631 \backslash
20632 sectionautorefname}
20633 \begin_inset Newline newline
20634 \end_inset
20635
20636
20637 \begin_inset ERT
20638 status collapsed
20639
20640 \begin_layout Plain Layout
20641
20642
20643 \backslash
20644 hphantom{ }
20645 \end_layout
20646
20647 \end_inset
20648
20649 {sec.
20650 \backslash
20651 negthinspace}}
20652 \end_layout
20653
20654 \begin_layout Standard
20655 When you are using another document language than English, replace
20656 \begin_inset Newline newline
20657 \end_inset
20658
20659
20660 \series bold
20661
20662 \backslash
20663 extrasenglish
20664 \series default
20665  by 
20666 \series bold
20667
20668 \backslash
20669 extras***
20670 \series default
20671 , where *** is the name of the used language.
20672 \end_layout
20673
20674 \begin_layout Standard
20675 To get automatic names, but not for certain reference types, for example
20676  not for equations, use this preamble code:
20677 \end_layout
20678
20679 \begin_layout Standard
20680
20681 \series bold
20682
20683 \backslash
20684 newlength{
20685 \backslash
20686 abc}
20687 \begin_inset Newline newline
20688 \end_inset
20689
20690
20691 \backslash
20692 settowidth{
20693 \backslash
20694 abc}{
20695 \backslash
20696 space}
20697 \begin_inset Newline newline
20698 \end_inset
20699
20700
20701 \backslash
20702 addto
20703 \backslash
20704 extrasenglish{
20705 \backslash
20706 renewcommand{
20707 \backslash
20708 equationautorefname}
20709 \begin_inset Newline newline
20710 \end_inset
20711
20712
20713 \begin_inset ERT
20714 status collapsed
20715
20716 \begin_layout Plain Layout
20717
20718
20719 \backslash
20720 hphantom{ }
20721 \end_layout
20722
20723 \end_inset
20724
20725 {
20726 \backslash
20727 hspace{-
20728 \backslash
20729 abc}}
20730 \end_layout
20731
20732 \begin_layout Standard
20733 More about this topic can be found in 
20734 \series bold
20735 hyperref
20736 \series default
20737 's documentation 
20738 \begin_inset CommandInset citation
20739 LatexCommand cite
20740 key "hyperref"
20741
20742 \end_inset
20743
20744 .
20745 \end_layout
20746
20747 \begin_layout Standard
20748 \begin_inset Note Greyedout
20749 status open
20750
20751 \begin_layout Plain Layout
20752
20753 \series bold
20754 Note:
20755 \series default
20756  Automatic reference naming cannot be used when you use cross-references
20757  in the 
20758 \family sans
20759 Formatted
20760 \begin_inset space ~
20761 \end_inset
20762
20763 reference
20764 \family default
20765  style, as described in section
20766 \begin_inset space ~
20767 \end_inset
20768
20769
20770 \begin_inset CommandInset ref
20771 LatexCommand ref
20772 reference "sub:Cross-Reference-Formats"
20773
20774 \end_inset
20775
20776 .
20777 \end_layout
20778
20779 \end_inset
20780
20781
20782 \end_layout
20783
20784 \begin_layout Standard
20785 The 
20786 \emph on
20787 Math
20788 \emph default
20789  manual is an example where automatic reference naming is used.
20790 \end_layout
20791
20792 \begin_layout Subsection
20793 Reference Position
20794 \begin_inset CommandInset label
20795 LatexCommand label
20796 name "sub:Reference-Position"
20797
20798 \end_inset
20799
20800
20801 \begin_inset Index
20802 status collapsed
20803
20804 \begin_layout Plain Layout
20805 References ! Reference Position
20806 \end_layout
20807
20808 \end_inset
20809
20810
20811 \end_layout
20812
20813 \begin_layout Standard
20814 If you use 
20815 \series bold
20816 hyperref
20817 \series default
20818
20819 \begin_inset Index
20820 status collapsed
20821
20822 \begin_layout Plain Layout
20823 LaTeX-packages ! hyperref
20824 \end_layout
20825
20826 \end_inset
20827
20828  in the 
20829 \family sans
20830 PDF Properties
20831 \family default
20832  of the 
20833 \family sans
20834 Document Settings
20835 \family default
20836  dialog to link cross-references in the output, you will see that clicking
20837  on an image float reference jumps to the image label.
20838  The caption will be the first text part on the screen, so that you cannot
20839  see the image without scrolling.
20840  This is because the reference link anchor is placed at the position of
20841  the label.
20842  With the use of the package 
20843 \series bold
20844 hypcap
20845 \series default
20846
20847 \begin_inset Index
20848 status collapsed
20849
20850 \begin_layout Plain Layout
20851 LaTeX-packages ! hypcap
20852 \end_layout
20853
20854 \end_inset
20855
20856 , which is part of the LaTeX-package 
20857 \series bold
20858 oberdiek
20859 \series default
20860
20861 \begin_inset Index
20862 status collapsed
20863
20864 \begin_layout Plain Layout
20865 LaTeX-packages ! oberdiek
20866 \end_layout
20867
20868 \end_inset
20869
20870 , the link anchor is placed at the beginning of a float.
20871  To use this feature for figure floats, load 
20872 \series bold
20873 hypcap
20874 \series default
20875  in the document preamble with the line
20876 \end_layout
20877
20878 \begin_layout Standard
20879
20880 \series bold
20881
20882 \backslash
20883 usepackage[figure]{hypcap}
20884 \end_layout
20885
20886 \begin_layout Standard
20887 You can also use 
20888 \series bold
20889 hypcap
20890 \series default
20891  for all float types but this is not recommended for stability reasons.
20892  For more informations, have a look at 
20893 \series bold
20894 hypcap
20895 \series default
20896 's manual 
20897 \begin_inset CommandInset citation
20898 LatexCommand cite
20899 key "hypcap"
20900
20901 \end_inset
20902
20903 .
20904 \end_layout
20905
20906 \begin_layout Standard
20907 \begin_inset Note Greyedout
20908 status open
20909
20910 \begin_layout Plain Layout
20911
20912 \series bold
20913 Note:
20914 \series default
20915  
20916 \series bold
20917 hypcap
20918 \series default
20919  has no effect for references to subfigures.
20920 \end_layout
20921
20922 \end_inset
20923
20924
20925 \end_layout
20926
20927 \begin_layout Section
20928 Float Placement
20929 \begin_inset CommandInset label
20930 LatexCommand label
20931 name "sec:Float-Placement"
20932
20933 \end_inset
20934
20935
20936 \begin_inset Index
20937 status collapsed
20938
20939 \begin_layout Plain Layout
20940 Floats ! Placement
20941 \end_layout
20942
20943 \end_inset
20944
20945
20946 \end_layout
20947
20948 \begin_layout Standard
20949 Right-clicking on a float-box opens a dialog where you can alter the placement
20950  options that LaTeX uses for positioning the float.
20951 \begin_inset Newline newline
20952 \end_inset
20953
20954 The option 
20955 \family sans
20956 Span
20957 \begin_inset space ~
20958 \end_inset
20959
20960 columns
20961 \family default
20962  is only useful for two-column documents: If you select it, the float will
20963  span across both columns on the page instead of being confined to just
20964  one.
20965 \begin_inset Newline newline
20966 \end_inset
20967
20968 The option 
20969 \family sans
20970 Rotate
20971 \begin_inset space ~
20972 \end_inset
20973
20974 sideways
20975 \family default
20976  is used to rotate floats, see section 
20977 \begin_inset CommandInset ref
20978 LatexCommand ref
20979 reference "sec:Rotated-Floats"
20980
20981 \end_inset
20982
20983 .
20984 \end_layout
20985
20986 \begin_layout Standard
20987 You can use one ore more of the following options in the float dialog to
20988  set the placement for a particular float when you uncheck the option 
20989 \family sans
20990 Use
20991 \begin_inset space ~
20992 \end_inset
20993
20994 default
20995 \begin_inset space ~
20996 \end_inset
20997
20998 placement
20999 \family default
21000 :
21001 \end_layout
21002
21003 \begin_layout Description
21004 Here
21005 \begin_inset space ~
21006 \end_inset
21007
21008 if
21009 \begin_inset space ~
21010 \end_inset
21011
21012 possible try to place the float on the position where it is inserted
21013 \end_layout
21014
21015 \begin_layout Description
21016 Top
21017 \begin_inset space ~
21018 \end_inset
21019
21020 of
21021 \begin_inset space ~
21022 \end_inset
21023
21024 page try to place the float on the top of the current page
21025 \end_layout
21026
21027 \begin_layout Description
21028 Bottom
21029 \begin_inset space ~
21030 \end_inset
21031
21032 of
21033 \begin_inset space ~
21034 \end_inset
21035
21036 page try to place the float on the bottom of the current page
21037 \end_layout
21038
21039 \begin_layout Description
21040 Page
21041 \begin_inset space ~
21042 \end_inset
21043
21044 of
21045 \begin_inset space ~
21046 \end_inset
21047
21048 floats try to place the float on an own page 
21049 \end_layout
21050
21051 \begin_layout Standard
21052 The order of the above option is 
21053 \emph on
21054 always
21055 \emph default
21056  used by LaTeX.
21057  That means, if you use the default placement, LaTeX will first try out
21058  
21059 \family sans
21060 Here
21061 \begin_inset space ~
21062 \end_inset
21063
21064 if
21065 \begin_inset space ~
21066 \end_inset
21067
21068 possible
21069 \family default
21070 , then 
21071 \family sans
21072 Top
21073 \begin_inset space ~
21074 \end_inset
21075
21076 of
21077 \begin_inset space ~
21078 \end_inset
21079
21080 page
21081 \family default
21082 , and then the others.
21083  If you don't use the default, LaTeX will try only the checked options but
21084  in the same order.
21085  If none of the 4 placements are possible the procedure is internally repeated
21086  but it is tried to put the float on the following page.
21087 \end_layout
21088
21089 \begin_layout Standard
21090 By default, each option has its own rules:
21091 \end_layout
21092
21093 \begin_layout Labeling
21094 \labelwidthstring 00.00.0000
21095
21096 \family sans
21097 Top
21098 \begin_inset space ~
21099 \end_inset
21100
21101 of
21102 \begin_inset space ~
21103 \end_inset
21104
21105 page
21106 \family default
21107  only floats occupying less than 70
21108 \begin_inset space \thinspace{}
21109 \end_inset
21110
21111 % of the page can be placed at the top of a page (
21112 \series bold
21113
21114 \backslash
21115 topfraction
21116 \series default
21117 )
21118 \end_layout
21119
21120 \begin_layout Labeling
21121 \labelwidthstring 00.00.0000
21122
21123 \family sans
21124 Bottom
21125 \begin_inset space ~
21126 \end_inset
21127
21128 of
21129 \begin_inset space ~
21130 \end_inset
21131
21132 page
21133 \family default
21134 : only floats occupying less than 30
21135 \begin_inset space \thinspace{}
21136 \end_inset
21137
21138 % of the page can be placed at the bottom of a page.
21139  (
21140 \series bold
21141
21142 \backslash
21143 bottomfraction
21144 \series default
21145 )
21146 \end_layout
21147
21148 \begin_layout Labeling
21149 \labelwidthstring 00.00.0000
21150
21151 \family sans
21152 Page
21153 \begin_inset space ~
21154 \end_inset
21155
21156 of
21157 \begin_inset space ~
21158 \end_inset
21159
21160 floats
21161 \family default
21162 : only if more than 50
21163 \begin_inset space \thinspace{}
21164 \end_inset
21165
21166 % of the page are occupied by floats, several floats can be set together
21167  on a page.
21168  (
21169 \series bold
21170
21171 \backslash
21172 floatpagefraction
21173 \series default
21174 )
21175 \end_layout
21176
21177 \begin_layout Standard
21178 If you don't like these rules, you can ignore them by using the additional
21179  option 
21180 \family sans
21181 Ignore
21182 \begin_inset space ~
21183 \end_inset
21184
21185 LaTeX
21186 \begin_inset space ~
21187 \end_inset
21188
21189 rules
21190 \family default
21191 .
21192 \begin_inset Newline newline
21193 \end_inset
21194
21195 You can also redefine the rules with LaTeX-commands that are given in parenthese
21196 s behind the rules description above.
21197  To increase for example the often too small default of the bottom-rule
21198  to 50
21199 \begin_inset space \thinspace{}
21200 \end_inset
21201
21202 % of the page, add this line to your document preamble:
21203 \end_layout
21204
21205 \begin_layout Standard
21206
21207 \series bold
21208
21209 \backslash
21210 renewcommand{
21211 \backslash
21212 bottomfraction}{0.5}
21213 \end_layout
21214
21215 \begin_layout Standard
21216 Sometimes you might need, under all circumstances, a float to be placed
21217  exactly at the position where it is inserted.
21218  For this case you can use the option 
21219 \family sans
21220 Here
21221 \begin_inset space ~
21222 \end_inset
21223
21224 definitely
21225 \family default
21226 .
21227  Use this option very rarely and only if the document is nearly ready to
21228  be printed.
21229  Because the float is then no longer able to 
21230 \begin_inset Quotes eld
21231 \end_inset
21232
21233 float
21234 \begin_inset Quotes erd
21235 \end_inset
21236
21237  when you change your document and this will often destroy the page layout.
21238 \end_layout
21239
21240 \begin_layout Standard
21241 There are no placement options for text wrap floats, because they are always
21242  surrounded by the text of a certain paragraph.
21243 \begin_inset VSpace bigskip
21244 \end_inset
21245
21246
21247 \end_layout
21248
21249 \begin_layout Standard
21250 Sometimes you have the problem that a float is placed at the top of a page
21251  while its corresponding section starts at the middle of the page, so that
21252  the reader could think the float is part of the previous section.
21253  To avoid this the LaTeX-command 
21254 \series bold
21255
21256 \backslash
21257 suppressfloats
21258 \series default
21259  can be used.
21260  It suppresses a given float placement for the page where it is inserted
21261  and can therefore be used to avoid that floats could be set before a section
21262  starts.
21263  To get this, add these commands to your document preamble:
21264 \end_layout
21265
21266 \begin_layout Standard
21267
21268 \series bold
21269
21270 \backslash
21271 let
21272 \backslash
21273 mySection
21274 \backslash
21275 section
21276 \begin_inset Newline newline
21277 \end_inset
21278
21279
21280 \backslash
21281 renewcommand{
21282 \backslash
21283 section}{
21284 \backslash
21285 suppressfloats[t]
21286 \backslash
21287 mySection}
21288 \end_layout
21289
21290 \begin_layout Standard
21291 You can define the same for all section headings, like chapters and subsections.
21292  This definition is not recommended to be used for small text parts like
21293  subsubsections because LaTeX may then have problems to find a suitable
21294  placement.
21295 \end_layout
21296
21297 \begin_layout Standard
21298 \begin_inset VSpace bigskip
21299 \end_inset
21300
21301 In some cases it is required to have all figures/tables at the end of the
21302  document.
21303  For this purpose the LaTeX-package 
21304 \series bold
21305 endfloat
21306 \series default
21307
21308 \begin_inset Index
21309 status collapsed
21310
21311 \begin_layout Plain Layout
21312 LaTeX-packages ! endfloat
21313 \end_layout
21314
21315 \end_inset
21316
21317  was developed.
21318  It puts all figure and table floats at the end of the document into own
21319  sections.
21320  At the original float position a text hint like 
21321 \begin_inset Quotes eld
21322 \end_inset
21323
21324
21325 \family sans
21326 [Figure
21327 \begin_inset space ~
21328 \end_inset
21329
21330 3.2 about here.]
21331 \family default
21332
21333 \begin_inset Quotes erd
21334 \end_inset
21335
21336  is inserted.
21337  The endfloat-package is loaded in the preamble with the line
21338 \end_layout
21339
21340 \begin_layout Standard
21341
21342 \series bold
21343
21344 \backslash
21345 usepackage[options]{endfloat}
21346 \end_layout
21347
21348 \begin_layout Standard
21349 There are various package options to format the created figure/table sections.
21350  For more information we refer to the 
21351 \series bold
21352 endfloat
21353 \series default
21354  documentation 
21355 \begin_inset CommandInset citation
21356 LatexCommand cite
21357 key "endfloat"
21358
21359 \end_inset
21360
21361 .
21362 \begin_inset Newline newline
21363 \end_inset
21364
21365
21366 \begin_inset Note Greyedout
21367 status open
21368
21369 \begin_layout Plain Layout
21370
21371 \series bold
21372 Note: endfloat
21373 \series default
21374  doesn't provide an automatic translation for the text hint, you have to
21375  do this manually, see section
21376 \begin_inset space ~
21377 \end_inset
21378
21379 4 in 
21380 \begin_inset CommandInset citation
21381 LatexCommand cite
21382 key "endfloat"
21383
21384 \end_inset
21385
21386 .
21387 \end_layout
21388
21389 \end_inset
21390
21391
21392 \begin_inset Newline newline
21393 \end_inset
21394
21395
21396 \begin_inset Note Greyedout
21397 status open
21398
21399 \begin_layout Plain Layout
21400
21401 \series bold
21402 Note:
21403 \series default
21404  There is currently a bug in 
21405 \series bold
21406 endfloat
21407 \series default
21408  when the caption contains a German 
21409 \begin_inset Quotes eld
21410 \end_inset
21411
21412 ß
21413 \begin_inset Quotes erd
21414 \end_inset
21415
21416 .
21417  Use in this case the command 
21418 \begin_inset Quotes eld
21419 \end_inset
21420
21421
21422 \series bold
21423
21424 \backslash
21425 ss
21426 \series default
21427
21428 \begin_inset Quotes erd
21429 \end_inset
21430
21431  in TeX-Code instead of 
21432 \begin_inset Quotes eld
21433 \end_inset
21434
21435 ß
21436 \begin_inset Quotes erd
21437 \end_inset
21438
21439 .
21440 \end_layout
21441
21442 \end_inset
21443
21444
21445 \end_layout
21446
21447 \begin_layout Standard
21448 \begin_inset VSpace bigskip
21449 \end_inset
21450
21451 For more details about float placements, have a look at LaTeX books, 
21452 \begin_inset CommandInset citation
21453 LatexCommand cite
21454 key "latexcompanion,latexguide,latexbook"
21455
21456 \end_inset
21457
21458 .
21459 \end_layout
21460
21461 \begin_layout Section
21462 Rotated Floats
21463 \begin_inset CommandInset label
21464 LatexCommand label
21465 name "sec:Rotated-Floats"
21466
21467 \end_inset
21468
21469
21470 \begin_inset Index
21471 status collapsed
21472
21473 \begin_layout Plain Layout
21474 Floats ! Rotating
21475 \end_layout
21476
21477 \end_inset
21478
21479
21480 \end_layout
21481
21482 \begin_layout Standard
21483 Especially for wide tables you might have floats rotated.
21484  To rotate a whole float including the caption, right-click on the float-box
21485  and use the option 
21486 \family sans
21487 Rotate
21488 \begin_inset space ~
21489 \end_inset
21490
21491 sideways
21492 \family default
21493 .
21494 \end_layout
21495
21496 \begin_layout Standard
21497 Rotated floats are always placed on its own page (or column, in case you
21498  have a multi-column document).
21499  You can let them span several columns using the float settings option 
21500 \family sans
21501 Span
21502 \begin_inset space ~
21503 \end_inset
21504
21505 columns
21506 \family default
21507 .
21508  Floats are rotated so that you can read them from the outside margin.
21509  To force a certain rotation direction for all pages, you can add either
21510  the option 
21511 \series bold
21512 figuresleft
21513 \series default
21514  or 
21515 \series bold
21516 figuresright
21517 \series default
21518  to the document class options.
21519 \end_layout
21520
21521 \begin_layout Standard
21522 Referencing rotated floats is the same like for normal floats, the caption
21523  format is also the same: Table
21524 \begin_inset space ~
21525 \end_inset
21526
21527
21528 \begin_inset CommandInset ref
21529 LatexCommand ref
21530 reference "tab:Rotated-table"
21531
21532 \end_inset
21533
21534  is an example of a rotated table float.
21535 \end_layout
21536
21537 \begin_layout Standard
21538 \begin_inset Note Greyedout
21539 status open
21540
21541 \begin_layout Plain Layout
21542
21543 \series bold
21544 Note:
21545 \series default
21546  Not all DVI-viewers are able to display rotated floats.
21547 \end_layout
21548
21549 \end_inset
21550
21551
21552 \end_layout
21553
21554 \begin_layout Standard
21555 \begin_inset Float table
21556 wide false
21557 sideways true
21558 status open
21559
21560 \begin_layout Plain Layout
21561 \begin_inset Caption
21562
21563 \begin_layout Plain Layout
21564 \begin_inset CommandInset label
21565 LatexCommand label
21566 name "tab:Rotated-table"
21567
21568 \end_inset
21569
21570  Rotated table
21571 \end_layout
21572
21573 \end_inset
21574
21575
21576 \end_layout
21577
21578 \begin_layout Plain Layout
21579 \align center
21580 \begin_inset Tabular
21581 <lyxtabular version="3" rows="1" columns="5">
21582 <features>
21583 <column alignment="center" valignment="top" width="0">
21584 <column alignment="center" valignment="top" width="0">
21585 <column alignment="center" valignment="top" width="0">
21586 <column alignment="center" valignment="top" width="0">
21587 <column alignment="center" valignment="top" width="0">
21588 <row>
21589 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21590 \begin_inset Text
21591
21592 \begin_layout Plain Layout
21593 test
21594 \end_layout
21595
21596 \end_inset
21597 </cell>
21598 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21599 \begin_inset Text
21600
21601 \begin_layout Plain Layout
21602 b
21603 \end_layout
21604
21605 \end_inset
21606 </cell>
21607 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21608 \begin_inset Text
21609
21610 \begin_layout Plain Layout
21611 c
21612 \end_layout
21613
21614 \end_inset
21615 </cell>
21616 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21617 \begin_inset Text
21618
21619 \begin_layout Plain Layout
21620 d
21621 \end_layout
21622
21623 \end_inset
21624 </cell>
21625 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21626 \begin_inset Text
21627
21628 \begin_layout Plain Layout
21629 e
21630 \end_layout
21631
21632 \end_inset
21633 </cell>
21634 </row>
21635 </lyxtabular>
21636
21637 \end_inset
21638
21639
21640 \end_layout
21641
21642 \end_inset
21643
21644
21645 \end_layout
21646
21647 \begin_layout Section
21648 Floats Side by Side
21649 \begin_inset Index
21650 status collapsed
21651
21652 \begin_layout Plain Layout
21653 Floats ! Side by side
21654 \end_layout
21655
21656 \end_inset
21657
21658
21659 \end_layout
21660
21661 \begin_layout Standard
21662 To place floats side by side, like for Figure
21663 \begin_inset space ~
21664 \end_inset
21665
21666
21667 \begin_inset CommandInset ref
21668 LatexCommand ref
21669 reference "fig:Float-left"
21670
21671 \end_inset
21672
21673  and 
21674 \begin_inset CommandInset ref
21675 LatexCommand ref
21676 reference "fig:Float-right"
21677
21678 \end_inset
21679
21680 , only 
21681 \emph on
21682 one
21683 \emph default
21684  float is used.
21685  In it two minipage boxes are inserted.
21686 \begin_inset Foot
21687 status collapsed
21688
21689 \begin_layout Plain Layout
21690 Minipages are explained in section
21691 \begin_inset space ~
21692 \end_inset
21693
21694
21695 \begin_inset CommandInset ref
21696 LatexCommand ref
21697 reference "sec:Minipages"
21698
21699 \end_inset
21700
21701 .
21702 \end_layout
21703
21704 \end_inset
21705
21706  The width is set to 45
21707 \begin_inset space \thinspace{}
21708 \end_inset
21709
21710 -50
21711 \begin_inset space \thinspace{}
21712 \end_inset
21713
21714 column% and the box alignment to 
21715 \family sans
21716 Bottom
21717 \family default
21718  for each minipage.
21719  The minipage boxes contain the image and the caption in the same way as
21720  they are in a float.
21721  The only difference is that the image unit 
21722 \family sans
21723 Column
21724 \begin_inset space ~
21725 \end_inset
21726
21727 Width
21728 \begin_inset space ~
21729 \end_inset
21730
21731 %
21732 \family default
21733  is now calculated according to the width of the minipage boxes.
21734 \end_layout
21735
21736 \begin_layout Standard
21737 \begin_inset Float figure
21738 wide false
21739 sideways false
21740 status open
21741
21742 \begin_layout Plain Layout
21743 \begin_inset Box Frameless
21744 position "b"
21745 hor_pos "c"
21746 has_inner_box 1
21747 inner_pos "t"
21748 use_parbox 0
21749 width "45col%"
21750 special "none"
21751 height "1in"
21752 height_special "totalheight"
21753 status open
21754
21755 \begin_layout Plain Layout
21756 \align center
21757 \begin_inset Graphics
21758         filename clipart/mobius.eps
21759         lyxscale 50
21760         width 100col%
21761         scaleBeforeRotation
21762
21763 \end_inset
21764
21765
21766 \end_layout
21767
21768 \begin_layout Plain Layout
21769 \begin_inset Caption
21770
21771 \begin_layout Plain Layout
21772 \begin_inset CommandInset label
21773 LatexCommand label
21774 name "fig:Float-left"
21775
21776 \end_inset
21777
21778 Float on the left side.
21779 \end_layout
21780
21781 \end_inset
21782
21783
21784 \end_layout
21785
21786 \end_inset
21787
21788
21789 \begin_inset space \hfill{}
21790 \end_inset
21791
21792
21793 \begin_inset Box Frameless
21794 position "b"
21795 hor_pos "c"
21796 has_inner_box 1
21797 inner_pos "t"
21798 use_parbox 0
21799 width "45col%"
21800 special "none"
21801 height "1in"
21802 height_special "totalheight"
21803 status open
21804
21805 \begin_layout Plain Layout
21806 \align center
21807 \begin_inset Graphics
21808         filename clipart/platypus.eps
21809         lyxscale 50
21810         width 100col%
21811         scaleBeforeRotation
21812
21813 \end_inset
21814
21815
21816 \end_layout
21817
21818 \begin_layout Plain Layout
21819 \begin_inset Caption
21820
21821 \begin_layout Plain Layout
21822 \begin_inset CommandInset label
21823 LatexCommand label
21824 name "fig:Float-right"
21825
21826 \end_inset
21827
21828 Float on the right side.
21829 \end_layout
21830
21831 \end_inset
21832
21833
21834 \end_layout
21835
21836 \end_inset
21837
21838
21839 \end_layout
21840
21841 \begin_layout Plain Layout
21842
21843 \end_layout
21844
21845 \end_inset
21846
21847
21848 \end_layout
21849
21850 \begin_layout Section
21851 Caption Formatting
21852 \begin_inset Index
21853 status collapsed
21854
21855 \begin_layout Plain Layout
21856 Caption ! Formatting
21857 \end_layout
21858
21859 \end_inset
21860
21861
21862 \begin_inset Index
21863 status collapsed
21864
21865 \begin_layout Plain Layout
21866 Floats ! Caption Formatting
21867 \end_layout
21868
21869 \end_inset
21870
21871
21872 \begin_inset CommandInset label
21873 LatexCommand label
21874 name "sec:Caption-Formatting"
21875
21876 \end_inset
21877
21878
21879 \end_layout
21880
21881 \begin_layout Standard
21882 The 
21883 \family sans
21884 Caption
21885 \family default
21886  environment is the default paragraph environment for 
21887 \family sans
21888 Floats
21889 \family default
21890 .
21891  On the LyX screen captions appear as label, e.
21892 \begin_inset space \thinspace{}
21893 \end_inset
21894
21895 g.
21896 \begin_inset space \space{}
21897 \end_inset
21898
21899
21900 \begin_inset Quotes eld
21901 \end_inset
21902
21903
21904 \family sans
21905 Figure #:
21906 \family default
21907
21908 \begin_inset Quotes erd
21909 \end_inset
21910
21911  followed by the caption text.
21912  
21913 \begin_inset Quotes eld
21914 \end_inset
21915
21916 #
21917 \begin_inset Quotes erd
21918 \end_inset
21919
21920  is the actual reference number.
21921  By default the label and the number are in the same font as the caption
21922  text and a colon follows the number to divide the label from the text.
21923  This caption format is not suitable for all document formats.
21924  
21925 \end_layout
21926
21927 \begin_layout Standard
21928 To change the default caption format, load the LaTeX-package 
21929 \series bold
21930 caption
21931 \series default
21932
21933 \begin_inset Index
21934 status collapsed
21935
21936 \begin_layout Plain Layout
21937 LaTeX-packages ! caption
21938 \end_layout
21939
21940 \end_inset
21941
21942  in the document preamble with this line:
21943 \end_layout
21944
21945 \begin_layout Standard
21946
21947 \series bold
21948
21949 \backslash
21950 usepackage[format definition]{caption}
21951 \end_layout
21952
21953 \begin_layout Standard
21954 To have for example the label and the number in sans-serif bold font and
21955  the table captions always above the table like in this document, use the
21956  following command:
21957 \end_layout
21958
21959 \begin_layout Standard
21960
21961 \series bold
21962
21963 \backslash
21964 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
21965 \end_layout
21966
21967 \begin_layout Standard
21968 You can also define different caption formats for the different float types.
21969  In this case load the 
21970 \series bold
21971 caption
21972 \series default
21973  package without format specific options and define the different formats
21974  with the help of the command
21975 \end_layout
21976
21977 \begin_layout Standard
21978
21979 \series bold
21980
21981 \backslash
21982 captionsetup[float type]{format definition}
21983 \end_layout
21984
21985 \begin_layout Standard
21986 in the document preamble.
21987  For example the caption formats of Figure
21988 \begin_inset space ~
21989 \end_inset
21990
21991
21992 \begin_inset CommandInset ref
21993 LatexCommand ref
21994 reference "fig:This-is-an-fig"
21995
21996 \end_inset
21997
21998  and Table
21999 \begin_inset space ~
22000 \end_inset
22001
22002
22003 \begin_inset CommandInset ref
22004 LatexCommand ref
22005 reference "tab:This-is-an-tab"
22006
22007 \end_inset
22008
22009  can be created using these commands in the document preamble:
22010 \end_layout
22011
22012 \begin_layout Standard
22013
22014 \series bold
22015
22016 \backslash
22017 usepackage[tableposition=top]{caption}
22018 \series default
22019
22020 \begin_inset Newline newline
22021 \end_inset
22022
22023
22024 \series bold
22025
22026 \backslash
22027 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
22028 \begin_inset Newline newline
22029 \end_inset
22030
22031
22032 \begin_inset ERT
22033 status collapsed
22034
22035 \begin_layout Plain Layout
22036
22037
22038 \backslash
22039 hphantom{
22040 \backslash
22041
22042 \backslash
22043 captionsetup[figure]
22044 \backslash
22045 {}
22046 \end_layout
22047
22048 \end_inset
22049
22050  labelsep=period}
22051 \begin_inset Newline newline
22052 \end_inset
22053
22054
22055 \backslash
22056 captionsetup[table]{labelfont={bf,sf}}
22057 \end_layout
22058
22059 \begin_layout Standard
22060 \begin_inset Note Greyedout
22061 status open
22062
22063 \begin_layout Plain Layout
22064
22065 \series bold
22066 Note:
22067 \series default
22068  The option 
22069 \series bold
22070 tableposition=top
22071 \series default
22072  has no effect when a 
22073 \series bold
22074 koma-script
22075 \series default
22076
22077 \begin_inset Index
22078 status collapsed
22079
22080 \begin_layout Plain Layout
22081 LaTeX-packages ! koma-script
22082 \end_layout
22083
22084 \end_inset
22085
22086  document class is used.
22087  In this case the document class option 
22088 \series bold
22089 tablecaptionabove
22090 \series default
22091  must be used.
22092 \end_layout
22093
22094 \end_inset
22095
22096
22097 \end_layout
22098
22099 \begin_layout Standard
22100 For more information about the package 
22101 \series bold
22102 caption
22103 \series default
22104  we refer to its documentation 
22105 \begin_inset CommandInset citation
22106 LatexCommand cite
22107 key "caption"
22108
22109 \end_inset
22110
22111 .
22112 \end_layout
22113
22114 \begin_layout Standard
22115 To change the label name from e.
22116 \begin_inset space \thinspace{}
22117 \end_inset
22118
22119 g.
22120 \begin_inset space \space{}
22121 \end_inset
22122
22123
22124 \begin_inset Quotes eld
22125 \end_inset
22126
22127 Figure
22128 \begin_inset Quotes erd
22129 \end_inset
22130
22131  to 
22132 \begin_inset Quotes eld
22133 \end_inset
22134
22135 Image
22136 \begin_inset Quotes erd
22137 \end_inset
22138
22139  use this preamble command:
22140 \end_layout
22141
22142 \begin_layout Standard
22143
22144 \series bold
22145
22146 \backslash
22147 renewcommand{
22148 \backslash
22149 fnum@figure}{Image~
22150 \backslash
22151 thefigure}
22152 \end_layout
22153
22154 \begin_layout Standard
22155 where 
22156 \series bold
22157
22158 \backslash
22159 thefigure
22160 \series default
22161  inserts the figure number and
22162 \series bold
22163  
22164 \begin_inset Quotes eld
22165 \end_inset
22166
22167 ~
22168 \series default
22169
22170 \begin_inset Quotes erd
22171 \end_inset
22172
22173  creates a protected space.
22174 \end_layout
22175
22176 \begin_layout Standard
22177 \begin_inset VSpace bigskip
22178 \end_inset
22179
22180 If you are using a 
22181 \series bold
22182 koma-script
22183 \series default
22184
22185 \begin_inset Index
22186 status collapsed
22187
22188 \begin_layout Plain Layout
22189 LaTeX-packages ! koma-script
22190 \end_layout
22191
22192 \end_inset
22193
22194  document class (
22195 \family sans
22196 article (koma-script)
22197 \family default
22198
22199 \family sans
22200 book (koma-script)
22201 \family default
22202
22203 \family sans
22204 letter (koma-script)
22205 \family default
22206 , or 
22207 \family sans
22208 report (koma-script)
22209 \family default
22210
22211 \begin_inset space \thinspace{}
22212 \end_inset
22213
22214 ), you can alternatively to the 
22215 \series bold
22216 caption
22217 \series default
22218  package use 
22219 \series bold
22220 koma-script
22221 \series default
22222 's built-in command 
22223 \series bold
22224
22225 \backslash
22226 setkomafont
22227 \series default
22228 .
22229  For example, to have the caption label in bold, add this command to your
22230  document preamble:
22231 \end_layout
22232
22233 \begin_layout Standard
22234
22235 \series bold
22236
22237 \backslash
22238 setkomafont{captionlabel}{
22239 \backslash
22240 bfseries}
22241 \end_layout
22242
22243 \begin_layout Standard
22244 For more information about 
22245 \series bold
22246
22247 \backslash
22248 setkomafont
22249 \series default
22250  we refer to the 
22251 \series bold
22252 koma-script
22253 \series default
22254  documentation 
22255 \begin_inset CommandInset citation
22256 LatexCommand cite
22257 key "koma-script"
22258
22259 \end_inset
22260
22261 .
22262 \end_layout
22263
22264 \begin_layout Standard
22265 \begin_inset ERT
22266 status collapsed
22267
22268 \begin_layout Plain Layout
22269
22270
22271 \backslash
22272 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
22273 }
22274 \end_layout
22275
22276 \end_inset
22277
22278
22279 \begin_inset Note Note
22280 status open
22281
22282 \begin_layout Plain Layout
22283 The caption format is changed only for this example.
22284 \end_layout
22285
22286 \end_inset
22287
22288
22289 \end_layout
22290
22291 \begin_layout Standard
22292 \begin_inset Float figure
22293 placement !p
22294 wide false
22295 sideways false
22296 status open
22297
22298 \begin_layout Plain Layout
22299 \align center
22300 \begin_inset Graphics
22301         filename clipart/mobius.eps
22302         lyxscale 50
22303         scale 50
22304         scaleBeforeRotation
22305
22306 \end_inset
22307
22308
22309 \end_layout
22310
22311 \begin_layout Plain Layout
22312 \begin_inset Caption
22313
22314 \begin_layout Plain Layout
22315 \begin_inset CommandInset label
22316 LatexCommand label
22317 name "fig:This-is-an-fig"
22318
22319 \end_inset
22320
22321 This is an example figure caption that is longer than one line to show the
22322  different caption format.
22323  Here a self-defined caption format is used.
22324 \end_layout
22325
22326 \end_inset
22327
22328
22329 \end_layout
22330
22331 \end_inset
22332
22333
22334 \end_layout
22335
22336 \begin_layout Standard
22337 \begin_inset ERT
22338 status collapsed
22339
22340 \begin_layout Plain Layout
22341
22342
22343 \backslash
22344 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
22345 on}
22346 \end_layout
22347
22348 \end_inset
22349
22350
22351 \end_layout
22352
22353 \begin_layout Standard
22354 \begin_inset Float table
22355 placement !p
22356 wide false
22357 sideways false
22358 status open
22359
22360 \begin_layout Plain Layout
22361 \begin_inset Caption
22362
22363 \begin_layout Plain Layout
22364 \begin_inset CommandInset label
22365 LatexCommand label
22366 name "tab:This-is-an-tab"
22367
22368 \end_inset
22369
22370 This is an example table caption that is longer than one line to show the
22371  different caption format.
22372  Here the standard caption format for tables in this document is used.
22373 \end_layout
22374
22375 \end_inset
22376
22377
22378 \end_layout
22379
22380 \begin_layout Plain Layout
22381 \align center
22382 \begin_inset Tabular
22383 <lyxtabular version="3" rows="1" columns="5">
22384 <features>
22385 <column alignment="center" valignment="top" width="0">
22386 <column alignment="center" valignment="top" width="0">
22387 <column alignment="center" valignment="top" width="0">
22388 <column alignment="center" valignment="top" width="0">
22389 <column alignment="center" valignment="top" width="0">
22390 <row>
22391 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22392 \begin_inset Text
22393
22394 \begin_layout Plain Layout
22395 a
22396 \end_layout
22397
22398 \end_inset
22399 </cell>
22400 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22401 \begin_inset Text
22402
22403 \begin_layout Plain Layout
22404 b
22405 \end_layout
22406
22407 \end_inset
22408 </cell>
22409 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22410 \begin_inset Text
22411
22412 \begin_layout Plain Layout
22413 c
22414 \end_layout
22415
22416 \end_inset
22417 </cell>
22418 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22419 \begin_inset Text
22420
22421 \begin_layout Plain Layout
22422 d
22423 \end_layout
22424
22425 \end_inset
22426 </cell>
22427 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22428 \begin_inset Text
22429
22430 \begin_layout Plain Layout
22431 e
22432 \end_layout
22433
22434 \end_inset
22435 </cell>
22436 </row>
22437 </lyxtabular>
22438
22439 \end_inset
22440
22441
22442 \end_layout
22443
22444 \end_inset
22445
22446
22447 \end_layout
22448
22449 \begin_layout Section
22450 Caption Placement
22451 \begin_inset Index
22452 status collapsed
22453
22454 \begin_layout Plain Layout
22455 Caption ! Placement
22456 \end_layout
22457
22458 \end_inset
22459
22460
22461 \begin_inset Index
22462 status collapsed
22463
22464 \begin_layout Plain Layout
22465 Floats ! Caption Placement
22466 \end_layout
22467
22468 \end_inset
22469
22470
22471 \begin_inset CommandInset label
22472 LatexCommand label
22473 name "sec:Caption-Placement"
22474
22475 \end_inset
22476
22477
22478 \end_layout
22479
22480 \begin_layout Standard
22481 The common caption placement rule is:
22482 \end_layout
22483
22484 \begin_layout Description
22485 Figure: Caption is set below the figure
22486 \end_layout
22487
22488 \begin_layout Description
22489 Table: Caption is set above the table
22490 \end_layout
22491
22492 \begin_layout Standard
22493 Having the caption above the table is unfortunately not supported in LaTeX's
22494  standard classes.
22495  That means if you are using the document classes 
22496 \family sans
22497 article
22498 \family default
22499
22500 \family sans
22501 book
22502 \family default
22503
22504 \family sans
22505 letter
22506 \family default
22507 , or 
22508 \family sans
22509 report
22510 \family default
22511  there will be no space between the caption and the table.
22512  To insert the needed space, add the following option to the load command
22513  of the LaTeX-package 
22514 \series bold
22515 caption
22516 \series default
22517  in your document preamble
22518 \begin_inset Foot
22519 status collapsed
22520
22521 \begin_layout Plain Layout
22522 See section
22523 \begin_inset space ~
22524 \end_inset
22525
22526
22527 \begin_inset CommandInset ref
22528 LatexCommand ref
22529 reference "sec:Caption-Formatting"
22530
22531 \end_inset
22532
22533  for more information of the package 
22534 \series bold
22535 caption
22536 \series default
22537 .
22538 \end_layout
22539
22540 \end_inset
22541
22542 :
22543 \end_layout
22544
22545 \begin_layout Standard
22546
22547 \series bold
22548 tableposition=top
22549 \end_layout
22550
22551 \begin_layout Standard
22552 If you are using a 
22553 \series bold
22554 koma-script
22555 \series default
22556
22557 \begin_inset Index
22558 status collapsed
22559
22560 \begin_layout Plain Layout
22561 LaTeX-packages ! koma-script
22562 \end_layout
22563
22564 \end_inset
22565
22566  document class (
22567 \family sans
22568 article (koma-script)
22569 \family default
22570
22571 \family sans
22572 book (koma-script)
22573 \family default
22574
22575 \family sans
22576 letter (koma-script)
22577 \family default
22578 , or 
22579 \family sans
22580 report (koma-script)
22581 \family default
22582
22583 \begin_inset space \thinspace{}
22584 \end_inset
22585
22586 ), you can alternatively to the 
22587 \series bold
22588 caption
22589 \series default
22590  package set the document class option 
22591 \series bold
22592 tablecaptionabove
22593 \series default
22594 .
22595 \end_layout
22596
22597 \begin_layout Standard
22598 \begin_inset VSpace bigskip
22599 \end_inset
22600
22601 It is also possible to set the caption beside a figure or table.
22602  To get this the LaTeX-package 
22603 \series bold
22604 sidecap
22605 \series default
22606
22607 \begin_inset Index
22608 status collapsed
22609
22610 \begin_layout Plain Layout
22611 LaTeX-packages ! sidecap
22612 \end_layout
22613
22614 \end_inset
22615
22616  has to be loaded in the document preamble with the line
22617 \end_layout
22618
22619 \begin_layout Standard
22620
22621 \series bold
22622
22623 \backslash
22624 usepackage[option]{sidecap}
22625 \end_layout
22626
22627 \begin_layout Standard
22628 If you set no option, the caption is placed on the side of the outer page
22629  margin – to the right on odd pages, to the left on even pages.
22630  You can change the placement to inner margin with the option 
22631 \series bold
22632 innercaption
22633 \series default
22634 .
22635  To force the placement always to the right or left, use the option 
22636 \series bold
22637 rightcaption
22638 \series default
22639  or 
22640 \series bold
22641 leftcaption
22642 \series default
22643 , respectively.
22644 \end_layout
22645
22646 \begin_layout Standard
22647 \begin_inset ERT
22648 status collapsed
22649
22650 \begin_layout Plain Layout
22651
22652
22653 \backslash
22654 ifsidecap
22655 \end_layout
22656
22657 \end_inset
22658
22659
22660 \begin_inset Note Note
22661 status open
22662
22663 \begin_layout Plain Layout
22664 The following section will only be displayed when the LaTeX-package 
22665 \series bold
22666 sidecap
22667 \series default
22668  is installed.
22669 \end_layout
22670
22671 \end_inset
22672
22673
22674 \end_layout
22675
22676 \begin_layout Standard
22677 To place in LyX the caption of a float on the side, it is necessary to add
22678  these commands to the document preamble:
22679 \end_layout
22680
22681 \begin_layout Standard
22682
22683 \lyxline
22684
22685 \end_layout
22686
22687 \begin_layout Standard
22688
22689 \series bold
22690
22691 \backslash
22692 newcommand{
22693 \backslash
22694 TabBesBeg}{%
22695 \begin_inset Newline newline
22696 \end_inset
22697
22698
22699 \begin_inset ERT
22700 status collapsed
22701
22702 \begin_layout Plain Layout
22703
22704
22705 \backslash
22706 hphantom{ }
22707 \end_layout
22708
22709 \end_inset
22710
22711
22712 \backslash
22713 let
22714 \backslash
22715 MyTable
22716 \backslash
22717 table
22718 \begin_inset Newline newline
22719 \end_inset
22720
22721
22722 \begin_inset ERT
22723 status collapsed
22724
22725 \begin_layout Plain Layout
22726
22727
22728 \backslash
22729 hphantom{ }
22730 \end_layout
22731
22732 \end_inset
22733
22734
22735 \backslash
22736 let
22737 \backslash
22738 MyEndtable
22739 \backslash
22740 endtable
22741 \begin_inset Newline newline
22742 \end_inset
22743
22744
22745 \begin_inset ERT
22746 status collapsed
22747
22748 \begin_layout Plain Layout
22749
22750
22751 \backslash
22752 hphantom{ }
22753 \end_layout
22754
22755 \end_inset
22756
22757
22758 \backslash
22759 renewenvironment{table}{
22760 \backslash
22761 begin{SCtable}}{
22762 \backslash
22763 end{SCtable}}}
22764 \end_layout
22765
22766 \begin_layout Standard
22767
22768 \series bold
22769
22770 \backslash
22771 newcommand{
22772 \backslash
22773 TabBesEnd}{%
22774 \begin_inset Newline newline
22775 \end_inset
22776
22777
22778 \begin_inset ERT
22779 status collapsed
22780
22781 \begin_layout Plain Layout
22782
22783
22784 \backslash
22785 hphantom{ }
22786 \end_layout
22787
22788 \end_inset
22789
22790
22791 \backslash
22792 let
22793 \backslash
22794 table
22795 \backslash
22796 MyTable
22797 \begin_inset Newline newline
22798 \end_inset
22799
22800
22801 \begin_inset ERT
22802 status collapsed
22803
22804 \begin_layout Plain Layout
22805
22806
22807 \backslash
22808 hphantom{ }
22809 \end_layout
22810
22811 \end_inset
22812
22813
22814 \backslash
22815 let
22816 \backslash
22817 endtable
22818 \backslash
22819 MyEndtable
22820 \end_layout
22821
22822 \begin_layout Standard
22823
22824 \series bold
22825
22826 \backslash
22827 newcommand{
22828 \backslash
22829 FigBesBeg}{%
22830 \begin_inset Newline newline
22831 \end_inset
22832
22833
22834 \begin_inset ERT
22835 status collapsed
22836
22837 \begin_layout Plain Layout
22838
22839
22840 \backslash
22841 hphantom{ }
22842 \end_layout
22843
22844 \end_inset
22845
22846
22847 \backslash
22848 let
22849 \backslash
22850 MyFigure
22851 \backslash
22852 figure
22853 \begin_inset Newline newline
22854 \end_inset
22855
22856
22857 \begin_inset ERT
22858 status collapsed
22859
22860 \begin_layout Plain Layout
22861
22862
22863 \backslash
22864 hphantom{ }
22865 \end_layout
22866
22867 \end_inset
22868
22869
22870 \backslash
22871 let
22872 \backslash
22873 MyEndfigure
22874 \backslash
22875 endfigure
22876 \begin_inset Newline newline
22877 \end_inset
22878
22879
22880 \begin_inset ERT
22881 status collapsed
22882
22883 \begin_layout Plain Layout
22884
22885
22886 \backslash
22887 hphantom{ }
22888 \end_layout
22889
22890 \end_inset
22891
22892
22893 \backslash
22894 renewenvironment{figure}{
22895 \backslash
22896 begin{SCfigure}}{
22897 \backslash
22898 end{SCfigure}}}
22899 \end_layout
22900
22901 \begin_layout Standard
22902
22903 \series bold
22904
22905 \backslash
22906 newcommand{
22907 \backslash
22908 FigBesEnd}{%
22909 \begin_inset Newline newline
22910 \end_inset
22911
22912
22913 \begin_inset ERT
22914 status collapsed
22915
22916 \begin_layout Plain Layout
22917
22918
22919 \backslash
22920 hphantom{ }
22921 \end_layout
22922
22923 \end_inset
22924
22925
22926 \backslash
22927 let
22928 \backslash
22929 figure
22930 \backslash
22931 MyFigure
22932 \begin_inset Newline newline
22933 \end_inset
22934
22935
22936 \begin_inset ERT
22937 status collapsed
22938
22939 \begin_layout Plain Layout
22940
22941
22942 \backslash
22943 hphantom{ }
22944 \end_layout
22945
22946 \end_inset
22947
22948
22949 \backslash
22950 let
22951 \backslash
22952 endfigure
22953 \backslash
22954 MyEndfigure}
22955 \end_layout
22956
22957 \begin_layout Standard
22958
22959 \lyxline
22960
22961 \end_layout
22962
22963 \begin_layout Standard
22964 The commands allow you to redefine the floats so that the caption is set
22965  on the side.
22966  For figure floats use the command
22967 \end_layout
22968
22969 \begin_layout Standard
22970
22971 \series bold
22972
22973 \backslash
22974 FigBesBeg
22975 \end_layout
22976
22977 \begin_layout Standard
22978 in TeX-Code before the float.
22979  Behind the float insert the command
22980 \end_layout
22981
22982 \begin_layout Standard
22983
22984 \series bold
22985
22986 \backslash
22987 FigBesEnd
22988 \end_layout
22989
22990 \begin_layout Standard
22991 in TeX-Code to get back to the original float definition.
22992 \end_layout
22993
22994 \begin_layout Standard
22995 For table floats use the corresponding commands
22996 \end_layout
22997
22998 \begin_layout Standard
22999
23000 \series bold
23001
23002 \backslash
23003 TabBesBeg
23004 \series default
23005  and 
23006 \series bold
23007
23008 \backslash
23009 TabBesEnd
23010 \end_layout
23011
23012 \begin_layout Standard
23013 Figure
23014 \begin_inset space ~
23015 \end_inset
23016
23017
23018 \begin_inset CommandInset ref
23019 LatexCommand ref
23020 reference "fig:cap-beside-fig"
23021
23022 \end_inset
23023
23024  and Table
23025 \begin_inset space ~
23026 \end_inset
23027
23028
23029 \begin_inset CommandInset ref
23030 LatexCommand ref
23031 reference "tab:cap-beside-tab"
23032
23033 \end_inset
23034
23035  are examples where the caption is set beside.
23036 \end_layout
23037
23038 \begin_layout Standard
23039 You can see in the examples that the caption text appears at the top of
23040  the floats for table floats and at the bottom for figure floats.
23041  To change this, you can use the command
23042 \end_layout
23043
23044 \begin_layout Standard
23045
23046 \series bold
23047
23048 \backslash
23049 sidecaptionvpos{float type}{placement}
23050 \end_layout
23051
23052 \begin_layout Standard
23053 in the document preamble or in TeX-Code before the float.
23054  The float type is either 
23055 \family sans
23056 figure
23057 \family default
23058  or 
23059 \family sans
23060 table
23061 \family default
23062 , the placement can be 
23063 \begin_inset Quotes eld
23064 \end_inset
23065
23066
23067 \family sans
23068 t
23069 \family default
23070
23071 \begin_inset Quotes erd
23072 \end_inset
23073
23074  for top, 
23075 \begin_inset Quotes eld
23076 \end_inset
23077
23078
23079 \family sans
23080 c
23081 \family default
23082
23083 \begin_inset Quotes erd
23084 \end_inset
23085
23086  for center, or 
23087 \begin_inset Quotes eld
23088 \end_inset
23089
23090
23091 \family sans
23092 b
23093 \family default
23094
23095 \begin_inset Quotes erd
23096 \end_inset
23097
23098  for bottom.
23099  To have for example the caption of figure floats vertically centered, use
23100  the command
23101 \end_layout
23102
23103 \begin_layout Standard
23104
23105 \series bold
23106
23107 \backslash
23108 sidecaptionvpos{figure}{c}
23109 \end_layout
23110
23111 \begin_layout Standard
23112 This was used for Figure
23113 \begin_inset space ~
23114 \end_inset
23115
23116
23117 \begin_inset CommandInset ref
23118 LatexCommand ref
23119 reference "fig:cap-beside-fig-2"
23120
23121 \end_inset
23122
23123 .
23124 \end_layout
23125
23126 \begin_layout Standard
23127 \begin_inset VSpace medskip
23128 \end_inset
23129
23130 For more information about the package 
23131 \series bold
23132 sidecap
23133 \series default
23134  we refer to its documentation 
23135 \begin_inset CommandInset citation
23136 LatexCommand cite
23137 key "sidecap"
23138
23139 \end_inset
23140
23141 .
23142 \end_layout
23143
23144 \begin_layout Standard
23145 \begin_inset Note Greyedout
23146 status open
23147
23148 \begin_layout Plain Layout
23149
23150 \series bold
23151 Note:
23152 \series default
23153  The LaTeX-package 
23154 \series bold
23155 hypcap
23156 \series default
23157
23158 \begin_inset Index
23159 status collapsed
23160
23161 \begin_layout Plain Layout
23162 LaTeX-packages ! hypcap
23163 \end_layout
23164
23165 \end_inset
23166
23167 , described in section
23168 \begin_inset space ~
23169 \end_inset
23170
23171
23172 \begin_inset CommandInset ref
23173 LatexCommand ref
23174 reference "sub:Reference-Position"
23175
23176 \end_inset
23177
23178 , has no effect on floats with the caption set beside.
23179 \end_layout
23180
23181 \end_inset
23182
23183
23184 \end_layout
23185
23186 \begin_layout Standard
23187 \begin_inset ERT
23188 status collapsed
23189
23190 \begin_layout Plain Layout
23191
23192
23193 \backslash
23194 FigBesBeg 
23195 \end_layout
23196
23197 \end_inset
23198
23199
23200 \end_layout
23201
23202 \begin_layout Standard
23203 \begin_inset Float figure
23204 wide false
23205 sideways false
23206 status open
23207
23208 \begin_layout Plain Layout
23209 \begin_inset Graphics
23210         filename clipart/escher-lsd.eps
23211         scale 75
23212         scaleBeforeRotation
23213
23214 \end_inset
23215
23216
23217 \end_layout
23218
23219 \begin_layout Plain Layout
23220 \begin_inset Caption
23221
23222 \begin_layout Plain Layout
23223 \begin_inset CommandInset label
23224 LatexCommand label
23225 name "fig:cap-beside-fig"
23226
23227 \end_inset
23228
23229 This is a caption beside a figure.
23230 \end_layout
23231
23232 \end_inset
23233
23234
23235 \end_layout
23236
23237 \end_inset
23238
23239
23240 \end_layout
23241
23242 \begin_layout Standard
23243 \begin_inset ERT
23244 status collapsed
23245
23246 \begin_layout Plain Layout
23247
23248
23249 \backslash
23250 TabBesBeg 
23251 \end_layout
23252
23253 \end_inset
23254
23255
23256 \end_layout
23257
23258 \begin_layout Standard
23259 \begin_inset Float table
23260 wide false
23261 sideways false
23262 status open
23263
23264 \begin_layout Plain Layout
23265 \begin_inset Caption
23266
23267 \begin_layout Plain Layout
23268 \begin_inset CommandInset label
23269 LatexCommand label
23270 name "tab:cap-beside-tab"
23271
23272 \end_inset
23273
23274 This is a caption beside a table.
23275 \end_layout
23276
23277 \end_inset
23278
23279
23280 \end_layout
23281
23282 \begin_layout Plain Layout
23283 \begin_inset Tabular
23284 <lyxtabular version="3" rows="4" columns="5">
23285 <features>
23286 <column alignment="center" valignment="top" width="0">
23287 <column alignment="center" valignment="top" width="0">
23288 <column alignment="center" valignment="top" width="0">
23289 <column alignment="center" valignment="top" width="0">
23290 <column alignment="center" valignment="top" width="0">
23291 <row>
23292 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23293 \begin_inset Text
23294
23295 \begin_layout Plain Layout
23296 a
23297 \end_layout
23298
23299 \end_inset
23300 </cell>
23301 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23302 \begin_inset Text
23303
23304 \begin_layout Plain Layout
23305
23306 \end_layout
23307
23308 \end_inset
23309 </cell>
23310 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23311 \begin_inset Text
23312
23313 \begin_layout Plain Layout
23314 b
23315 \end_layout
23316
23317 \end_inset
23318 </cell>
23319 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23320 \begin_inset Text
23321
23322 \begin_layout Plain Layout
23323
23324 \end_layout
23325
23326 \end_inset
23327 </cell>
23328 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23329 \begin_inset Text
23330
23331 \begin_layout Plain Layout
23332 c
23333 \end_layout
23334
23335 \end_inset
23336 </cell>
23337 </row>
23338 <row>
23339 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23340 \begin_inset Text
23341
23342 \begin_layout Plain Layout
23343
23344 \end_layout
23345
23346 \end_inset
23347 </cell>
23348 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23349 \begin_inset Text
23350
23351 \begin_layout Plain Layout
23352 d
23353 \end_layout
23354
23355 \end_inset
23356 </cell>
23357 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23358 \begin_inset Text
23359
23360 \begin_layout Plain Layout
23361
23362 \end_layout
23363
23364 \end_inset
23365 </cell>
23366 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23367 \begin_inset Text
23368
23369 \begin_layout Plain Layout
23370 e
23371 \end_layout
23372
23373 \end_inset
23374 </cell>
23375 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23376 \begin_inset Text
23377
23378 \begin_layout Plain Layout
23379
23380 \end_layout
23381
23382 \end_inset
23383 </cell>
23384 </row>
23385 <row>
23386 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23387 \begin_inset Text
23388
23389 \begin_layout Plain Layout
23390 f
23391 \end_layout
23392
23393 \end_inset
23394 </cell>
23395 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23396 \begin_inset Text
23397
23398 \begin_layout Plain Layout
23399
23400 \end_layout
23401
23402 \end_inset
23403 </cell>
23404 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23405 \begin_inset Text
23406
23407 \begin_layout Plain Layout
23408 g
23409 \end_layout
23410
23411 \end_inset
23412 </cell>
23413 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23414 \begin_inset Text
23415
23416 \begin_layout Plain Layout
23417
23418 \end_layout
23419
23420 \end_inset
23421 </cell>
23422 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23423 \begin_inset Text
23424
23425 \begin_layout Plain Layout
23426 h
23427 \end_layout
23428
23429 \end_inset
23430 </cell>
23431 </row>
23432 <row>
23433 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23434 \begin_inset Text
23435
23436 \begin_layout Plain Layout
23437
23438 \end_layout
23439
23440 \end_inset
23441 </cell>
23442 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23443 \begin_inset Text
23444
23445 \begin_layout Plain Layout
23446 i
23447 \end_layout
23448
23449 \end_inset
23450 </cell>
23451 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23452 \begin_inset Text
23453
23454 \begin_layout Plain Layout
23455
23456 \end_layout
23457
23458 \end_inset
23459 </cell>
23460 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23461 \begin_inset Text
23462
23463 \begin_layout Plain Layout
23464 j
23465 \end_layout
23466
23467 \end_inset
23468 </cell>
23469 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23470 \begin_inset Text
23471
23472 \begin_layout Plain Layout
23473
23474 \end_layout
23475
23476 \end_inset
23477 </cell>
23478 </row>
23479 </lyxtabular>
23480
23481 \end_inset
23482
23483
23484 \end_layout
23485
23486 \end_inset
23487
23488
23489 \end_layout
23490
23491 \begin_layout Standard
23492 \begin_inset ERT
23493 status collapsed
23494
23495 \begin_layout Plain Layout
23496
23497
23498 \backslash
23499 TabBesEnd
23500 \end_layout
23501
23502 \end_inset
23503
23504
23505 \end_layout
23506
23507 \begin_layout Standard
23508 \begin_inset ERT
23509 status collapsed
23510
23511 \begin_layout Plain Layout
23512
23513
23514 \backslash
23515 sidecaptionvpos{figure}{c}
23516 \end_layout
23517
23518 \end_inset
23519
23520
23521 \begin_inset Float figure
23522 wide false
23523 sideways false
23524 status open
23525
23526 \begin_layout Plain Layout
23527 \begin_inset Graphics
23528         filename clipart/escher-lsd.eps
23529         scale 75
23530         scaleBeforeRotation
23531
23532 \end_inset
23533
23534
23535 \end_layout
23536
23537 \begin_layout Plain Layout
23538 \begin_inset Caption
23539
23540 \begin_layout Plain Layout
23541 \begin_inset CommandInset label
23542 LatexCommand label
23543 name "fig:cap-beside-fig-2"
23544
23545 \end_inset
23546
23547 This is a vertically centered caption beside a figure.
23548 \end_layout
23549
23550 \end_inset
23551
23552
23553 \end_layout
23554
23555 \end_inset
23556
23557
23558 \end_layout
23559
23560 \begin_layout Standard
23561 \begin_inset ERT
23562 status collapsed
23563
23564 \begin_layout Plain Layout
23565
23566
23567 \backslash
23568 FigBesEnd
23569 \end_layout
23570
23571 \end_inset
23572
23573
23574 \end_layout
23575
23576 \begin_layout Standard
23577 \begin_inset ERT
23578 status collapsed
23579
23580 \begin_layout Plain Layout
23581
23582
23583 \backslash
23584 else
23585 \end_layout
23586
23587 \end_inset
23588
23589
23590 \begin_inset Note Note
23591 status open
23592
23593 \begin_layout Plain Layout
23594 The following will be displayed when the LaTeX-package 
23595 \series bold
23596 sidecap
23597 \series default
23598  is not installed:
23599 \end_layout
23600
23601 \end_inset
23602
23603
23604 \end_layout
23605
23606 \begin_layout Standard
23607 You need to install the LaTeX-package 
23608 \series bold
23609 sidecap
23610 \series default
23611  to see the following part of this section in the output.
23612 \end_layout
23613
23614 \begin_layout Standard
23615 \begin_inset ERT
23616 status collapsed
23617
23618 \begin_layout Plain Layout
23619
23620
23621 \backslash
23622 fi
23623 \end_layout
23624
23625 \end_inset
23626
23627
23628 \end_layout
23629
23630 \begin_layout Section
23631 Listings of Floats
23632 \begin_inset Index
23633 status collapsed
23634
23635 \begin_layout Plain Layout
23636 Floats ! Float Lists
23637 \end_layout
23638
23639 \end_inset
23640
23641
23642 \end_layout
23643
23644 \begin_layout Standard
23645 Similar to the the table of contents where the sections of the document
23646  are listed, there are listings for all float types, like the figures of
23647  the documents.
23648  You can insert them via the 
23649 \family sans
23650 Insert\SpecialChar \menuseparator
23651 List
23652 \begin_inset space ~
23653 \end_inset
23654
23655 /
23656 \begin_inset space ~
23657 \end_inset
23658
23659 TOC
23660 \family default
23661  sub menus.
23662 \end_layout
23663
23664 \begin_layout Standard
23665 The list entries are the float captions or its short title, the float number,
23666  and the page number where they appear in the document.
23667 \end_layout
23668
23669 \begin_layout Standard
23670 You can find the list of figures and tables at the end of this document.
23671 \end_layout
23672
23673 \begin_layout Chapter
23674 Notes
23675 \end_layout
23676
23677 \begin_layout Section
23678 LyX Notes
23679 \begin_inset Index
23680 status collapsed
23681
23682 \begin_layout Plain Layout
23683 Notes ! LyX Notes
23684 \end_layout
23685
23686 \end_inset
23687
23688
23689 \end_layout
23690
23691 \begin_layout Standard
23692 Notes are inserted with the toolbar button 
23693 \begin_inset Graphics
23694         filename ../images/note-insert.png
23695         scale 85
23696         scaleBeforeRotation
23697
23698 \end_inset
23699
23700  or the menu 
23701 \family sans
23702 Insert\SpecialChar \menuseparator
23703 Note
23704 \family default
23705 .
23706  There are three types of notes:
23707 \end_layout
23708
23709 \begin_layout Description
23710 LyX
23711 \begin_inset space ~
23712 \end_inset
23713
23714 Note This note type is for internal notes that won't appear in the output.
23715  Its note-box looks like this:
23716 \begin_inset Newline newline
23717 \end_inset
23718
23719
23720 \begin_inset Newline newline
23721 \end_inset
23722
23723
23724 \begin_inset Graphics
23725         filename clipart/LyXNoteImageQt4.png
23726         display false
23727         scale 85
23728         scaleBeforeRotation
23729
23730 \end_inset
23731
23732  
23733 \begin_inset Note Note
23734 status open
23735
23736 \begin_layout Plain Layout
23737 This is text in a note box that doesn't appear in the output.
23738 \end_layout
23739
23740 \end_inset
23741
23742
23743 \end_layout
23744
23745 \begin_layout Description
23746 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
23747 ent, when you export the document to LaTeX via the menu 
23748 \family sans
23749 File\SpecialChar \menuseparator
23750 Export\SpecialChar \menuseparator
23751 LaTeX (pdflatex) / (plain)
23752 \family default
23753 .
23754  Its note-box looks like this:
23755 \begin_inset Newline newline
23756 \end_inset
23757
23758
23759 \begin_inset Newline newline
23760 \end_inset
23761
23762
23763 \begin_inset Graphics
23764         filename clipart/CommentNoteImageQt4.png
23765         display false
23766         scale 85
23767         scaleBeforeRotation
23768
23769 \end_inset
23770
23771  
23772 \begin_inset Note Comment
23773 status open
23774
23775 \begin_layout Plain Layout
23776 This is text in a note box that only appears as comment in LaTeX-files.
23777 \end_layout
23778
23779 \end_inset
23780
23781
23782 \end_layout
23783
23784 \begin_layout Description
23785 Greyed
23786 \begin_inset space ~
23787 \end_inset
23788
23789 Out This note will appear in the output as grey text.
23790  Its note-box looks like this:
23791 \begin_inset Newline newline
23792 \end_inset
23793
23794
23795 \begin_inset Newline newline
23796 \end_inset
23797
23798
23799 \begin_inset Graphics
23800         filename clipart/GreyedOutNoteImageQt4.png
23801         display false
23802         scale 85
23803         scaleBeforeRotation
23804
23805 \end_inset
23806
23807
23808 \begin_inset Newline newline
23809 \end_inset
23810
23811
23812 \begin_inset ERT
23813 status collapsed
23814
23815 \begin_layout Plain Layout
23816
23817
23818 \backslash
23819 renewenvironment{lyxgreyedout}
23820 \end_layout
23821
23822 \begin_layout Plain Layout
23823
23824 {
23825 \backslash
23826 textcolor[gray]{0.8}
23827 \backslash
23828 bgroup}{
23829 \backslash
23830 egroup}
23831 \end_layout
23832
23833 \end_inset
23834
23835
23836 \begin_inset Note Greyedout
23837 status open
23838
23839 \begin_layout Plain Layout
23840 This is text
23841 \begin_inset Foot
23842 status open
23843
23844 \begin_layout Plain Layout
23845 This is an example footnote within a greyed out note.
23846 \end_layout
23847
23848 \end_inset
23849
23850  of a comment that appears in the output as grey text.
23851 \end_layout
23852
23853 \end_inset
23854
23855
23856 \begin_inset ERT
23857 status collapsed
23858
23859 \begin_layout Plain Layout
23860
23861
23862 \backslash
23863 renewenvironment{lyxgreyedout}
23864 \end_layout
23865
23866 \begin_layout Plain Layout
23867
23868 {
23869 \backslash
23870 textcolor{blue}
23871 \backslash
23872 bgroup}{
23873 \backslash
23874 egroup}
23875 \end_layout
23876
23877 \end_inset
23878
23879
23880 \begin_inset Note Note
23881 status collapsed
23882
23883 \begin_layout Plain Layout
23884 The greyed out note is here redefined to show it with the original LyX definitio
23885 n because greyed out notes are redefined in the preamble of this document,
23886  as described below, to have blue text.
23887 \end_layout
23888
23889 \end_inset
23890
23891
23892 \begin_inset Newline newline
23893 \end_inset
23894
23895
23896 \begin_inset Newline newline
23897 \end_inset
23898
23899 As you can see in the example, the first line of greyed out notes is a bit
23900  indented and greyed out notes can have footnotes.
23901 \end_layout
23902
23903 \begin_layout Standard
23904 \begin_inset VSpace bigskip
23905 \end_inset
23906
23907 When you use the toolbar button 
23908 \begin_inset Graphics
23909         filename ../images/note-insert.png
23910         scale 85
23911         scaleBeforeRotation
23912
23913 \end_inset
23914
23915  to insert notes, a 
23916 \family sans
23917 LyX
23918 \begin_inset space ~
23919 \end_inset
23920
23921 Note
23922 \family default
23923  is inserted.
23924  You can switch between the five note types by right-clicking on the note-box.
23925  
23926 \family roman
23927 \series medium
23928 \bar no
23929 If you want to turn existing text into a note, mark it and click on the
23930  note
23931 \family default
23932 \series default
23933 \bar default
23934  toolbar 
23935 \family roman
23936 \series medium
23937 \bar no
23938 button
23939 \family default
23940 \series default
23941 \bar default
23942 .
23943  To change a note to text, press the backspace key when the cursor is in
23944  the first position of a note, or press the deletey key when the cursor
23945  is in the very last position of the note, respectively.
23946 \end_layout
23947
23948 \begin_layout Standard
23949 \begin_inset VSpace bigskip
23950 \end_inset
23951
23952 You can change the text color of the greyed out notes in the preamble with
23953  the following command:
23954 \end_layout
23955
23956 \begin_layout Standard
23957
23958 \series bold
23959
23960 \backslash
23961 renewenvironment{lyxgreyedout}
23962 \begin_inset Newline newline
23963 \end_inset
23964
23965
23966 \begin_inset ERT
23967 status collapsed
23968
23969 \begin_layout Plain Layout
23970
23971
23972 \backslash
23973 hphantom{ }
23974 \end_layout
23975
23976 \end_inset
23977
23978 {
23979 \backslash
23980 textcolor{color}
23981 \backslash
23982 bgroup}{
23983 \backslash
23984 egroup}
23985 \end_layout
23986
23987 \begin_layout Standard
23988 The available colors and the method to define own colors is explained in
23989  section
23990 \begin_inset space ~
23991 \end_inset
23992
23993
23994 \begin_inset CommandInset ref
23995 LatexCommand ref
23996 reference "sec:Colored-Tables"
23997
23998 \end_inset
23999
24000 .
24001 \end_layout
24002
24003 \begin_layout Standard
24004 Notes that appear in blue in this document are set using greyed out notes
24005  with blue text.
24006 \end_layout
24007
24008 \begin_layout Section
24009 Footnotes
24010 \begin_inset CommandInset label
24011 LatexCommand label
24012 name "sec:Footnotes"
24013
24014 \end_inset
24015
24016
24017 \begin_inset Index
24018 status collapsed
24019
24020 \begin_layout Plain Layout
24021 Notes ! Footnotes
24022 \end_layout
24023
24024 \end_inset
24025
24026
24027 \begin_inset Index
24028 status collapsed
24029
24030 \begin_layout Plain Layout
24031 Footnotes
24032 \end_layout
24033
24034 \end_inset
24035
24036
24037 \end_layout
24038
24039 \begin_layout Standard
24040 Footnotes can be inserted using the toolbar button 
24041 \begin_inset Graphics
24042         filename ../images/footnote-insert.png
24043         scale 85
24044         scaleBeforeRotation
24045
24046 \end_inset
24047
24048  or the menu 
24049 \family sans
24050 Insert\SpecialChar \menuseparator
24051 Footnote
24052 \family default
24053 .
24054  
24055 \family roman
24056 \series medium
24057 \bar no
24058 You'll see
24059 \family default
24060 \series default
24061 \bar default
24062  then the following footnote-box: 
24063 \begin_inset Graphics
24064         filename clipart/footnoteQt4.png
24065         scale 80
24066         scaleBeforeRotation
24067
24068 \end_inset
24069
24070  
24071 \family roman
24072 \series medium
24073 \bar no
24074 where you can enter the footnote text.
24075  If you want to turn existing text into a footnote, mark it and click on
24076  the footnote
24077 \family default
24078 \series default
24079 \bar default
24080  toolbar 
24081 \family roman
24082 \series medium
24083 \bar no
24084 button
24085 \family default
24086 \series default
24087 \bar default
24088 .
24089  To change a 
24090 \family roman
24091 \series medium
24092 \bar no
24093 footnote
24094 \family default
24095 \series default
24096 \bar default
24097  to text, press the Backspace key when the cursor is in the first position
24098  of a 
24099 \family roman
24100 \series medium
24101 \bar no
24102 footnote
24103 \family default
24104 \series default
24105 \bar default
24106 , or press the Delete key when the cursor is in the very last position of
24107  the 
24108 \family roman
24109 \series medium
24110 \bar no
24111 footnote
24112 \family default
24113 \series default
24114 \bar default
24115 , respectively.
24116 \end_layout
24117
24118 \begin_layout Standard
24119 Here is an example footnote:
24120 \family roman
24121 \series medium
24122 \bar no
24123
24124 \begin_inset Foot
24125 status open
24126
24127 \begin_layout Plain Layout
24128 \begin_inset CommandInset label
24129 LatexCommand label
24130 name "foot:This-is-an"
24131
24132 \end_inset
24133
24134 This is an example footnote.
24135 \end_layout
24136
24137 \end_inset
24138
24139
24140 \family default
24141 \series default
24142 \bar default
24143
24144 \begin_inset ERT
24145 status collapsed
24146
24147 \begin_layout Plain Layout
24148
24149
24150 \backslash
24151 newcounter{MyRepeatFoot}
24152 \end_layout
24153
24154 \begin_layout Plain Layout
24155
24156
24157 \backslash
24158 setcounter{MyRepeatFoot}{
24159 \backslash
24160 thefootnote}
24161 \end_layout
24162
24163 \end_inset
24164
24165
24166 \end_layout
24167
24168 \begin_layout Standard
24169 The footnote will appear in the output as a superscript number at the text
24170  position where the footnote box is placed.
24171  The footnote text is placed at the bottom of the current page.
24172  The footnote number is calculated by LaTeX, the numbers are consecutive.
24173  It depends on your document-class, if the footnote number is reset for
24174  every chapter.
24175 \end_layout
24176
24177 \begin_layout Standard
24178 Footnotes can be referenced like floats: Insert a label into the footnote
24179  and cross-reference this label in the text as described in section
24180 \begin_inset space ~
24181 \end_inset
24182
24183
24184 \begin_inset CommandInset ref
24185 LatexCommand ref
24186 reference "sec:Referencing-Floats"
24187
24188 \end_inset
24189
24190 .
24191 \begin_inset Newline newline
24192 \end_inset
24193
24194 This is a cross-reference of Footnote
24195 \begin_inset space ~
24196 \end_inset
24197
24198
24199 \begin_inset CommandInset ref
24200 LatexCommand ref
24201 reference "foot:This-is-an"
24202
24203 \end_inset
24204
24205 .
24206 \end_layout
24207
24208 \begin_layout Standard
24209 \begin_inset VSpace defskip
24210 \end_inset
24211
24212 To use footnotes within tables, you have to use minipages, see section
24213 \begin_inset space ~
24214 \end_inset
24215
24216
24217 \begin_inset CommandInset ref
24218 LatexCommand ref
24219 reference "sec:Minipages"
24220
24221 \end_inset
24222
24223 .
24224  Footnotes within longtables are described in section
24225 \begin_inset space ~
24226 \end_inset
24227
24228
24229 \begin_inset CommandInset ref
24230 LatexCommand ref
24231 reference "sub:Footnotes-in-Longtables"
24232
24233 \end_inset
24234
24235 .
24236 \end_layout
24237
24238 \begin_layout Standard
24239 \begin_inset VSpace defskip
24240 \end_inset
24241
24242 To create only a mark for a footnote, use the command 
24243 \series bold
24244
24245 \backslash
24246 footnotemark[number]
24247 \series default
24248  in TeX-Code.
24249  This is used when you have the same annotation several times in a text
24250  but doesn't want to print the footnote text every time.
24251 \begin_inset Newline newline
24252 \end_inset
24253
24254 As you don't know the number of the repeating footnote while you are writing
24255  the text, you have to store its number.
24256  For the following footnote mark example, these commands were inserted in
24257  TeX-Code behind Footnote
24258 \begin_inset space ~
24259 \end_inset
24260
24261
24262 \begin_inset CommandInset ref
24263 LatexCommand ref
24264 reference "foot:This-is-an"
24265
24266 \end_inset
24267
24268  to store the footnote number:
24269 \end_layout
24270
24271 \begin_layout Standard
24272
24273 \series bold
24274
24275 \backslash
24276 newcounter{MyRepeatFoot}
24277 \begin_inset Newline newline
24278 \end_inset
24279
24280
24281 \backslash
24282 setcounter{MyRepeatFoot}{
24283 \backslash
24284 thefootnote}
24285 \end_layout
24286
24287 \begin_layout Standard
24288 The footnote mark was then created with this command:
24289 \end_layout
24290
24291 \begin_layout Standard
24292
24293 \series bold
24294
24295 \backslash
24296 footnotemark[
24297 \backslash
24298 theMyRepeatFoot]
24299 \end_layout
24300
24301 \begin_layout Standard
24302 Here is an example footnote mark:
24303 \family roman
24304 \series medium
24305 \bar no
24306
24307 \begin_inset ERT
24308 status collapsed
24309
24310 \begin_layout Plain Layout
24311
24312
24313 \backslash
24314 footnotemark[
24315 \backslash
24316 theMyRepeatFoot]
24317 \end_layout
24318
24319 \end_inset
24320
24321
24322 \end_layout
24323
24324 \begin_layout Subsection
24325 Footnote Numbering
24326 \begin_inset CommandInset label
24327 LatexCommand label
24328 name "sub:Footnote-Numbering"
24329
24330 \end_inset
24331
24332
24333 \begin_inset Index
24334 status collapsed
24335
24336 \begin_layout Plain Layout
24337 Footnotes ! Numbering
24338 \end_layout
24339
24340 \end_inset
24341
24342
24343 \end_layout
24344
24345 \begin_layout Standard
24346 To reset the footnote number back to 1 after each section
24347 \family roman
24348 , add this command to your document preamble:
24349 \end_layout
24350
24351 \begin_layout Standard
24352
24353 \series bold
24354
24355 \backslash
24356 @addtoreset{footnote}{section}
24357 \end_layout
24358
24359 \begin_layout Standard
24360 \begin_inset VSpace bigskip
24361 \end_inset
24362
24363 The following preamble command changes the footnote numbering style to small
24364  roman numerals:
24365 \end_layout
24366
24367 \begin_layout Standard
24368
24369 \series bold
24370
24371 \backslash
24372 renewcommand{
24373 \backslash
24374 thefootnote}{
24375 \backslash
24376 roman{footnote}}
24377 \end_layout
24378
24379 \begin_layout Standard
24380 \begin_inset ERT
24381 status collapsed
24382
24383 \begin_layout Plain Layout
24384
24385
24386 \backslash
24387 renewcommand{
24388 \backslash
24389 thefootnote}{
24390 \backslash
24391 roman{footnote}}
24392 \end_layout
24393
24394 \end_inset
24395
24396  This is a footnote with roman numbering:
24397 \begin_inset Foot
24398 status open
24399
24400 \begin_layout Plain Layout
24401 This is an example footnote with roman numbering.
24402 \end_layout
24403
24404 \end_inset
24405
24406
24407 \end_layout
24408
24409 \begin_layout Standard
24410 To change the numbering style to capital roman numerals replace in the command
24411  above 
24412 \series bold
24413
24414 \backslash
24415 roman
24416 \series default
24417  by 
24418 \series bold
24419
24420 \backslash
24421 Roman
24422 \series default
24423 .
24424  To 
24425 \begin_inset Quotes eld
24426 \end_inset
24427
24428 number
24429 \begin_inset Quotes erd
24430 \end_inset
24431
24432  footnotes with capital or small Latin letters use 
24433 \series bold
24434
24435 \backslash
24436 Alph
24437 \series default
24438  or 
24439 \series bold
24440
24441 \backslash
24442 alph
24443 \series default
24444 , respectively.
24445  To 
24446 \begin_inset Quotes eld
24447 \end_inset
24448
24449 number
24450 \begin_inset Quotes erd
24451 \end_inset
24452
24453  footnotes with symbols use 
24454 \series bold
24455
24456 \backslash
24457 fnsymbol
24458 \series default
24459 .
24460 \end_layout
24461
24462 \begin_layout Standard
24463 \begin_inset Note Greyedout
24464 status open
24465
24466 \begin_layout Plain Layout
24467
24468 \series bold
24469 Note:
24470 \series default
24471  You can only number 26 footnotes with Latin letters, because this numbering
24472  is limited to single letters.
24473 \end_layout
24474
24475 \end_inset
24476
24477
24478 \begin_inset Newline newline
24479 \end_inset
24480
24481
24482 \begin_inset Note Greyedout
24483 status open
24484
24485 \begin_layout Plain Layout
24486
24487 \series bold
24488 Note:
24489 \series default
24490  You can only number 9 footnotes with symbols.
24491 \end_layout
24492
24493 \end_inset
24494
24495
24496 \end_layout
24497
24498 \begin_layout Standard
24499 To return to the default numbering style when you changed to another one,
24500  use 
24501 \series bold
24502
24503 \backslash
24504 arabic
24505 \series default
24506  instead of 
24507 \series bold
24508
24509 \backslash
24510 roman
24511 \series default
24512  in the command above.
24513 \begin_inset ERT
24514 status collapsed
24515
24516 \begin_layout Plain Layout
24517
24518
24519 \backslash
24520 renewcommand{
24521 \backslash
24522 thefootnote}{
24523 \backslash
24524 arabic{footnote}}
24525 \end_layout
24526
24527 \end_inset
24528
24529
24530 \end_layout
24531
24532 \begin_layout Standard
24533 \begin_inset VSpace bigskip
24534 \end_inset
24535
24536
24537 \end_layout
24538
24539 \begin_layout Standard
24540 If you want to have footnotes numbered in the scheme 
24541 \begin_inset Quotes eld
24542 \end_inset
24543
24544 chapter.footnote
24545 \begin_inset Quotes erd
24546 \end_inset
24547
24548 , add the following command to your document preamble:
24549 \end_layout
24550
24551 \begin_layout Standard
24552
24553 \series bold
24554
24555 \backslash
24556 numberwithin{footnote}{chapter}
24557 \end_layout
24558
24559 \begin_layout Standard
24560 To be able to use the command 
24561 \series bold
24562
24563 \backslash
24564 numberwithin
24565 \series default
24566 , set in the tab 
24567 \family sans
24568 Math
24569 \begin_inset space ~
24570 \end_inset
24571
24572 Options
24573 \family default
24574  in the document settings the option 
24575 \family sans
24576 Use
24577 \begin_inset space ~
24578 \end_inset
24579
24580 AMS
24581 \begin_inset space ~
24582 \end_inset
24583
24584 math
24585 \begin_inset space ~
24586 \end_inset
24587
24588 package
24589 \family default
24590 .
24591 \end_layout
24592
24593 \begin_layout Standard
24594 \begin_inset ERT
24595 status collapsed
24596
24597 \begin_layout Plain Layout
24598
24599
24600 \backslash
24601 numberwithin{footnote}{chapter}
24602 \end_layout
24603
24604 \end_inset
24605
24606 This is another example footnote:
24607 \series bold
24608
24609 \begin_inset Foot
24610 status open
24611
24612 \begin_layout Plain Layout
24613 This is a footnote numbered in the scheme 
24614 \begin_inset Quotes eld
24615 \end_inset
24616
24617 chapter.footnote
24618 \begin_inset Quotes erd
24619 \end_inset
24620
24621 .
24622 \end_layout
24623
24624 \end_inset
24625
24626
24627 \series default
24628
24629 \begin_inset ERT
24630 status collapsed
24631
24632 \begin_layout Plain Layout
24633
24634
24635 \backslash
24636 renewcommand{
24637 \backslash
24638 thefootnote}{
24639 \backslash
24640 arabic{footnote}}
24641 \end_layout
24642
24643 \end_inset
24644
24645
24646 \end_layout
24647
24648 \begin_layout Standard
24649 \begin_inset Note Greyedout
24650 status open
24651
24652 \begin_layout Plain Layout
24653
24654 \series bold
24655 Note:
24656 \series default
24657  
24658 \series bold
24659
24660 \backslash
24661 numberwithin
24662 \series default
24663  always prints out the footnote number as arabic number; previous redefinitions
24664  to get non-arabic numbers are overwritten.
24665 \end_layout
24666
24667 \end_inset
24668
24669
24670 \end_layout
24671
24672 \begin_layout Standard
24673 So to get for example the scheme 
24674 \begin_inset Quotes eld
24675 \end_inset
24676
24677 chapter.
24678 \backslash
24679 Roman{footnote}
24680 \begin_inset Quotes erd
24681 \end_inset
24682
24683 , use this command instead of 
24684 \series bold
24685
24686 \backslash
24687 numberwithin
24688 \series default
24689 :
24690 \end_layout
24691
24692 \begin_layout Standard
24693
24694 \series bold
24695
24696 \backslash
24697 renewcommand{
24698 \backslash
24699 thefootnote}{
24700 \backslash
24701 thechapter.
24702 \backslash
24703 Roman{footnote}}
24704 \end_layout
24705
24706 \begin_layout Subsection
24707 Footnote Placement
24708 \begin_inset Index
24709 status collapsed
24710
24711 \begin_layout Plain Layout
24712 Footnotes ! Placement
24713 \end_layout
24714
24715 \end_inset
24716
24717
24718 \end_layout
24719
24720 \begin_layout Standard
24721 If you have several footnotes in one page, they appear without vertical
24722  space between them at the bottom of the page.
24723  To make them better readable you can e.
24724 \begin_inset space \thinspace{}
24725 \end_inset
24726
24727 g.
24728 \begin_inset space \space{}
24729 \end_inset
24730
24731 add 1.5
24732 \begin_inset space \thinspace{}
24733 \end_inset
24734
24735 mm space with the following preamble command:
24736 \end_layout
24737
24738 \begin_layout Standard
24739
24740 \series bold
24741
24742 \backslash
24743 let
24744 \backslash
24745 myFoot
24746 \backslash
24747 footnote
24748 \begin_inset Newline newline
24749 \end_inset
24750
24751
24752 \backslash
24753 renewcommand{
24754 \backslash
24755 footnote}[1]{
24756 \backslash
24757 myFoot{#1
24758 \backslash
24759 vspace{1.5mm}}}
24760 \end_layout
24761
24762 \begin_layout Standard
24763 \begin_inset VSpace bigskip
24764 \end_inset
24765
24766 In a two-column document the footnotes appear at the bottom of every column,
24767  see Figure
24768 \begin_inset space ~
24769 \end_inset
24770
24771
24772 \begin_inset CommandInset ref
24773 LatexCommand ref
24774 reference "fig:Standard-footnote-placement"
24775
24776 \end_inset
24777
24778 .
24779  If the footnotes should only appear at the bottom of the right column,
24780  as in Figure
24781 \begin_inset space ~
24782 \end_inset
24783
24784
24785 \begin_inset CommandInset ref
24786 LatexCommand ref
24787 reference "fig:Footnote-placement-in"
24788
24789 \end_inset
24790
24791 , use the LaTeX-package 
24792 \series bold
24793 ftnright
24794 \series default
24795
24796 \begin_inset Index
24797 status collapsed
24798
24799 \begin_layout Plain Layout
24800 LaTeX-packages ! ftnright
24801 \end_layout
24802
24803 \end_inset
24804
24805  with this command in the document preamble:
24806 \end_layout
24807
24808 \begin_layout Standard
24809
24810 \series bold
24811
24812 \backslash
24813 usepackage{ftnright}
24814 \end_layout
24815
24816 \begin_layout Standard
24817 \begin_inset Float figure
24818 placement !h
24819 wide false
24820 sideways false
24821 status open
24822
24823 \begin_layout Plain Layout
24824 \begin_inset ERT
24825 status collapsed
24826
24827 \begin_layout Plain Layout
24828
24829
24830 \backslash
24831 framebox{
24832 \end_layout
24833
24834 \end_inset
24835
24836
24837 \begin_inset Graphics
24838         filename clipart/without_fntright.pdf
24839         width 100col%
24840         scaleBeforeRotation
24841
24842 \end_inset
24843
24844
24845 \begin_inset ERT
24846 status collapsed
24847
24848 \begin_layout Plain Layout
24849
24850 }
24851 \end_layout
24852
24853 \end_inset
24854
24855
24856 \end_layout
24857
24858 \begin_layout Plain Layout
24859 \begin_inset Caption
24860
24861 \begin_layout Plain Layout
24862 \begin_inset CommandInset label
24863 LatexCommand label
24864 name "fig:Standard-footnote-placement"
24865
24866 \end_inset
24867
24868 Standard footnote placement in two-column documents.
24869 \end_layout
24870
24871 \end_inset
24872
24873
24874 \end_layout
24875
24876 \end_inset
24877
24878
24879 \end_layout
24880
24881 \begin_layout Standard
24882 \begin_inset Float figure
24883 placement !h
24884 wide false
24885 sideways false
24886 status open
24887
24888 \begin_layout Plain Layout
24889 \begin_inset ERT
24890 status collapsed
24891
24892 \begin_layout Plain Layout
24893
24894
24895 \backslash
24896 framebox{
24897 \end_layout
24898
24899 \end_inset
24900
24901
24902 \begin_inset Graphics
24903         filename clipart/with_fntright.pdf
24904         width 100col%
24905         scaleBeforeRotation
24906
24907 \end_inset
24908
24909
24910 \begin_inset ERT
24911 status collapsed
24912
24913 \begin_layout Plain Layout
24914
24915 }
24916 \end_layout
24917
24918 \end_inset
24919
24920
24921 \end_layout
24922
24923 \begin_layout Plain Layout
24924 \begin_inset Caption
24925
24926 \begin_layout Plain Layout
24927 \begin_inset CommandInset label
24928 LatexCommand label
24929 name "fig:Footnote-placement-in"
24930
24931 \end_inset
24932
24933 Footnote placement in two-column documents when the LaTeX-package 
24934 \series bold
24935 ftnright
24936 \series default
24937  is used.
24938 \end_layout
24939
24940 \end_inset
24941
24942
24943 \end_layout
24944
24945 \end_inset
24946
24947
24948 \end_layout
24949
24950 \begin_layout Standard
24951 \begin_inset VSpace bigskip
24952 \end_inset
24953
24954 In some scientific literature it is usual to collect the footnotes and print
24955  them in a separate paragraph at the the end of a section, like in Figure
24956 \begin_inset space ~
24957 \end_inset
24958
24959
24960 \begin_inset CommandInset ref
24961 LatexCommand ref
24962 reference "fig:Endnotes----footnotes"
24963
24964 \end_inset
24965
24966 .
24967  They are then so called 
24968 \begin_inset Quotes eld
24969 \end_inset
24970
24971 endnotes
24972 \begin_inset Quotes erd
24973 \end_inset
24974
24975 .
24976 \begin_inset Index
24977 status collapsed
24978
24979 \begin_layout Plain Layout
24980 Endnotes
24981 \end_layout
24982
24983 \end_inset
24984
24985  To use endnotes instead of footnotes in your document, load the LaTeX-package
24986  
24987 \series bold
24988 endnotes
24989 \series default
24990
24991 \begin_inset Index
24992 status collapsed
24993
24994 \begin_layout Plain Layout
24995 LaTeX-packages ! endnotes
24996 \end_layout
24997
24998 \end_inset
24999
25000  with the document preamble lines
25001 \end_layout
25002
25003 \begin_layout Standard
25004
25005 \series bold
25006
25007 \backslash
25008 usepackage{endnotes}
25009 \begin_inset Newline newline
25010 \end_inset
25011
25012
25013 \backslash
25014 let
25015 \backslash
25016 footnote
25017 \backslash
25018 endnote
25019 \end_layout
25020
25021 \begin_layout Standard
25022 To insert the collected footnotes, insert the command
25023 \end_layout
25024
25025 \begin_layout Standard
25026
25027 \series bold
25028
25029 \backslash
25030 theendnotes
25031 \end_layout
25032
25033 \begin_layout Standard
25034 in TeX-Code at the the end of a section or chapter.
25035 \end_layout
25036
25037 \begin_layout Standard
25038 \begin_inset Float figure
25039 wide false
25040 sideways false
25041 status open
25042
25043 \begin_layout Plain Layout
25044 \align center
25045 \begin_inset ERT
25046 status collapsed
25047
25048 \begin_layout Plain Layout
25049
25050
25051 \backslash
25052 framebox{
25053 \end_layout
25054
25055 \end_inset
25056
25057
25058 \begin_inset Graphics
25059         filename clipart/endnotes.pdf
25060         scaleBeforeRotation
25061
25062 \end_inset
25063
25064
25065 \begin_inset ERT
25066 status collapsed
25067
25068 \begin_layout Plain Layout
25069
25070 }
25071 \end_layout
25072
25073 \end_inset
25074
25075
25076 \end_layout
25077
25078 \begin_layout Plain Layout
25079 \begin_inset Caption
25080
25081 \begin_layout Plain Layout
25082 \begin_inset CommandInset label
25083 LatexCommand label
25084 name "fig:Endnotes----footnotes"
25085
25086 \end_inset
25087
25088 Endnotes – footnotes are printed in a separate paragraph at the end of sections
25089  or chapters.
25090 \end_layout
25091
25092 \end_inset
25093
25094
25095 \end_layout
25096
25097 \end_inset
25098
25099
25100 \end_layout
25101
25102 \begin_layout Standard
25103 \begin_inset VSpace medskip
25104 \end_inset
25105
25106 The paragraph heading for the endnotes isn't automatically translated into
25107  the document language, this must be done manually.
25108  The following preamble command translate the default English name 
25109 \begin_inset Quotes eld
25110 \end_inset
25111
25112 Notes
25113 \begin_inset Quotes erd
25114 \end_inset
25115
25116  to the German translation 
25117 \begin_inset Quotes eld
25118 \end_inset
25119
25120 Anmerkungen
25121 \begin_inset Quotes erd
25122 \end_inset
25123
25124 :
25125 \end_layout
25126
25127 \begin_layout Standard
25128
25129 \series bold
25130
25131 \backslash
25132 renewcommand{
25133 \backslash
25134 notesname}{Anmerkungen}
25135 \end_layout
25136
25137 \begin_layout Standard
25138 \begin_inset VSpace medskip
25139 \end_inset
25140
25141 The numbering of endnotes can be changed like the footnote numbering as
25142  described in section
25143 \begin_inset space ~
25144 \end_inset
25145
25146
25147 \begin_inset CommandInset ref
25148 LatexCommand ref
25149 reference "sub:Footnote-Numbering"
25150
25151 \end_inset
25152
25153 ; just replace the command 
25154 \series bold
25155
25156 \backslash
25157 thefootnote
25158 \series default
25159  by 
25160 \series bold
25161
25162 \backslash
25163 theendnote
25164 \series default
25165 .
25166  To reset the endnote number use the command 
25167 \series bold
25168
25169 \backslash
25170 @addtoreset
25171 \series default
25172  as described in section
25173 \begin_inset space ~
25174 \end_inset
25175
25176
25177 \begin_inset CommandInset ref
25178 LatexCommand ref
25179 reference "sub:Footnote-Numbering"
25180
25181 \end_inset
25182
25183  and replace the command parameter 
25184 \series bold
25185 footnote
25186 \series default
25187  by 
25188 \series bold
25189 endnote
25190 \series default
25191 .
25192 \end_layout
25193
25194 \begin_layout Standard
25195 To create only a mark for an endnote, use the command 
25196 \series bold
25197
25198 \backslash
25199 endnotemark[number]
25200 \series default
25201  similar to the command 
25202 \series bold
25203
25204 \backslash
25205 footnotemark
25206 \series default
25207 , described in section
25208 \begin_inset space ~
25209 \end_inset
25210
25211
25212 \begin_inset CommandInset ref
25213 LatexCommand ref
25214 reference "sec:Footnotes"
25215
25216 \end_inset
25217
25218 .
25219 \end_layout
25220
25221 \begin_layout Standard
25222 \begin_inset VSpace bigskip
25223 \end_inset
25224
25225 Footnotes can also be placed in the page margin and the footnote text alignment
25226  can be changed, see the LaTeX-package 
25227 \series bold
25228 footmisc
25229 \series default
25230
25231 \begin_inset Index
25232 status collapsed
25233
25234 \begin_layout Plain Layout
25235 LaTeX-packages ! footmisc
25236 \end_layout
25237
25238 \end_inset
25239
25240
25241 \begin_inset CommandInset citation
25242 LatexCommand cite
25243 key "footmisc"
25244
25245 \end_inset
25246
25247  for more information about this.
25248 \end_layout
25249
25250 \begin_layout Standard
25251 For various further footnote formatting issues have a look at LaTeX-books,
25252  
25253 \begin_inset CommandInset citation
25254 LatexCommand cite
25255 key "latexcompanion,latexguide,latexbook"
25256
25257 \end_inset
25258
25259 .
25260 \end_layout
25261
25262 \begin_layout Section
25263 Margin Notes
25264 \begin_inset Index
25265 status collapsed
25266
25267 \begin_layout Plain Layout
25268 Notes ! Margin Notes
25269 \end_layout
25270
25271 \end_inset
25272
25273
25274 \end_layout
25275
25276 \begin_layout Standard
25277 Margin notes look and behave in LyX like footnotes.
25278  They are inserted via the menu 
25279 \family sans
25280 Insert\SpecialChar \menuseparator
25281 Marginal
25282 \begin_inset space ~
25283 \end_inset
25284
25285 Note
25286 \family default
25287  or the toolbar button 
25288 \begin_inset Graphics
25289         filename ../images/marginalnote-insert.png
25290         scale 85
25291         scaleBeforeRotation
25292
25293 \end_inset
25294
25295 .
25296  A grey 
25297 \family roman
25298 \series medium
25299 box with the
25300 \family default
25301 \series default
25302  red 
25303 \family roman
25304 \series medium
25305 label 
25306 \begin_inset Quotes eld
25307 \end_inset
25308
25309 margin
25310 \begin_inset Quotes erd
25311 \end_inset
25312
25313  appears where you can enter the text of the margin note.
25314 \end_layout
25315
25316 \begin_layout Standard
25317 At the side is an example margin note.
25318
25319 \family roman
25320 \series medium
25321  
25322 \begin_inset Marginal
25323 status open
25324
25325 \begin_layout Plain Layout
25326 This is a margin note.
25327 \end_layout
25328
25329 \end_inset
25330
25331
25332 \end_layout
25333
25334 \begin_layout Standard
25335 Margin notes appear at the right side in single-sided documents.
25336  In double-sided documents they appear in the outer margin – left on even
25337  pages, right on odd pages.
25338  The text of margin notes is aligned opposite to the outer margin – right-aligne
25339 d when the note appears in the left margin.
25340  The first line of the margin note is placed at the position of the text
25341  line where it is inserted in the document.
25342 \end_layout
25343
25344 \begin_layout Standard
25345 \begin_inset VSpace bigskip
25346 \end_inset
25347
25348 To place the margin note in the inner margin, add the command
25349 \end_layout
25350
25351 \begin_layout Standard
25352
25353 \series bold
25354
25355 \backslash
25356 reversemarginpar
25357 \end_layout
25358
25359 \begin_layout Standard
25360 in TeX-Code before a margin note.
25361  The new placement is valid for all following margin notes.
25362  
25363 \begin_inset ERT
25364 status collapsed
25365
25366 \begin_layout Plain Layout
25367
25368
25369 \backslash
25370 reversemarginpar 
25371 \end_layout
25372
25373 \end_inset
25374
25375
25376 \begin_inset Marginal
25377 status open
25378
25379 \begin_layout Plain Layout
25380 This is a margin note in the inner margin.
25381 \end_layout
25382
25383 \end_inset
25384
25385
25386 \series bold
25387
25388 \begin_inset Newline newline
25389 \end_inset
25390
25391
25392 \series default
25393
25394 \begin_inset Note Greyedout
25395 status open
25396
25397 \begin_layout Plain Layout
25398
25399 \series bold
25400 Note:
25401 \series default
25402  There is often not enough space in the inner margin so that the notes are
25403  not correctly displayed in the output.
25404 \end_layout
25405
25406 \end_inset
25407
25408
25409 \end_layout
25410
25411 \begin_layout Standard
25412 To return to the default placement insert the command
25413 \end_layout
25414
25415 \begin_layout Standard
25416
25417 \series bold
25418
25419 \backslash
25420 normalmarginpar
25421 \end_layout
25422
25423 \begin_layout Standard
25424 in TeX-Code.
25425 \begin_inset ERT
25426 status collapsed
25427
25428 \begin_layout Plain Layout
25429
25430
25431 \backslash
25432 normalmarginpar 
25433 \end_layout
25434
25435 \end_inset
25436
25437  
25438 \begin_inset Note Greyedout
25439 status open
25440
25441 \begin_layout Plain Layout
25442
25443 \series bold
25444 Note:
25445 \series default
25446  The command is ignored when it is within a paragraph where also the command
25447  
25448 \series bold
25449
25450 \backslash
25451 reversemarginpar
25452 \series default
25453  is inserted.
25454 \end_layout
25455
25456 \end_inset
25457
25458
25459 \end_layout
25460
25461 \begin_layout Standard
25462 \begin_inset VSpace bigskip
25463 \end_inset
25464
25465
25466 \family roman
25467 \series medium
25468
25469 \begin_inset Marginal
25470 status open
25471
25472 \begin_layout Plain Layout
25473 AVeryLongMarginParWord that isn't hyphenated.
25474 \end_layout
25475
25476 \end_inset
25477
25478
25479 \family default
25480 \series default
25481  Similar to the case described in section
25482 \begin_inset space ~
25483 \end_inset
25484
25485
25486 \begin_inset CommandInset ref
25487 LatexCommand ref
25488 reference "sub:Multiple-Lines-in"
25489
25490 \end_inset
25491
25492 , long words cannot be hyphenated when they are the first word in a margin
25493  note.
25494  To avoid this, insert 0
25495 \begin_inset space \thinspace{}
25496 \end_inset
25497
25498 pt horizontal space before the word
25499 \family roman
25500 \series medium
25501 .
25502  
25503 \begin_inset Marginal
25504 status open
25505
25506 \begin_layout Plain Layout
25507 \begin_inset space \hspace*{}
25508 \length 0pt
25509 \end_inset
25510
25511 AVeryLongMarginParWord that is hyphenated.
25512 \end_layout
25513
25514 \end_inset
25515
25516
25517 \end_layout
25518
25519 \begin_layout Standard
25520 \begin_inset VSpace bigskip
25521 \end_inset
25522
25523
25524 \end_layout
25525
25526 \begin_layout Standard
25527 \begin_inset Note Greyedout
25528 status open
25529
25530 \begin_layout Plain Layout
25531
25532 \series bold
25533 Note:
25534 \series default
25535  Margin notes can normally not be used inside tables, floats, and footnotes.
25536 \end_layout
25537
25538 \end_inset
25539
25540
25541 \end_layout
25542
25543 \begin_layout Standard
25544 \begin_inset VSpace bigskip
25545 \end_inset
25546
25547
25548 \end_layout
25549
25550 \begin_layout Standard
25551 \begin_inset ERT
25552 status collapsed
25553
25554 \begin_layout Plain Layout
25555
25556
25557 \backslash
25558 ifmarginnote
25559 \end_layout
25560
25561 \end_inset
25562
25563
25564 \begin_inset Note Note
25565 status open
25566
25567 \begin_layout Plain Layout
25568 The following section will only be displayed when the LaTeX-package 
25569 \series bold
25570 marginnote
25571 \series default
25572  is installed.
25573 \end_layout
25574
25575 \end_inset
25576
25577
25578 \end_layout
25579
25580 \begin_layout Standard
25581 This restriction can be evaded by using the LaTeX-package 
25582 \series bold
25583 marginnote
25584 \series default
25585
25586 \begin_inset Index
25587 status collapsed
25588
25589 \begin_layout Plain Layout
25590 LaTeX-packages ! marginnote
25591 \end_layout
25592
25593 \end_inset
25594
25595 .
25596  By adding these two lines to your document preamble, the command used by
25597  LyX for margin notes is redefined to use the command provided by the 
25598 \series bold
25599 marginnote
25600 \series default
25601 -package:
25602 \end_layout
25603
25604 \begin_layout Standard
25605
25606 \series bold
25607
25608 \backslash
25609 usepackage{marginnote}
25610 \begin_inset Newline newline
25611 \end_inset
25612
25613
25614 \backslash
25615 let
25616 \backslash
25617 marginpar
25618 \backslash
25619 marginnote
25620 \end_layout
25621
25622 \begin_layout Standard
25623 This is also used in this document because 
25624 \series bold
25625 marginnote
25626 \series default
25627  has another useful feature: You can set a vertical offset for the note.
25628  This is often needed when too many margin notes are too close together
25629  or for a better page layout.
25630  The offset is set in LyX as TeX-Code directly behind the margin note in
25631  the scheme
25632 \end_layout
25633
25634 \begin_layout Standard
25635
25636 \series bold
25637 [offset]
25638 \end_layout
25639
25640 \begin_layout Standard
25641 where the offset is a length with one of the units listed in Table
25642 \begin_inset space ~
25643 \end_inset
25644
25645
25646 \begin_inset CommandInset ref
25647 LatexCommand ref
25648 reference "tab:Units"
25649
25650 \end_inset
25651
25652 .
25653  A negative value shifts the note up, a positive value shifts it down.
25654  
25655 \family roman
25656 \series medium
25657 For example the margin note beside this text line is shifted up 1.5
25658 \begin_inset space \thinspace{}
25659 \end_inset
25660
25661 cm with the TeX-Code-command 
25662 \begin_inset Quotes eld
25663 \end_inset
25664
25665
25666 \family default
25667 \series bold
25668 [-1.5cm]
25669 \family roman
25670 \series medium
25671
25672 \begin_inset Quotes erd
25673 \end_inset
25674
25675
25676 \begin_inset Marginal
25677 status open
25678
25679 \begin_layout Plain Layout
25680 This margin note is shifted up 1.5
25681 \begin_inset space \thinspace{}
25682 \end_inset
25683
25684 cm from its original position.
25685 \end_layout
25686
25687 \end_inset
25688
25689
25690 \family default
25691 \series default
25692
25693 \begin_inset ERT
25694 status collapsed
25695
25696 \begin_layout Plain Layout
25697
25698 [-1.5cm]
25699 \end_layout
25700
25701 \end_inset
25702
25703
25704 \end_layout
25705
25706 \begin_layout Standard
25707 \begin_inset VSpace medskip
25708 \end_inset
25709
25710 With 
25711 \series bold
25712 marginnote
25713 \series default
25714  you can also change the alignment of the text in the margin note.
25715  For example the commands
25716 \end_layout
25717
25718 \begin_layout Standard
25719
25720 \series bold
25721
25722 \backslash
25723 renewcommand*{
25724 \backslash
25725 raggedleftmarginnote}{
25726 \backslash
25727 centering}
25728 \begin_inset Newline newline
25729 \end_inset
25730
25731
25732 \backslash
25733 renewcommand*{
25734 \backslash
25735 raggedrightmarginnote}{
25736 \backslash
25737 centering}
25738 \end_layout
25739
25740 \begin_layout Standard
25741 set the alignment to centered.
25742  
25743 \series bold
25744
25745 \backslash
25746 raggedleftmarginnote
25747 \series default
25748  denotes margin notes that appear at the left side.
25749 \family roman
25750 \series medium
25751
25752 \begin_inset ERT
25753 status collapsed
25754
25755 \begin_layout Plain Layout
25756
25757
25758 \backslash
25759 renewcommand*{
25760 \backslash
25761 raggedleftmarginnote}{
25762 \backslash
25763 centering}
25764 \end_layout
25765
25766 \begin_layout Plain Layout
25767
25768
25769 \backslash
25770 renewcommand*{
25771 \backslash
25772 raggedrightmarginnote}{
25773 \backslash
25774 centering}
25775 \end_layout
25776
25777 \end_inset
25778
25779
25780 \begin_inset Marginal
25781 status open
25782
25783 \begin_layout Plain Layout
25784 The text of this margin note is centered.
25785 \end_layout
25786
25787 \end_inset
25788
25789
25790 \family default
25791 \series default
25792  The default is
25793 \end_layout
25794
25795 \begin_layout Standard
25796
25797 \series bold
25798
25799 \backslash
25800 renewcommand*{
25801 \backslash
25802 raggedleftmarginnote}{
25803 \backslash
25804 raggedleft}
25805 \begin_inset Newline newline
25806 \end_inset
25807
25808
25809 \backslash
25810 renewcommand*{
25811 \backslash
25812 raggedrightmarginnote}{
25813 \backslash
25814 raggedright}
25815 \family roman
25816 \series medium
25817
25818 \begin_inset ERT
25819 status collapsed
25820
25821 \begin_layout Plain Layout
25822
25823
25824 \backslash
25825 renewcommand*{
25826 \backslash
25827 raggedleftmarginnote}{
25828 \backslash
25829 raggedleft}
25830 \end_layout
25831
25832 \begin_layout Plain Layout
25833
25834
25835 \backslash
25836 renewcommand*{
25837 \backslash
25838 raggedrightmarginnote}{
25839 \backslash
25840 raggedright}
25841 \end_layout
25842
25843 \end_inset
25844
25845
25846 \end_layout
25847
25848 \begin_layout Standard
25849 \begin_inset VSpace medskip
25850 \end_inset
25851
25852 For the other features of 
25853 \series bold
25854 marginnote
25855 \series default
25856  we refer to its documentation 
25857 \begin_inset CommandInset citation
25858 LatexCommand cite
25859 key "marginnote"
25860
25861 \end_inset
25862
25863 .
25864 \end_layout
25865
25866 \begin_layout Standard
25867 \begin_inset VSpace bigskip
25868 \end_inset
25869
25870 You can adjust the layout of margin notes by changing its definition.
25871  To create for example a header for all margin notes with the underlined,
25872  sans-serif, and bold header text 
25873 \begin_inset Quotes eld
25874 \end_inset
25875
25876
25877 \family sans
25878 \series bold
25879 \bar under
25880 Attention!
25881 \family default
25882 \series default
25883 \bar default
25884
25885 \begin_inset Quotes erd
25886 \end_inset
25887
25888 , add this to your document preamble:
25889 \end_layout
25890
25891 \begin_layout Standard
25892
25893 \series bold
25894
25895 \backslash
25896 let
25897 \backslash
25898 myMarginpar
25899 \backslash
25900 marginpar
25901 \begin_inset Newline newline
25902 \end_inset
25903
25904
25905 \backslash
25906 renewcommand{
25907 \backslash
25908 marginpar}[1]{
25909 \backslash
25910 myMarginpar{%
25911 \begin_inset Newline newline
25912 \end_inset
25913
25914
25915 \begin_inset ERT
25916 status collapsed
25917
25918 \begin_layout Plain Layout
25919
25920
25921 \backslash
25922 hphantom{ }
25923 \end_layout
25924
25925 \end_inset
25926
25927
25928 \backslash
25929 hspace{0pt}
25930 \backslash
25931 textsf{
25932 \backslash
25933 textbf{
25934 \backslash
25935 underbar{Attention!}}}%
25936 \begin_inset Newline newline
25937 \end_inset
25938
25939
25940 \begin_inset ERT
25941 status collapsed
25942
25943 \begin_layout Plain Layout
25944
25945
25946 \backslash
25947 hphantom{ }
25948 \end_layout
25949
25950 \end_inset
25951
25952
25953 \backslash
25954 vspace{1.5mm}
25955 \backslash
25956
25957 \backslash
25958 #1}}
25959 \end_layout
25960
25961 \begin_layout Standard
25962
25963 \family roman
25964 \series medium
25965 \begin_inset ERT
25966 status collapsed
25967
25968 \begin_layout Plain Layout
25969
25970
25971 \backslash
25972 let
25973 \backslash
25974 myMarginpar
25975 \backslash
25976 marginpar
25977 \end_layout
25978
25979 \begin_layout Plain Layout
25980
25981
25982 \backslash
25983 renewcommand{
25984 \backslash
25985 marginpar}[1]{
25986 \backslash
25987 myMarginpar{%
25988 \end_layout
25989
25990 \begin_layout Plain Layout
25991
25992    
25993 \backslash
25994 textsf{
25995 \backslash
25996 textbf{
25997 \backslash
25998 underbar{Attention!}}}%
25999 \end_layout
26000
26001 \begin_layout Plain Layout
26002
26003    
26004 \backslash
26005 vspace{1.5mm}
26006 \backslash
26007
26008 \backslash
26009 #1}}
26010 \end_layout
26011
26012 \end_inset
26013
26014
26015 \begin_inset Marginal
26016 status open
26017
26018 \begin_layout Plain Layout
26019 This is a margin note with a defined heading.
26020 \end_layout
26021
26022 \end_inset
26023
26024
26025 \family default
26026 \series default
26027
26028 \begin_inset ERT
26029 status collapsed
26030
26031 \begin_layout Plain Layout
26032
26033 [-1.5cm]
26034 \end_layout
26035
26036 \end_inset
26037
26038
26039 \family roman
26040 \series medium
26041
26042 \begin_inset ERT
26043 status collapsed
26044
26045 \begin_layout Plain Layout
26046
26047
26048 \backslash
26049 renewcommand{
26050 \backslash
26051 marginpar}[1]{
26052 \backslash
26053 myMarginpar{#1}}
26054 \end_layout
26055
26056 \end_inset
26057
26058
26059 \family default
26060 \series default
26061
26062 \begin_inset Note Note
26063 status collapsed
26064
26065 \begin_layout Plain Layout
26066 The margin note format is changed only for this example.
26067 \end_layout
26068
26069 \end_inset
26070
26071
26072 \end_layout
26073
26074 \begin_layout Standard
26075 \begin_inset ERT
26076 status collapsed
26077
26078 \begin_layout Plain Layout
26079
26080
26081 \backslash
26082 else
26083 \end_layout
26084
26085 \end_inset
26086
26087
26088 \begin_inset Note Note
26089 status open
26090
26091 \begin_layout Plain Layout
26092 The following will be displayed when the LaTeX-package 
26093 \series bold
26094 marginnote
26095 \series default
26096  is not installed:
26097 \end_layout
26098
26099 \end_inset
26100
26101
26102 \end_layout
26103
26104 \begin_layout Standard
26105 You need to install the LaTeX-package 
26106 \series bold
26107 marginnote
26108 \series default
26109  to see the following part of this section in the output.
26110 \end_layout
26111
26112 \begin_layout Standard
26113 \begin_inset ERT
26114 status collapsed
26115
26116 \begin_layout Plain Layout
26117
26118
26119 \backslash
26120 fi
26121 \end_layout
26122
26123 \end_inset
26124
26125
26126 \end_layout
26127
26128 \begin_layout Chapter
26129 Boxes
26130 \end_layout
26131
26132 \begin_layout Section
26133 Introduction
26134 \begin_inset Index
26135 status collapsed
26136
26137 \begin_layout Plain Layout
26138 Boxes ! Introduction
26139 \end_layout
26140
26141 \end_inset
26142
26143
26144 \end_layout
26145
26146 \begin_layout Standard
26147 Boxes are used to format a block of text.
26148  Boxes can be used to write documents with multiple languages, see section
26149 \begin_inset space ~
26150 \end_inset
26151
26152
26153 \begin_inset CommandInset ref
26154 LatexCommand ref
26155 reference "sec:Minipages"
26156
26157 \end_inset
26158
26159 , to frame texts, see section
26160 \begin_inset space ~
26161 \end_inset
26162
26163
26164 \begin_inset CommandInset ref
26165 LatexCommand ref
26166 reference "sec:Decoration"
26167
26168 \end_inset
26169
26170 , to prevent words to be hyphenated, see section
26171 \begin_inset space ~
26172 \end_inset
26173
26174
26175 \begin_inset CommandInset ref
26176 LatexCommand ref
26177 reference "sec:Prevent-Hyphenation"
26178
26179 \end_inset
26180
26181 , to align text, see section
26182 \begin_inset space ~
26183 \end_inset
26184
26185
26186 \begin_inset CommandInset ref
26187 LatexCommand ref
26188 reference "sub:Vertical-Alignment"
26189
26190 \end_inset
26191
26192 , or to set the background color of texts, see section
26193 \begin_inset space ~
26194 \end_inset
26195
26196
26197 \begin_inset CommandInset ref
26198 LatexCommand ref
26199 reference "sec:Colored-Boxes"
26200
26201 \end_inset
26202
26203 .
26204 \end_layout
26205
26206 \begin_layout Standard
26207 Boxes can be inserted with the menu 
26208 \family sans
26209 Insert\SpecialChar \menuseparator
26210 Box
26211 \family default
26212  or the toolbar button 
26213 \begin_inset Graphics
26214         filename ../images/box-insert.png
26215         scale 85
26216         scaleBeforeRotation
26217
26218 \end_inset
26219
26220 .
26221  A grey box with the label 
26222 \family sans
26223 Box (Minipage)
26224 \family default
26225
26226 \begin_inset Graphics
26227         filename clipart/BoxInsetDefaultQt4.png
26228         scale 85
26229         scaleBeforeRotation
26230
26231 \end_inset
26232
26233  will be inserted.
26234  The box type can be specified by right-clicking on the box.
26235  The appearing box dialog offers the 
26236 \family sans
26237 Inner
26238 \begin_inset space ~
26239 \end_inset
26240
26241 Box
26242 \family default
26243  types 
26244 \family sans
26245 Parbox
26246 \family default
26247  and 
26248 \family sans
26249 Minipage
26250 \family default
26251 .
26252  The type 
26253 \family sans
26254 Minipage
26255 \family default
26256  is the default for new boxes and is explained in section
26257 \begin_inset space ~
26258 \end_inset
26259
26260
26261 \begin_inset CommandInset ref
26262 LatexCommand ref
26263 reference "sec:Minipages"
26264
26265 \end_inset
26266
26267 ; the type 
26268 \family sans
26269 Parbox
26270 \family default
26271  is described in section
26272 \begin_inset space ~
26273 \end_inset
26274
26275
26276 \begin_inset CommandInset ref
26277 LatexCommand ref
26278 reference "sec:Parboxes"
26279
26280 \end_inset
26281
26282 .
26283 \end_layout
26284
26285 \begin_layout Standard
26286 Boxes aren't numbered and can therefore not be referenced like floats or
26287  footnotes.
26288 \end_layout
26289
26290 \begin_layout Standard
26291 \begin_inset Note Greyedout
26292 status open
26293
26294 \begin_layout Plain Layout
26295
26296 \series bold
26297 Note:
26298 \series default
26299  Boxes must not be the item in an 
26300 \family sans
26301 Itemize
26302 \family default
26303  or 
26304 \family sans
26305 Description
26306 \family default
26307  environment.
26308 \end_layout
26309
26310 \end_inset
26311
26312
26313 \end_layout
26314
26315 \begin_layout Standard
26316 \begin_inset Note Greyedout
26317 status open
26318
26319 \begin_layout Plain Layout
26320
26321 \series bold
26322 Note:
26323 \series default
26324  For an unknown reason you can only set the 
26325 \family sans
26326 Inner
26327 \begin_inset space ~
26328 \end_inset
26329
26330 Box
26331 \family default
26332  type to 
26333 \family sans
26334 None
26335 \family default
26336  when you use a framed box.
26337  Boxes without an 
26338 \family sans
26339 Inner
26340 \begin_inset space ~
26341 \end_inset
26342
26343 Box
26344 \family default
26345  type and without frames are explained in section
26346 \begin_inset space ~
26347 \end_inset
26348
26349
26350 \begin_inset CommandInset ref
26351 LatexCommand ref
26352 reference "sec:Prevent-Hyphenation"
26353
26354 \end_inset
26355
26356 .
26357 \end_layout
26358
26359 \end_inset
26360
26361
26362 \end_layout
26363
26364 \begin_layout Section
26365 Box Dialog
26366 \begin_inset CommandInset label
26367 LatexCommand label
26368 name "sec:Box-Dialog"
26369
26370 \end_inset
26371
26372
26373 \begin_inset Index
26374 status collapsed
26375
26376 \begin_layout Plain Layout
26377 Boxes ! Box Dialog
26378 \end_layout
26379
26380 \end_inset
26381
26382
26383 \end_layout
26384
26385 \begin_layout Subsection
26386 Size
26387 \begin_inset Index
26388 status collapsed
26389
26390 \begin_layout Plain Layout
26391 Boxes ! Size
26392 \end_layout
26393
26394 \end_inset
26395
26396
26397 \end_layout
26398
26399 \begin_layout Standard
26400 In the box dialog you can adjust the box geometry in the fields 
26401 \family sans
26402 Width
26403 \family default
26404  and 
26405 \family sans
26406 Height
26407 \family default
26408 .
26409  The available units for the geometry are explained in Table
26410 \begin_inset space ~
26411 \end_inset
26412
26413
26414 \begin_inset CommandInset ref
26415 LatexCommand ref
26416 reference "tab:Units"
26417
26418 \end_inset
26419
26420 .
26421  The field 
26422 \family sans
26423 Heigth
26424 \family default
26425  offers the following additional sizes:
26426 \end_layout
26427
26428 \begin_layout Description
26429 Depth This is the plain text 
26430 \begin_inset Quotes eld
26431 \end_inset
26432
26433 height
26434 \begin_inset Quotes erd
26435 \end_inset
26436
26437 .
26438  It ignores the total depth when there are multiple text lines in the box:
26439 \begin_inset Newline newline
26440 \end_inset
26441
26442
26443 \begin_inset Newline newline
26444 \end_inset
26445
26446
26447 \begin_inset Newline newline
26448 \end_inset
26449
26450
26451 \begin_inset Box Boxed
26452 position "c"
26453 hor_pos "c"
26454 has_inner_box 1
26455 inner_pos "c"
26456 use_parbox 0
26457 width "12col%"
26458 special "none"
26459 height "1in"
26460 height_special "depth"
26461 status collapsed
26462
26463 \begin_layout Plain Layout
26464 \align center
26465 Box height set to 1
26466 \begin_inset space \thinspace{}
26467 \end_inset
26468
26469 Depth
26470 \end_layout
26471
26472 \end_inset
26473
26474
26475 \begin_inset Newline newline
26476 \end_inset
26477
26478
26479 \begin_inset Newline newline
26480 \end_inset
26481
26482
26483 \end_layout
26484
26485 \begin_layout Description
26486 Height This is the heigth of the text that is inside the box.
26487  A value of e.
26488 \begin_inset space \thinspace{}
26489 \end_inset
26490
26491 g.
26492 \begin_inset space \space{}
26493 \end_inset
26494
26495 2 for this size will set the box heigth to 2 times the text height: 
26496 \begin_inset Box Boxed
26497 position "c"
26498 hor_pos "c"
26499 has_inner_box 1
26500 inner_pos "c"
26501 use_parbox 0
26502 width "20col%"
26503 special "none"
26504 height "2in"
26505 height_special "height"
26506 status collapsed
26507
26508 \begin_layout Plain Layout
26509 \align center
26510 Box height set to 2
26511 \begin_inset space \thinspace{}
26512 \end_inset
26513
26514 Height
26515 \end_layout
26516
26517 \end_inset
26518
26519
26520 \end_layout
26521
26522 \begin_layout Description
26523 Total
26524 \begin_inset space ~
26525 \end_inset
26526
26527 Height This is the Height
26528 \begin_inset space \thinspace{}
26529 \end_inset
26530
26531 +
26532 \begin_inset space \thinspace{}
26533 \end_inset
26534
26535 Depth: 
26536 \begin_inset Box Boxed
26537 position "c"
26538 hor_pos "c"
26539 has_inner_box 1
26540 inner_pos "c"
26541 use_parbox 0
26542 width "20col%"
26543 special "none"
26544 height "1in"
26545 height_special "totalheight"
26546 status collapsed
26547
26548 \begin_layout Plain Layout
26549 \align center
26550 Box height set to 1
26551 \begin_inset space \thinspace{}
26552 \end_inset
26553
26554 Total
26555 \begin_inset space ~
26556 \end_inset
26557
26558 Height
26559 \end_layout
26560
26561 \end_inset
26562
26563
26564 \end_layout
26565
26566 \begin_layout Description
26567 Width This sets the width of the box as heigth: 
26568 \begin_inset Box Boxed
26569 position "c"
26570 hor_pos "c"
26571 has_inner_box 1
26572 inner_pos "c"
26573 use_parbox 0
26574 width "12col%"
26575 special "none"
26576 height "1in"
26577 height_special "width"
26578 status collapsed
26579
26580 \begin_layout Plain Layout
26581 \align center
26582 Box height set to 1
26583 \begin_inset space \thinspace{}
26584 \end_inset
26585
26586 Width
26587 \end_layout
26588
26589 \end_inset
26590
26591
26592 \end_layout
26593
26594 \begin_layout Subsection
26595 Alignment
26596 \begin_inset Index
26597 status collapsed
26598
26599 \begin_layout Plain Layout
26600 Boxes ! Alignment
26601 \end_layout
26602
26603 \end_inset
26604
26605
26606 \end_layout
26607
26608 \begin_layout Standard
26609 When you have chosen an 
26610 \family sans
26611 Inner
26612 \begin_inset space ~
26613 \end_inset
26614
26615 Box
26616 \family default
26617 , the vertical box alignment can be:
26618 \end_layout
26619
26620 \begin_layout Description
26621 Top This is an example text line.
26622  
26623 \begin_inset Box Boxed
26624 position "t"
26625 hor_pos "c"
26626 has_inner_box 1
26627 inner_pos "c"
26628 use_parbox 0
26629 width "12col%"
26630 special "none"
26631 height "1in"
26632 height_special "totalheight"
26633 status collapsed
26634
26635 \begin_layout Plain Layout
26636 \align center
26637 This box is top-aligned.
26638 \end_layout
26639
26640 \end_inset
26641
26642  This is an example text line.
26643 \end_layout
26644
26645 \begin_layout Description
26646 Middle This is an example text line.
26647  
26648 \begin_inset Box Boxed
26649 position "c"
26650 hor_pos "c"
26651 has_inner_box 1
26652 inner_pos "c"
26653 use_parbox 0
26654 width "12col%"
26655 special "none"
26656 height "1in"
26657 height_special "totalheight"
26658 status collapsed
26659
26660 \begin_layout Plain Layout
26661 \align center
26662 This box is middle-aligned.
26663 \end_layout
26664
26665 \end_inset
26666
26667  This is an example text line.
26668 \end_layout
26669
26670 \begin_layout Description
26671 Bottom This is an example text line.
26672  
26673 \begin_inset Box Boxed
26674 position "b"
26675 hor_pos "c"
26676 has_inner_box 1
26677 inner_pos "c"
26678 use_parbox 0
26679 width "12col%"
26680 special "none"
26681 height "1in"
26682 height_special "totalheight"
26683 status collapsed
26684
26685 \begin_layout Plain Layout
26686 \align center
26687 This box is bottom-aligned.
26688 \end_layout
26689
26690 \end_inset
26691
26692  This is an example text line.
26693 \end_layout
26694
26695 \begin_layout Standard
26696 \begin_inset Note Greyedout
26697 status open
26698
26699 \begin_layout Plain Layout
26700
26701 \series bold
26702 Note:
26703 \series default
26704  The vertical box aligment can be lost in the output when you have two boxes
26705  in a line and one has e.
26706 \begin_inset space \thinspace{}
26707 \end_inset
26708
26709 g.
26710 \begin_inset space \space{}
26711 \end_inset
26712
26713 a shadow and the other one not.
26714 \end_layout
26715
26716 \end_inset
26717
26718
26719 \end_layout
26720
26721 \begin_layout Standard
26722 The horizontal box alignment can be set via LyX's paragraph dialog when
26723  you set the box into its own paragraph.
26724 \end_layout
26725
26726 \begin_layout Standard
26727 \begin_inset VSpace bigskip
26728 \end_inset
26729
26730 When you have chosen an 
26731 \family sans
26732 Inner
26733 \begin_inset space ~
26734 \end_inset
26735
26736 Box
26737 \family default
26738 , the box content can be vertical aligned to:
26739 \end_layout
26740
26741 \begin_layout Description
26742 top This is an example text line.
26743  
26744 \begin_inset Box Boxed
26745 position "c"
26746 hor_pos "c"
26747 has_inner_box 1
26748 inner_pos "t"
26749 use_parbox 0
26750 width "12col%"
26751 special "none"
26752 height "1.5in"
26753 height_special "totalheight"
26754 status collapsed
26755
26756 \begin_layout Plain Layout
26757 \align center
26758 This box text is top-aligned.
26759 \end_layout
26760
26761 \end_inset
26762
26763  This is an example text line.
26764 \end_layout
26765
26766 \begin_layout Description
26767 middle This is an example text line.
26768  
26769 \begin_inset Box Boxed
26770 position "c"
26771 hor_pos "c"
26772 has_inner_box 1
26773 inner_pos "c"
26774 use_parbox 0
26775 width "12col%"
26776 special "none"
26777 height "1.5in"
26778 height_special "totalheight"
26779 status collapsed
26780
26781 \begin_layout Plain Layout
26782 \align center
26783 This box text is middle-aligned.
26784 \end_layout
26785
26786 \end_inset
26787
26788  This is an example text line.
26789 \end_layout
26790
26791 \begin_layout Description
26792 bottom This is an example text line.
26793  
26794 \begin_inset Box Boxed
26795 position "c"
26796 hor_pos "c"
26797 has_inner_box 1
26798 inner_pos "b"
26799 use_parbox 0
26800 width "12col%"
26801 special "none"
26802 height "1.5in"
26803 height_special "totalheight"
26804 status collapsed
26805
26806 \begin_layout Plain Layout
26807 \align center
26808 This box text is bottom-aligned.
26809 \end_layout
26810
26811 \end_inset
26812
26813  This is an example text line.
26814 \end_layout
26815
26816 \begin_layout Description
26817 stretch This is an example text line.
26818  
26819 \begin_inset Box Boxed
26820 position "c"
26821 hor_pos "c"
26822 has_inner_box 1
26823 inner_pos "s"
26824 use_parbox 0
26825 width "12col%"
26826 special "none"
26827 height "1.5in"
26828 height_special "totalheight"
26829 status collapsed
26830
26831 \begin_layout Plain Layout
26832 \align center
26833 This box
26834 \end_layout
26835
26836 \begin_layout Plain Layout
26837 \align center
26838 text is
26839 \end_layout
26840
26841 \begin_layout Plain Layout
26842 \align center
26843 stretched.
26844 \end_layout
26845
26846 \end_inset
26847
26848  This is an example text line.
26849 \end_layout
26850
26851 \begin_layout Standard
26852 To stretch the box content, it must consist of more than one paragraph.
26853  In the example above every text line is in an own paragraph.
26854 \end_layout
26855
26856 \begin_layout Standard
26857 \begin_inset VSpace bigskip
26858 \end_inset
26859
26860 To align the box content horizontally you can use LyX's paragraph dialog
26861  when you have chosen an 
26862 \family sans
26863 Inner
26864 \begin_inset space ~
26865 \end_inset
26866
26867 Box
26868 \family default
26869 .
26870 \end_layout
26871
26872 \begin_layout Standard
26873 \align center
26874 \begin_inset Box Boxed
26875 position "c"
26876 hor_pos "c"
26877 has_inner_box 1
26878 inner_pos "s"
26879 use_parbox 0
26880 width "15col%"
26881 special "none"
26882 height "1.25in"
26883 height_special "totalheight"
26884 status collapsed
26885
26886 \begin_layout Plain Layout
26887 \align left
26888 This box
26889 \end_layout
26890
26891 \begin_layout Plain Layout
26892 \align center
26893 text is
26894 \end_layout
26895
26896 \begin_layout Plain Layout
26897 \align right
26898 stretched.
26899 \end_layout
26900
26901 \end_inset
26902
26903
26904 \end_layout
26905
26906 \begin_layout Standard
26907 If you haven't set an 
26908 \family sans
26909 Inner
26910 \begin_inset space ~
26911 \end_inset
26912
26913 Box
26914 \family default
26915 , you can align the box content horizontally in the box dialog.
26916 \end_layout
26917
26918 \begin_layout Standard
26919 \align center
26920 \begin_inset Box Boxed
26921 position "c"
26922 hor_pos "s"
26923 has_inner_box 0
26924 inner_pos "s"
26925 use_parbox 0
26926 width "90col%"
26927 special "none"
26928 height "1.25in"
26929 height_special "totalheight"
26930 status collapsed
26931
26932 \begin_layout Plain Layout
26933 \align left
26934 This box text is horizontally stretched.
26935 \end_layout
26936
26937 \end_inset
26938
26939
26940 \end_layout
26941
26942 \begin_layout Subsection
26943 Decoration
26944 \begin_inset CommandInset label
26945 LatexCommand label
26946 name "sec:Decoration"
26947
26948 \end_inset
26949
26950
26951 \begin_inset Index
26952 status collapsed
26953
26954 \begin_layout Plain Layout
26955 Boxes ! Decoration
26956 \end_layout
26957
26958 \end_inset
26959
26960
26961 \end_layout
26962
26963 \begin_layout Standard
26964 The type of the box can be specified in the box-dialog in the drop-down
26965  list 
26966 \family sans
26967 Decoration
26968 \family default
26969 .
26970  The following types are possible:
26971 \end_layout
26972
26973 \begin_layout Description
26974 Simple
26975 \begin_inset space ~
26976 \end_inset
26977
26978 rectangular
26979 \begin_inset space ~
26980 \end_inset
26981
26982 frame This draws a rectangle frame around the box.
26983  The frame line thickness has the size of 
26984 \series bold
26985
26986 \backslash
26987 fboxrule
26988 \series default
26989 .
26990  
26991 \begin_inset Box Boxed
26992 position "c"
26993 hor_pos "c"
26994 has_inner_box 1
26995 inner_pos "c"
26996 use_parbox 0
26997 width "20col%"
26998 special "none"
26999 height "1in"
27000 height_special "totalheight"
27001 status collapsed
27002
27003 \begin_layout Plain Layout
27004 \align center
27005 Rectangular box
27006 \end_layout
27007
27008 \end_inset
27009
27010
27011 \end_layout
27012
27013 \begin_layout Description
27014 Allow
27015 \begin_inset space ~
27016 \end_inset
27017
27018 page
27019 \begin_inset space ~
27020 \end_inset
27021
27022 break When you use the decoration 
27023 \family sans
27024 simple rectangular frame
27025 \family default
27026  and no inner box, you can allow page breaks within a box.
27027  Note that then, in contrary to other framed boxes, the frame always uses
27028  the whole column width, the box is set as its own paragraph, and 
27029 \series bold
27030
27031 \backslash
27032 fboxrule
27033 \series default
27034  and 
27035 \series bold
27036
27037 \backslash
27038 fboxsep
27039 \series default
27040  has no effect on this box type.
27041  The frame line thickness has the size of 
27042 \series bold
27043
27044 \backslash
27045 FrameRule
27046 \series default
27047 .
27048  
27049 \begin_inset Box Framed
27050 position "t"
27051 hor_pos "c"
27052 has_inner_box 0
27053 inner_pos "t"
27054 use_parbox 0
27055 width "100col%"
27056 special "none"
27057 height "1in"
27058 height_special "totalheight"
27059 status collapsed
27060
27061 \begin_layout Plain Layout
27062 Allow page break box
27063 \end_layout
27064
27065 \end_inset
27066
27067
27068 \end_layout
27069
27070 \begin_layout Description
27071 Oval
27072 \begin_inset space ~
27073 \end_inset
27074
27075 box,
27076 \begin_inset space ~
27077 \end_inset
27078
27079 thin This draws an oval frame around the box.
27080  The frame line thickness has the size 0.4
27081 \begin_inset space \thinspace{}
27082 \end_inset
27083
27084 pt.
27085  
27086 \begin_inset Box ovalbox
27087 position "c"
27088 hor_pos "c"
27089 has_inner_box 1
27090 inner_pos "c"
27091 use_parbox 0
27092 width "20col%"
27093 special "none"
27094 height "1in"
27095 height_special "totalheight"
27096 status collapsed
27097
27098 \begin_layout Plain Layout
27099 \align center
27100 Oval box, thin
27101 \end_layout
27102
27103 \end_inset
27104
27105
27106 \end_layout
27107
27108 \begin_layout Description
27109 Oval
27110 \begin_inset space ~
27111 \end_inset
27112
27113 box,
27114 \begin_inset space ~
27115 \end_inset
27116
27117 thick This draws an oval frame around the box.
27118  The frame line thickness has the size 0.8
27119 \begin_inset space \thinspace{}
27120 \end_inset
27121
27122 pt.
27123  
27124 \begin_inset Box Ovalbox
27125 position "c"
27126 hor_pos "c"
27127 has_inner_box 1
27128 inner_pos "c"
27129 use_parbox 0
27130 width "20col%"
27131 special "none"
27132 height "1in"
27133 height_special "totalheight"
27134 status collapsed
27135
27136 \begin_layout Plain Layout
27137 \align center
27138 Oval box, thick
27139 \end_layout
27140
27141 \end_inset
27142
27143
27144 \end_layout
27145
27146 \begin_layout Description
27147 Drop
27148 \begin_inset space ~
27149 \end_inset
27150
27151 shadow This draws a rectangle frame with a shadow around the box.
27152  The frame line thickness has the size of 
27153 \series bold
27154
27155 \backslash
27156 fboxrule
27157 \series default
27158 , the shadow has a width of 4
27159 \begin_inset space \thinspace{}
27160 \end_inset
27161
27162 pt.
27163  
27164 \begin_inset Box Shadowbox
27165 position "c"
27166 hor_pos "c"
27167 has_inner_box 1
27168 inner_pos "c"
27169 use_parbox 0
27170 width "20col%"
27171 special "none"
27172 height "1in"
27173 height_special "totalheight"
27174 status collapsed
27175
27176 \begin_layout Plain Layout
27177 \align center
27178 Shadow box
27179 \end_layout
27180
27181 \end_inset
27182
27183
27184 \end_layout
27185
27186 \begin_layout Description
27187 Shaded
27188 \begin_inset space ~
27189 \end_inset
27190
27191 background This draws a box with red background color.
27192  In contrary to colored boxes
27193 \begin_inset Foot
27194 status collapsed
27195
27196 \begin_layout Plain Layout
27197 see sec.
27198 \begin_inset space \thinspace{}
27199 \end_inset
27200
27201
27202 \begin_inset CommandInset ref
27203 LatexCommand ref
27204 reference "sec:Colored-Boxes"
27205
27206 \end_inset
27207
27208
27209 \end_layout
27210
27211 \end_inset
27212
27213 , it always uses the whole column width and the box is set as its own paragraph.
27214  
27215 \begin_inset Box Shaded
27216 position "t"
27217 hor_pos "c"
27218 has_inner_box 0
27219 inner_pos "t"
27220 use_parbox 0
27221 width "50col%"
27222 special "none"
27223 height "1in"
27224 height_special "totalheight"
27225 status collapsed
27226
27227 \begin_layout Plain Layout
27228 Shaded background box
27229 \end_layout
27230
27231 \end_inset
27232
27233
27234 \end_layout
27235
27236 \begin_layout Description
27237 Double
27238 \begin_inset space ~
27239 \end_inset
27240
27241 rectangular
27242 \begin_inset space ~
27243 \end_inset
27244
27245 frame This draws a double-line rectangle frame around the box.
27246  The line thickness of the inner frame is 0.75
27247 \begin_inset space \thinspace{}
27248 \end_inset
27249
27250
27251 \series bold
27252
27253 \backslash
27254 fboxrule
27255 \series default
27256 , the thickness of the outer frame is 1.5
27257 \begin_inset space \thinspace{}
27258 \end_inset
27259
27260
27261 \series bold
27262
27263 \backslash
27264 fboxrule
27265 \series default
27266 .
27267  The distance between the lines is 1.5
27268 \begin_inset space \thinspace{}
27269 \end_inset
27270
27271
27272 \series bold
27273
27274 \backslash
27275 fboxrule
27276 \series default
27277
27278 \begin_inset space \thinspace{}
27279 \end_inset
27280
27281 +
27282 \begin_inset space \thinspace{}
27283 \end_inset
27284
27285 0.5
27286 \begin_inset space \thinspace{}
27287 \end_inset
27288
27289 pt.
27290  
27291 \begin_inset Box Doublebox
27292 position "c"
27293 hor_pos "c"
27294 has_inner_box 1
27295 inner_pos "c"
27296 use_parbox 0
27297 width "20col%"
27298 special "none"
27299 height "1in"
27300 height_special "totalheight"
27301 status collapsed
27302
27303 \begin_layout Plain Layout
27304 \align center
27305 Double rectangular box
27306 \end_layout
27307
27308 \end_inset
27309
27310
27311 \end_layout
27312
27313 \begin_layout Standard
27314 \begin_inset VSpace bigskip
27315 \end_inset
27316
27317 LyX's box label will reflect the different frame types.
27318  To be able to use all types, the LaTeX-package 
27319 \series bold
27320 fancybox
27321 \series default
27322
27323 \begin_inset Index
27324 status collapsed
27325
27326 \begin_layout Plain Layout
27327 LaTeX-packages ! fancybox
27328 \end_layout
27329
27330 \end_inset
27331
27332  must be installed.
27333 \end_layout
27334
27335 \begin_layout Section
27336 Box customization
27337 \begin_inset Index
27338 status collapsed
27339
27340 \begin_layout Plain Layout
27341 Boxes ! Customization
27342 \end_layout
27343
27344 \end_inset
27345
27346
27347 \end_layout
27348
27349 \begin_layout Standard
27350 The default value for the size 
27351 \series bold
27352
27353 \backslash
27354 fboxrule
27355 \series default
27356  is 0.4
27357 \begin_inset space \thinspace{}
27358 \end_inset
27359
27360 pt.
27361  It can be changed with the following command in TeX-Code to e.
27362 \begin_inset space \thinspace{}
27363 \end_inset
27364
27365 g.
27366 \begin_inset space \space{}
27367 \end_inset
27368
27369 2
27370 \begin_inset space \thinspace{}
27371 \end_inset
27372
27373 pt:
27374 \end_layout
27375
27376 \begin_layout Standard
27377
27378 \series bold
27379
27380 \backslash
27381 setlength{
27382 \backslash
27383 fboxrule}{2pt}
27384 \end_layout
27385
27386 \begin_layout Standard
27387 \begin_inset ERT
27388 status collapsed
27389
27390 \begin_layout Plain Layout
27391
27392
27393 \backslash
27394 setlength{
27395 \backslash
27396 fboxrule}{2pt}
27397 \end_layout
27398
27399 \end_inset
27400
27401
27402 \begin_inset Box Boxed
27403 position "c"
27404 hor_pos "c"
27405 has_inner_box 1
27406 inner_pos "c"
27407 use_parbox 0
27408 width "25col%"
27409 special "none"
27410 height "1in"
27411 height_special "totalheight"
27412 status open
27413
27414 \begin_layout Plain Layout
27415 \align center
27416 Rectangular box with 
27417 \series bold
27418
27419 \backslash
27420 fboxrule
27421 \series default
27422
27423 \begin_inset space \thinspace{}
27424 \end_inset
27425
27426 =
27427 \begin_inset space \thinspace{}
27428 \end_inset
27429
27430 2
27431 \begin_inset space \thinspace{}
27432 \end_inset
27433
27434 pt
27435 \end_layout
27436
27437 \end_inset
27438
27439
27440 \begin_inset ERT
27441 status collapsed
27442
27443 \begin_layout Plain Layout
27444
27445
27446 \backslash
27447 setlength{
27448 \backslash
27449 fboxrule}{0.4pt}
27450 \end_layout
27451
27452 \end_inset
27453
27454
27455 \end_layout
27456
27457 \begin_layout Standard
27458 \begin_inset VSpace bigskip
27459 \end_inset
27460
27461 The space between the frame and the box content is for all frame styles
27462  by default 3
27463 \begin_inset space \thinspace{}
27464 \end_inset
27465
27466 pt.
27467  You can change it by setting the length 
27468 \series bold
27469
27470 \backslash
27471 fboxsep
27472 \series default
27473  to another value.
27474  For example the command
27475 \end_layout
27476
27477 \begin_layout Standard
27478
27479 \series bold
27480
27481 \backslash
27482 setlength{
27483 \backslash
27484 fboxsep}{10pt}
27485 \end_layout
27486
27487 \begin_layout Standard
27488 sets the value to 10
27489 \begin_inset space \thinspace{}
27490 \end_inset
27491
27492 pt, like for the following box:
27493 \end_layout
27494
27495 \begin_layout Standard
27496 \begin_inset ERT
27497 status collapsed
27498
27499 \begin_layout Plain Layout
27500
27501
27502 \backslash
27503 setlength{
27504 \backslash
27505 fboxsep}{10pt}
27506 \end_layout
27507
27508 \end_inset
27509
27510
27511 \begin_inset Box Boxed
27512 position "c"
27513 hor_pos "c"
27514 has_inner_box 1
27515 inner_pos "c"
27516 use_parbox 0
27517 width "25col%"
27518 special "none"
27519 height "1in"
27520 height_special "totalheight"
27521 status open
27522
27523 \begin_layout Plain Layout
27524 \align center
27525 Rectangular box with 
27526 \series bold
27527
27528 \backslash
27529 fboxsep
27530 \series default
27531
27532 \begin_inset space \thinspace{}
27533 \end_inset
27534
27535 =
27536 \begin_inset space \thinspace{}
27537 \end_inset
27538
27539 10
27540 \begin_inset space \thinspace{}
27541 \end_inset
27542
27543 pt
27544 \end_layout
27545
27546 \end_inset
27547
27548
27549 \begin_inset ERT
27550 status collapsed
27551
27552 \begin_layout Plain Layout
27553
27554
27555 \backslash
27556 setlength{
27557 \backslash
27558 fboxsep}{3pt}
27559 \end_layout
27560
27561 \end_inset
27562
27563
27564 \end_layout
27565
27566 \begin_layout Standard
27567 \begin_inset VSpace bigskip
27568 \end_inset
27569
27570 The diameter of the round corners of the oval boxes can be set with the
27571  command 
27572 \series bold
27573
27574 \backslash
27575 cornersize
27576 \series default
27577 .
27578  The command
27579 \end_layout
27580
27581 \begin_layout Standard
27582
27583 \series bold
27584
27585 \backslash
27586 cornersize*{1cm}
27587 \end_layout
27588
27589 \begin_layout Standard
27590 sets the diameter to 1
27591 \begin_inset space \thinspace{}
27592 \end_inset
27593
27594 cm.
27595  The command
27596 \end_layout
27597
27598 \begin_layout Standard
27599
27600 \series bold
27601
27602 \backslash
27603 cornersize{num}
27604 \end_layout
27605
27606 \begin_layout Standard
27607 sets the diameter to 
27608 \family sans
27609 num
27610 \begin_inset space \thinspace{}
27611 \end_inset
27612
27613 ×
27614 \begin_inset space \thinspace{}
27615 \end_inset
27616
27617 minimum(width and heigth of box)
27618 \family default
27619 .
27620  The default is 
27621 \series bold
27622
27623 \backslash
27624 cornersize{0.5}
27625 \series default
27626 .
27627 \end_layout
27628
27629 \begin_layout Standard
27630 \begin_inset ERT
27631 status collapsed
27632
27633 \begin_layout Plain Layout
27634
27635
27636 \backslash
27637 cornersize*{1.5cm}
27638 \end_layout
27639
27640 \end_inset
27641
27642
27643 \begin_inset Box Ovalbox
27644 position "c"
27645 hor_pos "c"
27646 has_inner_box 1
27647 inner_pos "c"
27648 use_parbox 0
27649 width "25col%"
27650 special "none"
27651 height "1in"
27652 height_special "totalheight"
27653 status open
27654
27655 \begin_layout Plain Layout
27656 \align center
27657 Oval box with 
27658 \series bold
27659
27660 \backslash
27661 cornersize
27662 \series default
27663
27664 \begin_inset space \thinspace{}
27665 \end_inset
27666
27667 =
27668 \begin_inset space \thinspace{}
27669 \end_inset
27670
27671 1.5
27672 \begin_inset space \thinspace{}
27673 \end_inset
27674
27675 cm
27676 \end_layout
27677
27678 \end_inset
27679
27680
27681 \begin_inset ERT
27682 status collapsed
27683
27684 \begin_layout Plain Layout
27685
27686
27687 \backslash
27688 cornersize{0.5}
27689 \end_layout
27690
27691 \end_inset
27692
27693
27694 \end_layout
27695
27696 \begin_layout Standard
27697 \begin_inset VSpace bigskip
27698 \end_inset
27699
27700 The size of the shadow can be adjusted by changing the length 
27701 \series bold
27702
27703 \backslash
27704 shadowsize
27705 \series default
27706 .
27707  It it set to 2
27708 \begin_inset space \thinspace{}
27709 \end_inset
27710
27711 pt for the following box by this command:
27712 \end_layout
27713
27714 \begin_layout Standard
27715
27716 \series bold
27717
27718 \backslash
27719 setlength{
27720 \backslash
27721 shadowsize}{2pt}
27722 \end_layout
27723
27724 \begin_layout Standard
27725 \begin_inset ERT
27726 status collapsed
27727
27728 \begin_layout Plain Layout
27729
27730
27731 \backslash
27732 setlength{
27733 \backslash
27734 shadowsize}{2pt}
27735 \end_layout
27736
27737 \end_inset
27738
27739
27740 \begin_inset Box Shadowbox
27741 position "c"
27742 hor_pos "c"
27743 has_inner_box 1
27744 inner_pos "c"
27745 use_parbox 0
27746 width "25col%"
27747 special "none"
27748 height "1in"
27749 height_special "totalheight"
27750 status open
27751
27752 \begin_layout Plain Layout
27753 \align center
27754 Shadow box with 
27755 \series bold
27756
27757 \backslash
27758 shadowsize
27759 \series default
27760
27761 \begin_inset space \thinspace{}
27762 \end_inset
27763
27764 =
27765 \begin_inset space \thinspace{}
27766 \end_inset
27767
27768 2
27769 \begin_inset space \thinspace{}
27770 \end_inset
27771
27772 pt
27773 \end_layout
27774
27775 \end_inset
27776
27777
27778 \begin_inset ERT
27779 status collapsed
27780
27781 \begin_layout Plain Layout
27782
27783
27784 \backslash
27785 setlength{
27786 \backslash
27787 shadowsize}{4pt}
27788 \end_layout
27789
27790 \end_inset
27791
27792
27793 \end_layout
27794
27795 \begin_layout Standard
27796 \begin_inset VSpace bigskip
27797 \end_inset
27798
27799
27800 \end_layout
27801
27802 \begin_layout Standard
27803 The default value for the size 
27804 \series bold
27805
27806 \backslash
27807 FrameRule
27808 \series default
27809  is 0.4
27810 \begin_inset space \thinspace{}
27811 \end_inset
27812
27813 pt.
27814  The default space between the note content and the frame is 9
27815 \begin_inset space \thinspace{}
27816 \end_inset
27817
27818 pt and can be changed with the value of 
27819 \series bold
27820
27821 \backslash
27822 FrameSep
27823 \series default
27824 .
27825  For example the frame appearance of the following 
27826 \family sans
27827 box
27828 \family default
27829  is set with the TeX-Code commands
27830 \end_layout
27831
27832 \begin_layout Standard
27833
27834 \series bold
27835
27836 \backslash
27837 setlength{
27838 \backslash
27839 FrameRule}{5pt}
27840 \begin_inset Newline newline
27841 \end_inset
27842
27843
27844 \backslash
27845 setlength{
27846 \backslash
27847 FrameSep}{0.5cm}
27848 \end_layout
27849
27850 \begin_layout Standard
27851 \begin_inset ERT
27852 status collapsed
27853
27854 \begin_layout Plain Layout
27855
27856
27857 \backslash
27858 setlength{
27859 \backslash
27860 FrameRule}{5pt}
27861 \end_layout
27862
27863 \begin_layout Plain Layout
27864
27865
27866 \backslash
27867 setlength{
27868 \backslash
27869 FrameSep}{0.5cm}
27870 \end_layout
27871
27872 \end_inset
27873
27874
27875 \begin_inset Box Framed
27876 position "t"
27877 hor_pos "c"
27878 has_inner_box 0
27879 inner_pos "t"
27880 use_parbox 0
27881 width "100col%"
27882 special "none"
27883 height "1in"
27884 height_special "totalheight"
27885 status open
27886
27887 \begin_layout Plain Layout
27888 This is text in an 
27889 \family sans
27890 allow page break
27891 \family default
27892  box.
27893 \end_layout
27894
27895 \end_inset
27896
27897
27898 \begin_inset ERT
27899 status collapsed
27900
27901 \begin_layout Plain Layout
27902
27903
27904 \backslash
27905 setlength{
27906 \backslash
27907 FrameRule}{0.4pt}
27908 \end_layout
27909
27910 \begin_layout Plain Layout
27911
27912
27913 \backslash
27914 setlength{
27915 \backslash
27916 FrameSep}{9pt}
27917 \end_layout
27918
27919 \end_inset
27920
27921
27922 \end_layout
27923
27924 \begin_layout Standard
27925 \begin_inset VSpace bigskip
27926 \end_inset
27927
27928
27929 \end_layout
27930
27931 \begin_layout Standard
27932 For 
27933 \family sans
27934 shaded background
27935 \family default
27936  boxes the default space between the box content and the box border is 3
27937 \begin_inset space \thinspace{}
27938 \end_inset
27939
27940 pt and can be changed with the value of 
27941 \series bold
27942
27943 \backslash
27944 fboxsep
27945 \series default
27946 .
27947  The default background color red can either be changed locally with the
27948  command 
27949 \series bold
27950
27951 \backslash
27952 definecolor{shadebox}
27953 \series default
27954  or globally with the menu 
27955 \family sans
27956 Tools\SpecialChar \menuseparator
27957 Preferences\SpecialChar \menuseparator
27958 Colors\SpecialChar \menuseparator
27959 shaded
27960 \begin_inset space ~
27961 \end_inset
27962
27963 box
27964 \family default
27965 .
27966  The scheme of the 
27967 \series bold
27968
27969 \backslash
27970 definecolor
27971 \series default
27972  command is explained in section
27973 \begin_inset space ~
27974 \end_inset
27975
27976
27977 \begin_inset CommandInset ref
27978 LatexCommand ref
27979 reference "sec:Colored-Tables"
27980
27981 \end_inset
27982
27983 .
27984 \begin_inset Foot
27985 status collapsed
27986
27987 \begin_layout Plain Layout
27988 Note that 
27989 \series bold
27990
27991 \backslash
27992 definecolor
27993 \series default
27994  requires the LaTeX-package 
27995 \series bold
27996 color
27997 \series default
27998  in the preamble, see section
27999 \begin_inset space ~
28000 \end_inset
28001
28002
28003 \begin_inset CommandInset ref
28004 LatexCommand ref
28005 reference "sec:Colored-Boxes"
28006
28007 \end_inset
28008
28009 .
28010 \end_layout
28011
28012 \end_inset
28013
28014  For example the appearance of the following shaded background note is set
28015  with the TeX-Code commands
28016 \end_layout
28017
28018 \begin_layout Standard
28019
28020 \series bold
28021
28022 \backslash
28023 setlength{
28024 \backslash
28025 fboxsep}{0.5cm}
28026 \series default
28027
28028 \begin_inset Newline newline
28029 \end_inset
28030
28031
28032 \series bold
28033
28034 \backslash
28035 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
28036 \end_layout
28037
28038 \begin_layout Standard
28039 \begin_inset ERT
28040 status collapsed
28041
28042 \begin_layout Plain Layout
28043
28044
28045 \backslash
28046 setlength{
28047 \backslash
28048 fboxsep}{0.5cm}
28049 \end_layout
28050
28051 \begin_layout Plain Layout
28052
28053
28054 \backslash
28055 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
28056 \end_layout
28057
28058 \end_inset
28059
28060
28061 \begin_inset Box Shaded
28062 position "t"
28063 hor_pos "c"
28064 has_inner_box 0
28065 inner_pos "t"
28066 use_parbox 0
28067 width "100col%"
28068 special "none"
28069 height "1in"
28070 height_special "totalheight"
28071 status open
28072
28073 \begin_layout Plain Layout
28074
28075 \color yellow
28076 This is yellow text in a
28077 \color none
28078  
28079 \family sans
28080 \color yellow
28081 shaded background
28082 \family default
28083 \color none
28084  
28085 \color yellow
28086 box with dark green background.
28087 \end_layout
28088
28089 \end_inset
28090
28091
28092 \begin_inset ERT
28093 status collapsed
28094
28095 \begin_layout Plain Layout
28096
28097
28098 \backslash
28099 setlength{
28100 \backslash
28101 fboxsep}{3pt}
28102 \end_layout
28103
28104 \begin_layout Plain Layout
28105
28106
28107 \backslash
28108 definecolor{shadecolor}{rgb}{1,0,0}
28109 \end_layout
28110
28111 \end_inset
28112
28113
28114 \end_layout
28115
28116 \begin_layout Standard
28117 \begin_inset VSpace bigskip
28118 \end_inset
28119
28120 Changed lengths and widths are valid for all boxes following the commands
28121  that change them.
28122 \end_layout
28123
28124 \begin_layout Section
28125 Minipages
28126 \begin_inset CommandInset label
28127 LatexCommand label
28128 name "sec:Minipages"
28129
28130 \end_inset
28131
28132
28133 \begin_inset Index
28134 status collapsed
28135
28136 \begin_layout Plain Layout
28137 Boxes ! Minipages
28138 \end_layout
28139
28140 \end_inset
28141
28142
28143 \end_layout
28144
28145 \begin_layout Standard
28146 Minipages are treated by LaTeX as pages within pages and can therefore for
28147  example have their own footnotes.
28148 \end_layout
28149
28150 \begin_layout Standard
28151 Minipages are useful when you write documents with different languages.
28152 \end_layout
28153
28154 \begin_layout Standard
28155 Below are two example minipages side by side.
28156  Their width is set to 45
28157 \begin_inset space \thinspace{}
28158 \end_inset
28159
28160 col% and they are separated by a horizontal fill, that was inserted via
28161  the menu 
28162 \family sans
28163 Insert\SpecialChar \menuseparator
28164 Special
28165 \begin_inset space ~
28166 \end_inset
28167
28168 Formatting\SpecialChar \menuseparator
28169 Horizontal
28170 \begin_inset space ~
28171 \end_inset
28172
28173 Fill
28174 \family default
28175 .
28176 \begin_inset Newpage newpage
28177 \end_inset
28178
28179
28180 \end_layout
28181
28182 \begin_layout Standard
28183 \begin_inset Box Frameless
28184 position "t"
28185 hor_pos "c"
28186 has_inner_box 1
28187 inner_pos "c"
28188 use_parbox 0
28189 width "45col%"
28190 special "none"
28191 height "1in"
28192 height_special "totalheight"
28193 status open
28194
28195 \begin_layout Plain Layout
28196
28197 \lang german
28198 Dies ist ein deutscher Text.
28199  Dies ist ein deutscher Text.
28200  Dies ist ein deutscher Text.
28201  Dies ist ein deutscher Text.
28202  Dies ist ein deutscher Text.
28203  Dies ist ein deutscher Text.
28204  Dies ist ein deutscher Text.
28205  Dies ist ein deutscher Text.
28206  Dies ist ein deutscher Text.
28207  Dies ist ein deutscher Text.
28208  Dies ist ein deutscher Text.
28209  Dies ist ein deutscher Text.
28210  Dies ist ein deutscher Text
28211 \begin_inset Foot
28212 status collapsed
28213
28214 \begin_layout Plain Layout
28215
28216 \lang german
28217 Dies ist eine deutsche Fußnote.
28218 \end_layout
28219
28220 \end_inset
28221
28222 .
28223  Dies ist ein deutscher Text.
28224  Dies ist ein deutscher Text.
28225 \end_layout
28226
28227 \end_inset
28228
28229
28230 \begin_inset space \hfill{}
28231 \end_inset
28232
28233
28234 \begin_inset Box Frameless
28235 position "t"
28236 hor_pos "c"
28237 has_inner_box 1
28238 inner_pos "c"
28239 use_parbox 0
28240 width "45col%"
28241 special "none"
28242 height "1in"
28243 height_special "totalheight"
28244 status open
28245
28246 \begin_layout Plain Layout
28247 This is an English Text.
28248  This is an English Text.
28249  This is an English Text.
28250  This is an English Text.
28251  This is an English Text.
28252  This is an English Text.
28253  This is an English Text.
28254  This is an English Text.
28255  This is an English Text.
28256  This is an English Text.
28257  This is an English Text.
28258  This is an English Text.
28259  This is an English Text.
28260  This is an English Text.
28261  This is an English Text.
28262  This is an English Text.
28263 \begin_inset Foot
28264 status collapsed
28265
28266 \begin_layout Plain Layout
28267 This is an English footnote.
28268 \end_layout
28269
28270 \end_inset
28271
28272  This is an English Text.
28273  
28274 \end_layout
28275
28276 \end_inset
28277
28278
28279 \end_layout
28280
28281 \begin_layout Standard
28282 \begin_inset VSpace bigskip
28283 \end_inset
28284
28285 Another application for minipages are footnotes within tables.
28286  Due to a LaTeX restriction footnotes within tables doesn't appear at the
28287  bottom of the current page.
28288  But when you put the table with the footnote to a minipage, the footnote
28289  will appear at its bottom, numbered with Latin letters.
28290  The footnote number is reset to 1 in every minipage but not outside the
28291  minipages.
28292 \end_layout
28293
28294 \begin_layout Standard
28295 The footnote of this table doesn't appear: 
28296 \begin_inset Tabular
28297 <lyxtabular version="3" rows="3" columns="4">
28298 <features>
28299 <column alignment="center" valignment="top" width="0pt">
28300 <column alignment="center" valignment="top" width="0pt">
28301 <column alignment="center" valignment="top" width="0pt">
28302 <column alignment="center" valignment="top" width="0pt">
28303 <row>
28304 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28305 \begin_inset Text
28306
28307 \begin_layout Plain Layout
28308 1
28309 \end_layout
28310
28311 \end_inset
28312 </cell>
28313 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28314 \begin_inset Text
28315
28316 \begin_layout Plain Layout
28317 2
28318 \end_layout
28319
28320 \end_inset
28321 </cell>
28322 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28323 \begin_inset Text
28324
28325 \begin_layout Plain Layout
28326 3
28327 \begin_inset Foot
28328 status collapsed
28329
28330 \begin_layout Plain Layout
28331 This is a footnote within a table.
28332 \end_layout
28333
28334 \end_inset
28335
28336
28337 \end_layout
28338
28339 \end_inset
28340 </cell>
28341 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28342 \begin_inset Text
28343
28344 \begin_layout Plain Layout
28345 4
28346 \end_layout
28347
28348 \end_inset
28349 </cell>
28350 </row>
28351 <row>
28352 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28353 \begin_inset Text
28354
28355 \begin_layout Plain Layout
28356 a
28357 \end_layout
28358
28359 \end_inset
28360 </cell>
28361 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28362 \begin_inset Text
28363
28364 \begin_layout Plain Layout
28365 b
28366 \end_layout
28367
28368 \end_inset
28369 </cell>
28370 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28371 \begin_inset Text
28372
28373 \begin_layout Plain Layout
28374 c
28375 \end_layout
28376
28377 \end_inset
28378 </cell>
28379 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28380 \begin_inset Text
28381
28382 \begin_layout Plain Layout
28383 d
28384 \end_layout
28385
28386 \end_inset
28387 </cell>
28388 </row>
28389 <row>
28390 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28391 \begin_inset Text
28392
28393 \begin_layout Plain Layout
28394 e
28395 \end_layout
28396
28397 \end_inset
28398 </cell>
28399 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28400 \begin_inset Text
28401
28402 \begin_layout Plain Layout
28403 f
28404 \end_layout
28405
28406 \end_inset
28407 </cell>
28408 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28409 \begin_inset Text
28410
28411 \begin_layout Plain Layout
28412 g
28413 \end_layout
28414
28415 \end_inset
28416 </cell>
28417 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28418 \begin_inset Text
28419
28420 \begin_layout Plain Layout
28421 h
28422 \end_layout
28423
28424 \end_inset
28425 </cell>
28426 </row>
28427 </lyxtabular>
28428
28429 \end_inset
28430
28431
28432 \end_layout
28433
28434 \begin_layout Standard
28435 \align center
28436 \begin_inset Box Frameless
28437 position "t"
28438 hor_pos "c"
28439 has_inner_box 1
28440 inner_pos "c"
28441 use_parbox 0
28442 width "30col%"
28443 special "none"
28444 height "1in"
28445 height_special "totalheight"
28446 status open
28447
28448 \begin_layout Plain Layout
28449 \align center
28450 \begin_inset Tabular
28451 <lyxtabular version="3" rows="3" columns="4">
28452 <features>
28453 <column alignment="center" valignment="top" width="0pt">
28454 <column alignment="center" valignment="top" width="0pt">
28455 <column alignment="center" valignment="top" width="0pt">
28456 <column alignment="center" valignment="top" width="0pt">
28457 <row>
28458 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28459 \begin_inset Text
28460
28461 \begin_layout Plain Layout
28462 1
28463 \end_layout
28464
28465 \end_inset
28466 </cell>
28467 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28468 \begin_inset Text
28469
28470 \begin_layout Plain Layout
28471 2
28472 \end_layout
28473
28474 \end_inset
28475 </cell>
28476 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28477 \begin_inset Text
28478
28479 \begin_layout Plain Layout
28480 3
28481 \begin_inset Foot
28482 status collapsed
28483
28484 \begin_layout Plain Layout
28485 This is a footnote within a table.
28486 \end_layout
28487
28488 \end_inset
28489
28490
28491 \end_layout
28492
28493 \end_inset
28494 </cell>
28495 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28496 \begin_inset Text
28497
28498 \begin_layout Plain Layout
28499 4
28500 \end_layout
28501
28502 \end_inset
28503 </cell>
28504 </row>
28505 <row>
28506 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28507 \begin_inset Text
28508
28509 \begin_layout Plain Layout
28510 a
28511 \end_layout
28512
28513 \end_inset
28514 </cell>
28515 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28516 \begin_inset Text
28517
28518 \begin_layout Plain Layout
28519 b
28520 \end_layout
28521
28522 \end_inset
28523 </cell>
28524 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28525 \begin_inset Text
28526
28527 \begin_layout Plain Layout
28528 c
28529 \end_layout
28530
28531 \end_inset
28532 </cell>
28533 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28534 \begin_inset Text
28535
28536 \begin_layout Plain Layout
28537 d
28538 \end_layout
28539
28540 \end_inset
28541 </cell>
28542 </row>
28543 <row>
28544 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28545 \begin_inset Text
28546
28547 \begin_layout Plain Layout
28548 e
28549 \end_layout
28550
28551 \end_inset
28552 </cell>
28553 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28554 \begin_inset Text
28555
28556 \begin_layout Plain Layout
28557 f
28558 \end_layout
28559
28560 \end_inset
28561 </cell>
28562 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28563 \begin_inset Text
28564
28565 \begin_layout Plain Layout
28566 g
28567 \end_layout
28568
28569 \end_inset
28570 </cell>
28571 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28572 \begin_inset Text
28573
28574 \begin_layout Plain Layout
28575 h
28576 \end_layout
28577
28578 \end_inset
28579 </cell>
28580 </row>
28581 </lyxtabular>
28582
28583 \end_inset
28584
28585
28586 \end_layout
28587
28588 \end_inset
28589
28590
28591 \end_layout
28592
28593 \begin_layout Standard
28594 \begin_inset VSpace bigskip
28595 \end_inset
28596
28597 The document-wide paragraph settings are ignored within minipages.
28598  That means that there will be no space between paragraphs in minipages
28599  although you set it to e.
28600 \begin_inset space \thinspace{}
28601 \end_inset
28602
28603 g.
28604 \begin_inset space \space{}
28605 \end_inset
28606
28607
28608 \family sans
28609 MedSkip
28610 \family default
28611  in the document settings.
28612 \end_layout
28613
28614 \begin_layout Standard
28615 Minipages can also be used to set a background color for text parts, see
28616  section
28617 \begin_inset space ~
28618 \end_inset
28619
28620
28621 \begin_inset CommandInset ref
28622 LatexCommand ref
28623 reference "sub:Color-for-Paragraphs"
28624
28625 \end_inset
28626
28627 .
28628 \end_layout
28629
28630 \begin_layout Standard
28631 \begin_inset Note Greyedout
28632 status open
28633
28634 \begin_layout Plain Layout
28635
28636 \series bold
28637 Note:
28638 \series default
28639  You cannot have floats or margin notes inside minipages but minipages can
28640  be used inside tables, floats, and other boxes.
28641 \end_layout
28642
28643 \end_inset
28644
28645
28646 \end_layout
28647
28648 \begin_layout Section
28649 Parboxes
28650 \begin_inset CommandInset label
28651 LatexCommand label
28652 name "sec:Parboxes"
28653
28654 \end_inset
28655
28656
28657 \begin_inset Index
28658 status collapsed
28659
28660 \begin_layout Plain Layout
28661 Boxes ! Parboxes
28662 \end_layout
28663
28664 \end_inset
28665
28666
28667 \end_layout
28668
28669 \begin_layout Standard
28670 Parboxes are very similar to minipages with the difference that they cannot
28671  have footnotes.
28672  The main difference to minipages is that minipages are in contrary to parboxes
28673  no real boxes but LaTeX-environments.
28674 \end_layout
28675
28676 \begin_layout Standard
28677 \align center
28678 \begin_inset Box Frameless
28679 position "t"
28680 hor_pos "c"
28681 has_inner_box 1
28682 inner_pos "t"
28683 use_parbox 1
28684 width "33col%"
28685 special "none"
28686 height "1in"
28687 height_special "totalheight"
28688 status collapsed
28689
28690 \begin_layout Plain Layout
28691 This a text within a parbox.
28692  This a text within a parbox.
28693 \end_layout
28694
28695 \begin_layout Plain Layout
28696 This footnote won't appear:
28697 \begin_inset Foot
28698 status collapsed
28699
28700 \begin_layout Plain Layout
28701 This footnote is inside a parbox and will therefore not appear.
28702 \end_layout
28703
28704 \end_inset
28705
28706
28707 \end_layout
28708
28709 \end_inset
28710
28711
28712 \end_layout
28713
28714 \begin_layout Section
28715 Boxes for Words and Characters
28716 \begin_inset Index
28717 status collapsed
28718
28719 \begin_layout Plain Layout
28720 Boxes ! for Characters
28721 \end_layout
28722
28723 \end_inset
28724
28725
28726 \end_layout
28727
28728 \begin_layout Subsection
28729 Prevent Hyphenation
28730 \begin_inset CommandInset label
28731 LatexCommand label
28732 name "sec:Prevent-Hyphenation"
28733
28734 \end_inset
28735
28736
28737 \begin_inset Index
28738 status collapsed
28739
28740 \begin_layout Plain Layout
28741 Boxes ! to Prevent Hyphenation
28742 \end_layout
28743
28744 \end_inset
28745
28746
28747 \end_layout
28748
28749 \begin_layout Standard
28750 You can use a special kind of boxes to prevent words or text to be hyphenated.
28751 \begin_inset Newline newline
28752 \end_inset
28753
28754 Here is an example text:
28755 \end_layout
28756
28757 \begin_layout Standard
28758 This line is an example to show how you can prevent the hyphenation of 
28759 \begin_inset Quotes eld
28760 \end_inset
28761
28762 veryverylongword
28763 \begin_inset Quotes erd
28764 \end_inset
28765
28766 .
28767 \end_layout
28768
28769 \begin_layout Standard
28770 To prevent the hyphenation of the word 
28771 \begin_inset Quotes eld
28772 \end_inset
28773
28774 veryverylongword
28775 \begin_inset Quotes erd
28776 \end_inset
28777
28778 , add the command
28779 \end_layout
28780
28781 \begin_layout Standard
28782
28783 \series bold
28784
28785 \backslash
28786 mbox{
28787 \end_layout
28788
28789 \begin_layout Standard
28790 in TeX-Code before the word.
28791  Behind the word insert a closing brace 
28792 \begin_inset Quotes eld
28793 \end_inset
28794
28795
28796 \series bold
28797 }
28798 \series default
28799
28800 \begin_inset Quotes erd
28801 \end_inset
28802
28803  in TeX-Code.
28804 \end_layout
28805
28806 \begin_layout Standard
28807 This is the result:
28808 \end_layout
28809
28810 \begin_layout Standard
28811 This line is an example to show how you can prevent the hyphenation of 
28812 \begin_inset ERT
28813 status collapsed
28814
28815 \begin_layout Plain Layout
28816
28817
28818 \backslash
28819 mbox{
28820 \end_layout
28821
28822 \end_inset
28823
28824
28825 \begin_inset Quotes eld
28826 \end_inset
28827
28828 veryverylongword
28829 \begin_inset Quotes erd
28830 \end_inset
28831
28832 .
28833 \begin_inset ERT
28834 status collapsed
28835
28836 \begin_layout Plain Layout
28837
28838 }
28839 \end_layout
28840
28841 \end_inset
28842
28843
28844 \end_layout
28845
28846 \begin_layout Standard
28847 You can alternatively set the command 
28848 \begin_inset Quotes eld
28849 \end_inset
28850
28851
28852 \series bold
28853
28854 \backslash
28855 -
28856 \series default
28857
28858 \begin_inset Quotes grd
28859 \end_inset
28860
28861  as TeX-Code directly before the word:
28862 \end_layout
28863
28864 \begin_layout Standard
28865 This line is an example to show how you can prevent the hyphenation of 
28866 \begin_inset Quotes eld
28867 \end_inset
28868
28869
28870 \begin_inset ERT
28871 status collapsed
28872
28873 \begin_layout Plain Layout
28874
28875
28876 \backslash
28877 -
28878 \end_layout
28879
28880 \end_inset
28881
28882 veryverylongword
28883 \begin_inset Quotes erd
28884 \end_inset
28885
28886 .
28887 \end_layout
28888
28889 \begin_layout Standard
28890 Of course the word now protrudes over the side margin.
28891  To avoid this, add via the menu 
28892 \family sans
28893 Insert\SpecialChar \menuseparator
28894 Special
28895 \begin_inset space ~
28896 \end_inset
28897
28898 Formatting\SpecialChar \menuseparator
28899 Line
28900 \begin_inset space ~
28901 \end_inset
28902
28903 Break
28904 \family default
28905  (shortcut 
28906 \begin_inset Info
28907 type  "shortcut"
28908 arg   "newline-insert newline"
28909 \end_inset
28910
28911 ) a line break before the word:
28912 \end_layout
28913
28914 \begin_layout Standard
28915 This line is an example to show how you can prevent the hyphenation of 
28916 \begin_inset Newline newline
28917 \end_inset
28918
28919
28920 \begin_inset ERT
28921 status collapsed
28922
28923 \begin_layout Plain Layout
28924
28925
28926 \backslash
28927 mbox{
28928 \end_layout
28929
28930 \end_inset
28931
28932
28933 \begin_inset Quotes eld
28934 \end_inset
28935
28936 veryverylongword
28937 \begin_inset Quotes erd
28938 \end_inset
28939
28940 .
28941 \begin_inset ERT
28942 status collapsed
28943
28944 \begin_layout Plain Layout
28945
28946 }
28947 \end_layout
28948
28949 \end_inset
28950
28951
28952 \end_layout
28953
28954 \begin_layout Subsection
28955 Vertical Alignment
28956 \begin_inset CommandInset label
28957 LatexCommand label
28958 name "sub:Vertical-Alignment"
28959
28960 \end_inset
28961
28962
28963 \begin_inset Index
28964 status collapsed
28965
28966 \begin_layout Plain Layout
28967 Boxes ! for Vertical Alignment
28968 \end_layout
28969
28970 \end_inset
28971
28972
28973 \begin_inset Index
28974 status collapsed
28975
28976 \begin_layout Plain Layout
28977 Boxes ! Raiseboxes
28978 \end_layout
28979
28980 \end_inset
28981
28982
28983 \end_layout
28984
28985 \begin_layout Standard
28986 With the help of the command 
28987 \series bold
28988
28989 \backslash
28990 raisebox
28991 \series default
28992  you can align words, characters or other boxes vertically to the surrounding
28993  text.
28994  
28995 \series bold
28996
28997 \backslash
28998 raisebox
28999 \series default
29000  is used with the following scheme:
29001 \end_layout
29002
29003 \begin_layout Standard
29004
29005 \series bold
29006
29007 \backslash
29008 raisebox{lift}[height][depth]{box content}
29009 \end_layout
29010
29011 \begin_layout Standard
29012 The lift can be a positive value to raise the box or a negative value to
29013  lower the box.
29014 \end_layout
29015
29016 \begin_layout Standard
29017 To align for example the word 
29018 \begin_inset Quotes eld
29019 \end_inset
29020
29021 preventing
29022 \begin_inset Quotes erd
29023 \end_inset
29024
29025  so that the bottom of the 
29026 \begin_inset Quotes eld
29027 \end_inset
29028
29029 deepest
29030 \begin_inset Quotes erd
29031 \end_inset
29032
29033  character 
29034 \begin_inset Quotes eld
29035 \end_inset
29036
29037 p
29038 \begin_inset Quotes erd
29039 \end_inset
29040
29041  is at the baseline, insert the command
29042 \end_layout
29043
29044 \begin_layout Standard
29045
29046 \series bold
29047
29048 \backslash
29049 raisebox{
29050 \backslash
29051 depth}{
29052 \end_layout
29053
29054 \begin_layout Standard
29055 in TeX-Code before the word.
29056  Behind the word insert a closing brace 
29057 \begin_inset Quotes eld
29058 \end_inset
29059
29060
29061 \series bold
29062 }
29063 \series default
29064
29065 \begin_inset Quotes erd
29066 \end_inset
29067
29068  in TeX-Code.
29069 \begin_inset Newline newline
29070 \end_inset
29071
29072 This is the result:
29073 \end_layout
29074
29075 \begin_layout Standard
29076 This is a text line with the word 
29077 \begin_inset ERT
29078 status collapsed
29079
29080 \begin_layout Plain Layout
29081
29082
29083 \backslash
29084 raisebox{
29085 \backslash
29086 depth}{
29087 \end_layout
29088
29089 \end_inset
29090
29091
29092 \begin_inset Quotes eld
29093 \end_inset
29094
29095 preventing
29096 \begin_inset Quotes erd
29097 \end_inset
29098
29099
29100 \begin_inset ERT
29101 status collapsed
29102
29103 \begin_layout Plain Layout
29104
29105 }
29106 \end_layout
29107
29108 \end_inset
29109
29110  as raised word.
29111 \end_layout
29112
29113 \begin_layout Standard
29114 \begin_inset VSpace bigskip
29115 \end_inset
29116
29117 When you raise or lower characters in a line, the line distance will be
29118  spread:
29119 \end_layout
29120
29121 \begin_layout Standard
29122 This is a text line with the word 
29123 \begin_inset ERT
29124 status collapsed
29125
29126 \begin_layout Plain Layout
29127
29128
29129 \backslash
29130 raisebox{-
29131 \backslash
29132 depth}{
29133 \end_layout
29134
29135 \end_inset
29136
29137
29138 \begin_inset Quotes eld
29139 \end_inset
29140
29141 preventing
29142 \begin_inset Quotes erd
29143 \end_inset
29144
29145
29146 \begin_inset ERT
29147 status collapsed
29148
29149 \begin_layout Plain Layout
29150
29151 }
29152 \end_layout
29153
29154 \end_inset
29155
29156  as lowered word.
29157 \begin_inset Newline newline
29158 \end_inset
29159
29160 This is a text line with the word 
29161 \begin_inset ERT
29162 status collapsed
29163
29164 \begin_layout Plain Layout
29165
29166
29167 \backslash
29168 raisebox{0.5cm}{
29169 \end_layout
29170
29171 \end_inset
29172
29173
29174 \begin_inset Quotes eld
29175 \end_inset
29176
29177 testing
29178 \begin_inset Quotes erd
29179 \end_inset
29180
29181
29182 \begin_inset ERT
29183 status collapsed
29184
29185 \begin_layout Plain Layout
29186
29187 }
29188 \end_layout
29189
29190 \end_inset
29191
29192  as raised word.
29193 \end_layout
29194
29195 \begin_layout Standard
29196 If you want to prevent this for a certain reason, set the box height to
29197  a zero value.
29198  For example use
29199 \end_layout
29200
29201 \begin_layout Standard
29202
29203 \series bold
29204
29205 \backslash
29206 raisebox{-
29207 \backslash
29208 depth}[0pt]{
29209 \end_layout
29210
29211 \begin_layout Standard
29212 This is a text line with the word 
29213 \begin_inset ERT
29214 status collapsed
29215
29216 \begin_layout Plain Layout
29217
29218
29219 \backslash
29220 raisebox{-
29221 \backslash
29222 depth}[0pt]{
29223 \end_layout
29224
29225 \end_inset
29226
29227
29228 \begin_inset Quotes eld
29229 \end_inset
29230
29231 preventing
29232 \begin_inset Quotes erd
29233 \end_inset
29234
29235
29236 \begin_inset ERT
29237 status collapsed
29238
29239 \begin_layout Plain Layout
29240
29241 }
29242 \end_layout
29243
29244 \end_inset
29245
29246  as lowered word.
29247 \begin_inset Newline newline
29248 \end_inset
29249
29250 This is a text line with the word 
29251 \begin_inset ERT
29252 status collapsed
29253
29254 \begin_layout Plain Layout
29255
29256
29257 \backslash
29258 raisebox{0.5cm}[0pt]{
29259 \end_layout
29260
29261 \end_inset
29262
29263
29264 \begin_inset Quotes eld
29265 \end_inset
29266
29267 testing
29268 \begin_inset Quotes erd
29269 \end_inset
29270
29271
29272 \begin_inset ERT
29273 status collapsed
29274
29275 \begin_layout Plain Layout
29276
29277 }
29278 \end_layout
29279
29280 \end_inset
29281
29282  as raised word.
29283 \end_layout
29284
29285 \begin_layout Section
29286 Colored Boxes
29287 \begin_inset CommandInset label
29288 LatexCommand label
29289 name "sec:Colored-Boxes"
29290
29291 \end_inset
29292
29293
29294 \begin_inset Index
29295 status collapsed
29296
29297 \begin_layout Plain Layout
29298 Boxes ! Color
29299 \end_layout
29300
29301 \end_inset
29302
29303
29304 \end_layout
29305
29306 \begin_layout Subsection
29307 Color for Text
29308 \begin_inset Index
29309 status collapsed
29310
29311 \begin_layout Plain Layout
29312 Color ! for Text
29313 \end_layout
29314
29315 \end_inset
29316
29317
29318 \end_layout
29319
29320 \begin_layout Standard
29321 To color the background of text the text must be put into a so called 
29322 \begin_inset Quotes eld
29323 \end_inset
29324
29325 colorbox
29326 \begin_inset Quotes erd
29327 \end_inset
29328
29329 .
29330  This requires that the LaTeX-package 
29331 \series bold
29332 color
29333 \series default
29334
29335 \begin_inset Index
29336 status collapsed
29337
29338 \begin_layout Plain Layout
29339 LaTeX-packages ! color
29340 \end_layout
29341
29342 \end_inset
29343
29344  is loaded in the document preamble with the command
29345 \end_layout
29346
29347 \begin_layout Standard
29348
29349 \series bold
29350
29351 \backslash
29352 @ifundefined{textcolor}
29353 \begin_inset Newline newline
29354 \end_inset
29355
29356
29357 \begin_inset ERT
29358 status collapsed
29359
29360 \begin_layout Plain Layout
29361
29362
29363 \backslash
29364 hphantom{ }
29365 \end_layout
29366
29367 \end_inset
29368
29369 {
29370 \backslash
29371 usepackage{color}}{}
29372 \end_layout
29373
29374 \begin_layout Standard
29375 The package 
29376 \series bold
29377 color
29378 \series default
29379  will be loaded automatically by LyX when you color text
29380 \begin_inset Foot
29381 status collapsed
29382
29383 \begin_layout Plain Layout
29384 To avoid that it is loaded twice the command 
29385 \series bold
29386
29387 \backslash
29388 @ifundefined
29389 \series default
29390  is used.
29391 \end_layout
29392
29393 \end_inset
29394
29395 .
29396 \end_layout
29397
29398 \begin_layout Standard
29399 \begin_inset VSpace medskip
29400 \end_inset
29401
29402 Colorboxes are created with the command 
29403 \series bold
29404
29405 \backslash
29406 colorbox
29407 \series default
29408 .
29409  This will be used with the following scheme:
29410 \end_layout
29411
29412 \begin_layout Standard
29413
29414 \series bold
29415
29416 \backslash
29417 colorbox{color}{box content}
29418 \end_layout
29419
29420 \begin_layout Standard
29421 The box content can also be a box and colorboxes can also be within other
29422  boxes.
29423 \end_layout
29424
29425 \begin_layout Standard
29426 The following colors are predefined:
29427 \begin_inset Newline newline
29428 \end_inset
29429
29430
29431 \family sans
29432 black
29433 \family default
29434
29435 \family sans
29436 blue
29437 \family default
29438
29439 \family sans
29440 cyan
29441 \family default
29442 \series bold
29443 ,
29444 \series default
29445  
29446 \family sans
29447 green
29448 \family default
29449
29450 \family sans
29451 magenta
29452 \family default
29453
29454 \family sans
29455 red
29456 \family default
29457
29458 \family sans
29459 white
29460 \family default
29461 , and 
29462 \family sans
29463 yellow
29464 \family default
29465 .
29466 \begin_inset Newline newline
29467 \end_inset
29468
29469 You can also define your own color as described in section
29470 \begin_inset space ~
29471 \end_inset
29472
29473
29474 \begin_inset CommandInset ref
29475 LatexCommand ref
29476 reference "sec:Colored-Tables"
29477
29478 \end_inset
29479
29480 .
29481 \end_layout
29482
29483 \begin_layout Standard
29484 To have e.
29485 \begin_inset space \thinspace{}
29486 \end_inset
29487
29488 g.
29489 \begin_inset space \space{}
29490 \end_inset
29491
29492 a red background for a word, insert the command
29493 \end_layout
29494
29495 \begin_layout Standard
29496
29497 \series bold
29498
29499 \backslash
29500 colorbox{red}{
29501 \end_layout
29502
29503 \begin_layout Standard
29504 before the word in TeX-Code.
29505  Behind the word insert a closing brace 
29506 \begin_inset Quotes eld
29507 \end_inset
29508
29509
29510 \series bold
29511 }
29512 \series default
29513
29514 \begin_inset Quotes erd
29515 \end_inset
29516
29517  in TeX-Code.
29518 \begin_inset Newline newline
29519 \end_inset
29520
29521 This is the result:
29522 \end_layout
29523
29524 \begin_layout Standard
29525 This is a line where the word 
29526 \begin_inset ERT
29527 status collapsed
29528
29529 \begin_layout Plain Layout
29530
29531
29532 \backslash
29533 colorbox{red}{
29534 \end_layout
29535
29536 \end_inset
29537
29538
29539 \begin_inset Quotes eld
29540 \end_inset
29541
29542 Attention!
29543 \begin_inset Quotes erd
29544 \end_inset
29545
29546
29547 \begin_inset ERT
29548 status collapsed
29549
29550 \begin_layout Plain Layout
29551
29552 }
29553 \end_layout
29554
29555 \end_inset
29556
29557  has a red background.
29558 \end_layout
29559
29560 \begin_layout Standard
29561 \begin_inset VSpace bigskip
29562 \end_inset
29563
29564 If you would have the box frame in a different color, you can use the command
29565  
29566 \series bold
29567
29568 \backslash
29569 fcolorbox
29570 \series default
29571  with the following scheme:
29572 \end_layout
29573
29574 \begin_layout Standard
29575
29576 \series bold
29577
29578 \backslash
29579 fcolorbox{frame color}{box color}{box content}
29580 \end_layout
29581
29582 \begin_layout Standard
29583
29584 \series bold
29585
29586 \backslash
29587 fcolorbox
29588 \series default
29589  is an extension to 
29590 \series bold
29591
29592 \backslash
29593 colorbox
29594 \series default
29595 .
29596  The frame thickness and the space between the frame and the box content
29597  can be adjusted with the lengths 
29598 \series bold
29599
29600 \backslash
29601 fboxrule
29602 \series default
29603  and 
29604 \series bold
29605
29606 \backslash
29607 fboxsep
29608 \series default
29609 , respectively, as described in section
29610 \begin_inset space ~
29611 \end_inset
29612
29613
29614 \begin_inset CommandInset ref
29615 LatexCommand ref
29616 reference "sec:Decoration"
29617
29618 \end_inset
29619
29620 .
29621 \end_layout
29622
29623 \begin_layout Standard
29624 For the following example the command
29625 \end_layout
29626
29627 \begin_layout Standard
29628
29629 \series bold
29630
29631 \backslash
29632 fcolorbox{cyan}{magenta}{
29633 \end_layout
29634
29635 \begin_layout Standard
29636 was used.
29637 \end_layout
29638
29639 \begin_layout Standard
29640 Here is an example where the frame line thickness was set to 1
29641 \begin_inset space \thinspace{}
29642 \end_inset
29643
29644 mm:
29645 \begin_inset Newline newline
29646 \end_inset
29647
29648
29649 \begin_inset ERT
29650 status collapsed
29651
29652 \begin_layout Plain Layout
29653
29654
29655 \backslash
29656 fboxrule 1mm 
29657 \backslash
29658 fboxsep 1mm
29659 \end_layout
29660
29661 \end_inset
29662
29663
29664 \begin_inset ERT
29665 status collapsed
29666
29667 \begin_layout Plain Layout
29668
29669
29670 \backslash
29671 fcolorbox{cyan}{magenta}{
29672 \end_layout
29673
29674 \end_inset
29675
29676 This is text within a colored, framed box.
29677 \begin_inset ERT
29678 status collapsed
29679
29680 \begin_layout Plain Layout
29681
29682 }
29683 \end_layout
29684
29685 \end_inset
29686
29687
29688 \end_layout
29689
29690 \begin_layout Standard
29691 \begin_inset VSpace bigskip
29692 \end_inset
29693
29694 Of course you can also have colored text inside a colorbox:
29695 \begin_inset Newline newline
29696 \end_inset
29697
29698
29699 \begin_inset ERT
29700 status collapsed
29701
29702 \begin_layout Plain Layout
29703
29704
29705 \backslash
29706 fcolorbox{cyan}{magenta}{
29707 \end_layout
29708
29709 \end_inset
29710
29711
29712 \color yellow
29713 This is colored text within a colored, framed box.
29714 \color none
29715
29716 \begin_inset ERT
29717 status collapsed
29718
29719 \begin_layout Plain Layout
29720
29721 }
29722 \end_layout
29723
29724 \end_inset
29725
29726
29727 \begin_inset ERT
29728 status collapsed
29729
29730 \begin_layout Plain Layout
29731
29732
29733 \backslash
29734 fboxrule 0.4pt 
29735 \backslash
29736 fboxsep 3pt
29737 \end_layout
29738
29739 \end_inset
29740
29741
29742 \end_layout
29743
29744 \begin_layout Standard
29745
29746 \series bold
29747 \begin_inset VSpace medskip
29748 \end_inset
29749
29750
29751 \end_layout
29752
29753 \begin_layout Standard
29754 \begin_inset Note Greyedout
29755 status open
29756
29757 \begin_layout Plain Layout
29758
29759 \series bold
29760 Note:
29761 \series default
29762  Text in colorboxes cannot have line breaks.
29763  To color multiple text lines or paragraphs, use a box inside a colorbox
29764  as described in the following.
29765 \end_layout
29766
29767 \end_inset
29768
29769
29770 \end_layout
29771
29772 \begin_layout Subsection
29773 Color for Paragraphs
29774 \begin_inset CommandInset label
29775 LatexCommand label
29776 name "sub:Color-for-Paragraphs"
29777
29778 \end_inset
29779
29780
29781 \begin_inset Index
29782 status collapsed
29783
29784 \begin_layout Plain Layout
29785 Color ! for Paragraphs
29786 \end_layout
29787
29788 \end_inset
29789
29790
29791 \end_layout
29792
29793 \begin_layout Standard
29794 To set the background color for more than one text line, put the text into
29795  a minipage.
29796  Before the minipage insert the 
29797 \series bold
29798
29799 \backslash
29800 colorbox
29801 \series default
29802  command
29803 \end_layout
29804
29805 \begin_layout Standard
29806
29807 \series bold
29808
29809 \backslash
29810 colorbox{color}{
29811 \end_layout
29812
29813 \begin_layout Standard
29814 in TeX-Code.
29815  Behind the minipage insert a closing brace 
29816 \begin_inset Quotes eld
29817 \end_inset
29818
29819
29820 \series bold
29821 }
29822 \series default
29823
29824 \begin_inset Quotes erd
29825 \end_inset
29826
29827  in TeX-Code.
29828 \end_layout
29829
29830 \begin_layout Standard
29831 \begin_inset ERT
29832 status collapsed
29833
29834 \begin_layout Plain Layout
29835
29836
29837 \backslash
29838 colorbox{lightgrey}{
29839 \end_layout
29840
29841 \end_inset
29842
29843
29844 \begin_inset Box Frameless
29845 position "t"
29846 hor_pos "c"
29847 has_inner_box 1
29848 inner_pos "t"
29849 use_parbox 0
29850 width "100col%"
29851 special "none"
29852 height "1in"
29853 height_special "totalheight"
29854 status collapsed
29855
29856 \begin_layout Plain Layout
29857 This is text with background color.
29858  This is text with background color.
29859 \end_layout
29860
29861 \begin_layout Plain Layout
29862 \begin_inset VSpace defskip
29863 \end_inset
29864
29865 The text can have footnotes
29866 \begin_inset Foot
29867 status collapsed
29868
29869 \begin_layout Plain Layout
29870 Another example footnote
29871 \end_layout
29872
29873 \end_inset
29874
29875  and can include tables and figures.
29876 \end_layout
29877
29878 \begin_layout Plain Layout
29879 \align center
29880 \begin_inset Tabular
29881 <lyxtabular version="3" rows="3" columns="3">
29882 <features>
29883 <column alignment="center" valignment="top" width="0">
29884 <column alignment="center" valignment="top" width="0">
29885 <column alignment="center" valignment="top" width="0">
29886 <row>
29887 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29888 \begin_inset Text
29889
29890 \begin_layout Plain Layout
29891 a
29892 \end_layout
29893
29894 \end_inset
29895 </cell>
29896 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29897 \begin_inset Text
29898
29899 \begin_layout Plain Layout
29900 !
29901 \end_layout
29902
29903 \end_inset
29904 </cell>
29905 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29906 \begin_inset Text
29907
29908 \begin_layout Plain Layout
29909 3
29910 \end_layout
29911
29912 \end_inset
29913 </cell>
29914 </row>
29915 <row>
29916 <cell alignment="center" valignment="top" topline="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" leftline="true" usebox="none">
29926 \begin_inset Text
29927
29928 \begin_layout Plain Layout
29929 b2
29930 \begin_inset Quotes erd
29931 \end_inset
29932
29933 |
29934 \end_layout
29935
29936 \end_inset
29937 </cell>
29938 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29939 \begin_inset Text
29940
29941 \begin_layout Plain Layout
29942 >
29943 \end_layout
29944
29945 \end_inset
29946 </cell>
29947 </row>
29948 <row>
29949 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29950 \begin_inset Text
29951
29952 \begin_layout Plain Layout
29953 1
29954 \end_layout
29955
29956 \end_inset
29957 </cell>
29958 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29959 \begin_inset Text
29960
29961 \begin_layout Plain Layout
29962 §
29963 \end_layout
29964
29965 \end_inset
29966 </cell>
29967 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29968 \begin_inset Text
29969
29970 \begin_layout Plain Layout
29971 c
29972 \end_layout
29973
29974 \end_inset
29975 </cell>
29976 </row>
29977 </lyxtabular>
29978
29979 \end_inset
29980
29981
29982 \end_layout
29983
29984 \end_inset
29985
29986
29987 \begin_inset ERT
29988 status collapsed
29989
29990 \begin_layout Plain Layout
29991
29992 }
29993 \end_layout
29994
29995 \end_inset
29996
29997
29998 \end_layout
29999
30000 \begin_layout Section
30001 Rotated and Scaled Boxes
30002 \end_layout
30003
30004 \begin_layout Standard
30005 To use the the commands described in this section, the LaTeX-package 
30006 \series bold
30007 graphicx
30008 \series default
30009
30010 \begin_inset Index
30011 status collapsed
30012
30013 \begin_layout Plain Layout
30014 LaTeX-packages ! graphicx
30015 \end_layout
30016
30017 \end_inset
30018
30019  needs to be loaded in the document preamble with the command
30020 \end_layout
30021
30022 \begin_layout Standard
30023
30024 \series bold
30025
30026 \backslash
30027 @ifundefined{rotatebox}
30028 \begin_inset Newline newline
30029 \end_inset
30030
30031
30032 \begin_inset ERT
30033 status collapsed
30034
30035 \begin_layout Plain Layout
30036
30037
30038 \backslash
30039 hphantom{ }
30040 \end_layout
30041
30042 \end_inset
30043
30044 {
30045 \backslash
30046 usepackage{graphicx}}{}
30047 \end_layout
30048
30049 \begin_layout Standard
30050 \begin_inset Note Greyedout
30051 status open
30052
30053 \begin_layout Plain Layout
30054
30055 \series bold
30056 Note:
30057 \series default
30058  Some DVI-viewers can't display rotated or scaled material.
30059 \end_layout
30060
30061 \end_inset
30062
30063
30064 \end_layout
30065
30066 \begin_layout Standard
30067 \begin_inset Note Greyedout
30068 status open
30069
30070 \begin_layout Plain Layout
30071
30072 \series bold
30073 Note:
30074 \series default
30075  Floats mustn't be inside a rotated or scaled box.
30076 \end_layout
30077
30078 \end_inset
30079
30080
30081 \end_layout
30082
30083 \begin_layout Subsection
30084 Rotated Boxes
30085 \begin_inset Index
30086 status collapsed
30087
30088 \begin_layout Plain Layout
30089 Boxes ! rotated
30090 \end_layout
30091
30092 \end_inset
30093
30094
30095 \begin_inset Index
30096 status collapsed
30097
30098 \begin_layout Plain Layout
30099 Rotated material
30100 \end_layout
30101
30102 \end_inset
30103
30104
30105 \begin_inset Index
30106 status collapsed
30107
30108 \begin_layout Plain Layout
30109 Figures ! rotated
30110 \end_layout
30111
30112 \end_inset
30113
30114
30115 \begin_inset Index
30116 status collapsed
30117
30118 \begin_layout Plain Layout
30119 Table Customization ! Rotating
30120 \end_layout
30121
30122 \end_inset
30123
30124
30125 \end_layout
30126
30127 \begin_layout Standard
30128 To rotate material, you can put it into a rotated box.
30129  Such a box is created using the command 
30130 \series bold
30131
30132 \backslash
30133 rotatebox
30134 \series default
30135  in TeX-Code with the following scheme:
30136 \end_layout
30137
30138 \begin_layout Standard
30139
30140 \series bold
30141
30142 \backslash
30143 rotatebox[rotation origin]{rotation angle}{box content}
30144 \end_layout
30145
30146 \begin_layout Standard
30147 The rotation origin is specified in the form 
30148 \series bold
30149 origin=position
30150 \series default
30151 .
30152  The following positions are possible: 
30153 \emph on
30154 c
30155 \emph default
30156  (center), 
30157 \emph on
30158 l
30159 \emph default
30160  (left), 
30161 \emph on
30162 r
30163 \emph default
30164  (right), 
30165 \emph on
30166 b
30167 \emph default
30168  (bottom), 
30169 \emph on
30170 t
30171 \emph default
30172  (top), and also expedient combinations of the four base positions.
30173  For example 
30174 \emph on
30175 lt
30176 \emph default
30177  means, that the rotation origin is at the top left corner of the box.
30178  When no rotation origin is specified, the position 
30179 \emph on
30180 l
30181 \emph default
30182  will be used.
30183  The rotation angle is a number that can be negative that specifies the
30184  angle in degrees.
30185  The rotation direction is counterclockwise.
30186 \end_layout
30187
30188 \begin_layout Standard
30189 In the following example the command 
30190 \series bold
30191
30192 \backslash
30193 rotatebox[origin=c]{60}{
30194 \series default
30195  was inserted as TeX-Code before the text 
30196 \begin_inset Quotes eld
30197 \end_inset
30198
30199 with rotated
30200 \begin_inset Quotes erd
30201 \end_inset
30202
30203 ; after the text the box was closed by a closing brace 
30204 \series bold
30205 }
30206 \series default
30207  in TeX-Code.
30208 \end_layout
30209
30210 \begin_layout Standard
30211 This is a line 
30212 \begin_inset ERT
30213 status collapsed
30214
30215 \begin_layout Plain Layout
30216
30217
30218 \backslash
30219 rotatebox[origin=c]{60}{
30220 \end_layout
30221
30222 \end_inset
30223
30224 with rotated
30225 \begin_inset ERT
30226 status collapsed
30227
30228 \begin_layout Plain Layout
30229
30230 }
30231 \end_layout
30232
30233 \end_inset
30234
30235  text.
30236 \end_layout
30237
30238 \begin_layout Standard
30239 The box content can also be another box or an inline formula:
30240 \end_layout
30241
30242 \begin_layout Standard
30243 This is a line
30244 \begin_inset ERT
30245 status collapsed
30246
30247 \begin_layout Plain Layout
30248
30249
30250 \backslash
30251 rotatebox[origin=r]{-60}{
30252 \end_layout
30253
30254 \end_inset
30255
30256
30257 \begin_inset Box Doublebox
30258 position "c"
30259 hor_pos "c"
30260 has_inner_box 0
30261 inner_pos "c"
30262 use_parbox 0
30263 width "1in"
30264 special "width"
30265 height "1in"
30266 height_special "totalheight"
30267 status collapsed
30268
30269 \begin_layout Plain Layout
30270 with rotated
30271 \end_layout
30272
30273 \end_inset
30274
30275
30276 \begin_inset ERT
30277 status collapsed
30278
30279 \begin_layout Plain Layout
30280
30281 }
30282 \end_layout
30283
30284 \end_inset
30285
30286  framed text 
30287 \begin_inset ERT
30288 status collapsed
30289
30290 \begin_layout Plain Layout
30291
30292
30293 \backslash
30294 rotatebox[origin=lb]{60}{
30295 \end_layout
30296
30297 \end_inset
30298
30299
30300 \begin_inset Formula $\int A\,\mathrm{d}x=B$
30301 \end_inset
30302
30303
30304 \begin_inset ERT
30305 status collapsed
30306
30307 \begin_layout Plain Layout
30308
30309 }
30310 \end_layout
30311
30312 \end_inset
30313
30314  and a formula.
30315 \end_layout
30316
30317 \begin_layout Standard
30318 or an image or table:
30319 \end_layout
30320
30321 \begin_layout Standard
30322 This is a line
30323 \begin_inset ERT
30324 status collapsed
30325
30326 \begin_layout Plain Layout
30327
30328
30329 \backslash
30330 rotatebox[origin=lb]{90}{
30331 \end_layout
30332
30333 \end_inset
30334
30335
30336 \begin_inset Graphics
30337         filename clipart/platypus.eps
30338         lyxscale 50
30339         width 25col%
30340
30341 \end_inset
30342
30343
30344 \begin_inset ERT
30345 status collapsed
30346
30347 \begin_layout Plain Layout
30348
30349 }
30350 \end_layout
30351
30352 \end_inset
30353
30354  with a rotated image 
30355 \begin_inset ERT
30356 status collapsed
30357
30358 \begin_layout Plain Layout
30359
30360
30361 \backslash
30362 rotatebox[origin=l]{-90}{
30363 \end_layout
30364
30365 \end_inset
30366
30367
30368 \begin_inset Tabular
30369 <lyxtabular version="3" rows="2" columns="2">
30370 <features>
30371 <column alignment="center" valignment="top" width="0">
30372 <column alignment="center" valignment="top" width="0">
30373 <row>
30374 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30375 \begin_inset Text
30376
30377 \begin_layout Plain Layout
30378 q
30379 \end_layout
30380
30381 \end_inset
30382 </cell>
30383 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30384 \begin_inset Text
30385
30386 \begin_layout Plain Layout
30387 w
30388 \end_layout
30389
30390 \end_inset
30391 </cell>
30392 </row>
30393 <row>
30394 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30395 \begin_inset Text
30396
30397 \begin_layout Plain Layout
30398 e
30399 \end_layout
30400
30401 \end_inset
30402 </cell>
30403 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30404 \begin_inset Text
30405
30406 \begin_layout Plain Layout
30407 r
30408 \end_layout
30409
30410 \end_inset
30411 </cell>
30412 </row>
30413 </lyxtabular>
30414
30415 \end_inset
30416
30417
30418 \begin_inset ERT
30419 status collapsed
30420
30421 \begin_layout Plain Layout
30422
30423 }
30424 \end_layout
30425
30426 \end_inset
30427
30428  and table.
30429 \end_layout
30430
30431 \begin_layout Subsection
30432 Scaled Boxes
30433 \begin_inset Index
30434 status collapsed
30435
30436 \begin_layout Plain Layout
30437 Boxes ! scaled
30438 \end_layout
30439
30440 \end_inset
30441
30442
30443 \begin_inset Index
30444 status collapsed
30445
30446 \begin_layout Plain Layout
30447 Scaled material
30448 \end_layout
30449
30450 \end_inset
30451
30452
30453 \begin_inset Index
30454 status collapsed
30455
30456 \begin_layout Plain Layout
30457 Figures ! scaled
30458 \end_layout
30459
30460 \end_inset
30461
30462
30463 \begin_inset Index
30464 status collapsed
30465
30466 \begin_layout Plain Layout
30467 Table Customization ! Scaling
30468 \end_layout
30469
30470 \end_inset
30471
30472
30473 \end_layout
30474
30475 \begin_layout Standard
30476 To scale material the commands 
30477 \series bold
30478
30479 \backslash
30480 scalebox
30481 \series default
30482  and 
30483 \series bold
30484
30485 \backslash
30486 resizebox
30487 \series default
30488  can be used as TeX-Code.
30489 \end_layout
30490
30491 \begin_layout Standard
30492
30493 \series bold
30494
30495 \backslash
30496 scalebox
30497 \series default
30498  is used with the following scheme:
30499 \end_layout
30500
30501 \begin_layout Standard
30502
30503 \series bold
30504
30505 \backslash
30506 scalebox{horizontal}[vertical]{box content}
30507 \end_layout
30508
30509 \begin_layout Standard
30510 Horizontal and vertical are the corresponding scaling factors.
30511  If no vertical scaling factor is given, the horizontal factor will also
30512  be used as vertical one.
30513 \end_layout
30514
30515 \begin_layout Standard
30516 The command 
30517 \series bold
30518
30519 \backslash
30520 scalebox{2}{Hello}
30521 \series default
30522  creates for example a double size 
30523 \begin_inset ERT
30524 status collapsed
30525
30526 \begin_layout Plain Layout
30527
30528
30529 \backslash
30530 scalebox{2}{
30531 \end_layout
30532
30533 \end_inset
30534
30535 Hello
30536 \begin_inset ERT
30537 status collapsed
30538
30539 \begin_layout Plain Layout
30540
30541 }
30542 \end_layout
30543
30544 \end_inset
30545
30546 , compared to the document text size.
30547 \end_layout
30548
30549 \begin_layout Standard
30550
30551 \series bold
30552
30553 \backslash
30554 scalebox{2}[1]{Hello}
30555 \series default
30556  in contrary distorts the 
30557 \begin_inset ERT
30558 status collapsed
30559
30560 \begin_layout Plain Layout
30561
30562
30563 \backslash
30564 scalebox{2}[1]{
30565 \end_layout
30566
30567 \end_inset
30568
30569 Hello
30570 \begin_inset ERT
30571 status collapsed
30572
30573 \begin_layout Plain Layout
30574
30575 }
30576 \end_layout
30577
30578 \end_inset
30579
30580 .
30581 \end_layout
30582
30583 \begin_layout Standard
30584 If a the scaling factor is negative, the box content will be mirrored.
30585  Therefore the command 
30586 \series bold
30587
30588 \backslash
30589 scalebox{-1}[1]{Hello}
30590 \series default
30591  can be used to create mirror writing: 
30592 \begin_inset ERT
30593 status collapsed
30594
30595 \begin_layout Plain Layout
30596
30597
30598 \backslash
30599 scalebox{-1}[1]{
30600 \end_layout
30601
30602 \end_inset
30603
30604 Hello
30605 \begin_inset ERT
30606 status collapsed
30607
30608 \begin_layout Plain Layout
30609
30610 }
30611 \end_layout
30612
30613 \end_inset
30614
30615
30616 \end_layout
30617
30618 \begin_layout Standard
30619
30620 \series bold
30621
30622 \backslash
30623 scalebox{1}[-1]{Hello}
30624 \series default
30625  reflects the 
30626 \begin_inset ERT
30627 status collapsed
30628
30629 \begin_layout Plain Layout
30630
30631
30632 \backslash
30633 scalebox{1}[-1]{
30634 \end_layout
30635
30636 \end_inset
30637
30638 Hello
30639 \begin_inset ERT
30640 status collapsed
30641
30642 \begin_layout Plain Layout
30643
30644 }
30645 \end_layout
30646
30647 \end_inset
30648
30649  at the base line.
30650 \end_layout
30651
30652 \begin_layout Standard
30653 Equivalent to 
30654 \series bold
30655
30656 \backslash
30657 scalebox{-1}[1]{box content}
30658 \series default
30659  there exists the command
30660 \begin_inset Newline newline
30661 \end_inset
30662
30663
30664 \series bold
30665
30666 \backslash
30667 reflectbox{box content}
30668 \series default
30669 .
30670 \end_layout
30671
30672 \begin_layout Standard
30673 \begin_inset VSpace bigskip
30674 \end_inset
30675
30676 The command 
30677 \series bold
30678
30679 \backslash
30680 resizebox
30681 \series default
30682  is used to scale the box to a defined width and height.
30683  The command scheme is:
30684 \end_layout
30685
30686 \begin_layout Standard
30687
30688 \series bold
30689
30690 \backslash
30691 resizebox{width}{height}{box content}
30692 \end_layout
30693
30694 \begin_layout Standard
30695 Is one of the two command arguments given as exclamation mark 
30696 \series bold
30697 !
30698 \series default
30699 , the size is set so that the aspect ratio of the box content is kept.
30700 \end_layout
30701
30702 \begin_layout Standard
30703 The command 
30704 \series bold
30705
30706 \backslash
30707 resizebox{2cm}{1cm}{Hello}
30708 \series default
30709  produces: 
30710 \begin_inset ERT
30711 status collapsed
30712
30713 \begin_layout Plain Layout
30714
30715
30716 \backslash
30717 resizebox{2cm}{1cm}{
30718 \end_layout
30719
30720 \end_inset
30721
30722 Hello
30723 \begin_inset ERT
30724 status collapsed
30725
30726 \begin_layout Plain Layout
30727
30728 }
30729 \end_layout
30730
30731 \end_inset
30732
30733
30734 \begin_inset Newline newline
30735 \end_inset
30736
30737 The command 
30738 \series bold
30739
30740 \backslash
30741 resizebox{2cm}{!}{Hello}
30742 \series default
30743  produces: 
30744 \begin_inset ERT
30745 status collapsed
30746
30747 \begin_layout Plain Layout
30748
30749
30750 \backslash
30751 resizebox{2cm}{!}{
30752 \end_layout
30753
30754 \end_inset
30755
30756 Hello
30757 \begin_inset ERT
30758 status collapsed
30759
30760 \begin_layout Plain Layout
30761
30762 }
30763 \end_layout
30764
30765 \end_inset
30766
30767
30768 \end_layout
30769
30770 \begin_layout Standard
30771 \begin_inset VSpace bigskip
30772 \end_inset
30773
30774
30775 \begin_inset Note Greyedout
30776 status open
30777
30778 \begin_layout Plain Layout
30779
30780 \series bold
30781 Note:
30782 \series default
30783  When arguments of 
30784 \series bold
30785
30786 \backslash
30787 scalebox
30788 \series default
30789  or 
30790 \series bold
30791
30792 \backslash
30793 resizebox
30794 \series default
30795  are set to zero, no LaTeX-errors occur when exporting the document but
30796  the exported files can not or only partly be displayed.
30797 \end_layout
30798
30799 \end_inset
30800
30801
30802 \end_layout
30803
30804 \begin_layout Standard
30805 \begin_inset VSpace bigskip
30806 \end_inset
30807
30808
30809 \end_layout
30810
30811 \begin_layout Standard
30812 The boxes can be combined in any order.
30813  E.
30814 \begin_inset space \thinspace{}
30815 \end_inset
30816
30817 g.
30818 \begin_inset space \space{}
30819 \end_inset
30820
30821 the command
30822 \begin_inset Newline newline
30823 \end_inset
30824
30825
30826 \series bold
30827
30828 \backslash
30829 rotatebox[origin=c]{-45}{
30830 \backslash
30831 resizebox{2cm}{!}{
30832 \backslash
30833 reflectbox{Hello}}}
30834 \begin_inset Newline newline
30835 \end_inset
30836
30837
30838 \series default
30839 produces:
30840 \end_layout
30841
30842 \begin_layout Standard
30843 \align center
30844 \begin_inset ERT
30845 status collapsed
30846
30847 \begin_layout Plain Layout
30848
30849
30850 \backslash
30851 rotatebox[origin=c]{-45}{
30852 \backslash
30853 resizebox{2cm}{!}{
30854 \backslash
30855 reflectbox{
30856 \end_layout
30857
30858 \end_inset
30859
30860 Hello
30861 \begin_inset ERT
30862 status collapsed
30863
30864 \begin_layout Plain Layout
30865
30866 }}}
30867 \end_layout
30868
30869 \end_inset
30870
30871
30872 \end_layout
30873
30874 \begin_layout Standard
30875 \noindent
30876 Images, tables, and inline formulas are allowed as box content:
30877 \end_layout
30878
30879 \begin_layout Standard
30880 \align center
30881 \begin_inset ERT
30882 status collapsed
30883
30884 \begin_layout Plain Layout
30885
30886
30887 \backslash
30888 rotatebox[origin=c]{-30}{
30889 \backslash
30890 resizebox{2cm}{!}{
30891 \backslash
30892 reflectbox{
30893 \end_layout
30894
30895 \end_inset
30896
30897
30898 \begin_inset Graphics
30899         filename clipart/platypus.eps
30900         lyxscale 50
30901         width 25col%
30902
30903 \end_inset
30904
30905
30906 \begin_inset ERT
30907 status collapsed
30908
30909 \begin_layout Plain Layout
30910
30911 }}}
30912 \end_layout
30913
30914 \end_inset
30915
30916
30917 \begin_inset ERT
30918 status collapsed
30919
30920 \begin_layout Plain Layout
30921
30922
30923 \backslash
30924 rotatebox[origin=c]{-45}{
30925 \backslash
30926 resizebox{2cm}{!}{
30927 \backslash
30928 reflectbox{
30929 \end_layout
30930
30931 \end_inset
30932
30933
30934 \begin_inset Tabular
30935 <lyxtabular version="3" rows="2" columns="2">
30936 <features>
30937 <column alignment="center" valignment="top" width="0">
30938 <column alignment="center" valignment="top" width="0">
30939 <row>
30940 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30941 \begin_inset Text
30942
30943 \begin_layout Plain Layout
30944 q
30945 \end_layout
30946
30947 \end_inset
30948 </cell>
30949 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30950 \begin_inset Text
30951
30952 \begin_layout Plain Layout
30953 w
30954 \end_layout
30955
30956 \end_inset
30957 </cell>
30958 </row>
30959 <row>
30960 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30961 \begin_inset Text
30962
30963 \begin_layout Plain Layout
30964 e
30965 \end_layout
30966
30967 \end_inset
30968 </cell>
30969 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30970 \begin_inset Text
30971
30972 \begin_layout Plain Layout
30973 r
30974 \end_layout
30975
30976 \end_inset
30977 </cell>
30978 </row>
30979 </lyxtabular>
30980
30981 \end_inset
30982
30983
30984 \begin_inset ERT
30985 status collapsed
30986
30987 \begin_layout Plain Layout
30988
30989 }}}
30990 \end_layout
30991
30992 \end_inset
30993
30994
30995 \begin_inset ERT
30996 status collapsed
30997
30998 \begin_layout Plain Layout
30999
31000
31001 \backslash
31002 rotatebox[origin=c]{-45}{
31003 \backslash
31004 resizebox{2cm}{!}{
31005 \backslash
31006 reflectbox{
31007 \end_layout
31008
31009 \end_inset
31010
31011
31012 \begin_inset Formula $\int A\,\mathrm{d}x=B$
31013 \end_inset
31014
31015
31016 \begin_inset ERT
31017 status collapsed
31018
31019 \begin_layout Plain Layout
31020
31021 }}}
31022 \end_layout
31023
31024 \end_inset
31025
31026
31027 \end_layout
31028
31029 \begin_layout Standard
31030 When the global formula style 
31031 \series bold
31032 fleqn
31033 \series default
31034  is used in the document
31035 \begin_inset Foot
31036 status collapsed
31037
31038 \begin_layout Plain Layout
31039 When 
31040 \begin_inset Quotes eld
31041 \end_inset
31042
31043 fleqn
31044 \begin_inset Quotes erd
31045 \end_inset
31046
31047  is added to the document class options.
31048 \end_layout
31049
31050 \end_inset
31051
31052 , also display formulas can be scaled.
31053 \end_layout
31054
31055 \begin_layout Chapter
31056 External Stuff
31057 \begin_inset Index
31058 status collapsed
31059
31060 \begin_layout Plain Layout
31061 External Stuff
31062 \end_layout
31063
31064 \end_inset
31065
31066
31067 \end_layout
31068
31069 \begin_layout Standard
31070 With the menu 
31071 \family sans
31072 Insert\SpecialChar \menuseparator
31073 File
31074 \family default
31075  you can insert external material to your document.
31076  This can be:
31077 \end_layout
31078
31079 \begin_layout Description
31080 LyX
31081 \begin_inset space ~
31082 \end_inset
31083
31084 Document Another LyX document; its content is directly inserted to your
31085  document.
31086 \end_layout
31087
31088 \begin_layout Description
31089 Plain
31090 \begin_inset space ~
31091 \end_inset
31092
31093 Text A text document; every of its text lines is inserted to your document
31094  as own paragraph.
31095 \end_layout
31096
31097 \begin_layout Description
31098 Plain
31099 \begin_inset space ~
31100 \end_inset
31101
31102 Text,
31103 \begin_inset space ~
31104 \end_inset
31105
31106 Join
31107 \begin_inset space ~
31108 \end_inset
31109
31110 Lines A text document; its text lines are inserted as they are.
31111  Empty text lines creates a new paragraph in your document.
31112 \end_layout
31113
31114 \begin_layout Description
31115 External
31116 \begin_inset space ~
31117 \end_inset
31118
31119 Material Files in various formats.
31120 \end_layout
31121
31122 \begin_layout Description
31123 Child
31124 \begin_inset space ~
31125 \end_inset
31126
31127 Document LyX or LaTeX-documents.
31128 \end_layout
31129
31130 \begin_layout Section
31131 External Material
31132 \begin_inset Index
31133 status collapsed
31134
31135 \begin_layout Plain Layout
31136 External Stuff ! External Material
31137 \end_layout
31138
31139 \end_inset
31140
31141
31142 \end_layout
31143
31144 \begin_layout Standard
31145 The external material feature allows you to insert files to your document
31146  without converting them previously to a format that can be read by the
31147  document output format because LyX takes care of needed conversions.
31148  This is similar to images that can be inserted in various image formats
31149  to LyX documents.
31150  When you have enabled Instant Preview in LyX's preferences under 
31151 \family sans
31152 Look
31153 \begin_inset space ~
31154 \end_inset
31155
31156 and
31157 \begin_inset space ~
31158 \end_inset
31159
31160 feel\SpecialChar \menuseparator
31161 Graphics
31162 \family default
31163 , the external material types Dia and Xfig is directly shown in LyX.
31164 \end_layout
31165
31166 \begin_layout Standard
31167 External material can be inserted via the 
31168 \family sans
31169 External Material
31170 \family default
31171  dialog that is accessible with the menu 
31172 \family sans
31173 Insert\SpecialChar \menuseparator
31174 File\SpecialChar \menuseparator
31175 External
31176 \begin_inset space ~
31177 \end_inset
31178
31179 Material
31180 \family default
31181 .
31182  Currently the following file types (
31183 \family sans
31184 Templates
31185 \family default
31186 ) are allowed:
31187 \end_layout
31188
31189 \begin_layout Description
31190 ChessDiagram This template supports chess position diagrams made with the
31191  program 
31192 \series bold
31193
31194 \begin_inset CommandInset href
31195 LatexCommand href
31196 name "XBoard"
31197 target "http://en.wikipedia.org/wiki/XBoard"
31198
31199 \end_inset
31200
31201
31202 \series default
31203 .
31204 \end_layout
31205
31206 \begin_layout Description
31207 Date This inserts the date in the form 
31208 \emph on
31209 Day-Month-Year
31210 \emph default
31211 .
31212  This is a date inserted as external material: 
31213 \begin_inset External
31214         template Date
31215         filename .
31216
31217 \end_inset
31218
31219
31220 \begin_inset space ~
31221 \end_inset
31222
31223
31224 \begin_inset Note Note
31225 status open
31226
31227 \begin_layout Plain Layout
31228 Remove the protected space when bug 4398 is fixed!
31229 \end_layout
31230
31231 \end_inset
31232
31233
31234 \begin_inset Newline newline
31235 \end_inset
31236
31237 The date is not shown within LyX, only in the output.
31238  There are two other methods of inserting a date: Via menu 
31239 \family sans
31240 Insert\SpecialChar \menuseparator
31241 Date
31242 \family default
31243  and with the LaTeX command 
31244 \series bold
31245
31246 \backslash
31247 today
31248 \series default
31249  as TeX-Code.
31250  The different methods are compared in Table
31251 \begin_inset space ~
31252 \end_inset
31253
31254
31255 \begin_inset CommandInset ref
31256 LatexCommand ref
31257 reference "tab:Comparison-of-the"
31258
31259 \end_inset
31260
31261 .
31262 \end_layout
31263
31264 \begin_layout Description
31265 Dia This template supports diagrams created with the program 
31266 \series bold
31267
31268 \begin_inset CommandInset href
31269 LatexCommand href
31270 name "Dia"
31271 target "http://en.wikipedia.org/wiki/Dia_(software)"
31272
31273 \end_inset
31274
31275
31276 \series default
31277 .
31278 \end_layout
31279
31280 \begin_layout Description
31281 LilyPond This template is used for music notation typeset with the program
31282 \begin_inset Newline linebreak
31283 \end_inset
31284
31285
31286 \series bold
31287
31288 \begin_inset CommandInset href
31289 LatexCommand href
31290 name "LilyPond"
31291 target "http://en.wikipedia.org/wiki/LilyPond"
31292
31293 \end_inset
31294
31295
31296 \series default
31297 .
31298 \end_layout
31299
31300 \begin_layout Description
31301 PDFPages With this template you can insert PDF documents to your document.
31302  To insert certain or all pages of a PDF, use the 
31303 \emph on
31304 pages
31305 \emph default
31306  option in the 
31307 \family sans
31308 Option
31309 \family default
31310  field in the 
31311 \family sans
31312 LaTeX and LyX options
31313 \family default
31314  tab according to the template description in the dialog.
31315  When no 
31316 \emph on
31317 pages
31318 \emph default
31319  option is given, only the first page of the PDF will be inserted.
31320 \end_layout
31321
31322 \begin_layout Description
31323 RasterImage This can be used for bitmap images.
31324  Nearly all popular image formats are supported.
31325  The image can be treated in the 
31326 \family sans
31327 External material
31328 \family default
31329  dialog like the images that are usually included via the 
31330 \family sans
31331 Graphics
31332 \family default
31333  dialog as described in section
31334 \begin_inset space ~
31335 \end_inset
31336
31337
31338 \begin_inset CommandInset ref
31339 LatexCommand ref
31340 reference "sec:Graphics-Dialog"
31341
31342 \end_inset
31343
31344 .
31345  The difference is that only raster images are allowed, that means that
31346  PDF and EPS-images are not supported.
31347 \end_layout
31348
31349 \begin_layout Description
31350 XFig This template supports images created with the program 
31351 \series bold
31352
31353 \begin_inset CommandInset href
31354 LatexCommand href
31355 name "Xfig"
31356 target "http://en.wikipedia.org/wiki/Xfig"
31357
31358 \end_inset
31359
31360
31361 \series default
31362 .
31363 \end_layout
31364
31365 \begin_layout Standard
31366 \begin_inset Float table
31367 placement h
31368 wide false
31369 sideways false
31370 status open
31371
31372 \begin_layout Plain Layout
31373 \begin_inset Caption
31374
31375 \begin_layout Plain Layout
31376 \begin_inset CommandInset label
31377 LatexCommand label
31378 name "tab:Comparison-of-the"
31379
31380 \end_inset
31381
31382 Comparison of the date input methods.
31383 \end_layout
31384
31385 \end_inset
31386
31387
31388 \end_layout
31389
31390 \begin_layout Plain Layout
31391 \align center
31392 \begin_inset Tabular
31393 <lyxtabular version="3" rows="4" columns="4">
31394 <features>
31395 <column alignment="center" valignment="top" width="0">
31396 <column alignment="center" valignment="top" width="0">
31397 <column alignment="center" valignment="top" width="0">
31398 <column alignment="center" valignment="top" width="0">
31399 <row>
31400 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31401 \begin_inset Text
31402
31403 \begin_layout Plain Layout
31404 Document format
31405 \end_layout
31406
31407 \end_inset
31408 </cell>
31409 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31410 \begin_inset Text
31411
31412 \begin_layout Plain Layout
31413
31414 \family sans
31415 External Material\SpecialChar \menuseparator
31416 Date
31417 \end_layout
31418
31419 \end_inset
31420 </cell>
31421 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31422 \begin_inset Text
31423
31424 \begin_layout Plain Layout
31425
31426 \family sans
31427 Insert\SpecialChar \menuseparator
31428 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 command 
31438 \series bold
31439
31440 \backslash
31441 today
31442 \end_layout
31443
31444 \end_inset
31445 </cell>
31446 </row>
31447 <row>
31448 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31449 \begin_inset Text
31450
31451 \begin_layout Plain Layout
31452 LyX
31453 \end_layout
31454
31455 \end_inset
31456 </cell>
31457 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31458 \begin_inset Text
31459
31460 \begin_layout Plain Layout
31461 as inset box
31462 \end_layout
31463
31464 \end_inset
31465 </cell>
31466 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31467 \begin_inset Text
31468
31469 \begin_layout Plain Layout
31470 as date
31471 \end_layout
31472
31473 \end_inset
31474 </cell>
31475 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31476 \begin_inset Text
31477
31478 \begin_layout Plain Layout
31479 as TeX-Code inset box
31480 \end_layout
31481
31482 \end_inset
31483 </cell>
31484 </row>
31485 <row>
31486 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31487 \begin_inset Text
31488
31489 \begin_layout Plain Layout
31490 LaTeX
31491 \end_layout
31492
31493 \end_inset
31494 </cell>
31495 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31496 \begin_inset Text
31497
31498 \begin_layout Plain Layout
31499 as date
31500 \end_layout
31501
31502 \end_inset
31503 </cell>
31504 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31505 \begin_inset Text
31506
31507 \begin_layout Plain Layout
31508 as date
31509 \end_layout
31510
31511 \end_inset
31512 </cell>
31513 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31514 \begin_inset Text
31515
31516 \begin_layout Plain Layout
31517 as command
31518 \end_layout
31519
31520 \end_inset
31521 </cell>
31522 </row>
31523 <row>
31524 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31525 \begin_inset Text
31526
31527 \begin_layout Plain Layout
31528 DVI, PDF, PS
31529 \end_layout
31530
31531 \end_inset
31532 </cell>
31533 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31534 \begin_inset Text
31535
31536 \begin_layout Plain Layout
31537 as date
31538 \end_layout
31539
31540 \end_inset
31541 </cell>
31542 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31543 \begin_inset Text
31544
31545 \begin_layout Plain Layout
31546 as date
31547 \end_layout
31548
31549 \end_inset
31550 </cell>
31551 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31552 \begin_inset Text
31553
31554 \begin_layout Plain Layout
31555 as date
31556 \end_layout
31557
31558 \end_inset
31559 </cell>
31560 </row>
31561 </lyxtabular>
31562
31563 \end_inset
31564
31565
31566 \end_layout
31567
31568 \end_inset
31569
31570
31571 \end_layout
31572
31573 \begin_layout Standard
31574 When you use the option 
31575 \family sans
31576 Draft
31577 \family default
31578  in the 
31579 \family sans
31580 File
31581 \family default
31582  tab of the 
31583 \family sans
31584 External Material
31585 \family default
31586  dialog, only the path to the inserted file is shown in the output.
31587 \begin_inset Newline newline
31588 \end_inset
31589
31590 External material is displayed in LyX either as box like this: 
31591 \begin_inset Graphics
31592         filename clipart/ExternalMaterialQt4.png
31593         scale 85
31594         scaleBeforeRotation
31595
31596 \end_inset
31597
31598  or as image, depending on the option 
31599 \family sans
31600 Show in LyX
31601 \family default
31602  in the 
31603 \family sans
31604 LaTeX and LyX options
31605 \family default
31606  tab of the dialog.
31607 \end_layout
31608
31609 \begin_layout Standard
31610 The 
31611 \family sans
31612 \emph on
31613 Customization
31614 \family default
31615 \emph default
31616  manual explains how you can define your own templates.
31617 \end_layout
31618
31619 \begin_layout Section
31620 Child Documents
31621 \begin_inset CommandInset label
31622 LatexCommand label
31623 name "sec:Child-Documents"
31624
31625 \end_inset
31626
31627
31628 \begin_inset Index
31629 status collapsed
31630
31631 \begin_layout Plain Layout
31632 External Stuff ! Child Documents
31633 \end_layout
31634
31635 \end_inset
31636
31637
31638 \begin_inset Index
31639 status collapsed
31640
31641 \begin_layout Plain Layout
31642 Files ! Include
31643 \end_layout
31644
31645 \end_inset
31646
31647
31648 \end_layout
31649
31650 \begin_layout Standard
31651 Child documents are used when you have a long document consisting of several
31652  larger parts or sections.
31653  For maintenance it is often useful and sometimes even required to split
31654  the document in several files that can be revised separately.
31655  The different documents are then the so called child documents and a master
31656  document connects them to print the full document or parts of it.
31657  A child documents inherits contents of its master, for example the bibliography
31658  and the labels for cross-references.
31659 \end_layout
31660
31661 \begin_layout Standard
31662 To be able to work on child documents without the need to open its master,
31663  specify in the child document the master in the menu
31664 \family sans
31665  Document\SpecialChar \menuseparator
31666 Settings\SpecialChar \menuseparator
31667 Document
31668 \begin_inset space ~
31669 \end_inset
31670
31671 Class
31672 \family default
31673 .
31674  This master file will then be used in the background by LyX when you edit
31675  the child document.
31676 \end_layout
31677
31678 \begin_layout Standard
31679 Included documents are displayed in LyX as a box like this: 
31680 \begin_inset Graphics
31681         filename clipart/ChildDocumentQt4.png
31682         scale 85
31683         scaleBeforeRotation
31684
31685 \end_inset
31686
31687  To include child documents to a master document use the menu 
31688 \family sans
31689 Insert\SpecialChar \menuseparator
31690 File\SpecialChar \menuseparator
31691 Child
31692 \begin_inset space ~
31693 \end_inset
31694
31695 Documents
31696 \family default
31697 .
31698  A dialog pops up where you can choose between four include methods:
31699 \end_layout
31700
31701 \begin_layout Description
31702 Include You can include LyX and LaTeX-documents.
31703  When you press the 
31704 \family sans
31705 Load
31706 \family default
31707  button in the 
31708 \family sans
31709 Child Document
31710 \family default
31711  dialog, the included documents will be opened in LyX in a new file tab
31712  so that you can modify it.
31713 \begin_inset Newline newline
31714 \end_inset
31715
31716
31717 \end_layout
31718
31719 \begin_layout Standard
31720 Here is a child document inserted using 
31721 \family sans
31722 Include
31723 \family default
31724
31725 \begin_inset CommandInset include
31726 LatexCommand include
31727 filename "DummyDocument1.lyx"
31728
31729 \end_inset
31730
31731
31732 \end_layout
31733
31734 \begin_layout Standard
31735 The section numbering includes the sections of the included files in the
31736  order they are inserted in the master document.
31737  The included example document has for example a subsection that is numbered
31738  as subsection of this section.
31739  Labels of included documents can be referenced: Subsection
31740 \begin_inset space ~
31741 \end_inset
31742
31743
31744 \begin_inset CommandInset ref
31745 LatexCommand ref
31746 reference "sub:External-Subsection-1"
31747
31748 \end_inset
31749
31750
31751 \end_layout
31752
31753 \begin_layout Standard
31754 The preamble of the child document is ignored, only the preamble of the
31755  master document is used.
31756  Included documents are inserted starting on a new page and end with a page
31757  break.
31758 \end_layout
31759
31760 \begin_layout Standard
31761 With the LaTeX-command 
31762 \series bold
31763
31764 \backslash
31765 includeonly 
31766 \series default
31767 you can specify which included child documents are processed when the output
31768  is generated.
31769  This is useful when you are perhaps only working on a certain chapter of
31770  your large document as this saves compiling time.
31771  
31772 \series bold
31773
31774 \backslash
31775 includeonly
31776 \series default
31777  is inserted to the master document preamble.
31778  It takes a comma-separated list of the filenames as argument, e.
31779 \begin_inset space \thinspace{}
31780 \end_inset
31781
31782 g.
31783 \end_layout
31784
31785 \begin_layout Standard
31786
31787 \series bold
31788
31789 \backslash
31790 includeonly{chapter1,chapter5}
31791 \end_layout
31792
31793 \begin_layout Standard
31794 will only process the included files named 
31795 \begin_inset Quotes eld
31796 \end_inset
31797
31798 chapter1.lyx
31799 \begin_inset Quotes erd
31800 \end_inset
31801
31802  (or 
31803 \begin_inset Quotes eld
31804 \end_inset
31805
31806 chapter1.tex
31807 \begin_inset Quotes erd
31808 \end_inset
31809
31810 ) and 
31811 \begin_inset Quotes eld
31812 \end_inset
31813
31814 chapter5.lyx
31815 \begin_inset Quotes erd
31816 \end_inset
31817
31818  .
31819 \end_layout
31820
31821 \begin_layout Standard
31822 \begin_inset Note Greyedout
31823 status open
31824
31825 \begin_layout Plain Layout
31826
31827 \series bold
31828 Note:
31829 \series default
31830  When you have included a LyX- or LaTeX-file, you are warned when you export/vie
31831 w the document in case that the child document uses another document class
31832  than the master document as this will lead to unexpected outputs.
31833 \end_layout
31834
31835 \end_inset
31836
31837
31838 \end_layout
31839
31840 \begin_layout Description
31841 Input This method is very similar to the Include method.
31842  The differences are:
31843 \end_layout
31844
31845 \begin_deeper
31846 \begin_layout Itemize
31847 Input files don't start with a new page and don't end with a page break.
31848 \end_layout
31849
31850 \begin_layout Itemize
31851 Input files can be previewed in LyX when 
31852 \family sans
31853 Instant
31854 \begin_inset space ~
31855 \end_inset
31856
31857 Preview
31858 \family default
31859  is enabled in LyX's preferences under 
31860 \family sans
31861 Look
31862 \begin_inset space ~
31863 \end_inset
31864
31865 and
31866 \begin_inset space ~
31867 \end_inset
31868
31869 feel\SpecialChar \menuseparator
31870 Graphics
31871 \family default
31872 .
31873 \end_layout
31874
31875 \begin_layout Itemize
31876 The LaTeX-command 
31877 \series bold
31878
31879 \backslash
31880 includeonly
31881 \series default
31882  cannot be used.
31883 \end_layout
31884
31885 \end_deeper
31886 \begin_layout Standard
31887 Here is a child document inserted using 
31888 \family sans
31889 Input
31890 \family default
31891
31892 \begin_inset CommandInset include
31893 LatexCommand input
31894 filename "DummyDocument2.lyx"
31895
31896 \end_inset
31897
31898
31899 \end_layout
31900
31901 \begin_layout Description
31902 Verbatim With this method every text file can be included.
31903  The file is shown in the output with its source code, no command used in
31904  the text is invoked.
31905  You can use the option 
31906 \family sans
31907 Mark spaces in output
31908 \family default
31909  that displays the character 
31910 \begin_inset Quotes eld
31911 \end_inset
31912
31913
31914 \begin_inset ERT
31915 status collapsed
31916
31917 \begin_layout Plain Layout
31918
31919
31920 \backslash
31921 textvisiblespace 
31922 \end_layout
31923
31924 \end_inset
31925
31926
31927 \begin_inset Quotes erd
31928 \end_inset
31929
31930  for every space character in the source code.
31931  The difference to the method via the menu 
31932 \family sans
31933 Insert\SpecialChar \menuseparator
31934 File\SpecialChar \menuseparator
31935 Plain
31936 \begin_inset space ~
31937 \end_inset
31938
31939 Text
31940 \family default
31941  is that the document content is not shown in LyX.
31942 \end_layout
31943
31944 \begin_layout Standard
31945 Here is a child document inserted as Verbatim: 
31946 \begin_inset CommandInset include
31947 LatexCommand verbatiminput
31948 filename "DummyTextDocument.txt"
31949
31950 \end_inset
31951
31952
31953 \begin_inset VSpace bigskip
31954 \end_inset
31955
31956 Here is a child document inserted as Verbatim using the 
31957 \family sans
31958 Mark spaces in output
31959 \family default
31960  option: 
31961 \begin_inset CommandInset include
31962 LatexCommand verbatiminput*
31963 filename "DummyTextDocument.txt"
31964
31965 \end_inset
31966
31967
31968 \end_layout
31969
31970 \begin_layout Standard
31971 \begin_inset VSpace bigskip
31972 \end_inset
31973
31974
31975 \end_layout
31976
31977 \begin_layout Standard
31978 \begin_inset Note Greyedout
31979 status open
31980
31981 \begin_layout Plain Layout
31982
31983 \series bold
31984 Note:
31985 \series default
31986  As you can see in the examples above, the text of the documents included
31987  as 
31988 \family sans
31989 verbatim
31990 \family default
31991  is not broken at the end of the document lines.
31992 \end_layout
31993
31994 \end_inset
31995
31996
31997 \end_layout
31998
31999 \begin_layout Description
32000 Listings This type is described in chapter
32001 \begin_inset space ~
32002 \end_inset
32003
32004
32005 \begin_inset CommandInset ref
32006 LatexCommand ref
32007 reference "cha:Program-Code-Listings"
32008
32009 \end_inset
32010
32011 .
32012 \end_layout
32013
32014 \begin_layout Standard
32015 \begin_inset Note Greyedout
32016 status open
32017
32018 \begin_layout Plain Layout
32019
32020 \series bold
32021 Note:
32022 \series default
32023  Including the same document twice in a document using different methods
32024  could cause LaTeX-problems.
32025 \end_layout
32026
32027 \end_inset
32028
32029
32030 \end_layout
32031
32032 \begin_layout Chapter
32033 Program Code Listings
32034 \begin_inset CommandInset label
32035 LatexCommand label
32036 name "cha:Program-Code-Listings"
32037
32038 \end_inset
32039
32040
32041 \begin_inset Index
32042 status collapsed
32043
32044 \begin_layout Plain Layout
32045 Listings
32046 \end_layout
32047
32048 \end_inset
32049
32050
32051 \begin_inset Index
32052 status collapsed
32053
32054 \begin_layout Plain Layout
32055 Program Code
32056 \end_layout
32057
32058 \end_inset
32059
32060
32061 \begin_inset Index
32062 status collapsed
32063
32064 \begin_layout Plain Layout
32065 Floats ! Listings
32066 \end_layout
32067
32068 \end_inset
32069
32070
32071 \end_layout
32072
32073 \begin_layout Standard
32074 To include and typeset program code you can use the 
32075 \family sans
32076 Listings
32077 \family default
32078  inset that can be inserted via the menu 
32079 \family sans
32080 Insert\SpecialChar \menuseparator
32081 Program Listing
32082 \family default
32083 .
32084  The LaTeX-package 
32085 \series bold
32086 listings
32087 \series default
32088
32089 \begin_inset Index
32090 status collapsed
32091
32092 \begin_layout Plain Layout
32093 LaTeX-packages ! listings
32094 \end_layout
32095
32096 \end_inset
32097
32098  provides a powerful and flexible way to insert program source code to your
32099  document.
32100 \end_layout
32101
32102 \begin_layout Standard
32103 Right-clicking on a listings inset opens the context menu containing where
32104  you can set the listings format.
32105 \end_layout
32106
32107 \begin_layout Standard
32108 By default, a listing starts a new paragraph in the output.
32109  The placement option 
32110 \family sans
32111 Inline
32112 \begin_inset space ~
32113 \end_inset
32114
32115 listing
32116 \family default
32117  prints the listing inline like this: 
32118 \begin_inset listings
32119 lstparams "language={C++}"
32120 inline true
32121 status open
32122
32123 \begin_layout Plain Layout
32124
32125 int a=5;
32126 \end_layout
32127
32128 \end_inset
32129
32130
32131 \begin_inset Newline newline
32132 \end_inset
32133
32134 The option 
32135 \family sans
32136 Float
32137 \family default
32138  creates a listings float where you can specify the placement options 
32139 \begin_inset Quotes eld
32140 \end_inset
32141
32142
32143 \family sans
32144 h
32145 \family default
32146
32147 \begin_inset Quotes erd
32148 \end_inset
32149
32150
32151 \begin_inset Quotes eld
32152 \end_inset
32153
32154
32155 \family sans
32156 t
32157 \family default
32158
32159 \begin_inset Quotes erd
32160 \end_inset
32161
32162
32163 \begin_inset Quotes eld
32164 \end_inset
32165
32166
32167 \family sans
32168 b
32169 \family default
32170
32171 \begin_inset Quotes erd
32172 \end_inset
32173
32174 , and 
32175 \begin_inset Quotes eld
32176 \end_inset
32177
32178
32179 \family sans
32180 p
32181 \family default
32182
32183 \begin_inset Quotes erd
32184 \end_inset
32185
32186  corresponding to the float placement options described in section
32187 \begin_inset space ~
32188 \end_inset
32189
32190
32191 \begin_inset CommandInset ref
32192 LatexCommand ref
32193 reference "sec:Float-Placement"
32194
32195 \end_inset
32196
32197 .
32198  The placement options can be mixed and are inserted without any separation,
32199  e.
32200 \begin_inset space \thinspace{}
32201 \end_inset
32202
32203 g.
32204 \begin_inset space \space{}
32205 \end_inset
32206
32207
32208 \begin_inset Quotes eld
32209 \end_inset
32210
32211
32212 \family sans
32213 htbp
32214 \family default
32215
32216 \begin_inset Quotes erd
32217 \end_inset
32218
32219 .
32220  The option 
32221 \begin_inset Quotes eld
32222 \end_inset
32223
32224 h
32225 \begin_inset Quotes erd
32226 \end_inset
32227
32228  has sometimes no effect, but you don't need to use the 
32229 \family sans
32230 Float
32231 \family default
32232  option in this case as also non-float listings can have captions and be
32233  referenced.
32234 \end_layout
32235
32236 \begin_layout Standard
32237 You can add captions to listings with the menu 
32238 \family sans
32239 Insert\SpecialChar \menuseparator
32240 Caption
32241 \family default
32242 .
32243  Listings can be referenced like floats: Listing
32244 \begin_inset space ~
32245 \end_inset
32246
32247
32248 \begin_inset CommandInset ref
32249 LatexCommand ref
32250 reference "lst:Example-Listing"
32251
32252 \end_inset
32253
32254
32255 \end_layout
32256
32257 \begin_layout Standard
32258 \begin_inset listings
32259 lstparams "language=Python"
32260 inline false
32261 status open
32262
32263 \begin_layout Plain Layout
32264
32265 \begin_inset Caption
32266
32267 \begin_layout Plain Layout
32268 \begin_inset CommandInset label
32269 LatexCommand label
32270 name "lst:Example-Listing"
32271
32272 \end_inset
32273
32274 Example Listing float
32275 \end_layout
32276
32277 \end_inset
32278
32279 # Example listing float
32280 \end_layout
32281
32282 \begin_layout Plain Layout
32283
32284 def func(param):
32285 \end_layout
32286
32287 \begin_layout Plain Layout
32288
32289     'this is a python function'
32290 \end_layout
32291
32292 \begin_layout Plain Layout
32293
32294     pass
32295 \end_layout
32296
32297 \end_inset
32298
32299
32300 \end_layout
32301
32302 \begin_layout Standard
32303 When you have set a programming language in the listings dialog, the keywords
32304  of this language will be recognized and specially typeset in the output.
32305  In the example listings the Python keyword 
32306 \begin_inset Quotes eld
32307 \end_inset
32308
32309 def
32310 \begin_inset Quotes erd
32311 \end_inset
32312
32313  is recognized and printed bold in the output.
32314 \end_layout
32315
32316 \begin_layout Standard
32317 \begin_inset Note Greyedout
32318 status open
32319
32320 \begin_layout Plain Layout
32321
32322 \series bold
32323 Note:
32324 \series default
32325  If you don't get bold keywords when using typewriter fonts, your 
32326 \family typewriter
32327 typewriter
32328 \family default
32329  font probably doesn't provide a bold shape.
32330  In this case select a different one in the menu 
32331 \family sans
32332 Document\SpecialChar \menuseparator
32333 Settings\SpecialChar \menuseparator
32334 Fonts
32335 \family default
32336 .
32337  (The fonts 
32338 \emph on
32339 LuxiMono, BeraMono
32340 \emph default
32341  and 
32342 \emph on
32343 Courier
32344 \emph default
32345  provide bold shapes.)
32346 \end_layout
32347
32348 \end_inset
32349
32350
32351 \end_layout
32352
32353 \begin_layout Standard
32354 In section 
32355 \family sans
32356 Line
32357 \begin_inset space ~
32358 \end_inset
32359
32360 numbering
32361 \family default
32362  of the listings dialog you can specify the line numbering style.
32363  You can insert a number to specify which lines are numbered to the field
32364  
32365 \family sans
32366 Step
32367 \family default
32368 .
32369  When you insert e.
32370 \begin_inset space \thinspace{}
32371 \end_inset
32372
32373 g.
32374 \begin_inset space \space{}
32375 \end_inset
32376
32377
32378 \begin_inset Quotes eld
32379 \end_inset
32380
32381 3
32382 \begin_inset Quotes erd
32383 \end_inset
32384
32385 , only every 3rd line will be numbered.
32386 \end_layout
32387
32388 \begin_layout Standard
32389 You can furthermore specify a range of lines, only these will then appear
32390  in the output.
32391  The option 
32392 \family sans
32393 Extended character table
32394 \family default
32395  should be used when you use national characters like the German umlauts
32396  in the listing.
32397 \begin_inset Newline newline
32398 \end_inset
32399
32400 Here is an example listing with left line numbering, step 
32401 \begin_inset Quotes eld
32402 \end_inset
32403
32404 3
32405 \begin_inset Quotes erd
32406 \end_inset
32407
32408 , language 
32409 \begin_inset Quotes eld
32410 \end_inset
32411
32412 Python
32413 \begin_inset Quotes erd
32414 \end_inset
32415
32416 , options 
32417 \begin_inset Quotes eld
32418 \end_inset
32419
32420 Extended character table
32421 \begin_inset Quotes erd
32422 \end_inset
32423
32424  and 
32425 \begin_inset Quotes eld
32426 \end_inset
32427
32428 Space
32429 \begin_inset space ~
32430 \end_inset
32431
32432 as
32433 \begin_inset space ~
32434 \end_inset
32435
32436 symbol
32437 \begin_inset Quotes erd
32438 \end_inset
32439
32440 , range lines 3
32441 \begin_inset space \thinspace{}
32442 \end_inset
32443
32444 -
32445 \begin_inset space \thinspace{}
32446 \end_inset
32447
32448 8:
32449 \end_layout
32450
32451 \begin_layout Standard
32452 \begin_inset listings
32453 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
32454 inline false
32455 status open
32456
32457 \begin_layout Plain Layout
32458
32459 def func(param):
32460 \end_layout
32461
32462 \begin_layout Plain Layout
32463
32464     'this is a python function'
32465 \end_layout
32466
32467 \begin_layout Plain Layout
32468
32469     pass
32470 \end_layout
32471
32472 \begin_layout Plain Layout
32473
32474 def func(param):
32475 \end_layout
32476
32477 \begin_layout Plain Layout
32478
32479 'This is a German word: Tschüß'
32480 \end_layout
32481
32482 \begin_layout Plain Layout
32483
32484 pass
32485 \end_layout
32486
32487 \begin_layout Plain Layout
32488
32489 def func(param):
32490 \end_layout
32491
32492 \begin_layout Plain Layout
32493
32494 'this is a python function'
32495 \end_layout
32496
32497 \begin_layout Plain Layout
32498
32499 pass
32500 \end_layout
32501
32502 \end_inset
32503
32504
32505 \end_layout
32506
32507 \begin_layout Standard
32508 When you have tabulators in your listing, you can specify the number of
32509  characters that are spanned by a tabulator in the field 
32510 \family sans
32511 Tabulator
32512 \begin_inset space ~
32513 \end_inset
32514
32515 size
32516 \family default
32517 .
32518 \end_layout
32519
32520 \begin_layout Standard
32521 \begin_inset Note Greyedout
32522 status open
32523
32524 \begin_layout Plain Layout
32525
32526 \series bold
32527 Note:
32528 \series default
32529  Due to a bug in the 
32530 \series bold
32531 listings
32532 \series default
32533  package the line numbering is shifted by a line by every previous listing.
32534  That's the reason why the lines 2 and 5 are numbered in the above listing
32535  and not the lines 3 and 6.
32536 \end_layout
32537
32538 \end_inset
32539
32540
32541 \end_layout
32542
32543 \begin_layout Standard
32544 \begin_inset VSpace bigskip
32545 \end_inset
32546
32547
32548 \end_layout
32549
32550 \begin_layout Standard
32551 It is also possible to print lines from a file as listing.
32552  To do this, use the menu 
32553 \family sans
32554 Insert\SpecialChar \menuseparator
32555 File\SpecialChar \menuseparator
32556 Child Document
32557 \family default
32558  and choose the type 
32559 \family sans
32560 Listings
32561 \family default
32562 .
32563 \begin_inset Foot
32564 status collapsed
32565
32566 \begin_layout Plain Layout
32567 The other child document types are described in section
32568 \begin_inset space ~
32569 \end_inset
32570
32571
32572 \begin_inset CommandInset ref
32573 LatexCommand ref
32574 reference "sec:Child-Documents"
32575
32576 \end_inset
32577
32578 .
32579 \end_layout
32580
32581 \end_inset
32582
32583  In the child document dialog you can specify the listing parameters in
32584  a text box.
32585  To show a list of all available parameters, type in a question mark 
32586 \begin_inset Quotes eld
32587 \end_inset
32588
32589 ?
32590 \begin_inset Quotes erd
32591 \end_inset
32592
32593  in the text box.
32594 \end_layout
32595
32596 \begin_layout Standard
32597 To reference child document listings, write a label text into the corresponding
32598  field of the child document dialog.
32599  The label can then be referenced using the menu 
32600 \family sans
32601 Insert\SpecialChar \menuseparator
32602 Cross-Reference
32603 \family default
32604 .
32605 \end_layout
32606
32607 \begin_layout Standard
32608 Listing
32609 \begin_inset space ~
32610 \end_inset
32611
32612
32613 \begin_inset CommandInset ref
32614 LatexCommand ref
32615 reference "lst:file-listing"
32616
32617 \end_inset
32618
32619  is an example for a listing of a file; there the lines 10
32620 \begin_inset space \thinspace{}
32621 \end_inset
32622
32623 -
32624 \begin_inset space \thinspace{}
32625 \end_inset
32626
32627 15 of this LyX file are listed.
32628 \end_layout
32629
32630 \begin_layout Standard
32631 \begin_inset CommandInset include
32632 LatexCommand lstinputlisting
32633 filename "EmbeddedObjects.lyx"
32634 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
32635
32636 \end_inset
32637
32638
32639 \end_layout
32640
32641 \begin_layout Standard
32642 \begin_inset VSpace bigskip
32643 \end_inset
32644
32645
32646 \end_layout
32647
32648 \begin_layout Standard
32649 Global listings settings can be set in the 
32650 \family sans
32651 Document\SpecialChar \menuseparator
32652 Settings\SpecialChar \menuseparator
32653 Text Layout
32654 \family default
32655  dialog.
32656  To get there a list of available options, type in a question mark 
32657 \begin_inset Quotes eld
32658 \end_inset
32659
32660 ?
32661 \begin_inset Quotes erd
32662 \end_inset
32663
32664  in the 
32665 \family sans
32666 Listings
32667 \begin_inset space ~
32668 \end_inset
32669
32670 settings
32671 \family default
32672  field.
32673 \end_layout
32674
32675 \begin_layout Standard
32676 For more information about the 
32677 \series bold
32678 listings
32679 \series default
32680  package, we refer to its documentation 
32681 \begin_inset CommandInset citation
32682 LatexCommand cite
32683 key "listings"
32684
32685 \end_inset
32686
32687 .
32688 \end_layout
32689
32690 \begin_layout Standard
32691 \begin_inset Newpage newpage
32692 \end_inset
32693
32694
32695 \end_layout
32696
32697 \begin_layout Chapter
32698 \start_of_appendix
32699 Units available in LyX
32700 \begin_inset Index
32701 status collapsed
32702
32703 \begin_layout Plain Layout
32704 Units
32705 \end_layout
32706
32707 \end_inset
32708
32709
32710 \begin_inset CommandInset label
32711 LatexCommand label
32712 name "cha:Units-available-in"
32713
32714 \end_inset
32715
32716
32717 \end_layout
32718
32719 \begin_layout Standard
32720 To understand the units described in this documentation, Table
32721 \begin_inset space ~
32722 \end_inset
32723
32724
32725 \begin_inset CommandInset ref
32726 LatexCommand ref
32727 reference "tab:Units"
32728
32729 \end_inset
32730
32731  explains all units available in LyX.
32732 \end_layout
32733
32734 \begin_layout Standard
32735 \begin_inset Float table
32736 placement h
32737 wide false
32738 sideways false
32739 status open
32740
32741 \begin_layout Plain Layout
32742 \begin_inset Caption
32743
32744 \begin_layout Plain Layout
32745 \begin_inset CommandInset label
32746 LatexCommand label
32747 name "tab:Units"
32748
32749 \end_inset
32750
32751 Units
32752 \end_layout
32753
32754 \end_inset
32755
32756
32757 \end_layout
32758
32759 \begin_layout Plain Layout
32760 \begin_inset VSpace medskip
32761 \end_inset
32762
32763
32764 \end_layout
32765
32766 \begin_layout Plain Layout
32767 \align center
32768 \begin_inset Tabular
32769 <lyxtabular version="3" rows="20" columns="2">
32770 <features>
32771 <column alignment="center" valignment="top" width="0">
32772 <column alignment="center" valignment="top" width="0">
32773 <row>
32774 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32775 \begin_inset Text
32776
32777 \begin_layout Plain Layout
32778 unit
32779 \end_layout
32780
32781 \end_inset
32782 </cell>
32783 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
32784 \begin_inset Text
32785
32786 \begin_layout Plain Layout
32787 name/description
32788 \end_layout
32789
32790 \end_inset
32791 </cell>
32792 </row>
32793 <row>
32794 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32795 \begin_inset Text
32796
32797 \begin_layout Plain Layout
32798 mm
32799 \end_layout
32800
32801 \end_inset
32802 </cell>
32803 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32804 \begin_inset Text
32805
32806 \begin_layout Plain Layout
32807 millimeter
32808 \end_layout
32809
32810 \end_inset
32811 </cell>
32812 </row>
32813 <row>
32814 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32815 \begin_inset Text
32816
32817 \begin_layout Plain Layout
32818 cm
32819 \end_layout
32820
32821 \end_inset
32822 </cell>
32823 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32824 \begin_inset Text
32825
32826 \begin_layout Plain Layout
32827 centimeter
32828 \end_layout
32829
32830 \end_inset
32831 </cell>
32832 </row>
32833 <row>
32834 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32835 \begin_inset Text
32836
32837 \begin_layout Plain Layout
32838 in
32839 \end_layout
32840
32841 \end_inset
32842 </cell>
32843 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32844 \begin_inset Text
32845
32846 \begin_layout Plain Layout
32847 inch
32848 \end_layout
32849
32850 \end_inset
32851 </cell>
32852 </row>
32853 <row>
32854 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32855 \begin_inset Text
32856
32857 \begin_layout Plain Layout
32858 pt
32859 \end_layout
32860
32861 \end_inset
32862 </cell>
32863 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32864 \begin_inset Text
32865
32866 \begin_layout Plain Layout
32867 point (72.27
32868 \begin_inset space \thinspace{}
32869 \end_inset
32870
32871 pt = 1
32872 \begin_inset space \thinspace{}
32873 \end_inset
32874
32875 in)
32876 \end_layout
32877
32878 \end_inset
32879 </cell>
32880 </row>
32881 <row>
32882 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32883 \begin_inset Text
32884
32885 \begin_layout Plain Layout
32886 pc
32887 \end_layout
32888
32889 \end_inset
32890 </cell>
32891 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32892 \begin_inset Text
32893
32894 \begin_layout Plain Layout
32895 pica (1
32896 \begin_inset space \thinspace{}
32897 \end_inset
32898
32899 pc = 12
32900 \begin_inset space \thinspace{}
32901 \end_inset
32902
32903 pt)
32904 \end_layout
32905
32906 \end_inset
32907 </cell>
32908 </row>
32909 <row>
32910 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32911 \begin_inset Text
32912
32913 \begin_layout Plain Layout
32914 sp
32915 \end_layout
32916
32917 \end_inset
32918 </cell>
32919 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32920 \begin_inset Text
32921
32922 \begin_layout Plain Layout
32923 scaled point (65536
32924 \begin_inset space \thinspace{}
32925 \end_inset
32926
32927 sp = 1
32928 \begin_inset space \thinspace{}
32929 \end_inset
32930
32931 pt)
32932 \end_layout
32933
32934 \end_inset
32935 </cell>
32936 </row>
32937 <row>
32938 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32939 \begin_inset Text
32940
32941 \begin_layout Plain Layout
32942 bp
32943 \end_layout
32944
32945 \end_inset
32946 </cell>
32947 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32948 \begin_inset Text
32949
32950 \begin_layout Plain Layout
32951 big point (72
32952 \begin_inset space \thinspace{}
32953 \end_inset
32954
32955 bp = 1
32956 \begin_inset space \thinspace{}
32957 \end_inset
32958
32959 in)
32960 \end_layout
32961
32962 \end_inset
32963 </cell>
32964 </row>
32965 <row>
32966 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32967 \begin_inset Text
32968
32969 \begin_layout Plain Layout
32970 dd
32971 \end_layout
32972
32973 \end_inset
32974 </cell>
32975 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32976 \begin_inset Text
32977
32978 \begin_layout Plain Layout
32979 didot (1
32980 \begin_inset space \thinspace{}
32981 \end_inset
32982
32983 dd 
32984 \begin_inset Formula $\approx$
32985 \end_inset
32986
32987  0.376
32988 \begin_inset space \thinspace{}
32989 \end_inset
32990
32991 mm)
32992 \end_layout
32993
32994 \end_inset
32995 </cell>
32996 </row>
32997 <row>
32998 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32999 \begin_inset Text
33000
33001 \begin_layout Plain Layout
33002 cc
33003 \end_layout
33004
33005 \end_inset
33006 </cell>
33007 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33008 \begin_inset Text
33009
33010 \begin_layout Plain Layout
33011 cicero (1
33012 \begin_inset space \thinspace{}
33013 \end_inset
33014
33015 cc = 12
33016 \begin_inset space \thinspace{}
33017 \end_inset
33018
33019 dd)
33020 \end_layout
33021
33022 \end_inset
33023 </cell>
33024 </row>
33025 <row>
33026 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33027 \begin_inset Text
33028
33029 \begin_layout Plain Layout
33030 Scale%
33031 \end_layout
33032
33033 \end_inset
33034 </cell>
33035 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33036 \begin_inset Text
33037
33038 \begin_layout Plain Layout
33039 % of original image width
33040 \end_layout
33041
33042 \end_inset
33043 </cell>
33044 </row>
33045 <row>
33046 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33047 \begin_inset Text
33048
33049 \begin_layout Plain Layout
33050 text%
33051 \end_layout
33052
33053 \end_inset
33054 </cell>
33055 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33056 \begin_inset Text
33057
33058 \begin_layout Plain Layout
33059 % of text width
33060 \end_layout
33061
33062 \end_inset
33063 </cell>
33064 </row>
33065 <row>
33066 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33067 \begin_inset Text
33068
33069 \begin_layout Plain Layout
33070 col%
33071 \end_layout
33072
33073 \end_inset
33074 </cell>
33075 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33076 \begin_inset Text
33077
33078 \begin_layout Plain Layout
33079 % of column width
33080 \end_layout
33081
33082 \end_inset
33083 </cell>
33084 </row>
33085 <row>
33086 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33087 \begin_inset Text
33088
33089 \begin_layout Plain Layout
33090 page%
33091 \end_layout
33092
33093 \end_inset
33094 </cell>
33095 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33096 \begin_inset Text
33097
33098 \begin_layout Plain Layout
33099 % of paper width
33100 \end_layout
33101
33102 \end_inset
33103 </cell>
33104 </row>
33105 <row>
33106 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33107 \begin_inset Text
33108
33109 \begin_layout Plain Layout
33110 line%
33111 \end_layout
33112
33113 \end_inset
33114 </cell>
33115 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33116 \begin_inset Text
33117
33118 \begin_layout Plain Layout
33119 % of line width
33120 \end_layout
33121
33122 \end_inset
33123 </cell>
33124 </row>
33125 <row>
33126 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33127 \begin_inset Text
33128
33129 \begin_layout Plain Layout
33130 theight%
33131 \end_layout
33132
33133 \end_inset
33134 </cell>
33135 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33136 \begin_inset Text
33137
33138 \begin_layout Plain Layout
33139 % of text height
33140 \end_layout
33141
33142 \end_inset
33143 </cell>
33144 </row>
33145 <row>
33146 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33147 \begin_inset Text
33148
33149 \begin_layout Plain Layout
33150 pheight%
33151 \end_layout
33152
33153 \end_inset
33154 </cell>
33155 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33156 \begin_inset Text
33157
33158 \begin_layout Plain Layout
33159 % of paper height
33160 \end_layout
33161
33162 \end_inset
33163 </cell>
33164 </row>
33165 <row>
33166 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33167 \begin_inset Text
33168
33169 \begin_layout Plain Layout
33170 ex
33171 \end_layout
33172
33173 \end_inset
33174 </cell>
33175 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33176 \begin_inset Text
33177
33178 \begin_layout Plain Layout
33179 height of letter 
33180 \emph on
33181 x
33182 \emph default
33183  in current font
33184 \end_layout
33185
33186 \end_inset
33187 </cell>
33188 </row>
33189 <row>
33190 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33191 \begin_inset Text
33192
33193 \begin_layout Plain Layout
33194 em
33195 \end_layout
33196
33197 \end_inset
33198 </cell>
33199 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33200 \begin_inset Text
33201
33202 \begin_layout Plain Layout
33203 width of letter 
33204 \emph on
33205 M
33206 \emph default
33207  in current font
33208 \end_layout
33209
33210 \end_inset
33211 </cell>
33212 </row>
33213 <row>
33214 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
33215 \begin_inset Text
33216
33217 \begin_layout Plain Layout
33218 mu
33219 \end_layout
33220
33221 \end_inset
33222 </cell>
33223 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
33224 \begin_inset Text
33225
33226 \begin_layout Plain Layout
33227 math unit (1
33228 \begin_inset space \thinspace{}
33229 \end_inset
33230
33231 mu = 1/18
33232 \begin_inset space \thinspace{}
33233 \end_inset
33234
33235 em)
33236 \end_layout
33237
33238 \end_inset
33239 </cell>
33240 </row>
33241 </lyxtabular>
33242
33243 \end_inset
33244
33245
33246 \end_layout
33247
33248 \end_inset
33249
33250
33251 \end_layout
33252
33253 \begin_layout Chapter
33254 Output File Formats with Graphics
33255 \begin_inset CommandInset label
33256 LatexCommand label
33257 name "cha:Output-File-Formats"
33258
33259 \end_inset
33260
33261
33262 \end_layout
33263
33264 \begin_layout Section
33265 DVI
33266 \begin_inset Index
33267 status collapsed
33268
33269 \begin_layout Plain Layout
33270 File Formats ! DVI
33271 \end_layout
33272
33273 \end_inset
33274
33275
33276 \begin_inset Index
33277 status collapsed
33278
33279 \begin_layout Plain Layout
33280 DVI|see
33281 \begin_inset ERT
33282 status collapsed
33283
33284 \begin_layout Plain Layout
33285
33286 {
33287 \end_layout
33288
33289 \end_inset
33290
33291 File Formats
33292 \begin_inset ERT
33293 status collapsed
33294
33295 \begin_layout Plain Layout
33296
33297 }
33298 \end_layout
33299
33300 \end_inset
33301
33302
33303 \end_layout
33304
33305 \end_inset
33306
33307
33308 \end_layout
33309
33310 \begin_layout Standard
33311 This file type has the extension 
33312 \begin_inset Quotes eld
33313 \end_inset
33314
33315
33316 \family typewriter
33317 .dvi
33318 \family default
33319
33320 \begin_inset Quotes erd
33321 \end_inset
33322
33323 .
33324  It is called 
33325 \begin_inset Quotes eld
33326 \end_inset
33327
33328 device-independent
33329 \begin_inset Quotes erd
33330 \end_inset
33331
33332  (DVI), because it is completely portable; you can move them from one machine
33333  to another without needing to do any sort of conversion.
33334  At the time when this file-format was developed, this was no matter of
33335  course.
33336  DVIs are used for quick previews and as pre-stage for other output formats,
33337  like PostScript.
33338 \end_layout
33339
33340 \begin_layout Standard
33341 \begin_inset Note Greyedout
33342 status open
33343
33344 \begin_layout Plain Layout
33345
33346 \series bold
33347 Note:
33348 \series default
33349  DVI-files doesn't contain images, they will only be a linked.
33350 \end_layout
33351
33352 \end_inset
33353
33354  So don't forget this, if you move your 
33355 \family typewriter
33356 .dvi
33357 \family default
33358  file to another computer.
33359  This property can also slow down your computer when you view the DVI.
33360  Because the DVI-viewer has to convert the image in the background to make
33361  it visible when you scroll in the DVI.
33362  So we recommend to use PDF for files with many images.
33363 \end_layout
33364
33365 \begin_layout Standard
33366 You can export your document to DVI by using the menu 
33367 \family sans
33368 File\SpecialChar \menuseparator
33369 Export\SpecialChar \menuseparator
33370 DVI
33371 \family default
33372 .
33373  You can view your document as DVI via the 
33374 \family sans
33375 View
33376 \family default
33377  menu or by using the toolbar button 
33378 \begin_inset Graphics
33379         filename ../images/buffer-view_dvi.png
33380         scale 85
33381         scaleBeforeRotation
33382
33383 \end_inset
33384
33385 .
33386 \end_layout
33387
33388 \begin_layout Section
33389 PostScript
33390 \begin_inset CommandInset label
33391 LatexCommand label
33392 name "sec:PostScript"
33393
33394 \end_inset
33395
33396
33397 \begin_inset Index
33398 status collapsed
33399
33400 \begin_layout Plain Layout
33401 File Formats ! PostScript
33402 \end_layout
33403
33404 \end_inset
33405
33406
33407 \begin_inset Index
33408 status collapsed
33409
33410 \begin_layout Plain Layout
33411 PostScript|see
33412 \begin_inset ERT
33413 status collapsed
33414
33415 \begin_layout Plain Layout
33416
33417 {
33418 \end_layout
33419
33420 \end_inset
33421
33422 File Formats
33423 \begin_inset ERT
33424 status collapsed
33425
33426 \begin_layout Plain Layout
33427
33428 }
33429 \end_layout
33430
33431 \end_inset
33432
33433
33434 \end_layout
33435
33436 \end_inset
33437
33438
33439 \end_layout
33440
33441 \begin_layout Standard
33442 This file type has the extension 
33443 \begin_inset Quotes eld
33444 \end_inset
33445
33446
33447 \family typewriter
33448 .ps
33449 \family default
33450
33451 \begin_inset Quotes erd
33452 \end_inset
33453
33454 .
33455  PostScript was developed by the company 
33456 \family typewriter
33457 Adobe
33458 \family default
33459  as printer language.
33460  The file contains therefore commands that the printer uses to print the
33461  file.
33462  PostScript can be seen as 
33463 \begin_inset Quotes eld
33464 \end_inset
33465
33466 programming language
33467 \begin_inset Quotes erd
33468 \end_inset
33469
33470 ; you can calculate with it and draw diagrams and images
33471 \begin_inset Foot
33472 status collapsed
33473
33474 \begin_layout Plain Layout
33475 If you are interested to learn more about this, have a look at the LaTeX-package
33476  
33477 \series bold
33478 PSTricks
33479 \series default
33480  
33481 \begin_inset CommandInset citation
33482 LatexCommand cite
33483 key "pstricks"
33484
33485 \end_inset
33486
33487 .
33488 \end_layout
33489
33490 \end_inset
33491
33492 .
33493  Due to this ability, the files are often bigger than PDFs.
33494 \end_layout
33495
33496 \begin_layout Standard
33497 PostScript can only contain images in the format 
33498 \begin_inset Quotes eld
33499 \end_inset
33500
33501 Encapsulated PostScript
33502 \begin_inset Quotes erd
33503 \end_inset
33504
33505  (EPS, file extension 
33506 \begin_inset Quotes eld
33507 \end_inset
33508
33509
33510 \family typewriter
33511 .eps
33512 \family default
33513
33514 \begin_inset Quotes erd
33515 \end_inset
33516
33517 ).
33518  As LyX allows you to use any known image format in your document, it has
33519  to convert images in the background to EPS.
33520  If you have e.g 50 images in your document, LyX has to do 50 conversions
33521  whenever you view or export your document.
33522  This will slow down your work flow with LyX drastically.
33523  So if you plan to use PostScript, you can insert your images directly as
33524  EPS to avoid this problem.
33525 \end_layout
33526
33527 \begin_layout Standard
33528 You can export your document to PostScript using the menu 
33529 \family sans
33530 File\SpecialChar \menuseparator
33531 Export\SpecialChar \menuseparator
33532 Postscript
33533 \family default
33534 .
33535  You can view your document as PostScript via the 
33536 \family sans
33537 View
33538 \family default
33539  menu or by using the toolbar button 
33540 \begin_inset Graphics
33541         filename ../images/buffer-view_ps.png
33542         scale 85
33543         scaleBeforeRotation
33544
33545 \end_inset
33546
33547 .
33548 \end_layout
33549
33550 \begin_layout Section
33551 PDF
33552 \begin_inset Index
33553 status collapsed
33554
33555 \begin_layout Plain Layout
33556 File Formats ! PDF
33557 \end_layout
33558
33559 \end_inset
33560
33561
33562 \begin_inset Index
33563 status collapsed
33564
33565 \begin_layout Plain Layout
33566 PDF
33567 \end_layout
33568
33569 \end_inset
33570
33571
33572 \end_layout
33573
33574 \begin_layout Standard
33575 This file type has the extension 
33576 \begin_inset Quotes eld
33577 \end_inset
33578
33579
33580 \family typewriter
33581 .pdf
33582 \family default
33583
33584 \begin_inset Quotes erd
33585 \end_inset
33586
33587 .
33588  The 
33589 \begin_inset Quotes eld
33590 \end_inset
33591
33592 Portable Document Format
33593 \begin_inset Quotes erd
33594 \end_inset
33595
33596  (PDF) is developed by 
33597 \family typewriter
33598 Adobe
33599 \family default
33600  as derivative from PostScript.
33601  It is more compressed and it uses much less commands than PostScript.
33602  As the name 
33603 \begin_inset Quotes eld
33604 \end_inset
33605
33606 portable
33607 \begin_inset Quotes erd
33608 \end_inset
33609
33610  implies, it can be processed at any computer system and the printed output
33611  looks exactly the same.
33612 \end_layout
33613
33614 \begin_layout Standard
33615 PDF can contain images in its own PDF format, in the format 
33616 \begin_inset Quotes eld
33617 \end_inset
33618
33619 Joint Photographic Experts Group
33620 \begin_inset Quotes erd
33621 \end_inset
33622
33623  (JPG, file extension 
33624 \begin_inset Quotes eld
33625 \end_inset
33626
33627
33628 \family typewriter
33629 .jpg
33630 \family default
33631
33632 \begin_inset Quotes erd
33633 \end_inset
33634
33635  or 
33636 \begin_inset Quotes eld
33637 \end_inset
33638
33639
33640 \family typewriter
33641 .jpeg
33642 \family default
33643
33644 \begin_inset Quotes erd
33645 \end_inset
33646
33647 ), and in the format 
33648 \begin_inset Quotes eld
33649 \end_inset
33650
33651 Portable Network Graphics
33652 \begin_inset Quotes erd
33653 \end_inset
33654
33655  (PNG, file extension 
33656 \begin_inset Quotes eld
33657 \end_inset
33658
33659
33660 \family typewriter
33661 .png
33662 \family default
33663
33664 \begin_inset Quotes erd
33665 \end_inset
33666
33667 ).
33668  Nevertheless you can use any other image format, because LyX converts them
33669  in the background to one of these formats.
33670  But as described in the section about PostScript, the image conversion
33671  will slow down your work flow.
33672  So it is recommended to use images in one of the three mentioned formats.
33673 \end_layout
33674
33675 \begin_layout Standard
33676 You can export your document to PDF via the menu 
33677 \family sans
33678 File\SpecialChar \menuseparator
33679 Export
33680 \family default
33681  in three different ways:
33682 \end_layout
33683
33684 \begin_layout Description
33685 PDF
33686 \begin_inset space ~
33687 \end_inset
33688
33689 (ps2pdf) This uses the program 
33690 \family typewriter
33691 ps2pdf
33692 \family default
33693  that creates a PDF from a PostScript-version of your file.
33694  The PostScript-version is produced by the program 
33695 \family typewriter
33696 dvips
33697 \family default
33698  which uses a DVI-version as intermediate step.
33699  So this export variant consist of three conversions.
33700 \end_layout
33701
33702 \begin_layout Description
33703 PDF
33704 \begin_inset space ~
33705 \end_inset
33706
33707 (dvipdfm) This uses the program 
33708 \family typewriter
33709 dvipdfm
33710 \family default
33711  that converts your file in the background to DVI and in a second step to
33712  PDF.
33713 \end_layout
33714
33715 \begin_layout Description
33716 PDF
33717 \begin_inset space ~
33718 \end_inset
33719
33720 (pdflatex) This uses the program 
33721 \family typewriter
33722 pdftex
33723 \family default
33724  that converts your file directly to PDF.
33725 \end_layout
33726
33727 \begin_layout Standard
33728 It is recommended to use 
33729 \family sans
33730 PDF
33731 \begin_inset space ~
33732 \end_inset
33733
33734 (pdflatex)
33735 \family default
33736  because 
33737 \family typewriter
33738 pdftex
33739 \family default
33740  supports all features of actual PDF-versions, is quick and works stable
33741  without problems.
33742  The program 
33743 \family typewriter
33744 dvipdfm
33745 \family default
33746  is not under development and therefore a bit outdated.
33747 \end_layout
33748
33749 \begin_layout Standard
33750 You can view your document as PDF via the 
33751 \family sans
33752 View
33753 \family default
33754  menu or by using the toolbar button 
33755 \begin_inset Graphics
33756         filename ../images/buffer-view_pdf2.png
33757         scale 85
33758         scaleBeforeRotation
33759
33760 \end_inset
33761
33762  
33763 \family sans
33764 (
33765 \family default
33766 that uses 
33767 \family sans
33768 PDF
33769 \begin_inset space ~
33770 \end_inset
33771
33772 (pdflatex)
33773 \family default
33774 ).
33775 \end_layout
33776
33777 \begin_layout Chapter
33778 Explanation of Equation
33779 \begin_inset space ~
33780 \end_inset
33781
33782
33783 \begin_inset CommandInset ref
33784 LatexCommand eqref
33785 reference "eq:Wgn"
33786
33787 \end_inset
33788
33789
33790 \begin_inset CommandInset label
33791 LatexCommand label
33792 name "cha:Explanation-of-Equation"
33793
33794 \end_inset
33795
33796
33797 \end_layout
33798
33799 \begin_layout Standard
33800 The total width of 
33801 \emph on
33802 n
33803 \emph default
33804  table cells 
33805 \begin_inset Formula $W_{\mathrm{tot\, n}}$
33806 \end_inset
33807
33808  can be calculated to
33809 \end_layout
33810
33811 \begin_layout Standard
33812 \begin_inset Formula \begin{equation}
33813 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}
33814
33815 \end_inset
33816
33817
33818 \end_layout
33819
33820 \begin_layout Standard
33821 Where 
33822 \begin_inset Formula $W_{g\, n}$
33823 \end_inset
33824
33825  is the given width of all cells.
33826  
33827 \series bold
33828
33829 \backslash
33830 tabcolsep
33831 \series default
33832  is the LaTeX-length between the cell text and the cell border, its default
33833  value is 6
33834 \begin_inset space \thinspace{}
33835 \end_inset
33836
33837 pt.
33838  
33839 \series bold
33840
33841 \backslash
33842 arrayrulewidth
33843 \series default
33844  is the thickness of the cell border line, the default is 0.4
33845 \begin_inset space \thinspace{}
33846 \end_inset
33847
33848 pt.
33849 \end_layout
33850
33851 \begin_layout Standard
33852 Following equation
33853 \begin_inset space ~
33854 \end_inset
33855
33856
33857 \begin_inset CommandInset ref
33858 LatexCommand eqref
33859 reference "eq:Wtot_n"
33860
33861 \end_inset
33862
33863 , the total width of a multicolumn 
33864 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
33865 \end_inset
33866
33867  is
33868 \end_layout
33869
33870 \begin_layout Standard
33871 \begin_inset Formula \begin{equation}
33872 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
33873
33874 \end_inset
33875
33876
33877 \end_layout
33878
33879 \begin_layout Standard
33880 By setting equation
33881 \begin_inset space ~
33882 \end_inset
33883
33884
33885 \begin_inset CommandInset ref
33886 LatexCommand eqref
33887 reference "eq:Wtot_n"
33888
33889 \end_inset
33890
33891  and 
33892 \begin_inset CommandInset ref
33893 LatexCommand eqref
33894 reference "eq:Wtot_mult"
33895
33896 \end_inset
33897
33898  equal we can calculate the needed given width 
33899 \begin_inset Formula $W_{g\, n}$
33900 \end_inset
33901
33902  when 
33903 \emph on
33904 n
33905 \emph default
33906  columns are spanned, so that each column has a total width of 
33907 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
33908 \end_inset
33909
33910 :
33911 \end_layout
33912
33913 \begin_layout Standard
33914 \begin_inset Formula \begin{equation}
33915 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
33916
33917 \end_inset
33918
33919
33920 \end_layout
33921
33922 \begin_layout Bibliography
33923 \begin_inset CommandInset bibitem
33924 LatexCommand bibitem
33925 key "latexcompanion"
33926
33927 \end_inset
33928
33929 Frank Mittelbach and Michel Goossens: 
33930 \emph on
33931 The LaTeX Companion Second Edition.
33932
33933 \emph default
33934  Addison-Wesley, 2004
33935 \end_layout
33936
33937 \begin_layout Bibliography
33938 \begin_inset CommandInset bibitem
33939 LatexCommand bibitem
33940 key "latexguide"
33941
33942 \end_inset
33943
33944 Helmut Kopka and Patrick W.
33945  Daly: 
33946 \emph on
33947 A Guide to LaTeX Fourth Edition.
33948
33949 \emph default
33950  Addison-Wesley, 2003
33951 \end_layout
33952
33953 \begin_layout Bibliography
33954 \begin_inset CommandInset bibitem
33955 LatexCommand bibitem
33956 key "latexbook"
33957
33958 \end_inset
33959
33960 Leslie Lamport: 
33961 \emph on
33962 LaTeX: A Document Preparation System.
33963
33964 \emph default
33965  Addison-Wesley, second edition, 1994
33966 \end_layout
33967
33968 \begin_layout Bibliography
33969 \begin_inset CommandInset bibitem
33970 LatexCommand bibitem
33971 key "booktabs"
33972
33973 \end_inset
33974
33975 Documentation of the LaTeX-package 
33976 \series bold
33977
33978 \begin_inset CommandInset href
33979 LatexCommand href
33980 name "booktabs"
33981 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf"
33982
33983 \end_inset
33984
33985
33986 \series default
33987
33988 \begin_inset Index
33989 status collapsed
33990
33991 \begin_layout Plain Layout
33992 LaTeX-packages ! booktabs
33993 \end_layout
33994
33995 \end_inset
33996
33997
33998 \end_layout
33999
34000 \begin_layout Bibliography
34001 \begin_inset CommandInset bibitem
34002 LatexCommand bibitem
34003 key "caption"
34004
34005 \end_inset
34006
34007 Documentation of the LaTeX-package 
34008 \series bold
34009
34010 \begin_inset CommandInset href
34011 LatexCommand href
34012 name "caption"
34013 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf"
34014
34015 \end_inset
34016
34017
34018 \series default
34019
34020 \begin_inset Index
34021 status collapsed
34022
34023 \begin_layout Plain Layout
34024 LaTeX-packages ! caption
34025 \end_layout
34026
34027 \end_inset
34028
34029
34030 \end_layout
34031
34032 \begin_layout Bibliography
34033 \begin_inset CommandInset bibitem
34034 LatexCommand bibitem
34035 key "endfloat"
34036
34037 \end_inset
34038
34039 Documentation of the LaTeX-package 
34040 \series bold
34041
34042 \begin_inset CommandInset href
34043 LatexCommand href
34044 name "endfloat"
34045 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf"
34046
34047 \end_inset
34048
34049
34050 \series default
34051
34052 \begin_inset Index
34053 status collapsed
34054
34055 \begin_layout Plain Layout
34056 LaTeX-packages ! endfloat
34057 \end_layout
34058
34059 \end_inset
34060
34061
34062 \end_layout
34063
34064 \begin_layout Bibliography
34065 \begin_inset CommandInset bibitem
34066 LatexCommand bibitem
34067 key "wrapfig"
34068
34069 \end_inset
34070
34071 Documentation of the LaTeX-package 
34072 \series bold
34073
34074 \begin_inset CommandInset href
34075 LatexCommand href
34076 name "wrapfig"
34077 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/wrapfig/wrapfig.sty"
34078
34079 \end_inset
34080
34081
34082 \series default
34083
34084 \begin_inset Index
34085 status collapsed
34086
34087 \begin_layout Plain Layout
34088 LaTeX-packages ! wrapfig
34089 \begin_inset ERT
34090 status collapsed
34091
34092 \begin_layout Plain Layout
34093
34094
34095 \backslash
34096 vspace{4mm}
34097 \end_layout
34098
34099 \end_inset
34100
34101
34102 \end_layout
34103
34104 \end_inset
34105
34106
34107 \end_layout
34108
34109 \begin_layout Bibliography
34110 \begin_inset CommandInset bibitem
34111 LatexCommand bibitem
34112 key "footmisc"
34113
34114 \end_inset
34115
34116 Documentation of the LaTeX-package 
34117 \series bold
34118
34119 \begin_inset CommandInset href
34120 LatexCommand href
34121 name "footmisc"
34122 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf"
34123
34124 \end_inset
34125
34126
34127 \series default
34128
34129 \begin_inset Index
34130 status collapsed
34131
34132 \begin_layout Plain Layout
34133 LaTeX-packages ! footmisc
34134 \end_layout
34135
34136 \end_inset
34137
34138
34139 \end_layout
34140
34141 \begin_layout Bibliography
34142 \begin_inset CommandInset bibitem
34143 LatexCommand bibitem
34144 key "hypcap"
34145
34146 \end_inset
34147
34148 Documentation of the LaTeX-package 
34149 \series bold
34150
34151 \begin_inset CommandInset href
34152 LatexCommand href
34153 name "hypcap"
34154 target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
34155
34156 \end_inset
34157
34158
34159 \series default
34160
34161 \begin_inset Index
34162 status collapsed
34163
34164 \begin_layout Plain Layout
34165 LaTeX-packages ! hyperref
34166 \end_layout
34167
34168 \end_inset
34169
34170
34171 \end_layout
34172
34173 \begin_layout Bibliography
34174 \begin_inset CommandInset bibitem
34175 LatexCommand bibitem
34176 key "hyperref"
34177
34178 \end_inset
34179
34180 Documentation of the LaTeX-package 
34181 \series bold
34182
34183 \begin_inset CommandInset href
34184 LatexCommand href
34185 name "hyperref"
34186 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf"
34187
34188 \end_inset
34189
34190
34191 \series default
34192
34193 \begin_inset Index
34194 status collapsed
34195
34196 \begin_layout Plain Layout
34197 LaTeX-packages ! hyperref
34198 \end_layout
34199
34200 \end_inset
34201
34202
34203 \end_layout
34204
34205 \begin_layout Bibliography
34206 \begin_inset CommandInset bibitem
34207 LatexCommand bibitem
34208 key "koma-script"
34209
34210 \end_inset
34211
34212 Documentation of the LaTeX-package 
34213 \series bold
34214
34215 \begin_inset CommandInset href
34216 LatexCommand href
34217 name "koma-script"
34218 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf"
34219
34220 \end_inset
34221
34222
34223 \series default
34224
34225 \begin_inset Index
34226 status collapsed
34227
34228 \begin_layout Plain Layout
34229 LaTeX-packages ! koma-script
34230 \end_layout
34231
34232 \end_inset
34233
34234
34235 \end_layout
34236
34237 \begin_layout Bibliography
34238 \begin_inset CommandInset bibitem
34239 LatexCommand bibitem
34240 key "listings"
34241
34242 \end_inset
34243
34244 Documentation of the LaTeX-package 
34245 \series bold
34246
34247 \begin_inset CommandInset href
34248 LatexCommand href
34249 name "listings"
34250 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
34251
34252 \end_inset
34253
34254
34255 \series default
34256
34257 \begin_inset Index
34258 status collapsed
34259
34260 \begin_layout Plain Layout
34261 LaTeX-packages ! listings
34262 \end_layout
34263
34264 \end_inset
34265
34266
34267 \end_layout
34268
34269 \begin_layout Bibliography
34270 \begin_inset CommandInset bibitem
34271 LatexCommand bibitem
34272 key "marginnote"
34273
34274 \end_inset
34275
34276 Documentation of the LaTeX-package 
34277 \series bold
34278
34279 \begin_inset CommandInset href
34280 LatexCommand href
34281 name "marginnote"
34282 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
34283
34284 \end_inset
34285
34286
34287 \series default
34288
34289 \begin_inset Index
34290 status collapsed
34291
34292 \begin_layout Plain Layout
34293 LaTeX-packages ! marginnote
34294 \end_layout
34295
34296 \end_inset
34297
34298
34299 \end_layout
34300
34301 \begin_layout Bibliography
34302 \begin_inset CommandInset bibitem
34303 LatexCommand bibitem
34304 key "pstricks"
34305
34306 \end_inset
34307
34308 Web page of the LaTeX-package 
34309 \series bold
34310
34311 \begin_inset CommandInset href
34312 LatexCommand href
34313 name "PSTricks"
34314 target "http://tug.org/PSTricks/"
34315
34316 \end_inset
34317
34318
34319 \series default
34320
34321 \begin_inset Index
34322 status collapsed
34323
34324 \begin_layout Plain Layout
34325 LaTeX-packages ! PSTricks
34326 \end_layout
34327
34328 \end_inset
34329
34330
34331 \end_layout
34332
34333 \begin_layout Bibliography
34334 \begin_inset CommandInset bibitem
34335 LatexCommand bibitem
34336 key "sidecap"
34337
34338 \end_inset
34339
34340 Documentation of the LaTeX-package 
34341 \series bold
34342
34343 \begin_inset CommandInset href
34344 LatexCommand href
34345 name "sidecap"
34346 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
34347
34348 \end_inset
34349
34350
34351 \series default
34352
34353 \begin_inset Index
34354 status collapsed
34355
34356 \begin_layout Plain Layout
34357 LaTeX-packages ! sidecap
34358 \end_layout
34359
34360 \end_inset
34361
34362
34363 \end_layout
34364
34365 \begin_layout Bibliography
34366 \begin_inset CommandInset bibitem
34367 LatexCommand bibitem
34368 key "NewInLyX16"
34369
34370 \end_inset
34371
34372
34373 \begin_inset CommandInset href
34374 LatexCommand href
34375 name "Wiki page"
34376 target "http://wiki.lyx.org/LyX/NewInLyX16"
34377
34378 \end_inset
34379
34380  about new features in 
34381 \family sans
34382 LyX 1.6.0
34383 \family default
34384 .
34385 \end_layout
34386
34387 \begin_layout Standard
34388 \begin_inset CommandInset index_print
34389 LatexCommand printindex
34390
34391 \end_inset
34392
34393
34394 \end_layout
34395
34396 \begin_layout Standard
34397 \begin_inset FloatList figure
34398
34399 \end_inset
34400
34401
34402 \end_layout
34403
34404 \begin_layout Standard
34405 \begin_inset FloatList table
34406
34407 \end_inset
34408
34409
34410 \end_layout
34411
34412 \begin_layout Standard
34413 \begin_inset FloatList algorithm
34414
34415 \end_inset
34416
34417
34418 \end_layout
34419
34420 \end_body
34421 \end_document