]> git.lyx.org Git - lyx.git/blob - lib/doc/EmbeddedObjects.lyx
0b0035ad12d18cf89e094e60a884b9a25ea36943
[lyx.git] / lib / doc / EmbeddedObjects.lyx
1 #LyX 1.5.0svn created this file. For more info see http://www.lyx.org/
2 \lyxformat 258
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}} % if it exists
14  {% if it exists not
15   \usepackage[scaled=0.92]{helvet}
16   \usepackage{mathptmx}
17   \usepackage{courier}
18  } % end if it exists not
19
20 % link all cross references and URLs
21 % in pdf output
22  \usepackage[colorlinks=true, bookmarks, bookmarksnumbered, bookmarksopen, bookmarksopenlevel=1,
23   linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,
24   pdfpagelayout=OneColumn, pdfnewwindow=true,
25   pdfstartview=XYZ, plainpages=false, pdfpagelabels,
26   pdfauthor={LyX Team}, pdftex,
27   pdftitle={LyX's Figure, Table, Floats, Notes, and Boxes manual},
28   pdfsubject={LyX-documentation about figures, tables, floats, notes, and boxes},
29   pdfkeywords={LyX, Tables, Figures, Floats, Boxes, Notes}]{hyperref}
30  
31 \else % if dvi or ps is produced
32
33  % link all cross references and URLs in DVI output
34  \usepackage[ps2pdf, colorlinks=true,
35   linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue]{hyperref}
36
37 \fi % end if pdflatex is used
38
39 % that links to image floats jumps
40 % to the beginning of the float and 
41 % not to its caption
42 \usepackage[figure]{hypcap}
43
44 % the pages of the TOC are numbered roman
45 % and a PDF-bookmark for the TOC is added
46 \pagenumbering{roman}
47 \let\myTOC\tableofcontents
48 \renewcommand{\tableofcontents}{%
49  \pdfbookmark[1]{Contents}{}
50  \myTOC
51  \cleardoublepage
52  \pagenumbering{arabic}}
53
54 % provides caption formatting
55 \usepackage[labelfont={bf,sf}, tableposition=top]{caption}[2004/07/16]
56
57 % provides commands to set caption
58 % beside tables/images
59 \usepackage{sidecap}
60
61 \newcommand{\TabBesBeg}{%
62  \let\MyTable\table
63  \let\MyEndtable\endtable
64  \renewenvironment{table}{\begin{SCtable}}{\end{SCtable}}}
65
66 \newcommand{\TabBesEnd}{%
67  \let\table\MyTable
68  \let\endtable\MyEndtable}
69
70 \newcommand{\FigBesBeg}{%
71  \let\MyFigure\figure
72  \let\MyEndfigure\endfigure
73  \renewenvironment{figure}{\begin{SCfigure}}{\end{SCfigure}}}
74
75 \newcommand{\FigBesEnd}{%
76  \let\figure\MyFigure
77  \let\endfigure\MyEndfigure}
78
79 % enables calculation of values,
80 \usepackage{calc}
81
82 % provides special table cell alignments
83 \usepackage{dcolumn}
84
85 % increase the bottom float placement fraction
86 \renewcommand{\bottomfraction}{0.5}
87
88 % avoids that floats are placed before their
89 % corresponding section starts
90 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
91
92 % speed up the longtable calculation
93 \setcounter{LTchunksize}{100}
94
95 % used for colored tables
96 \@ifundefined{textcolor}
97  {\usepackage{color}}{}
98 \usepackage{colortbl}
99 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
100 \definecolor{lightgrey}{gray}{0.8}
101
102 % used for multirows
103 \usepackage{multirow}
104 %\renewcommand{\multirowsetup}{\centering}
105
106 % used for book-style tables
107 \usepackage{booktabs}
108
109 % used to have extra space in table cells,
110 \setlength{\extrarowheight}{2pt}
111
112 % used for customized tables
113 % ---
114 \newcolumntype{M}[1]
115  {>{\centering\hspace{0pt}}m{#1}}
116
117 \newcolumntype{S}[2]
118  {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
119
120 \newcolumntype{K}[1]
121  {>{\columncolor{#1}\hspace{0pt}}c}
122
123 \newcolumntype{V}{!{\vrule width 1.5pt}}
124
125 \newcolumntype{W}{!{\color{green}\vline}}
126 % ---
127
128 % To be able to enter the characters ° and · directly in LyX
129 \DeclareInputText{176}{\ifmmode^\circ\else\textdegree\fi}
130 \DeclareInputText{183}{\ifmmode\cdot\else\textperiodcentered\fi}
131
132 % insert additional vertical space of
133 % 1.5 mm between footnotes
134 \let\myFoot\footnote
135 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
136
137 % enable algorithm floats to be referenced
138 \newfloat{Xalgorithm}{tbp}{loa}
139 \floatname{Xalgorithm}{Algorithm}
140 \newcommand{\theHalgorithm}{\theHXalgorithm}
141 \renewenvironment{algorithm}[1][tbp]
142  {\begin{Xalgorithm}[#1]}{\end{Xalgorithm}}
143
144 % number algorithm floats within chapters
145 \numberwithin{Xalgorithm}{chapter}
146
147 % redefine the greyed out note
148 \renewenvironment{lyxgreyedout}
149  {\textcolor{blue}\bgroup}{\egroup}
150
151 % ------------------------------------
152 % used to check for needed LaTeX packages
153 \usepackage{ifthen}
154
155 % check for package arydshln
156 % used for tables with dashed lines
157 \newboolean{arydshln}
158 \IfFileExists{arydshln.sty}
159  {\usepackage{arydshln}
160   \setboolean{arydshln}{true}}
161  {\setboolean{arydshln}{false}}
162
163 % check for package marginnote
164 % used for margin notes
165 \newboolean{marginnote}
166 \IfFileExists{marginnote.sty}
167  {\usepackage{marginnote}
168   \let\marginpar\marginnote
169   \setboolean{marginnote}{true}}
170  {\setboolean{marginnote}{false}}
171 \end_preamble
172 \options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage
173 \language english
174 \inputencoding auto
175 \font_roman default
176 \font_sans default
177 \font_typewriter default
178 \font_default_family default
179 \font_sc false
180 \font_osf false
181 \font_sf_scale 100
182 \font_tt_scale 100
183 \graphics default
184 \paperfontsize 12
185 \spacing single
186 \papersize default
187 \use_geometry false
188 \use_amsmath 2
189 \use_esint 0
190 \cite_engine basic
191 \use_bibtopic false
192 \paperorientation portrait
193 \secnumdepth 3
194 \tocdepth 3
195 \paragraph_separation skip
196 \defskip medskip
197 \quotes_language english
198 \papercolumns 1
199 \papersides 2
200 \paperpagestyle default
201 \bullet 1 1 34 -1
202 \bullet 2 2 35 -1
203 \bullet 3 2 7 -1
204 \tracking_changes false
205 \output_changes true
206 \author "Uwe Stöhr" 
207 \author "" 
208 \end_header
209
210 \begin_body
211
212 \begin_layout Title
213 LyX's detailed Figure, Table, Floats, Notes, and Boxes manual
214 \end_layout
215
216 \begin_layout Author
217 by the LyX Team
218 \begin_inset Foot
219 status collapsed
220
221 \begin_layout Standard
222 \noindent
223 If you have comments or error corrections, please send them to the LyX Documenta
224 tion mailing list: 
225 \family typewriter
226
227 \begin_inset ERT
228 status open
229
230 \begin_layout Standard
231
232
233 \backslash
234 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's ExtendedInsets manual}{
235 \end_layout
236
237 \end_inset
238
239 lyx-docs@lists.lyx.org
240 \begin_inset ERT
241 status collapsed
242
243 \begin_layout Standard
244
245 }
246 \end_layout
247
248 \end_inset
249
250
251 \end_layout
252
253 \end_inset
254
255
256 \begin_inset Note Note
257 status collapsed
258
259 \begin_layout Standard
260 original author: Uwe Stöhr
261 \end_layout
262
263 \end_inset
264
265
266 \newline
267
268 \newline
269
270 \family sans
271 Version 1.5.0-
272 \family default
273 1
274 \end_layout
275
276 \begin_layout Standard
277 \begin_inset LatexCommand tableofcontents
278
279 \end_inset
280
281
282 \end_layout
283
284 \begin_layout Standard
285 \begin_inset Note Note
286 status open
287
288 \begin_layout Standard
289 To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
290  
291 \series bold
292 arydshln
293 \series default
294  and 
295 \series bold
296 marginnote
297 \series default
298  must be installed.
299  If they are not installed you can export the document anyway but the sections
300  where the packages are required won't appear in the output.
301 \end_layout
302
303 \begin_layout Standard
304 The latest PDF-version of this document can be found here:
305 \newline
306
307 \series bold
308 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
309 \end_layout
310
311 \end_inset
312
313
314 \end_layout
315
316 \begin_layout Chapter
317 Figures
318 \begin_inset LatexCommand label
319 name "cha:Figures"
320
321 \end_inset
322
323
324 \begin_inset LatexCommand index
325 name "Figure"
326
327 \end_inset
328
329
330 \end_layout
331
332 \begin_layout Section
333 Graphics Dialog
334 \begin_inset LatexCommand index
335 name "Figure ! Graphics Dialog"
336
337 \end_inset
338
339
340 \end_layout
341
342 \begin_layout Standard
343 To insert an image into your document, place the cursor at the text position
344  you want and click on the toolbar icon 
345 \begin_inset Graphics
346         filename ../images/dialog-show-new-inset_graphics.xpm
347         scale 85
348
349 \end_inset
350
351  or use the menu 
352 \family sans
353 Insert\SpecialChar \menuseparator
354 Graphics
355 \family default
356 .
357  Then a dialog will appear to choose the file to load.
358  The image will appear in the output exactly at the position where it is
359  in the text.
360 \end_layout
361
362 \begin_layout Standard
363 The graphics dialog can be called at any time by right-clicking on an image.
364  This dialog has three tabs:
365 \end_layout
366
367 \begin_layout Description
368
369 \family sans
370 Graphics
371 \family default
372  Here you can choose an image file and adjust its appearance in the output.
373  The available units for the image size are explained in appendix\InsetSpace ~
374
375 \begin_inset LatexCommand ref
376 reference "cha:Units-available-in"
377
378 \end_inset
379
380 .
381 \newline
382 You can rotate images counter-clockwise by setting a rotation angle and
383  a rotation origin.
384  The image will also be rotated inside LyX.
385 \newline
386 Images can be opened in a program
387  of your choice when pressing the 
388 \family sans
389 Edit
390 \family default
391  button.
392  The program can be set for every image format in the file format settings
393  in LyX's preferences.
394 \end_layout
395
396 \begin_layout Description
397
398 \family sans
399 Clipping
400 \family default
401  Alternatively to the usage of scaling units it is possible to set image
402  coordinates to adjust the height and width of the image in the output.
403  The coordinates can also be calculated automatically by pressing the button
404  
405 \family sans
406 Get\InsetSpace ~
407 from\InsetSpace ~
408 File
409 \family default
410 .
411  The option 
412 \family sans
413 Clip\InsetSpace ~
414 to\InsetSpace ~
415 bounding\InsetSpace ~
416 box
417 \family default
418  will only print the image region within the given coordinates.
419  Normally you don't need to take care about image coordinates and can ignore
420  this tab.
421 \end_layout
422
423 \begin_layout Description
424
425 \family sans
426 Extra\InsetSpace ~
427 options
428 \family default
429  In this tab you can modify the appearance of the image within LyX and set
430  the image to be a subfigure of a figure float with an own caption.
431  Subfigures are explained in section\InsetSpace ~
432
433 \begin_inset LatexCommand ref
434 reference "sec:Figure-Floats"
435
436 \end_inset
437
438 .
439 \newline
440  LaTeX experts can also specify on this tab additional LaTeX options.
441 \newline
442  The
443  option 
444 \family sans
445 Draft\InsetSpace ~
446 mode
447 \family default
448  makes the image appear in the output only as a frame with the size of the
449  image.
450 \newline
451 The 
452 \family sans
453 Don't\InsetSpace ~
454 unzip\InsetSpace ~
455 on\InsetSpace ~
456 export
457 \family default
458  option only affects zipped EPS-graphics, e.\InsetSpace \thinspace{}
459 g.\InsetSpace ~
460
461 \emph on
462 x.eps.gz
463 \emph default
464 .
465  When the option is used the images will not be unzipped on export, since
466  LaTeX can handle them as they are.
467 \newline
468 Zipped EPS-graphics are useful to save
469  disk space when you choose PostScript as output format, see appendix\InsetSpace ~
470
471 \begin_inset LatexCommand ref
472 reference "sec:PostScript"
473
474 \end_inset
475
476 .
477  To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows
478  console:
479 \newline
480
481 \series bold
482 gzip x.eps
483 \series default
484
485 \newline
486
487 \series bold
488 zgrep %%Bounding x.eps.gz > x.eps.bb
489 \series default
490
491 \newline
492 The second command creates the bounding box file 
493 \begin_inset Quotes eld
494 \end_inset
495
496 x.eps.bb
497 \begin_inset Quotes erd
498 \end_inset
499
500  that is needed by LaTeX for zipped graphics.
501 \end_layout
502
503 \begin_layout Standard
504 \begin_inset VSpace bigskip
505 \end_inset
506
507
508 \end_layout
509
510 \begin_layout Standard
511 This is an example image in EPS format
512 \begin_inset Foot
513 status collapsed
514
515 \begin_layout Standard
516 Image formats are explained in section\InsetSpace ~
517
518 \begin_inset LatexCommand ref
519 reference "sec:Image-Formats"
520
521 \end_inset
522
523 .
524 \end_layout
525
526 \end_inset
527
528  within a separate, horizontally centered paragraph:
529 \end_layout
530
531 \begin_layout Standard
532 \align center
533 \begin_inset Graphics
534         filename mobius.eps
535         display color
536         scale 70
537         rotateOrigin center
538
539 \end_inset
540
541
542 \end_layout
543
544 \begin_layout Standard
545 This is the same image like the one above but in draft mode:
546 \end_layout
547
548 \begin_layout Standard
549 \align center
550 \begin_inset Graphics
551         filename mobius.eps
552         display color
553         scale 70
554         draft
555         rotateOrigin center
556
557 \end_inset
558
559
560 \end_layout
561
562 \begin_layout Section
563 Figure Floats
564 \begin_inset LatexCommand label
565 name "sec:Figure-Floats"
566
567 \end_inset
568
569
570 \begin_inset LatexCommand index
571 name "Floats ! Figure Floats"
572
573 \end_inset
574
575
576 \begin_inset LatexCommand index
577 name "Figure ! Floats"
578
579 \end_inset
580
581
582 \end_layout
583
584 \begin_layout Standard
585 For general explanations about floats, have a look at section\InsetSpace ~
586
587 \begin_inset LatexCommand ref
588 reference "sec:FloatIntroduction"
589
590 \end_inset
591
592 .
593 \end_layout
594
595 \begin_layout Standard
596 The toolbar button 
597 \begin_inset Graphics
598         filename ../images/float-insert_figure.xpm
599         scale 85
600
601 \end_inset
602
603  and the menu 
604 \family sans
605 Insert\SpecialChar \menuseparator
606 Float\SpecialChar \menuseparator
607 Figure 
608 \family default
609 inserts a float with a caption that has the label 
610 \begin_inset Quotes eld
611 \end_inset
612
613 Figure\InsetSpace ~
614 #:
615 \begin_inset Quotes erd
616 \end_inset
617
618  (# is the actual number).
619  You can insert the image above the caption, like in Figure\InsetSpace ~
620
621 \begin_inset LatexCommand ref
622 reference "fig:kill-plat"
623
624 \end_inset
625
626  or below the caption, like in Figure\InsetSpace ~
627
628 \begin_inset LatexCommand ref
629 reference "fig:escher"
630
631 \end_inset
632
633 .
634  More about the caption placement is described in section\InsetSpace ~
635
636 \begin_inset LatexCommand ref
637 reference "sec:Caption-Placement"
638
639 \end_inset
640
641 .
642 \end_layout
643
644 \begin_layout Standard
645 \begin_inset Float figure
646 wide false
647 sideways false
648 status open
649
650 \begin_layout Standard
651 \align center
652 \begin_inset Graphics
653         filename platypus.eps
654         display color
655         width 50col%
656         rotateOrigin center
657
658 \end_inset
659
660
661 \end_layout
662
663 \begin_layout Standard
664 \begin_inset Caption
665
666 \begin_layout Standard
667 \begin_inset LatexCommand label
668 name "fig:kill-plat"
669
670 \end_inset
671
672 A severely distorted platypus in a float.
673 \end_layout
674
675 \end_inset
676
677
678 \end_layout
679
680 \end_inset
681
682
683 \end_layout
684
685 \begin_layout Standard
686 \begin_inset Float figure
687 wide false
688 sideways false
689 status open
690
691 \begin_layout Standard
692 \begin_inset Caption
693
694 \begin_layout Standard
695 \begin_inset LatexCommand label
696 name "fig:escher"
697
698 \end_inset
699
700 M.C.
701  Escher on acid.
702 \end_layout
703
704 \end_inset
705
706
707 \end_layout
708
709 \begin_layout Standard
710 \align center
711 \begin_inset Graphics
712         filename escher-lsd.eps
713         display color
714         scale 80
715         rotateOrigin center
716
717 \end_inset
718
719
720 \end_layout
721
722 \end_inset
723
724
725 \end_layout
726
727 \begin_layout Standard
728 \begin_inset LatexCommand index
729 name "References ! to Figures"
730
731 \end_inset
732
733 Figure\InsetSpace ~
734
735 \begin_inset LatexCommand ref
736 reference "fig:kill-plat"
737
738 \end_inset
739
740  and 
741 \begin_inset LatexCommand ref
742 reference "fig:escher"
743
744 \end_inset
745
746  are examples of referenced figures.
747  Figures can be referenced in the text by referencing their label.
748  To do this insert a label in the caption using the menu 
749 \family sans
750 Insert\SpecialChar \menuseparator
751 Label
752 \family default
753  or the toolbar button 
754 \begin_inset Graphics
755         filename ../images/label-insert.xpm
756         scale 85
757
758 \end_inset
759
760 .
761  You can now refer to the label using the menu 
762 \family sans
763 Insert\SpecialChar \menuseparator
764 Cross\InsetSpace ~
765 reference
766 \family default
767  or the toolbar button 
768 \begin_inset Graphics
769         filename ../images/dialog-show-new-inset_ref.xpm
770         scale 85
771
772 \end_inset
773
774 .
775  It is important to use references to floats, rather than using vague references
776  like 
777 \begin_inset Quotes eld
778 \end_inset
779
780 the figure above
781 \begin_inset Quotes erd
782 \end_inset
783
784 , because as LaTeX will reposition the floats in the final document, it
785  might not be 
786 \begin_inset Quotes eld
787 \end_inset
788
789 above
790 \begin_inset Quotes erd
791 \end_inset
792
793  at all.
794 \newline
795 Referencing is explained in detail in section\InsetSpace ~
796
797 \begin_inset LatexCommand ref
798 reference "sec:Referencing-Floats"
799
800 \end_inset
801
802 .
803 \end_layout
804
805 \begin_layout Standard
806 Normally only one image is inserted to a figure float, but sometimes you
807  might want to use two images with separate subcaptions.
808  This can be set in the tab
809 \family sans
810  Extra\InsetSpace ~
811 options
812 \family default
813  of the graphics dialog.
814  Choose there the option 
815 \family sans
816 Subfigure
817 \family default
818  and enter the subcaption for the image in the caption field.
819  Note that only the main caption of the float is added to the List of Figures.
820 \newline
821 Ref
822 erencing subfigures is explained in section\InsetSpace ~
823
824 \begin_inset LatexCommand ref
825 reference "sub:Referencing-Subfigures"
826
827 \end_inset
828
829 .
830 \end_layout
831
832 \begin_layout Standard
833 Figure\InsetSpace ~
834
835 \begin_inset LatexCommand ref
836 reference "fig:Two-distorted-images"
837
838 \end_inset
839
840  is an example of a figure float with two images set side by side.
841  You can also set the images one below the other.
842 \end_layout
843
844 \begin_layout Standard
845 \begin_inset Float figure
846 wide false
847 sideways false
848 status open
849
850 \begin_layout Standard
851
852 \hfill
853
854 \begin_inset Graphics
855         filename escher-lsd.eps
856         width 45col%
857         subcaption
858         subcaptionText "Undefinable structure"
859
860 \end_inset
861
862
863 \hfill
864
865 \begin_inset Graphics
866         filename platypus.eps
867         lyxscale 60
868         width 45col%
869         subcaption
870         subcaptionText "\label{fig: Platypus} Platypus"
871
872 \end_inset
873
874
875 \hfill
876
877 \end_layout
878
879 \begin_layout Standard
880 \begin_inset Caption
881
882 \begin_layout Standard
883 \begin_inset LatexCommand label
884 name "fig:Two-distorted-images"
885
886 \end_inset
887
888 Two distorted images.
889 \end_layout
890
891 \end_inset
892
893
894 \end_layout
895
896 \end_inset
897
898
899 \end_layout
900
901 \begin_layout Section
902 Image Formats
903 \begin_inset LatexCommand label
904 name "sec:Image-Formats"
905
906 \end_inset
907
908
909 \begin_inset LatexCommand index
910 name "Image Formats"
911
912 \end_inset
913
914
915 \begin_inset LatexCommand index
916 name "Figure ! Image Formats"
917
918 \end_inset
919
920
921 \end_layout
922
923 \begin_layout Standard
924 You can insert images in any known file format.
925  But as explained in appendix\InsetSpace ~
926
927 \begin_inset LatexCommand ref
928 reference "cha:Output-File-Formats"
929
930 \end_inset
931
932 , every output document format allows only a few image formats.
933  LyX uses therefore the program 
934 \family typewriter
935 Imagemagick
936 \family default
937  in the background to convert the images to the right format.
938  To increase your work flow by avoiding these conversions in the background,
939  you can use only the image formats that can directly be embedded in the
940  output file format.
941  The output file formats are explained in appendix\InsetSpace ~
942
943 \begin_inset LatexCommand ref
944 reference "cha:Output-File-Formats"
945
946 \end_inset
947
948 .
949 \end_layout
950
951 \begin_layout Standard
952 Similar to fonts there are two types of image formats:
953 \end_layout
954
955 \begin_layout Description
956 Bitmap\InsetSpace ~
957 images consist of pixel values, often in a compressed form.
958  They are therefore not fully scalable and look pixeled in large zooms.
959  Well-known bitmap image formats are 
960 \begin_inset Quotes eld
961 \end_inset
962
963 Graphics Interchange Format
964 \begin_inset Quotes erd
965 \end_inset
966
967  (GIF, file extension 
968 \begin_inset Quotes eld
969 \end_inset
970
971
972 \family typewriter
973 .gif
974 \family default
975
976 \begin_inset Quotes erd
977 \end_inset
978
979 )
980 \begin_inset LatexCommand index
981 name "GIF|see{Image formats}"
982
983 \end_inset
984
985
986 \begin_inset Quotes eld
987 \end_inset
988
989 Portable Network Graphics
990 \begin_inset Quotes erd
991 \end_inset
992
993  (PNG, file extension 
994 \begin_inset Quotes eld
995 \end_inset
996
997
998 \family typewriter
999 .png
1000 \family default
1001
1002 \begin_inset Quotes erd
1003 \end_inset
1004
1005 )
1006 \begin_inset LatexCommand index
1007 name "PNG|see{Image formats}"
1008
1009 \end_inset
1010
1011 , and 
1012 \begin_inset Quotes eld
1013 \end_inset
1014
1015 Joint Photographic Experts Group
1016 \begin_inset Quotes erd
1017 \end_inset
1018
1019  (JPG, file extension 
1020 \begin_inset Quotes eld
1021 \end_inset
1022
1023
1024 \family typewriter
1025 .jpg
1026 \family default
1027
1028 \begin_inset Quotes erd
1029 \end_inset
1030
1031  or 
1032 \begin_inset Quotes eld
1033 \end_inset
1034
1035
1036 \family typewriter
1037 .jpeg
1038 \family default
1039
1040 \begin_inset Quotes erd
1041 \end_inset
1042
1043 )
1044 \begin_inset LatexCommand index
1045 name "JPG|see{Image formats}"
1046
1047 \end_inset
1048
1049 .
1050 \end_layout
1051
1052 \begin_layout Description
1053 Vector\InsetSpace ~
1054 images consist of vectors and can therefore be scaled to any size
1055  without data loss.
1056  The scaling ability is necessary if you want to create presentations, because
1057  presentations are always scaled by the video projector.
1058  Scaling is also useful for online documents to let the user zoom into diagrams.
1059 \newline
1060 W
1061 ell-known scalable image formats are 
1062 \begin_inset Quotes eld
1063 \end_inset
1064
1065 Scalable Vector Graphics
1066 \begin_inset Quotes erd
1067 \end_inset
1068
1069  (SVG, file extension 
1070 \begin_inset Quotes eld
1071 \end_inset
1072
1073
1074 \family typewriter
1075 .svg
1076 \family default
1077
1078 \begin_inset Quotes erd
1079 \end_inset
1080
1081 )
1082 \begin_inset LatexCommand index
1083 name "SVG|see{Image formats}"
1084
1085 \end_inset
1086
1087
1088 \begin_inset Quotes eld
1089 \end_inset
1090
1091 Encapsulated PostScript
1092 \begin_inset Quotes erd
1093 \end_inset
1094
1095  (EPS, file extension 
1096 \begin_inset Quotes eld
1097 \end_inset
1098
1099
1100 \family typewriter
1101 .eps
1102 \family default
1103
1104 \begin_inset Quotes erd
1105 \end_inset
1106
1107 )
1108 \begin_inset LatexCommand index
1109 name "EPS|see{Image formats}"
1110
1111 \end_inset
1112
1113
1114 \begin_inset Quotes eld
1115 \end_inset
1116
1117 Portable Document Format
1118 \begin_inset Quotes erd
1119 \end_inset
1120
1121  (PDF, file extension 
1122 \begin_inset Quotes eld
1123 \end_inset
1124
1125
1126 \family typewriter
1127 .pdf
1128 \family default
1129
1130 \begin_inset Quotes erd
1131 \end_inset
1132
1133 )
1134 \begin_inset LatexCommand index
1135 name "PDF"
1136
1137 \end_inset
1138
1139 , and 
1140 \begin_inset Quotes eld
1141 \end_inset
1142
1143 Windows Metafile
1144 \begin_inset Quotes erd
1145 \end_inset
1146
1147  (WMF, file extension 
1148 \begin_inset Quotes eld
1149 \end_inset
1150
1151
1152 \family typewriter
1153 .wmf
1154 \family default
1155
1156 \begin_inset Quotes erd
1157 \end_inset
1158
1159 )
1160 \begin_inset LatexCommand index
1161 name "SVG|see{Image formats}"
1162
1163 \end_inset
1164
1165 .
1166  We wrote 
1167 \begin_inset Quotes eld
1168 \end_inset
1169
1170 can be
1171 \begin_inset Quotes erd
1172 \end_inset
1173
1174 , because you can convert any bitmap image to a PDF or EPS-image and the
1175  result will still be a bitmap image.
1176  In this cases only a header with the image properties is added to the original
1177  image
1178 \begin_inset Foot
1179 status open
1180
1181 \begin_layout Standard
1182 In the case of PDF, the original image is additionally compressed.
1183 \end_layout
1184
1185 \end_inset
1186
1187 .
1188  The PDF-files generated by 
1189 \family typewriter
1190 Adobe Photoshop
1191 \family default
1192  are for example bitmap images.
1193 \end_layout
1194
1195 \begin_layout Standard
1196 Normally it is not possible to convert a bitmap image into a scalable one,
1197  only vice versa.
1198  Only the image formats PDF and EPS can directly be embedded to PDF and
1199  PostScript output files, respectively.
1200  SVG and WMF-images are currently recalculated to bitmaps when the output
1201  file is generated because there is currently no adequate WMF/SVG
1202 \begin_inset Formula $\to$
1203 \end_inset
1204
1205 PDF/EPS converter available.
1206 \end_layout
1207
1208 \begin_layout Chapter
1209 Tables
1210 \begin_inset LatexCommand label
1211 name "cha:Tables"
1212
1213 \end_inset
1214
1215
1216 \begin_inset LatexCommand index
1217 name "Table"
1218
1219 \end_inset
1220
1221
1222 \end_layout
1223
1224 \begin_layout Section
1225 Introduction
1226 \begin_inset LatexCommand index
1227 name "Table ! Introduction"
1228
1229 \end_inset
1230
1231
1232 \end_layout
1233
1234 \begin_layout Standard
1235 You can insert a table using either the toolbar button 
1236 \begin_inset Graphics
1237         filename ../images/tabular-insert.xpm
1238         scale 85
1239
1240 \end_inset
1241
1242  or the menu 
1243 \family sans
1244 Insert\SpecialChar \menuseparator
1245 Table
1246 \family default
1247 .
1248  The toolbar button offers you a graphical selection: Move the mouse to
1249  set the column/row number of the table that should be created and then
1250  press a mouse button.
1251  When you use the menu to create a table, a dialog will appear, asking you
1252  for the number of rows and columns.
1253 \newline
1254  The default table has lines around any
1255  cell and the first row appears separated from the rest of the table.
1256  This separation occurs due to a double line: The cells of the first row
1257  have a line below them and the cells of the second row have a line above
1258  them.
1259  Here is an example table:
1260 \end_layout
1261
1262 \begin_layout Standard
1263 \align center
1264 \begin_inset Tabular
1265 <lyxtabular version="3" rows="4" columns="4">
1266 <features>
1267 <column alignment="center" valignment="top" leftline="true" width="0">
1268 <column alignment="center" valignment="top" leftline="true" width="0">
1269 <column alignment="center" valignment="top" leftline="true" width="0">
1270 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
1271 <row topline="true" bottomline="true">
1272 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1273 \begin_inset Text
1274
1275 \begin_layout Standard
1276
1277 \end_layout
1278
1279 \end_inset
1280 </cell>
1281 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1282 \begin_inset Text
1283
1284 \begin_layout Standard
1285
1286 \family roman
1287 \series medium
1288 \shape up
1289 \size normal
1290 \emph off
1291 \bar no
1292 \noun off
1293 \color none
1294 1
1295 \end_layout
1296
1297 \end_inset
1298 </cell>
1299 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1300 \begin_inset Text
1301
1302 \begin_layout Standard
1303 2
1304 \end_layout
1305
1306 \end_inset
1307 </cell>
1308 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1309 \begin_inset Text
1310
1311 \begin_layout Standard
1312 3
1313 \end_layout
1314
1315 \end_inset
1316 </cell>
1317 </row>
1318 <row topline="true">
1319 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1320 \begin_inset Text
1321
1322 \begin_layout Standard
1323
1324 \family roman
1325 \series medium
1326 \shape up
1327 \size normal
1328 \emph off
1329 \bar no
1330 \noun off
1331 \color none
1332 A
1333 \end_layout
1334
1335 \end_inset
1336 </cell>
1337 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1338 \begin_inset Text
1339
1340 \begin_layout Standard
1341
1342 \end_layout
1343
1344 \end_inset
1345 </cell>
1346 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1347 \begin_inset Text
1348
1349 \begin_layout Standard
1350
1351 \end_layout
1352
1353 \end_inset
1354 </cell>
1355 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1356 \begin_inset Text
1357
1358 \begin_layout Standard
1359
1360 \end_layout
1361
1362 \end_inset
1363 </cell>
1364 </row>
1365 <row topline="true">
1366 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1367 \begin_inset Text
1368
1369 \begin_layout Standard
1370
1371 \family roman
1372 \series medium
1373 \shape up
1374 \size normal
1375 \emph off
1376 \bar no
1377 \noun off
1378 \color none
1379 B
1380 \end_layout
1381
1382 \end_inset
1383 </cell>
1384 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1385 \begin_inset Text
1386
1387 \begin_layout Standard
1388
1389 \end_layout
1390
1391 \end_inset
1392 </cell>
1393 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1394 \begin_inset Text
1395
1396 \begin_layout Standard
1397
1398 \end_layout
1399
1400 \end_inset
1401 </cell>
1402 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1403 \begin_inset Text
1404
1405 \begin_layout Standard
1406
1407 \end_layout
1408
1409 \end_inset
1410 </cell>
1411 </row>
1412 <row topline="true" bottomline="true">
1413 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1414 \begin_inset Text
1415
1416 \begin_layout Standard
1417
1418 \family roman
1419 \series medium
1420 \shape up
1421 \size normal
1422 \emph off
1423 \bar no
1424 \noun off
1425 \color none
1426 C
1427 \end_layout
1428
1429 \end_inset
1430 </cell>
1431 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1432 \begin_inset Text
1433
1434 \begin_layout Standard
1435
1436 \end_layout
1437
1438 \end_inset
1439 </cell>
1440 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1441 \begin_inset Text
1442
1443 \begin_layout Standard
1444
1445 \end_layout
1446
1447 \end_inset
1448 </cell>
1449 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1450 \begin_inset Text
1451
1452 \begin_layout Standard
1453
1454 \end_layout
1455
1456 \end_inset
1457 </cell>
1458 </row>
1459 </lyxtabular>
1460
1461 \end_inset
1462
1463
1464 \end_layout
1465
1466 \begin_layout Section
1467 Table Dialog
1468 \begin_inset LatexCommand index
1469 name "Table ! Dialog"
1470
1471 \end_inset
1472
1473
1474 \end_layout
1475
1476 \begin_layout Standard
1477 You can alter a table by clicking on it with the right mouse button, which
1478  brings up the table dialog.
1479  Here you can adjust the settings of that cell and row/column respectively
1480  where the cursor is currently placed.
1481  Most of the dialog options also work on selections.
1482  This means if you select more cells, columns or rows, the action is done
1483  for the whole selection.
1484  Note that there is a difference between selecting the 
1485 \emph on
1486 contents
1487 \emph default
1488  of the cell, and the cell itself.
1489  You can alter tables with the following tabs of the table dialog:
1490 \end_layout
1491
1492 \begin_layout Description
1493
1494 \family sans
1495 Table\InsetSpace ~
1496 Settings
1497 \family default
1498  Here you can set the horizontal alignment for the current row and the width
1499  of the current column.
1500  When you have set a width you can also adjust the vertical alignment of
1501  the current column.
1502  A given width will allow the cell to have line breaks and multiple paragraphs
1503  of text, see section\InsetSpace ~
1504
1505 \begin_inset LatexCommand ref
1506 reference "sub:Multiple-Lines-in"
1507
1508 \end_inset
1509
1510 .
1511  If you set no width, the column is as wide as their widest cell content
1512  is.
1513 \newline
1514 Furthermore, you can mark one or multiple cells of one row as a multicolumn
1515  cell, see section\InsetSpace ~
1516
1517 \begin_inset LatexCommand ref
1518 reference "sub:Multicolumns"
1519
1520 \end_inset
1521
1522 .
1523 \newline
1524 The rotate check boxes rotates the current cell, a selection, or the whole
1525  table counter-clockwise by 90°.
1526  The rotation is not shown within LyX, only in the output.
1527 \newline
1528
1529 \begin_inset Note Greyedout
1530 status open
1531
1532 \begin_layout Standard
1533
1534 \series bold
1535 Note:
1536 \series default
1537  Not all DVI-viewers are able to display rotations.
1538 \end_layout
1539
1540 \end_inset
1541
1542
1543 \newline
1544 It is also possible to enter a LaTeX-argument which is needed for special
1545  table formattings, see section\InsetSpace ~
1546
1547 \begin_inset LatexCommand ref
1548 reference "sub:Multicolumn-Calculations"
1549
1550 \end_inset
1551
1552  and 
1553 \begin_inset LatexCommand ref
1554 reference "sec:Colored-Tables"
1555
1556 \end_inset
1557
1558 .
1559 \end_layout
1560
1561 \begin_layout Description
1562
1563 \family sans
1564 Borders
1565 \family default
1566  In this tab you can add and delete border lines for the current row/column.
1567 \newline
1568 Using
1569  the style option 
1570 \family sans
1571 Formal
1572 \family default
1573  will convert the table to a formal table as described in section\InsetSpace ~
1574
1575 \begin_inset LatexCommand ref
1576 reference "sec:Formal-Tables"
1577
1578 \end_inset
1579
1580 .
1581 \newline
1582 You can also add here space to table rows as decribed in section\InsetSpace ~
1583
1584 \begin_inset LatexCommand ref
1585 reference "sub:Row-Spacing"
1586
1587 \end_inset
1588
1589 .
1590 \end_layout
1591
1592 \begin_layout Description
1593
1594 \family sans
1595 Longtable
1596 \family default
1597  This tab is to make a table a so called 
1598 \begin_inset Quotes eld
1599 \end_inset
1600
1601
1602 \emph on
1603 longtable
1604 \emph default
1605
1606 \begin_inset Quotes erd
1607 \end_inset
1608
1609  that can run over several pages.
1610  Section\InsetSpace ~
1611
1612 \begin_inset LatexCommand ref
1613 reference "sec:Longtables"
1614
1615 \end_inset
1616
1617  and 
1618 \begin_inset LatexCommand ref
1619 reference "sec:Special-Longtable-Issues"
1620
1621 \end_inset
1622
1623  describe the longtable features in detail.
1624 \end_layout
1625
1626 \begin_layout Standard
1627 When the table toolbar is opened, you can move the cursor with the arrow
1628  keys from cell to cell and the property of the current cell will immediately
1629  be displayed in the dialog.
1630 \end_layout
1631
1632 \begin_layout Section
1633 Table Toolbar
1634 \begin_inset LatexCommand index
1635 name "Table ! Toolbar"
1636
1637 \end_inset
1638
1639
1640 \end_layout
1641
1642 \begin_layout Standard
1643 The table toolbar is an alternative to the table dialog to be able to alter
1644  tables faster.
1645  It should normally appear at the bottom of LyX's main window when the cursor
1646  is inside a table.
1647  You can alternatively switch it on to appear always, by right-clicking
1648  in LyX's main menu bar.
1649 \end_layout
1650
1651 \begin_layout Standard
1652 The toolbar has the following icons:
1653 \end_layout
1654
1655 \begin_layout Labeling
1656 \labelwidthstring 00.00.0000
1657 \begin_inset Graphics
1658         filename ../images/tabular-feature_append-row.xpm
1659
1660 \end_inset
1661
1662  adds a row below the current cell or selection
1663 \end_layout
1664
1665 \begin_layout Labeling
1666 \labelwidthstring 00.00.0000
1667 \begin_inset Graphics
1668         filename ../images/tabular-feature_append-column.xpm
1669
1670 \end_inset
1671
1672  adds a column right beside the current cell or selection
1673 \end_layout
1674
1675 \begin_layout Labeling
1676 \labelwidthstring 00.00.0000
1677 \begin_inset Graphics
1678         filename ../images/tabular-feature_delete-row.xpm
1679
1680 \end_inset
1681
1682  deletes the current row or selection
1683 \end_layout
1684
1685 \begin_layout Labeling
1686 \labelwidthstring 00.00.0000
1687 \begin_inset Graphics
1688         filename ../images/tabular-feature_delete-column.xpm
1689
1690 \end_inset
1691
1692  deletes the current column or selection
1693 \end_layout
1694
1695 \begin_layout Labeling
1696 \labelwidthstring 00.00.0000
1697 \begin_inset Graphics
1698         filename ../images/tabular-feature_toggle-line-top.xpm
1699
1700 \end_inset
1701
1702  adds a line at the top of the current cell / row or of a selection
1703 \end_layout
1704
1705 \begin_layout Labeling
1706 \labelwidthstring 00.00.0000
1707 \begin_inset Graphics
1708         filename ../images/tabular-feature_toggle-line-bottom.xpm
1709
1710 \end_inset
1711
1712  adds a line at the bottom of the current cell / row or of a selection
1713 \end_layout
1714
1715 \begin_layout Labeling
1716 \labelwidthstring 00.00.0000
1717 \begin_inset Graphics
1718         filename ../images/tabular-feature_toggle-line-left.xpm
1719
1720 \end_inset
1721
1722  adds a line at the left side of the current cell / row or of a selection
1723 \end_layout
1724
1725 \begin_layout Labeling
1726 \labelwidthstring 00.00.0000
1727 \begin_inset Graphics
1728         filename ../images/tabular-feature_toggle-line-right.xpm
1729
1730 \end_inset
1731
1732  adds a line at the right side of the current cell / row or of a selection
1733 \end_layout
1734
1735 \begin_layout Labeling
1736 \labelwidthstring 00.00.0000
1737 \begin_inset Graphics
1738         filename ../images/tabular-feature_set-all-lines.xpm
1739
1740 \end_inset
1741
1742  adds lines around the current or selected cells - if the current cell no
1743  multicolumn this also affects the current row and column
1744 \end_layout
1745
1746 \begin_layout Labeling
1747 \labelwidthstring 00.00.0000
1748 \begin_inset Graphics
1749         filename ../images/tabular-feature_unset-all-lines.xpm
1750
1751 \end_inset
1752
1753  deletes all lines of the current or selected cells - if the current cell
1754  no multicolumn this also affects the current row and column
1755 \end_layout
1756
1757 \begin_layout Labeling
1758 \labelwidthstring 00.00.0000
1759 \begin_inset Graphics
1760         filename ../images/tabular-feature_align-left.xpm
1761
1762 \end_inset
1763
1764  left-aligns the content of the current cell / column
1765 \end_layout
1766
1767 \begin_layout Labeling
1768 \labelwidthstring 00.00.0000
1769 \begin_inset Graphics
1770         filename ../images/tabular-feature_align-center.xpm
1771
1772 \end_inset
1773
1774  centers the content of the current cell / column horizontally
1775 \end_layout
1776
1777 \begin_layout Labeling
1778 \labelwidthstring 00.00.0000
1779 \begin_inset Graphics
1780         filename ../images/tabular-feature_align-right.xpm
1781
1782 \end_inset
1783
1784  right-aligns the content of the current cell / column
1785 \end_layout
1786
1787 \begin_layout Labeling
1788 \labelwidthstring 00.00.0000
1789 \begin_inset Graphics
1790         filename ../images/tabular-feature_valign-top.xpm
1791
1792 \end_inset
1793
1794  aligns the content of the current cell vertically to the top
1795 \end_layout
1796
1797 \begin_layout Labeling
1798 \labelwidthstring 00.00.0000
1799 \begin_inset Graphics
1800         filename ../images/tabular-feature_valign-middle.xpm
1801
1802 \end_inset
1803
1804  centers the content of the current cell vertically
1805 \end_layout
1806
1807 \begin_layout Labeling
1808 \labelwidthstring 00.00.0000
1809 \begin_inset Graphics
1810         filename ../images/tabular-feature_valign-bottom.xpm
1811
1812 \end_inset
1813
1814  aligns the content of the current cell vertically to the bottom
1815 \end_layout
1816
1817 \begin_layout Labeling
1818 \labelwidthstring 00.00.0000
1819 \begin_inset Graphics
1820         filename ../images/tabular-feature_set-rotate-cell.xpm
1821
1822 \end_inset
1823
1824  rotates the current cell or selection counter-clockwise by 90°
1825 \end_layout
1826
1827 \begin_layout Labeling
1828 \labelwidthstring 00.00.0000
1829 \begin_inset Graphics
1830         filename ../images/tabular-feature_set-rotate-tabular.xpm
1831
1832 \end_inset
1833
1834  rotates the whole table counter-clockwise by 90°
1835 \end_layout
1836
1837 \begin_layout Labeling
1838 \labelwidthstring 00.00.0000
1839 \begin_inset Graphics
1840         filename ../images/tabular-feature_multicolumn.xpm
1841
1842 \end_inset
1843
1844  sets the current cell or selection as a multicolumn
1845 \end_layout
1846
1847 \begin_layout Section
1848 Edit Table Menu
1849 \begin_inset LatexCommand index
1850 name "Table ! Edit Menu"
1851
1852 \end_inset
1853
1854
1855 \end_layout
1856
1857 \begin_layout Standard
1858 Additionally to the table dialog and toolbar, the menu 
1859 \family sans
1860 Edit\SpecialChar \menuseparator
1861 Table
1862 \family default
1863  allows you to add and delete border lines for the current row/column and
1864  to set the current selection as multicolumn.
1865  The menu is only available when the cursor is inside a table.
1866 \end_layout
1867
1868 \begin_layout Section
1869 Table Floats
1870 \begin_inset LatexCommand label
1871 name "sec:Table-Floats"
1872
1873 \end_inset
1874
1875
1876 \begin_inset LatexCommand index
1877 name "Floats ! Tables"
1878
1879 \end_inset
1880
1881
1882 \begin_inset LatexCommand index
1883 name "Table ! Floats"
1884
1885 \end_inset
1886
1887
1888 \end_layout
1889
1890 \begin_layout Standard
1891 For general explanations about floats, have a look at section\InsetSpace ~
1892
1893 \begin_inset LatexCommand ref
1894 reference "sec:FloatIntroduction"
1895
1896 \end_inset
1897
1898 .
1899 \end_layout
1900
1901 \begin_layout Standard
1902 \begin_inset Float table
1903 placement h
1904 wide false
1905 sideways false
1906 status open
1907
1908 \begin_layout Standard
1909 \begin_inset Caption
1910
1911 \begin_layout Standard
1912 \begin_inset LatexCommand label
1913 name "tab:a table float"
1914
1915 \end_inset
1916
1917 A table float.
1918 \end_layout
1919
1920 \end_inset
1921
1922
1923 \end_layout
1924
1925 \begin_layout Standard
1926 \align center
1927 \begin_inset Tabular
1928 <lyxtabular version="3" rows="3" columns="3">
1929 <features>
1930 <column alignment="center" valignment="top" leftline="true" width="0pt">
1931 <column alignment="center" valignment="top" leftline="true" width="0pt">
1932 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
1933 <row topline="true" bottomline="true">
1934 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1935 \begin_inset Text
1936
1937 \begin_layout Standard
1938
1939 \family roman
1940 \series medium
1941 \shape up
1942 \size normal
1943 \emph off
1944 \bar no
1945 \noun off
1946 \color none
1947 1
1948 \end_layout
1949
1950 \end_inset
1951 </cell>
1952 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1953 \begin_inset Text
1954
1955 \begin_layout Standard
1956
1957 \family roman
1958 \series medium
1959 \shape up
1960 \size normal
1961 \emph off
1962 \bar no
1963 \noun off
1964 \color none
1965 2
1966 \end_layout
1967
1968 \end_inset
1969 </cell>
1970 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1971 \begin_inset Text
1972
1973 \begin_layout Standard
1974
1975 \family roman
1976 \series medium
1977 \shape up
1978 \size normal
1979 \emph off
1980 \bar no
1981 \noun off
1982 \color none
1983 3
1984 \end_layout
1985
1986 \end_inset
1987 </cell>
1988 </row>
1989 <row topline="true">
1990 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1991 \begin_inset Text
1992
1993 \begin_layout Standard
1994
1995 \family roman
1996 \series medium
1997 \shape up
1998 \size normal
1999 \emph off
2000 \bar no
2001 \noun off
2002 \color none
2003 Joe
2004 \end_layout
2005
2006 \end_inset
2007 </cell>
2008 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2009 \begin_inset Text
2010
2011 \begin_layout Standard
2012
2013 \family roman
2014 \series medium
2015 \shape up
2016 \size normal
2017 \emph off
2018 \bar no
2019 \noun off
2020 \color none
2021 Mary
2022 \end_layout
2023
2024 \end_inset
2025 </cell>
2026 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2027 \begin_inset Text
2028
2029 \begin_layout Standard
2030
2031 \family roman
2032 \series medium
2033 \shape up
2034 \size normal
2035 \emph off
2036 \bar no
2037 \noun off
2038 \color none
2039 Ted
2040 \end_layout
2041
2042 \end_inset
2043 </cell>
2044 </row>
2045 <row topline="true" bottomline="true">
2046 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2047 \begin_inset Text
2048
2049 \begin_layout Standard
2050
2051 \family roman
2052 \series medium
2053 \shape up
2054 \size normal
2055 \emph off
2056 \bar no
2057 \noun off
2058 \color none
2059 \begin_inset Formula $\int x^{2}dx$
2060 \end_inset
2061
2062
2063 \end_layout
2064
2065 \end_inset
2066 </cell>
2067 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2068 \begin_inset Text
2069
2070 \begin_layout Standard
2071
2072 \family roman
2073 \series medium
2074 \shape up
2075 \size normal
2076 \emph off
2077 \bar no
2078 \noun off
2079 \color none
2080 \begin_inset Formula $\left[\begin{array}{cc}
2081 a & b\\
2082 c & d\end{array}\right]$
2083 \end_inset
2084
2085
2086 \end_layout
2087
2088 \end_inset
2089 </cell>
2090 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2091 \begin_inset Text
2092
2093 \begin_layout Standard
2094
2095 \family roman
2096 \series medium
2097 \shape up
2098 \size normal
2099 \emph off
2100 \bar no
2101 \noun off
2102 \color none
2103 \begin_inset Formula $1+1=2$
2104 \end_inset
2105
2106
2107 \end_layout
2108
2109 \end_inset
2110 </cell>
2111 </row>
2112 </lyxtabular>
2113
2114 \end_inset
2115
2116
2117 \end_layout
2118
2119 \end_inset
2120
2121
2122 \end_layout
2123
2124 \begin_layout Standard
2125 Table floats can be inserted using the menu 
2126 \family sans
2127 Insert\SpecialChar \menuseparator
2128 Float\SpecialChar \menuseparator
2129 Table
2130 \family default
2131  or the toolbar button 
2132 \begin_inset Graphics
2133         filename ../images/float-insert_table.xpm
2134         scale 85
2135
2136 \end_inset
2137
2138 .
2139 \end_layout
2140
2141 \begin_layout Standard
2142 The float appears as a collapsible box with a caption that has the label
2143  
2144 \begin_inset Quotes eld
2145 \end_inset
2146
2147 Table\InsetSpace ~
2148 #:
2149 \begin_inset Quotes erd
2150 \end_inset
2151
2152  (# is the actual table number).
2153  You can insert tables to the float above or below the caption.
2154 \end_layout
2155
2156 \begin_layout Standard
2157 Table\InsetSpace ~
2158
2159 \begin_inset LatexCommand ref
2160 reference "tab:a table float"
2161
2162 \end_inset
2163
2164  is an example table within a table float.
2165 \end_layout
2166
2167 \begin_layout Standard
2168 Having the caption above the table is the common rule that is unfortunately
2169  not supported in LaTeX's standard classes.
2170  That means if you are using the document classes 
2171 \family sans
2172 article
2173 \family default
2174
2175 \family sans
2176 book
2177 \family default
2178
2179 \family sans
2180 letter
2181 \family default
2182 , or 
2183 \family sans
2184 report
2185 \family default
2186  there will be no space between the caption and the table.
2187  To insert the needed space, add the following option to the load command
2188  of the LaTeX-package 
2189 \series bold
2190 caption
2191 \series default
2192
2193 \begin_inset LatexCommand index
2194 name "LaTeX-packages ! caption"
2195
2196 \end_inset
2197
2198  in your document preamble
2199 \begin_inset Foot
2200 status collapsed
2201
2202 \begin_layout Standard
2203 For more information have a look at section\InsetSpace ~
2204
2205 \begin_inset LatexCommand ref
2206 reference "sec:Caption-Placement"
2207
2208 \end_inset
2209
2210 .
2211 \end_layout
2212
2213 \end_inset
2214
2215 :
2216 \end_layout
2217
2218 \begin_layout Standard
2219
2220 \series bold
2221 tableposition=top
2222 \end_layout
2223
2224 \begin_layout Standard
2225 The package 
2226 \series bold
2227 caption
2228 \series default
2229 , which is described in section\InsetSpace ~
2230
2231 \begin_inset LatexCommand ref
2232 reference "sec:Caption-Formatting"
2233
2234 \end_inset
2235
2236 , is used to adjust the caption format.
2237 \end_layout
2238
2239 \begin_layout Standard
2240 \begin_inset LatexCommand index
2241 name "References ! to Tables"
2242
2243 \end_inset
2244
2245 Tables can be cross-referenced in the text by referencing their label.
2246  To do this insert a label in the caption using the menu 
2247 \family sans
2248 Insert\SpecialChar \menuseparator
2249 Label
2250 \family default
2251  or the toolbar button 
2252 \begin_inset Graphics
2253         filename ../images/label-insert.xpm
2254         scale 85
2255
2256 \end_inset
2257
2258 .
2259  You can now refer to the label using the menu 
2260 \family sans
2261 Insert\SpecialChar \menuseparator
2262 Cross\InsetSpace ~
2263 reference
2264 \family default
2265  or the toolbar button 
2266 \begin_inset Graphics
2267         filename ../images/dialog-show-new-inset_ref.xpm
2268         scale 85
2269
2270 \end_inset
2271
2272 .
2273 \newline
2274 Referencing is explained in detail in section\InsetSpace ~
2275
2276 \begin_inset LatexCommand ref
2277 reference "sec:Referencing-Floats"
2278
2279 \end_inset
2280
2281 .
2282 \end_layout
2283
2284 \begin_layout Section
2285 Longtables
2286 \begin_inset LatexCommand label
2287 name "sec:Longtables"
2288
2289 \end_inset
2290
2291
2292 \begin_inset LatexCommand index
2293 name "Longtables"
2294
2295 \end_inset
2296
2297
2298 \begin_inset LatexCommand index
2299 name "Table ! Longtables"
2300
2301 \end_inset
2302
2303
2304 \end_layout
2305
2306 \begin_layout Standard
2307 If the table is too long to fit on one page, you can use the option 
2308 \family sans
2309 Use\InsetSpace ~
2310 long\InsetSpace ~
2311 table
2312 \family default
2313  in the tab 
2314 \family sans
2315 Longtable
2316 \family default
2317  of the table dialog to split the table automatically over more pages.
2318  Doing this enables some check boxes and you can now define:
2319 \end_layout
2320
2321 \begin_layout Description
2322
2323 \family sans
2324 Header
2325 \family default
2326 : The current row and all rows above, that don't have any special options
2327  defined, are defined to be the header rows of all pages of the longtable;
2328  except for the first page, if 
2329 \family sans
2330 First\InsetSpace ~
2331 header
2332 \family default
2333  is defined.
2334  This therefore called the main header.
2335 \end_layout
2336
2337 \begin_layout Description
2338
2339 \family sans
2340 First\InsetSpace ~
2341 header
2342 \family default
2343 : The current row and all rows above, that don't have any special options
2344  defined, are defined to be the header rows of the first page of the longtable.
2345 \end_layout
2346
2347 \begin_layout Description
2348
2349 \family sans
2350 Footer
2351 \family default
2352 : The current row and all rows below, that don't have any special options
2353  defined, are defined to be the footer rows of all pages of the longtable;
2354  except for the last page, if 
2355 \family sans
2356 Last\InsetSpace ~
2357 footer
2358 \family default
2359  is defined.
2360 \end_layout
2361
2362 \begin_layout Description
2363
2364 \family sans
2365 Last\InsetSpace ~
2366 footer
2367 \family default
2368 : The current row and all rows below, that don't have any special options
2369  defined, are defined to be the footer rows of the last page of the longtable.
2370 \end_layout
2371
2372 \begin_layout Standard
2373 You can also specify a row where the table is splitted.
2374  If you set more than one option in the same table row, you should be aware
2375  of the fact that only the first one is used in the given table row.
2376  The others will then be defined as 
2377 \emph on
2378 empty
2379 \emph default
2380 .
2381  In this context, first means first in this order: 
2382 \family sans
2383 Footer, Last\InsetSpace ~
2384 footer,
2385 \family default
2386  
2387 \family sans
2388 Header,
2389 \family default
2390  
2391 \family sans
2392 First\InsetSpace ~
2393 header.
2394
2395 \family default
2396 \emph on
2397  
2398 \emph default
2399 See the following longtable to see how it works:
2400 \end_layout
2401
2402 \begin_layout Standard
2403 \align center
2404 \begin_inset Tabular
2405 <lyxtabular version="3" rows="69" columns="3">
2406 <features islongtable="true">
2407 <column alignment="left" valignment="top" leftline="true" width="0cm">
2408 <column alignment="left" valignment="top" width="0pt">
2409 <column alignment="right" valignment="top" leftline="true" rightline="true" width="0pt">
2410 <row topline="true" bottomline="true" endfirsthead="true">
2411 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2412 \begin_inset Text
2413
2414 \begin_layout Standard
2415
2416 \series bold
2417 Example Phone List (ignore the names)
2418 \end_layout
2419
2420 \end_inset
2421 </cell>
2422 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2423 \begin_inset Text
2424
2425 \begin_layout Standard
2426
2427 \end_layout
2428
2429 \end_inset
2430 </cell>
2431 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2432 \begin_inset Text
2433
2434 \begin_layout Standard
2435
2436 \end_layout
2437
2438 \end_inset
2439 </cell>
2440 </row>
2441 <row topline="true" bottomline="true" endfirsthead="true">
2442 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2443 \begin_inset Text
2444
2445 \begin_layout Standard
2446
2447 \series bold
2448 NAME
2449 \end_layout
2450
2451 \end_inset
2452 </cell>
2453 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2454 \begin_inset Text
2455
2456 \begin_layout Standard
2457
2458 \end_layout
2459
2460 \end_inset
2461 </cell>
2462 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2463 \begin_inset Text
2464
2465 \begin_layout Standard
2466
2467 \series bold
2468 TEL.
2469 \end_layout
2470
2471 \end_inset
2472 </cell>
2473 </row>
2474 <row topline="true" bottomline="true" endhead="true">
2475 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2476 \begin_inset Text
2477
2478 \begin_layout Standard
2479
2480 \series bold
2481 Example Phone List
2482 \end_layout
2483
2484 \end_inset
2485 </cell>
2486 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2487 \begin_inset Text
2488
2489 \begin_layout Standard
2490
2491 \end_layout
2492
2493 \end_inset
2494 </cell>
2495 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2496 \begin_inset Text
2497
2498 \begin_layout Standard
2499
2500 \end_layout
2501
2502 \end_inset
2503 </cell>
2504 </row>
2505 <row topline="true" bottomline="true" endhead="true">
2506 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2507 \begin_inset Text
2508
2509 \begin_layout Standard
2510
2511 \series bold
2512 NAME
2513 \end_layout
2514
2515 \end_inset
2516 </cell>
2517 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2518 \begin_inset Text
2519
2520 \begin_layout Standard
2521
2522 \end_layout
2523
2524 \end_inset
2525 </cell>
2526 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2527 \begin_inset Text
2528
2529 \begin_layout Standard
2530
2531 \series bold
2532 TEL.
2533 \end_layout
2534
2535 \end_inset
2536 </cell>
2537 </row>
2538 <row topline="true" bottomline="true" endfoot="true">
2539 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
2540 \begin_inset Text
2541
2542 \begin_layout Standard
2543  continued on next page
2544 \end_layout
2545
2546 \end_inset
2547 </cell>
2548 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2549 \begin_inset Text
2550
2551 \begin_layout Standard
2552
2553 \end_layout
2554
2555 \end_inset
2556 </cell>
2557 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2558 \begin_inset Text
2559
2560 \begin_layout Standard
2561
2562 \end_layout
2563
2564 \end_inset
2565 </cell>
2566 </row>
2567 <row>
2568 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2569 \begin_inset Text
2570
2571 \begin_layout Standard
2572
2573 \series bold
2574 Annovi
2575 \end_layout
2576
2577 \end_inset
2578 </cell>
2579 <cell alignment="center" valignment="top" topline="true" usebox="none">
2580 \begin_inset Text
2581
2582 \begin_layout Standard
2583 Silvia
2584 \end_layout
2585
2586 \end_inset
2587 </cell>
2588 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2589 \begin_inset Text
2590
2591 \begin_layout Standard
2592 111
2593 \end_layout
2594
2595 \end_inset
2596 </cell>
2597 </row>
2598 <row>
2599 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2600 \begin_inset Text
2601
2602 \begin_layout Standard
2603
2604 \series bold
2605 Bertoli
2606 \end_layout
2607
2608 \end_inset
2609 </cell>
2610 <cell alignment="center" valignment="top" topline="true" usebox="none">
2611 \begin_inset Text
2612
2613 \begin_layout Standard
2614 Stefano
2615 \end_layout
2616
2617 \end_inset
2618 </cell>
2619 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2620 \begin_inset Text
2621
2622 \begin_layout Standard
2623 111
2624 \end_layout
2625
2626 \end_inset
2627 </cell>
2628 </row>
2629 <row>
2630 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2631 \begin_inset Text
2632
2633 \begin_layout Standard
2634
2635 \series bold
2636 Bozzi
2637 \end_layout
2638
2639 \end_inset
2640 </cell>
2641 <cell alignment="center" valignment="top" topline="true" usebox="none">
2642 \begin_inset Text
2643
2644 \begin_layout Standard
2645 Walter
2646 \end_layout
2647
2648 \end_inset
2649 </cell>
2650 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2651 \begin_inset Text
2652
2653 \begin_layout Standard
2654 111
2655 \end_layout
2656
2657 \end_inset
2658 </cell>
2659 </row>
2660 <row>
2661 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2662 \begin_inset Text
2663
2664 \begin_layout Standard
2665
2666 \series bold
2667 Cachia
2668 \end_layout
2669
2670 \end_inset
2671 </cell>
2672 <cell alignment="center" valignment="top" topline="true" usebox="none">
2673 \begin_inset Text
2674
2675 \begin_layout Standard
2676 Maria
2677 \end_layout
2678
2679 \end_inset
2680 </cell>
2681 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2682 \begin_inset Text
2683
2684 \begin_layout Standard
2685 111
2686 \end_layout
2687
2688 \end_inset
2689 </cell>
2690 </row>
2691 <row>
2692 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2693 \begin_inset Text
2694
2695 \begin_layout Standard
2696
2697 \series bold
2698 Cachia
2699 \end_layout
2700
2701 \end_inset
2702 </cell>
2703 <cell alignment="center" valignment="top" topline="true" usebox="none">
2704 \begin_inset Text
2705
2706 \begin_layout Standard
2707 Maurizio
2708 \end_layout
2709
2710 \end_inset
2711 </cell>
2712 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2713 \begin_inset Text
2714
2715 \begin_layout Standard
2716 111
2717 \end_layout
2718
2719 \end_inset
2720 </cell>
2721 </row>
2722 <row>
2723 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2724 \begin_inset Text
2725
2726 \begin_layout Standard
2727
2728 \series bold
2729 Cinquemani
2730 \end_layout
2731
2732 \end_inset
2733 </cell>
2734 <cell alignment="center" valignment="top" topline="true" usebox="none">
2735 \begin_inset Text
2736
2737 \begin_layout Standard
2738 Giusi
2739 \end_layout
2740
2741 \end_inset
2742 </cell>
2743 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2744 \begin_inset Text
2745
2746 \begin_layout Standard
2747 111
2748 \end_layout
2749
2750 \end_inset
2751 </cell>
2752 </row>
2753 <row>
2754 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2755 \begin_inset Text
2756
2757 \begin_layout Standard
2758
2759 \series bold
2760 Colin
2761 \end_layout
2762
2763 \end_inset
2764 </cell>
2765 <cell alignment="center" valignment="top" topline="true" usebox="none">
2766 \begin_inset Text
2767
2768 \begin_layout Standard
2769 Bernard
2770 \end_layout
2771
2772 \end_inset
2773 </cell>
2774 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2775 \begin_inset Text
2776
2777 \begin_layout Standard
2778 111
2779 \end_layout
2780
2781 \end_inset
2782 </cell>
2783 </row>
2784 <row>
2785 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2786 \begin_inset Text
2787
2788 \begin_layout Standard
2789
2790 \series bold
2791 Concli
2792 \end_layout
2793
2794 \end_inset
2795 </cell>
2796 <cell alignment="center" valignment="top" topline="true" usebox="none">
2797 \begin_inset Text
2798
2799 \begin_layout Standard
2800 Gianfranco
2801 \end_layout
2802
2803 \end_inset
2804 </cell>
2805 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2806 \begin_inset Text
2807
2808 \begin_layout Standard
2809 111
2810 \end_layout
2811
2812 \end_inset
2813 </cell>
2814 </row>
2815 <row>
2816 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2817 \begin_inset Text
2818
2819 \begin_layout Standard
2820
2821 \series bold
2822 Dal Bosco
2823 \end_layout
2824
2825 \end_inset
2826 </cell>
2827 <cell alignment="center" valignment="top" topline="true" usebox="none">
2828 \begin_inset Text
2829
2830 \begin_layout Standard
2831 Carolina
2832 \end_layout
2833
2834 \end_inset
2835 </cell>
2836 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2837 \begin_inset Text
2838
2839 \begin_layout Standard
2840 111
2841 \end_layout
2842
2843 \end_inset
2844 </cell>
2845 </row>
2846 <row>
2847 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2848 \begin_inset Text
2849
2850 \begin_layout Standard
2851
2852 \series bold
2853 Dalpiaz
2854 \end_layout
2855
2856 \end_inset
2857 </cell>
2858 <cell alignment="center" valignment="top" topline="true" usebox="none">
2859 \begin_inset Text
2860
2861 \begin_layout Standard
2862 Annamaria
2863 \end_layout
2864
2865 \end_inset
2866 </cell>
2867 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2868 \begin_inset Text
2869
2870 \begin_layout Standard
2871 111
2872 \end_layout
2873
2874 \end_inset
2875 </cell>
2876 </row>
2877 <row>
2878 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2879 \begin_inset Text
2880
2881 \begin_layout Standard
2882
2883 \series bold
2884 Feliciello
2885 \end_layout
2886
2887 \end_inset
2888 </cell>
2889 <cell alignment="center" valignment="top" topline="true" usebox="none">
2890 \begin_inset Text
2891
2892 \begin_layout Standard
2893 Domenico
2894 \end_layout
2895
2896 \end_inset
2897 </cell>
2898 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2899 \begin_inset Text
2900
2901 \begin_layout Standard
2902 111
2903 \end_layout
2904
2905 \end_inset
2906 </cell>
2907 </row>
2908 <row>
2909 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2910 \begin_inset Text
2911
2912 \begin_layout Standard
2913
2914 \series bold
2915 Focarelli
2916 \end_layout
2917
2918 \end_inset
2919 </cell>
2920 <cell alignment="center" valignment="top" topline="true" usebox="none">
2921 \begin_inset Text
2922
2923 \begin_layout Standard
2924 Paola
2925 \end_layout
2926
2927 \end_inset
2928 </cell>
2929 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2930 \begin_inset Text
2931
2932 \begin_layout Standard
2933 111
2934 \end_layout
2935
2936 \end_inset
2937 </cell>
2938 </row>
2939 <row>
2940 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2941 \begin_inset Text
2942
2943 \begin_layout Standard
2944
2945 \series bold
2946 Galletti
2947 \end_layout
2948
2949 \end_inset
2950 </cell>
2951 <cell alignment="center" valignment="top" topline="true" usebox="none">
2952 \begin_inset Text
2953
2954 \begin_layout Standard
2955 Oreste
2956 \end_layout
2957
2958 \end_inset
2959 </cell>
2960 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2961 \begin_inset Text
2962
2963 \begin_layout Standard
2964 111
2965 \end_layout
2966
2967 \end_inset
2968 </cell>
2969 </row>
2970 <row>
2971 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2972 \begin_inset Text
2973
2974 \begin_layout Standard
2975
2976 \series bold
2977 Gasparini
2978 \end_layout
2979
2980 \end_inset
2981 </cell>
2982 <cell alignment="center" valignment="top" topline="true" usebox="none">
2983 \begin_inset Text
2984
2985 \begin_layout Standard
2986 Franca
2987 \end_layout
2988
2989 \end_inset
2990 </cell>
2991 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2992 \begin_inset Text
2993
2994 \begin_layout Standard
2995 111
2996 \end_layout
2997
2998 \end_inset
2999 </cell>
3000 </row>
3001 <row>
3002 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3003 \begin_inset Text
3004
3005 \begin_layout Standard
3006
3007 \series bold
3008 Rizzardi
3009 \end_layout
3010
3011 \end_inset
3012 </cell>
3013 <cell alignment="center" valignment="top" topline="true" usebox="none">
3014 \begin_inset Text
3015
3016 \begin_layout Standard
3017 Paola
3018 \end_layout
3019
3020 \end_inset
3021 </cell>
3022 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3023 \begin_inset Text
3024
3025 \begin_layout Standard
3026 111
3027 \end_layout
3028
3029 \end_inset
3030 </cell>
3031 </row>
3032 <row>
3033 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3034 \begin_inset Text
3035
3036 \begin_layout Standard
3037
3038 \series bold
3039 Lassini
3040 \end_layout
3041
3042 \end_inset
3043 </cell>
3044 <cell alignment="center" valignment="top" topline="true" usebox="none">
3045 \begin_inset Text
3046
3047 \begin_layout Standard
3048 Giancarlo
3049 \end_layout
3050
3051 \end_inset
3052 </cell>
3053 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3054 \begin_inset Text
3055
3056 \begin_layout Standard
3057 111
3058 \end_layout
3059
3060 \end_inset
3061 </cell>
3062 </row>
3063 <row>
3064 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3065 \begin_inset Text
3066
3067 \begin_layout Standard
3068
3069 \series bold
3070 Malfatti
3071 \end_layout
3072
3073 \end_inset
3074 </cell>
3075 <cell alignment="center" valignment="top" topline="true" usebox="none">
3076 \begin_inset Text
3077
3078 \begin_layout Standard
3079 Luciano
3080 \end_layout
3081
3082 \end_inset
3083 </cell>
3084 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3085 \begin_inset Text
3086
3087 \begin_layout Standard
3088 111
3089 \end_layout
3090
3091 \end_inset
3092 </cell>
3093 </row>
3094 <row>
3095 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3096 \begin_inset Text
3097
3098 \begin_layout Standard
3099
3100 \series bold
3101 Malfatti
3102 \end_layout
3103
3104 \end_inset
3105 </cell>
3106 <cell alignment="center" valignment="top" topline="true" usebox="none">
3107 \begin_inset Text
3108
3109 \begin_layout Standard
3110 Valeriano
3111 \end_layout
3112
3113 \end_inset
3114 </cell>
3115 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3116 \begin_inset Text
3117
3118 \begin_layout Standard
3119 111
3120 \end_layout
3121
3122 \end_inset
3123 </cell>
3124 </row>
3125 <row>
3126 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3127 \begin_inset Text
3128
3129 \begin_layout Standard
3130
3131 \series bold
3132 Meneguzzo
3133 \end_layout
3134
3135 \end_inset
3136 </cell>
3137 <cell alignment="center" valignment="top" topline="true" usebox="none">
3138 \begin_inset Text
3139
3140 \begin_layout Standard
3141 Roberto
3142 \end_layout
3143
3144 \end_inset
3145 </cell>
3146 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3147 \begin_inset Text
3148
3149 \begin_layout Standard
3150 111
3151 \end_layout
3152
3153 \end_inset
3154 </cell>
3155 </row>
3156 <row>
3157 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3158 \begin_inset Text
3159
3160 \begin_layout Standard
3161
3162 \series bold
3163 Mezzadra
3164 \end_layout
3165
3166 \end_inset
3167 </cell>
3168 <cell alignment="center" valignment="top" topline="true" usebox="none">
3169 \begin_inset Text
3170
3171 \begin_layout Standard
3172 Roberto
3173 \end_layout
3174
3175 \end_inset
3176 </cell>
3177 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3178 \begin_inset Text
3179
3180 \begin_layout Standard
3181 111
3182 \end_layout
3183
3184 \end_inset
3185 </cell>
3186 </row>
3187 <row>
3188 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3189 \begin_inset Text
3190
3191 \begin_layout Standard
3192
3193 \series bold
3194 Pirpamer
3195 \end_layout
3196
3197 \end_inset
3198 </cell>
3199 <cell alignment="center" valignment="top" topline="true" usebox="none">
3200 \begin_inset Text
3201
3202 \begin_layout Standard
3203 Erich
3204 \end_layout
3205
3206 \end_inset
3207 </cell>
3208 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3209 \begin_inset Text
3210
3211 \begin_layout Standard
3212 111
3213 \end_layout
3214
3215 \end_inset
3216 </cell>
3217 </row>
3218 <row>
3219 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3220 \begin_inset Text
3221
3222 \begin_layout Standard
3223
3224 \series bold
3225 Pochiesa
3226 \end_layout
3227
3228 \end_inset
3229 </cell>
3230 <cell alignment="center" valignment="top" topline="true" usebox="none">
3231 \begin_inset Text
3232
3233 \begin_layout Standard
3234 Paolo
3235 \end_layout
3236
3237 \end_inset
3238 </cell>
3239 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3240 \begin_inset Text
3241
3242 \begin_layout Standard
3243 111, 222
3244 \end_layout
3245
3246 \end_inset
3247 </cell>
3248 </row>
3249 <row>
3250 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3251 \begin_inset Text
3252
3253 \begin_layout Standard
3254
3255 \series bold
3256 Radina
3257 \end_layout
3258
3259 \end_inset
3260 </cell>
3261 <cell alignment="center" valignment="top" topline="true" usebox="none">
3262 \begin_inset Text
3263
3264 \begin_layout Standard
3265 Claudio
3266 \end_layout
3267
3268 \end_inset
3269 </cell>
3270 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3271 \begin_inset Text
3272
3273 \begin_layout Standard
3274 111
3275 \end_layout
3276
3277 \end_inset
3278 </cell>
3279 </row>
3280 <row>
3281 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3282 \begin_inset Text
3283
3284 \begin_layout Standard
3285
3286 \series bold
3287 Stuffer
3288 \end_layout
3289
3290 \end_inset
3291 </cell>
3292 <cell alignment="center" valignment="top" topline="true" usebox="none">
3293 \begin_inset Text
3294
3295 \begin_layout Standard
3296 Oskar
3297 \end_layout
3298
3299 \end_inset
3300 </cell>
3301 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3302 \begin_inset Text
3303
3304 \begin_layout Standard
3305 111
3306 \end_layout
3307
3308 \end_inset
3309 </cell>
3310 </row>
3311 <row>
3312 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3313 \begin_inset Text
3314
3315 \begin_layout Standard
3316
3317 \series bold
3318 Tacchelli
3319 \end_layout
3320
3321 \end_inset
3322 </cell>
3323 <cell alignment="center" valignment="top" topline="true" usebox="none">
3324 \begin_inset Text
3325
3326 \begin_layout Standard
3327 Ugo
3328 \end_layout
3329
3330 \end_inset
3331 </cell>
3332 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3333 \begin_inset Text
3334
3335 \begin_layout Standard
3336 111
3337 \end_layout
3338
3339 \end_inset
3340 </cell>
3341 </row>
3342 <row>
3343 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3344 \begin_inset Text
3345
3346 \begin_layout Standard
3347
3348 \series bold
3349 Tezzele
3350 \end_layout
3351
3352 \end_inset
3353 </cell>
3354 <cell alignment="center" valignment="top" topline="true" usebox="none">
3355 \begin_inset Text
3356
3357 \begin_layout Standard
3358 Margit
3359 \end_layout
3360
3361 \end_inset
3362 </cell>
3363 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3364 \begin_inset Text
3365
3366 \begin_layout Standard
3367 111
3368 \end_layout
3369
3370 \end_inset
3371 </cell>
3372 </row>
3373 <row>
3374 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3375 \begin_inset Text
3376
3377 \begin_layout Standard
3378
3379 \series bold
3380 Unterkalmsteiner
3381 \end_layout
3382
3383 \end_inset
3384 </cell>
3385 <cell alignment="center" valignment="top" topline="true" usebox="none">
3386 \begin_inset Text
3387
3388 \begin_layout Standard
3389 Frieda
3390 \end_layout
3391
3392 \end_inset
3393 </cell>
3394 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3395 \begin_inset Text
3396
3397 \begin_layout Standard
3398 111
3399 \end_layout
3400
3401 \end_inset
3402 </cell>
3403 </row>
3404 <row>
3405 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3406 \begin_inset Text
3407
3408 \begin_layout Standard
3409
3410 \series bold
3411 Vieider
3412 \end_layout
3413
3414 \end_inset
3415 </cell>
3416 <cell alignment="center" valignment="top" topline="true" usebox="none">
3417 \begin_inset Text
3418
3419 \begin_layout Standard
3420 Hilde
3421 \end_layout
3422
3423 \end_inset
3424 </cell>
3425 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3426 \begin_inset Text
3427
3428 \begin_layout Standard
3429 111
3430 \end_layout
3431
3432 \end_inset
3433 </cell>
3434 </row>
3435 <row>
3436 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3437 \begin_inset Text
3438
3439 \begin_layout Standard
3440
3441 \series bold
3442 Vigna
3443 \end_layout
3444
3445 \end_inset
3446 </cell>
3447 <cell alignment="center" valignment="top" topline="true" usebox="none">
3448 \begin_inset Text
3449
3450 \begin_layout Standard
3451 Jürgen
3452 \end_layout
3453
3454 \end_inset
3455 </cell>
3456 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3457 \begin_inset Text
3458
3459 \begin_layout Standard
3460 111
3461 \end_layout
3462
3463 \end_inset
3464 </cell>
3465 </row>
3466 <row>
3467 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3468 \begin_inset Text
3469
3470 \begin_layout Standard
3471
3472 \series bold
3473 Weber
3474 \end_layout
3475
3476 \end_inset
3477 </cell>
3478 <cell alignment="center" valignment="top" topline="true" usebox="none">
3479 \begin_inset Text
3480
3481 \begin_layout Standard
3482 Maurizio
3483 \end_layout
3484
3485 \end_inset
3486 </cell>
3487 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3488 \begin_inset Text
3489
3490 \begin_layout Standard
3491 111
3492 \end_layout
3493
3494 \end_inset
3495 </cell>
3496 </row>
3497 <row bottomline="true">
3498 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3499 \begin_inset Text
3500
3501 \begin_layout Standard
3502
3503 \series bold
3504 Winkler
3505 \end_layout
3506
3507 \end_inset
3508 </cell>
3509 <cell alignment="center" valignment="top" topline="true" usebox="none">
3510 \begin_inset Text
3511
3512 \begin_layout Standard
3513 Franz
3514 \end_layout
3515
3516 \end_inset
3517 </cell>
3518 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3519 \begin_inset Text
3520
3521 \begin_layout Standard
3522 111
3523 \end_layout
3524
3525 \end_inset
3526 </cell>
3527 </row>
3528 <row bottomline="true">
3529 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3530 \begin_inset Text
3531
3532 \begin_layout Standard
3533  
3534 \end_layout
3535
3536 \end_inset
3537 </cell>
3538 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3539 \begin_inset Text
3540
3541 \begin_layout Standard
3542
3543 \end_layout
3544
3545 \end_inset
3546 </cell>
3547 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3548 \begin_inset Text
3549
3550 \begin_layout Standard
3551
3552 \end_layout
3553
3554 \end_inset
3555 </cell>
3556 </row>
3557 <row>
3558 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3559 \begin_inset Text
3560
3561 \begin_layout Standard
3562
3563 \series bold
3564 Annovi
3565 \end_layout
3566
3567 \end_inset
3568 </cell>
3569 <cell alignment="center" valignment="top" topline="true" usebox="none">
3570 \begin_inset Text
3571
3572 \begin_layout Standard
3573 Silvia
3574 \end_layout
3575
3576 \end_inset
3577 </cell>
3578 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3579 \begin_inset Text
3580
3581 \begin_layout Standard
3582 555
3583 \end_layout
3584
3585 \end_inset
3586 </cell>
3587 </row>
3588 <row>
3589 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3590 \begin_inset Text
3591
3592 \begin_layout Standard
3593
3594 \series bold
3595 Bertoli
3596 \end_layout
3597
3598 \end_inset
3599 </cell>
3600 <cell alignment="center" valignment="top" topline="true" usebox="none">
3601 \begin_inset Text
3602
3603 \begin_layout Standard
3604 Stefano
3605 \end_layout
3606
3607 \end_inset
3608 </cell>
3609 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3610 \begin_inset Text
3611
3612 \begin_layout Standard
3613 555
3614 \end_layout
3615
3616 \end_inset
3617 </cell>
3618 </row>
3619 <row>
3620 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3621 \begin_inset Text
3622
3623 \begin_layout Standard
3624
3625 \series bold
3626 Bozzi
3627 \end_layout
3628
3629 \end_inset
3630 </cell>
3631 <cell alignment="center" valignment="top" topline="true" usebox="none">
3632 \begin_inset Text
3633
3634 \begin_layout Standard
3635 Walter
3636 \end_layout
3637
3638 \end_inset
3639 </cell>
3640 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3641 \begin_inset Text
3642
3643 \begin_layout Standard
3644 555
3645 \end_layout
3646
3647 \end_inset
3648 </cell>
3649 </row>
3650 <row>
3651 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3652 \begin_inset Text
3653
3654 \begin_layout Standard
3655
3656 \series bold
3657 Cachia
3658 \end_layout
3659
3660 \end_inset
3661 </cell>
3662 <cell alignment="center" valignment="top" topline="true" usebox="none">
3663 \begin_inset Text
3664
3665 \begin_layout Standard
3666 Maria
3667 \end_layout
3668
3669 \end_inset
3670 </cell>
3671 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3672 \begin_inset Text
3673
3674 \begin_layout Standard
3675 555
3676 \end_layout
3677
3678 \end_inset
3679 </cell>
3680 </row>
3681 <row>
3682 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3683 \begin_inset Text
3684
3685 \begin_layout Standard
3686
3687 \series bold
3688 Cachia
3689 \end_layout
3690
3691 \end_inset
3692 </cell>
3693 <cell alignment="center" valignment="top" topline="true" usebox="none">
3694 \begin_inset Text
3695
3696 \begin_layout Standard
3697 Maurizio
3698 \end_layout
3699
3700 \end_inset
3701 </cell>
3702 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3703 \begin_inset Text
3704
3705 \begin_layout Standard
3706 555
3707 \end_layout
3708
3709 \end_inset
3710 </cell>
3711 </row>
3712 <row>
3713 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3714 \begin_inset Text
3715
3716 \begin_layout Standard
3717
3718 \series bold
3719 Cinquemani
3720 \end_layout
3721
3722 \end_inset
3723 </cell>
3724 <cell alignment="center" valignment="top" topline="true" usebox="none">
3725 \begin_inset Text
3726
3727 \begin_layout Standard
3728 Giusi
3729 \end_layout
3730
3731 \end_inset
3732 </cell>
3733 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3734 \begin_inset Text
3735
3736 \begin_layout Standard
3737 555
3738 \end_layout
3739
3740 \end_inset
3741 </cell>
3742 </row>
3743 <row>
3744 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3745 \begin_inset Text
3746
3747 \begin_layout Standard
3748
3749 \series bold
3750 Colin
3751 \end_layout
3752
3753 \end_inset
3754 </cell>
3755 <cell alignment="center" valignment="top" topline="true" usebox="none">
3756 \begin_inset Text
3757
3758 \begin_layout Standard
3759 Bernard
3760 \end_layout
3761
3762 \end_inset
3763 </cell>
3764 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3765 \begin_inset Text
3766
3767 \begin_layout Standard
3768 555
3769 \end_layout
3770
3771 \end_inset
3772 </cell>
3773 </row>
3774 <row>
3775 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3776 \begin_inset Text
3777
3778 \begin_layout Standard
3779
3780 \series bold
3781 Concli
3782 \end_layout
3783
3784 \end_inset
3785 </cell>
3786 <cell alignment="center" valignment="top" topline="true" usebox="none">
3787 \begin_inset Text
3788
3789 \begin_layout Standard
3790 Gianfranco
3791 \end_layout
3792
3793 \end_inset
3794 </cell>
3795 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3796 \begin_inset Text
3797
3798 \begin_layout Standard
3799 555
3800 \end_layout
3801
3802 \end_inset
3803 </cell>
3804 </row>
3805 <row>
3806 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3807 \begin_inset Text
3808
3809 \begin_layout Standard
3810
3811 \series bold
3812 Dal Bosco
3813 \end_layout
3814
3815 \end_inset
3816 </cell>
3817 <cell alignment="center" valignment="top" topline="true" usebox="none">
3818 \begin_inset Text
3819
3820 \begin_layout Standard
3821 Carolina
3822 \end_layout
3823
3824 \end_inset
3825 </cell>
3826 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3827 \begin_inset Text
3828
3829 \begin_layout Standard
3830 555
3831 \end_layout
3832
3833 \end_inset
3834 </cell>
3835 </row>
3836 <row>
3837 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3838 \begin_inset Text
3839
3840 \begin_layout Standard
3841
3842 \series bold
3843 Dalpiaz
3844 \end_layout
3845
3846 \end_inset
3847 </cell>
3848 <cell alignment="center" valignment="top" topline="true" usebox="none">
3849 \begin_inset Text
3850
3851 \begin_layout Standard
3852 Annamaria
3853 \end_layout
3854
3855 \end_inset
3856 </cell>
3857 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3858 \begin_inset Text
3859
3860 \begin_layout Standard
3861 555
3862 \end_layout
3863
3864 \end_inset
3865 </cell>
3866 </row>
3867 <row>
3868 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3869 \begin_inset Text
3870
3871 \begin_layout Standard
3872
3873 \series bold
3874 Feliciello
3875 \end_layout
3876
3877 \end_inset
3878 </cell>
3879 <cell alignment="center" valignment="top" topline="true" usebox="none">
3880 \begin_inset Text
3881
3882 \begin_layout Standard
3883 Domenico
3884 \end_layout
3885
3886 \end_inset
3887 </cell>
3888 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3889 \begin_inset Text
3890
3891 \begin_layout Standard
3892 555
3893 \end_layout
3894
3895 \end_inset
3896 </cell>
3897 </row>
3898 <row>
3899 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3900 \begin_inset Text
3901
3902 \begin_layout Standard
3903
3904 \series bold
3905 Focarelli
3906 \end_layout
3907
3908 \end_inset
3909 </cell>
3910 <cell alignment="center" valignment="top" topline="true" usebox="none">
3911 \begin_inset Text
3912
3913 \begin_layout Standard
3914 Paola
3915 \end_layout
3916
3917 \end_inset
3918 </cell>
3919 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3920 \begin_inset Text
3921
3922 \begin_layout Standard
3923 555
3924 \end_layout
3925
3926 \end_inset
3927 </cell>
3928 </row>
3929 <row>
3930 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3931 \begin_inset Text
3932
3933 \begin_layout Standard
3934
3935 \series bold
3936 Galletti
3937 \end_layout
3938
3939 \end_inset
3940 </cell>
3941 <cell alignment="center" valignment="top" topline="true" usebox="none">
3942 \begin_inset Text
3943
3944 \begin_layout Standard
3945 Oreste
3946 \end_layout
3947
3948 \end_inset
3949 </cell>
3950 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3951 \begin_inset Text
3952
3953 \begin_layout Standard
3954 555
3955 \end_layout
3956
3957 \end_inset
3958 </cell>
3959 </row>
3960 <row>
3961 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3962 \begin_inset Text
3963
3964 \begin_layout Standard
3965
3966 \series bold
3967 Gasparini
3968 \end_layout
3969
3970 \end_inset
3971 </cell>
3972 <cell alignment="center" valignment="top" topline="true" usebox="none">
3973 \begin_inset Text
3974
3975 \begin_layout Standard
3976 Franca
3977 \end_layout
3978
3979 \end_inset
3980 </cell>
3981 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3982 \begin_inset Text
3983
3984 \begin_layout Standard
3985 555
3986 \end_layout
3987
3988 \end_inset
3989 </cell>
3990 </row>
3991 <row>
3992 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3993 \begin_inset Text
3994
3995 \begin_layout Standard
3996
3997 \series bold
3998 Rizzardi
3999 \end_layout
4000
4001 \end_inset
4002 </cell>
4003 <cell alignment="center" valignment="top" topline="true" usebox="none">
4004 \begin_inset Text
4005
4006 \begin_layout Standard
4007 Paola
4008 \end_layout
4009
4010 \end_inset
4011 </cell>
4012 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4013 \begin_inset Text
4014
4015 \begin_layout Standard
4016 555
4017 \end_layout
4018
4019 \end_inset
4020 </cell>
4021 </row>
4022 <row>
4023 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4024 \begin_inset Text
4025
4026 \begin_layout Standard
4027
4028 \series bold
4029 Lassini
4030 \end_layout
4031
4032 \end_inset
4033 </cell>
4034 <cell alignment="center" valignment="top" topline="true" usebox="none">
4035 \begin_inset Text
4036
4037 \begin_layout Standard
4038 Giancarlo
4039 \end_layout
4040
4041 \end_inset
4042 </cell>
4043 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4044 \begin_inset Text
4045
4046 \begin_layout Standard
4047 555
4048 \end_layout
4049
4050 \end_inset
4051 </cell>
4052 </row>
4053 <row>
4054 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4055 \begin_inset Text
4056
4057 \begin_layout Standard
4058
4059 \series bold
4060 Malfatti
4061 \end_layout
4062
4063 \end_inset
4064 </cell>
4065 <cell alignment="center" valignment="top" topline="true" usebox="none">
4066 \begin_inset Text
4067
4068 \begin_layout Standard
4069 Luciano
4070 \end_layout
4071
4072 \end_inset
4073 </cell>
4074 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4075 \begin_inset Text
4076
4077 \begin_layout Standard
4078 555
4079 \end_layout
4080
4081 \end_inset
4082 </cell>
4083 </row>
4084 <row>
4085 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4086 \begin_inset Text
4087
4088 \begin_layout Standard
4089
4090 \series bold
4091 Malfatti
4092 \end_layout
4093
4094 \end_inset
4095 </cell>
4096 <cell alignment="center" valignment="top" topline="true" usebox="none">
4097 \begin_inset Text
4098
4099 \begin_layout Standard
4100 Valeriano
4101 \end_layout
4102
4103 \end_inset
4104 </cell>
4105 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4106 \begin_inset Text
4107
4108 \begin_layout Standard
4109 555
4110 \end_layout
4111
4112 \end_inset
4113 </cell>
4114 </row>
4115 <row>
4116 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4117 \begin_inset Text
4118
4119 \begin_layout Standard
4120
4121 \series bold
4122 Meneguzzo
4123 \end_layout
4124
4125 \end_inset
4126 </cell>
4127 <cell alignment="center" valignment="top" topline="true" usebox="none">
4128 \begin_inset Text
4129
4130 \begin_layout Standard
4131 Roberto
4132 \end_layout
4133
4134 \end_inset
4135 </cell>
4136 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4137 \begin_inset Text
4138
4139 \begin_layout Standard
4140 555
4141 \end_layout
4142
4143 \end_inset
4144 </cell>
4145 </row>
4146 <row>
4147 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4148 \begin_inset Text
4149
4150 \begin_layout Standard
4151
4152 \series bold
4153 Mezzadra
4154 \end_layout
4155
4156 \end_inset
4157 </cell>
4158 <cell alignment="center" valignment="top" topline="true" usebox="none">
4159 \begin_inset Text
4160
4161 \begin_layout Standard
4162 Roberto
4163 \end_layout
4164
4165 \end_inset
4166 </cell>
4167 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4168 \begin_inset Text
4169
4170 \begin_layout Standard
4171 555
4172 \end_layout
4173
4174 \end_inset
4175 </cell>
4176 </row>
4177 <row>
4178 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4179 \begin_inset Text
4180
4181 \begin_layout Standard
4182
4183 \series bold
4184 Pirpamer
4185 \end_layout
4186
4187 \end_inset
4188 </cell>
4189 <cell alignment="center" valignment="top" topline="true" usebox="none">
4190 \begin_inset Text
4191
4192 \begin_layout Standard
4193 Erich
4194 \end_layout
4195
4196 \end_inset
4197 </cell>
4198 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4199 \begin_inset Text
4200
4201 \begin_layout Standard
4202 555
4203 \end_layout
4204
4205 \end_inset
4206 </cell>
4207 </row>
4208 <row>
4209 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4210 \begin_inset Text
4211
4212 \begin_layout Standard
4213
4214 \series bold
4215 Pochiesa
4216 \end_layout
4217
4218 \end_inset
4219 </cell>
4220 <cell alignment="center" valignment="top" topline="true" usebox="none">
4221 \begin_inset Text
4222
4223 \begin_layout Standard
4224 Paolo
4225 \end_layout
4226
4227 \end_inset
4228 </cell>
4229 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4230 \begin_inset Text
4231
4232 \begin_layout Standard
4233 555, 222
4234 \end_layout
4235
4236 \end_inset
4237 </cell>
4238 </row>
4239 <row>
4240 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4241 \begin_inset Text
4242
4243 \begin_layout Standard
4244
4245 \series bold
4246 Radina
4247 \end_layout
4248
4249 \end_inset
4250 </cell>
4251 <cell alignment="center" valignment="top" topline="true" usebox="none">
4252 \begin_inset Text
4253
4254 \begin_layout Standard
4255 Claudio
4256 \end_layout
4257
4258 \end_inset
4259 </cell>
4260 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4261 \begin_inset Text
4262
4263 \begin_layout Standard
4264 555
4265 \end_layout
4266
4267 \end_inset
4268 </cell>
4269 </row>
4270 <row>
4271 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4272 \begin_inset Text
4273
4274 \begin_layout Standard
4275
4276 \series bold
4277 Stuffer
4278 \end_layout
4279
4280 \end_inset
4281 </cell>
4282 <cell alignment="center" valignment="top" topline="true" usebox="none">
4283 \begin_inset Text
4284
4285 \begin_layout Standard
4286 Oskar
4287 \end_layout
4288
4289 \end_inset
4290 </cell>
4291 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4292 \begin_inset Text
4293
4294 \begin_layout Standard
4295 555
4296 \end_layout
4297
4298 \end_inset
4299 </cell>
4300 </row>
4301 <row>
4302 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4303 \begin_inset Text
4304
4305 \begin_layout Standard
4306
4307 \series bold
4308 Tacchelli
4309 \end_layout
4310
4311 \end_inset
4312 </cell>
4313 <cell alignment="center" valignment="top" topline="true" usebox="none">
4314 \begin_inset Text
4315
4316 \begin_layout Standard
4317 Ugo
4318 \end_layout
4319
4320 \end_inset
4321 </cell>
4322 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4323 \begin_inset Text
4324
4325 \begin_layout Standard
4326 555
4327 \end_layout
4328
4329 \end_inset
4330 </cell>
4331 </row>
4332 <row>
4333 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4334 \begin_inset Text
4335
4336 \begin_layout Standard
4337
4338 \series bold
4339 Tezzele
4340 \end_layout
4341
4342 \end_inset
4343 </cell>
4344 <cell alignment="center" valignment="top" topline="true" usebox="none">
4345 \begin_inset Text
4346
4347 \begin_layout Standard
4348 Margit
4349 \end_layout
4350
4351 \end_inset
4352 </cell>
4353 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4354 \begin_inset Text
4355
4356 \begin_layout Standard
4357 555
4358 \end_layout
4359
4360 \end_inset
4361 </cell>
4362 </row>
4363 <row>
4364 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4365 \begin_inset Text
4366
4367 \begin_layout Standard
4368
4369 \series bold
4370 Unterkalmsteiner
4371 \end_layout
4372
4373 \end_inset
4374 </cell>
4375 <cell alignment="center" valignment="top" topline="true" usebox="none">
4376 \begin_inset Text
4377
4378 \begin_layout Standard
4379 Frieda
4380 \end_layout
4381
4382 \end_inset
4383 </cell>
4384 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4385 \begin_inset Text
4386
4387 \begin_layout Standard
4388 555
4389 \end_layout
4390
4391 \end_inset
4392 </cell>
4393 </row>
4394 <row>
4395 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4396 \begin_inset Text
4397
4398 \begin_layout Standard
4399
4400 \series bold
4401 Vieider
4402 \end_layout
4403
4404 \end_inset
4405 </cell>
4406 <cell alignment="center" valignment="top" topline="true" usebox="none">
4407 \begin_inset Text
4408
4409 \begin_layout Standard
4410 Hilde
4411 \end_layout
4412
4413 \end_inset
4414 </cell>
4415 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4416 \begin_inset Text
4417
4418 \begin_layout Standard
4419 555
4420 \end_layout
4421
4422 \end_inset
4423 </cell>
4424 </row>
4425 <row>
4426 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4427 \begin_inset Text
4428
4429 \begin_layout Standard
4430
4431 \series bold
4432 Vigna
4433 \end_layout
4434
4435 \end_inset
4436 </cell>
4437 <cell alignment="center" valignment="top" topline="true" usebox="none">
4438 \begin_inset Text
4439
4440 \begin_layout Standard
4441 Jürgen
4442 \end_layout
4443
4444 \end_inset
4445 </cell>
4446 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4447 \begin_inset Text
4448
4449 \begin_layout Standard
4450 999
4451 \end_layout
4452
4453 \end_inset
4454 </cell>
4455 </row>
4456 <row>
4457 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4458 \begin_inset Text
4459
4460 \begin_layout Standard
4461
4462 \series bold
4463 Weber
4464 \end_layout
4465
4466 \end_inset
4467 </cell>
4468 <cell alignment="center" valignment="top" topline="true" usebox="none">
4469 \begin_inset Text
4470
4471 \begin_layout Standard
4472 Maurizio
4473 \end_layout
4474
4475 \end_inset
4476 </cell>
4477 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4478 \begin_inset Text
4479
4480 \begin_layout Standard
4481 555
4482 \end_layout
4483
4484 \end_inset
4485 </cell>
4486 </row>
4487 <row bottomline="true">
4488 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4489 \begin_inset Text
4490
4491 \begin_layout Standard
4492
4493 \series bold
4494 Winkler
4495 \end_layout
4496
4497 \end_inset
4498 </cell>
4499 <cell alignment="center" valignment="top" topline="true" usebox="none">
4500 \begin_inset Text
4501
4502 \begin_layout Standard
4503 Franz
4504 \end_layout
4505
4506 \end_inset
4507 </cell>
4508 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4509 \begin_inset Text
4510
4511 \begin_layout Standard
4512 555
4513 \end_layout
4514
4515 \end_inset
4516 </cell>
4517 </row>
4518 <row bottomline="true" endlastfoot="true">
4519 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
4520 \begin_inset Text
4521
4522 \begin_layout Standard
4523 end
4524 \end_layout
4525
4526 \end_inset
4527 </cell>
4528 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4529 \begin_inset Text
4530
4531 \begin_layout Standard
4532
4533 \end_layout
4534
4535 \end_inset
4536 </cell>
4537 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4538 \begin_inset Text
4539
4540 \begin_layout Standard
4541
4542 \end_layout
4543
4544 \end_inset
4545 </cell>
4546 </row>
4547 </lyxtabular>
4548
4549 \end_inset
4550
4551
4552 \begin_inset ERT
4553 status collapsed
4554
4555 \begin_layout Standard
4556
4557
4558 \backslash
4559 addtocounter{table}{-1}
4560 \end_layout
4561
4562 \end_inset
4563
4564
4565 \begin_inset Note Note
4566 status collapsed
4567
4568 \begin_layout Standard
4569 See greyed-out note in section 2.6.2 for an explanation of this command.
4570 \end_layout
4571
4572 \end_inset
4573
4574
4575 \end_layout
4576
4577 \begin_layout Subsection
4578 Footnotes in Longtables
4579 \begin_inset LatexCommand label
4580 name "sub:Footnotes-in-Longtables"
4581
4582 \end_inset
4583
4584
4585 \begin_inset LatexCommand index
4586 name "Longtables ! Footnotes"
4587
4588 \end_inset
4589
4590
4591 \end_layout
4592
4593 \begin_layout Standard
4594 Footnotes can be inserted to every longtable cell.
4595  They appear at the bottom of the page where the table cell with the footnote
4596  appears.
4597  Table\InsetSpace ~
4598
4599 \begin_inset LatexCommand ref
4600 reference "tab:DiffCaptions"
4601
4602 \end_inset
4603
4604  has for example a footnote.
4605 \end_layout
4606
4607 \begin_layout Subsection
4608 Longtable Captions
4609 \begin_inset LatexCommand index
4610 name "Longtables ! Captions"
4611
4612 \end_inset
4613
4614
4615 \end_layout
4616
4617 \begin_layout Standard
4618 A longtable cannot be put into a table float because floats can only be
4619  on one page but the caption environment of floats can also be used for
4620  longtables.
4621 \end_layout
4622
4623 \begin_layout Standard
4624 As LyX does not yet fully support captions in longtables, a hack is needed
4625  to create them:
4626 \end_layout
4627
4628 \begin_layout Enumerate
4629 Create a longtable
4630 \family sans
4631 .
4632 \end_layout
4633
4634 \begin_layout Enumerate
4635 Mark the first row an disable its upper line.
4636 \end_layout
4637
4638 \begin_layout Enumerate
4639 Insert a caption via the menu 
4640 \family sans
4641 Insert\SpecialChar \menuseparator
4642 Caption
4643 \family default
4644 \series bold
4645  
4646 \series default
4647 into the first table cell.
4648 \newline
4649 You can also add a short title for the caption.
4650 \end_layout
4651
4652 \begin_layout Enumerate
4653 Insert a 
4654 \begin_inset Quotes eld
4655 \end_inset
4656
4657
4658 \series bold
4659
4660 \backslash
4661
4662 \backslash
4663 %
4664 \series default
4665
4666 \begin_inset Quotes erd
4667 \end_inset
4668
4669  as ERT behind the caption.
4670 \end_layout
4671
4672 \begin_layout Standard
4673 A short title that will appear in the LOT instead of the full title.
4674  The 
4675 \series bold
4676
4677 \backslash
4678
4679 \backslash
4680 %
4681 \series default
4682  behind the caption omits the vertical lines between the following cells
4683  in the row.
4684  The first table row is now only a dummy row for the caption, the actual
4685  table starts with the second row.
4686 \end_layout
4687
4688 \begin_layout Standard
4689 Here is a short longtable to see how it works:
4690 \end_layout
4691
4692 \begin_layout Standard
4693 \begin_inset Tabular
4694 <lyxtabular version="3" rows="6" columns="5">
4695 <features islongtable="true">
4696 <column alignment="center" valignment="top" leftline="true" width="0">
4697 <column alignment="center" valignment="top" leftline="true" width="0">
4698 <column alignment="center" valignment="top" leftline="true" width="0">
4699 <column alignment="center" valignment="top" leftline="true" width="0">
4700 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
4701 <row>
4702 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4703 \begin_inset Text
4704
4705 \begin_layout Standard
4706 \begin_inset Caption
4707
4708 \begin_layout Standard
4709 Longtable with caption
4710 \begin_inset OptArg
4711 status open
4712
4713 \begin_layout Standard
4714 Longtable
4715 \end_layout
4716
4717 \end_inset
4718
4719
4720 \end_layout
4721
4722 \end_inset
4723
4724
4725 \begin_inset ERT
4726 status collapsed
4727
4728 \begin_layout Standard
4729
4730
4731 \backslash
4732
4733 \backslash
4734 %
4735 \end_layout
4736
4737 \end_inset
4738
4739
4740 \end_layout
4741
4742 \end_inset
4743 </cell>
4744 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4745 \begin_inset Text
4746
4747 \begin_layout Standard
4748
4749 \end_layout
4750
4751 \end_inset
4752 </cell>
4753 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4754 \begin_inset Text
4755
4756 \begin_layout Standard
4757
4758 \end_layout
4759
4760 \end_inset
4761 </cell>
4762 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4763 \begin_inset Text
4764
4765 \begin_layout Standard
4766
4767 \end_layout
4768
4769 \end_inset
4770 </cell>
4771 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4772 \begin_inset Text
4773
4774 \begin_layout Standard
4775
4776 \end_layout
4777
4778 \end_inset
4779 </cell>
4780 </row>
4781 <row topline="true">
4782 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4783 \begin_inset Text
4784
4785 \begin_layout Standard
4786 1
4787 \end_layout
4788
4789 \end_inset
4790 </cell>
4791 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4792 \begin_inset Text
4793
4794 \begin_layout Standard
4795 2
4796 \end_layout
4797
4798 \end_inset
4799 </cell>
4800 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4801 \begin_inset Text
4802
4803 \begin_layout Standard
4804 3
4805 \end_layout
4806
4807 \end_inset
4808 </cell>
4809 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4810 \begin_inset Text
4811
4812 \begin_layout Standard
4813 4
4814 \end_layout
4815
4816 \end_inset
4817 </cell>
4818 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4819 \begin_inset Text
4820
4821 \begin_layout Standard
4822 5
4823 \end_layout
4824
4825 \end_inset
4826 </cell>
4827 </row>
4828 <row topline="true">
4829 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4830 \begin_inset Text
4831
4832 \begin_layout Standard
4833 asd
4834 \end_layout
4835
4836 \end_inset
4837 </cell>
4838 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4839 \begin_inset Text
4840
4841 \begin_layout Standard
4842 s
4843 \end_layout
4844
4845 \end_inset
4846 </cell>
4847 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4848 \begin_inset Text
4849
4850 \begin_layout Standard
4851 s
4852 \end_layout
4853
4854 \end_inset
4855 </cell>
4856 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4857 \begin_inset Text
4858
4859 \begin_layout Standard
4860 s
4861 \end_layout
4862
4863 \end_inset
4864 </cell>
4865 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4866 \begin_inset Text
4867
4868 \begin_layout Standard
4869 asd
4870 \end_layout
4871
4872 \end_inset
4873 </cell>
4874 </row>
4875 <row topline="true">
4876 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4877 \begin_inset Text
4878
4879 \begin_layout Standard
4880 asd
4881 \end_layout
4882
4883 \end_inset
4884 </cell>
4885 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4886 \begin_inset Text
4887
4888 \begin_layout Standard
4889 s
4890 \end_layout
4891
4892 \end_inset
4893 </cell>
4894 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4895 \begin_inset Text
4896
4897 \begin_layout Standard
4898 s
4899 \end_layout
4900
4901 \end_inset
4902 </cell>
4903 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4904 \begin_inset Text
4905
4906 \begin_layout Standard
4907 s
4908 \end_layout
4909
4910 \end_inset
4911 </cell>
4912 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4913 \begin_inset Text
4914
4915 \begin_layout Standard
4916 asd
4917 \end_layout
4918
4919 \end_inset
4920 </cell>
4921 </row>
4922 <row topline="true">
4923 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4924 \begin_inset Text
4925
4926 \begin_layout Standard
4927 asd
4928 \end_layout
4929
4930 \end_inset
4931 </cell>
4932 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4933 \begin_inset Text
4934
4935 \begin_layout Standard
4936 s
4937 \end_layout
4938
4939 \end_inset
4940 </cell>
4941 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4942 \begin_inset Text
4943
4944 \begin_layout Standard
4945 s
4946 \end_layout
4947
4948 \end_inset
4949 </cell>
4950 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4951 \begin_inset Text
4952
4953 \begin_layout Standard
4954 s
4955 \end_layout
4956
4957 \end_inset
4958 </cell>
4959 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4960 \begin_inset Text
4961
4962 \begin_layout Standard
4963 asd
4964 \end_layout
4965
4966 \end_inset
4967 </cell>
4968 </row>
4969 <row topline="true" bottomline="true">
4970 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4971 \begin_inset Text
4972
4973 \begin_layout Standard
4974 asd
4975 \end_layout
4976
4977 \end_inset
4978 </cell>
4979 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4980 \begin_inset Text
4981
4982 \begin_layout Standard
4983 asd
4984 \end_layout
4985
4986 \end_inset
4987 </cell>
4988 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4989 \begin_inset Text
4990
4991 \begin_layout Standard
4992 asd
4993 \end_layout
4994
4995 \end_inset
4996 </cell>
4997 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4998 \begin_inset Text
4999
5000 \begin_layout Standard
5001 asd
5002 \end_layout
5003
5004 \end_inset
5005 </cell>
5006 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5007 \begin_inset Text
5008
5009 \begin_layout Standard
5010 asd
5011 \end_layout
5012
5013 \end_inset
5014 </cell>
5015 </row>
5016 </lyxtabular>
5017
5018 \end_inset
5019
5020
5021 \end_layout
5022
5023 \begin_layout Standard
5024 \begin_inset VSpace medskip
5025 \end_inset
5026
5027
5028 \begin_inset Note Greyedout
5029 status open
5030
5031 \begin_layout Standard
5032
5033 \series bold
5034 Note:
5035 \series default
5036  The table number is increased for every longtable, also if you didn't set
5037  a caption for it.
5038  For this reason you could have the case that e.g.
5039  Table\InsetSpace ~
5040 2.4 follows on Table\InsetSpace ~
5041 2.1 in the list of tables if there are two longtables
5042  without captions.
5043  To avoid this you can add the following command in ERT behind every longtable
5044  without a caption:
5045 \end_layout
5046
5047 \begin_layout Standard
5048
5049 \series bold
5050
5051 \backslash
5052 addtocounter{table}{-1}
5053 \end_layout
5054
5055 \end_inset
5056
5057
5058 \end_layout
5059
5060 \begin_layout Standard
5061 \begin_inset Note Greyedout
5062 status open
5063
5064 \begin_layout Standard
5065
5066 \series bold
5067 Note:
5068 \series default
5069  If you are using the LaTeX-package 
5070 \series bold
5071 hyperref
5072 \series default
5073
5074 \begin_inset LatexCommand index
5075 name "LaTeX-packages ! hyperref"
5076
5077 \end_inset
5078
5079  to link cross-references, the link to a longtable caption will always point
5080  to the beginning of the document.
5081 \end_layout
5082
5083 \end_inset
5084
5085
5086 \end_layout
5087
5088 \begin_layout Subsubsection
5089 References to Longtables
5090 \begin_inset LatexCommand index
5091 name "Longtables ! References"
5092
5093 \end_inset
5094
5095
5096 \end_layout
5097
5098 \begin_layout Standard
5099 \begin_inset Tabular
5100 <lyxtabular version="3" rows="6" columns="5">
5101 <features islongtable="true">
5102 <column alignment="center" valignment="top" leftline="true" width="0">
5103 <column alignment="center" valignment="top" leftline="true" width="0">
5104 <column alignment="center" valignment="top" leftline="true" width="0">
5105 <column alignment="center" valignment="top" leftline="true" width="0">
5106 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5107 <row>
5108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5109 \begin_inset Text
5110
5111 \begin_layout Standard
5112 \begin_inset Caption
5113
5114 \begin_layout Standard
5115 Referenced longtable
5116 \begin_inset LatexCommand label
5117 name "tab:RefExample"
5118
5119 \end_inset
5120
5121
5122 \end_layout
5123
5124 \end_inset
5125
5126
5127 \begin_inset ERT
5128 status collapsed
5129
5130 \begin_layout Standard
5131
5132
5133 \backslash
5134
5135 \backslash
5136 %
5137 \end_layout
5138
5139 \end_inset
5140
5141
5142 \end_layout
5143
5144 \end_inset
5145 </cell>
5146 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5147 \begin_inset Text
5148
5149 \begin_layout Standard
5150
5151 \end_layout
5152
5153 \end_inset
5154 </cell>
5155 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5156 \begin_inset Text
5157
5158 \begin_layout Standard
5159
5160 \end_layout
5161
5162 \end_inset
5163 </cell>
5164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5165 \begin_inset Text
5166
5167 \begin_layout Standard
5168
5169 \end_layout
5170
5171 \end_inset
5172 </cell>
5173 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5174 \begin_inset Text
5175
5176 \begin_layout Standard
5177
5178 \end_layout
5179
5180 \end_inset
5181 </cell>
5182 </row>
5183 <row topline="true">
5184 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5185 \begin_inset Text
5186
5187 \begin_layout Standard
5188 1
5189 \end_layout
5190
5191 \end_inset
5192 </cell>
5193 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5194 \begin_inset Text
5195
5196 \begin_layout Standard
5197 2
5198 \end_layout
5199
5200 \end_inset
5201 </cell>
5202 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5203 \begin_inset Text
5204
5205 \begin_layout Standard
5206 3
5207 \end_layout
5208
5209 \end_inset
5210 </cell>
5211 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5212 \begin_inset Text
5213
5214 \begin_layout Standard
5215 4
5216 \end_layout
5217
5218 \end_inset
5219 </cell>
5220 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5221 \begin_inset Text
5222
5223 \begin_layout Standard
5224 5
5225 \end_layout
5226
5227 \end_inset
5228 </cell>
5229 </row>
5230 <row topline="true">
5231 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5232 \begin_inset Text
5233
5234 \begin_layout Standard
5235 asd
5236 \end_layout
5237
5238 \end_inset
5239 </cell>
5240 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5241 \begin_inset Text
5242
5243 \begin_layout Standard
5244 s
5245 \end_layout
5246
5247 \end_inset
5248 </cell>
5249 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5250 \begin_inset Text
5251
5252 \begin_layout Standard
5253 s
5254 \end_layout
5255
5256 \end_inset
5257 </cell>
5258 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5259 \begin_inset Text
5260
5261 \begin_layout Standard
5262 s
5263 \end_layout
5264
5265 \end_inset
5266 </cell>
5267 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5268 \begin_inset Text
5269
5270 \begin_layout Standard
5271 asd
5272 \end_layout
5273
5274 \end_inset
5275 </cell>
5276 </row>
5277 <row topline="true">
5278 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5279 \begin_inset Text
5280
5281 \begin_layout Standard
5282 asd
5283 \end_layout
5284
5285 \end_inset
5286 </cell>
5287 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5288 \begin_inset Text
5289
5290 \begin_layout Standard
5291 s
5292 \end_layout
5293
5294 \end_inset
5295 </cell>
5296 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5297 \begin_inset Text
5298
5299 \begin_layout Standard
5300 s
5301 \end_layout
5302
5303 \end_inset
5304 </cell>
5305 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5306 \begin_inset Text
5307
5308 \begin_layout Standard
5309 s
5310 \end_layout
5311
5312 \end_inset
5313 </cell>
5314 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5315 \begin_inset Text
5316
5317 \begin_layout Standard
5318 asd
5319 \end_layout
5320
5321 \end_inset
5322 </cell>
5323 </row>
5324 <row topline="true">
5325 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5326 \begin_inset Text
5327
5328 \begin_layout Standard
5329 asd
5330 \end_layout
5331
5332 \end_inset
5333 </cell>
5334 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5335 \begin_inset Text
5336
5337 \begin_layout Standard
5338 s
5339 \end_layout
5340
5341 \end_inset
5342 </cell>
5343 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5344 \begin_inset Text
5345
5346 \begin_layout Standard
5347 s
5348 \end_layout
5349
5350 \end_inset
5351 </cell>
5352 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5353 \begin_inset Text
5354
5355 \begin_layout Standard
5356 s
5357 \end_layout
5358
5359 \end_inset
5360 </cell>
5361 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5362 \begin_inset Text
5363
5364 \begin_layout Standard
5365 asd
5366 \end_layout
5367
5368 \end_inset
5369 </cell>
5370 </row>
5371 <row topline="true" bottomline="true">
5372 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5373 \begin_inset Text
5374
5375 \begin_layout Standard
5376 asd
5377 \end_layout
5378
5379 \end_inset
5380 </cell>
5381 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5382 \begin_inset Text
5383
5384 \begin_layout Standard
5385 sad
5386 \end_layout
5387
5388 \end_inset
5389 </cell>
5390 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5391 \begin_inset Text
5392
5393 \begin_layout Standard
5394 asd
5395 \end_layout
5396
5397 \end_inset
5398 </cell>
5399 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5400 \begin_inset Text
5401
5402 \begin_layout Standard
5403 asd
5404 \end_layout
5405
5406 \end_inset
5407 </cell>
5408 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5409 \begin_inset Text
5410
5411 \begin_layout Standard
5412 asd
5413 \end_layout
5414
5415 \end_inset
5416 </cell>
5417 </row>
5418 </lyxtabular>
5419
5420 \end_inset
5421
5422
5423 \end_layout
5424
5425 \begin_layout Standard
5426 To reference a longtable, insert a label into the caption.
5427  Note that you have to add the label prefix 
5428 \begin_inset Quotes eld
5429 \end_inset
5430
5431
5432 \emph on
5433 tab:
5434 \emph default
5435
5436 \begin_inset Quotes eld
5437 \end_inset
5438
5439  manually in the label field.
5440 \end_layout
5441
5442 \begin_layout Standard
5443 This is a reference to Table\InsetSpace ~
5444
5445 \begin_inset LatexCommand ref
5446 reference "tab:RefExample"
5447
5448 \end_inset
5449
5450 .
5451 \end_layout
5452
5453 \begin_layout Standard
5454 The caption layout can be set together with all other caption of your document
5455  using the LaTeX-package 
5456 \series bold
5457 caption
5458 \series default
5459
5460 \begin_inset LatexCommand index
5461 name "LaTeX-packages ! caption"
5462
5463 \end_inset
5464
5465 , see section\InsetSpace ~
5466
5467 \begin_inset LatexCommand ref
5468 reference "sec:Caption-Formatting"
5469
5470 \end_inset
5471
5472 .
5473 \end_layout
5474
5475 \begin_layout Subsubsection
5476 Caption Width
5477 \begin_inset LatexCommand index
5478 name "Longtables ! Caption Width"
5479
5480 \end_inset
5481
5482
5483 \end_layout
5484
5485 \begin_layout Standard
5486 The maximal width of of caption lines is defined by the length 
5487 \series bold
5488
5489 \backslash
5490 LTcapwidth
5491 \series default
5492 .
5493  Its default value is 4\InsetSpace \thinspace{}
5494 in.
5495  To change it add the following command to your document preamble or as
5496  ERT into your document before the longtable that should be affected
5497 \end_layout
5498
5499 \begin_layout Standard
5500
5501 \series bold
5502
5503 \backslash
5504 setlength{
5505 \backslash
5506 LTcapwidth}{width}
5507 \end_layout
5508
5509 \begin_layout Standard
5510 where the width could have one of the units listed in appendix\InsetSpace ~
5511
5512 \begin_inset LatexCommand ref
5513 reference "cha:Units-available-in"
5514
5515 \end_inset
5516
5517 .
5518 \end_layout
5519
5520 \begin_layout Standard
5521 The following tables show the difference:
5522 \end_layout
5523
5524 \begin_layout Standard
5525 \begin_inset Tabular
5526 <lyxtabular version="3" rows="6" columns="5">
5527 <features islongtable="true">
5528 <column alignment="center" valignment="top" leftline="true" width="0">
5529 <column alignment="center" valignment="top" leftline="true" width="0">
5530 <column alignment="center" valignment="top" leftline="true" width="0">
5531 <column alignment="center" valignment="top" leftline="true" width="0">
5532 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5533 <row>
5534 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5535 \begin_inset Text
5536
5537 \begin_layout Standard
5538 \begin_inset Caption
5539
5540 \begin_layout Standard
5541 long full title with default width long full title with default width long
5542  full title with default width
5543 \begin_inset OptArg
5544 status collapsed
5545
5546 \begin_layout Standard
5547 caption with default width
5548 \end_layout
5549
5550 \end_inset
5551
5552
5553 \end_layout
5554
5555 \end_inset
5556
5557
5558 \begin_inset ERT
5559 status collapsed
5560
5561 \begin_layout Standard
5562
5563
5564 \backslash
5565
5566 \backslash
5567 %
5568 \end_layout
5569
5570 \end_inset
5571
5572
5573 \end_layout
5574
5575 \end_inset
5576 </cell>
5577 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5578 \begin_inset Text
5579
5580 \begin_layout Standard
5581
5582 \end_layout
5583
5584 \end_inset
5585 </cell>
5586 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5587 \begin_inset Text
5588
5589 \begin_layout Standard
5590
5591 \end_layout
5592
5593 \end_inset
5594 </cell>
5595 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5596 \begin_inset Text
5597
5598 \begin_layout Standard
5599
5600 \end_layout
5601
5602 \end_inset
5603 </cell>
5604 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5605 \begin_inset Text
5606
5607 \begin_layout Standard
5608
5609 \end_layout
5610
5611 \end_inset
5612 </cell>
5613 </row>
5614 <row topline="true">
5615 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5616 \begin_inset Text
5617
5618 \begin_layout Standard
5619 1
5620 \end_layout
5621
5622 \end_inset
5623 </cell>
5624 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5625 \begin_inset Text
5626
5627 \begin_layout Standard
5628 2
5629 \end_layout
5630
5631 \end_inset
5632 </cell>
5633 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5634 \begin_inset Text
5635
5636 \begin_layout Standard
5637 3
5638 \end_layout
5639
5640 \end_inset
5641 </cell>
5642 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5643 \begin_inset Text
5644
5645 \begin_layout Standard
5646 4
5647 \end_layout
5648
5649 \end_inset
5650 </cell>
5651 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5652 \begin_inset Text
5653
5654 \begin_layout Standard
5655 5
5656 \end_layout
5657
5658 \end_inset
5659 </cell>
5660 </row>
5661 <row topline="true">
5662 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5663 \begin_inset Text
5664
5665 \begin_layout Standard
5666 asd
5667 \end_layout
5668
5669 \end_inset
5670 </cell>
5671 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5672 \begin_inset Text
5673
5674 \begin_layout Standard
5675 s
5676 \end_layout
5677
5678 \end_inset
5679 </cell>
5680 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5681 \begin_inset Text
5682
5683 \begin_layout Standard
5684 s
5685 \end_layout
5686
5687 \end_inset
5688 </cell>
5689 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5690 \begin_inset Text
5691
5692 \begin_layout Standard
5693 s
5694 \end_layout
5695
5696 \end_inset
5697 </cell>
5698 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5699 \begin_inset Text
5700
5701 \begin_layout Standard
5702 asd
5703 \end_layout
5704
5705 \end_inset
5706 </cell>
5707 </row>
5708 <row topline="true">
5709 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5710 \begin_inset Text
5711
5712 \begin_layout Standard
5713 asd
5714 \end_layout
5715
5716 \end_inset
5717 </cell>
5718 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5719 \begin_inset Text
5720
5721 \begin_layout Standard
5722 s
5723 \end_layout
5724
5725 \end_inset
5726 </cell>
5727 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5728 \begin_inset Text
5729
5730 \begin_layout Standard
5731 s
5732 \end_layout
5733
5734 \end_inset
5735 </cell>
5736 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5737 \begin_inset Text
5738
5739 \begin_layout Standard
5740 s
5741 \end_layout
5742
5743 \end_inset
5744 </cell>
5745 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5746 \begin_inset Text
5747
5748 \begin_layout Standard
5749 asd
5750 \end_layout
5751
5752 \end_inset
5753 </cell>
5754 </row>
5755 <row topline="true">
5756 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5757 \begin_inset Text
5758
5759 \begin_layout Standard
5760 asd
5761 \end_layout
5762
5763 \end_inset
5764 </cell>
5765 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5766 \begin_inset Text
5767
5768 \begin_layout Standard
5769 s
5770 \end_layout
5771
5772 \end_inset
5773 </cell>
5774 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5775 \begin_inset Text
5776
5777 \begin_layout Standard
5778 s
5779 \end_layout
5780
5781 \end_inset
5782 </cell>
5783 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5784 \begin_inset Text
5785
5786 \begin_layout Standard
5787 s
5788 \end_layout
5789
5790 \end_inset
5791 </cell>
5792 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5793 \begin_inset Text
5794
5795 \begin_layout Standard
5796 asd
5797 \end_layout
5798
5799 \end_inset
5800 </cell>
5801 </row>
5802 <row topline="true" bottomline="true">
5803 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5804 \begin_inset Text
5805
5806 \begin_layout Standard
5807 asd
5808 \end_layout
5809
5810 \end_inset
5811 </cell>
5812 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5813 \begin_inset Text
5814
5815 \begin_layout Standard
5816 sad
5817 \end_layout
5818
5819 \end_inset
5820 </cell>
5821 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5822 \begin_inset Text
5823
5824 \begin_layout Standard
5825 asd
5826 \end_layout
5827
5828 \end_inset
5829 </cell>
5830 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5831 \begin_inset Text
5832
5833 \begin_layout Standard
5834 asd
5835 \end_layout
5836
5837 \end_inset
5838 </cell>
5839 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5840 \begin_inset Text
5841
5842 \begin_layout Standard
5843 asd
5844 \end_layout
5845
5846 \end_inset
5847 </cell>
5848 </row>
5849 </lyxtabular>
5850
5851 \end_inset
5852
5853
5854 \end_layout
5855
5856 \begin_layout Standard
5857 \begin_inset ERT
5858 status collapsed
5859
5860 \begin_layout Standard
5861
5862
5863 \backslash
5864 setlength{
5865 \backslash
5866 LTcapwidth}{5cm}
5867 \end_layout
5868
5869 \end_inset
5870
5871
5872 \begin_inset Tabular
5873 <lyxtabular version="3" rows="6" columns="5">
5874 <features islongtable="true">
5875 <column alignment="center" valignment="top" leftline="true" width="0">
5876 <column alignment="center" valignment="top" leftline="true" width="0">
5877 <column alignment="center" valignment="top" leftline="true" width="0">
5878 <column alignment="center" valignment="top" leftline="true" width="0">
5879 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5880 <row>
5881 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5882 \begin_inset Text
5883
5884 \begin_layout Standard
5885 \begin_inset Caption
5886
5887 \begin_layout Standard
5888 long full title with width set to 5\InsetSpace \thinspace{}
5889 cm long full title with width set to
5890  5\InsetSpace \thinspace{}
5891 cm long full title with width set to 5\InsetSpace \thinspace{}
5892 cm
5893 \begin_inset OptArg
5894 status collapsed
5895
5896 \begin_layout Standard
5897 caption with width\InsetSpace \thinspace{}
5898 =\InsetSpace \thinspace{}
5899 5\InsetSpace \thinspace{}
5900 cm
5901 \end_layout
5902
5903 \end_inset
5904
5905
5906 \end_layout
5907
5908 \end_inset
5909
5910
5911 \begin_inset ERT
5912 status collapsed
5913
5914 \begin_layout Standard
5915
5916
5917 \backslash
5918
5919 \backslash
5920 %
5921 \end_layout
5922
5923 \end_inset
5924
5925
5926 \end_layout
5927
5928 \end_inset
5929 </cell>
5930 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5931 \begin_inset Text
5932
5933 \begin_layout Standard
5934
5935 \end_layout
5936
5937 \end_inset
5938 </cell>
5939 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5940 \begin_inset Text
5941
5942 \begin_layout Standard
5943
5944 \end_layout
5945
5946 \end_inset
5947 </cell>
5948 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5949 \begin_inset Text
5950
5951 \begin_layout Standard
5952
5953 \end_layout
5954
5955 \end_inset
5956 </cell>
5957 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5958 \begin_inset Text
5959
5960 \begin_layout Standard
5961
5962 \end_layout
5963
5964 \end_inset
5965 </cell>
5966 </row>
5967 <row topline="true">
5968 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5969 \begin_inset Text
5970
5971 \begin_layout Standard
5972 1
5973 \end_layout
5974
5975 \end_inset
5976 </cell>
5977 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5978 \begin_inset Text
5979
5980 \begin_layout Standard
5981 2
5982 \end_layout
5983
5984 \end_inset
5985 </cell>
5986 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5987 \begin_inset Text
5988
5989 \begin_layout Standard
5990 3
5991 \end_layout
5992
5993 \end_inset
5994 </cell>
5995 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5996 \begin_inset Text
5997
5998 \begin_layout Standard
5999 4
6000 \end_layout
6001
6002 \end_inset
6003 </cell>
6004 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6005 \begin_inset Text
6006
6007 \begin_layout Standard
6008 5
6009 \end_layout
6010
6011 \end_inset
6012 </cell>
6013 </row>
6014 <row topline="true">
6015 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6016 \begin_inset Text
6017
6018 \begin_layout Standard
6019 asd
6020 \end_layout
6021
6022 \end_inset
6023 </cell>
6024 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6025 \begin_inset Text
6026
6027 \begin_layout Standard
6028 s
6029 \end_layout
6030
6031 \end_inset
6032 </cell>
6033 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6034 \begin_inset Text
6035
6036 \begin_layout Standard
6037 s
6038 \end_layout
6039
6040 \end_inset
6041 </cell>
6042 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6043 \begin_inset Text
6044
6045 \begin_layout Standard
6046 s
6047 \end_layout
6048
6049 \end_inset
6050 </cell>
6051 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6052 \begin_inset Text
6053
6054 \begin_layout Standard
6055 asd
6056 \end_layout
6057
6058 \end_inset
6059 </cell>
6060 </row>
6061 <row topline="true">
6062 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6063 \begin_inset Text
6064
6065 \begin_layout Standard
6066 asd
6067 \end_layout
6068
6069 \end_inset
6070 </cell>
6071 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6072 \begin_inset Text
6073
6074 \begin_layout Standard
6075 s
6076 \end_layout
6077
6078 \end_inset
6079 </cell>
6080 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6081 \begin_inset Text
6082
6083 \begin_layout Standard
6084 s
6085 \end_layout
6086
6087 \end_inset
6088 </cell>
6089 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6090 \begin_inset Text
6091
6092 \begin_layout Standard
6093 s
6094 \end_layout
6095
6096 \end_inset
6097 </cell>
6098 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6099 \begin_inset Text
6100
6101 \begin_layout Standard
6102 asd
6103 \end_layout
6104
6105 \end_inset
6106 </cell>
6107 </row>
6108 <row topline="true">
6109 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6110 \begin_inset Text
6111
6112 \begin_layout Standard
6113 asd
6114 \end_layout
6115
6116 \end_inset
6117 </cell>
6118 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6119 \begin_inset Text
6120
6121 \begin_layout Standard
6122 s
6123 \end_layout
6124
6125 \end_inset
6126 </cell>
6127 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6128 \begin_inset Text
6129
6130 \begin_layout Standard
6131 s
6132 \end_layout
6133
6134 \end_inset
6135 </cell>
6136 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6137 \begin_inset Text
6138
6139 \begin_layout Standard
6140 s
6141 \end_layout
6142
6143 \end_inset
6144 </cell>
6145 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6146 \begin_inset Text
6147
6148 \begin_layout Standard
6149 asd
6150 \end_layout
6151
6152 \end_inset
6153 </cell>
6154 </row>
6155 <row topline="true" bottomline="true">
6156 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6157 \begin_inset Text
6158
6159 \begin_layout Standard
6160 asd
6161 \end_layout
6162
6163 \end_inset
6164 </cell>
6165 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6166 \begin_inset Text
6167
6168 \begin_layout Standard
6169 sad
6170 \end_layout
6171
6172 \end_inset
6173 </cell>
6174 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6175 \begin_inset Text
6176
6177 \begin_layout Standard
6178 asd
6179 \end_layout
6180
6181 \end_inset
6182 </cell>
6183 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6184 \begin_inset Text
6185
6186 \begin_layout Standard
6187 asd
6188 \end_layout
6189
6190 \end_inset
6191 </cell>
6192 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6193 \begin_inset Text
6194
6195 \begin_layout Standard
6196 asd
6197 \end_layout
6198
6199 \end_inset
6200 </cell>
6201 </row>
6202 </lyxtabular>
6203
6204 \end_inset
6205
6206
6207 \begin_inset ERT
6208 status collapsed
6209
6210 \begin_layout Standard
6211
6212
6213 \backslash
6214 setlength{
6215 \backslash
6216 LTcapwidth}{4in}
6217 \end_layout
6218
6219 \end_inset
6220
6221
6222 \end_layout
6223
6224 \begin_layout Standard
6225
6226 \end_layout
6227
6228 \begin_layout Subsubsection
6229 Different Captions for Table Pages
6230 \begin_inset LatexCommand index
6231 name "Longtables ! Different Captions for Pages"
6232
6233 \end_inset
6234
6235
6236 \end_layout
6237
6238 \begin_layout Standard
6239 When the other captions should differ from the one of the first table page,
6240  insert a caption with a non-empty short title in a dummy caption row marked
6241  as first header.
6242  The caption used for the other table pages is inserted as caption without
6243  a short title in a dummy caption row that is marked as main header.
6244  When this caption shouldn't include the table number, use the command
6245 \end_layout
6246
6247 \begin_layout Standard
6248
6249 \series bold
6250
6251 \backslash
6252 caption*{caption text}
6253 \end_layout
6254
6255 \begin_layout Standard
6256 instead of LyX's caption box.
6257  The label to reference the table is inserted into the caption of the first
6258  header.
6259  Table\InsetSpace ~
6260
6261 \begin_inset LatexCommand ref
6262 reference "tab:DiffCaptions"
6263
6264 \end_inset
6265
6266  is an example for a longtable with different heading where the second caption
6267  doesn't include the table number.
6268 \end_layout
6269
6270 \begin_layout Standard
6271 \align center
6272 \begin_inset Tabular
6273 <lyxtabular version="3" rows="60" columns="3">
6274 <features islongtable="true">
6275 <column alignment="left" valignment="top" leftline="true" width="0cm">
6276 <column alignment="left" valignment="top" rightline="true" width="0pt">
6277 <column alignment="right" valignment="top" rightline="true" width="0pt">
6278 <row endfirsthead="true">
6279 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6280 \begin_inset Text
6281
6282 \begin_layout Standard
6283 \begin_inset Caption
6284
6285 \begin_layout Standard
6286 Example Phone List
6287 \begin_inset LatexCommand label
6288 name "tab:DiffCaptions"
6289
6290 \end_inset
6291
6292
6293 \begin_inset OptArg
6294 status collapsed
6295
6296 \begin_layout Standard
6297 Example Phone List
6298 \end_layout
6299
6300 \end_inset
6301
6302
6303 \end_layout
6304
6305 \end_inset
6306
6307
6308 \begin_inset ERT
6309 status collapsed
6310
6311 \begin_layout Standard
6312
6313
6314 \backslash
6315
6316 \backslash
6317 %
6318 \end_layout
6319
6320 \end_inset
6321
6322
6323 \end_layout
6324
6325 \end_inset
6326 </cell>
6327 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6328 \begin_inset Text
6329
6330 \begin_layout Standard
6331
6332 \end_layout
6333
6334 \end_inset
6335 </cell>
6336 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6337 \begin_inset Text
6338
6339 \begin_layout Standard
6340
6341 \end_layout
6342
6343 \end_inset
6344 </cell>
6345 </row>
6346 <row topline="true" bottomline="true" endfirsthead="true">
6347 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6348 \begin_inset Text
6349
6350 \begin_layout Standard
6351
6352 \series bold
6353 Example Phone List (ignore the names)
6354 \end_layout
6355
6356 \end_inset
6357 </cell>
6358 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6359 \begin_inset Text
6360
6361 \begin_layout Standard
6362
6363 \end_layout
6364
6365 \end_inset
6366 </cell>
6367 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6368 \begin_inset Text
6369
6370 \begin_layout Standard
6371
6372 \end_layout
6373
6374 \end_inset
6375 </cell>
6376 </row>
6377 <row topline="true" bottomline="true" endfirsthead="true">
6378 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6379 \begin_inset Text
6380
6381 \begin_layout Standard
6382
6383 \series bold
6384 NAME
6385 \end_layout
6386
6387 \end_inset
6388 </cell>
6389 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6390 \begin_inset Text
6391
6392 \begin_layout Standard
6393
6394 \end_layout
6395
6396 \end_inset
6397 </cell>
6398 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6399 \begin_inset Text
6400
6401 \begin_layout Standard
6402
6403 \series bold
6404 TEL.
6405 \end_layout
6406
6407 \end_inset
6408 </cell>
6409 </row>
6410 <row bottomline="true" endhead="true">
6411 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6412 \begin_inset Text
6413
6414 \begin_layout Standard
6415 \begin_inset ERT
6416 status collapsed
6417
6418 \begin_layout Standard
6419
6420
6421 \backslash
6422 caption*{Continued Example Phone List}
6423 \backslash
6424
6425 \backslash
6426 %
6427 \end_layout
6428
6429 \end_inset
6430
6431
6432 \end_layout
6433
6434 \end_inset
6435 </cell>
6436 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6437 \begin_inset Text
6438
6439 \begin_layout Standard
6440
6441 \end_layout
6442
6443 \end_inset
6444 </cell>
6445 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6446 \begin_inset Text
6447
6448 \begin_layout Standard
6449
6450 \end_layout
6451
6452 \end_inset
6453 </cell>
6454 </row>
6455 <row topline="true" bottomline="true" endhead="true">
6456 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6457 \begin_inset Text
6458
6459 \begin_layout Standard
6460
6461 \series bold
6462 Example Phone List
6463 \end_layout
6464
6465 \end_inset
6466 </cell>
6467 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6468 \begin_inset Text
6469
6470 \begin_layout Standard
6471
6472 \end_layout
6473
6474 \end_inset
6475 </cell>
6476 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6477 \begin_inset Text
6478
6479 \begin_layout Standard
6480
6481 \end_layout
6482
6483 \end_inset
6484 </cell>
6485 </row>
6486 <row topline="true" bottomline="true" endhead="true">
6487 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6488 \begin_inset Text
6489
6490 \begin_layout Standard
6491
6492 \series bold
6493 NAME
6494 \end_layout
6495
6496 \end_inset
6497 </cell>
6498 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6499 \begin_inset Text
6500
6501 \begin_layout Standard
6502
6503 \end_layout
6504
6505 \end_inset
6506 </cell>
6507 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6508 \begin_inset Text
6509
6510 \begin_layout Standard
6511
6512 \series bold
6513 TEL.
6514 \end_layout
6515
6516 \end_inset
6517 </cell>
6518 </row>
6519 <row topline="true" bottomline="true" endfoot="true">
6520 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
6521 \begin_inset Text
6522
6523 \begin_layout Standard
6524 continued on next page
6525 \end_layout
6526
6527 \end_inset
6528 </cell>
6529 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6530 \begin_inset Text
6531
6532 \begin_layout Standard
6533
6534 \end_layout
6535
6536 \end_inset
6537 </cell>
6538 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6539 \begin_inset Text
6540
6541 \begin_layout Standard
6542
6543 \end_layout
6544
6545 \end_inset
6546 </cell>
6547 </row>
6548 <row>
6549 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6550 \begin_inset Text
6551
6552 \begin_layout Standard
6553
6554 \series bold
6555 Annovi
6556 \end_layout
6557
6558 \end_inset
6559 </cell>
6560 <cell alignment="center" valignment="top" topline="true" usebox="none">
6561 \begin_inset Text
6562
6563 \begin_layout Standard
6564 Silvia
6565 \end_layout
6566
6567 \end_inset
6568 </cell>
6569 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6570 \begin_inset Text
6571
6572 \begin_layout Standard
6573 111
6574 \end_layout
6575
6576 \end_inset
6577 </cell>
6578 </row>
6579 <row>
6580 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6581 \begin_inset Text
6582
6583 \begin_layout Standard
6584
6585 \series bold
6586 Bertoli
6587 \end_layout
6588
6589 \end_inset
6590 </cell>
6591 <cell alignment="center" valignment="top" topline="true" usebox="none">
6592 \begin_inset Text
6593
6594 \begin_layout Standard
6595 Stefano
6596 \end_layout
6597
6598 \end_inset
6599 </cell>
6600 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6601 \begin_inset Text
6602
6603 \begin_layout Standard
6604 111
6605 \end_layout
6606
6607 \end_inset
6608 </cell>
6609 </row>
6610 <row>
6611 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6612 \begin_inset Text
6613
6614 \begin_layout Standard
6615
6616 \series bold
6617 Bozzi
6618 \end_layout
6619
6620 \end_inset
6621 </cell>
6622 <cell alignment="center" valignment="top" topline="true" usebox="none">
6623 \begin_inset Text
6624
6625 \begin_layout Standard
6626 Walter
6627 \end_layout
6628
6629 \end_inset
6630 </cell>
6631 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6632 \begin_inset Text
6633
6634 \begin_layout Standard
6635 111
6636 \end_layout
6637
6638 \end_inset
6639 </cell>
6640 </row>
6641 <row>
6642 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6643 \begin_inset Text
6644
6645 \begin_layout Standard
6646
6647 \series bold
6648 Cachia
6649 \end_layout
6650
6651 \end_inset
6652 </cell>
6653 <cell alignment="center" valignment="top" topline="true" usebox="none">
6654 \begin_inset Text
6655
6656 \begin_layout Standard
6657 Maria
6658 \end_layout
6659
6660 \end_inset
6661 </cell>
6662 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6663 \begin_inset Text
6664
6665 \begin_layout Standard
6666 111
6667 \end_layout
6668
6669 \end_inset
6670 </cell>
6671 </row>
6672 <row>
6673 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6674 \begin_inset Text
6675
6676 \begin_layout Standard
6677
6678 \series bold
6679 Cachia
6680 \end_layout
6681
6682 \end_inset
6683 </cell>
6684 <cell alignment="center" valignment="top" topline="true" usebox="none">
6685 \begin_inset Text
6686
6687 \begin_layout Standard
6688 Maurizio
6689 \end_layout
6690
6691 \end_inset
6692 </cell>
6693 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6694 \begin_inset Text
6695
6696 \begin_layout Standard
6697 111
6698 \end_layout
6699
6700 \end_inset
6701 </cell>
6702 </row>
6703 <row>
6704 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6705 \begin_inset Text
6706
6707 \begin_layout Standard
6708
6709 \series bold
6710 Cinquemani
6711 \end_layout
6712
6713 \end_inset
6714 </cell>
6715 <cell alignment="center" valignment="top" topline="true" usebox="none">
6716 \begin_inset Text
6717
6718 \begin_layout Standard
6719 Giusi
6720 \end_layout
6721
6722 \end_inset
6723 </cell>
6724 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6725 \begin_inset Text
6726
6727 \begin_layout Standard
6728 111
6729 \end_layout
6730
6731 \end_inset
6732 </cell>
6733 </row>
6734 <row>
6735 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6736 \begin_inset Text
6737
6738 \begin_layout Standard
6739
6740 \series bold
6741 Colin
6742 \end_layout
6743
6744 \end_inset
6745 </cell>
6746 <cell alignment="center" valignment="top" topline="true" usebox="none">
6747 \begin_inset Text
6748
6749 \begin_layout Standard
6750 Bernard
6751 \end_layout
6752
6753 \end_inset
6754 </cell>
6755 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6756 \begin_inset Text
6757
6758 \begin_layout Standard
6759 111
6760 \end_layout
6761
6762 \end_inset
6763 </cell>
6764 </row>
6765 <row>
6766 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6767 \begin_inset Text
6768
6769 \begin_layout Standard
6770
6771 \series bold
6772 Concli
6773 \end_layout
6774
6775 \end_inset
6776 </cell>
6777 <cell alignment="center" valignment="top" topline="true" usebox="none">
6778 \begin_inset Text
6779
6780 \begin_layout Standard
6781 Gianfranco
6782 \end_layout
6783
6784 \end_inset
6785 </cell>
6786 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6787 \begin_inset Text
6788
6789 \begin_layout Standard
6790 111
6791 \end_layout
6792
6793 \end_inset
6794 </cell>
6795 </row>
6796 <row>
6797 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6798 \begin_inset Text
6799
6800 \begin_layout Standard
6801
6802 \series bold
6803 Dal Bosco
6804 \end_layout
6805
6806 \end_inset
6807 </cell>
6808 <cell alignment="center" valignment="top" topline="true" usebox="none">
6809 \begin_inset Text
6810
6811 \begin_layout Standard
6812 Carolina
6813 \end_layout
6814
6815 \end_inset
6816 </cell>
6817 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6818 \begin_inset Text
6819
6820 \begin_layout Standard
6821 111
6822 \end_layout
6823
6824 \end_inset
6825 </cell>
6826 </row>
6827 <row>
6828 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6829 \begin_inset Text
6830
6831 \begin_layout Standard
6832
6833 \series bold
6834 Dalpiaz
6835 \end_layout
6836
6837 \end_inset
6838 </cell>
6839 <cell alignment="center" valignment="top" topline="true" usebox="none">
6840 \begin_inset Text
6841
6842 \begin_layout Standard
6843 Annamaria
6844 \end_layout
6845
6846 \end_inset
6847 </cell>
6848 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6849 \begin_inset Text
6850
6851 \begin_layout Standard
6852 111
6853 \end_layout
6854
6855 \end_inset
6856 </cell>
6857 </row>
6858 <row>
6859 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6860 \begin_inset Text
6861
6862 \begin_layout Standard
6863
6864 \series bold
6865 Feliciello
6866 \end_layout
6867
6868 \end_inset
6869 </cell>
6870 <cell alignment="center" valignment="top" topline="true" usebox="none">
6871 \begin_inset Text
6872
6873 \begin_layout Standard
6874 Domenico
6875 \end_layout
6876
6877 \end_inset
6878 </cell>
6879 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6880 \begin_inset Text
6881
6882 \begin_layout Standard
6883 111
6884 \end_layout
6885
6886 \end_inset
6887 </cell>
6888 </row>
6889 <row>
6890 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6891 \begin_inset Text
6892
6893 \begin_layout Standard
6894
6895 \series bold
6896 Focarelli
6897 \end_layout
6898
6899 \end_inset
6900 </cell>
6901 <cell alignment="center" valignment="top" topline="true" usebox="none">
6902 \begin_inset Text
6903
6904 \begin_layout Standard
6905 Paola
6906 \end_layout
6907
6908 \end_inset
6909 </cell>
6910 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6911 \begin_inset Text
6912
6913 \begin_layout Standard
6914 111
6915 \end_layout
6916
6917 \end_inset
6918 </cell>
6919 </row>
6920 <row>
6921 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6922 \begin_inset Text
6923
6924 \begin_layout Standard
6925
6926 \series bold
6927 Galletti
6928 \end_layout
6929
6930 \end_inset
6931 </cell>
6932 <cell alignment="center" valignment="top" topline="true" usebox="none">
6933 \begin_inset Text
6934
6935 \begin_layout Standard
6936 Oreste
6937 \end_layout
6938
6939 \end_inset
6940 </cell>
6941 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6942 \begin_inset Text
6943
6944 \begin_layout Standard
6945 111
6946 \end_layout
6947
6948 \end_inset
6949 </cell>
6950 </row>
6951 <row>
6952 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6953 \begin_inset Text
6954
6955 \begin_layout Standard
6956
6957 \series bold
6958 Gasparini
6959 \end_layout
6960
6961 \end_inset
6962 </cell>
6963 <cell alignment="center" valignment="top" topline="true" usebox="none">
6964 \begin_inset Text
6965
6966 \begin_layout Standard
6967 Franca
6968 \end_layout
6969
6970 \end_inset
6971 </cell>
6972 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6973 \begin_inset Text
6974
6975 \begin_layout Standard
6976 111
6977 \end_layout
6978
6979 \end_inset
6980 </cell>
6981 </row>
6982 <row>
6983 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6984 \begin_inset Text
6985
6986 \begin_layout Standard
6987
6988 \series bold
6989 Rizzardi
6990 \series default
6991
6992 \begin_inset Foot
6993 status collapsed
6994
6995 \begin_layout Standard
6996 Example footnote
6997 \end_layout
6998
6999 \end_inset
7000
7001
7002 \end_layout
7003
7004 \end_inset
7005 </cell>
7006 <cell alignment="center" valignment="top" topline="true" usebox="none">
7007 \begin_inset Text
7008
7009 \begin_layout Standard
7010 Paola
7011 \end_layout
7012
7013 \end_inset
7014 </cell>
7015 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7016 \begin_inset Text
7017
7018 \begin_layout Standard
7019 111
7020 \end_layout
7021
7022 \end_inset
7023 </cell>
7024 </row>
7025 <row>
7026 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7027 \begin_inset Text
7028
7029 \begin_layout Standard
7030
7031 \series bold
7032 Lassini
7033 \end_layout
7034
7035 \end_inset
7036 </cell>
7037 <cell alignment="center" valignment="top" topline="true" usebox="none">
7038 \begin_inset Text
7039
7040 \begin_layout Standard
7041 Giancarlo
7042 \end_layout
7043
7044 \end_inset
7045 </cell>
7046 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7047 \begin_inset Text
7048
7049 \begin_layout Standard
7050 111
7051 \end_layout
7052
7053 \end_inset
7054 </cell>
7055 </row>
7056 <row>
7057 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7058 \begin_inset Text
7059
7060 \begin_layout Standard
7061
7062 \series bold
7063 Malfatti
7064 \end_layout
7065
7066 \end_inset
7067 </cell>
7068 <cell alignment="center" valignment="top" topline="true" usebox="none">
7069 \begin_inset Text
7070
7071 \begin_layout Standard
7072 Luciano
7073 \end_layout
7074
7075 \end_inset
7076 </cell>
7077 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7078 \begin_inset Text
7079
7080 \begin_layout Standard
7081 111
7082 \end_layout
7083
7084 \end_inset
7085 </cell>
7086 </row>
7087 <row>
7088 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7089 \begin_inset Text
7090
7091 \begin_layout Standard
7092
7093 \series bold
7094 Malfatti
7095 \end_layout
7096
7097 \end_inset
7098 </cell>
7099 <cell alignment="center" valignment="top" topline="true" usebox="none">
7100 \begin_inset Text
7101
7102 \begin_layout Standard
7103 Valeriano
7104 \end_layout
7105
7106 \end_inset
7107 </cell>
7108 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7109 \begin_inset Text
7110
7111 \begin_layout Standard
7112 111
7113 \end_layout
7114
7115 \end_inset
7116 </cell>
7117 </row>
7118 <row>
7119 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7120 \begin_inset Text
7121
7122 \begin_layout Standard
7123
7124 \series bold
7125 Meneguzzo
7126 \end_layout
7127
7128 \end_inset
7129 </cell>
7130 <cell alignment="center" valignment="top" topline="true" usebox="none">
7131 \begin_inset Text
7132
7133 \begin_layout Standard
7134 Roberto
7135 \end_layout
7136
7137 \end_inset
7138 </cell>
7139 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7140 \begin_inset Text
7141
7142 \begin_layout Standard
7143 111
7144 \end_layout
7145
7146 \end_inset
7147 </cell>
7148 </row>
7149 <row>
7150 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7151 \begin_inset Text
7152
7153 \begin_layout Standard
7154
7155 \series bold
7156 Mezzadra
7157 \end_layout
7158
7159 \end_inset
7160 </cell>
7161 <cell alignment="center" valignment="top" topline="true" usebox="none">
7162 \begin_inset Text
7163
7164 \begin_layout Standard
7165 Roberto
7166 \end_layout
7167
7168 \end_inset
7169 </cell>
7170 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7171 \begin_inset Text
7172
7173 \begin_layout Standard
7174 111
7175 \end_layout
7176
7177 \end_inset
7178 </cell>
7179 </row>
7180 <row>
7181 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7182 \begin_inset Text
7183
7184 \begin_layout Standard
7185
7186 \series bold
7187 Pirpamer
7188 \end_layout
7189
7190 \end_inset
7191 </cell>
7192 <cell alignment="center" valignment="top" topline="true" usebox="none">
7193 \begin_inset Text
7194
7195 \begin_layout Standard
7196 Erich
7197 \end_layout
7198
7199 \end_inset
7200 </cell>
7201 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7202 \begin_inset Text
7203
7204 \begin_layout Standard
7205 111
7206 \end_layout
7207
7208 \end_inset
7209 </cell>
7210 </row>
7211 <row>
7212 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7213 \begin_inset Text
7214
7215 \begin_layout Standard
7216
7217 \series bold
7218 Pochiesa
7219 \end_layout
7220
7221 \end_inset
7222 </cell>
7223 <cell alignment="center" valignment="top" topline="true" usebox="none">
7224 \begin_inset Text
7225
7226 \begin_layout Standard
7227 Paolo
7228 \end_layout
7229
7230 \end_inset
7231 </cell>
7232 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7233 \begin_inset Text
7234
7235 \begin_layout Standard
7236 111, 222
7237 \end_layout
7238
7239 \end_inset
7240 </cell>
7241 </row>
7242 <row>
7243 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7244 \begin_inset Text
7245
7246 \begin_layout Standard
7247
7248 \series bold
7249 Radina
7250 \end_layout
7251
7252 \end_inset
7253 </cell>
7254 <cell alignment="center" valignment="top" topline="true" usebox="none">
7255 \begin_inset Text
7256
7257 \begin_layout Standard
7258 Claudio
7259 \end_layout
7260
7261 \end_inset
7262 </cell>
7263 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7264 \begin_inset Text
7265
7266 \begin_layout Standard
7267 111
7268 \end_layout
7269
7270 \end_inset
7271 </cell>
7272 </row>
7273 <row>
7274 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7275 \begin_inset Text
7276
7277 \begin_layout Standard
7278
7279 \series bold
7280 Stuffer
7281 \end_layout
7282
7283 \end_inset
7284 </cell>
7285 <cell alignment="center" valignment="top" topline="true" usebox="none">
7286 \begin_inset Text
7287
7288 \begin_layout Standard
7289 Oskar
7290 \end_layout
7291
7292 \end_inset
7293 </cell>
7294 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7295 \begin_inset Text
7296
7297 \begin_layout Standard
7298 111
7299 \end_layout
7300
7301 \end_inset
7302 </cell>
7303 </row>
7304 <row>
7305 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7306 \begin_inset Text
7307
7308 \begin_layout Standard
7309
7310 \series bold
7311 Tacchelli
7312 \end_layout
7313
7314 \end_inset
7315 </cell>
7316 <cell alignment="center" valignment="top" topline="true" usebox="none">
7317 \begin_inset Text
7318
7319 \begin_layout Standard
7320 Ugo
7321 \end_layout
7322
7323 \end_inset
7324 </cell>
7325 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7326 \begin_inset Text
7327
7328 \begin_layout Standard
7329 111
7330 \end_layout
7331
7332 \end_inset
7333 </cell>
7334 </row>
7335 <row>
7336 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7337 \begin_inset Text
7338
7339 \begin_layout Standard
7340
7341 \series bold
7342 Tezzele
7343 \end_layout
7344
7345 \end_inset
7346 </cell>
7347 <cell alignment="center" valignment="top" topline="true" usebox="none">
7348 \begin_inset Text
7349
7350 \begin_layout Standard
7351 Margit
7352 \end_layout
7353
7354 \end_inset
7355 </cell>
7356 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7357 \begin_inset Text
7358
7359 \begin_layout Standard
7360 111
7361 \end_layout
7362
7363 \end_inset
7364 </cell>
7365 </row>
7366 <row>
7367 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7368 \begin_inset Text
7369
7370 \begin_layout Standard
7371
7372 \series bold
7373 Unterkalmsteiner
7374 \end_layout
7375
7376 \end_inset
7377 </cell>
7378 <cell alignment="center" valignment="top" topline="true" usebox="none">
7379 \begin_inset Text
7380
7381 \begin_layout Standard
7382 Frieda
7383 \end_layout
7384
7385 \end_inset
7386 </cell>
7387 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7388 \begin_inset Text
7389
7390 \begin_layout Standard
7391 111
7392 \end_layout
7393
7394 \end_inset
7395 </cell>
7396 </row>
7397 <row>
7398 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7399 \begin_inset Text
7400
7401 \begin_layout Standard
7402
7403 \series bold
7404 Vieider
7405 \end_layout
7406
7407 \end_inset
7408 </cell>
7409 <cell alignment="center" valignment="top" topline="true" usebox="none">
7410 \begin_inset Text
7411
7412 \begin_layout Standard
7413 Hilde
7414 \end_layout
7415
7416 \end_inset
7417 </cell>
7418 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7419 \begin_inset Text
7420
7421 \begin_layout Standard
7422 111
7423 \end_layout
7424
7425 \end_inset
7426 </cell>
7427 </row>
7428 <row>
7429 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7430 \begin_inset Text
7431
7432 \begin_layout Standard
7433
7434 \series bold
7435 Vigna
7436 \end_layout
7437
7438 \end_inset
7439 </cell>
7440 <cell alignment="center" valignment="top" topline="true" usebox="none">
7441 \begin_inset Text
7442
7443 \begin_layout Standard
7444 Jürgen
7445 \end_layout
7446
7447 \end_inset
7448 </cell>
7449 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7450 \begin_inset Text
7451
7452 \begin_layout Standard
7453 111
7454 \end_layout
7455
7456 \end_inset
7457 </cell>
7458 </row>
7459 <row>
7460 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7461 \begin_inset Text
7462
7463 \begin_layout Standard
7464
7465 \series bold
7466 Weber
7467 \end_layout
7468
7469 \end_inset
7470 </cell>
7471 <cell alignment="center" valignment="top" topline="true" usebox="none">
7472 \begin_inset Text
7473
7474 \begin_layout Standard
7475 Maurizio
7476 \end_layout
7477
7478 \end_inset
7479 </cell>
7480 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7481 \begin_inset Text
7482
7483 \begin_layout Standard
7484 111
7485 \end_layout
7486
7487 \end_inset
7488 </cell>
7489 </row>
7490 <row bottomline="true">
7491 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7492 \begin_inset Text
7493
7494 \begin_layout Standard
7495
7496 \series bold
7497 Winkler
7498 \end_layout
7499
7500 \end_inset
7501 </cell>
7502 <cell alignment="center" valignment="top" topline="true" usebox="none">
7503 \begin_inset Text
7504
7505 \begin_layout Standard
7506 Franz
7507 \end_layout
7508
7509 \end_inset
7510 </cell>
7511 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7512 \begin_inset Text
7513
7514 \begin_layout Standard
7515 111
7516 \end_layout
7517
7518 \end_inset
7519 </cell>
7520 </row>
7521 <row bottomline="true">
7522 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7523 \begin_inset Text
7524
7525 \begin_layout Standard
7526  
7527 \end_layout
7528
7529 \end_inset
7530 </cell>
7531 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
7532 \begin_inset Text
7533
7534 \begin_layout Standard
7535
7536 \end_layout
7537
7538 \end_inset
7539 </cell>
7540 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7541 \begin_inset Text
7542
7543 \begin_layout Standard
7544
7545 \end_layout
7546
7547 \end_inset
7548 </cell>
7549 </row>
7550 <row>
7551 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7552 \begin_inset Text
7553
7554 \begin_layout Standard
7555
7556 \series bold
7557 Annovi
7558 \end_layout
7559
7560 \end_inset
7561 </cell>
7562 <cell alignment="center" valignment="top" topline="true" usebox="none">
7563 \begin_inset Text
7564
7565 \begin_layout Standard
7566 Silvia
7567 \end_layout
7568
7569 \end_inset
7570 </cell>
7571 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7572 \begin_inset Text
7573
7574 \begin_layout Standard
7575 555
7576 \end_layout
7577
7578 \end_inset
7579 </cell>
7580 </row>
7581 <row>
7582 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7583 \begin_inset Text
7584
7585 \begin_layout Standard
7586
7587 \series bold
7588 Bertoli
7589 \end_layout
7590
7591 \end_inset
7592 </cell>
7593 <cell alignment="center" valignment="top" topline="true" usebox="none">
7594 \begin_inset Text
7595
7596 \begin_layout Standard
7597 Stefano
7598 \end_layout
7599
7600 \end_inset
7601 </cell>
7602 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7603 \begin_inset Text
7604
7605 \begin_layout Standard
7606 555
7607 \end_layout
7608
7609 \end_inset
7610 </cell>
7611 </row>
7612 <row>
7613 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7614 \begin_inset Text
7615
7616 \begin_layout Standard
7617
7618 \series bold
7619 Bozzi
7620 \end_layout
7621
7622 \end_inset
7623 </cell>
7624 <cell alignment="center" valignment="top" topline="true" usebox="none">
7625 \begin_inset Text
7626
7627 \begin_layout Standard
7628 Walter
7629 \end_layout
7630
7631 \end_inset
7632 </cell>
7633 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7634 \begin_inset Text
7635
7636 \begin_layout Standard
7637 555
7638 \end_layout
7639
7640 \end_inset
7641 </cell>
7642 </row>
7643 <row>
7644 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7645 \begin_inset Text
7646
7647 \begin_layout Standard
7648
7649 \series bold
7650 Cachia
7651 \end_layout
7652
7653 \end_inset
7654 </cell>
7655 <cell alignment="center" valignment="top" topline="true" usebox="none">
7656 \begin_inset Text
7657
7658 \begin_layout Standard
7659 Maria
7660 \end_layout
7661
7662 \end_inset
7663 </cell>
7664 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7665 \begin_inset Text
7666
7667 \begin_layout Standard
7668 555
7669 \end_layout
7670
7671 \end_inset
7672 </cell>
7673 </row>
7674 <row>
7675 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7676 \begin_inset Text
7677
7678 \begin_layout Standard
7679
7680 \series bold
7681 Cachia
7682 \end_layout
7683
7684 \end_inset
7685 </cell>
7686 <cell alignment="center" valignment="top" topline="true" usebox="none">
7687 \begin_inset Text
7688
7689 \begin_layout Standard
7690 Maurizio
7691 \end_layout
7692
7693 \end_inset
7694 </cell>
7695 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7696 \begin_inset Text
7697
7698 \begin_layout Standard
7699 555
7700 \end_layout
7701
7702 \end_inset
7703 </cell>
7704 </row>
7705 <row>
7706 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7707 \begin_inset Text
7708
7709 \begin_layout Standard
7710
7711 \series bold
7712 Cinquemani
7713 \end_layout
7714
7715 \end_inset
7716 </cell>
7717 <cell alignment="center" valignment="top" topline="true" usebox="none">
7718 \begin_inset Text
7719
7720 \begin_layout Standard
7721 Giusi
7722 \end_layout
7723
7724 \end_inset
7725 </cell>
7726 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7727 \begin_inset Text
7728
7729 \begin_layout Standard
7730 555
7731 \end_layout
7732
7733 \end_inset
7734 </cell>
7735 </row>
7736 <row>
7737 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7738 \begin_inset Text
7739
7740 \begin_layout Standard
7741
7742 \series bold
7743 Colin
7744 \end_layout
7745
7746 \end_inset
7747 </cell>
7748 <cell alignment="center" valignment="top" topline="true" usebox="none">
7749 \begin_inset Text
7750
7751 \begin_layout Standard
7752 Bernard
7753 \end_layout
7754
7755 \end_inset
7756 </cell>
7757 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7758 \begin_inset Text
7759
7760 \begin_layout Standard
7761 555
7762 \end_layout
7763
7764 \end_inset
7765 </cell>
7766 </row>
7767 <row>
7768 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7769 \begin_inset Text
7770
7771 \begin_layout Standard
7772
7773 \series bold
7774 Concli
7775 \end_layout
7776
7777 \end_inset
7778 </cell>
7779 <cell alignment="center" valignment="top" topline="true" usebox="none">
7780 \begin_inset Text
7781
7782 \begin_layout Standard
7783 Gianfranco
7784 \end_layout
7785
7786 \end_inset
7787 </cell>
7788 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7789 \begin_inset Text
7790
7791 \begin_layout Standard
7792 555
7793 \end_layout
7794
7795 \end_inset
7796 </cell>
7797 </row>
7798 <row>
7799 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7800 \begin_inset Text
7801
7802 \begin_layout Standard
7803
7804 \series bold
7805 Dal Bosco
7806 \end_layout
7807
7808 \end_inset
7809 </cell>
7810 <cell alignment="center" valignment="top" topline="true" usebox="none">
7811 \begin_inset Text
7812
7813 \begin_layout Standard
7814 Carolina
7815 \end_layout
7816
7817 \end_inset
7818 </cell>
7819 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7820 \begin_inset Text
7821
7822 \begin_layout Standard
7823 555
7824 \end_layout
7825
7826 \end_inset
7827 </cell>
7828 </row>
7829 <row>
7830 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7831 \begin_inset Text
7832
7833 \begin_layout Standard
7834
7835 \series bold
7836 Dalpiaz
7837 \end_layout
7838
7839 \end_inset
7840 </cell>
7841 <cell alignment="center" valignment="top" topline="true" usebox="none">
7842 \begin_inset Text
7843
7844 \begin_layout Standard
7845 Annamaria
7846 \end_layout
7847
7848 \end_inset
7849 </cell>
7850 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7851 \begin_inset Text
7852
7853 \begin_layout Standard
7854 555
7855 \end_layout
7856
7857 \end_inset
7858 </cell>
7859 </row>
7860 <row>
7861 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7862 \begin_inset Text
7863
7864 \begin_layout Standard
7865
7866 \series bold
7867 Feliciello
7868 \end_layout
7869
7870 \end_inset
7871 </cell>
7872 <cell alignment="center" valignment="top" topline="true" usebox="none">
7873 \begin_inset Text
7874
7875 \begin_layout Standard
7876 Domenico
7877 \end_layout
7878
7879 \end_inset
7880 </cell>
7881 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7882 \begin_inset Text
7883
7884 \begin_layout Standard
7885 555
7886 \end_layout
7887
7888 \end_inset
7889 </cell>
7890 </row>
7891 <row>
7892 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7893 \begin_inset Text
7894
7895 \begin_layout Standard
7896
7897 \series bold
7898 Focarelli
7899 \end_layout
7900
7901 \end_inset
7902 </cell>
7903 <cell alignment="center" valignment="top" topline="true" usebox="none">
7904 \begin_inset Text
7905
7906 \begin_layout Standard
7907 Paola
7908 \end_layout
7909
7910 \end_inset
7911 </cell>
7912 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7913 \begin_inset Text
7914
7915 \begin_layout Standard
7916 555
7917 \end_layout
7918
7919 \end_inset
7920 </cell>
7921 </row>
7922 <row>
7923 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7924 \begin_inset Text
7925
7926 \begin_layout Standard
7927
7928 \series bold
7929 Galletti
7930 \end_layout
7931
7932 \end_inset
7933 </cell>
7934 <cell alignment="center" valignment="top" topline="true" usebox="none">
7935 \begin_inset Text
7936
7937 \begin_layout Standard
7938 Oreste
7939 \end_layout
7940
7941 \end_inset
7942 </cell>
7943 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7944 \begin_inset Text
7945
7946 \begin_layout Standard
7947 555
7948 \end_layout
7949
7950 \end_inset
7951 </cell>
7952 </row>
7953 <row>
7954 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7955 \begin_inset Text
7956
7957 \begin_layout Standard
7958
7959 \series bold
7960 Gasparini
7961 \end_layout
7962
7963 \end_inset
7964 </cell>
7965 <cell alignment="center" valignment="top" topline="true" usebox="none">
7966 \begin_inset Text
7967
7968 \begin_layout Standard
7969 Franca
7970 \end_layout
7971
7972 \end_inset
7973 </cell>
7974 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7975 \begin_inset Text
7976
7977 \begin_layout Standard
7978 555
7979 \end_layout
7980
7981 \end_inset
7982 </cell>
7983 </row>
7984 <row>
7985 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7986 \begin_inset Text
7987
7988 \begin_layout Standard
7989
7990 \series bold
7991 Rizzardi
7992 \end_layout
7993
7994 \end_inset
7995 </cell>
7996 <cell alignment="center" valignment="top" topline="true" usebox="none">
7997 \begin_inset Text
7998
7999 \begin_layout Standard
8000 Paola
8001 \end_layout
8002
8003 \end_inset
8004 </cell>
8005 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8006 \begin_inset Text
8007
8008 \begin_layout Standard
8009 555
8010 \end_layout
8011
8012 \end_inset
8013 </cell>
8014 </row>
8015 <row>
8016 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8017 \begin_inset Text
8018
8019 \begin_layout Standard
8020
8021 \series bold
8022 Lassini
8023 \end_layout
8024
8025 \end_inset
8026 </cell>
8027 <cell alignment="center" valignment="top" topline="true" usebox="none">
8028 \begin_inset Text
8029
8030 \begin_layout Standard
8031 Giancarlo
8032 \end_layout
8033
8034 \end_inset
8035 </cell>
8036 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8037 \begin_inset Text
8038
8039 \begin_layout Standard
8040 555
8041 \end_layout
8042
8043 \end_inset
8044 </cell>
8045 </row>
8046 <row>
8047 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8048 \begin_inset Text
8049
8050 \begin_layout Standard
8051
8052 \series bold
8053 Malfatti
8054 \end_layout
8055
8056 \end_inset
8057 </cell>
8058 <cell alignment="center" valignment="top" topline="true" usebox="none">
8059 \begin_inset Text
8060
8061 \begin_layout Standard
8062 Luciano
8063 \end_layout
8064
8065 \end_inset
8066 </cell>
8067 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8068 \begin_inset Text
8069
8070 \begin_layout Standard
8071 555
8072 \end_layout
8073
8074 \end_inset
8075 </cell>
8076 </row>
8077 <row>
8078 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8079 \begin_inset Text
8080
8081 \begin_layout Standard
8082
8083 \series bold
8084 Malfatti
8085 \end_layout
8086
8087 \end_inset
8088 </cell>
8089 <cell alignment="center" valignment="top" topline="true" usebox="none">
8090 \begin_inset Text
8091
8092 \begin_layout Standard
8093 Valeriano
8094 \end_layout
8095
8096 \end_inset
8097 </cell>
8098 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8099 \begin_inset Text
8100
8101 \begin_layout Standard
8102 555
8103 \end_layout
8104
8105 \end_inset
8106 </cell>
8107 </row>
8108 <row>
8109 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8110 \begin_inset Text
8111
8112 \begin_layout Standard
8113
8114 \series bold
8115 Meneguzzo
8116 \end_layout
8117
8118 \end_inset
8119 </cell>
8120 <cell alignment="center" valignment="top" topline="true" usebox="none">
8121 \begin_inset Text
8122
8123 \begin_layout Standard
8124 Roberto
8125 \end_layout
8126
8127 \end_inset
8128 </cell>
8129 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8130 \begin_inset Text
8131
8132 \begin_layout Standard
8133 555
8134 \end_layout
8135
8136 \end_inset
8137 </cell>
8138 </row>
8139 <row bottomline="true">
8140 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8141 \begin_inset Text
8142
8143 \begin_layout Standard
8144
8145 \series bold
8146 Mezzadra
8147 \end_layout
8148
8149 \end_inset
8150 </cell>
8151 <cell alignment="center" valignment="top" topline="true" usebox="none">
8152 \begin_inset Text
8153
8154 \begin_layout Standard
8155 Roberto
8156 \end_layout
8157
8158 \end_inset
8159 </cell>
8160 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8161 \begin_inset Text
8162
8163 \begin_layout Standard
8164 555
8165 \end_layout
8166
8167 \end_inset
8168 </cell>
8169 </row>
8170 <row bottomline="true" endlastfoot="true">
8171 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8172 \begin_inset Text
8173
8174 \begin_layout Standard
8175
8176 \end_layout
8177
8178 \end_inset
8179 </cell>
8180 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8181 \begin_inset Text
8182
8183 \begin_layout Standard
8184
8185 \end_layout
8186
8187 \end_inset
8188 </cell>
8189 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8190 \begin_inset Text
8191
8192 \begin_layout Standard
8193
8194 \end_layout
8195
8196 \end_inset
8197 </cell>
8198 </row>
8199 </lyxtabular>
8200
8201 \end_inset
8202
8203
8204 \end_layout
8205
8206 \begin_layout Section
8207 Special Longtable Issues
8208 \begin_inset LatexCommand label
8209 name "sec:Special-Longtable-Issues"
8210
8211 \end_inset
8212
8213
8214 \end_layout
8215
8216 \begin_layout Subsection
8217 Longtable Calculation
8218 \begin_inset LatexCommand index
8219 name "Longtables ! Calculation"
8220
8221 \end_inset
8222
8223
8224 \end_layout
8225
8226 \begin_layout Standard
8227 LaTeX calculates the height of table pages and their page breaks using so
8228  called chunks.
8229  Chunks are pieces of the tables that are at once in LaTeX's memory.
8230  The default value is historically set to only 20 table rows.
8231  If you are using longtables with many pages this may slow down the creation
8232  of your document.
8233  You can safely increase the chunk size to values of 100-1000 by adding
8234  this command line to your document preamble:
8235 \end_layout
8236
8237 \begin_layout Standard
8238
8239 \series bold
8240
8241 \backslash
8242 setcounter{LTchunksize}{100}
8243 \end_layout
8244
8245 \begin_layout Subsection
8246 Floats and Longtables
8247 \begin_inset LatexCommand index
8248 name "Longtables ! Floats"
8249
8250 \end_inset
8251
8252
8253 \end_layout
8254
8255 \begin_layout Standard
8256 There might be problems when a float appears on the same page where a longtable
8257  starts.
8258  To avoid such situation, add the command 
8259 \series bold
8260
8261 \backslash
8262 clearpage
8263 \series default
8264  as ERT before your longtable.
8265 \end_layout
8266
8267 \begin_layout Subsection
8268 Forced Page Breaks
8269 \begin_inset LatexCommand index
8270 name "Longtables ! Forced Page Breaks"
8271
8272 \end_inset
8273
8274
8275 \end_layout
8276
8277 \begin_layout Standard
8278 By default tables are only broken between rows.
8279  If you have a cell with multiples lines and want to have a page break within
8280  the cell, insert the new line command 
8281 \begin_inset Quotes eld
8282 \end_inset
8283
8284
8285 \series bold
8286
8287 \backslash
8288
8289 \backslash
8290
8291 \series default
8292
8293 \begin_inset Quotes erd
8294 \end_inset
8295
8296  as ERT at this point of the cell where it should be broken.
8297  Before the 
8298 \series bold
8299
8300 \backslash
8301
8302 \backslash
8303
8304 \series default
8305  command you have to insert in ERT so many 
8306 \begin_inset Quotes eld
8307 \end_inset
8308
8309
8310 \series bold
8311 &
8312 \series default
8313
8314 \begin_inset Quotes erd
8315 \end_inset
8316
8317  characters like the number of the following table columns.
8318  The 
8319 \series bold
8320 &
8321 \series default
8322  is the character to separate table cells.
8323  Write in ERT after each 
8324 \series bold
8325 &
8326 \series default
8327  the content of the corresponding following cell and delete the content
8328  of these cells.
8329 \newline
8330 Behind the the 
8331 \series bold
8332
8333 \backslash
8334
8335 \backslash
8336
8337 \series default
8338  command, insert so many 
8339 \series bold
8340 &
8341 \series default
8342  characters like the number of table columns before the current column.
8343  In Table\InsetSpace ~
8344
8345 \begin_inset LatexCommand ref
8346 reference "tab:ForcedPagebreak"
8347
8348 \end_inset
8349
8350  the cell that should be broken is in the second column followed by another
8351  column.
8352  Therefore the following command was inserted in the cell as ERT behind
8353  
8354 \begin_inset Quotes eld
8355 \end_inset
8356
8357
8358 \emph on
8359 Castelchiodato,
8360 \emph default
8361
8362 \begin_inset Quotes erd
8363 \end_inset
8364
8365 :
8366 \end_layout
8367
8368 \begin_layout Standard
8369
8370 \series bold
8371 & 111
8372 \backslash
8373
8374 \backslash
8375
8376 \newline
8377 &
8378 \end_layout
8379
8380 \begin_layout Standard
8381 The 
8382 \begin_inset Quotes eld
8383 \end_inset
8384
8385 111
8386 \begin_inset Quotes erd
8387 \end_inset
8388
8389  in the third columns of the row was deleted.
8390  If your footer row of the longtable has for a certain reason no upper line
8391  but you would have a horizontal line where the cell is broken, use this
8392  command instead:
8393 \end_layout
8394
8395 \begin_layout Standard
8396
8397 \series bold
8398 & 111
8399 \backslash
8400
8401 \backslash
8402
8403 \newline
8404
8405 \backslash
8406 hline &
8407 \end_layout
8408
8409 \begin_layout Standard
8410 When the cell to be broken is in the last column, the command
8411 \end_layout
8412
8413 \begin_layout Standard
8414
8415 \series bold
8416
8417 \backslash
8418 setlength{
8419 \backslash
8420 parf\SpecialChar \textcompwordmark{}
8421 illskip}{0pt}
8422 \end_layout
8423
8424 \begin_layout Standard
8425 must be inserted as ERT at the beginning of the cell.
8426  This assures that the part of the cell that will be displayed on the new
8427  page appears with the full width.
8428  
8429 \end_layout
8430
8431 \begin_layout Standard
8432 \align center
8433 \begin_inset Tabular
8434 <lyxtabular version="3" rows="39" columns="3">
8435 <features islongtable="true">
8436 <column alignment="left" valignment="top" leftline="true" width="0cm">
8437 <column alignment="left" valignment="top" rightline="true" width="3cm">
8438 <column alignment="right" valignment="top" rightline="true" width="0pt">
8439 <row endfirsthead="true">
8440 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8441 \begin_inset Text
8442
8443 \begin_layout Standard
8444 \begin_inset Caption
8445
8446 \begin_layout Standard
8447 Table with forced page break in table cell
8448 \begin_inset LatexCommand label
8449 name "tab:ForcedPagebreak"
8450
8451 \end_inset
8452
8453
8454 \begin_inset OptArg
8455 status collapsed
8456
8457 \begin_layout Standard
8458 Table with forced page break in table cell
8459 \end_layout
8460
8461 \end_inset
8462
8463
8464 \end_layout
8465
8466 \end_inset
8467
8468
8469 \begin_inset ERT
8470 status collapsed
8471
8472 \begin_layout Standard
8473
8474
8475 \backslash
8476
8477 \backslash
8478 %
8479 \end_layout
8480
8481 \end_inset
8482
8483
8484 \end_layout
8485
8486 \end_inset
8487 </cell>
8488 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8489 \begin_inset Text
8490
8491 \begin_layout Standard
8492
8493 \end_layout
8494
8495 \end_inset
8496 </cell>
8497 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8498 \begin_inset Text
8499
8500 \begin_layout Standard
8501
8502 \end_layout
8503
8504 \end_inset
8505 </cell>
8506 </row>
8507 <row topline="true" bottomline="true" endfirsthead="true">
8508 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8509 \begin_inset Text
8510
8511 \begin_layout Standard
8512
8513 \series bold
8514 Example Phone List (ignore the names)
8515 \end_layout
8516
8517 \end_inset
8518 </cell>
8519 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8520 \begin_inset Text
8521
8522 \begin_layout Standard
8523
8524 \end_layout
8525
8526 \end_inset
8527 </cell>
8528 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8529 \begin_inset Text
8530
8531 \begin_layout Standard
8532
8533 \end_layout
8534
8535 \end_inset
8536 </cell>
8537 </row>
8538 <row topline="true" bottomline="true" endfirsthead="true">
8539 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8540 \begin_inset Text
8541
8542 \begin_layout Standard
8543
8544 \series bold
8545 NAME
8546 \end_layout
8547
8548 \end_inset
8549 </cell>
8550 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8551 \begin_inset Text
8552
8553 \begin_layout Standard
8554
8555 \end_layout
8556
8557 \end_inset
8558 </cell>
8559 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8560 \begin_inset Text
8561
8562 \begin_layout Standard
8563
8564 \series bold
8565 TEL.
8566 \end_layout
8567
8568 \end_inset
8569 </cell>
8570 </row>
8571 <row bottomline="true" endhead="true">
8572 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8573 \begin_inset Text
8574
8575 \begin_layout Standard
8576 \begin_inset ERT
8577 status collapsed
8578
8579 \begin_layout Standard
8580
8581
8582 \backslash
8583 caption*{Continued table with forced page break in table cell}
8584 \backslash
8585
8586 \backslash
8587 %
8588 \end_layout
8589
8590 \end_inset
8591
8592
8593 \end_layout
8594
8595 \end_inset
8596 </cell>
8597 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8598 \begin_inset Text
8599
8600 \begin_layout Standard
8601
8602 \end_layout
8603
8604 \end_inset
8605 </cell>
8606 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8607 \begin_inset Text
8608
8609 \begin_layout Standard
8610
8611 \end_layout
8612
8613 \end_inset
8614 </cell>
8615 </row>
8616 <row topline="true" bottomline="true" endhead="true">
8617 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8618 \begin_inset Text
8619
8620 \begin_layout Standard
8621
8622 \series bold
8623  Example Phone List
8624 \end_layout
8625
8626 \end_inset
8627 </cell>
8628 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8629 \begin_inset Text
8630
8631 \begin_layout Standard
8632
8633 \end_layout
8634
8635 \end_inset
8636 </cell>
8637 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8638 \begin_inset Text
8639
8640 \begin_layout Standard
8641
8642 \end_layout
8643
8644 \end_inset
8645 </cell>
8646 </row>
8647 <row topline="true" bottomline="true" endhead="true">
8648 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8649 \begin_inset Text
8650
8651 \begin_layout Standard
8652
8653 \series bold
8654 NAME
8655 \end_layout
8656
8657 \end_inset
8658 </cell>
8659 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8660 \begin_inset Text
8661
8662 \begin_layout Standard
8663
8664 \end_layout
8665
8666 \end_inset
8667 </cell>
8668 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8669 \begin_inset Text
8670
8671 \begin_layout Standard
8672
8673 \series bold
8674 TEL.
8675 \end_layout
8676
8677 \end_inset
8678 </cell>
8679 </row>
8680 <row topline="true" bottomline="true" endfoot="true">
8681 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
8682 \begin_inset Text
8683
8684 \begin_layout Standard
8685 continued on next page
8686 \end_layout
8687
8688 \end_inset
8689 </cell>
8690 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8691 \begin_inset Text
8692
8693 \begin_layout Standard
8694
8695 \end_layout
8696
8697 \end_inset
8698 </cell>
8699 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8700 \begin_inset Text
8701
8702 \begin_layout Standard
8703
8704 \end_layout
8705
8706 \end_inset
8707 </cell>
8708 </row>
8709 <row>
8710 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8711 \begin_inset Text
8712
8713 \begin_layout Standard
8714
8715 \series bold
8716 Annovi
8717 \end_layout
8718
8719 \end_inset
8720 </cell>
8721 <cell alignment="center" valignment="top" topline="true" usebox="none">
8722 \begin_inset Text
8723
8724 \begin_layout Standard
8725 Silvia
8726 \end_layout
8727
8728 \end_inset
8729 </cell>
8730 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8731 \begin_inset Text
8732
8733 \begin_layout Standard
8734 111
8735 \end_layout
8736
8737 \end_inset
8738 </cell>
8739 </row>
8740 <row>
8741 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8742 \begin_inset Text
8743
8744 \begin_layout Standard
8745
8746 \series bold
8747 Bertoli
8748 \end_layout
8749
8750 \end_inset
8751 </cell>
8752 <cell alignment="center" valignment="top" topline="true" usebox="none">
8753 \begin_inset Text
8754
8755 \begin_layout Standard
8756 Stefano
8757 \end_layout
8758
8759 \end_inset
8760 </cell>
8761 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8762 \begin_inset Text
8763
8764 \begin_layout Standard
8765 111
8766 \end_layout
8767
8768 \end_inset
8769 </cell>
8770 </row>
8771 <row>
8772 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8773 \begin_inset Text
8774
8775 \begin_layout Standard
8776
8777 \series bold
8778 Bozzi
8779 \end_layout
8780
8781 \end_inset
8782 </cell>
8783 <cell alignment="center" valignment="top" topline="true" usebox="none">
8784 \begin_inset Text
8785
8786 \begin_layout Standard
8787 Walter
8788 \end_layout
8789
8790 \end_inset
8791 </cell>
8792 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8793 \begin_inset Text
8794
8795 \begin_layout Standard
8796 111
8797 \end_layout
8798
8799 \end_inset
8800 </cell>
8801 </row>
8802 <row>
8803 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8804 \begin_inset Text
8805
8806 \begin_layout Standard
8807
8808 \series bold
8809 Cachia
8810 \end_layout
8811
8812 \end_inset
8813 </cell>
8814 <cell alignment="center" valignment="top" topline="true" usebox="none">
8815 \begin_inset Text
8816
8817 \begin_layout Standard
8818 Maria
8819 \end_layout
8820
8821 \end_inset
8822 </cell>
8823 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8824 \begin_inset Text
8825
8826 \begin_layout Standard
8827 111
8828 \end_layout
8829
8830 \end_inset
8831 </cell>
8832 </row>
8833 <row>
8834 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8835 \begin_inset Text
8836
8837 \begin_layout Standard
8838
8839 \series bold
8840 Cachia
8841 \end_layout
8842
8843 \end_inset
8844 </cell>
8845 <cell alignment="center" valignment="top" topline="true" usebox="none">
8846 \begin_inset Text
8847
8848 \begin_layout Standard
8849 Maurizio
8850 \end_layout
8851
8852 \end_inset
8853 </cell>
8854 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8855 \begin_inset Text
8856
8857 \begin_layout Standard
8858 111
8859 \end_layout
8860
8861 \end_inset
8862 </cell>
8863 </row>
8864 <row>
8865 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8866 \begin_inset Text
8867
8868 \begin_layout Standard
8869
8870 \series bold
8871 Cinquemani
8872 \end_layout
8873
8874 \end_inset
8875 </cell>
8876 <cell alignment="center" valignment="top" topline="true" usebox="none">
8877 \begin_inset Text
8878
8879 \begin_layout Standard
8880 Giusi
8881 \end_layout
8882
8883 \end_inset
8884 </cell>
8885 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8886 \begin_inset Text
8887
8888 \begin_layout Standard
8889 111
8890 \end_layout
8891
8892 \end_inset
8893 </cell>
8894 </row>
8895 <row>
8896 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8897 \begin_inset Text
8898
8899 \begin_layout Standard
8900
8901 \series bold
8902 Colin
8903 \end_layout
8904
8905 \end_inset
8906 </cell>
8907 <cell alignment="center" valignment="top" topline="true" usebox="none">
8908 \begin_inset Text
8909
8910 \begin_layout Standard
8911 Bernard
8912 \end_layout
8913
8914 \end_inset
8915 </cell>
8916 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8917 \begin_inset Text
8918
8919 \begin_layout Standard
8920 111
8921 \end_layout
8922
8923 \end_inset
8924 </cell>
8925 </row>
8926 <row>
8927 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8928 \begin_inset Text
8929
8930 \begin_layout Standard
8931
8932 \series bold
8933 Concli
8934 \end_layout
8935
8936 \end_inset
8937 </cell>
8938 <cell alignment="center" valignment="top" topline="true" usebox="none">
8939 \begin_inset Text
8940
8941 \begin_layout Standard
8942 Gianfranco
8943 \end_layout
8944
8945 \end_inset
8946 </cell>
8947 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8948 \begin_inset Text
8949
8950 \begin_layout Standard
8951 111
8952 \end_layout
8953
8954 \end_inset
8955 </cell>
8956 </row>
8957 <row>
8958 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8959 \begin_inset Text
8960
8961 \begin_layout Standard
8962
8963 \series bold
8964 Dal Bosco
8965 \end_layout
8966
8967 \end_inset
8968 </cell>
8969 <cell alignment="center" valignment="top" topline="true" usebox="none">
8970 \begin_inset Text
8971
8972 \begin_layout Standard
8973 Carolina
8974 \end_layout
8975
8976 \end_inset
8977 </cell>
8978 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8979 \begin_inset Text
8980
8981 \begin_layout Standard
8982 111
8983 \end_layout
8984
8985 \end_inset
8986 </cell>
8987 </row>
8988 <row>
8989 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8990 \begin_inset Text
8991
8992 \begin_layout Standard
8993
8994 \series bold
8995 Dalpiaz
8996 \end_layout
8997
8998 \end_inset
8999 </cell>
9000 <cell alignment="center" valignment="top" topline="true" usebox="none">
9001 \begin_inset Text
9002
9003 \begin_layout Standard
9004 Annamaria
9005 \end_layout
9006
9007 \end_inset
9008 </cell>
9009 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9010 \begin_inset Text
9011
9012 \begin_layout Standard
9013 111
9014 \end_layout
9015
9016 \end_inset
9017 </cell>
9018 </row>
9019 <row>
9020 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9021 \begin_inset Text
9022
9023 \begin_layout Standard
9024
9025 \series bold
9026 Feliciello
9027 \end_layout
9028
9029 \end_inset
9030 </cell>
9031 <cell alignment="center" valignment="top" topline="true" usebox="none">
9032 \begin_inset Text
9033
9034 \begin_layout Standard
9035 Domenico
9036 \end_layout
9037
9038 \end_inset
9039 </cell>
9040 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9041 \begin_inset Text
9042
9043 \begin_layout Standard
9044 111
9045 \end_layout
9046
9047 \end_inset
9048 </cell>
9049 </row>
9050 <row>
9051 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9052 \begin_inset Text
9053
9054 \begin_layout Standard
9055
9056 \series bold
9057 Focarelli
9058 \end_layout
9059
9060 \end_inset
9061 </cell>
9062 <cell alignment="center" valignment="top" topline="true" usebox="none">
9063 \begin_inset Text
9064
9065 \begin_layout Standard
9066 Paola
9067 \end_layout
9068
9069 \end_inset
9070 </cell>
9071 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9072 \begin_inset Text
9073
9074 \begin_layout Standard
9075 111
9076 \end_layout
9077
9078 \end_inset
9079 </cell>
9080 </row>
9081 <row>
9082 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9083 \begin_inset Text
9084
9085 \begin_layout Standard
9086
9087 \series bold
9088 Galletti
9089 \end_layout
9090
9091 \end_inset
9092 </cell>
9093 <cell alignment="center" valignment="top" topline="true" usebox="none">
9094 \begin_inset Text
9095
9096 \begin_layout Standard
9097 Oreste
9098 \end_layout
9099
9100 \end_inset
9101 </cell>
9102 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9103 \begin_inset Text
9104
9105 \begin_layout Standard
9106 111
9107 \end_layout
9108
9109 \end_inset
9110 </cell>
9111 </row>
9112 <row>
9113 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9114 \begin_inset Text
9115
9116 \begin_layout Standard
9117
9118 \series bold
9119 Gasparini
9120 \end_layout
9121
9122 \end_inset
9123 </cell>
9124 <cell alignment="center" valignment="top" topline="true" usebox="none">
9125 \begin_inset Text
9126
9127 \begin_layout Standard
9128 Franca
9129 \end_layout
9130
9131 \end_inset
9132 </cell>
9133 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9134 \begin_inset Text
9135
9136 \begin_layout Standard
9137 111
9138 \end_layout
9139
9140 \end_inset
9141 </cell>
9142 </row>
9143 <row>
9144 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9145 \begin_inset Text
9146
9147 \begin_layout Standard
9148
9149 \series bold
9150 Lassini
9151 \end_layout
9152
9153 \end_inset
9154 </cell>
9155 <cell alignment="center" valignment="top" topline="true" usebox="none">
9156 \begin_inset Text
9157
9158 \begin_layout Standard
9159 Giancarlo
9160 \end_layout
9161
9162 \end_inset
9163 </cell>
9164 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9165 \begin_inset Text
9166
9167 \begin_layout Standard
9168 111
9169 \end_layout
9170
9171 \end_inset
9172 </cell>
9173 </row>
9174 <row>
9175 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9176 \begin_inset Text
9177
9178 \begin_layout Standard
9179
9180 \series bold
9181 Malfatti
9182 \end_layout
9183
9184 \end_inset
9185 </cell>
9186 <cell alignment="center" valignment="top" topline="true" usebox="none">
9187 \begin_inset Text
9188
9189 \begin_layout Standard
9190 Luciano
9191 \end_layout
9192
9193 \end_inset
9194 </cell>
9195 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9196 \begin_inset Text
9197
9198 \begin_layout Standard
9199 111
9200 \end_layout
9201
9202 \end_inset
9203 </cell>
9204 </row>
9205 <row>
9206 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9207 \begin_inset Text
9208
9209 \begin_layout Standard
9210
9211 \series bold
9212 Malfatti
9213 \end_layout
9214
9215 \end_inset
9216 </cell>
9217 <cell alignment="center" valignment="top" topline="true" usebox="none">
9218 \begin_inset Text
9219
9220 \begin_layout Standard
9221 Valeriano
9222 \end_layout
9223
9224 \end_inset
9225 </cell>
9226 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9227 \begin_inset Text
9228
9229 \begin_layout Standard
9230 111
9231 \end_layout
9232
9233 \end_inset
9234 </cell>
9235 </row>
9236 <row>
9237 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9238 \begin_inset Text
9239
9240 \begin_layout Standard
9241
9242 \series bold
9243 Meneguzzo
9244 \end_layout
9245
9246 \end_inset
9247 </cell>
9248 <cell alignment="center" valignment="top" topline="true" usebox="none">
9249 \begin_inset Text
9250
9251 \begin_layout Standard
9252 Roberto
9253 \end_layout
9254
9255 \end_inset
9256 </cell>
9257 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9258 \begin_inset Text
9259
9260 \begin_layout Standard
9261 111
9262 \end_layout
9263
9264 \end_inset
9265 </cell>
9266 </row>
9267 <row>
9268 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9269 \begin_inset Text
9270
9271 \begin_layout Standard
9272
9273 \series bold
9274 Mezzadra
9275 \end_layout
9276
9277 \end_inset
9278 </cell>
9279 <cell alignment="center" valignment="top" topline="true" usebox="none">
9280 \begin_inset Text
9281
9282 \begin_layout Standard
9283 Roberto
9284 \end_layout
9285
9286 \end_inset
9287 </cell>
9288 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9289 \begin_inset Text
9290
9291 \begin_layout Standard
9292 111
9293 \end_layout
9294
9295 \end_inset
9296 </cell>
9297 </row>
9298 <row>
9299 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9300 \begin_inset Text
9301
9302 \begin_layout Standard
9303
9304 \series bold
9305 Pirpamer
9306 \end_layout
9307
9308 \end_inset
9309 </cell>
9310 <cell alignment="center" valignment="top" topline="true" usebox="none">
9311 \begin_inset Text
9312
9313 \begin_layout Standard
9314 Erich
9315 \end_layout
9316
9317 \end_inset
9318 </cell>
9319 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9320 \begin_inset Text
9321
9322 \begin_layout Standard
9323 111
9324 \end_layout
9325
9326 \end_inset
9327 </cell>
9328 </row>
9329 <row>
9330 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9331 \begin_inset Text
9332
9333 \begin_layout Standard
9334
9335 \series bold
9336 Pochiesa
9337 \end_layout
9338
9339 \end_inset
9340 </cell>
9341 <cell alignment="center" valignment="top" topline="true" usebox="none">
9342 \begin_inset Text
9343
9344 \begin_layout Standard
9345 Paolo
9346 \end_layout
9347
9348 \end_inset
9349 </cell>
9350 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9351 \begin_inset Text
9352
9353 \begin_layout Standard
9354 111, 222
9355 \end_layout
9356
9357 \end_inset
9358 </cell>
9359 </row>
9360 <row>
9361 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9362 \begin_inset Text
9363
9364 \begin_layout Standard
9365
9366 \series bold
9367 Radina
9368 \end_layout
9369
9370 \end_inset
9371 </cell>
9372 <cell alignment="center" valignment="top" topline="true" usebox="none">
9373 \begin_inset Text
9374
9375 \begin_layout Standard
9376 Claudio
9377 \end_layout
9378
9379 \end_inset
9380 </cell>
9381 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9382 \begin_inset Text
9383
9384 \begin_layout Standard
9385 111
9386 \end_layout
9387
9388 \end_inset
9389 </cell>
9390 </row>
9391 <row>
9392 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9393 \begin_inset Text
9394
9395 \begin_layout Standard
9396
9397 \series bold
9398 Rizzardi
9399 \end_layout
9400
9401 \end_inset
9402 </cell>
9403 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9404 \begin_inset Text
9405
9406 \begin_layout Standard
9407 Paolo, 11.
9408  Fürst von Montecompatri, 11.
9409  Fürst von Sulmona und Vivaro, 10.
9410  Fürst von Rossano, 5.
9411  Herzog von Canemorte, 11.
9412  Herzog von Palombara, 5.
9413  Herzog von Castelchiodato,
9414 \begin_inset ERT
9415 status collapsed
9416
9417 \begin_layout Standard
9418
9419 & 111
9420 \backslash
9421
9422 \backslash
9423
9424 \end_layout
9425
9426 \begin_layout Standard
9427
9428 &
9429 \end_layout
9430
9431 \end_inset
9432
9433  11.
9434  Herzog von Poggionativo, 11.
9435  Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
9436  Graf von Valinfreda, 11.
9437  Baron von Cropalati, 11.
9438  Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
9439 \end_layout
9440
9441 \end_inset
9442 </cell>
9443 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9444 \begin_inset Text
9445
9446 \begin_layout Standard
9447
9448 \end_layout
9449
9450 \end_inset
9451 </cell>
9452 </row>
9453 <row>
9454 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9455 \begin_inset Text
9456
9457 \begin_layout Standard
9458
9459 \series bold
9460 Stuffer
9461 \end_layout
9462
9463 \end_inset
9464 </cell>
9465 <cell alignment="center" valignment="top" topline="true" usebox="none">
9466 \begin_inset Text
9467
9468 \begin_layout Standard
9469 Oskar
9470 \end_layout
9471
9472 \end_inset
9473 </cell>
9474 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9475 \begin_inset Text
9476
9477 \begin_layout Standard
9478 111
9479 \end_layout
9480
9481 \end_inset
9482 </cell>
9483 </row>
9484 <row>
9485 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9486 \begin_inset Text
9487
9488 \begin_layout Standard
9489
9490 \series bold
9491 Tacchelli
9492 \end_layout
9493
9494 \end_inset
9495 </cell>
9496 <cell alignment="center" valignment="top" topline="true" usebox="none">
9497 \begin_inset Text
9498
9499 \begin_layout Standard
9500 Ugo
9501 \end_layout
9502
9503 \end_inset
9504 </cell>
9505 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9506 \begin_inset Text
9507
9508 \begin_layout Standard
9509 111
9510 \end_layout
9511
9512 \end_inset
9513 </cell>
9514 </row>
9515 <row>
9516 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9517 \begin_inset Text
9518
9519 \begin_layout Standard
9520
9521 \series bold
9522 Tezzele
9523 \end_layout
9524
9525 \end_inset
9526 </cell>
9527 <cell alignment="center" valignment="top" topline="true" usebox="none">
9528 \begin_inset Text
9529
9530 \begin_layout Standard
9531 Margit
9532 \end_layout
9533
9534 \end_inset
9535 </cell>
9536 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9537 \begin_inset Text
9538
9539 \begin_layout Standard
9540 111
9541 \end_layout
9542
9543 \end_inset
9544 </cell>
9545 </row>
9546 <row>
9547 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9548 \begin_inset Text
9549
9550 \begin_layout Standard
9551
9552 \series bold
9553 Unterkalmsteiner
9554 \end_layout
9555
9556 \end_inset
9557 </cell>
9558 <cell alignment="center" valignment="top" topline="true" usebox="none">
9559 \begin_inset Text
9560
9561 \begin_layout Standard
9562 Frieda
9563 \end_layout
9564
9565 \end_inset
9566 </cell>
9567 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9568 \begin_inset Text
9569
9570 \begin_layout Standard
9571 111
9572 \end_layout
9573
9574 \end_inset
9575 </cell>
9576 </row>
9577 <row>
9578 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9579 \begin_inset Text
9580
9581 \begin_layout Standard
9582
9583 \series bold
9584 Vieider
9585 \end_layout
9586
9587 \end_inset
9588 </cell>
9589 <cell alignment="center" valignment="top" topline="true" usebox="none">
9590 \begin_inset Text
9591
9592 \begin_layout Standard
9593 Hilde
9594 \end_layout
9595
9596 \end_inset
9597 </cell>
9598 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9599 \begin_inset Text
9600
9601 \begin_layout Standard
9602 111
9603 \end_layout
9604
9605 \end_inset
9606 </cell>
9607 </row>
9608 <row>
9609 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9610 \begin_inset Text
9611
9612 \begin_layout Standard
9613
9614 \series bold
9615 Vigna
9616 \end_layout
9617
9618 \end_inset
9619 </cell>
9620 <cell alignment="center" valignment="top" topline="true" usebox="none">
9621 \begin_inset Text
9622
9623 \begin_layout Standard
9624 Jürgen
9625 \end_layout
9626
9627 \end_inset
9628 </cell>
9629 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9630 \begin_inset Text
9631
9632 \begin_layout Standard
9633 111
9634 \end_layout
9635
9636 \end_inset
9637 </cell>
9638 </row>
9639 <row>
9640 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9641 \begin_inset Text
9642
9643 \begin_layout Standard
9644
9645 \series bold
9646 Weber
9647 \end_layout
9648
9649 \end_inset
9650 </cell>
9651 <cell alignment="center" valignment="top" topline="true" usebox="none">
9652 \begin_inset Text
9653
9654 \begin_layout Standard
9655 Maurizio
9656 \end_layout
9657
9658 \end_inset
9659 </cell>
9660 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9661 \begin_inset Text
9662
9663 \begin_layout Standard
9664 111
9665 \end_layout
9666
9667 \end_inset
9668 </cell>
9669 </row>
9670 <row bottomline="true">
9671 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9672 \begin_inset Text
9673
9674 \begin_layout Standard
9675
9676 \series bold
9677 Winkler
9678 \end_layout
9679
9680 \end_inset
9681 </cell>
9682 <cell alignment="center" valignment="top" topline="true" usebox="none">
9683 \begin_inset Text
9684
9685 \begin_layout Standard
9686 Franz
9687 \end_layout
9688
9689 \end_inset
9690 </cell>
9691 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9692 \begin_inset Text
9693
9694 \begin_layout Standard
9695 111
9696 \end_layout
9697
9698 \end_inset
9699 </cell>
9700 </row>
9701 <row endlastfoot="true">
9702 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9703 \begin_inset Text
9704
9705 \begin_layout Standard
9706
9707 \end_layout
9708
9709 \end_inset
9710 </cell>
9711 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9712 \begin_inset Text
9713
9714 \begin_layout Standard
9715
9716 \end_layout
9717
9718 \end_inset
9719 </cell>
9720 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9721 \begin_inset Text
9722
9723 \begin_layout Standard
9724
9725 \end_layout
9726
9727 \end_inset
9728 </cell>
9729 </row>
9730 </lyxtabular>
9731
9732 \end_inset
9733
9734
9735 \end_layout
9736
9737 \begin_layout Section
9738 Multiple Lines Columns and Rows
9739 \end_layout
9740
9741 \begin_layout Subsection
9742 Multiple Lines in Table Cells
9743 \begin_inset LatexCommand label
9744 name "sub:Multiple-Lines-in"
9745
9746 \end_inset
9747
9748
9749 \begin_inset LatexCommand index
9750 name "Multiple Lines in Table Cells"
9751
9752 \end_inset
9753
9754
9755 \begin_inset LatexCommand index
9756 name "Table ! Linebreaks"
9757
9758 \end_inset
9759
9760
9761 \end_layout
9762
9763 \begin_layout Standard
9764 \align center
9765 \begin_inset Float table
9766 placement H
9767 wide false
9768 sideways false
9769 status collapsed
9770
9771 \begin_layout Standard
9772 \begin_inset Caption
9773
9774 \begin_layout Standard
9775 \begin_inset LatexCommand label
9776 name "tab:Table-with-multiple"
9777
9778 \end_inset
9779
9780 Table with multiple lines in cells
9781 \end_layout
9782
9783 \end_inset
9784
9785
9786 \end_layout
9787
9788 \begin_layout Standard
9789 \align center
9790 \begin_inset Tabular
9791 <lyxtabular version="3" rows="3" columns="3">
9792 <features>
9793 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
9794 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
9795 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
9796 <row topline="true">
9797 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9798 \begin_inset Text
9799
9800 \begin_layout Standard
9801 multiple
9802 \begin_inset ERT
9803 status collapsed
9804
9805 \begin_layout Standard
9806
9807
9808 \backslash
9809 linebreak 
9810 \end_layout
9811
9812 \end_inset
9813
9814  lines
9815 \end_layout
9816
9817 \end_inset
9818 </cell>
9819 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9820 \begin_inset Text
9821
9822 \begin_layout Standard
9823 b
9824 \end_layout
9825
9826 \end_inset
9827 </cell>
9828 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9829 \begin_inset Text
9830
9831 \begin_layout Standard
9832 c
9833 \end_layout
9834
9835 \end_inset
9836 </cell>
9837 </row>
9838 <row topline="true">
9839 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9840 \begin_inset Text
9841
9842 \begin_layout Standard
9843 d
9844 \end_layout
9845
9846 \end_inset
9847 </cell>
9848 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9849 \begin_inset Text
9850
9851 \begin_layout Standard
9852 e
9853 \end_layout
9854
9855 \end_inset
9856 </cell>
9857 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9858 \begin_inset Text
9859
9860 \begin_layout Standard
9861 f
9862 \end_layout
9863
9864 \end_inset
9865 </cell>
9866 </row>
9867 <row topline="true" bottomline="true">
9868 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9869 \begin_inset Text
9870
9871 \begin_layout Standard
9872 g
9873 \end_layout
9874
9875 \end_inset
9876 </cell>
9877 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9878 \begin_inset Text
9879
9880 \begin_layout Standard
9881 h
9882 \end_layout
9883
9884 \end_inset
9885 </cell>
9886 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9887 \begin_inset Text
9888
9889 \begin_layout Standard
9890 i
9891 \end_layout
9892
9893 \end_inset
9894 </cell>
9895 </row>
9896 </lyxtabular>
9897
9898 \end_inset
9899
9900
9901 \end_layout
9902
9903 \end_inset
9904
9905
9906 \end_layout
9907
9908 \begin_layout Standard
9909 Adjusting a fixed width for a column, enables to enter text as a paragraph
9910  with multiple lines and hyphenations.
9911 \end_layout
9912
9913 \begin_layout Standard
9914 To produce Table\InsetSpace ~
9915
9916 \begin_inset LatexCommand ref
9917 reference "tab:Table-with-multiple"
9918
9919 \end_inset
9920
9921 , create a 3×3 table, mark the first cell and right-click on it.
9922  In the appearing table dialog we set a cell width of 2.5\InsetSpace \thinspace{}
9923 cm and choose centered
9924  for the vertical and horizontal alignment.
9925  As our text is smaller than than 2.5\InsetSpace \thinspace{}
9926 cm, only one line will appear.
9927  To get two lines, we add a line break with the command
9928 \end_layout
9929
9930 \begin_layout Standard
9931
9932 \series bold
9933
9934 \backslash
9935 linebreak
9936 \end_layout
9937
9938 \begin_layout Standard
9939 in ERT.
9940  If the text is wider than the set cell width it will automatically be broken
9941  to several lines.
9942 \end_layout
9943
9944 \begin_layout Standard
9945 To center the text inside the two other cells of the first row vertically,
9946  right-click in the second cell, adjust a fixed width of 0.5\InsetSpace \thinspace{}
9947 cm and choose
9948  centered alignments.
9949  Then do the same for the third cell of the row.
9950 \end_layout
9951
9952 \begin_layout Standard
9953 If you have a long word in a cell with a fixed width, it cannot be hyphenated
9954  by LaTeX if it is the first entry.
9955  Therefore you need to insert something, to make the word not being the
9956  first entry: Add the command
9957 \end_layout
9958
9959 \begin_layout Standard
9960
9961 \series bold
9962
9963 \backslash
9964 hspace{0pt}
9965 \end_layout
9966
9967 \begin_layout Standard
9968 in ERT before the word.
9969  As the space is zero, it doesn't change the output.
9970  Table\InsetSpace ~
9971
9972 \begin_inset LatexCommand ref
9973 reference "tab:Table-with-and"
9974
9975 \end_inset
9976
9977  shows the effect.
9978 \end_layout
9979
9980 \begin_layout Standard
9981 \begin_inset Float table
9982 wide false
9983 sideways false
9984 status open
9985
9986 \begin_layout Standard
9987 \begin_inset Caption
9988
9989 \begin_layout Standard
9990 \begin_inset LatexCommand label
9991 name "tab:Table-with-and"
9992
9993 \end_inset
9994
9995 Table with and without hyphenation
9996 \end_layout
9997
9998 \end_inset
9999
10000
10001 \end_layout
10002
10003 \begin_layout Standard
10004
10005 \hfill
10006
10007 \begin_inset Tabular
10008 <lyxtabular version="3" rows="3" columns="3">
10009 <features>
10010 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10011 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
10012 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
10013 <row topline="true">
10014 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10015 \begin_inset Text
10016
10017 \begin_layout Standard
10018 verylongtablecellword
10019 \end_layout
10020
10021 \end_inset
10022 </cell>
10023 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10024 \begin_inset Text
10025
10026 \begin_layout Standard
10027 b
10028 \end_layout
10029
10030 \end_inset
10031 </cell>
10032 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10033 \begin_inset Text
10034
10035 \begin_layout Standard
10036 c
10037 \end_layout
10038
10039 \end_inset
10040 </cell>
10041 </row>
10042 <row topline="true">
10043 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10044 \begin_inset Text
10045
10046 \begin_layout Standard
10047 d
10048 \end_layout
10049
10050 \end_inset
10051 </cell>
10052 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10053 \begin_inset Text
10054
10055 \begin_layout Standard
10056 e
10057 \end_layout
10058
10059 \end_inset
10060 </cell>
10061 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10062 \begin_inset Text
10063
10064 \begin_layout Standard
10065 f
10066 \end_layout
10067
10068 \end_inset
10069 </cell>
10070 </row>
10071 <row topline="true" bottomline="true">
10072 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10073 \begin_inset Text
10074
10075 \begin_layout Standard
10076 g
10077 \end_layout
10078
10079 \end_inset
10080 </cell>
10081 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10082 \begin_inset Text
10083
10084 \begin_layout Standard
10085 h
10086 \end_layout
10087
10088 \end_inset
10089 </cell>
10090 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10091 \begin_inset Text
10092
10093 \begin_layout Standard
10094 i
10095 \end_layout
10096
10097 \end_inset
10098 </cell>
10099 </row>
10100 </lyxtabular>
10101
10102 \end_inset
10103
10104
10105 \hfill
10106
10107 \begin_inset Tabular
10108 <lyxtabular version="3" rows="3" columns="3">
10109 <features>
10110 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10111 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
10112 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
10113 <row topline="true">
10114 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10115 \begin_inset Text
10116
10117 \begin_layout Standard
10118 \begin_inset ERT
10119 status collapsed
10120
10121 \begin_layout Standard
10122
10123
10124 \backslash
10125 hspace{0pt}
10126 \end_layout
10127
10128 \end_inset
10129
10130 verylongtablecellword
10131 \end_layout
10132
10133 \end_inset
10134 </cell>
10135 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10136 \begin_inset Text
10137
10138 \begin_layout Standard
10139 b
10140 \end_layout
10141
10142 \end_inset
10143 </cell>
10144 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10145 \begin_inset Text
10146
10147 \begin_layout Standard
10148 c
10149 \end_layout
10150
10151 \end_inset
10152 </cell>
10153 </row>
10154 <row topline="true">
10155 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10156 \begin_inset Text
10157
10158 \begin_layout Standard
10159 d
10160 \end_layout
10161
10162 \end_inset
10163 </cell>
10164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10165 \begin_inset Text
10166
10167 \begin_layout Standard
10168 e
10169 \end_layout
10170
10171 \end_inset
10172 </cell>
10173 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10174 \begin_inset Text
10175
10176 \begin_layout Standard
10177 f
10178 \end_layout
10179
10180 \end_inset
10181 </cell>
10182 </row>
10183 <row topline="true" bottomline="true">
10184 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10185 \begin_inset Text
10186
10187 \begin_layout Standard
10188 g
10189 \end_layout
10190
10191 \end_inset
10192 </cell>
10193 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10194 \begin_inset Text
10195
10196 \begin_layout Standard
10197 h
10198 \end_layout
10199
10200 \end_inset
10201 </cell>
10202 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10203 \begin_inset Text
10204
10205 \begin_layout Standard
10206 i
10207 \end_layout
10208
10209 \end_inset
10210 </cell>
10211 </row>
10212 </lyxtabular>
10213
10214 \end_inset
10215
10216
10217 \hfill
10218
10219 \end_layout
10220
10221 \end_inset
10222
10223
10224 \end_layout
10225
10226 \begin_layout Standard
10227
10228 \newpage
10229
10230 \end_layout
10231
10232 \begin_layout Subsection
10233 Multicolumns
10234 \begin_inset LatexCommand label
10235 name "sub:Multicolumns"
10236
10237 \end_inset
10238
10239
10240 \begin_inset LatexCommand index
10241 name "Multicolumns"
10242
10243 \end_inset
10244
10245
10246 \begin_inset LatexCommand index
10247 name "Table ! Multicolumns"
10248
10249 \end_inset
10250
10251
10252 \end_layout
10253
10254 \begin_layout Subsubsection
10255 Multicolumn Basics
10256 \end_layout
10257
10258 \begin_layout Standard
10259 To span a cell over multiple columns, mark as much cells within a line that
10260  should be one spanned cell and use either the table-toolbar button 
10261 \begin_inset Graphics
10262         filename ../images/tabular-feature_multicolumn.xpm
10263         scale 85
10264
10265 \end_inset
10266
10267 , or the menu 
10268 \family sans
10269 Edit\SpecialChar \menuseparator
10270 Table\SpecialChar \menuseparator
10271 Multicolumn
10272 \family default
10273 , or right click on the marked cells and choose multicolumn in the appearing
10274  table dialog under the tab 
10275 \family sans
10276 Table Settings
10277 \family default
10278 .
10279 \end_layout
10280
10281 \begin_layout Standard
10282 Multicolumns have there own cell settings.
10283  That means changing cell borders, cell alignment, and the width only affects
10284  the multicolumn.
10285  Here is an example table with a multicolumn cell in the first row and one
10286  in the last row without the upper border:
10287 \end_layout
10288
10289 \begin_layout Standard
10290 \align center
10291 \begin_inset Tabular
10292 <lyxtabular version="3" rows="3" columns="4">
10293 <features firstHeadTopDL="true" firstHeadBottomDL="true">
10294 <column alignment="center" valignment="top" leftline="true" width="0pt">
10295 <column alignment="center" valignment="middle" leftline="true" width="0">
10296 <column alignment="center" valignment="top" leftline="true" width="0in">
10297 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
10298 <row topline="true" bottomline="true">
10299 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10300 \begin_inset Text
10301
10302 \begin_layout Standard
10303 abc
10304 \end_layout
10305
10306 \end_inset
10307 </cell>
10308 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
10309 \begin_inset Text
10310
10311 \begin_layout Standard
10312 def
10313 \lang ngerman
10314  
10315 \lang english
10316 ghi
10317 \end_layout
10318
10319 \end_inset
10320 </cell>
10321 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10322 \begin_inset Text
10323
10324 \begin_layout Standard
10325
10326 \end_layout
10327
10328 \end_inset
10329 </cell>
10330 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10331 \begin_inset Text
10332
10333 \begin_layout Standard
10334 jkl
10335 \end_layout
10336
10337 \end_inset
10338 </cell>
10339 </row>
10340 <row topline="true">
10341 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10342 \begin_inset Text
10343
10344 \begin_layout Standard
10345
10346 \family roman
10347 \series medium
10348 \shape up
10349 \size normal
10350 \emph off
10351 \bar no
10352 \noun off
10353 \color none
10354 A
10355 \end_layout
10356
10357 \end_inset
10358 </cell>
10359 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10360 \begin_inset Text
10361
10362 \begin_layout Standard
10363 B
10364 \end_layout
10365
10366 \end_inset
10367 </cell>
10368 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10369 \begin_inset Text
10370
10371 \begin_layout Standard
10372 C
10373 \end_layout
10374
10375 \end_inset
10376 </cell>
10377 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10378 \begin_inset Text
10379
10380 \begin_layout Standard
10381 D
10382 \end_layout
10383
10384 \end_inset
10385 </cell>
10386 </row>
10387 <row topline="true" bottomline="true">
10388 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10389 \begin_inset Text
10390
10391 \begin_layout Standard
10392 1
10393 \end_layout
10394
10395 \end_inset
10396 </cell>
10397 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10398 \begin_inset Text
10399
10400 \begin_layout Standard
10401 2
10402 \end_layout
10403
10404 \end_inset
10405 </cell>
10406 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10407 \begin_inset Text
10408
10409 \begin_layout Standard
10410 3
10411 \end_layout
10412
10413 \end_inset
10414 </cell>
10415 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10416 \begin_inset Text
10417
10418 \begin_layout Standard
10419 4
10420 \end_layout
10421
10422 \end_inset
10423 </cell>
10424 </row>
10425 </lyxtabular>
10426
10427 \end_inset
10428
10429
10430 \end_layout
10431
10432 \begin_layout Subsubsection
10433 Multicolumn Calculations
10434 \begin_inset LatexCommand label
10435 name "sub:Multicolumn-Calculations"
10436
10437 \end_inset
10438
10439
10440 \begin_inset LatexCommand index
10441 name "Multicolumns ! Calculations"
10442
10443 \end_inset
10444
10445
10446 \end_layout
10447
10448 \begin_layout Standard
10449 LyX supports multicolumns directly, but we have to take notice of the cell
10450  width of the columns spanned by the multicolumn cell.
10451 \end_layout
10452
10453 \begin_layout Standard
10454 \begin_inset Float table
10455 wide false
10456 sideways false
10457 status open
10458
10459 \begin_layout Standard
10460 \begin_inset Caption
10461
10462 \begin_layout Standard
10463 \begin_inset LatexCommand label
10464 name "tab:Table-with-centered"
10465
10466 \end_inset
10467
10468 Table with centered multicolumn text above two columns that have exactly
10469  half the width of the multicolumn cell
10470 \begin_inset OptArg
10471 status collapsed
10472
10473 \begin_layout Standard
10474 Perfect multicolumn table
10475 \end_layout
10476
10477 \end_inset
10478
10479
10480 \end_layout
10481
10482 \end_inset
10483
10484
10485 \end_layout
10486
10487 \begin_layout Standard
10488 \align center
10489 \begin_inset Tabular
10490 <lyxtabular version="3" rows="3" columns="3">
10491 <features>
10492 <column alignment="center" valignment="middle" leftline="true" width="0" special="|>{\centering}m{1.25cm-6.2pt}">
10493 <column alignment="center" valignment="middle" leftline="true" width="0">
10494 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10495 <row topline="true">
10496 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special="|>{\centering}m{2.5cm}|">
10497 \begin_inset Text
10498
10499 \begin_layout Standard
10500 multiple lines multicolumn
10501 \end_layout
10502
10503 \end_inset
10504 </cell>
10505 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10506 \begin_inset Text
10507
10508 \begin_layout Standard
10509
10510 \end_layout
10511
10512 \end_inset
10513 </cell>
10514 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10515 \begin_inset Text
10516
10517 \begin_layout Standard
10518 c
10519 \end_layout
10520
10521 \end_inset
10522 </cell>
10523 </row>
10524 <row topline="true">
10525 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10526 \begin_inset Text
10527
10528 \begin_layout Standard
10529 d
10530 \end_layout
10531
10532 \end_inset
10533 </cell>
10534 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10535 \begin_inset Text
10536
10537 \begin_layout Standard
10538 e
10539 \end_layout
10540
10541 \end_inset
10542 </cell>
10543 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10544 \begin_inset Text
10545
10546 \begin_layout Standard
10547 f
10548 \end_layout
10549
10550 \end_inset
10551 </cell>
10552 </row>
10553 <row topline="true" bottomline="true">
10554 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10555 \begin_inset Text
10556
10557 \begin_layout Standard
10558 g
10559 \end_layout
10560
10561 \end_inset
10562 </cell>
10563 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10564 \begin_inset Text
10565
10566 \begin_layout Standard
10567 h
10568 \end_layout
10569
10570 \end_inset
10571 </cell>
10572 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10573 \begin_inset Text
10574
10575 \begin_layout Standard
10576 i
10577 \end_layout
10578
10579 \end_inset
10580 </cell>
10581 </row>
10582 </lyxtabular>
10583
10584 \end_inset
10585
10586
10587 \end_layout
10588
10589 \end_inset
10590
10591
10592 \end_layout
10593
10594 \begin_layout Standard
10595 To create for example Table\InsetSpace ~
10596
10597 \begin_inset LatexCommand ref
10598 reference "tab:Table-with-centered"
10599
10600 \end_inset
10601
10602 , mark the first two cells in the first row a 3×3 table and right-click
10603  on them.
10604  Now choose for this cell 
10605 \emph on
10606 multicolumn
10607 \emph default
10608
10609 \emph on
10610 centered alignment
10611 \emph default
10612  and a width of 2.5\InsetSpace \thinspace{}
10613 cm in the table dialog.
10614  The spanned columns should have exactly half the width of the multicolumn
10615  cell, so that you would adjust a width of 1.25\InsetSpace \thinspace{}
10616 cm for the first column.
10617  The second column has then automatically a width of 1.25\InsetSpace \thinspace{}
10618 cm (multicolumn
10619  width - width of first column).
10620  This was done for Table\InsetSpace ~
10621
10622 \begin_inset LatexCommand ref
10623 reference "tab:Table-without-half"
10624
10625 \end_inset
10626
10627 .
10628 \end_layout
10629
10630 \begin_layout Standard
10631 \begin_inset Float table
10632 wide false
10633 sideways false
10634 status open
10635
10636 \begin_layout Standard
10637 \begin_inset Caption
10638
10639 \begin_layout Standard
10640 \begin_inset LatexCommand label
10641 name "tab:Table-without-half"
10642
10643 \end_inset
10644
10645 Table where the spanned table columns have not exactly half the width of
10646  the multicolumn cell
10647 \begin_inset OptArg
10648 status collapsed
10649
10650 \begin_layout Standard
10651 Imperfect multicolumn table
10652 \end_layout
10653
10654 \end_inset
10655
10656
10657 \end_layout
10658
10659 \end_inset
10660
10661
10662 \end_layout
10663
10664 \begin_layout Standard
10665 \align center
10666 \begin_inset Tabular
10667 <lyxtabular version="3" rows="3" columns="3">
10668 <features>
10669 <column alignment="center" valignment="top" leftline="true" width="1.25cm">
10670 <column alignment="center" valignment="top" leftline="true" width="0">
10671 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10672 <row topline="true" bottomline="true">
10673 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
10674 \begin_inset Text
10675
10676 \begin_layout Standard
10677 multiple lines multicolumn
10678 \end_layout
10679
10680 \end_inset
10681 </cell>
10682 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10683 \begin_inset Text
10684
10685 \begin_layout Standard
10686
10687 \end_layout
10688
10689 \end_inset
10690 </cell>
10691 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10692 \begin_inset Text
10693
10694 \begin_layout Standard
10695 c
10696 \end_layout
10697
10698 \end_inset
10699 </cell>
10700 </row>
10701 <row topline="true">
10702 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10703 \begin_inset Text
10704
10705 \begin_layout Standard
10706 d
10707 \end_layout
10708
10709 \end_inset
10710 </cell>
10711 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10712 \begin_inset Text
10713
10714 \begin_layout Standard
10715 e
10716 \end_layout
10717
10718 \end_inset
10719 </cell>
10720 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10721 \begin_inset Text
10722
10723 \begin_layout Standard
10724 f
10725 \end_layout
10726
10727 \end_inset
10728 </cell>
10729 </row>
10730 <row topline="true" bottomline="true">
10731 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10732 \begin_inset Text
10733
10734 \begin_layout Standard
10735 g
10736 \end_layout
10737
10738 \end_inset
10739 </cell>
10740 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10741 \begin_inset Text
10742
10743 \begin_layout Standard
10744 h
10745 \end_layout
10746
10747 \end_inset
10748 </cell>
10749 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10750 \begin_inset Text
10751
10752 \begin_layout Standard
10753 i
10754 \end_layout
10755
10756 \end_inset
10757 </cell>
10758 </row>
10759 </lyxtabular>
10760
10761 \end_inset
10762
10763
10764 \end_layout
10765
10766 \end_inset
10767
10768
10769 \end_layout
10770
10771 \begin_layout Standard
10772 You can see that the first column has not the half width of the multicolumn
10773  cell, it is a bit bigger.
10774  The reason is that the given width of a cell 
10775 \begin_inset Formula $W_{g}$
10776 \end_inset
10777
10778  is not its total width 
10779 \begin_inset Formula $W_{\mathrm{tot}}$
10780 \end_inset
10781
10782  because a cell is always a bit larger than its given width.
10783  Appendix\InsetSpace ~
10784
10785 \begin_inset LatexCommand eqref
10786 reference "cha:Explanation-of-Equation"
10787
10788 \end_inset
10789
10790  explains it in detail.
10791 \end_layout
10792
10793 \begin_layout Standard
10794 The needed given width 
10795 \begin_inset Formula $W_{g\, n}$
10796 \end_inset
10797
10798  when 
10799 \emph on
10800 n
10801 \emph default
10802  columns are spanned columns can be calculated, so that each column has
10803  a total width of 
10804 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
10805 \end_inset
10806
10807 :
10808 \begin_inset Formula \begin{equation}
10809 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)·(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
10810
10811 \end_inset
10812
10813
10814 \end_layout
10815
10816 \begin_layout Standard
10817 In our case we have 
10818 \begin_inset Formula $n=2$
10819 \end_inset
10820
10821
10822 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
10823 \end_inset
10824
10825 cm and the default values for the lengths, so that equation 
10826 \begin_inset LatexCommand ref
10827 reference "eq:Wgn"
10828
10829 \end_inset
10830
10831  becomes
10832 \begin_inset Formula \begin{equation}
10833 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
10834
10835 \end_inset
10836
10837
10838 \end_layout
10839
10840 \begin_layout Standard
10841 To enable calculations in LaTeX, the LaTeX-package 
10842 \series bold
10843 calc
10844 \series default
10845  must be loaded with the document preamble line
10846 \begin_inset LatexCommand index
10847 name "LaTeX-packages ! calc"
10848
10849 \end_inset
10850
10851
10852 \end_layout
10853
10854 \begin_layout Standard
10855
10856 \series bold
10857
10858 \backslash
10859 usepackage{calc}
10860 \end_layout
10861
10862 \begin_layout Standard
10863 LyX does not allow to calculate lengths in the width-field of the table
10864  dialog.
10865  Therefore you have to format the column by inserting a LaTeX-argument in
10866  the dialog.
10867  Here is an overview about the arguments:
10868 \end_layout
10869
10870 \begin_layout Itemize
10871
10872 \series bold
10873 p{width}
10874 \series default
10875  creates cell with a fixed width, its text is vertically top-aligned
10876 \end_layout
10877
10878 \begin_layout Itemize
10879
10880 \series bold
10881 m{width}
10882 \series default
10883  creates cell with a fixed width, its text is vertically centered
10884 \end_layout
10885
10886 \begin_layout Itemize
10887
10888 \series bold
10889 b{width}
10890 \series default
10891  creates cell with a fixed width, its text is vertically bottom-aligned
10892 \end_layout
10893
10894 \begin_layout Standard
10895 By entering a LaTeX-argument, all cell properties set in the table dialog
10896  are overwritten.
10897  
10898 \begin_inset Note Greyedout
10899 status open
10900
10901 \begin_layout Standard
10902
10903 \series bold
10904 Note:
10905 \series default
10906  Due to a bug, LyX shows the overwritten properties anyway.
10907 \end_layout
10908
10909 \end_inset
10910
10911  As the text should be horizontally centered, the command 
10912 \series bold
10913
10914 \backslash
10915 centering
10916 \series default
10917  is added.
10918  You can now enter the following LaTeX-argument for the first spanned column:
10919 \end_layout
10920
10921 \begin_layout Standard
10922
10923 \series bold
10924 |>{
10925 \backslash
10926 centering}m{1.25cm-6.2pt}
10927 \end_layout
10928
10929 \begin_layout Standard
10930 The bar 
10931 \begin_inset Quotes eld
10932 \end_inset
10933
10934
10935 \series bold
10936 |
10937 \series default
10938
10939 \begin_inset Quotes erd
10940 \end_inset
10941
10942  at the beginning draws the border line and the command 
10943 \series bold
10944 >{ }
10945 \series default
10946  means, that the commands inside the braces are applied before the cell
10947  is created.
10948 \end_layout
10949
10950 \begin_layout Standard
10951 Although we have chosen centered alignment for the text of the multicolumn
10952  cell, it is still left aligned.
10953  This is because LyX only applies the alignment to single columns.
10954  So we have to use for the multicolumn the LaTeX-argument
10955 \end_layout
10956
10957 \begin_layout Standard
10958
10959 \series bold
10960 |>{
10961 \backslash
10962 centering}m{2.5cm}|
10963 \end_layout
10964
10965 \begin_layout Subsection
10966 Multirows
10967 \begin_inset LatexCommand index
10968 name "Multirows"
10969
10970 \end_inset
10971
10972
10973 \begin_inset LatexCommand index
10974 name "Table ! Multirows"
10975
10976 \end_inset
10977
10978
10979 \begin_inset LatexCommand index
10980 name "LaTeX-packages ! multirow"
10981
10982 \end_inset
10983
10984
10985 \end_layout
10986
10987 \begin_layout Standard
10988 In contrary to multicolumns multirows are not yet supported by LyX so a
10989  bit of ERT needs to be used.
10990  To use multirows load the LaTeX-package 
10991 \series bold
10992 multirow
10993 \series default
10994  in your document preamble with the command
10995 \end_layout
10996
10997 \begin_layout Standard
10998
10999 \series bold
11000
11001 \backslash
11002 usepackage{multirow}
11003 \end_layout
11004
11005 \begin_layout Standard
11006 Multirows are created with the command
11007 \end_layout
11008
11009 \begin_layout Standard
11010
11011 \series bold
11012
11013 \backslash
11014 multirow{number of rows}{cell width}{cell entry}
11015 \end_layout
11016
11017 \begin_layout Standard
11018 To create the following table:
11019 \end_layout
11020
11021 \begin_layout Standard
11022 \align center
11023 \begin_inset ERT
11024 status collapsed
11025
11026 \begin_layout Standard
11027
11028
11029 \backslash
11030 renewcommand{
11031 \backslash
11032 multirowsetup}{
11033 \backslash
11034 centering}
11035 \end_layout
11036
11037 \end_inset
11038
11039
11040 \begin_inset Tabular
11041 <lyxtabular version="3" rows="3" columns="3">
11042 <features>
11043 <column alignment="center" valignment="top" leftline="true" width="0">
11044 <column alignment="center" valignment="top" leftline="true" width="0">
11045 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
11046 <row topline="true">
11047 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11048 \begin_inset Text
11049
11050 \begin_layout Standard
11051 a
11052 \end_layout
11053
11054 \end_inset
11055 </cell>
11056 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11057 \begin_inset Text
11058
11059 \begin_layout Standard
11060 b
11061 \end_layout
11062
11063 \end_inset
11064 </cell>
11065 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11066 \begin_inset Text
11067
11068 \begin_layout Standard
11069 c
11070 \end_layout
11071
11072 \end_inset
11073 </cell>
11074 </row>
11075 <row topline="true">
11076 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11077 \begin_inset Text
11078
11079 \begin_layout Standard
11080 \begin_inset ERT
11081 status collapsed
11082
11083 \begin_layout Standard
11084
11085
11086 \backslash
11087 multirow{2}{2.5cm}{
11088 \end_layout
11089
11090 \end_inset
11091
11092 multirow entry
11093 \begin_inset ERT
11094 status collapsed
11095
11096 \begin_layout Standard
11097
11098 }
11099 \end_layout
11100
11101 \end_inset
11102
11103
11104 \end_layout
11105
11106 \end_inset
11107 </cell>
11108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11109 \begin_inset Text
11110
11111 \begin_layout Standard
11112 e
11113 \end_layout
11114
11115 \end_inset
11116 </cell>
11117 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11118 \begin_inset Text
11119
11120 \begin_layout Standard
11121 f
11122 \end_layout
11123
11124 \end_inset
11125 </cell>
11126 </row>
11127 <row topline="true" bottomline="true">
11128 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11129 \begin_inset Text
11130
11131 \begin_layout Standard
11132
11133 \end_layout
11134
11135 \end_inset
11136 </cell>
11137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11138 \begin_inset Text
11139
11140 \begin_layout Standard
11141 h
11142 \end_layout
11143
11144 \end_inset
11145 </cell>
11146 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11147 \begin_inset Text
11148
11149 \begin_layout Standard
11150 i
11151 \end_layout
11152
11153 \end_inset
11154 </cell>
11155 </row>
11156 </lyxtabular>
11157
11158 \end_inset
11159
11160
11161 \begin_inset ERT
11162 status collapsed
11163
11164 \begin_layout Standard
11165
11166
11167 \backslash
11168 renewcommand{
11169 \backslash
11170 multirowsetup}{
11171 \backslash
11172 raggedright}
11173 \end_layout
11174
11175 \end_inset
11176
11177
11178 \end_layout
11179
11180 \begin_layout Standard
11181 create a 3×3 table.
11182  To get rid of the line above the last cell in the first column, the cell
11183  is marked as multicolumn and the upper border is unset.
11184  The multirow is now created in the second row of the first column by inserting
11185  there the command
11186 \end_layout
11187
11188 \begin_layout Standard
11189
11190 \series bold
11191
11192 \backslash
11193 multirow{2}{2.5cm}{
11194 \end_layout
11195
11196 \begin_layout Standard
11197 as ERT.
11198  According to the command parameters the multirow spans now two rows and
11199  has a width of 2.5\InsetSpace \thinspace{}
11200 cm.
11201  The content of the multirow cell follows outside the ERT box and the command
11202  is finished with a right brace 
11203 \series bold
11204 }
11205 \series default
11206  in another ERT-box behind the text.
11207 \end_layout
11208
11209 \begin_layout Standard
11210
11211 \series bold
11212
11213 \backslash
11214 multirow
11215 \series default
11216  left-aligns its content by default.
11217  To override the default, renew the command 
11218 \series bold
11219
11220 \backslash
11221 multirowsetup
11222 \series default
11223  with the command
11224 \end_layout
11225
11226 \begin_layout Standard
11227
11228 \series bold
11229
11230 \backslash
11231 renewcommand{
11232 \backslash
11233 multirowsetup}{
11234 \backslash
11235 centering}
11236 \end_layout
11237
11238 \begin_layout Standard
11239 in ERT in the document preamble.
11240  Then all entries of multirow cells in the document are centered.
11241  If centering is only needed for several tables, you can renew the command
11242  in an ERT box just before the table instead of the preamble.
11243  If the text should be right-aligned, replace 
11244 \series bold
11245
11246 \backslash
11247 centering
11248 \series default
11249  by 
11250 \series bold
11251
11252 \backslash
11253 raggedleft
11254 \series default
11255 .
11256  To return to left-alignment 
11257 \series bold
11258
11259 \backslash
11260 raggedright
11261 \series default
11262  is used.
11263 \end_layout
11264
11265 \begin_layout Section
11266 Formal Tables
11267 \begin_inset LatexCommand label
11268 name "sec:Formal-Tables"
11269
11270 \end_inset
11271
11272
11273 \begin_inset LatexCommand index
11274 name "Table ! Formal"
11275
11276 \end_inset
11277
11278
11279 \end_layout
11280
11281 \begin_layout Standard
11282 Tables are often typeset in books similar to Table\InsetSpace ~
11283
11284 \begin_inset LatexCommand ref
11285 reference "tab:Example-booktabs-table"
11286
11287 \end_inset
11288
11289 .
11290  This kind of tables is called 
11291 \begin_inset Quotes eld
11292 \end_inset
11293
11294
11295 \emph on
11296 formal
11297 \emph default
11298
11299 \begin_inset Quotes erd
11300 \end_inset
11301
11302 .
11303  To make a table a formal table use the option 
11304 \family sans
11305 Formal
11306 \family default
11307  in the 
11308 \family sans
11309 Borders
11310 \family default
11311  tab of the table dialog.
11312 \end_layout
11313
11314 \begin_layout Standard
11315 \begin_inset Float table
11316 placement h
11317 wide false
11318 sideways false
11319 status open
11320
11321 \begin_layout Standard
11322 \begin_inset Caption
11323
11324 \begin_layout Standard
11325 \begin_inset LatexCommand label
11326 name "tab:Example-booktabs-table"
11327
11328 \end_inset
11329
11330 Example booktabs-table
11331 \end_layout
11332
11333 \end_inset
11334
11335
11336 \end_layout
11337
11338 \begin_layout Standard
11339 \align center
11340 \begin_inset Tabular
11341 <lyxtabular version="3" rows="8" columns="4">
11342 <features booktabs="true">
11343 <column alignment="center" valignment="top" rightline="true" width="0">
11344 <column alignment="center" valignment="top" width="0">
11345 <column alignment="center" valignment="top" width="0">
11346 <column alignment="center" valignment="top" width="0">
11347 <row topline="true">
11348 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11349 \begin_inset Text
11350
11351 \begin_layout Standard
11352 System
11353 \end_layout
11354
11355 \end_inset
11356 </cell>
11357 <cell alignment="center" valignment="top" topline="true" usebox="none">
11358 \begin_inset Text
11359
11360 \begin_layout Standard
11361 Medipix
11362 \begin_inset Formula $\,$
11363 \end_inset
11364
11365 1
11366 \end_layout
11367
11368 \end_inset
11369 </cell>
11370 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
11371 \begin_inset Text
11372
11373 \begin_layout Standard
11374 Medipix
11375 \begin_inset Formula $\,$
11376 \end_inset
11377
11378 2
11379 \end_layout
11380
11381 \end_inset
11382 </cell>
11383 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11384 \begin_inset Text
11385
11386 \begin_layout Standard
11387
11388 \end_layout
11389
11390 \end_inset
11391 </cell>
11392 </row>
11393 <row>
11394 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11395 \begin_inset Text
11396
11397 \begin_layout Standard
11398 \begin_inset ERT
11399 status collapsed
11400
11401 \begin_layout Standard
11402
11403
11404 \backslash
11405 cmidrule(r){2-2}
11406 \end_layout
11407
11408 \end_inset
11409
11410
11411 \begin_inset ERT
11412 status collapsed
11413
11414 \begin_layout Standard
11415
11416
11417 \backslash
11418 cmidrule(l){3-4}
11419 \end_layout
11420
11421 \end_inset
11422
11423 Detector thickness [µm]
11424 \end_layout
11425
11426 \end_inset
11427 </cell>
11428 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11429 \begin_inset Text
11430
11431 \begin_layout Standard
11432 300
11433 \end_layout
11434
11435 \end_inset
11436 </cell>
11437 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11438 \begin_inset Text
11439
11440 \begin_layout Standard
11441 300
11442 \end_layout
11443
11444 \end_inset
11445 </cell>
11446 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11447 \begin_inset Text
11448
11449 \begin_layout Standard
11450 700
11451 \end_layout
11452
11453 \end_inset
11454 </cell>
11455 </row>
11456 <row topline="true">
11457 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11458 \begin_inset Text
11459
11460 \begin_layout Standard
11461 Edge angle [°]
11462 \end_layout
11463
11464 \end_inset
11465 </cell>
11466 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11467 \begin_inset Text
11468
11469 \begin_layout Standard
11470 3.55
11471 \end_layout
11472
11473 \end_inset
11474 </cell>
11475 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11476 \begin_inset Text
11477
11478 \begin_layout Standard
11479 2.71
11480 \end_layout
11481
11482 \end_inset
11483 </cell>
11484 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11485 \begin_inset Text
11486
11487 \begin_layout Standard
11488 7.99
11489 \end_layout
11490
11491 \end_inset
11492 </cell>
11493 </row>
11494 <row topspace="default">
11495 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11496 \begin_inset Text
11497
11498 \begin_layout Standard
11499 Spatial resolution [µm]
11500 \end_layout
11501
11502 \end_inset
11503 </cell>
11504 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11505 \begin_inset Text
11506
11507 \begin_layout Standard
11508 4.26
11509 \end_layout
11510
11511 \end_inset
11512 </cell>
11513 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11514 \begin_inset Text
11515
11516 \begin_layout Standard
11517 10.17
11518 \end_layout
11519
11520 \end_inset
11521 </cell>
11522 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11523 \begin_inset Text
11524
11525 \begin_layout Standard
11526 10.56
11527 \end_layout
11528
11529 \end_inset
11530 </cell>
11531 </row>
11532 <row topspace="default">
11533 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11534 \begin_inset Text
11535
11536 \begin_layout Standard
11537 MTF at 
11538 \begin_inset Formula $f_{\mathrm{max}}$
11539 \end_inset
11540
11541
11542 \end_layout
11543
11544 \end_inset
11545 </cell>
11546 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11547 \begin_inset Text
11548
11549 \begin_layout Standard
11550 0.53
11551 \end_layout
11552
11553 \end_inset
11554 </cell>
11555 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11556 \begin_inset Text
11557
11558 \begin_layout Standard
11559 0.37
11560 \end_layout
11561
11562 \end_inset
11563 </cell>
11564 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11565 \begin_inset Text
11566
11567 \begin_layout Standard
11568 0.39
11569 \end_layout
11570
11571 \end_inset
11572 </cell>
11573 </row>
11574 <row topspace="default">
11575 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11576 \begin_inset Text
11577
11578 \begin_layout Standard
11579 \begin_inset ERT
11580 status collapsed
11581
11582 \begin_layout Standard
11583
11584
11585 \backslash
11586 cmidrule(l{10pt}){1-1}
11587 \end_layout
11588
11589 \end_inset
11590
11591 LSF-spatial resolution
11592 \end_layout
11593
11594 \end_inset
11595 </cell>
11596 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11597 \begin_inset Text
11598
11599 \begin_layout Standard
11600
11601 \end_layout
11602
11603 \end_inset
11604 </cell>
11605 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11606 \begin_inset Text
11607
11608 \begin_layout Standard
11609
11610 \end_layout
11611
11612 \end_inset
11613 </cell>
11614 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11615 \begin_inset Text
11616
11617 \begin_layout Standard
11618
11619 \end_layout
11620
11621 \end_inset
11622 </cell>
11623 </row>
11624 <row>
11625 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11626 \begin_inset Text
11627
11628 \begin_layout Standard
11629 in µm
11630 \end_layout
11631
11632 \end_inset
11633 </cell>
11634 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11635 \begin_inset Text
11636
11637 \begin_layout Standard
11638 129.7
11639 \end_layout
11640
11641 \end_inset
11642 </cell>
11643 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11644 \begin_inset Text
11645
11646 \begin_layout Standard
11647 52.75
11648 \end_layout
11649
11650 \end_inset
11651 </cell>
11652 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11653 \begin_inset Text
11654
11655 \begin_layout Standard
11656 50.78
11657 \end_layout
11658
11659 \end_inset
11660 </cell>
11661 </row>
11662 <row bottomline="true">
11663 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11664 \begin_inset Text
11665
11666 \begin_layout Standard
11667 in % of pixel size
11668 \end_layout
11669
11670 \end_inset
11671 </cell>
11672 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11673 \begin_inset Text
11674
11675 \begin_layout Standard
11676 76.3
11677 \end_layout
11678
11679 \end_inset
11680 </cell>
11681 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11682 \begin_inset Text
11683
11684 \begin_layout Standard
11685 95.9
11686 \end_layout
11687
11688 \end_inset
11689 </cell>
11690 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11691 \begin_inset Text
11692
11693 \begin_layout Standard
11694 92.3
11695 \end_layout
11696
11697 \end_inset
11698 </cell>
11699 </row>
11700 </lyxtabular>
11701
11702 \end_inset
11703
11704
11705 \end_layout
11706
11707 \end_inset
11708
11709
11710 \end_layout
11711
11712 \begin_layout Standard
11713 Spaces to table rows can be added using the 
11714 \family sans
11715 Borders
11716 \family default
11717  tab of the table dialog as described in section\InsetSpace ~
11718
11719 \begin_inset LatexCommand ref
11720 reference "sub:Row-Spacing"
11721
11722 \end_inset
11723
11724 .
11725 \end_layout
11726
11727 \begin_layout Standard
11728 In contrary to normal tables, formal tables have no vertical table lines.
11729  The horizontal table lines can be set like for normal tables but they appear
11730  with different width in the output:
11731 \newline
11732 The first and the last table line have
11733  a default width of 0.08\InsetSpace \thinspace{}
11734 em while the other lines have a default width of
11735  0.05\InsetSpace \thinspace{}
11736 em.
11737 \end_layout
11738
11739 \begin_layout Standard
11740 The default widths can be changed with the following preamble lines
11741 \end_layout
11742
11743 \begin_layout Standard
11744
11745 \series bold
11746
11747 \backslash
11748 let
11749 \backslash
11750 mytoprule
11751 \backslash
11752 toprule
11753 \newline
11754
11755 \backslash
11756 renewcommand{
11757 \backslash
11758 toprule}{
11759 \backslash
11760 mytoprule[width]}
11761 \end_layout
11762
11763 \begin_layout Standard
11764 This example is for the first line, the so called toprule.
11765  If you want to change the width for the last line, replace 
11766 \series bold
11767 toprule
11768 \series default
11769  by 
11770 \series bold
11771 bottomrule
11772 \series default
11773 .
11774  To change the width for the other lines replace 
11775 \series bold
11776 toprule
11777 \series default
11778  by 
11779 \series bold
11780 midrule
11781 \series default
11782 .
11783  You can use all units listed in appendix\InsetSpace ~
11784
11785 \begin_inset LatexCommand ref
11786 reference "cha:Units-available-in"
11787
11788 \end_inset
11789
11790  to set the width.
11791 \end_layout
11792
11793 \begin_layout Standard
11794 Lines that don't span over all table columns can be created by setting a
11795  table line for multicolumn cells.
11796  LyX will then internally use the command 
11797 \series bold
11798
11799 \backslash
11800 cmidrule
11801 \series default
11802  to create this line.
11803  Its full scheme is
11804 \end_layout
11805
11806 \begin_layout Standard
11807
11808 \series bold
11809
11810 \backslash
11811 cmidrule[width](trim){startcol-endcol}
11812 \end_layout
11813
11814 \begin_layout Standard
11815 The options of 
11816 \series bold
11817
11818 \backslash
11819 cmidrule
11820 \series default
11821  are are currently not supported by LyX so you have to use ERT to be able
11822  to use them.
11823  
11824 \series bold
11825
11826 \backslash
11827 cmidrule
11828 \series default
11829 s can manually be created by inserting the command as ERT as first cell
11830  entry of the first cell of a row.
11831  The line is then drawn in the output above the current row.
11832 \end_layout
11833
11834 \begin_layout Standard
11835 The default for the width is 0.03\InsetSpace \thinspace{}
11836 em.
11837  Startcol is the number of the column where the line starts and endcol the
11838  column number where the line ends.
11839  The endcol always needs to be specified, also when the line should span
11840  only one column.
11841  The optional parameter trim could be either 
11842 \emph on
11843 l{trimwidth}
11844 \emph default
11845 , or 
11846 \emph on
11847 r{trimwidth}
11848 \emph default
11849  where the trimwidth is also optional.
11850  Using for example the parameter 
11851 \emph on
11852 l{2pt}
11853 \emph default
11854  means that the line is trimmed from its left end by 2\InsetSpace \thinspace{}
11855 pt.
11856  If you don't specify the trimwidth the lines are trimmed by the default
11857  of 0.5\InsetSpace \thinspace{}
11858 em.
11859 \end_layout
11860
11861 \begin_layout Standard
11862 \begin_inset VSpace bigskip
11863 \end_inset
11864
11865 Table\InsetSpace ~
11866
11867 \begin_inset LatexCommand ref
11868 reference "tab:Example-booktabs-table"
11869
11870 \end_inset
11871
11872  was created using the commands
11873 \end_layout
11874
11875 \begin_layout Standard
11876
11877 \series bold
11878
11879 \backslash
11880 cmidrule(r){2-2}
11881 \backslash
11882 cmidrule(l){3-4}
11883 \end_layout
11884
11885 \begin_layout Standard
11886 at the beginning of the in the second row and
11887 \end_layout
11888
11889 \begin_layout Standard
11890
11891 \series bold
11892
11893 \backslash
11894 cmidrule(l{10pt}){1-1}
11895 \end_layout
11896
11897 \begin_layout Standard
11898 in the sixth row.
11899 \end_layout
11900
11901 \begin_layout Standard
11902
11903 \end_layout
11904
11905 \begin_layout Standard
11906 \begin_inset VSpace bigskip
11907 \end_inset
11908
11909
11910 \end_layout
11911
11912 \begin_layout Standard
11913 You might want to have overlapping 
11914 \series bold
11915
11916 \backslash
11917 cmidrule
11918 \series default
11919 s like in Table\InsetSpace ~
11920
11921 \begin_inset LatexCommand ref
11922 reference "tab:Special-booktabs-table"
11923
11924 \end_inset
11925
11926 .
11927  This can be achieved with the ERT command
11928 \end_layout
11929
11930 \begin_layout Standard
11931
11932 \series bold
11933
11934 \backslash
11935 morecmidrules
11936 \end_layout
11937
11938 \begin_layout Standard
11939 The command that was used for the second row of Table\InsetSpace ~
11940
11941 \begin_inset LatexCommand ref
11942 reference "tab:Special-booktabs-table"
11943
11944 \end_inset
11945
11946  is
11947 \end_layout
11948
11949 \begin_layout Standard
11950
11951 \series bold
11952
11953 \backslash
11954 cmidrule(r){2-2}
11955 \backslash
11956 cmidrule(l){3-4}
11957 \backslash
11958 morecmidrules
11959 \backslash
11960 cmidrule{2-4}
11961 \end_layout
11962
11963 \begin_layout Standard
11964 The command for the sixth row is
11965 \end_layout
11966
11967 \begin_layout Standard
11968
11969 \series bold
11970
11971 \backslash
11972 midrule
11973 \backslash
11974 morecmidrules
11975 \backslash
11976 cmidrule{3-4}
11977 \end_layout
11978
11979 \begin_layout Standard
11980 \begin_inset VSpace bigskip
11981 \end_inset
11982
11983
11984 \end_layout
11985
11986 \begin_layout Standard
11987 If you are anyway not satisfied with the border line spacing, you can use
11988  the following command to produce lines that span over all table columns
11989 \series bold
11990 :
11991 \end_layout
11992
11993 \begin_layout Standard
11994
11995 \series bold
11996
11997 \backslash
11998 specialrule{width}{space above}{space below}
11999 \end_layout
12000
12001 \begin_layout Standard
12002 For more informations about these specialties, we refer to the manual of
12003  the LaTeX-package 
12004 \series bold
12005 booktabs
12006 \series default
12007  
12008 \begin_inset LatexCommand cite
12009 key "booktabs"
12010
12011 \end_inset
12012
12013 .
12014 \begin_inset LatexCommand index
12015 name "LaTeX-packages ! booktabs"
12016
12017 \end_inset
12018
12019
12020 \end_layout
12021
12022 \begin_layout Standard
12023 \begin_inset Float table
12024 placement h
12025 wide false
12026 sideways false
12027 status open
12028
12029 \begin_layout Standard
12030 \begin_inset Caption
12031
12032 \begin_layout Standard
12033 \begin_inset LatexCommand label
12034 name "tab:Special-booktabs-table"
12035
12036 \end_inset
12037
12038 Special booktabs-table
12039 \end_layout
12040
12041 \end_inset
12042
12043
12044 \end_layout
12045
12046 \begin_layout Standard
12047 \align center
12048 \begin_inset Tabular
12049 <lyxtabular version="3" rows="8" columns="4">
12050 <features booktabs="true">
12051 <column alignment="center" valignment="top" width="0">
12052 <column alignment="center" valignment="top" width="0">
12053 <column alignment="center" valignment="top" width="0">
12054 <column alignment="center" valignment="top" width="0">
12055 <row topline="true">
12056 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12057 \begin_inset Text
12058
12059 \begin_layout Standard
12060 System
12061 \end_layout
12062
12063 \end_inset
12064 </cell>
12065 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12066 \begin_inset Text
12067
12068 \begin_layout Standard
12069 Medipix\InsetSpace \thinspace{}
12070 1
12071 \end_layout
12072
12073 \end_inset
12074 </cell>
12075 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
12076 \begin_inset Text
12077
12078 \begin_layout Standard
12079 Medipix\InsetSpace \thinspace{}
12080 2
12081 \end_layout
12082
12083 \end_inset
12084 </cell>
12085 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12086 \begin_inset Text
12087
12088 \begin_layout Standard
12089
12090 \end_layout
12091
12092 \end_inset
12093 </cell>
12094 </row>
12095 <row>
12096 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12097 \begin_inset Text
12098
12099 \begin_layout Standard
12100 \begin_inset ERT
12101 status collapsed
12102
12103 \begin_layout Standard
12104
12105
12106 \backslash
12107 cmidrule(r){2-2}
12108 \end_layout
12109
12110 \end_inset
12111
12112
12113 \begin_inset ERT
12114 status collapsed
12115
12116 \begin_layout Standard
12117
12118
12119 \backslash
12120 cmidrule(l){3-4}
12121 \end_layout
12122
12123 \end_inset
12124
12125
12126 \begin_inset ERT
12127 status collapsed
12128
12129 \begin_layout Standard
12130
12131
12132 \backslash
12133 morecmidrules 
12134 \end_layout
12135
12136 \end_inset
12137
12138
12139 \begin_inset ERT
12140 status collapsed
12141
12142 \begin_layout Standard
12143
12144
12145 \backslash
12146 cmidrule{2-4}
12147 \end_layout
12148
12149 \end_inset
12150
12151 Detector thickness [µm]
12152 \end_layout
12153
12154 \end_inset
12155 </cell>
12156 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12157 \begin_inset Text
12158
12159 \begin_layout Standard
12160 300
12161 \end_layout
12162
12163 \end_inset
12164 </cell>
12165 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12166 \begin_inset Text
12167
12168 \begin_layout Standard
12169 300
12170 \end_layout
12171
12172 \end_inset
12173 </cell>
12174 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12175 \begin_inset Text
12176
12177 \begin_layout Standard
12178 700
12179 \end_layout
12180
12181 \end_inset
12182 </cell>
12183 </row>
12184 <row topline="true">
12185 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12186 \begin_inset Text
12187
12188 \begin_layout Standard
12189 Edge angle [°]
12190 \end_layout
12191
12192 \end_inset
12193 </cell>
12194 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12195 \begin_inset Text
12196
12197 \begin_layout Standard
12198 3.55
12199 \end_layout
12200
12201 \end_inset
12202 </cell>
12203 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12204 \begin_inset Text
12205
12206 \begin_layout Standard
12207 2.71
12208 \end_layout
12209
12210 \end_inset
12211 </cell>
12212 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12213 \begin_inset Text
12214
12215 \begin_layout Standard
12216 7.99
12217 \end_layout
12218
12219 \end_inset
12220 </cell>
12221 </row>
12222 <row topspace="default">
12223 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12224 \begin_inset Text
12225
12226 \begin_layout Standard
12227 Spatial resolution [µm]
12228 \end_layout
12229
12230 \end_inset
12231 </cell>
12232 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12233 \begin_inset Text
12234
12235 \begin_layout Standard
12236 4.26
12237 \end_layout
12238
12239 \end_inset
12240 </cell>
12241 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12242 \begin_inset Text
12243
12244 \begin_layout Standard
12245 10.17
12246 \end_layout
12247
12248 \end_inset
12249 </cell>
12250 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12251 \begin_inset Text
12252
12253 \begin_layout Standard
12254 10.56
12255 \end_layout
12256
12257 \end_inset
12258 </cell>
12259 </row>
12260 <row topspace="default">
12261 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12262 \begin_inset Text
12263
12264 \begin_layout Standard
12265 MTF at 
12266 \begin_inset Formula $f_{\mathrm{max}}$
12267 \end_inset
12268
12269
12270 \end_layout
12271
12272 \end_inset
12273 </cell>
12274 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12275 \begin_inset Text
12276
12277 \begin_layout Standard
12278 0.53
12279 \end_layout
12280
12281 \end_inset
12282 </cell>
12283 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12284 \begin_inset Text
12285
12286 \begin_layout Standard
12287 0.37
12288 \end_layout
12289
12290 \end_inset
12291 </cell>
12292 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12293 \begin_inset Text
12294
12295 \begin_layout Standard
12296 0.39
12297 \end_layout
12298
12299 \end_inset
12300 </cell>
12301 </row>
12302 <row topline="true">
12303 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12304 \begin_inset Text
12305
12306 \begin_layout Standard
12307 \begin_inset ERT
12308 status collapsed
12309
12310 \begin_layout Standard
12311
12312
12313 \backslash
12314 morecmidrules 
12315 \end_layout
12316
12317 \end_inset
12318
12319
12320 \begin_inset ERT
12321 status collapsed
12322
12323 \begin_layout Standard
12324
12325
12326 \backslash
12327 cmidrule{3-4}
12328 \end_layout
12329
12330 \end_inset
12331
12332 LSF-spatial resolution
12333 \end_layout
12334
12335 \end_inset
12336 </cell>
12337 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12338 \begin_inset Text
12339
12340 \begin_layout Standard
12341
12342 \end_layout
12343
12344 \end_inset
12345 </cell>
12346 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12347 \begin_inset Text
12348
12349 \begin_layout Standard
12350
12351 \end_layout
12352
12353 \end_inset
12354 </cell>
12355 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12356 \begin_inset Text
12357
12358 \begin_layout Standard
12359
12360 \end_layout
12361
12362 \end_inset
12363 </cell>
12364 </row>
12365 <row>
12366 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12367 \begin_inset Text
12368
12369 \begin_layout Standard
12370 in µm
12371 \end_layout
12372
12373 \end_inset
12374 </cell>
12375 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12376 \begin_inset Text
12377
12378 \begin_layout Standard
12379 129.7
12380 \end_layout
12381
12382 \end_inset
12383 </cell>
12384 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12385 \begin_inset Text
12386
12387 \begin_layout Standard
12388 52.75
12389 \end_layout
12390
12391 \end_inset
12392 </cell>
12393 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12394 \begin_inset Text
12395
12396 \begin_layout Standard
12397 50.78
12398 \end_layout
12399
12400 \end_inset
12401 </cell>
12402 </row>
12403 <row bottomline="true">
12404 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12405 \begin_inset Text
12406
12407 \begin_layout Standard
12408 in % of pixel size
12409 \end_layout
12410
12411 \end_inset
12412 </cell>
12413 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12414 \begin_inset Text
12415
12416 \begin_layout Standard
12417 76.3
12418 \end_layout
12419
12420 \end_inset
12421 </cell>
12422 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12423 \begin_inset Text
12424
12425 \begin_layout Standard
12426 95.9
12427 \end_layout
12428
12429 \end_inset
12430 </cell>
12431 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12432 \begin_inset Text
12433
12434 \begin_layout Standard
12435 92.3
12436 \end_layout
12437
12438 \end_inset
12439 </cell>
12440 </row>
12441 </lyxtabular>
12442
12443 \end_inset
12444
12445
12446 \end_layout
12447
12448 \end_inset
12449
12450
12451 \end_layout
12452
12453 \begin_layout Section
12454 Vertical Table Alignment
12455 \begin_inset LatexCommand index
12456 name "Table ! Alignment"
12457
12458 \end_inset
12459
12460
12461 \end_layout
12462
12463 \begin_layout Standard
12464 To align tables vertically in a text line the table must be inside a box.
12465  The box can then be vertically aligned as described in section\InsetSpace ~
12466
12467 \begin_inset LatexCommand ref
12468 reference "sec:Box-Dialog"
12469
12470 \end_inset
12471
12472 .
12473 \end_layout
12474
12475 \begin_layout Standard
12476 In the following example the tables are inside a minipage
12477 \begin_inset Foot
12478 status collapsed
12479
12480 \begin_layout Standard
12481 Minipages are described in section\InsetSpace ~
12482
12483 \begin_inset LatexCommand ref
12484 reference "sec:Minipages"
12485
12486 \end_inset
12487
12488 .
12489 \end_layout
12490
12491 \end_inset
12492
12493  box that has a width of 15\InsetSpace \thinspace{}
12494 col%:
12495 \end_layout
12496
12497 \begin_layout Itemize
12498 test 
12499 \begin_inset Box Frameless
12500 position "t"
12501 hor_pos "c"
12502 has_inner_box 1
12503 inner_pos "c"
12504 use_parbox 0
12505 width "15col%"
12506 special "none"
12507 height "1in"
12508 height_special "totalheight"
12509 status collapsed
12510
12511 \begin_layout Standard
12512 \begin_inset Tabular
12513 <lyxtabular version="3" rows="3" columns="3">
12514 <features>
12515 <column alignment="center" valignment="top" leftline="true" width="0">
12516 <column alignment="center" valignment="top" leftline="true" width="0">
12517 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12518 <row topline="true">
12519 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12520 \begin_inset Text
12521
12522 \begin_layout Standard
12523 a
12524 \end_layout
12525
12526 \end_inset
12527 </cell>
12528 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12529 \begin_inset Text
12530
12531 \begin_layout Standard
12532 d
12533 \end_layout
12534
12535 \end_inset
12536 </cell>
12537 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12538 \begin_inset Text
12539
12540 \begin_layout Standard
12541 g
12542 \end_layout
12543
12544 \end_inset
12545 </cell>
12546 </row>
12547 <row topline="true">
12548 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12549 \begin_inset Text
12550
12551 \begin_layout Standard
12552 b
12553 \end_layout
12554
12555 \end_inset
12556 </cell>
12557 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12558 \begin_inset Text
12559
12560 \begin_layout Standard
12561 e
12562 \end_layout
12563
12564 \end_inset
12565 </cell>
12566 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12567 \begin_inset Text
12568
12569 \begin_layout Standard
12570 h
12571 \end_layout
12572
12573 \end_inset
12574 </cell>
12575 </row>
12576 <row topline="true" bottomline="true">
12577 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12578 \begin_inset Text
12579
12580 \begin_layout Standard
12581 c
12582 \end_layout
12583
12584 \end_inset
12585 </cell>
12586 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12587 \begin_inset Text
12588
12589 \begin_layout Standard
12590 f
12591 \end_layout
12592
12593 \end_inset
12594 </cell>
12595 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12596 \begin_inset Text
12597
12598 \begin_layout Standard
12599 i
12600 \end_layout
12601
12602 \end_inset
12603 </cell>
12604 </row>
12605 </lyxtabular>
12606
12607 \end_inset
12608
12609
12610 \end_layout
12611
12612 \end_inset
12613
12614  test 
12615 \begin_inset ERT
12616 status collapsed
12617
12618 \begin_layout Standard
12619
12620
12621 \backslash
12622 raisebox{0.85
12623 \backslash
12624 baselineskip}{
12625 \end_layout
12626
12627 \end_inset
12628
12629
12630 \begin_inset Box Frameless
12631 position "t"
12632 hor_pos "c"
12633 has_inner_box 1
12634 inner_pos "c"
12635 use_parbox 0
12636 width "15col%"
12637 special "none"
12638 height "1in"
12639 height_special "totalheight"
12640 status collapsed
12641
12642 \begin_layout Standard
12643 \begin_inset Tabular
12644 <lyxtabular version="3" rows="3" columns="3">
12645 <features>
12646 <column alignment="center" valignment="top" leftline="true" width="0">
12647 <column alignment="center" valignment="top" leftline="true" width="0">
12648 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12649 <row topline="true">
12650 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12651 \begin_inset Text
12652
12653 \begin_layout Standard
12654 a
12655 \end_layout
12656
12657 \end_inset
12658 </cell>
12659 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12660 \begin_inset Text
12661
12662 \begin_layout Standard
12663 d
12664 \end_layout
12665
12666 \end_inset
12667 </cell>
12668 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12669 \begin_inset Text
12670
12671 \begin_layout Standard
12672 g
12673 \end_layout
12674
12675 \end_inset
12676 </cell>
12677 </row>
12678 <row topline="true">
12679 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12680 \begin_inset Text
12681
12682 \begin_layout Standard
12683 b
12684 \end_layout
12685
12686 \end_inset
12687 </cell>
12688 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12689 \begin_inset Text
12690
12691 \begin_layout Standard
12692 e
12693 \end_layout
12694
12695 \end_inset
12696 </cell>
12697 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12698 \begin_inset Text
12699
12700 \begin_layout Standard
12701 h
12702 \end_layout
12703
12704 \end_inset
12705 </cell>
12706 </row>
12707 <row topline="true" bottomline="true">
12708 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12709 \begin_inset Text
12710
12711 \begin_layout Standard
12712 c
12713 \end_layout
12714
12715 \end_inset
12716 </cell>
12717 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12718 \begin_inset Text
12719
12720 \begin_layout Standard
12721 f
12722 \end_layout
12723
12724 \end_inset
12725 </cell>
12726 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12727 \begin_inset Text
12728
12729 \begin_layout Standard
12730 i
12731 \end_layout
12732
12733 \end_inset
12734 </cell>
12735 </row>
12736 </lyxtabular>
12737
12738 \end_inset
12739
12740
12741 \end_layout
12742
12743 \end_inset
12744
12745
12746 \begin_inset ERT
12747 status collapsed
12748
12749 \begin_layout Standard
12750
12751 }
12752 \end_layout
12753
12754 \end_inset
12755
12756
12757 \end_layout
12758
12759 \begin_layout Itemize
12760 test 
12761 \begin_inset Box Frameless
12762 position "c"
12763 hor_pos "c"
12764 has_inner_box 1
12765 inner_pos "c"
12766 use_parbox 0
12767 width "15col%"
12768 special "none"
12769 height "1in"
12770 height_special "totalheight"
12771 status collapsed
12772
12773 \begin_layout Standard
12774 \begin_inset Tabular
12775 <lyxtabular version="3" rows="3" columns="3">
12776 <features>
12777 <column alignment="center" valignment="top" leftline="true" width="0">
12778 <column alignment="center" valignment="top" leftline="true" width="0">
12779 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12780 <row topline="true">
12781 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12782 \begin_inset Text
12783
12784 \begin_layout Standard
12785 a
12786 \end_layout
12787
12788 \end_inset
12789 </cell>
12790 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12791 \begin_inset Text
12792
12793 \begin_layout Standard
12794 d
12795 \end_layout
12796
12797 \end_inset
12798 </cell>
12799 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12800 \begin_inset Text
12801
12802 \begin_layout Standard
12803 g
12804 \end_layout
12805
12806 \end_inset
12807 </cell>
12808 </row>
12809 <row topline="true">
12810 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12811 \begin_inset Text
12812
12813 \begin_layout Standard
12814 b
12815 \end_layout
12816
12817 \end_inset
12818 </cell>
12819 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12820 \begin_inset Text
12821
12822 \begin_layout Standard
12823 e
12824 \end_layout
12825
12826 \end_inset
12827 </cell>
12828 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12829 \begin_inset Text
12830
12831 \begin_layout Standard
12832 h
12833 \end_layout
12834
12835 \end_inset
12836 </cell>
12837 </row>
12838 <row topline="true" bottomline="true">
12839 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12840 \begin_inset Text
12841
12842 \begin_layout Standard
12843 c
12844 \end_layout
12845
12846 \end_inset
12847 </cell>
12848 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12849 \begin_inset Text
12850
12851 \begin_layout Standard
12852 f
12853 \end_layout
12854
12855 \end_inset
12856 </cell>
12857 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12858 \begin_inset Text
12859
12860 \begin_layout Standard
12861 i
12862 \end_layout
12863
12864 \end_inset
12865 </cell>
12866 </row>
12867 </lyxtabular>
12868
12869 \end_inset
12870
12871
12872 \end_layout
12873
12874 \end_inset
12875
12876
12877 \end_layout
12878
12879 \begin_layout Itemize
12880 test 
12881 \begin_inset Box Frameless
12882 position "b"
12883 hor_pos "c"
12884 has_inner_box 1
12885 inner_pos "c"
12886 use_parbox 0
12887 width "15col%"
12888 special "none"
12889 height "1in"
12890 height_special "totalheight"
12891 status collapsed
12892
12893 \begin_layout Standard
12894 \begin_inset Tabular
12895 <lyxtabular version="3" rows="3" columns="3">
12896 <features>
12897 <column alignment="center" valignment="top" leftline="true" width="0">
12898 <column alignment="center" valignment="top" leftline="true" width="0">
12899 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12900 <row topline="true">
12901 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12902 \begin_inset Text
12903
12904 \begin_layout Standard
12905 a
12906 \end_layout
12907
12908 \end_inset
12909 </cell>
12910 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12911 \begin_inset Text
12912
12913 \begin_layout Standard
12914 d
12915 \end_layout
12916
12917 \end_inset
12918 </cell>
12919 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12920 \begin_inset Text
12921
12922 \begin_layout Standard
12923 g
12924 \end_layout
12925
12926 \end_inset
12927 </cell>
12928 </row>
12929 <row topline="true">
12930 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12931 \begin_inset Text
12932
12933 \begin_layout Standard
12934 b
12935 \end_layout
12936
12937 \end_inset
12938 </cell>
12939 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12940 \begin_inset Text
12941
12942 \begin_layout Standard
12943 e
12944 \end_layout
12945
12946 \end_inset
12947 </cell>
12948 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12949 \begin_inset Text
12950
12951 \begin_layout Standard
12952 h
12953 \end_layout
12954
12955 \end_inset
12956 </cell>
12957 </row>
12958 <row topline="true" bottomline="true">
12959 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12960 \begin_inset Text
12961
12962 \begin_layout Standard
12963 c
12964 \end_layout
12965
12966 \end_inset
12967 </cell>
12968 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12969 \begin_inset Text
12970
12971 \begin_layout Standard
12972 f
12973 \end_layout
12974
12975 \end_inset
12976 </cell>
12977 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12978 \begin_inset Text
12979
12980 \begin_layout Standard
12981 i
12982 \end_layout
12983
12984 \end_inset
12985 </cell>
12986 </row>
12987 </lyxtabular>
12988
12989 \end_inset
12990
12991
12992 \end_layout
12993
12994 \end_inset
12995
12996  test 
12997 \begin_inset ERT
12998 status collapsed
12999
13000 \begin_layout Standard
13001
13002
13003 \backslash
13004 raisebox{-0.32
13005 \backslash
13006 baselineskip}{
13007 \end_layout
13008
13009 \end_inset
13010
13011
13012 \begin_inset Box Frameless
13013 position "b"
13014 hor_pos "c"
13015 has_inner_box 1
13016 inner_pos "c"
13017 use_parbox 0
13018 width "15col%"
13019 special "none"
13020 height "1in"
13021 height_special "totalheight"
13022 status collapsed
13023
13024 \begin_layout Standard
13025 \begin_inset Tabular
13026 <lyxtabular version="3" rows="3" columns="3">
13027 <features>
13028 <column alignment="center" valignment="top" leftline="true" width="0">
13029 <column alignment="center" valignment="top" leftline="true" width="0">
13030 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13031 <row topline="true">
13032 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13033 \begin_inset Text
13034
13035 \begin_layout Standard
13036 a
13037 \end_layout
13038
13039 \end_inset
13040 </cell>
13041 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13042 \begin_inset Text
13043
13044 \begin_layout Standard
13045 d
13046 \end_layout
13047
13048 \end_inset
13049 </cell>
13050 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13051 \begin_inset Text
13052
13053 \begin_layout Standard
13054 g
13055 \end_layout
13056
13057 \end_inset
13058 </cell>
13059 </row>
13060 <row topline="true">
13061 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13062 \begin_inset Text
13063
13064 \begin_layout Standard
13065 b
13066 \end_layout
13067
13068 \end_inset
13069 </cell>
13070 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13071 \begin_inset Text
13072
13073 \begin_layout Standard
13074 e
13075 \end_layout
13076
13077 \end_inset
13078 </cell>
13079 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13080 \begin_inset Text
13081
13082 \begin_layout Standard
13083 h
13084 \end_layout
13085
13086 \end_inset
13087 </cell>
13088 </row>
13089 <row topline="true" bottomline="true">
13090 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13091 \begin_inset Text
13092
13093 \begin_layout Standard
13094 c
13095 \end_layout
13096
13097 \end_inset
13098 </cell>
13099 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13100 \begin_inset Text
13101
13102 \begin_layout Standard
13103 f
13104 \end_layout
13105
13106 \end_inset
13107 </cell>
13108 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13109 \begin_inset Text
13110
13111 \begin_layout Standard
13112 i
13113 \end_layout
13114
13115 \end_inset
13116 </cell>
13117 </row>
13118 </lyxtabular>
13119
13120 \end_inset
13121
13122
13123 \end_layout
13124
13125 \end_inset
13126
13127
13128 \begin_inset ERT
13129 status collapsed
13130
13131 \begin_layout Standard
13132
13133 }
13134 \end_layout
13135
13136 \end_inset
13137
13138
13139 \end_layout
13140
13141 \begin_layout Standard
13142 As you can see, the content of the first and last table row is not correctly
13143  aligned with the text line where the table is in.
13144  To get this alignment, the minipage box must be set into a raisebox
13145 \begin_inset Foot
13146 status collapsed
13147
13148 \begin_layout Standard
13149 Raiseboxes are described in section\InsetSpace ~
13150
13151 \begin_inset LatexCommand ref
13152 reference "sub:Vertical-Alignment"
13153
13154 \end_inset
13155
13156 .
13157 \end_layout
13158
13159 \end_inset
13160
13161 .
13162  In the example above the second table in the first item is aligned using
13163  the ERT-command
13164 \end_layout
13165
13166 \begin_layout Standard
13167
13168 \series bold
13169
13170 \backslash
13171 raisebox{0.85
13172 \backslash
13173 baselineskip}{
13174 \end_layout
13175
13176 \begin_layout Standard
13177 before the box.
13178  Behind the box the closing brace 
13179 \series bold
13180 }
13181 \series default
13182  is inserted as ERT.
13183  For the second table in the last item the command
13184 \end_layout
13185
13186 \begin_layout Standard
13187
13188 \series bold
13189
13190 \backslash
13191 raisebox{-0.32
13192 \backslash
13193 baselineskip}{
13194 \end_layout
13195
13196 \begin_layout Standard
13197 is used.
13198 \end_layout
13199
13200 \begin_layout Standard
13201 \begin_inset Note Greyedout
13202 status open
13203
13204 \begin_layout Standard
13205
13206 \series bold
13207 Note: 
13208 \series default
13209 The alignment of the table row content to the surrounding text line is not
13210  exact.
13211  The needed factor of the 
13212 \series bold
13213
13214 \backslash
13215 raisebox
13216 \series default
13217  command for this alignment depends on the document font, the font size,
13218  and the table line thickness.
13219 \end_layout
13220
13221 \end_inset
13222
13223
13224 \end_layout
13225
13226 \begin_layout Section
13227 Colored Tables
13228 \begin_inset LatexCommand label
13229 name "sec:Colored-Tables"
13230
13231 \end_inset
13232
13233
13234 \begin_inset LatexCommand index
13235 name "Table ! Color"
13236
13237 \end_inset
13238
13239
13240 \end_layout
13241
13242 \begin_layout Subsection
13243 Colored Cells
13244 \begin_inset LatexCommand index
13245 name "Table Color ! for Cells"
13246
13247 \end_inset
13248
13249
13250 \begin_inset LatexCommand index
13251 name "Color ! for Table Cells"
13252
13253 \end_inset
13254
13255
13256 \end_layout
13257
13258 \begin_layout Standard
13259 \begin_inset Float table
13260 placement h
13261 wide false
13262 sideways false
13263 status open
13264
13265 \begin_layout Standard
13266 \begin_inset Caption
13267
13268 \begin_layout Standard
13269 \begin_inset LatexCommand label
13270 name "tab:Table-colored-without"
13271
13272 \end_inset
13273
13274 Table colored without using the package 
13275 \series bold
13276 colortbl
13277 \series default
13278
13279 \begin_inset OptArg
13280 status collapsed
13281
13282 \begin_layout Standard
13283 Table without colortbl
13284 \end_layout
13285
13286 \end_inset
13287
13288
13289 \end_layout
13290
13291 \end_inset
13292
13293
13294 \end_layout
13295
13296 \begin_layout Standard
13297 \align center
13298 \begin_inset Tabular
13299 <lyxtabular version="3" rows="3" columns="3">
13300 <features>
13301 <column alignment="center" valignment="top" leftline="true" width="0">
13302 <column alignment="center" valignment="top" leftline="true" width="0">
13303 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13304 <row topline="true">
13305 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13306 \begin_inset Text
13307
13308 \begin_layout Standard
13309
13310 \color green
13311 a
13312 \end_layout
13313
13314 \end_inset
13315 </cell>
13316 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13317 \begin_inset Text
13318
13319 \begin_layout Standard
13320
13321 \color red
13322 b
13323 \end_layout
13324
13325 \end_inset
13326 </cell>
13327 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13328 \begin_inset Text
13329
13330 \begin_layout Standard
13331
13332 \color red
13333 c
13334 \end_layout
13335
13336 \end_inset
13337 </cell>
13338 </row>
13339 <row topline="true">
13340 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13341 \begin_inset Text
13342
13343 \begin_layout Standard
13344
13345 \color green
13346 d
13347 \end_layout
13348
13349 \end_inset
13350 </cell>
13351 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13352 \begin_inset Text
13353
13354 \begin_layout Standard
13355
13356 \color blue
13357 e
13358 \end_layout
13359
13360 \end_inset
13361 </cell>
13362 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13363 \begin_inset Text
13364
13365 \begin_layout Standard
13366
13367 \color blue
13368 f
13369 \end_layout
13370
13371 \end_inset
13372 </cell>
13373 </row>
13374 <row topline="true" bottomline="true">
13375 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13376 \begin_inset Text
13377
13378 \begin_layout Standard
13379
13380 \color green
13381 g
13382 \end_layout
13383
13384 \end_inset
13385 </cell>
13386 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13387 \begin_inset Text
13388
13389 \begin_layout Standard
13390
13391 \color blue
13392 h
13393 \end_layout
13394
13395 \end_inset
13396 </cell>
13397 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13398 \begin_inset Text
13399
13400 \begin_layout Standard
13401
13402 \color blue
13403 i
13404 \end_layout
13405
13406 \end_inset
13407 </cell>
13408 </row>
13409 </lyxtabular>
13410
13411 \end_inset
13412
13413
13414 \end_layout
13415
13416 \end_inset
13417
13418
13419 \end_layout
13420
13421 \begin_layout Standard
13422 If you only need colored text, mark the cells and choose a color in the
13423  menu 
13424 \family sans
13425 Edit\SpecialChar \menuseparator
13426 Text\InsetSpace ~
13427 Style
13428 \family default
13429 .
13430  This was used to create Table\InsetSpace ~
13431
13432 \begin_inset LatexCommand ref
13433 reference "tab:Table-colored-without"
13434
13435 \end_inset
13436
13437 .
13438  In any other case you have to use the LaTeX-package 
13439 \series bold
13440 colortbl
13441 \series default
13442 .
13443 \begin_inset LatexCommand index
13444 name "LaTeX-packages ! colortbl"
13445
13446 \end_inset
13447
13448
13449 \end_layout
13450
13451 \begin_layout Standard
13452 To create colored tables, 
13453 \series bold
13454 colortbl
13455 \series default
13456  must be loaded in the preamble with the line
13457 \end_layout
13458
13459 \begin_layout Standard
13460
13461 \series bold
13462
13463 \backslash
13464 usepackage{colortbl}
13465 \end_layout
13466
13467 \begin_layout Standard
13468 The color of a column is adjusted with the command
13469 \end_layout
13470
13471 \begin_layout Standard
13472
13473 \series bold
13474
13475 \backslash
13476 columncolor{name of color}
13477 \end_layout
13478
13479 \begin_layout Standard
13480 inside the command 
13481 \series bold
13482 >{ }
13483 \series default
13484 .
13485  More about the command 
13486 \series bold
13487 >{}
13488 \series default
13489  is described in section\InsetSpace ~
13490
13491 \begin_inset LatexCommand ref
13492 reference "sub:Multicolumn-Calculations"
13493
13494 \end_inset
13495
13496 .
13497 \end_layout
13498
13499 \begin_layout Standard
13500 The following color names are predefined:
13501 \end_layout
13502
13503 \begin_layout Standard
13504
13505 \family sans
13506 red
13507 \family default
13508
13509 \family sans
13510 green
13511 \family default
13512
13513 \family sans
13514 yellow
13515 \family default
13516
13517 \family sans
13518 blue
13519 \family default
13520
13521 \family sans
13522 cyan
13523 \family default
13524
13525 \family sans
13526 magenta
13527 \family default
13528
13529 \family sans
13530 black
13531 \family default
13532  and 
13533 \family sans
13534 white
13535 \end_layout
13536
13537 \begin_layout Standard
13538 \begin_inset VSpace medskip
13539 \end_inset
13540
13541
13542 \end_layout
13543
13544 \begin_layout Standard
13545 You can also define your own color with the command
13546 \end_layout
13547
13548 \begin_layout Standard
13549
13550 \series bold
13551
13552 \backslash
13553 def\SpecialChar \textcompwordmark{}
13554 inecolor{color name}{color model}{color values}
13555 \end_layout
13556
13557 \begin_layout Standard
13558 The color model can be
13559 \end_layout
13560
13561 \begin_layout Labeling
13562 \labelwidthstring 00.00.0000
13563 cmyk: cyan, magenta, yellow, black
13564 \end_layout
13565
13566 \begin_layout Labeling
13567 \labelwidthstring 00.00.0000
13568 rgb: red, green blue
13569 \end_layout
13570
13571 \begin_layout Labeling
13572 \labelwidthstring 00.00.0000
13573 gray gray
13574 \end_layout
13575
13576 \begin_layout Standard
13577 and the color values are comma separated numbers between 0 and 1 describing
13578  the factor for the corresponding color of the color model.
13579 \end_layout
13580
13581 \begin_layout Standard
13582 You can e.\InsetSpace \thinspace{}
13583 g.\InsetSpace ~
13584 define the color "
13585 \emph on
13586 darkgreen
13587 \emph default
13588 " in the preamble with
13589 \end_layout
13590
13591 \begin_layout Standard
13592
13593 \series bold
13594
13595 \backslash
13596 def\SpecialChar \textcompwordmark{}
13597 inecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
13598 \end_layout
13599
13600 \begin_layout Standard
13601 and the color "
13602 \emph on
13603 lightgray
13604 \emph default
13605 " with
13606 \end_layout
13607
13608 \begin_layout Standard
13609
13610 \series bold
13611
13612 \backslash
13613 def\SpecialChar \textcompwordmark{}
13614 inecolor{lightgray}{gray}{0.8}
13615 \end_layout
13616
13617 \begin_layout Standard
13618 \begin_inset VSpace medskip
13619 \end_inset
13620
13621
13622 \end_layout
13623
13624 \begin_layout Standard
13625 Lines are colored with the command
13626 \end_layout
13627
13628 \begin_layout Standard
13629
13630 \series bold
13631
13632 \backslash
13633 rowcolor{name of color}
13634 \end_layout
13635
13636 \begin_layout Standard
13637 and cells are colored with the command
13638 \end_layout
13639
13640 \begin_layout Standard
13641
13642 \series bold
13643
13644 \backslash
13645 cellcolor{name of color}
13646 \end_layout
13647
13648 \begin_layout Standard
13649 Both commands are inserted at the beginning of a cell as ERT.
13650 \end_layout
13651
13652 \begin_layout Standard
13653 To color characters in the table, mark the cells and use the LyX menu 
13654 \family sans
13655 Edit\SpecialChar \menuseparator
13656 Text\InsetSpace ~
13657 Style
13658 \family default
13659 .
13660  If a cell contains ERT mark only the characters, otherwise the colored
13661  ERT will cause LaTeX-errors.
13662 \end_layout
13663
13664 \begin_layout Standard
13665 \begin_inset VSpace bigskip
13666 \end_inset
13667
13668
13669 \end_layout
13670
13671 \begin_layout Standard
13672 To create Table\InsetSpace ~
13673
13674 \begin_inset LatexCommand ref
13675 reference "tab:Table-colored-using"
13676
13677 \end_inset
13678
13679  do the following: The color of the first column should be 
13680 \emph on
13681 darkgreen
13682 \emph default
13683 .
13684  So insert
13685 \end_layout
13686
13687 \begin_layout Standard
13688
13689 \series bold
13690 >{
13691 \backslash
13692 columncolor{darkgreen}
13693 \backslash
13694 centering}c
13695 \end_layout
13696
13697 \begin_layout Standard
13698 as LaTeX-argument for this column.
13699  The first row should be blue, therefore the ERT command
13700 \end_layout
13701
13702 \begin_layout Standard
13703
13704 \series bold
13705
13706 \backslash
13707 rowcolow{cyan}
13708 \end_layout
13709
13710 \begin_layout Standard
13711 is inserted to the first cell of this row.
13712  Note that this overwrites the column color for the first cell.
13713  The last cell of the last row is colored magenta by inserting the ERT command
13714 \end_layout
13715
13716 \begin_layout Standard
13717
13718 \series bold
13719
13720 \backslash
13721 cellcolor{magenta}
13722 \end_layout
13723
13724 \begin_layout Standard
13725 The characters could now be colored using the menu 
13726 \family sans
13727 Edit\SpecialChar \menuseparator
13728 Text\InsetSpace ~
13729 Style
13730 \family default
13731 .
13732 \end_layout
13733
13734 \begin_layout Standard
13735 \begin_inset Float table
13736 placement h
13737 wide false
13738 sideways false
13739 status open
13740
13741 \begin_layout Standard
13742 \begin_inset Caption
13743
13744 \begin_layout Standard
13745 \begin_inset LatexCommand label
13746 name "tab:Table-colored-using"
13747
13748 \end_inset
13749
13750 Table colored using the package 
13751 \series bold
13752 colortbl
13753 \series default
13754
13755 \begin_inset OptArg
13756 status collapsed
13757
13758 \begin_layout Standard
13759 Table with colortbl
13760 \end_layout
13761
13762 \end_inset
13763
13764
13765 \end_layout
13766
13767 \end_inset
13768
13769
13770 \end_layout
13771
13772 \begin_layout Standard
13773 \align center
13774 \begin_inset Tabular
13775 <lyxtabular version="3" rows="3" columns="3">
13776 <features>
13777 <column alignment="center" valignment="top" leftline="true" width="0" special=">{\columncolor{darkgreen}\centering}c">
13778 <column alignment="center" valignment="top" width="0">
13779 <column alignment="center" valignment="top" width="0">
13780 <row>
13781 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13782 \begin_inset Text
13783
13784 \begin_layout Standard
13785 \begin_inset ERT
13786 status collapsed
13787
13788 \begin_layout Standard
13789
13790
13791 \backslash
13792 rowcolor{cyan}
13793 \end_layout
13794
13795 \end_inset
13796
13797
13798 \color magenta
13799 a
13800 \end_layout
13801
13802 \end_inset
13803 </cell>
13804 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13805 \begin_inset Text
13806
13807 \begin_layout Standard
13808
13809 \color red
13810 b
13811 \end_layout
13812
13813 \end_inset
13814 </cell>
13815 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13816 \begin_inset Text
13817
13818 \begin_layout Standard
13819
13820 \color red
13821 c
13822 \end_layout
13823
13824 \end_inset
13825 </cell>
13826 </row>
13827 <row>
13828 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13829 \begin_inset Text
13830
13831 \begin_layout Standard
13832
13833 \color yellow
13834 d
13835 \end_layout
13836
13837 \end_inset
13838 </cell>
13839 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13840 \begin_inset Text
13841
13842 \begin_layout Standard
13843
13844 \color blue
13845 e
13846 \end_layout
13847
13848 \end_inset
13849 </cell>
13850 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13851 \begin_inset Text
13852
13853 \begin_layout Standard
13854
13855 \color blue
13856 f
13857 \end_layout
13858
13859 \end_inset
13860 </cell>
13861 </row>
13862 <row>
13863 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13864 \begin_inset Text
13865
13866 \begin_layout Standard
13867
13868 \color yellow
13869 g
13870 \end_layout
13871
13872 \end_inset
13873 </cell>
13874 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13875 \begin_inset Text
13876
13877 \begin_layout Standard
13878
13879 \color blue
13880 h
13881 \end_layout
13882
13883 \end_inset
13884 </cell>
13885 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13886 \begin_inset Text
13887
13888 \begin_layout Standard
13889 \begin_inset ERT
13890 status collapsed
13891
13892 \begin_layout Standard
13893
13894
13895 \backslash
13896 cellcolor{magenta}
13897 \end_layout
13898
13899 \end_inset
13900
13901
13902 \color green
13903 i
13904 \end_layout
13905
13906 \end_inset
13907 </cell>
13908 </row>
13909 </lyxtabular>
13910
13911 \end_inset
13912
13913
13914 \end_layout
13915
13916 \end_inset
13917
13918
13919 \end_layout
13920
13921 \begin_layout Subsection
13922 Colored Lines
13923 \begin_inset LatexCommand index
13924 name "Table Color ! for Lines"
13925
13926 \end_inset
13927
13928
13929 \begin_inset LatexCommand index
13930 name "Color ! for Table Lines"
13931
13932 \end_inset
13933
13934
13935 \end_layout
13936
13937 \begin_layout Standard
13938 As described in section\InsetSpace ~
13939
13940 \begin_inset LatexCommand ref
13941 reference "sub:Line-Thickness"
13942
13943 \end_inset
13944
13945 , the line thickness for all lines in a table can be adjusted with the length
13946  
13947 \series bold
13948
13949 \backslash
13950 arrayrulewidth
13951 \series default
13952 .
13953  It is set to 1.5\InsetSpace \thinspace{}
13954 pt for all tables of this section.
13955 \begin_inset ERT
13956 status collapsed
13957
13958 \begin_layout Standard
13959
13960
13961 \backslash
13962 setlength{
13963 \backslash
13964 arrayrulewidth}{1.5pt}
13965 \end_layout
13966
13967 \end_inset
13968
13969
13970 \end_layout
13971
13972 \begin_layout Standard
13973 To color vertical lines for example with green, create the following column
13974  format in the document preamble, according to the description in section\InsetSpace ~
13975
13976 \begin_inset LatexCommand ref
13977 reference "sub:Customized-Format"
13978
13979 \end_inset
13980
13981 :
13982 \end_layout
13983
13984 \begin_layout Standard
13985
13986 \series bold
13987
13988 \backslash
13989 newcolumntype{W}{!{
13990 \backslash
13991 color{green}
13992 \backslash
13993 vline}}
13994 \end_layout
13995
13996 \begin_layout Standard
13997 For Table\InsetSpace ~
13998
13999 \begin_inset LatexCommand ref
14000 reference "tab:Table-with-vertical-colored"
14001
14002 \end_inset
14003
14004  the LaTeX-argument
14005 \end_layout
14006
14007 \begin_layout Standard
14008
14009 \series bold
14010 WcW
14011 \end_layout
14012
14013 \begin_layout Standard
14014 was used for the last column and
14015 \end_layout
14016
14017 \begin_layout Standard
14018
14019 \series bold
14020 Wc
14021 \end_layout
14022
14023 \begin_layout Standard
14024 for the other columns.
14025 \end_layout
14026
14027 \begin_layout Standard
14028 If you want to have several colors, define more column formats.
14029 \end_layout
14030
14031 \begin_layout Standard
14032 \begin_inset Float table
14033 wide false
14034 sideways false
14035 status open
14036
14037 \begin_layout Standard
14038 \begin_inset Caption
14039
14040 \begin_layout Standard
14041 \begin_inset LatexCommand label
14042 name "tab:Table-with-vertical-colored"
14043
14044 \end_inset
14045
14046 Table with colored vertical lines
14047 \end_layout
14048
14049 \end_inset
14050
14051
14052 \end_layout
14053
14054 \begin_layout Standard
14055 \align center
14056 \begin_inset Tabular
14057 <lyxtabular version="3" rows="3" columns="3">
14058 <features>
14059 <column alignment="center" valignment="top" leftline="true" width="0" special="Wc">
14060 <column alignment="center" valignment="top" width="0" special="Wc">
14061 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0" special="WcW">
14062 <row topline="true">
14063 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14064 \begin_inset Text
14065
14066 \begin_layout Standard
14067 sd
14068 \end_layout
14069
14070 \end_inset
14071 </cell>
14072 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14073 \begin_inset Text
14074
14075 \begin_layout Standard
14076
14077 \end_layout
14078
14079 \end_inset
14080 </cell>
14081 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14082 \begin_inset Text
14083
14084 \begin_layout Standard
14085
14086 \end_layout
14087
14088 \end_inset
14089 </cell>
14090 </row>
14091 <row topline="true">
14092 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14093 \begin_inset Text
14094
14095 \begin_layout Standard
14096
14097 \end_layout
14098
14099 \end_inset
14100 </cell>
14101 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14102 \begin_inset Text
14103
14104 \begin_layout Standard
14105 sd
14106 \end_layout
14107
14108 \end_inset
14109 </cell>
14110 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14111 \begin_inset Text
14112
14113 \begin_layout Standard
14114
14115 \end_layout
14116
14117 \end_inset
14118 </cell>
14119 </row>
14120 <row topline="true" bottomline="true">
14121 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14122 \begin_inset Text
14123
14124 \begin_layout Standard
14125
14126 \end_layout
14127
14128 \end_inset
14129 </cell>
14130 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14131 \begin_inset Text
14132
14133 \begin_layout Standard
14134
14135 \end_layout
14136
14137 \end_inset
14138 </cell>
14139 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14140 \begin_inset Text
14141
14142 \begin_layout Standard
14143 sd
14144 \end_layout
14145
14146 \end_inset
14147 </cell>
14148 </row>
14149 </lyxtabular>
14150
14151 \end_inset
14152
14153
14154 \end_layout
14155
14156 \end_inset
14157
14158
14159 \end_layout
14160
14161 \begin_layout Standard
14162 \begin_inset VSpace bigskip
14163 \end_inset
14164
14165 To color horizontal lines for example with red, like in Table\InsetSpace ~
14166
14167 \begin_inset LatexCommand ref
14168 reference "tab:Table-with-horizontal-colored"
14169
14170 \end_inset
14171
14172 , insert these commands in ERT before the table or table float:
14173 \end_layout
14174
14175 \begin_layout Standard
14176
14177 \series bold
14178
14179 \backslash
14180 let
14181 \backslash
14182 myHlineC
14183 \backslash
14184 hline
14185 \newline
14186
14187 \backslash
14188 renewcommand{
14189 \backslash
14190 hline}{
14191 \backslash
14192 arrayrulecolor{red}
14193 \backslash
14194 myHlineC
14195 \backslash
14196 arrayrulecolor{black}}
14197 \end_layout
14198
14199 \begin_layout Standard
14200 \begin_inset ERT
14201 status collapsed
14202
14203 \begin_layout Standard
14204
14205
14206 \backslash
14207 let
14208 \backslash
14209 myHlineC
14210 \backslash
14211 hline
14212 \end_layout
14213
14214 \begin_layout Standard
14215
14216
14217 \backslash
14218 renewcommand{
14219 \backslash
14220 hline}{
14221 \backslash
14222 arrayrulecolor{red}
14223 \backslash
14224 myHlineC
14225 \backslash
14226 arrayrulecolor{black}}
14227 \end_layout
14228
14229 \end_inset
14230
14231
14232 \begin_inset Float table
14233 wide false
14234 sideways false
14235 status open
14236
14237 \begin_layout Standard
14238 \begin_inset Caption
14239
14240 \begin_layout Standard
14241 \begin_inset LatexCommand label
14242 name "tab:Table-with-horizontal-colored"
14243
14244 \end_inset
14245
14246 Table with colored horizontal lines
14247 \end_layout
14248
14249 \end_inset
14250
14251
14252 \end_layout
14253
14254 \begin_layout Standard
14255 \align center
14256 \begin_inset Tabular
14257 <lyxtabular version="3" rows="3" columns="3">
14258 <features>
14259 <column alignment="center" valignment="top" leftline="true" width="0">
14260 <column alignment="center" valignment="top" leftline="true" width="0">
14261 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14262 <row topline="true">
14263 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14264 \begin_inset Text
14265
14266 \begin_layout Standard
14267 sd
14268 \end_layout
14269
14270 \end_inset
14271 </cell>
14272 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14273 \begin_inset Text
14274
14275 \begin_layout Standard
14276
14277 \end_layout
14278
14279 \end_inset
14280 </cell>
14281 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14282 \begin_inset Text
14283
14284 \begin_layout Standard
14285
14286 \end_layout
14287
14288 \end_inset
14289 </cell>
14290 </row>
14291 <row topline="true">
14292 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14293 \begin_inset Text
14294
14295 \begin_layout Standard
14296
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 Standard
14305 sd
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 Standard
14314
14315 \end_layout
14316
14317 \end_inset
14318 </cell>
14319 </row>
14320 <row topline="true" bottomline="true">
14321 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14322 \begin_inset Text
14323
14324 \begin_layout Standard
14325
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 Standard
14334
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 Standard
14343 sd
14344 \end_layout
14345
14346 \end_inset
14347 </cell>
14348 </row>
14349 </lyxtabular>
14350
14351 \end_inset
14352
14353
14354 \end_layout
14355
14356 \end_inset
14357
14358
14359 \end_layout
14360
14361 \begin_layout Standard
14362 \begin_inset ERT
14363 status collapsed
14364
14365 \begin_layout Standard
14366
14367
14368 \backslash
14369 pagebreak 
14370 \end_layout
14371
14372 \end_inset
14373
14374
14375 \end_layout
14376
14377 \begin_layout Standard
14378 To return to the default line color black, insert this command in ERT behind
14379  the table or table float:
14380 \end_layout
14381
14382 \begin_layout Standard
14383
14384 \series bold
14385
14386 \backslash
14387 renewcommand{
14388 \backslash
14389 hline}{
14390 \backslash
14391 myHlineC}
14392 \end_layout
14393
14394 \begin_layout Standard
14395 Table\InsetSpace ~
14396
14397 \begin_inset LatexCommand ref
14398 reference "tab:Table-with-colored"
14399
14400 \end_inset
14401
14402  is an example with colored vertical and horizontal lines.
14403 \end_layout
14404
14405 \begin_layout Standard
14406 \begin_inset Float table
14407 wide false
14408 sideways false
14409 status open
14410
14411 \begin_layout Standard
14412 \begin_inset Caption
14413
14414 \begin_layout Standard
14415 \begin_inset LatexCommand label
14416 name "tab:Table-with-colored"
14417
14418 \end_inset
14419
14420 Table with colored lines
14421 \end_layout
14422
14423 \end_inset
14424
14425
14426 \end_layout
14427
14428 \begin_layout Standard
14429 \align center
14430 \begin_inset Tabular
14431 <lyxtabular version="3" rows="3" columns="3">
14432 <features>
14433 <column alignment="center" valignment="top" leftline="true" width="0" special="Wc">
14434 <column alignment="center" valignment="top" width="0" special="Wc">
14435 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0" special="WcW">
14436 <row topline="true">
14437 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14438 \begin_inset Text
14439
14440 \begin_layout Standard
14441 sd
14442 \end_layout
14443
14444 \end_inset
14445 </cell>
14446 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14447 \begin_inset Text
14448
14449 \begin_layout Standard
14450
14451 \end_layout
14452
14453 \end_inset
14454 </cell>
14455 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14456 \begin_inset Text
14457
14458 \begin_layout Standard
14459
14460 \end_layout
14461
14462 \end_inset
14463 </cell>
14464 </row>
14465 <row topline="true">
14466 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14467 \begin_inset Text
14468
14469 \begin_layout Standard
14470
14471 \end_layout
14472
14473 \end_inset
14474 </cell>
14475 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14476 \begin_inset Text
14477
14478 \begin_layout Standard
14479 sd
14480 \end_layout
14481
14482 \end_inset
14483 </cell>
14484 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14485 \begin_inset Text
14486
14487 \begin_layout Standard
14488
14489 \end_layout
14490
14491 \end_inset
14492 </cell>
14493 </row>
14494 <row topline="true" bottomline="true" topspace="default">
14495 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14496 \begin_inset Text
14497
14498 \begin_layout Standard
14499
14500 \end_layout
14501
14502 \end_inset
14503 </cell>
14504 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14505 \begin_inset Text
14506
14507 \begin_layout Standard
14508
14509 \end_layout
14510
14511 \end_inset
14512 </cell>
14513 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14514 \begin_inset Text
14515
14516 \begin_layout Standard
14517 sd
14518 \end_layout
14519
14520 \end_inset
14521 </cell>
14522 </row>
14523 </lyxtabular>
14524
14525 \end_inset
14526
14527
14528 \end_layout
14529
14530 \end_inset
14531
14532
14533 \end_layout
14534
14535 \begin_layout Standard
14536 \begin_inset ERT
14537 status collapsed
14538
14539 \begin_layout Standard
14540
14541
14542 \backslash
14543 renewcommand{
14544 \backslash
14545 hline}{
14546 \backslash
14547 myHlineC}
14548 \end_layout
14549
14550 \end_inset
14551
14552
14553 \end_layout
14554
14555 \begin_layout Standard
14556 \begin_inset ERT
14557 status collapsed
14558
14559 \begin_layout Standard
14560
14561
14562 \backslash
14563 setlength{
14564 \backslash
14565 arrayrulewidth}{0.4pt}
14566 \end_layout
14567
14568 \end_inset
14569
14570
14571 \end_layout
14572
14573 \begin_layout Section
14574 Table Customization
14575 \begin_inset LatexCommand index
14576 name "Table Customization"
14577
14578 \end_inset
14579
14580
14581 \begin_inset LatexCommand index
14582 name "Table ! Customization"
14583
14584 \end_inset
14585
14586
14587 \end_layout
14588
14589 \begin_layout Subsection
14590 Row Spacing
14591 \begin_inset LatexCommand label
14592 name "sub:Row-Spacing"
14593
14594 \end_inset
14595
14596
14597 \begin_inset LatexCommand index
14598 name "Table Customization ! Row Spacing"
14599
14600 \end_inset
14601
14602
14603 \end_layout
14604
14605 \begin_layout Standard
14606 You can add vertical space to table rows in the 
14607 \family sans
14608 Borders
14609 \family default
14610  tab of the table dialog.
14611  You find there three possibilities:
14612 \end_layout
14613
14614 \begin_layout Description
14615 Top\InsetSpace ~
14616 of\InsetSpace ~
14617 row will add space above the characters of the table row.
14618  If the table is a formal table
14619 \begin_inset Foot
14620 status collapsed
14621
14622 \begin_layout Standard
14623 Formal tables are explained in section\InsetSpace ~
14624
14625 \begin_inset LatexCommand ref
14626 reference "sec:Formal-Tables"
14627
14628 \end_inset
14629
14630 .
14631 \end_layout
14632
14633 \end_inset
14634
14635  LyX will insert as default 0.5\InsetSpace \thinspace{}
14636 em space.
14637  For normal tables the inserted space will unfortunately destroy the vertical
14638  table lines as in the following table: 
14639 \begin_inset Tabular
14640 <lyxtabular version="3" rows="3" columns="1">
14641 <features>
14642 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14643 <row topline="true">
14644 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14645 \begin_inset Text
14646
14647 \begin_layout Standard
14648 A
14649 \end_layout
14650
14651 \end_inset
14652 </cell>
14653 </row>
14654 <row topline="true" topspace="3mm">
14655 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14656 \begin_inset Text
14657
14658 \begin_layout Standard
14659 3\InsetSpace \thinspace{}
14660 mm space top of row
14661 \end_layout
14662
14663 \end_inset
14664 </cell>
14665 </row>
14666 <row topline="true" bottomline="true">
14667 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14668 \begin_inset Text
14669
14670 \begin_layout Standard
14671 C
14672 \end_layout
14673
14674 \end_inset
14675 </cell>
14676 </row>
14677 </lyxtabular>
14678
14679 \end_inset
14680
14681
14682 \newline
14683 So inserting space to the top of row for normal tables is only useful when
14684  you don't have vertical lines.
14685 \end_layout
14686
14687 \begin_layout Description
14688 Bottom\InsetSpace ~
14689 of\InsetSpace ~
14690 row will add space below the characters of the table row.
14691  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14692 em space, for
14693  normal tables the default size is 2\InsetSpace \thinspace{}
14694 pt.
14695 \end_layout
14696
14697 \begin_layout Description
14698 Between\InsetSpace ~
14699 rows only has an effect when you have selected the whole table row
14700  before.
14701  The space is added between the current and the following row.
14702  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14703 em space.
14704  For normal tables the inserted space will unfortunately destroy the vertical
14705  table lines as in the following table: 
14706 \begin_inset Tabular
14707 <lyxtabular version="3" rows="3" columns="1">
14708 <features>
14709 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14710 <row topline="true">
14711 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14712 \begin_inset Text
14713
14714 \begin_layout Standard
14715 A
14716 \end_layout
14717
14718 \end_inset
14719 </cell>
14720 </row>
14721 <row topline="true" interlinespace="3mm">
14722 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14723 \begin_inset Text
14724
14725 \begin_layout Standard
14726 \begin_inset Formula $\downarrow$
14727 \end_inset
14728
14729  3\InsetSpace \thinspace{}
14730 mm space between row 
14731 \begin_inset Formula $\downarrow$
14732 \end_inset
14733
14734
14735 \end_layout
14736
14737 \end_inset
14738 </cell>
14739 </row>
14740 <row topline="true" bottomline="true">
14741 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14742 \begin_inset Text
14743
14744 \begin_layout Standard
14745 \begin_inset Formula $\uparrow$
14746 \end_inset
14747
14748  3\InsetSpace \thinspace{}
14749 mm space between row 
14750 \begin_inset Formula $\uparrow$
14751 \end_inset
14752
14753
14754 \end_layout
14755
14756 \end_inset
14757 </cell>
14758 </row>
14759 </lyxtabular>
14760
14761 \end_inset
14762
14763
14764 \newline
14765 So inserting space to the top of row for normal tables is only useful when
14766  you don't have vertical lines.
14767 \end_layout
14768
14769 \begin_layout Standard
14770 When you want to add extra height to all cells of all tables, you can do
14771  this with the following preamble line:
14772 \end_layout
14773
14774 \begin_layout Standard
14775
14776 \series bold
14777
14778 \backslash
14779 setlength{
14780 \backslash
14781 extrarowheight}{height}
14782 \end_layout
14783
14784 \begin_layout Standard
14785 But this has the disadvantage that the cell texts are no longer exactly
14786  vertically centered.
14787 \end_layout
14788
14789 \begin_layout Subsection
14790 Special Cell Alignment
14791 \begin_inset LatexCommand index
14792 name "Table Customization ! Special Cell Alignment"
14793
14794 \end_inset
14795
14796
14797 \end_layout
14798
14799 \begin_layout Standard
14800 Sometimes it looks better when the cell entries of a column are aligned
14801  with a special character, e.\InsetSpace \thinspace{}
14802 g.\InsetSpace ~
14803 with the decimal separator as in Table\InsetSpace ~
14804
14805 \begin_inset LatexCommand ref
14806 reference "tab:Table-cells-of"
14807
14808 \end_inset
14809
14810 .
14811 \end_layout
14812
14813 \begin_layout Standard
14814 \begin_inset Float table
14815 placement h
14816 wide false
14817 sideways false
14818 status open
14819
14820 \begin_layout Standard
14821 \begin_inset Caption
14822
14823 \begin_layout Standard
14824 \begin_inset LatexCommand label
14825 name "tab:Table-cells-of"
14826
14827 \end_inset
14828
14829 Table cells of a column aligned with the decimal separator.
14830 \end_layout
14831
14832 \end_inset
14833
14834
14835 \end_layout
14836
14837 \begin_layout Standard
14838 \align center
14839 \begin_inset Tabular
14840 <lyxtabular version="3" rows="4" columns="2">
14841 <features>
14842 <column alignment="right" valignment="top" width="0">
14843 <column alignment="left" valignment="top" width="0" special="@{}l">
14844 <row bottomline="true">
14845 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
14846 \begin_inset Text
14847
14848 \begin_layout Standard
14849 heading
14850 \end_layout
14851
14852 \end_inset
14853 </cell>
14854 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14855 \begin_inset Text
14856
14857 \begin_layout Standard
14858
14859 \end_layout
14860
14861 \end_inset
14862 </cell>
14863 </row>
14864 <row>
14865 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14866 \begin_inset Text
14867
14868 \begin_layout Standard
14869 12.
14870 \end_layout
14871
14872 \end_inset
14873 </cell>
14874 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14875 \begin_inset Text
14876
14877 \begin_layout Standard
14878 6
14879 \end_layout
14880
14881 \end_inset
14882 </cell>
14883 </row>
14884 <row>
14885 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14886 \begin_inset Text
14887
14888 \begin_layout Standard
14889 0.
14890 \end_layout
14891
14892 \end_inset
14893 </cell>
14894 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14895 \begin_inset Text
14896
14897 \begin_layout Standard
14898 68
14899 \end_layout
14900
14901 \end_inset
14902 </cell>
14903 </row>
14904 <row>
14905 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14906 \begin_inset Text
14907
14908 \begin_layout Standard
14909 -123.
14910 \end_layout
14911
14912 \end_inset
14913 </cell>
14914 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14915 \begin_inset Text
14916
14917 \begin_layout Standard
14918 0
14919 \end_layout
14920
14921 \end_inset
14922 </cell>
14923 </row>
14924 </lyxtabular>
14925
14926 \end_inset
14927
14928
14929 \end_layout
14930
14931 \end_inset
14932
14933
14934 \end_layout
14935
14936 \begin_layout Standard
14937 This table was created with a 4×2 table.
14938  The heading is a centered multicolumn.
14939  The first column is right-aligned and contains the digits before the decimal
14940  point and the decimal point.
14941  The second column is left aligned and contains the digits after the decimal
14942  point.
14943  To omit the space that is normally between two table columns, use the following
14944  LaTeX-argument for the second column:
14945 \end_layout
14946
14947 \begin_layout Standard
14948
14949 \series bold
14950 @{}l
14951 \end_layout
14952
14953 \begin_layout Standard
14954 If you need a vertical line right beside the second column, use this LaTeX-argum
14955 ent instead: 
14956 \series bold
14957 @{}l|
14958 \end_layout
14959
14960 \begin_layout Standard
14961 Table\InsetSpace ~
14962
14963 \begin_inset LatexCommand ref
14964 reference "tab:Several-table-cell"
14965
14966 \end_inset
14967
14968  shows some example alignments.
14969  For the alignment with the relation sign, you must add the second smallest
14970  math-space at the beginning of the last column to get the correct space
14971  surrounding the relation sign.
14972 \end_layout
14973
14974 \begin_layout Standard
14975 \begin_inset Float table
14976 wide false
14977 sideways false
14978 status open
14979
14980 \begin_layout Standard
14981 \begin_inset Caption
14982
14983 \begin_layout Standard
14984 \begin_inset LatexCommand label
14985 name "tab:Several-table-cell"
14986
14987 \end_inset
14988
14989 Several table cell alignments.
14990 \end_layout
14991
14992 \end_inset
14993
14994
14995 \end_layout
14996
14997 \begin_layout Standard
14998 \align center
14999 \begin_inset Tabular
15000 <lyxtabular version="3" rows="4" columns="6">
15001 <features>
15002 <column alignment="right" valignment="top" width="0">
15003 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l|">
15004 <column alignment="right" valignment="top" width="0">
15005 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l|">
15006 <column alignment="right" valignment="top" width="0">
15007 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15008 <row bottomline="true">
15009 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15010 \begin_inset Text
15011
15012 \begin_layout Standard
15013 units
15014 \end_layout
15015
15016 \end_inset
15017 </cell>
15018 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15019 \begin_inset Text
15020
15021 \begin_layout Standard
15022
15023 \end_layout
15024
15025 \end_inset
15026 </cell>
15027 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15028 \begin_inset Text
15029
15030 \begin_layout Standard
15031 exponents
15032 \end_layout
15033
15034 \end_inset
15035 </cell>
15036 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15037 \begin_inset Text
15038
15039 \begin_layout Standard
15040
15041 \end_layout
15042
15043 \end_inset
15044 </cell>
15045 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15046 \begin_inset Text
15047
15048 \begin_layout Standard
15049 relations
15050 \end_layout
15051
15052 \end_inset
15053 </cell>
15054 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15055 \begin_inset Text
15056
15057 \begin_layout Standard
15058
15059 \end_layout
15060
15061 \end_inset
15062 </cell>
15063 </row>
15064 <row>
15065 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15066 \begin_inset Text
15067
15068 \begin_layout Standard
15069 12×
15070 \end_layout
15071
15072 \end_inset
15073 </cell>
15074 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15075 \begin_inset Text
15076
15077 \begin_layout Standard
15078 24\InsetSpace \thinspace{}
15079 bottles
15080 \end_layout
15081
15082 \end_inset
15083 </cell>
15084 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15085 \begin_inset Text
15086
15087 \begin_layout Standard
15088 \begin_inset Formula $10\cdot$
15089 \end_inset
15090
15091
15092 \end_layout
15093
15094 \end_inset
15095 </cell>
15096 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15097 \begin_inset Text
15098
15099 \begin_layout Standard
15100 \begin_inset Formula $10^{\mbox{-}17}$
15101 \end_inset
15102
15103
15104 \end_layout
15105
15106 \end_inset
15107 </cell>
15108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15109 \begin_inset Text
15110
15111 \begin_layout Standard
15112 \begin_inset Formula $\Gamma(t)\propto$
15113 \end_inset
15114
15115
15116 \end_layout
15117
15118 \end_inset
15119 </cell>
15120 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15121 \begin_inset Text
15122
15123 \begin_layout Standard
15124 \begin_inset Formula $\:\Upsilon(t)$
15125 \end_inset
15126
15127
15128 \end_layout
15129
15130 \end_inset
15131 </cell>
15132 </row>
15133 <row>
15134 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15135 \begin_inset Text
15136
15137 \begin_layout Standard
15138 1024×
15139 \end_layout
15140
15141 \end_inset
15142 </cell>
15143 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15144 \begin_inset Text
15145
15146 \begin_layout Standard
15147 768\InsetSpace \thinspace{}
15148 Pixels
15149 \end_layout
15150
15151 \end_inset
15152 </cell>
15153 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15154 \begin_inset Text
15155
15156 \begin_layout Standard
15157 \begin_inset Formula $5.78\cdot$
15158 \end_inset
15159
15160
15161 \end_layout
15162
15163 \end_inset
15164 </cell>
15165 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15166 \begin_inset Text
15167
15168 \begin_layout Standard
15169 \begin_inset Formula $10^{7}$
15170 \end_inset
15171
15172
15173 \end_layout
15174
15175 \end_inset
15176 </cell>
15177 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15178 \begin_inset Text
15179
15180 \begin_layout Standard
15181 \begin_inset Formula $A\ne$
15182 \end_inset
15183
15184
15185 \end_layout
15186
15187 \end_inset
15188 </cell>
15189 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15190 \begin_inset Text
15191
15192 \begin_layout Standard
15193 \begin_inset Formula $\: B_{\mathrm{red}}$
15194 \end_inset
15195
15196
15197 \end_layout
15198
15199 \end_inset
15200 </cell>
15201 </row>
15202 <row>
15203 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15204 \begin_inset Text
15205
15206 \begin_layout Standard
15207 32×
15208 \end_layout
15209
15210 \end_inset
15211 </cell>
15212 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15213 \begin_inset Text
15214
15215 \begin_layout Standard
15216 6\InsetSpace \thinspace{}
15217 cm
15218 \end_layout
15219
15220 \end_inset
15221 </cell>
15222 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15223 \begin_inset Text
15224
15225 \begin_layout Standard
15226 -
15227 \begin_inset Formula $33.5\cdot$
15228 \end_inset
15229
15230
15231 \end_layout
15232
15233 \end_inset
15234 </cell>
15235 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15236 \begin_inset Text
15237
15238 \begin_layout Standard
15239 \begin_inset Formula $10^{4}$
15240 \end_inset
15241
15242
15243 \end_layout
15244
15245 \end_inset
15246 </cell>
15247 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15248 \begin_inset Text
15249
15250 \begin_layout Standard
15251 \begin_inset Formula $\sin(\alpha)\ge$
15252 \end_inset
15253
15254
15255 \end_layout
15256
15257 \end_inset
15258 </cell>
15259 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15260 \begin_inset Text
15261
15262 \begin_layout Standard
15263 \begin_inset Formula $\:\sin(\beta)$
15264 \end_inset
15265
15266
15267 \end_layout
15268
15269 \end_inset
15270 </cell>
15271 </row>
15272 </lyxtabular>
15273
15274 \end_inset
15275
15276
15277 \end_layout
15278
15279 \end_inset
15280
15281
15282 \end_layout
15283
15284 \begin_layout Standard
15285 \begin_inset VSpace bigskip
15286 \end_inset
15287
15288 There is also the LaTeX-package 
15289 \series bold
15290 dcolumn
15291 \series default
15292
15293 \begin_inset LatexCommand index
15294 name "LaTeX-packages ! dcolumn"
15295
15296 \end_inset
15297
15298  that provides table cell alignments.
15299  But this unfortunately treats the cell entries as math and doesn't allow
15300  formulas in table cells: The first column of Table\InsetSpace ~
15301
15302 \begin_inset LatexCommand ref
15303 reference "tab:Several-table-cell"
15304
15305 \end_inset
15306
15307  will look with 
15308 \series bold
15309 dcolumn
15310 \series default
15311  like the first column in Table\InsetSpace ~
15312
15313 \begin_inset LatexCommand ref
15314 reference "tab:Alignments-when"
15315
15316 \end_inset
15317
15318  and only with some tricks like the expected.
15319  The alignment of the second and third column of Table\InsetSpace ~
15320
15321 \begin_inset LatexCommand ref
15322 reference "tab:Several-table-cell"
15323
15324 \end_inset
15325
15326  is not possible with 
15327 \series bold
15328 dcolumn
15329 \series default
15330 .
15331 \end_layout
15332
15333 \begin_layout Standard
15334 \begin_inset Float table
15335 placement h
15336 wide false
15337 sideways false
15338 status open
15339
15340 \begin_layout Standard
15341 \begin_inset Caption
15342
15343 \begin_layout Standard
15344 \begin_inset LatexCommand label
15345 name "tab:Alignments-when"
15346
15347 \end_inset
15348
15349 Alignments when LaTeX-package dcolumn is used.
15350  For the second and third alignment some tricks were used.
15351 \end_layout
15352
15353 \end_inset
15354
15355
15356 \end_layout
15357
15358 \begin_layout Standard
15359 \align center
15360 \begin_inset Tabular
15361 <lyxtabular version="3" rows="4" columns="3">
15362 <features>
15363 <column alignment="center" valignment="top" rightline="true" width="0" special="D{×}{\times}{-1}|">
15364 <column alignment="center" valignment="top" width="0" special="D{×}{\times}{4.9}|">
15365 <column alignment="center" valignment="top" rightline="true" width="0" special="D{~}{\,}{9.7}">
15366 <row bottomline="true">
15367 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15368 \begin_inset Text
15369
15370 \begin_layout Standard
15371 units
15372 \end_layout
15373
15374 \end_inset
15375 </cell>
15376 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15377 \begin_inset Text
15378
15379 \begin_layout Standard
15380 units
15381 \end_layout
15382
15383 \end_inset
15384 </cell>
15385 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15386 \begin_inset Text
15387
15388 \begin_layout Standard
15389 units
15390 \end_layout
15391
15392 \end_inset
15393 </cell>
15394 </row>
15395 <row>
15396 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15397 \begin_inset Text
15398
15399 \begin_layout Standard
15400 12×24\InsetSpace \thinspace{}
15401 bottles
15402 \end_layout
15403
15404 \end_inset
15405 </cell>
15406 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15407 \begin_inset Text
15408
15409 \begin_layout Standard
15410 12×24\InsetSpace \thinspace{}
15411
15412 \begin_inset Formula $\mbox{bottles}$
15413 \end_inset
15414
15415
15416 \end_layout
15417
15418 \end_inset
15419 </cell>
15420 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15421 \begin_inset Text
15422
15423 \begin_layout Standard
15424 12×24~
15425 \begin_inset Formula $\mbox{bottles}$
15426 \end_inset
15427
15428
15429 \end_layout
15430
15431 \end_inset
15432 </cell>
15433 </row>
15434 <row>
15435 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15436 \begin_inset Text
15437
15438 \begin_layout Standard
15439 1024×768\InsetSpace \thinspace{}
15440 Pixels
15441 \end_layout
15442
15443 \end_inset
15444 </cell>
15445 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15446 \begin_inset Text
15447
15448 \begin_layout Standard
15449 1024×768\InsetSpace \thinspace{}
15450
15451 \begin_inset Formula $\mbox{Pixels}$
15452 \end_inset
15453
15454
15455 \end_layout
15456
15457 \end_inset
15458 </cell>
15459 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15460 \begin_inset Text
15461
15462 \begin_layout Standard
15463 1024×768~
15464 \begin_inset Formula $\mbox{Pixels}$
15465 \end_inset
15466
15467
15468 \end_layout
15469
15470 \end_inset
15471 </cell>
15472 </row>
15473 <row>
15474 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15475 \begin_inset Text
15476
15477 \begin_layout Standard
15478 32×6\InsetSpace \thinspace{}
15479 cm
15480 \end_layout
15481
15482 \end_inset
15483 </cell>
15484 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15485 \begin_inset Text
15486
15487 \begin_layout Standard
15488 32×6\InsetSpace \thinspace{}
15489
15490 \begin_inset Formula $\mbox{cm}$
15491 \end_inset
15492
15493
15494 \end_layout
15495
15496 \end_inset
15497 </cell>
15498 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15499 \begin_inset Text
15500
15501 \begin_layout Standard
15502 32×6~
15503 \begin_inset Formula $\mbox{cm}$
15504 \end_inset
15505
15506
15507 \end_layout
15508
15509 \end_inset
15510 </cell>
15511 </row>
15512 </lyxtabular>
15513
15514 \end_inset
15515
15516
15517 \end_layout
15518
15519 \end_inset
15520
15521
15522 \end_layout
15523
15524 \begin_layout Subsection
15525 Customized Cell/Column Format
15526 \begin_inset LatexCommand label
15527 name "sub:Customized-Format"
15528
15529 \end_inset
15530
15531
15532 \begin_inset LatexCommand index
15533 name "Table Customization ! Cell/Column Format"
15534
15535 \end_inset
15536
15537
15538 \end_layout
15539
15540 \begin_layout Standard
15541 Calculating the needed width for spanned columns like in section\InsetSpace ~
15542
15543 \begin_inset LatexCommand ref
15544 reference "sub:Multicolumn-Calculations"
15545
15546 \end_inset
15547
15548  is very annoying if you have several tables with multicolumn cells.
15549  To make life easier, you can define a cell/column format in the preamble,
15550  so that it can be used in all tables of the document.
15551  The format is defined with the command
15552 \end_layout
15553
15554 \begin_layout Standard
15555
15556 \series bold
15557
15558 \backslash
15559 newcolumntype{name of format}[number of arguments]{commands}
15560 \end_layout
15561
15562 \begin_layout Standard
15563 The format name may only consist of one letter.
15564  The letters 
15565 \emph on
15566 b
15567 \emph default
15568
15569 \emph on
15570 c
15571 \emph default
15572
15573 \emph on
15574 l
15575 \emph default
15576
15577 \emph on
15578 m
15579 \emph default
15580
15581 \emph on
15582 p
15583 \emph default
15584  and 
15585 \emph on
15586 r
15587 \emph default
15588  are predefined and cannot be used.
15589  But all letters are allowed as capitals.
15590 \end_layout
15591
15592 \begin_layout Standard
15593 \begin_inset VSpace medskip
15594 \end_inset
15595
15596
15597 \end_layout
15598
15599 \begin_layout Standard
15600 For vertically and horizontally centered multicolumn cells with a fixed
15601  width you can define the cell format
15602 \end_layout
15603
15604 \begin_layout Standard
15605
15606 \series bold
15607
15608 \backslash
15609 newcolumntype{M}[1]{>{
15610 \backslash
15611 centering
15612 \backslash
15613 hspace{0pt}}m{#1}}
15614 \end_layout
15615
15616 \begin_layout Standard
15617 where 
15618 \series bold
15619
15620 \backslash
15621 hspace{0pt}
15622 \series default
15623  avoids the problem of hyphenating the first word, as described in section\InsetSpace ~
15624
15625 \begin_inset LatexCommand ref
15626 reference "sub:Multiple-Lines-in"
15627
15628 \end_inset
15629
15630 .
15631  Now you can simply enter
15632 \end_layout
15633
15634 \begin_layout Standard
15635
15636 \series bold
15637 |M{width}
15638 \end_layout
15639
15640 \begin_layout Standard
15641 as LaTeX-argument in the table dialog to create a multicolumn.
15642 \end_layout
15643
15644 \begin_layout Standard
15645 \begin_inset VSpace bigskip
15646 \end_inset
15647
15648
15649 \end_layout
15650
15651 \begin_layout Standard
15652 For cells spanned by a multicolumn cell, you can define the format
15653 \end_layout
15654
15655 \begin_layout Standard
15656
15657 \series bold
15658
15659 \backslash
15660 newcolumntype{S}[2]{>{
15661 \backslash
15662 centering
15663 \backslash
15664 hspace{0pt}}
15665 \newline
15666
15667 \begin_inset ERT
15668 status collapsed
15669
15670 \begin_layout Standard
15671
15672
15673 \backslash
15674 phantom{
15675 \end_layout
15676
15677 \end_inset
15678
15679
15680 \backslash
15681 newcolumntype{S}[2]
15682 \begin_inset ERT
15683 status collapsed
15684
15685 \begin_layout Standard
15686
15687 }
15688 \end_layout
15689
15690 \end_inset
15691
15692 m{(#1+(2
15693 \backslash
15694 tabcolsep+
15695 \backslash
15696 arrayrulewidth)*(1-#2))/#2}}
15697 \end_layout
15698
15699 \begin_layout Standard
15700 This format uses equation 
15701 \begin_inset LatexCommand eqref
15702 reference "eq:Wgn"
15703
15704 \end_inset
15705
15706  to calculate the needed width so that each spanned cell has the same width.
15707 \end_layout
15708
15709 \begin_layout Standard
15710 You can now enter
15711 \end_layout
15712
15713 \begin_layout Standard
15714
15715 \series bold
15716 |S{width of multicolumn cell}{number of spanned columns}
15717 \end_layout
15718
15719 \begin_layout Standard
15720 as LaTeX-argument of the column.
15721 \end_layout
15722
15723 \begin_layout Standard
15724 \begin_inset VSpace bigskip
15725 \end_inset
15726
15727
15728 \end_layout
15729
15730 \begin_layout Standard
15731 For colored columns, you can define
15732 \end_layout
15733
15734 \begin_layout Standard
15735
15736 \series bold
15737
15738 \backslash
15739 newcolumntype{K}[1]{>{
15740 \backslash
15741 columncolor{#1}
15742 \backslash
15743 hspace{0pt}}c}
15744 \end_layout
15745
15746 \begin_layout Standard
15747 The 
15748 \begin_inset Quotes eld
15749 \end_inset
15750
15751 c
15752 \begin_inset Quotes erd
15753 \end_inset
15754
15755  at the end creates a column with a flexible width whose text is horizontally
15756  centered.
15757  You can now enter
15758 \end_layout
15759
15760 \begin_layout Standard
15761
15762 \series bold
15763 K{color name}
15764 \end_layout
15765
15766 \begin_layout Standard
15767 as LaTeX-argument.
15768 \end_layout
15769
15770 \begin_layout Standard
15771 \begin_inset VSpace bigskip
15772 \end_inset
15773
15774
15775 \end_layout
15776
15777 \begin_layout Standard
15778 To create Table\InsetSpace ~
15779
15780 \begin_inset LatexCommand ref
15781 reference "tab:Table-using-user-defined"
15782
15783 \end_inset
15784
15785  use the LaTeX-arguments
15786 \end_layout
15787
15788 \begin_layout Standard
15789
15790 \series bold
15791 |M{2.5cm}
15792 \end_layout
15793
15794 \begin_layout Standard
15795 for the first column and the multicolumn,
15796 \end_layout
15797
15798 \begin_layout Standard
15799
15800 \series bold
15801 |K{red}|
15802 \end_layout
15803
15804 \begin_layout Standard
15805 for the the last column, and
15806 \end_layout
15807
15808 \begin_layout Standard
15809
15810 \series bold
15811 |S{2.5cm}{2}
15812 \end_layout
15813
15814 \begin_layout Standard
15815 for the cells in the second column.
15816 \end_layout
15817
15818 \begin_layout Standard
15819 \begin_inset Float table
15820 placement h
15821 wide false
15822 sideways false
15823 status open
15824
15825 \begin_layout Standard
15826 \begin_inset Caption
15827
15828 \begin_layout Standard
15829 \begin_inset LatexCommand label
15830 name "tab:Table-using-user-defined"
15831
15832 \end_inset
15833
15834 Table using user-defined table formats
15835 \end_layout
15836
15837 \end_inset
15838
15839
15840 \end_layout
15841
15842 \begin_layout Standard
15843 \align center
15844 \begin_inset Tabular
15845 <lyxtabular version="3" rows="3" columns="4">
15846 <features>
15847 <column alignment="center" valignment="middle" leftline="true" width="2.5cm" special="|M{2.5cm}">
15848 <column alignment="center" valignment="middle" leftline="true" width="0" special="|S{2.5cm}{2}">
15849 <column alignment="center" valignment="middle" leftline="true" width="0">
15850 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0" special="|K{red}|">
15851 <row topline="true">
15852 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15853 \begin_inset Text
15854
15855 \begin_layout Standard
15856 verylongtablecellword
15857 \end_layout
15858
15859 \end_inset
15860 </cell>
15861 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none" special="M{2.5cm}|">
15862 \begin_inset Text
15863
15864 \begin_layout Standard
15865 multiple lines multicolumn
15866 \end_layout
15867
15868 \end_inset
15869 </cell>
15870 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15871 \begin_inset Text
15872
15873 \begin_layout Standard
15874
15875 \end_layout
15876
15877 \end_inset
15878 </cell>
15879 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15880 \begin_inset Text
15881
15882 \begin_layout Standard
15883 c
15884 \end_layout
15885
15886 \end_inset
15887 </cell>
15888 </row>
15889 <row topline="true">
15890 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15891 \begin_inset Text
15892
15893 \begin_layout Standard
15894 d
15895 \end_layout
15896
15897 \end_inset
15898 </cell>
15899 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15900 \begin_inset Text
15901
15902 \begin_layout Standard
15903 e
15904 \end_layout
15905
15906 \end_inset
15907 </cell>
15908 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15909 \begin_inset Text
15910
15911 \begin_layout Standard
15912 f
15913 \end_layout
15914
15915 \end_inset
15916 </cell>
15917 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15918 \begin_inset Text
15919
15920 \begin_layout Standard
15921 g
15922 \end_layout
15923
15924 \end_inset
15925 </cell>
15926 </row>
15927 <row topline="true" bottomline="true">
15928 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15929 \begin_inset Text
15930
15931 \begin_layout Standard
15932 h
15933 \end_layout
15934
15935 \end_inset
15936 </cell>
15937 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15938 \begin_inset Text
15939
15940 \begin_layout Standard
15941 i
15942 \end_layout
15943
15944 \end_inset
15945 </cell>
15946 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15947 \begin_inset Text
15948
15949 \begin_layout Standard
15950 j
15951 \end_layout
15952
15953 \end_inset
15954 </cell>
15955 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15956 \begin_inset Text
15957
15958 \begin_layout Standard
15959 k
15960 \end_layout
15961
15962 \end_inset
15963 </cell>
15964 </row>
15965 </lyxtabular>
15966
15967 \end_inset
15968
15969
15970 \end_layout
15971
15972 \end_inset
15973
15974
15975 \end_layout
15976
15977 \begin_layout Subsection
15978 Line Thickness
15979 \begin_inset LatexCommand label
15980 name "sub:Line-Thickness"
15981
15982 \end_inset
15983
15984
15985 \begin_inset LatexCommand index
15986 name "Table Customization ! Line Thickness"
15987
15988 \end_inset
15989
15990
15991 \end_layout
15992
15993 \begin_layout Standard
15994 The line thickness for all lines in a table can be adjusted with the length
15995  
15996 \series bold
15997
15998 \backslash
15999 arrayrulewidth
16000 \series default
16001 .
16002  To set for example a line thickness of 1.5\InsetSpace \thinspace{}
16003 pt, like in Table\InsetSpace ~
16004
16005 \begin_inset LatexCommand ref
16006 reference "tab:Table-with-1.5"
16007
16008 \end_inset
16009
16010 , insert the command
16011 \end_layout
16012
16013 \begin_layout Standard
16014
16015 \series bold
16016
16017 \backslash
16018 setlength{
16019 \backslash
16020 arrayrulewidth}{1.5pt}
16021 \end_layout
16022
16023 \begin_layout Standard
16024 in ERT before the table or table float.
16025  The changed thickness is valid for all following tables.
16026  To use the default value again, set 
16027 \series bold
16028
16029 \backslash
16030 arrayrulewidth
16031 \series default
16032  to 0.4\InsetSpace \thinspace{}
16033 pt in ERT behind the table or table float.
16034 \end_layout
16035
16036 \begin_layout Standard
16037 \begin_inset ERT
16038 status collapsed
16039
16040 \begin_layout Standard
16041
16042
16043 \backslash
16044 setlength{
16045 \backslash
16046 arrayrulewidth}{1.5pt}
16047 \end_layout
16048
16049 \end_inset
16050
16051
16052 \begin_inset Float table
16053 wide false
16054 sideways false
16055 status open
16056
16057 \begin_layout Standard
16058 \begin_inset Caption
16059
16060 \begin_layout Standard
16061 \begin_inset LatexCommand label
16062 name "tab:Table-with-1.5"
16063
16064 \end_inset
16065
16066 Table with 1.5\InsetSpace \thinspace{}
16067 pt thick lines
16068 \end_layout
16069
16070 \end_inset
16071
16072
16073 \end_layout
16074
16075 \begin_layout Standard
16076 \align center
16077 \begin_inset Tabular
16078 <lyxtabular version="3" rows="3" columns="3">
16079 <features>
16080 <column alignment="center" valignment="top" leftline="true" width="0">
16081 <column alignment="center" valignment="top" leftline="true" width="0">
16082 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16083 <row topline="true">
16084 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16085 \begin_inset Text
16086
16087 \begin_layout Standard
16088 sd
16089 \end_layout
16090
16091 \end_inset
16092 </cell>
16093 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16094 \begin_inset Text
16095
16096 \begin_layout Standard
16097
16098 \end_layout
16099
16100 \end_inset
16101 </cell>
16102 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16103 \begin_inset Text
16104
16105 \begin_layout Standard
16106
16107 \end_layout
16108
16109 \end_inset
16110 </cell>
16111 </row>
16112 <row topline="true">
16113 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16114 \begin_inset Text
16115
16116 \begin_layout Standard
16117
16118 \end_layout
16119
16120 \end_inset
16121 </cell>
16122 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16123 \begin_inset Text
16124
16125 \begin_layout Standard
16126 sd
16127 \end_layout
16128
16129 \end_inset
16130 </cell>
16131 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16132 \begin_inset Text
16133
16134 \begin_layout Standard
16135
16136 \end_layout
16137
16138 \end_inset
16139 </cell>
16140 </row>
16141 <row topline="true" bottomline="true">
16142 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16143 \begin_inset Text
16144
16145 \begin_layout Standard
16146
16147 \end_layout
16148
16149 \end_inset
16150 </cell>
16151 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16152 \begin_inset Text
16153
16154 \begin_layout Standard
16155
16156 \end_layout
16157
16158 \end_inset
16159 </cell>
16160 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16161 \begin_inset Text
16162
16163 \begin_layout Standard
16164 sd
16165 \end_layout
16166
16167 \end_inset
16168 </cell>
16169 </row>
16170 </lyxtabular>
16171
16172 \end_inset
16173
16174
16175 \end_layout
16176
16177 \end_inset
16178
16179
16180 \begin_inset ERT
16181 status collapsed
16182
16183 \begin_layout Standard
16184
16185
16186 \backslash
16187 setlength{
16188 \backslash
16189 arrayrulewidth}{0.4pt}
16190 \end_layout
16191
16192 \end_inset
16193
16194
16195 \end_layout
16196
16197 \begin_layout Standard
16198 \begin_inset VSpace bigskip
16199 \end_inset
16200
16201 To set the line thickness to 1.5\InsetSpace \thinspace{}
16202 pt only for horizontal lines, like in Table\InsetSpace ~
16203
16204 \begin_inset LatexCommand ref
16205 reference "tab:Table-with-horizontal"
16206
16207 \end_inset
16208
16209 , insert these commands in ERT before the table or table float:
16210 \end_layout
16211
16212 \begin_layout Standard
16213
16214 \series bold
16215
16216 \backslash
16217 let
16218 \backslash
16219 myHline
16220 \backslash
16221 hline
16222 \newline
16223
16224 \backslash
16225 renewcommand{
16226 \backslash
16227 hline}
16228 \newline
16229  {
16230 \backslash
16231 noalign{
16232 \backslash
16233 global
16234 \backslash
16235 arrayrulewidth 1.5pt}
16236 \newline
16237   
16238 \backslash
16239 myHline
16240 \backslash
16241 noalign{
16242 \backslash
16243 global
16244 \backslash
16245 arrayrulewidth 0.4pt}}
16246 \end_layout
16247
16248 \begin_layout Standard
16249 To return to the default line thickness, insert this command in ERT behind
16250  the table or table float:
16251 \end_layout
16252
16253 \begin_layout Standard
16254
16255 \series bold
16256
16257 \backslash
16258 renewcommand{
16259 \backslash
16260 hline}{
16261 \backslash
16262 myHline}
16263 \end_layout
16264
16265 \begin_layout Standard
16266 \begin_inset ERT
16267 status collapsed
16268
16269 \begin_layout Standard
16270
16271
16272 \backslash
16273 let
16274 \backslash
16275 myHline
16276 \backslash
16277 hline
16278 \end_layout
16279
16280 \begin_layout Standard
16281
16282
16283 \backslash
16284 renewcommand{
16285 \backslash
16286 hline}
16287 \end_layout
16288
16289 \begin_layout Standard
16290
16291  {
16292 \backslash
16293 noalign{
16294 \backslash
16295 global
16296 \backslash
16297 arrayrulewidth 1.5pt}
16298 \end_layout
16299
16300 \begin_layout Standard
16301
16302   
16303 \backslash
16304 myHline
16305 \backslash
16306 noalign{
16307 \backslash
16308 global
16309 \backslash
16310 arrayrulewidth 0.4pt}}
16311 \end_layout
16312
16313 \end_inset
16314
16315
16316 \begin_inset Float table
16317 wide false
16318 sideways false
16319 status open
16320
16321 \begin_layout Standard
16322 \begin_inset Caption
16323
16324 \begin_layout Standard
16325 \begin_inset LatexCommand label
16326 name "tab:Table-with-horizontal"
16327
16328 \end_inset
16329
16330 Table with 1.5\InsetSpace \thinspace{}
16331 pt thick horizontal lines
16332 \end_layout
16333
16334 \end_inset
16335
16336
16337 \end_layout
16338
16339 \begin_layout Standard
16340 \align center
16341 \begin_inset Tabular
16342 <lyxtabular version="3" rows="3" columns="3">
16343 <features>
16344 <column alignment="center" valignment="top" leftline="true" width="0">
16345 <column alignment="center" valignment="top" leftline="true" width="0">
16346 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16347 <row topline="true">
16348 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16349 \begin_inset Text
16350
16351 \begin_layout Standard
16352 sd
16353 \end_layout
16354
16355 \end_inset
16356 </cell>
16357 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16358 \begin_inset Text
16359
16360 \begin_layout Standard
16361
16362 \end_layout
16363
16364 \end_inset
16365 </cell>
16366 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16367 \begin_inset Text
16368
16369 \begin_layout Standard
16370
16371 \end_layout
16372
16373 \end_inset
16374 </cell>
16375 </row>
16376 <row topline="true">
16377 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16378 \begin_inset Text
16379
16380 \begin_layout Standard
16381
16382 \end_layout
16383
16384 \end_inset
16385 </cell>
16386 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16387 \begin_inset Text
16388
16389 \begin_layout Standard
16390 sd
16391 \end_layout
16392
16393 \end_inset
16394 </cell>
16395 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16396 \begin_inset Text
16397
16398 \begin_layout Standard
16399
16400 \end_layout
16401
16402 \end_inset
16403 </cell>
16404 </row>
16405 <row topline="true" bottomline="true">
16406 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16407 \begin_inset Text
16408
16409 \begin_layout Standard
16410
16411 \end_layout
16412
16413 \end_inset
16414 </cell>
16415 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16416 \begin_inset Text
16417
16418 \begin_layout Standard
16419
16420 \end_layout
16421
16422 \end_inset
16423 </cell>
16424 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16425 \begin_inset Text
16426
16427 \begin_layout Standard
16428 sd
16429 \end_layout
16430
16431 \end_inset
16432 </cell>
16433 </row>
16434 </lyxtabular>
16435
16436 \end_inset
16437
16438
16439 \end_layout
16440
16441 \end_inset
16442
16443
16444 \begin_inset ERT
16445 status collapsed
16446
16447 \begin_layout Standard
16448
16449
16450 \backslash
16451 renewcommand{
16452 \backslash
16453 hline}{
16454 \backslash
16455 myHline}
16456 \end_layout
16457
16458 \end_inset
16459
16460
16461 \end_layout
16462
16463 \begin_layout Standard
16464 \begin_inset VSpace bigskip
16465 \end_inset
16466
16467 To set the line thickness to 1.5\InsetSpace \thinspace{}
16468 pt only for vertical lines, create the following
16469  column format in the document preamble, according to the description in
16470  section\InsetSpace ~
16471
16472 \begin_inset LatexCommand ref
16473 reference "sub:Customized-Format"
16474
16475 \end_inset
16476
16477 :
16478 \end_layout
16479
16480 \begin_layout Standard
16481
16482 \series bold
16483
16484 \backslash
16485 newcolumntype{V}{!{
16486 \backslash
16487 vrule width 1.5pt}}
16488 \end_layout
16489
16490 \begin_layout Standard
16491 For Table\InsetSpace ~
16492
16493 \begin_inset LatexCommand ref
16494 reference "tab:Table-with-vertical"
16495
16496 \end_inset
16497
16498  the LaTeX-argument
16499 \end_layout
16500
16501 \begin_layout Standard
16502
16503 \series bold
16504 VcV
16505 \end_layout
16506
16507 \begin_layout Standard
16508 was used for the last column and
16509 \end_layout
16510
16511 \begin_layout Standard
16512
16513 \series bold
16514 Vc
16515 \end_layout
16516
16517 \begin_layout Standard
16518 for the other columns.
16519 \end_layout
16520
16521 \begin_layout Standard
16522 \begin_inset Float table
16523 wide false
16524 sideways false
16525 status open
16526
16527 \begin_layout Standard
16528 \begin_inset Caption
16529
16530 \begin_layout Standard
16531 \begin_inset LatexCommand label
16532 name "tab:Table-with-vertical"
16533
16534 \end_inset
16535
16536 Table with 1.5\InsetSpace \thinspace{}
16537 pt thick vertical lines
16538 \end_layout
16539
16540 \end_inset
16541
16542
16543 \end_layout
16544
16545 \begin_layout Standard
16546 \align center
16547 \begin_inset Tabular
16548 <lyxtabular version="3" rows="3" columns="3">
16549 <features>
16550 <column alignment="center" valignment="top" leftline="true" width="0" special="Vc">
16551 <column alignment="center" valignment="top" leftline="true" width="0" special="Vc">
16552 <column alignment="center" valignment="top" leftline="true" width="0" special="VcV">
16553 <row topline="true">
16554 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16555 \begin_inset Text
16556
16557 \begin_layout Standard
16558 sd
16559 \end_layout
16560
16561 \end_inset
16562 </cell>
16563 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16564 \begin_inset Text
16565
16566 \begin_layout Standard
16567
16568 \end_layout
16569
16570 \end_inset
16571 </cell>
16572 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16573 \begin_inset Text
16574
16575 \begin_layout Standard
16576
16577 \end_layout
16578
16579 \end_inset
16580 </cell>
16581 </row>
16582 <row topline="true">
16583 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16584 \begin_inset Text
16585
16586 \begin_layout Standard
16587
16588 \end_layout
16589
16590 \end_inset
16591 </cell>
16592 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16593 \begin_inset Text
16594
16595 \begin_layout Standard
16596 sd
16597 \end_layout
16598
16599 \end_inset
16600 </cell>
16601 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16602 \begin_inset Text
16603
16604 \begin_layout Standard
16605
16606 \end_layout
16607
16608 \end_inset
16609 </cell>
16610 </row>
16611 <row topline="true" bottomline="true">
16612 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16613 \begin_inset Text
16614
16615 \begin_layout Standard
16616
16617 \end_layout
16618
16619 \end_inset
16620 </cell>
16621 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16622 \begin_inset Text
16623
16624 \begin_layout Standard
16625
16626 \end_layout
16627
16628 \end_inset
16629 </cell>
16630 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16631 \begin_inset Text
16632
16633 \begin_layout Standard
16634 sd
16635 \end_layout
16636
16637 \end_inset
16638 </cell>
16639 </row>
16640 </lyxtabular>
16641
16642 \end_inset
16643
16644
16645 \end_layout
16646
16647 \end_inset
16648
16649
16650 \end_layout
16651
16652 \begin_layout Subsection
16653 Dashed Lines
16654 \begin_inset LatexCommand index
16655 name "Table Customization ! Dashed Lines"
16656
16657 \end_inset
16658
16659
16660 \end_layout
16661
16662 \begin_layout Standard
16663 \begin_inset ERT
16664 status collapsed
16665
16666 \begin_layout Standard
16667
16668
16669 \backslash
16670 ifarydshln
16671 \end_layout
16672
16673 \end_inset
16674
16675
16676 \begin_inset Note Note
16677 status open
16678
16679 \begin_layout Standard
16680 The following section will only be displayed when you have the LaTeX-package
16681  
16682 \series bold
16683 arydshln
16684 \series default
16685  is installed.
16686 \end_layout
16687
16688 \end_inset
16689
16690
16691 \end_layout
16692
16693 \begin_layout Standard
16694 \begin_inset Float table
16695 placement H
16696 wide false
16697 sideways false
16698 status open
16699
16700 \begin_layout Standard
16701 \begin_inset Caption
16702
16703 \begin_layout Standard
16704 \begin_inset LatexCommand label
16705 name "tab:Table-with-dashed"
16706
16707 \end_inset
16708
16709 Table with dashed lines
16710 \end_layout
16711
16712 \end_inset
16713
16714
16715 \end_layout
16716
16717 \begin_layout Standard
16718 \align center
16719 \begin_inset Tabular
16720 <lyxtabular version="3" rows="5" columns="5">
16721 <features>
16722 <column alignment="center" valignment="top" leftline="true" width="0">
16723 <column alignment="center" valignment="top" leftline="true" width="0">
16724 <column alignment="center" valignment="top" width="0" special=":c">
16725 <column alignment="center" valignment="top" leftline="true" width="0">
16726 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16727 <row topline="true" bottomline="true">
16728 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16729 \begin_inset Text
16730
16731 \begin_layout Standard
16732 a
16733 \end_layout
16734
16735 \end_inset
16736 </cell>
16737 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16738 \begin_inset Text
16739
16740 \begin_layout Standard
16741 b
16742 \end_layout
16743
16744 \end_inset
16745 </cell>
16746 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16747 \begin_inset Text
16748
16749 \begin_layout Standard
16750 c
16751 \end_layout
16752
16753 \end_inset
16754 </cell>
16755 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16756 \begin_inset Text
16757
16758 \begin_layout Standard
16759 d
16760 \end_layout
16761
16762 \end_inset
16763 </cell>
16764 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16765 \begin_inset Text
16766
16767 \begin_layout Standard
16768 e
16769 \end_layout
16770
16771 \end_inset
16772 </cell>
16773 </row>
16774 <row topline="true">
16775 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16776 \begin_inset Text
16777
16778 \begin_layout Standard
16779 f
16780 \end_layout
16781
16782 \end_inset
16783 </cell>
16784 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16785 \begin_inset Text
16786
16787 \begin_layout Standard
16788 g
16789 \end_layout
16790
16791 \end_inset
16792 </cell>
16793 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16794 \begin_inset Text
16795
16796 \begin_layout Standard
16797 h
16798 \end_layout
16799
16800 \end_inset
16801 </cell>
16802 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16803 \begin_inset Text
16804
16805 \begin_layout Standard
16806 i
16807 \end_layout
16808
16809 \end_inset
16810 </cell>
16811 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16812 \begin_inset Text
16813
16814 \begin_layout Standard
16815 j
16816 \end_layout
16817
16818 \end_inset
16819 </cell>
16820 </row>
16821 <row>
16822 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16823 \begin_inset Text
16824
16825 \begin_layout Standard
16826 \begin_inset ERT
16827 status collapsed
16828
16829 \begin_layout Standard
16830
16831
16832 \backslash
16833 hdashline 
16834 \end_layout
16835
16836 \end_inset
16837
16838 k
16839 \end_layout
16840
16841 \end_inset
16842 </cell>
16843 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16844 \begin_inset Text
16845
16846 \begin_layout Standard
16847 l
16848 \end_layout
16849
16850 \end_inset
16851 </cell>
16852 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16853 \begin_inset Text
16854
16855 \begin_layout Standard
16856 m
16857 \end_layout
16858
16859 \end_inset
16860 </cell>
16861 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16862 \begin_inset Text
16863
16864 \begin_layout Standard
16865 n
16866 \end_layout
16867
16868 \end_inset
16869 </cell>
16870 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16871 \begin_inset Text
16872
16873 \begin_layout Standard
16874 o
16875 \end_layout
16876
16877 \end_inset
16878 </cell>
16879 </row>
16880 <row topline="true">
16881 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16882 \begin_inset Text
16883
16884 \begin_layout Standard
16885 \begin_inset ERT
16886 status collapsed
16887
16888 \begin_layout Standard
16889
16890
16891 \backslash
16892 cdashline{4-5}
16893 \end_layout
16894
16895 \end_inset
16896
16897 p
16898 \end_layout
16899
16900 \end_inset
16901 </cell>
16902 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16903 \begin_inset Text
16904
16905 \begin_layout Standard
16906 q
16907 \end_layout
16908
16909 \end_inset
16910 </cell>
16911 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="c:">
16912 \begin_inset Text
16913
16914 \begin_layout Standard
16915 r
16916 \end_layout
16917
16918 \end_inset
16919 </cell>
16920 <cell multicolumn="1" alignment="center" valignment="top" rightline="true" usebox="none" special="c:">
16921 \begin_inset Text
16922
16923 \begin_layout Standard
16924 s
16925 \end_layout
16926
16927 \end_inset
16928 </cell>
16929 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16930 \begin_inset Text
16931
16932 \begin_layout Standard
16933
16934 \end_layout
16935
16936 \end_inset
16937 </cell>
16938 </row>
16939 <row topline="true" bottomline="true">
16940 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16941 \begin_inset Text
16942
16943 \begin_layout Standard
16944 t
16945 \end_layout
16946
16947 \end_inset
16948 </cell>
16949 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16950 \begin_inset Text
16951
16952 \begin_layout Standard
16953 u
16954 \end_layout
16955
16956 \end_inset
16957 </cell>
16958 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16959 \begin_inset Text
16960
16961 \begin_layout Standard
16962 v
16963 \end_layout
16964
16965 \end_inset
16966 </cell>
16967 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16968 \begin_inset Text
16969
16970 \begin_layout Standard
16971 w
16972 \end_layout
16973
16974 \end_inset
16975 </cell>
16976 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16977 \begin_inset Text
16978
16979 \begin_layout Standard
16980 x
16981 \end_layout
16982
16983 \end_inset
16984 </cell>
16985 </row>
16986 </lyxtabular>
16987
16988 \end_inset
16989
16990
16991 \end_layout
16992
16993 \end_inset
16994
16995
16996 \end_layout
16997
16998 \begin_layout Standard
16999 LyX doesn't natively support dashed lines, so you have to use ERT.
17000  As prerequisite the LaTeX-package 
17001 \series bold
17002 arydshln
17003 \series default
17004
17005 \begin_inset LatexCommand index
17006 name "LaTeX-packages ! arydshln"
17007
17008 \end_inset
17009
17010  must be loaded in the document preamble with the command
17011 \end_layout
17012
17013 \begin_layout Standard
17014
17015 \series bold
17016
17017 \backslash
17018 usepackage{arydshln}
17019 \end_layout
17020
17021 \begin_layout Standard
17022 To make a vertical line dashed, enter the colon 
17023 \begin_inset Quotes eld
17024 \end_inset
17025
17026 :
17027 \begin_inset Quotes erd
17028 \end_inset
17029
17030  together with the character for the horizontal alignment as LaTeX-argument
17031  in the table cell dialog.
17032 \end_layout
17033
17034 \begin_layout Standard
17035 For a horizontal dashed line add the command
17036 \end_layout
17037
17038 \begin_layout Standard
17039
17040 \series bold
17041
17042 \backslash
17043 hdashline
17044 \end_layout
17045
17046 \begin_layout Standard
17047 in ERT as first element of the first cell in the table row.
17048 \end_layout
17049
17050 \begin_layout Standard
17051 For dashed multicolumn lines use the command
17052 \end_layout
17053
17054 \begin_layout Standard
17055
17056 \series bold
17057
17058 \backslash
17059 cdashline{line number
17060 \series default
17061 }
17062 \end_layout
17063
17064 \begin_layout Standard
17065 in ERT as first element of the first cell in the table row.
17066  If you have for example a multicolumn spanning over columns 2 to 4 and
17067  you want to have a dashed line above, add the command
17068 \end_layout
17069
17070 \begin_layout Standard
17071
17072 \series bold
17073
17074 \backslash
17075 cdashline{2-4}
17076 \end_layout
17077
17078 \begin_layout Standard
17079 as first element of the first cell in the row of the multicolumn.
17080 \end_layout
17081
17082 \begin_layout Standard
17083 \begin_inset VSpace bigskip
17084 \end_inset
17085
17086
17087 \end_layout
17088
17089 \begin_layout Standard
17090 Table\InsetSpace ~
17091
17092 \begin_inset LatexCommand ref
17093 reference "tab:Table-with-dashed"
17094
17095 \end_inset
17096
17097  was created using 
17098 \begin_inset Quotes eld
17099 \end_inset
17100
17101
17102 \series bold
17103 :c
17104 \series default
17105
17106 \begin_inset Quotes erd
17107 \end_inset
17108
17109  as LaTeX-argument of the third column.
17110  The ERT command 
17111 \series bold
17112
17113 \backslash
17114 hdashline
17115 \series default
17116  was inserted to the first cell of the third row and the the ERT command
17117 \newline
17118
17119  
17120 \series bold
17121
17122 \backslash
17123 cdashline{4-5}
17124 \series default
17125  was inserted to the first cell of the fourth row.
17126 \end_layout
17127
17128 \begin_layout Standard
17129 \begin_inset Note Greyedout
17130 status open
17131
17132 \begin_layout Standard
17133
17134 \series bold
17135 Note:
17136 \series default
17137  The used LaTeX-package 
17138 \series bold
17139 arydshln
17140 \series default
17141  is apparently not compatible with the LaTeX-package 
17142 \series bold
17143 colortbl
17144 \series default
17145
17146 \begin_inset LatexCommand index
17147 name "LaTeX-packages ! colortbl"
17148
17149 \end_inset
17150
17151  that is used for colored tables in section\InsetSpace ~
17152
17153 \begin_inset LatexCommand ref
17154 reference "sec:Colored-Tables"
17155
17156 \end_inset
17157
17158 .
17159  That means colored tables cannot have dashed lines.
17160 \end_layout
17161
17162 \end_inset
17163
17164
17165 \end_layout
17166
17167 \begin_layout Standard
17168 \begin_inset ERT
17169 status collapsed
17170
17171 \begin_layout Standard
17172
17173
17174 \backslash
17175 else
17176 \end_layout
17177
17178 \end_inset
17179
17180
17181 \begin_inset Note Note
17182 status open
17183
17184 \begin_layout Standard
17185 The following will be displayed when the LaTeX-package 
17186 \series bold
17187 arydshln
17188 \series default
17189  is not installed:
17190 \end_layout
17191
17192 \end_inset
17193
17194
17195 \end_layout
17196
17197 \begin_layout Standard
17198 You need to install the package 
17199 \series bold
17200 arydshln
17201 \series default
17202  to see the contents of this section in the output.
17203 \end_layout
17204
17205 \begin_layout Standard
17206 \begin_inset ERT
17207 status collapsed
17208
17209 \begin_layout Standard
17210
17211
17212 \backslash
17213 fi
17214 \end_layout
17215
17216 \end_inset
17217
17218
17219 \end_layout
17220
17221 \begin_layout Chapter
17222 Floats
17223 \begin_inset LatexCommand index
17224 name "Floats"
17225
17226 \end_inset
17227
17228
17229 \begin_inset LatexCommand label
17230 name "cha:Floats"
17231
17232 \end_inset
17233
17234
17235 \end_layout
17236
17237 \begin_layout Section
17238 Introduction
17239 \begin_inset LatexCommand label
17240 name "sec:FloatIntroduction"
17241
17242 \end_inset
17243
17244
17245 \begin_inset LatexCommand index
17246 name "Floats ! Introduction"
17247
17248 \end_inset
17249
17250
17251 \end_layout
17252
17253 \begin_layout Standard
17254 A float is a block of text associated with some sort of label, which doesn't
17255  have a fixed location.
17256  It can 
17257 \begin_inset Quotes eld
17258 \end_inset
17259
17260 float
17261 \begin_inset Quotes erd
17262 \end_inset
17263
17264  forward or backward a page or two, to wherever it fits best.
17265  
17266 \family sans
17267 Footnotes
17268 \family default
17269  and 
17270 \family sans
17271 Margin\InsetSpace ~
17272 Notes
17273 \family default
17274  are also floats, because they can float to the next page when there are
17275  too many notes at the page.
17276 \end_layout
17277
17278 \begin_layout Standard
17279 Floats allow a high quality layout.
17280  Images and tables can evenly be spread to the pages to avoid white space
17281  and pages without text.
17282  As the floating often destroys the context between the text and the image/table
17283 , every float can be referenced in the text.
17284  Floats are therefore numbered.
17285  Referencing is described in section\InsetSpace ~
17286
17287 \begin_inset LatexCommand ref
17288 reference "sec:Referencing-Floats"
17289
17290 \end_inset
17291
17292 .
17293 \end_layout
17294
17295 \begin_layout Standard
17296 To insert a float, use the menu 
17297 \family sans
17298 Insert\SpecialChar \menuseparator
17299 Floats
17300 \family default
17301 .
17302  This inserts a box with a label in the 
17303 \family sans
17304 Caption
17305 \family default
17306  environment
17307 \begin_inset Foot
17308 status collapsed
17309
17310 \begin_layout Standard
17311 The 
17312 \family sans
17313 Caption
17314 \family default
17315  environment is described in LyX's 
17316 \emph on
17317 Userguide
17318 \emph default
17319 .
17320 \end_layout
17321
17322 \end_inset
17323
17324  into your document.
17325  Every label ends with the character 
17326 \begin_inset Quotes eld
17327 \end_inset
17328
17329 #
17330 \begin_inset Quotes erd
17331 \end_inset
17332
17333  as placeholder for the float number in the output.
17334  The label will automatically be translated to the document language in
17335  the output.
17336  Behind the label you can insert the caption text.
17337  The image or table is inserted above or below the caption in a separate
17338  paragraph within the float.
17339  More about the caption placement is described in section\InsetSpace ~
17340
17341 \begin_inset LatexCommand ref
17342 reference "sec:Caption-Placement"
17343
17344 \end_inset
17345
17346 .
17347  To keep your LyX-document readable, you can open and close the float box
17348  by left-clicking on the box label.
17349  A closed float box looks like this: 
17350 \begin_inset Graphics
17351         filename ../clipart/floatQt4.png
17352         scale 70
17353
17354 \end_inset
17355
17356  -- a gray button with a red label.
17357 \end_layout
17358
17359 \begin_layout Standard
17360 It is recommended to insert floats as a separate paragraph to avoid possible
17361  LaTeX-errors that can occur when the surrounding text is specially formatted.
17362 \end_layout
17363
17364 \begin_layout Standard
17365 Existing figures or tables can be put into a float by marking them and then
17366  pressing the corresponding toolbar button for a new float.
17367 \end_layout
17368
17369 \begin_layout Section
17370 Float Types
17371 \end_layout
17372
17373 \begin_layout Standard
17374 Besides figure and table floats that are described in section\InsetSpace ~
17375
17376 \begin_inset LatexCommand ref
17377 reference "sec:Figure-Floats"
17378
17379 \end_inset
17380
17381  and 
17382 \begin_inset LatexCommand ref
17383 reference "sec:Table-Floats"
17384
17385 \end_inset
17386
17387 , respectively, LyX offers the float types 
17388 \series bold
17389 Algorithm
17390 \series default
17391  and 
17392 \series bold
17393 Text\InsetSpace ~
17394 Wrap\InsetSpace ~
17395 Float
17396 \series default
17397 .
17398 \end_layout
17399
17400 \begin_layout Subsection
17401 Algorithm Floats
17402 \begin_inset LatexCommand index
17403 name "Floats ! Algorithm Floats"
17404
17405 \end_inset
17406
17407
17408 \end_layout
17409
17410 \begin_layout Standard
17411 \begin_inset Float algorithm
17412 placement h
17413 wide false
17414 sideways false
17415 status open
17416
17417 \begin_layout Standard
17418 \begin_inset Caption
17419
17420 \begin_layout Standard
17421 \begin_inset LatexCommand label
17422 name "alg:Example-Algorithm-float"
17423
17424 \end_inset
17425
17426 Example Algorithm float
17427 \end_layout
17428
17429 \end_inset
17430
17431
17432 \end_layout
17433
17434 \begin_layout LyX-Code
17435 for I in 1..N loop
17436 \newline
17437  Sum:= Sum + A(I); /*senseless comment*/
17438 \newline
17439 end loop
17440 \begin_inset VSpace -4mm
17441 \end_inset
17442
17443
17444 \end_layout
17445
17446 \end_inset
17447
17448
17449 \end_layout
17450
17451 \begin_layout Standard
17452 This float type is inserted with the menu 
17453 \family sans
17454 Insert\SpecialChar \menuseparator
17455 Floats\SpecialChar \menuseparator
17456 Algorithm
17457 \family default
17458 .
17459  It is used for program codes and descriptions of algorithms.
17460  A possible environment for algorithms is the 
17461 \family sans
17462 LyX-Code
17463 \family default
17464 , described in LyX's 
17465 \emph on
17466 Userguide
17467 \emph default
17468 .
17469  Algorithm\InsetSpace ~
17470
17471 \begin_inset LatexCommand ref
17472 reference "alg:Example-Algorithm-float"
17473
17474 \end_inset
17475
17476  is an example of an algorithm float where -4\InsetSpace \thinspace{}
17477 mm vertical space was added
17478  at the end of the float to have the bottom rule exactly below the last
17479  text line.
17480 \end_layout
17481
17482 \begin_layout Standard
17483 The float label is not automatically translated into the document language.
17484  If your document is not in English, you have to do this manually by adding
17485  the following line
17486 \series bold
17487  
17488 \series default
17489 to the document preamble
17490 \series bold
17491 :
17492 \end_layout
17493
17494 \begin_layout Standard
17495
17496 \series bold
17497
17498 \backslash
17499 floatname{algorithm}{your\InsetSpace ~
17500 name}
17501 \end_layout
17502
17503 \begin_layout Standard
17504
17505 \family sans
17506 your\InsetSpace ~
17507 name
17508 \family default
17509  is the word 
17510 \begin_inset Quotes eld
17511 \end_inset
17512
17513
17514 \emph on
17515 algorithm
17516 \emph default
17517
17518 \begin_inset Quotes erd
17519 \end_inset
17520
17521  in your language.
17522 \end_layout
17523
17524 \begin_layout Description
17525
17526 \series bold
17527 Note:
17528 \series default
17529  When the LaTeX-package 
17530 \series bold
17531 hyperref
17532 \series default
17533
17534 \begin_inset LatexCommand index
17535 name "LaTeX-packages ! hyperref"
17536
17537 \end_inset
17538
17539  is used to link cross-references to floats in the PDF-output, it must be
17540  loaded in the document preamble before the definition of floats to be able
17541  to reference floats.
17542  As LyX sets the float definition for algorithm floats automatically before
17543  the user editable part of the document preamble, you need to insert the
17544  following preamble lines 
17545 \emph on
17546 after
17547 \emph default
17548  the loading command of 
17549 \series bold
17550 hyperref
17551 \series default
17552 :
17553 \series bold
17554
17555 \begin_inset VSpace defskip
17556 \end_inset
17557
17558
17559 \newline
17560
17561 \backslash
17562 newfloat{Xalgorithm}{tbp}{loa}
17563 \newline
17564
17565 \backslash
17566 floatname{Xalgorithm}{your\InsetSpace ~
17567 name}
17568 \newline
17569
17570 \backslash
17571 newcommand{
17572 \backslash
17573 theHalgorithm}{
17574 \backslash
17575 theHXalgorithm}
17576 \newline
17577
17578 \backslash
17579 renewenvironment{algorithm}[1][tbp]
17580 \newline
17581
17582 \begin_inset ERT
17583 status collapsed
17584
17585 \begin_layout Standard
17586
17587
17588 \backslash
17589 hphantom{ }
17590 \end_layout
17591
17592 \end_inset
17593
17594 {
17595 \backslash
17596 begin{Xalgorithm}[#1]}{
17597 \backslash
17598 end{Xalgorithm}}
17599 \begin_inset VSpace defskip
17600 \end_inset
17601
17602
17603 \series default
17604
17605 \newline
17606 Where 
17607 \family sans
17608 your\InsetSpace ~
17609 name
17610 \family default
17611  is the word 
17612 \begin_inset Quotes eld
17613 \end_inset
17614
17615
17616 \emph on
17617 algorithm
17618 \emph default
17619
17620 \begin_inset Quotes erd
17621 \end_inset
17622
17623  in your language.
17624 \end_layout
17625
17626 \begin_layout Standard
17627 Algorithm floats are not by default numbered in the scheme 
17628 \begin_inset Quotes eld
17629 \end_inset
17630
17631 chapter.algorithm
17632 \begin_inset Quotes erd
17633 \end_inset
17634
17635  like it is the case for table and figure floats in many document-classes.
17636  To number algorithm floats in the same scheme, add this command to your
17637  document preamble:
17638 \end_layout
17639
17640 \begin_layout Standard
17641
17642 \series bold
17643
17644 \backslash
17645 numberwithin{algorithm}{chapter}
17646 \end_layout
17647
17648 \begin_layout Standard
17649 If you use the LaTeX-package 
17650 \series bold
17651 hyperref
17652 \series default
17653 , add this line instead 
17654 \emph on
17655 after
17656 \emph default
17657  the definition of 
17658 \family sans
17659 Xalgorithm
17660 \family default
17661  (the commands from above) to the preamble:
17662 \end_layout
17663
17664 \begin_layout Standard
17665
17666 \series bold
17667
17668 \backslash
17669 numberwithin{Xalgorithm}{chapter}
17670 \end_layout
17671
17672 \begin_layout Standard
17673 To be able to use the command 
17674 \series bold
17675
17676 \backslash
17677 numberwithin
17678 \series default
17679 , set in the tab 
17680 \family sans
17681 Math\InsetSpace ~
17682 Options
17683 \family default
17684  in the document settings the option 
17685 \family sans
17686 Use\InsetSpace ~
17687 AMS\InsetSpace ~
17688 math\InsetSpace ~
17689 package
17690 \family default
17691 .
17692 \end_layout
17693
17694 \begin_layout Subsection
17695 Text Wrap Floats
17696 \begin_inset LatexCommand index
17697 name "Floats ! Text Wrap Floats"
17698
17699 \end_inset
17700
17701
17702 \begin_inset LatexCommand label
17703 name "sub:floatflt-wrap-float"
17704
17705 \end_inset
17706
17707
17708 \end_layout
17709
17710 \begin_layout Standard
17711 This float type is used if you want to 
17712 \begin_inset Quotes eld
17713 \end_inset
17714
17715 wrap
17716 \begin_inset Quotes erd
17717 \end_inset
17718
17719  text around a figure so that it only occupies some fraction of the column
17720  width.
17721  It can be inserted using the menu 
17722 \begin_inset Wrap figure
17723 placement l
17724 width "40col%"
17725 status open
17726
17727 \begin_layout Standard
17728 \begin_inset Graphics
17729         filename mobius.eps
17730         display color
17731         width 40col%
17732         rotateOrigin center
17733
17734 \end_inset
17735
17736
17737 \end_layout
17738
17739 \begin_layout Standard
17740 \begin_inset Caption
17741
17742 \begin_layout Standard
17743 \begin_inset LatexCommand label
17744 name "fig:This-is-a"
17745
17746 \end_inset
17747
17748 This is a wrapped figure, and this is the brilliant caption that describes
17749  it.
17750 \begin_inset VSpace medskip
17751 \end_inset
17752
17753
17754 \end_layout
17755
17756 \end_inset
17757
17758
17759 \end_layout
17760
17761 \end_inset
17762
17763  
17764 \family sans
17765 Insert\SpecialChar \menuseparator
17766 Floats\SpecialChar \menuseparator
17767 Text\InsetSpace ~
17768 Wrap\InsetSpace ~
17769 Float
17770 \family default
17771  if the LaTeX-package 
17772 \series bold
17773 floatflt
17774 \series default
17775
17776 \begin_inset LatexCommand index
17777 name "LaTeX-packages ! floatflt"
17778
17779 \end_inset
17780
17781  is installed.
17782 \begin_inset Foot
17783 status collapsed
17784
17785 \begin_layout Standard
17786 Installing a LaTeX-package is explained it in the 
17787 \emph on
17788 LaTeX\InsetSpace ~
17789 Configuration
17790 \emph default
17791  manual.
17792 \end_layout
17793
17794 \end_inset
17795
17796  The width and placement of the float is adjusted by right-clicking on the
17797  float box.
17798  Figure\InsetSpace ~
17799
17800 \begin_inset LatexCommand ref
17801 reference "fig:This-is-a"
17802
17803 \end_inset
17804
17805  is an example text wrap float with a width of 40
17806 \begin_inset Formula $\,$
17807 \end_inset
17808
17809 col%.
17810 \begin_inset Foot
17811 status collapsed
17812
17813 \begin_layout Standard
17814 Available units are explained in 
17815 \begin_inset LatexCommand ref
17816 reference "cha:Units-available-in"
17817
17818 \end_inset
17819
17820 .
17821 \end_layout
17822
17823 \end_inset
17824
17825  Some space was added under the caption to separate it better from the surroundi
17826 ng text.
17827 \end_layout
17828
17829 \begin_layout Standard
17830 The LaTeX-package 
17831 \series bold
17832 floatflt
17833 \series default
17834  also supports table wrap floats, but they are not yet supported by LyX.
17835  If you need this, read the documentation of 
17836 \series bold
17837 floatflt
17838 \series default
17839  
17840 \begin_inset LatexCommand cite
17841 key "floatflt"
17842
17843 \end_inset
17844
17845 .
17846 \end_layout
17847
17848 \begin_layout Standard
17849 \begin_inset Note Greyedout
17850 status open
17851
17852 \begin_layout Standard
17853
17854 \series bold
17855 Note:
17856 \series default
17857  Text\InsetSpace ~
17858 wrap float floats are fragile! E.\InsetSpace \thinspace{}
17859 g.\InsetSpace ~
17860 having a figure too close to the bottom
17861  of the page can mess things up in the way that the float doesn't appear
17862  in the output or that it is placed over some other text.
17863 \begin_inset Foot
17864 status open
17865
17866 \begin_layout Standard
17867 The better solution is to use the LaTeX-package 
17868 \series bold
17869 wrapf\SpecialChar \textcompwordmark{}
17870 ig
17871 \series default
17872
17873 \begin_inset LatexCommand index
17874 name "LaTeX-packages ! wrapfig\\vspace{4mm}"
17875
17876 \end_inset
17877
17878  instead of 
17879 \series bold
17880 floatf\SpecialChar \textcompwordmark{}
17881 lt
17882 \series default
17883 , but it is currently not supported by LyX.
17884 \end_layout
17885
17886 \end_inset
17887
17888
17889 \end_layout
17890
17891 \end_inset
17892
17893
17894 \end_layout
17895
17896 \begin_layout Standard
17897 In general:
17898 \end_layout
17899
17900 \begin_layout Itemize
17901 Wrap floats should not be placed in paragraphs that run over a page break.
17902  That means that wrap floats should better be inserted to the exact place
17903  when the document is nearly ready and you are able to estimate where page
17904  breaks will appear.
17905 \end_layout
17906
17907 \begin_layout Itemize
17908 Wrap floats should either be placed in an own paragraph before the paragraph
17909  where they should wrap into or within a paragraph.
17910 \end_layout
17911
17912 \begin_layout Itemize
17913 Wrap floats in consecutive paragraphs may cause troubles, so assure that
17914  there is a text paragraph between them as separator.
17915 \end_layout
17916
17917 \begin_layout Itemize
17918 Wrap floats are not allowed in section headings or tables.
17919 \end_layout
17920
17921 \begin_layout Section
17922 Referencing Floats
17923 \begin_inset LatexCommand label
17924 name "sec:Referencing-Floats"
17925
17926 \end_inset
17927
17928
17929 \begin_inset LatexCommand index
17930 name "Floats ! References"
17931
17932 \end_inset
17933
17934
17935 \begin_inset LatexCommand index
17936 name "References"
17937
17938 \end_inset
17939
17940
17941 \end_layout
17942
17943 \begin_layout Standard
17944 To reference a float, insert a label into its caption using the menu 
17945 \family sans
17946 Insert\SpecialChar \menuseparator
17947 Label
17948 \family default
17949  or the toolbar button 
17950 \begin_inset Graphics
17951         filename ../images/label-insert.xpm
17952         scale 85
17953
17954 \end_inset
17955
17956 .
17957  A grey label box like this one: 
17958 \begin_inset Graphics
17959         filename ../clipart/labelQt4.png
17960         scale 85
17961
17962 \end_inset
17963
17964  will be inserted and the label window pops up asking for the label text.
17965  LyX offers as text the first words of the caption with a prefix.
17966  The prefix depends on the float type, e.\InsetSpace \thinspace{}
17967 g.\InsetSpace ~
17968 for figure floats the prefix will
17969  be "
17970 \family sans
17971 fig:
17972 \family default
17973 ".
17974 \end_layout
17975
17976 \begin_layout Standard
17977 The label is used as anchor and name for the reference.
17978  You can refer to the label using the menu 
17979 \family sans
17980 Insert\SpecialChar \menuseparator
17981 Cross-reference
17982 \family default
17983  or the toolbar button 
17984 \begin_inset Graphics
17985         filename ../images/dialog-show-new-inset_ref.xpm
17986         scale 85
17987
17988 \end_inset
17989
17990 .
17991  A grey cross-reference box like this one: 
17992 \begin_inset Graphics
17993         filename ../clipart/referenceQt4.png
17994         scale 85
17995
17996 \end_inset
17997
17998  will be inserted and the cross-reference window appear showing all labels
17999  of the document.
18000  If you have multiple LyX-documents opened, choose the one you are working
18001  on from the drop-list at the top of the dialog.
18002  You can now sort the labels alphabetically and then choose one.
18003  At the position of the cross-reference box the float number will appear
18004  in the output.
18005 \end_layout
18006
18007 \begin_layout Standard
18008 It is recommended to use a protected space between the cross-reference name
18009  and its number to avoid line breaks between them.
18010  If a cross-reference refers to a non-existing label, you will see two question
18011  marks in the output instead of the reference.
18012 \end_layout
18013
18014 \begin_layout Standard
18015 You can change labels at any time by clicking on the label box.
18016  References to the changed label will automatically change its link to the
18017  new label text, so that you don't need to take care about this.
18018 \end_layout
18019
18020 \begin_layout Standard
18021 The button 
18022 \family sans
18023 Go\InsetSpace ~
18024 to\InsetSpace ~
18025 Label
18026 \family default
18027  in the cross-reference window sets the cursor before the referred label.
18028  The button text changes then to Go\InsetSpace ~
18029 Back and you can use it to set the cursor
18030  back to the cross-reference.
18031  Right-clicking on a cross-reference box also sets the cursor before the
18032  referenced label but without a possibility to go back.
18033 \end_layout
18034
18035 \begin_layout Subsection
18036 Cross-Reference Formats
18037 \begin_inset LatexCommand label
18038 name "sub:Cross-Reference-Formats"
18039
18040 \end_inset
18041
18042
18043 \begin_inset LatexCommand index
18044 name "References ! Formats"
18045
18046 \end_inset
18047
18048
18049 \end_layout
18050
18051 \begin_layout Standard
18052 There are six varieties of cross-references:
18053 \end_layout
18054
18055 \begin_layout Description
18056 <reference>: prints the float number, this is the default: 
18057 \begin_inset LatexCommand ref
18058 reference "fig:Two-distorted-images"
18059
18060 \end_inset
18061
18062
18063 \end_layout
18064
18065 \begin_layout Description
18066 (<reference>): prints the float number within two parentheses, this is the
18067  style normally used to reference formulas, especially when the reference
18068  name 
18069 \begin_inset Quotes eld
18070 \end_inset
18071
18072 Equation
18073 \begin_inset Quotes erd
18074 \end_inset
18075
18076  is omitted: 
18077 \begin_inset LatexCommand eqref
18078 reference "eq:Wgn"
18079
18080 \end_inset
18081
18082
18083 \end_layout
18084
18085 \begin_layout Description
18086 <page>: prints the page number: Page\InsetSpace ~
18087
18088 \begin_inset LatexCommand pageref
18089 reference "fig:Two-distorted-images"
18090
18091 \end_inset
18092
18093
18094 \end_layout
18095
18096 \begin_layout Description
18097 on\InsetSpace ~
18098 page\InsetSpace ~
18099 <page>: prints the text "on page" and the page number: 
18100 \begin_inset LatexCommand vpageref
18101 reference "fig:Two-distorted-images"
18102
18103 \end_inset
18104
18105
18106 \end_layout
18107
18108 \begin_layout Description
18109 <reference>\InsetSpace ~
18110 on\InsetSpace ~
18111 page\InsetSpace ~
18112 <page>: prints the float number, the text "on page", and
18113  the page number: 
18114 \begin_inset LatexCommand vref
18115 reference "fig:Two-distorted-images"
18116
18117 \end_inset
18118
18119
18120 \end_layout
18121
18122 \begin_layout Description
18123 Formatted\InsetSpace ~
18124 reference: prints a self defined cross-reference format.
18125  
18126 \begin_inset Note Greyedout
18127 status open
18128
18129 \begin_layout Standard
18130
18131 \series bold
18132 Note:
18133 \series default
18134  This feature is only available when you have the LaTeX-package 
18135 \series bold
18136 prettyref
18137 \series default
18138  installed.
18139 \end_layout
18140
18141 \end_inset
18142
18143
18144 \end_layout
18145
18146 \begin_layout Standard
18147 Note that the style <page> won't print the page number if the label is on
18148  the previous, the same, or the next page.
18149  You will e.\InsetSpace \thinspace{}
18150 g.\InsetSpace ~
18151 see the text 
18152 \begin_inset Quotes eld
18153 \end_inset
18154
18155
18156 \family sans
18157 on this page
18158 \family default
18159
18160 \begin_inset Quotes erd
18161 \end_inset
18162
18163  instead.
18164 \end_layout
18165
18166 \begin_layout Standard
18167 The number and current page of the referred document part in the output,
18168  is automatically calculated by LaTeX.
18169  The varieties are adjusted in the field 
18170 \family sans
18171 Format
18172 \family default
18173  of the cross-reference window, that appear when you click on the cross-referenc
18174 e box.
18175 \end_layout
18176
18177 \begin_layout Subsection
18178 Referencing Subfigures
18179 \begin_inset LatexCommand label
18180 name "sub:Referencing-Subfigures"
18181
18182 \end_inset
18183
18184
18185 \begin_inset LatexCommand index
18186 name "References ! to Subfigures"
18187
18188 \end_inset
18189
18190
18191 \end_layout
18192
18193 \begin_layout Standard
18194 Currently referencing subfigures is not supported by LyX, so you have to
18195  use LaTeX-commands.
18196  The label is the created
18197 \series bold
18198  
18199 \series default
18200 with the command
18201 \end_layout
18202
18203 \begin_layout Standard
18204
18205 \series bold
18206
18207 \backslash
18208 label{fig: YourLabelName}
18209 \end_layout
18210
18211 \begin_layout Standard
18212 that is directly inserted into the subfigure caption field.
18213  To reference the label add this command in ERT
18214 \end_layout
18215
18216 \begin_layout Standard
18217
18218 \series bold
18219
18220 \backslash
18221 ref{fig: YourLabelName}
18222 \end_layout
18223
18224 \begin_layout Standard
18225 to the position in your document where the reference should be placed.
18226  Here is a reference to a subfigure: Subfigure\InsetSpace ~
18227
18228 \begin_inset ERT
18229 status collapsed
18230
18231 \begin_layout Standard
18232
18233
18234 \backslash
18235 ref{fig: Platypus}
18236 \end_layout
18237
18238 \end_inset
18239
18240 .
18241 \end_layout
18242
18243 \begin_layout Subsection
18244 Automatic Reference Naming
18245 \begin_inset LatexCommand index
18246 name "References ! Automatic Reference Naming"
18247
18248 \end_inset
18249
18250
18251 \end_layout
18252
18253 \begin_layout Standard
18254 The LaTeX-package 
18255 \series bold
18256 hyperref
18257 \series default
18258  provides a very useful feature that cross-references automatically include
18259  the name of the referenced floats (or text parts like sections).
18260  You save to write e.\InsetSpace \thinspace{}
18261 g.\InsetSpace ~
18262 the name 
18263 \begin_inset Quotes eld
18264 \end_inset
18265
18266 Figure
18267 \begin_inset Quotes erd
18268 \end_inset
18269
18270  before every reference box.
18271  To get this automatic reference naming, you have to load the LaTeX-package
18272  
18273 \series bold
18274 hyperref
18275 \series default
18276
18277 \begin_inset LatexCommand index
18278 name "LaTeX-packages ! hyperref"
18279
18280 \end_inset
18281
18282  in the document preamble with
18283 \end_layout
18284
18285 \begin_layout Standard
18286
18287 \series bold
18288
18289 \backslash
18290 usepackage[pdfborder={0 0 0}]{hyperref}
18291 \newline
18292
18293 \backslash
18294 AtBeginDocument{
18295 \backslash
18296 renewcommand{
18297 \backslash
18298 ref}[1]{
18299 \backslash
18300 mbox{
18301 \backslash
18302 autoref{#1}}}}
18303 \end_layout
18304
18305 \begin_layout Standard
18306
18307 \series bold
18308 hyperref
18309 \series default
18310  is used to link cross-references in the DVI- and PDF-output, this means
18311  that the reader of your document will be able to click on a table of content
18312  (TOC) entry or on a reference and he will be shown the referenced document
18313  part.
18314  
18315 \series bold
18316 hyperref
18317 \series default
18318  also creates PDF-bookmarks for every section of your document to make it
18319  easier for readers to navigate through the document.
18320  This is also used in this document but when you have a look in the document
18321  preamble you will find various options in the load command of 
18322 \series bold
18323 hyperref
18324 \series default
18325 .
18326  To learn more about the 
18327 \series bold
18328 hyperref
18329 \series default
18330  package, we refer to its documentation 
18331 \begin_inset LatexCommand cite
18332 key "hyperref"
18333
18334 \end_inset
18335
18336 .
18337 \end_layout
18338
18339 \begin_layout Standard
18340 \begin_inset Note Greyedout
18341 status open
18342
18343 \begin_layout Standard
18344
18345 \series bold
18346 Note:
18347 \series default
18348  Automatic reference naming cannot be used when you use cross-references
18349  in the 
18350 \family sans
18351 Formatted\InsetSpace ~
18352 reference
18353 \family default
18354  style, described in section\InsetSpace ~
18355
18356 \begin_inset LatexCommand ref
18357 reference "sub:Cross-Reference-Formats"
18358
18359 \end_inset
18360
18361 .
18362 \end_layout
18363
18364 \end_inset
18365
18366
18367 \end_layout
18368
18369 \begin_layout Subsection
18370 Reference Position
18371 \begin_inset LatexCommand label
18372 name "sub:Reference-Position"
18373
18374 \end_inset
18375
18376
18377 \begin_inset LatexCommand index
18378 name "References ! Reference Position"
18379
18380 \end_inset
18381
18382
18383 \end_layout
18384
18385 \begin_layout Standard
18386 If you use 
18387 \series bold
18388 hyperref
18389 \series default
18390
18391 \begin_inset LatexCommand index
18392 name "LaTeX-packages ! hyperref"
18393
18394 \end_inset
18395
18396  to link cross-references in the output, you will see that clicking on an
18397  image float reference jumps to the image label.
18398  The caption will be the first text part on the screen, so that you cannot
18399  see the image without scrolling.
18400  This is because the reference link anchor is placed at the position of
18401  the label.
18402  With the use of the package 
18403 \series bold
18404 hypcap
18405 \series default
18406
18407 \begin_inset LatexCommand index
18408 name "LaTeX-packages ! hypcap"
18409
18410 \end_inset
18411
18412 , which is part of the LaTeX-package 
18413 \series bold
18414 oberdiek
18415 \series default
18416
18417 \begin_inset LatexCommand index
18418 name "LaTeX-packages ! oberdiek"
18419
18420 \end_inset
18421
18422 , the link anchor is placed at the beginning of a float.
18423  To use this feature for figure floats, load 
18424 \series bold
18425 hypcap
18426 \series default
18427  in the document preamble with the line
18428 \end_layout
18429
18430 \begin_layout Standard
18431
18432 \series bold
18433
18434 \backslash
18435 usepackage[f\SpecialChar \textcompwordmark{}
18436 igure]{hypcap}
18437 \end_layout
18438
18439 \begin_layout Standard
18440 You can also use 
18441 \series bold
18442 hypcap
18443 \series default
18444  for all floats but this isn't recommended for stability reasons.
18445  For more informations, have a look at 
18446 \series bold
18447 hypcap
18448 \series default
18449 's manual 
18450 \begin_inset LatexCommand cite
18451 key "hypcap"
18452
18453 \end_inset
18454
18455 .
18456 \end_layout
18457
18458 \begin_layout Standard
18459 \begin_inset Note Greyedout
18460 status open
18461
18462 \begin_layout Standard
18463
18464 \series bold
18465 Note:
18466 \series default
18467  
18468 \series bold
18469 hypcap
18470 \series default
18471  must be loaded after 
18472 \series bold
18473 hyperref
18474 \series default
18475  in the document preamble.
18476 \end_layout
18477
18478 \end_inset
18479
18480
18481 \end_layout
18482
18483 \begin_layout Standard
18484 \begin_inset Note Greyedout
18485 status open
18486
18487 \begin_layout Standard
18488
18489 \series bold
18490 Note:
18491 \series default
18492  The set reference position has no effect for references to subfigures.
18493 \end_layout
18494
18495 \end_inset
18496
18497
18498 \end_layout
18499
18500 \begin_layout Section
18501 Float Placement
18502 \begin_inset LatexCommand label
18503 name "sec:Float-Placement"
18504
18505 \end_inset
18506
18507
18508 \begin_inset LatexCommand index
18509 name "Floats ! Placement"
18510
18511 \end_inset
18512
18513
18514 \end_layout
18515
18516 \begin_layout Standard
18517 Right-clicking on a float-box opens a dialog where you can alter the placement
18518  options that LaTeX uses for positioning the float.
18519 \newline
18520 The option 
18521 \family sans
18522 Span\InsetSpace ~
18523 columns
18524 \family default
18525  is only useful for two-column documents: If you select it, the float will
18526  span across both columns on the page instead of being confined to just
18527  one.
18528 \newline
18529 The option 
18530 \family sans
18531 Rotate\InsetSpace ~
18532 sideways
18533 \family default
18534  is used to rotate floats, see section 
18535 \begin_inset LatexCommand ref
18536 reference "sec:Rotated-Floats"
18537
18538 \end_inset
18539
18540 .
18541 \end_layout
18542
18543 \begin_layout Standard
18544 You can use one ore more of the following options in the float dialog to
18545  set the placement for a particular float when you uncheck the option 
18546 \family sans
18547 Use\InsetSpace ~
18548 default\InsetSpace ~
18549 placement
18550 \family default
18551 :
18552 \end_layout
18553
18554 \begin_layout Description
18555 Here\InsetSpace ~
18556 if\InsetSpace ~
18557 possible: try to place the float on the position where it is inserted
18558 \end_layout
18559
18560 \begin_layout Description
18561 Top\InsetSpace ~
18562 of\InsetSpace ~
18563 page: try to place the float on the top of the current page
18564 \end_layout
18565
18566 \begin_layout Description
18567 Bottom\InsetSpace ~
18568 of\InsetSpace ~
18569 page: try to place the float on the bottom of the current page
18570 \end_layout
18571
18572 \begin_layout Description
18573 Page\InsetSpace ~
18574 of\InsetSpace ~
18575 floats: try to place the float on an own page 
18576 \end_layout
18577
18578 \begin_layout Standard
18579 The order of the above option is 
18580 \emph on
18581 always
18582 \emph default
18583  used by LaTeX.
18584  That means, if you use the default placement, LaTeX will first try out
18585  
18586 \family sans
18587 Here\InsetSpace ~
18588 if\InsetSpace ~
18589 possible
18590 \family default
18591 , then 
18592 \family sans
18593 Top\InsetSpace ~
18594 of\InsetSpace ~
18595 page
18596 \family default
18597 , and then the others.
18598  If you don't use the default, LaTeX will try only the checked options but
18599  in the same order.
18600  If none of the 4 placements are possible the procedure is internally repeated
18601  but it is tried to put the float on the following page.
18602 \end_layout
18603
18604 \begin_layout Standard
18605 By default, each options has its own rules:
18606 \end_layout
18607
18608 \begin_layout Labeling
18609 \labelwidthstring 00.00.0000
18610
18611 \family sans
18612 Top\InsetSpace ~
18613 of\InsetSpace ~
18614 page
18615 \family default
18616  only floats occupying less than 70\InsetSpace \thinspace{}
18617 % of the page can be placed at the top
18618  of a page (
18619 \series bold
18620
18621 \backslash
18622 topfraction
18623 \series default
18624 )
18625 \end_layout
18626
18627 \begin_layout Labeling
18628 \labelwidthstring 00.00.0000
18629
18630 \family sans
18631 Bottom\InsetSpace ~
18632 of\InsetSpace ~
18633 page
18634 \family default
18635 : only floats occupying less than 30\InsetSpace \thinspace{}
18636 % of the page can be placed at the bottom
18637  of a page.
18638  (
18639 \series bold
18640
18641 \backslash
18642 bottomfraction
18643 \series default
18644 )
18645 \end_layout
18646
18647 \begin_layout Labeling
18648 \labelwidthstring 00.00.0000
18649
18650 \family sans
18651 Page\InsetSpace ~
18652 of\InsetSpace ~
18653 floats
18654 \family default
18655 : only if more than 50\InsetSpace \thinspace{}
18656 % of the page are occupied by floats, several floats
18657  can be set together on a page.
18658  (
18659 \series bold
18660
18661 \backslash
18662 floatpagefraction
18663 \series default
18664 )
18665 \end_layout
18666
18667 \begin_layout Standard
18668 If you don't like these rules, you can ignore them by using the additional
18669  option 
18670 \family sans
18671 Ignore\InsetSpace ~
18672 LaTeX\InsetSpace ~
18673 rules
18674 \family default
18675 .
18676 \newline
18677 You can also redefine the rules with LaTeX-commands that are given in parenthese
18678 s behind the rules description above.
18679  To increase for example the often too small default of the bottom-rule
18680  to 50\InsetSpace \thinspace{}
18681 % of the page, add this line to your document preamble:
18682 \end_layout
18683
18684 \begin_layout Standard
18685
18686 \series bold
18687
18688 \backslash
18689 renewcommand{
18690 \backslash
18691 bottomfraction}{0.5}
18692 \end_layout
18693
18694 \begin_layout Standard
18695 Sometimes you might need, under all circumstances, a float to be placed
18696  exactly at the position where it is inserted.
18697  For this case you can use the option 
18698 \family sans
18699 Here\InsetSpace ~
18700 definitely
18701 \family default
18702 .
18703  Use this option very rarely and only if the document is nearly ready to
18704  be printed.
18705  Because the float is then no longer able to 
18706 \begin_inset Quotes eld
18707 \end_inset
18708
18709 float
18710 \begin_inset Quotes erd
18711 \end_inset
18712
18713  when you change your document and this will often destroy the page layout.
18714 \end_layout
18715
18716 \begin_layout Standard
18717 There are no placement options for text wrap floats, because they are always
18718  surrounded by the text of a certain paragraph.
18719 \begin_inset VSpace bigskip
18720 \end_inset
18721
18722
18723 \end_layout
18724
18725 \begin_layout Standard
18726 Sometimes you have the problem that a float is placed at the top of a page
18727  while its corresponding section starts at the middle of the page, so that
18728  the reader could think the float is part of the previous section.
18729  To avoid this the LaTeX-command 
18730 \series bold
18731
18732 \backslash
18733 suppressf\SpecialChar \textcompwordmark{}
18734 loats
18735 \series default
18736  can be used.
18737  It suppresses a given float placement for the page where it is inserted
18738  and can therefore be used to avoid that floats could be set before a section
18739  starts.
18740  To get this, add these commands to your document preamble:
18741 \end_layout
18742
18743 \begin_layout Standard
18744
18745 \series bold
18746
18747 \backslash
18748 let
18749 \backslash
18750 mySection
18751 \backslash
18752 section
18753 \newline
18754
18755 \backslash
18756 renewcommand{
18757 \backslash
18758 section}{
18759 \backslash
18760 suppressf\SpecialChar \textcompwordmark{}
18761 loats[t]
18762 \backslash
18763 mySection}
18764 \end_layout
18765
18766 \begin_layout Standard
18767 You can define the same for all section headings, like chapters and subsections.
18768  This definition is not recommended to be used for small text parts like
18769  subsubsections because LaTeX may then have problems to find a suitable
18770  placement.
18771 \end_layout
18772
18773 \begin_layout Standard
18774 \begin_inset VSpace bigskip
18775 \end_inset
18776
18777 In some cases it is required to have all figures/tables at the end of the
18778  document.
18779  For this purpose the LaTeX-package 
18780 \series bold
18781 endf\SpecialChar \textcompwordmark{}
18782 loat
18783 \series default
18784
18785 \begin_inset LatexCommand index
18786 name "LaTeX-packages ! endfloat"
18787
18788 \end_inset
18789
18790  was developed.
18791  It puts all figure and table floats at the end of the document into own
18792  sections.
18793  At the original float position a text hint like 
18794 \begin_inset Quotes eld
18795 \end_inset
18796
18797
18798 \family sans
18799 [Figure\InsetSpace ~
18800 3.2 about here.]
18801 \family default
18802
18803 \begin_inset Quotes erd
18804 \end_inset
18805
18806  is inserted.
18807  The endfloat-package is loaded in the preamble with the line
18808 \end_layout
18809
18810 \begin_layout Standard
18811
18812 \series bold
18813
18814 \backslash
18815 usepackage[options]{endf\SpecialChar \textcompwordmark{}
18816 loat}
18817 \end_layout
18818
18819 \begin_layout Standard
18820 There are various package options to format the created figure/table sections.
18821  For more information we refer to the 
18822 \series bold
18823 endf\SpecialChar \textcompwordmark{}
18824 loat
18825 \series default
18826  documentation 
18827 \begin_inset LatexCommand cite
18828 key "endfloat"
18829
18830 \end_inset
18831
18832 .
18833 \newline
18834
18835 \begin_inset Note Greyedout
18836 status open
18837
18838 \begin_layout Standard
18839
18840 \series bold
18841 Note: endf\SpecialChar \textcompwordmark{}
18842 loat
18843 \series default
18844  doesn't provide an automatic translation for the text hint, you have to
18845  do this manually, see section\InsetSpace ~
18846 4 in 
18847 \begin_inset LatexCommand cite
18848 key "endfloat"
18849
18850 \end_inset
18851
18852 .
18853 \end_layout
18854
18855 \end_inset
18856
18857
18858 \newline
18859
18860 \begin_inset Note Greyedout
18861 status open
18862
18863 \begin_layout Standard
18864
18865 \series bold
18866 Note:
18867 \series default
18868  There is currently a bug in 
18869 \series bold
18870 endf\SpecialChar \textcompwordmark{}
18871 loat
18872 \series default
18873  when the caption contains a German 
18874 \begin_inset Quotes eld
18875 \end_inset
18876
18877 ß
18878 \begin_inset Quotes erd
18879 \end_inset
18880
18881 .
18882  Use in this case the command 
18883 \begin_inset Quotes eld
18884 \end_inset
18885
18886
18887 \series bold
18888
18889 \backslash
18890 ss
18891 \series default
18892
18893 \begin_inset Quotes erd
18894 \end_inset
18895
18896  in ERT instead of 
18897 \begin_inset Quotes eld
18898 \end_inset
18899
18900 ß
18901 \begin_inset Quotes erd
18902 \end_inset
18903
18904 .
18905 \end_layout
18906
18907 \end_inset
18908
18909
18910 \end_layout
18911
18912 \begin_layout Standard
18913 \begin_inset VSpace bigskip
18914 \end_inset
18915
18916 For more details about float placements, have a look at LaTeX books, 
18917 \begin_inset LatexCommand cite
18918 key "latexcompanion,latexguide,latexbook"
18919
18920 \end_inset
18921
18922 .
18923 \end_layout
18924
18925 \begin_layout Section
18926 Rotated Floats
18927 \begin_inset LatexCommand label
18928 name "sec:Rotated-Floats"
18929
18930 \end_inset
18931
18932
18933 \begin_inset LatexCommand index
18934 name "Floats ! Rotating"
18935
18936 \end_inset
18937
18938
18939 \end_layout
18940
18941 \begin_layout Standard
18942 Especially for wide tables you might have floats rotated.
18943  To rotate a whole float including the caption, right-click on the float-box
18944  and use the option 
18945 \family sans
18946 Rotate\InsetSpace ~
18947 sideways
18948 \family default
18949 .
18950 \end_layout
18951
18952 \begin_layout Standard
18953 Rotated floats are always placed on its own page (or column, when you have
18954  a two-column document).
18955  They are normally rotated so that you can read them from the outside margin
18956  -- to the left on even pages, to the right on odd pages.
18957 \end_layout
18958
18959 \begin_layout Standard
18960 Referencing rotated floats is the same like for normal floats, the caption
18961  format is also the same: Table\InsetSpace ~
18962
18963 \begin_inset LatexCommand ref
18964 reference "tab:Rotated-table"
18965
18966 \end_inset
18967
18968  is an example of a rotated table float.
18969 \end_layout
18970
18971 \begin_layout Standard
18972 \begin_inset Note Greyedout
18973 status open
18974
18975 \begin_layout Standard
18976
18977 \series bold
18978 Note:
18979 \series default
18980  Not all DVI-viewers are able to display rotated floats.
18981 \end_layout
18982
18983 \end_inset
18984
18985
18986 \end_layout
18987
18988 \begin_layout Standard
18989 \begin_inset Float table
18990 wide false
18991 sideways true
18992 status open
18993
18994 \begin_layout Standard
18995 \begin_inset Caption
18996
18997 \begin_layout Standard
18998 \begin_inset LatexCommand label
18999 name "tab:Rotated-table"
19000
19001 \end_inset
19002
19003  Rotated table
19004 \end_layout
19005
19006 \end_inset
19007
19008
19009 \end_layout
19010
19011 \begin_layout Standard
19012 \align center
19013 \begin_inset Tabular
19014 <lyxtabular version="3" rows="1" columns="5">
19015 <features>
19016 <column alignment="center" valignment="top" leftline="true" width="0">
19017 <column alignment="center" valignment="top" leftline="true" width="0">
19018 <column alignment="center" valignment="top" leftline="true" width="0">
19019 <column alignment="center" valignment="top" leftline="true" width="0">
19020 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19021 <row topline="true" bottomline="true">
19022 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19023 \begin_inset Text
19024
19025 \begin_layout Standard
19026 test
19027 \end_layout
19028
19029 \end_inset
19030 </cell>
19031 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19032 \begin_inset Text
19033
19034 \begin_layout Standard
19035 b
19036 \end_layout
19037
19038 \end_inset
19039 </cell>
19040 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19041 \begin_inset Text
19042
19043 \begin_layout Standard
19044 c
19045 \end_layout
19046
19047 \end_inset
19048 </cell>
19049 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19050 \begin_inset Text
19051
19052 \begin_layout Standard
19053 d
19054 \end_layout
19055
19056 \end_inset
19057 </cell>
19058 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19059 \begin_inset Text
19060
19061 \begin_layout Standard
19062 e
19063 \end_layout
19064
19065 \end_inset
19066 </cell>
19067 </row>
19068 </lyxtabular>
19069
19070 \end_inset
19071
19072
19073 \end_layout
19074
19075 \end_inset
19076
19077
19078 \end_layout
19079
19080 \begin_layout Section
19081 Caption Formatting
19082 \begin_inset LatexCommand index
19083 name "Caption ! Formatting"
19084
19085 \end_inset
19086
19087
19088 \begin_inset LatexCommand index
19089 name "Floats ! Caption Formatting"
19090
19091 \end_inset
19092
19093
19094 \begin_inset LatexCommand index
19095 name "LaTeX-packages ! caption"
19096
19097 \end_inset
19098
19099
19100 \begin_inset LatexCommand label
19101 name "sec:Caption-Formatting"
19102
19103 \end_inset
19104
19105
19106 \end_layout
19107
19108 \begin_layout Standard
19109 The 
19110 \family sans
19111 Caption
19112 \family default
19113  environment is the default paragraph environment for 
19114 \family sans
19115 Floats
19116 \family default
19117 .
19118  On the LyX screen captions appear as label, e.\InsetSpace \thinspace{}
19119 g.\InsetSpace ~
19120
19121 \begin_inset Quotes eld
19122 \end_inset
19123
19124
19125 \family sans
19126 Figure #:
19127 \family default
19128
19129 \begin_inset Quotes erd
19130 \end_inset
19131
19132  followed by the caption text.
19133  The number sign 
19134 \begin_inset Quotes eld
19135 \end_inset
19136
19137 #
19138 \begin_inset Quotes erd
19139 \end_inset
19140
19141  is substituted in the printed output by the actual reference number.
19142  By default the label and the number are in the same font as the caption
19143  text and a colon follows the number to divide then label from the text.
19144  This caption format is not suitable for all document formats.
19145  
19146 \end_layout
19147
19148 \begin_layout Standard
19149 To change the default caption format, load the LaTeX-package 
19150 \series bold
19151 caption
19152 \series default
19153
19154 \begin_inset LatexCommand index
19155 name "LaTeX-packages ! caption"
19156
19157 \end_inset
19158
19159  in the document preamble with this line:
19160 \end_layout
19161
19162 \begin_layout Standard
19163
19164 \series bold
19165
19166 \backslash
19167 usepackage[format definition]{caption}
19168 \end_layout
19169
19170 \begin_layout Standard
19171 To have for example the label and the number in sans-serif bold font and
19172  the table captions always above the table like in this document, use the
19173  following command:
19174 \end_layout
19175
19176 \begin_layout Standard
19177
19178 \series bold
19179
19180 \backslash
19181 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
19182 \end_layout
19183
19184 \begin_layout Standard
19185 You can also define different caption formats for the different float types.
19186  In this case load the 
19187 \series bold
19188 caption
19189 \series default
19190  package without format specific options and define the different formats
19191  with the help of the command
19192 \end_layout
19193
19194 \begin_layout Standard
19195
19196 \series bold
19197
19198 \backslash
19199 captionsetup[float type]{format definition}
19200 \end_layout
19201
19202 \begin_layout Standard
19203 in the document preamble.
19204  For example the caption formats of Figure\InsetSpace ~
19205
19206 \begin_inset LatexCommand ref
19207 reference "fig:This-is-an-fig"
19208
19209 \end_inset
19210
19211  and Table\InsetSpace ~
19212
19213 \begin_inset LatexCommand ref
19214 reference "tab:This-is-an-tab"
19215
19216 \end_inset
19217
19218  can be created using these commands in the document preamble:
19219 \end_layout
19220
19221 \begin_layout Standard
19222
19223 \series bold
19224
19225 \backslash
19226 usepackage[tableposition=top]{caption}
19227 \series default
19228
19229 \newline
19230
19231 \series bold
19232
19233 \backslash
19234 captionsetup[f\SpecialChar \textcompwordmark{}
19235 igure]{labelfont={tt}, textfont=it, indention=1cm,%
19236 \newline
19237
19238 \begin_inset ERT
19239 status collapsed
19240
19241 \begin_layout Standard
19242
19243
19244 \backslash
19245 hphantom{
19246 \backslash
19247
19248 \backslash
19249 captionsetup[figure]
19250 \backslash
19251 {}
19252 \end_layout
19253
19254 \end_inset
19255
19256  labelsep=period}
19257 \newline
19258
19259 \backslash
19260 captionsetup[table]{labelfont={bf,sf}}
19261 \end_layout
19262
19263 \begin_layout Standard
19264 For more information about the package 
19265 \series bold
19266 caption
19267 \series default
19268  we refer to its documentation 
19269 \begin_inset LatexCommand cite
19270 key "caption,caption-de"
19271
19272 \end_inset
19273
19274 .
19275 \end_layout
19276
19277 \begin_layout Standard
19278 \begin_inset VSpace bigskip
19279 \end_inset
19280
19281 If you are using a 
19282 \series bold
19283 koma-script
19284 \series default
19285
19286 \begin_inset LatexCommand index
19287 name "LaTeX-packages ! koma-script"
19288
19289 \end_inset
19290
19291  document class (
19292 \family sans
19293 article (koma-script)
19294 \family default
19295
19296 \family sans
19297 book (koma-script)
19298 \family default
19299
19300 \family sans
19301 letter (koma-script)
19302 \family default
19303 , or 
19304 \family sans
19305 report (koma-script)
19306 \family default
19307 \InsetSpace \thinspace{}
19308 ), you can alternatively to the 
19309 \series bold
19310 caption
19311 \series default
19312  package use 
19313 \series bold
19314 koma-script
19315 \series default
19316 's built-in command 
19317 \series bold
19318
19319 \backslash
19320 setkomafont
19321 \series default
19322 .
19323  For example, to have the caption label in bold, add this command to your
19324  document preamble:
19325 \end_layout
19326
19327 \begin_layout Standard
19328
19329 \series bold
19330
19331 \backslash
19332 setkomafont{captionlabel}{
19333 \backslash
19334 bfseries}
19335 \end_layout
19336
19337 \begin_layout Standard
19338 For more information about 
19339 \series bold
19340
19341 \backslash
19342 setkomafont
19343 \series default
19344  we refer to the 
19345 \series bold
19346 koma-script
19347 \series default
19348  documentation 
19349 \begin_inset LatexCommand cite
19350 key "koma-script,koma-script-de"
19351
19352 \end_inset
19353
19354 .
19355 \end_layout
19356
19357 \begin_layout Standard
19358 \begin_inset ERT
19359 status collapsed
19360
19361 \begin_layout Standard
19362
19363
19364 \backslash
19365 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
19366 }
19367 \end_layout
19368
19369 \end_inset
19370
19371
19372 \begin_inset Note Note
19373 status open
19374
19375 \begin_layout Standard
19376 The caption format is changed only for this example.
19377 \end_layout
19378
19379 \end_inset
19380
19381
19382 \end_layout
19383
19384 \begin_layout Standard
19385 \begin_inset Float figure
19386 placement !p
19387 wide false
19388 sideways false
19389 status open
19390
19391 \begin_layout Standard
19392 \align center
19393 \begin_inset Graphics
19394         filename mobius.eps
19395         lyxscale 50
19396         scale 50
19397
19398 \end_inset
19399
19400
19401 \end_layout
19402
19403 \begin_layout Standard
19404 \begin_inset Caption
19405
19406 \begin_layout Standard
19407 \begin_inset LatexCommand label
19408 name "fig:This-is-an-fig"
19409
19410 \end_inset
19411
19412 This is an example figure caption that is longer than one line to show the
19413  different caption format.
19414  Here a self-defined caption format is used.
19415 \end_layout
19416
19417 \end_inset
19418
19419
19420 \end_layout
19421
19422 \end_inset
19423
19424
19425 \end_layout
19426
19427 \begin_layout Standard
19428 \begin_inset ERT
19429 status collapsed
19430
19431 \begin_layout Standard
19432
19433
19434 \backslash
19435 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
19436 on}
19437 \end_layout
19438
19439 \end_inset
19440
19441
19442 \end_layout
19443
19444 \begin_layout Standard
19445 \begin_inset Float table
19446 placement !p
19447 wide false
19448 sideways false
19449 status open
19450
19451 \begin_layout Standard
19452 \begin_inset Caption
19453
19454 \begin_layout Standard
19455 \begin_inset LatexCommand label
19456 name "tab:This-is-an-tab"
19457
19458 \end_inset
19459
19460 This is an example table caption that is longer than one line to show the
19461  different caption format.
19462  Here the standard caption format for tables in this document is used.
19463 \end_layout
19464
19465 \end_inset
19466
19467
19468 \end_layout
19469
19470 \begin_layout Standard
19471 \align center
19472 \begin_inset Tabular
19473 <lyxtabular version="3" rows="1" columns="5">
19474 <features>
19475 <column alignment="center" valignment="top" leftline="true" width="0">
19476 <column alignment="center" valignment="top" leftline="true" width="0">
19477 <column alignment="center" valignment="top" leftline="true" width="0">
19478 <column alignment="center" valignment="top" leftline="true" width="0">
19479 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19480 <row topline="true" bottomline="true">
19481 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19482 \begin_inset Text
19483
19484 \begin_layout Standard
19485 a
19486 \end_layout
19487
19488 \end_inset
19489 </cell>
19490 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19491 \begin_inset Text
19492
19493 \begin_layout Standard
19494 b
19495 \end_layout
19496
19497 \end_inset
19498 </cell>
19499 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19500 \begin_inset Text
19501
19502 \begin_layout Standard
19503 c
19504 \end_layout
19505
19506 \end_inset
19507 </cell>
19508 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19509 \begin_inset Text
19510
19511 \begin_layout Standard
19512 d
19513 \end_layout
19514
19515 \end_inset
19516 </cell>
19517 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19518 \begin_inset Text
19519
19520 \begin_layout Standard
19521 e
19522 \end_layout
19523
19524 \end_inset
19525 </cell>
19526 </row>
19527 </lyxtabular>
19528
19529 \end_inset
19530
19531
19532 \end_layout
19533
19534 \end_inset
19535
19536
19537 \end_layout
19538
19539 \begin_layout Section
19540 Caption Placement
19541 \begin_inset LatexCommand index
19542 name "Caption ! Placement"
19543
19544 \end_inset
19545
19546
19547 \begin_inset LatexCommand index
19548 name "Floats ! Caption Placement"
19549
19550 \end_inset
19551
19552
19553 \begin_inset LatexCommand label
19554 name "sec:Caption-Placement"
19555
19556 \end_inset
19557
19558
19559 \end_layout
19560
19561 \begin_layout Standard
19562 The common caption placement rule is:
19563 \end_layout
19564
19565 \begin_layout Description
19566 Figure: Caption is set below the figure
19567 \end_layout
19568
19569 \begin_layout Description
19570 Table: Caption is set above the table
19571 \end_layout
19572
19573 \begin_layout Standard
19574 Having the caption above the table is unfortunately not supported in LaTeX's
19575  standard classes.
19576  That means if you are using the document classes 
19577 \family sans
19578 article
19579 \family default
19580
19581 \family sans
19582 book
19583 \family default
19584
19585 \family sans
19586 letter
19587 \family default
19588 , or 
19589 \family sans
19590 report
19591 \family default
19592  there will be no space between the caption and the table.
19593  To insert the needed space, add the following option to the load command
19594  of the LaTeX-package 
19595 \series bold
19596 caption
19597 \series default
19598  in your document preamble
19599 \begin_inset Foot
19600 status collapsed
19601
19602 \begin_layout Standard
19603 See section\InsetSpace ~
19604
19605 \begin_inset LatexCommand ref
19606 reference "sec:Caption-Formatting"
19607
19608 \end_inset
19609
19610  for more information of the package 
19611 \series bold
19612 caption
19613 \series default
19614 .
19615 \end_layout
19616
19617 \end_inset
19618
19619 :
19620 \end_layout
19621
19622 \begin_layout Standard
19623
19624 \series bold
19625 tableposition=top
19626 \end_layout
19627
19628 \begin_layout Standard
19629 If you are using a 
19630 \series bold
19631 koma-script
19632 \series default
19633
19634 \begin_inset LatexCommand index
19635 name "LaTeX-packages ! koma-script"
19636
19637 \end_inset
19638
19639  document class (
19640 \family sans
19641 article (koma-script)
19642 \family default
19643
19644 \family sans
19645 book (koma-script)
19646 \family default
19647
19648 \family sans
19649 letter (koma-script)
19650 \family default
19651 , or 
19652 \family sans
19653 report (koma-script)
19654 \family default
19655 \InsetSpace \thinspace{}
19656 ), you can alternatively to the 
19657 \series bold
19658 caption
19659 \series default
19660  package set the document class option 
19661 \series bold
19662 tablecaptionabove
19663 \series default
19664 , or you can use the environment 
19665 \family sans
19666 caption\InsetSpace ~
19667 above
19668 \family default
19669  instead of the 
19670 \family sans
19671 caption
19672 \family default
19673  environment.
19674 \end_layout
19675
19676 \begin_layout Standard
19677 \begin_inset VSpace bigskip
19678 \end_inset
19679
19680 It is also possible to set the caption beside a figure or table.
19681  To get this the LaTeX-package 
19682 \series bold
19683 sidecap
19684 \series default
19685
19686 \begin_inset LatexCommand index
19687 name "LaTeX-packages ! sidecap"
19688
19689 \end_inset
19690
19691  has to be loaded in the document preamble with the line
19692 \end_layout
19693
19694 \begin_layout Standard
19695
19696 \series bold
19697
19698 \backslash
19699 usepackage[option]{sidecap}
19700 \end_layout
19701
19702 \begin_layout Standard
19703 If you set no option, the caption is placed on the side of the outer page
19704  margin -- to the right on odd pages, to the left on even pages.
19705  You can change the placement to inner margin with the option 
19706 \series bold
19707 innercaption
19708 \series default
19709 .
19710  To force the placement always to the right or left, use the option 
19711 \series bold
19712 rightcaption
19713 \series default
19714  or 
19715 \series bold
19716 leftcaption
19717 \series default
19718 , respectively.
19719 \end_layout
19720
19721 \begin_layout Standard
19722 To place in LyX the caption of a float on the side, it is necessary to add
19723  these commands to the document preamble:
19724 \end_layout
19725
19726 \begin_layout Standard
19727
19728 \lyxline
19729
19730 \end_layout
19731
19732 \begin_layout Standard
19733
19734 \series bold
19735
19736 \backslash
19737 newcommand{
19738 \backslash
19739 TabBesBeg}{%
19740 \newline
19741
19742 \begin_inset ERT
19743 status collapsed
19744
19745 \begin_layout Standard
19746
19747
19748 \backslash
19749 hphantom{ }
19750 \end_layout
19751
19752 \end_inset
19753
19754
19755 \backslash
19756 let
19757 \backslash
19758 MyTable
19759 \backslash
19760 table
19761 \newline
19762
19763 \begin_inset ERT
19764 status collapsed
19765
19766 \begin_layout Standard
19767
19768
19769 \backslash
19770 hphantom{ }
19771 \end_layout
19772
19773 \end_inset
19774
19775
19776 \backslash
19777 let
19778 \backslash
19779 MyEndtable
19780 \backslash
19781 endtable
19782 \newline
19783
19784 \begin_inset ERT
19785 status collapsed
19786
19787 \begin_layout Standard
19788
19789
19790 \backslash
19791 hphantom{ }
19792 \end_layout
19793
19794 \end_inset
19795
19796
19797 \backslash
19798 renewenvironment{table}{
19799 \backslash
19800 begin{SCtable}}{
19801 \backslash
19802 end{SCtable}}}
19803 \end_layout
19804
19805 \begin_layout Standard
19806
19807 \series bold
19808
19809 \backslash
19810 newcommand{
19811 \backslash
19812 TabBesEnd}{%
19813 \newline
19814
19815 \begin_inset ERT
19816 status collapsed
19817
19818 \begin_layout Standard
19819
19820
19821 \backslash
19822 hphantom{ }
19823 \end_layout
19824
19825 \end_inset
19826
19827
19828 \backslash
19829 let
19830 \backslash
19831 table
19832 \backslash
19833 MyTable
19834 \newline
19835
19836 \begin_inset ERT
19837 status collapsed
19838
19839 \begin_layout Standard
19840
19841
19842 \backslash
19843 hphantom{ }
19844 \end_layout
19845
19846 \end_inset
19847
19848
19849 \backslash
19850 let
19851 \backslash
19852 endtable
19853 \backslash
19854 MyEndtable
19855 \end_layout
19856
19857 \begin_layout Standard
19858
19859 \series bold
19860
19861 \backslash
19862 newcommand{
19863 \backslash
19864 FigBesBeg}{%
19865 \newline
19866
19867 \begin_inset ERT
19868 status collapsed
19869
19870 \begin_layout Standard
19871
19872
19873 \backslash
19874 hphantom{ }
19875 \end_layout
19876
19877 \end_inset
19878
19879
19880 \backslash
19881 let
19882 \backslash
19883 MyFigure
19884 \backslash
19885 f\SpecialChar \textcompwordmark{}
19886 igure
19887 \newline
19888
19889 \begin_inset ERT
19890 status collapsed
19891
19892 \begin_layout Standard
19893
19894
19895 \backslash
19896 hphantom{ }
19897 \end_layout
19898
19899 \end_inset
19900
19901
19902 \backslash
19903 let
19904 \backslash
19905 MyEndf\SpecialChar \textcompwordmark{}
19906 igure
19907 \backslash
19908 endf\SpecialChar \textcompwordmark{}
19909 igure
19910 \newline
19911
19912 \begin_inset ERT
19913 status collapsed
19914
19915 \begin_layout Standard
19916
19917
19918 \backslash
19919 hphantom{ }
19920 \end_layout
19921
19922 \end_inset
19923
19924
19925 \backslash
19926 renewenvironment{f\SpecialChar \textcompwordmark{}
19927 igure}{
19928 \backslash
19929 begin{SCf\SpecialChar \textcompwordmark{}
19930 igure}}{
19931 \backslash
19932 end{SCf\SpecialChar \textcompwordmark{}
19933 igure}}}
19934 \end_layout
19935
19936 \begin_layout Standard
19937
19938 \series bold
19939
19940 \backslash
19941 newcommand{
19942 \backslash
19943 FigBesEnd}{%
19944 \newline
19945
19946 \begin_inset ERT
19947 status collapsed
19948
19949 \begin_layout Standard
19950
19951
19952 \backslash
19953 hphantom{ }
19954 \end_layout
19955
19956 \end_inset
19957
19958
19959 \backslash
19960 let
19961 \backslash
19962 f\SpecialChar \textcompwordmark{}
19963 igure
19964 \backslash
19965 MyFigure
19966 \newline
19967
19968 \begin_inset ERT
19969 status collapsed
19970
19971 \begin_layout Standard
19972
19973
19974 \backslash
19975 hphantom{ }
19976 \end_layout
19977
19978 \end_inset
19979
19980
19981 \backslash
19982 let
19983 \backslash
19984 endf\SpecialChar \textcompwordmark{}
19985 igure
19986 \backslash
19987 MyEndf\SpecialChar \textcompwordmark{}
19988 igure}
19989 \end_layout
19990
19991 \begin_layout Standard
19992
19993 \lyxline
19994
19995 \end_layout
19996
19997 \begin_layout Standard
19998 The commands allow you to redefine the floats so that the caption is set
19999  on the side.
20000  For figure floats use the command
20001 \end_layout
20002
20003 \begin_layout Standard
20004
20005 \series bold
20006
20007 \backslash
20008 FigBesBeg
20009 \end_layout
20010
20011 \begin_layout Standard
20012 in ERT before the float.
20013  Behind the float insert the command
20014 \end_layout
20015
20016 \begin_layout Standard
20017
20018 \series bold
20019
20020 \backslash
20021 FigBesEnd
20022 \end_layout
20023
20024 \begin_layout Standard
20025 in ERT to get back to the original float definition.
20026 \end_layout
20027
20028 \begin_layout Standard
20029 For table floats use the corresponding commands
20030 \end_layout
20031
20032 \begin_layout Standard
20033
20034 \series bold
20035
20036 \backslash
20037 TabBesBeg
20038 \series default
20039  and 
20040 \series bold
20041
20042 \backslash
20043 TabBesEnd
20044 \end_layout
20045
20046 \begin_layout Standard
20047 Figure\InsetSpace ~
20048
20049 \begin_inset LatexCommand ref
20050 reference "fig:cap-beside-fig"
20051
20052 \end_inset
20053
20054  and Table\InsetSpace ~
20055
20056 \begin_inset LatexCommand ref
20057 reference "tab:cap-beside-tab"
20058
20059 \end_inset
20060
20061  are examples where the caption is set beside.
20062 \end_layout
20063
20064 \begin_layout Standard
20065 You can see in the examples that the caption text appears at the top of
20066  the floats for table floats and at the bottom for figure floats.
20067  To change this, you can use the command
20068 \end_layout
20069
20070 \begin_layout Standard
20071
20072 \series bold
20073
20074 \backslash
20075 sidecaptionvpos{float type}{placement}
20076 \end_layout
20077
20078 \begin_layout Standard
20079 in the document preamble or in ERT before the float.
20080  The float type is either 
20081 \family sans
20082 figure
20083 \family default
20084  or 
20085 \family sans
20086 table
20087 \family default
20088 , the placement can be 
20089 \begin_inset Quotes eld
20090 \end_inset
20091
20092
20093 \family sans
20094 t
20095 \family default
20096
20097 \begin_inset Quotes erd
20098 \end_inset
20099
20100  for top, 
20101 \begin_inset Quotes eld
20102 \end_inset
20103
20104
20105 \family sans
20106 c
20107 \family default
20108
20109 \begin_inset Quotes erd
20110 \end_inset
20111
20112  for center, or 
20113 \begin_inset Quotes eld
20114 \end_inset
20115
20116
20117 \family sans
20118 b
20119 \family default
20120
20121 \begin_inset Quotes erd
20122 \end_inset
20123
20124  for bottom.
20125  To have for example the caption of figure floats vertically centered, use
20126  the command
20127 \end_layout
20128
20129 \begin_layout Standard
20130
20131 \series bold
20132
20133 \backslash
20134 sidecaptionvpos{f\SpecialChar \textcompwordmark{}
20135 igure}{c}
20136 \end_layout
20137
20138 \begin_layout Standard
20139 This was used for Figure\InsetSpace ~
20140
20141 \begin_inset LatexCommand ref
20142 reference "fig:cap-beside-fig-2"
20143
20144 \end_inset
20145
20146 .
20147 \end_layout
20148
20149 \begin_layout Standard
20150 \begin_inset VSpace defskip
20151 \end_inset
20152
20153 For more information about the package 
20154 \series bold
20155 sidecap
20156 \series default
20157  we refer to its documentation 
20158 \begin_inset LatexCommand cite
20159 key "sidecap"
20160
20161 \end_inset
20162
20163 .
20164 \end_layout
20165
20166 \begin_layout Standard
20167 \begin_inset Note Greyedout
20168 status open
20169
20170 \begin_layout Standard
20171
20172 \series bold
20173 Note:
20174 \series default
20175  The LaTeX-package 
20176 \series bold
20177 hypcap
20178 \series default
20179
20180 \begin_inset LatexCommand index
20181 name "LaTeX-packages ! hypcap"
20182
20183 \end_inset
20184
20185 , described in section\InsetSpace ~
20186
20187 \begin_inset LatexCommand ref
20188 reference "sub:Reference-Position"
20189
20190 \end_inset
20191
20192 , has no effect on floats with the caption set beside.
20193 \end_layout
20194
20195 \end_inset
20196
20197
20198 \end_layout
20199
20200 \begin_layout Standard
20201 \begin_inset ERT
20202 status collapsed
20203
20204 \begin_layout Standard
20205
20206
20207 \backslash
20208 FigBesBeg 
20209 \end_layout
20210
20211 \end_inset
20212
20213
20214 \end_layout
20215
20216 \begin_layout Standard
20217 \begin_inset Float figure
20218 wide false
20219 sideways false
20220 status open
20221
20222 \begin_layout Standard
20223 \begin_inset Graphics
20224         filename escher-lsd.eps
20225         scale 75
20226
20227 \end_inset
20228
20229
20230 \end_layout
20231
20232 \begin_layout Standard
20233 \begin_inset Caption
20234
20235 \begin_layout Standard
20236 \begin_inset LatexCommand label
20237 name "fig:cap-beside-fig"
20238
20239 \end_inset
20240
20241 This is a caption beside a figure.
20242 \end_layout
20243
20244 \end_inset
20245
20246
20247 \end_layout
20248
20249 \end_inset
20250
20251
20252 \end_layout
20253
20254 \begin_layout Standard
20255 \begin_inset ERT
20256 status collapsed
20257
20258 \begin_layout Standard
20259
20260
20261 \backslash
20262 TabBesBeg 
20263 \end_layout
20264
20265 \end_inset
20266
20267
20268 \end_layout
20269
20270 \begin_layout Standard
20271 \begin_inset Float table
20272 wide false
20273 sideways false
20274 status open
20275
20276 \begin_layout Standard
20277 \begin_inset Caption
20278
20279 \begin_layout Standard
20280 \begin_inset LatexCommand label
20281 name "tab:cap-beside-tab"
20282
20283 \end_inset
20284
20285 This is a caption beside a table.
20286 \end_layout
20287
20288 \end_inset
20289
20290
20291 \end_layout
20292
20293 \begin_layout Standard
20294 \begin_inset Tabular
20295 <lyxtabular version="3" rows="4" columns="5">
20296 <features>
20297 <column alignment="center" valignment="top" leftline="true" width="0">
20298 <column alignment="center" valignment="top" leftline="true" width="0">
20299 <column alignment="center" valignment="top" leftline="true" width="0">
20300 <column alignment="center" valignment="top" leftline="true" width="0">
20301 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
20302 <row topline="true">
20303 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20304 \begin_inset Text
20305
20306 \begin_layout Standard
20307 a
20308 \end_layout
20309
20310 \end_inset
20311 </cell>
20312 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20313 \begin_inset Text
20314
20315 \begin_layout Standard
20316
20317 \end_layout
20318
20319 \end_inset
20320 </cell>
20321 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20322 \begin_inset Text
20323
20324 \begin_layout Standard
20325 b
20326 \end_layout
20327
20328 \end_inset
20329 </cell>
20330 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20331 \begin_inset Text
20332
20333 \begin_layout Standard
20334
20335 \end_layout
20336
20337 \end_inset
20338 </cell>
20339 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20340 \begin_inset Text
20341
20342 \begin_layout Standard
20343 c
20344 \end_layout
20345
20346 \end_inset
20347 </cell>
20348 </row>
20349 <row topline="true">
20350 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20351 \begin_inset Text
20352
20353 \begin_layout Standard
20354
20355 \end_layout
20356
20357 \end_inset
20358 </cell>
20359 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20360 \begin_inset Text
20361
20362 \begin_layout Standard
20363 d
20364 \end_layout
20365
20366 \end_inset
20367 </cell>
20368 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20369 \begin_inset Text
20370
20371 \begin_layout Standard
20372
20373 \end_layout
20374
20375 \end_inset
20376 </cell>
20377 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20378 \begin_inset Text
20379
20380 \begin_layout Standard
20381 e
20382 \end_layout
20383
20384 \end_inset
20385 </cell>
20386 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20387 \begin_inset Text
20388
20389 \begin_layout Standard
20390
20391 \end_layout
20392
20393 \end_inset
20394 </cell>
20395 </row>
20396 <row topline="true">
20397 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20398 \begin_inset Text
20399
20400 \begin_layout Standard
20401 f
20402 \end_layout
20403
20404 \end_inset
20405 </cell>
20406 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20407 \begin_inset Text
20408
20409 \begin_layout Standard
20410
20411 \end_layout
20412
20413 \end_inset
20414 </cell>
20415 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20416 \begin_inset Text
20417
20418 \begin_layout Standard
20419 g
20420 \end_layout
20421
20422 \end_inset
20423 </cell>
20424 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20425 \begin_inset Text
20426
20427 \begin_layout Standard
20428
20429 \end_layout
20430
20431 \end_inset
20432 </cell>
20433 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20434 \begin_inset Text
20435
20436 \begin_layout Standard
20437 h
20438 \end_layout
20439
20440 \end_inset
20441 </cell>
20442 </row>
20443 <row topline="true" bottomline="true">
20444 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20445 \begin_inset Text
20446
20447 \begin_layout Standard
20448
20449 \end_layout
20450
20451 \end_inset
20452 </cell>
20453 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20454 \begin_inset Text
20455
20456 \begin_layout Standard
20457 i
20458 \end_layout
20459
20460 \end_inset
20461 </cell>
20462 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20463 \begin_inset Text
20464
20465 \begin_layout Standard
20466
20467 \end_layout
20468
20469 \end_inset
20470 </cell>
20471 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20472 \begin_inset Text
20473
20474 \begin_layout Standard
20475 j
20476 \end_layout
20477
20478 \end_inset
20479 </cell>
20480 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20481 \begin_inset Text
20482
20483 \begin_layout Standard
20484
20485 \end_layout
20486
20487 \end_inset
20488 </cell>
20489 </row>
20490 </lyxtabular>
20491
20492 \end_inset
20493
20494
20495 \end_layout
20496
20497 \end_inset
20498
20499
20500 \end_layout
20501
20502 \begin_layout Standard
20503 \begin_inset ERT
20504 status collapsed
20505
20506 \begin_layout Standard
20507
20508
20509 \backslash
20510 TabBesEnd
20511 \end_layout
20512
20513 \end_inset
20514
20515
20516 \end_layout
20517
20518 \begin_layout Standard
20519 \begin_inset ERT
20520 status collapsed
20521
20522 \begin_layout Standard
20523
20524
20525 \backslash
20526 sidecaptionvpos{figure}{c}
20527 \end_layout
20528
20529 \end_inset
20530
20531
20532 \begin_inset Float figure
20533 wide false
20534 sideways false
20535 status open
20536
20537 \begin_layout Standard
20538 \begin_inset Graphics
20539         filename escher-lsd.eps
20540         scale 75
20541
20542 \end_inset
20543
20544
20545 \end_layout
20546
20547 \begin_layout Standard
20548 \begin_inset Caption
20549
20550 \begin_layout Standard
20551 \begin_inset LatexCommand label
20552 name "fig:cap-beside-fig-2"
20553
20554 \end_inset
20555
20556 This is a vertically centered caption beside a figure.
20557 \end_layout
20558
20559 \end_inset
20560
20561
20562 \end_layout
20563
20564 \end_inset
20565
20566
20567 \end_layout
20568
20569 \begin_layout Standard
20570 \begin_inset ERT
20571 status collapsed
20572
20573 \begin_layout Standard
20574
20575
20576 \backslash
20577 FigBesEnd
20578 \end_layout
20579
20580 \end_inset
20581
20582
20583 \end_layout
20584
20585 \begin_layout Section
20586 Listings of Floats
20587 \begin_inset LatexCommand label
20588 name "sec:Listings-of-Floats"
20589
20590 \end_inset
20591
20592
20593 \begin_inset LatexCommand index
20594 name "Floats ! Listings"
20595
20596 \end_inset
20597
20598
20599 \end_layout
20600
20601 \begin_layout Standard
20602 Similar to the the table of contents where the sections of the document
20603  are listed, there are listings for all float types, like the figures of
20604  the documents.
20605  You can insert them via the 
20606 \family sans
20607 Insert\SpecialChar \menuseparator
20608 List\InsetSpace ~
20609 /\InsetSpace ~
20610 TOC
20611 \family default
20612  sub menus.
20613 \end_layout
20614
20615 \begin_layout Standard
20616 The list entries are the float captions or its short title, the float number,
20617  and the page number where they appear in the document.
20618 \end_layout
20619
20620 \begin_layout Standard
20621 You can find the list of figures and tables at the end of this document.
20622 \end_layout
20623
20624 \begin_layout Chapter
20625 Notes
20626 \end_layout
20627
20628 \begin_layout Section
20629 \begin_inset ERT
20630 status collapsed
20631
20632 \begin_layout Standard
20633
20634
20635 \backslash
20636 texorpdfstring{
20637 \end_layout
20638
20639 \end_inset
20640
20641 LyX
20642 \begin_inset ERT
20643 status collapsed
20644
20645 \begin_layout Standard
20646
20647 }{LyX}
20648 \end_layout
20649
20650 \end_inset
20651
20652  Notes
20653 \begin_inset LatexCommand label
20654 name "sec:LyX-Notes"
20655
20656 \end_inset
20657
20658
20659 \begin_inset LatexCommand index
20660 name "Notes ! LyX Notes"
20661
20662 \end_inset
20663
20664
20665 \begin_inset Note Note
20666 status collapsed
20667
20668 \begin_layout Standard
20669 The command 
20670 \backslash
20671 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
20672  are displayed wrongly in PDF-bookmarks.
20673  For more information about this, have a look at 
20674 \begin_inset LatexCommand cite
20675 key "hyperref"
20676
20677 \end_inset
20678
20679 .
20680 \end_layout
20681
20682 \end_inset
20683
20684
20685 \end_layout
20686
20687 \begin_layout Standard
20688 Notes are inserted with the toolbar button 
20689 \begin_inset Graphics
20690         filename ../images/note-insert.xpm
20691         scale 85
20692
20693 \end_inset
20694
20695  or the menu 
20696 \family sans
20697 Insert\SpecialChar \menuseparator
20698 Note
20699 \family default
20700 .
20701  There are three types of notes:
20702 \end_layout
20703
20704 \begin_layout Description
20705 LyX\InsetSpace ~
20706 Note This note type is for internal notes that won't appear in the output.
20707  Its note-box looks like this:
20708 \newline
20709
20710 \newline
20711
20712 \begin_inset Graphics
20713         filename ../clipart/LyXNoteImageQt4.png
20714         display none
20715         scale 85
20716
20717 \end_inset
20718
20719  
20720 \begin_inset Note Note
20721 status open
20722
20723 \begin_layout Standard
20724 This is text in a note box that doesn't appear in the output.
20725 \end_layout
20726
20727 \end_inset
20728
20729
20730 \end_layout
20731
20732 \begin_layout Description
20733 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
20734 ent, when you export the document to LaTeX via the menu 
20735 \family sans
20736 File\SpecialChar \menuseparator
20737 Export\SpecialChar \menuseparator
20738 LaTeX (pdflatex) / LaTeX (plain)
20739 \family default
20740 .
20741  Its note-box looks like this:
20742 \newline
20743
20744 \newline
20745
20746 \begin_inset Graphics
20747         filename ../clipart/CommentNoteImageQt4.png
20748         display none
20749         scale 85
20750
20751 \end_inset
20752
20753  
20754 \begin_inset Note Comment
20755 status open
20756
20757 \begin_layout Standard
20758 This is text in a note box that only appears as comment in LaTeX-files.
20759 \end_layout
20760
20761 \end_inset
20762
20763
20764 \end_layout
20765
20766 \begin_layout Description
20767 Greyed\InsetSpace ~
20768 Out This note will appear in the output as grey text.
20769  Its note-box looks like this:
20770 \newline
20771
20772 \newline
20773
20774 \begin_inset Graphics
20775         filename ../clipart/GreyedOutNoteImageQt4.png
20776         display none
20777         scale 85
20778
20779 \end_inset
20780
20781
20782 \newline
20783
20784 \begin_inset ERT
20785 status collapsed
20786
20787 \begin_layout Standard
20788
20789
20790 \backslash
20791 renewenvironment{lyxgreyedout}
20792 \end_layout
20793
20794 \begin_layout Standard
20795
20796 {
20797 \backslash
20798 textcolor[gray]{0.8}
20799 \backslash
20800 bgroup}{
20801 \backslash
20802 egroup}
20803 \end_layout
20804
20805 \end_inset
20806
20807
20808 \begin_inset Note Greyedout
20809 status open
20810
20811 \begin_layout Standard
20812 This is text
20813 \begin_inset Foot
20814 status open
20815
20816 \begin_layout Standard
20817 This is an example footnote within a greyed out note.
20818 \end_layout
20819
20820 \end_inset
20821
20822  of a comment that appears in the output as grey text.
20823 \end_layout
20824
20825 \end_inset
20826
20827
20828 \begin_inset ERT
20829 status collapsed
20830
20831 \begin_layout Standard
20832
20833
20834 \backslash
20835 renewenvironment{lyxgreyedout}
20836 \end_layout
20837
20838 \begin_layout Standard
20839
20840 {
20841 \backslash
20842 textcolor{blue}
20843 \backslash
20844 bgroup}{
20845 \backslash
20846 egroup}
20847 \end_layout
20848
20849 \end_inset
20850
20851
20852 \begin_inset Note Note
20853 status collapsed
20854
20855 \begin_layout Standard
20856 The greyed out note is here redefined to show it with the original LyX definitio
20857 n because greyed out notes are redefined in the preamble of this document,
20858  as described below, to have blue text.
20859 \end_layout
20860
20861 \end_inset
20862
20863
20864 \newline
20865
20866 \newline
20867 As you can see in the example, the first line of greyed out notes is a bit
20868  indented and greyed out notes can have footnotes.
20869 \end_layout
20870
20871 \begin_layout Description
20872 Framed This note will appear in the output as framed text.
20873  Its note-box looks like this:
20874 \newline
20875
20876 \newline
20877
20878 \begin_inset Graphics
20879         filename ../clipart/FramedNoteImageQt4.png
20880         display none
20881         scale 85
20882
20883 \end_inset
20884
20885  
20886 \begin_inset Note Framed
20887 status open
20888
20889 \begin_layout Standard
20890 This is text in a note box that appears framed in the output.
20891 \end_layout
20892
20893 \end_inset
20894
20895  In contrary to framed boxes
20896 \begin_inset Foot
20897 status collapsed
20898
20899 \begin_layout Standard
20900 Framed boxes are described in section\InsetSpace ~
20901
20902 \begin_inset LatexCommand ref
20903 reference "sec:Framed-Boxes"
20904
20905 \end_inset
20906
20907 .
20908 \end_layout
20909
20910 \end_inset
20911
20912  the frame uses always the whole text width and the note is set into its
20913  own paragraph.
20914 \end_layout
20915
20916 \begin_layout Description
20917 Shaded This note will appear in the output with red background color.
20918  Its note box looks like this:
20919 \newline
20920
20921 \newline
20922
20923 \begin_inset Graphics
20924         filename ../clipart/ShadedNoteImageQt4.png
20925         display none
20926         scale 85
20927
20928 \end_inset
20929
20930
20931 \begin_inset Note Shaded
20932 status open
20933
20934 \begin_layout Standard
20935 This text in a note box appears in the output with red background.
20936 \end_layout
20937
20938 \end_inset
20939
20940 In contrary to colored boxes
20941 \begin_inset Foot
20942 status collapsed
20943
20944 \begin_layout Standard
20945 Colored boxes are described in section\InsetSpace ~
20946
20947 \begin_inset LatexCommand ref
20948 reference "sec:Colored-Boxes"
20949
20950 \end_inset
20951
20952 .
20953 \end_layout
20954
20955 \end_inset
20956
20957  the note uses always the whole text width and the note is set into its
20958  own paragraph.
20959 \end_layout
20960
20961 \begin_layout Standard
20962 \begin_inset VSpace bigskip
20963 \end_inset
20964
20965 When you use the toolbar button to insert notes, a 
20966 \family sans
20967 LyX\InsetSpace ~
20968 Note
20969 \family default
20970  is inserted.
20971  You can switch between the three note types by right-clicking on the note-box.
20972  
20973 \family roman
20974 \series medium
20975 \bar no
20976 If you want to turn existing text into a note, mark it and click on the
20977  note 
20978 \family default
20979 \series default
20980 \bar default
20981 toolbar 
20982 \family roman
20983 \series medium
20984 \bar no
20985 button
20986 \family default
20987 \series default
20988 \bar default
20989 .
20990 \end_layout
20991
20992 \begin_layout Standard
20993 \begin_inset VSpace bigskip
20994 \end_inset
20995
20996 You can change the text color of the greyed out notes in the preamble with
20997  the following command:
20998 \end_layout
20999
21000 \begin_layout Standard
21001
21002 \series bold
21003
21004 \backslash
21005 renewenvironment{lyxgreyedout}
21006 \newline
21007
21008 \begin_inset ERT
21009 status collapsed
21010
21011 \begin_layout Standard
21012
21013
21014 \backslash
21015 hphantom{ }
21016 \end_layout
21017
21018 \end_inset
21019
21020 {
21021 \backslash
21022 textcolor{color}
21023 \backslash
21024 bgroup}{
21025 \backslash
21026 egroup}
21027 \end_layout
21028
21029 \begin_layout Standard
21030 The available colors and the method to define own colors is explained in
21031  section\InsetSpace ~
21032
21033 \begin_inset LatexCommand ref
21034 reference "sec:Colored-Tables"
21035
21036 \end_inset
21037
21038 .
21039 \end_layout
21040
21041 \begin_layout Standard
21042 Notes that appear in blue in this document are set using greyed out notes
21043  with blue text.
21044 \end_layout
21045
21046 \begin_layout Standard
21047 \begin_inset VSpace bigskip
21048 \end_inset
21049
21050
21051 \end_layout
21052
21053 \begin_layout Standard
21054 The text style of 
21055 \family sans
21056 Framed
21057 \family default
21058  and 
21059 \family sans
21060 Shaded
21061 \family default
21062  notes can be set in the 
21063 \family sans
21064 Text Style
21065 \family default
21066  dialog.
21067 \end_layout
21068
21069 \begin_layout Standard
21070 The default frame width for 
21071 \family sans
21072 Framed
21073 \family default
21074  notes is 0.4\InsetSpace \thinspace{}
21075 pt; it can be changed by changing the size 
21076 \series bold
21077
21078 \backslash
21079 FrameRule
21080 \series default
21081 .
21082  The default space between the note content and the frame is 9\InsetSpace \thinspace{}
21083 pt; it can
21084  be changed by changing the size 
21085 \series bold
21086
21087 \backslash
21088 FrameSep
21089 \series default
21090 .
21091  For example the frame appearance of the following 
21092 \family sans
21093 Framed
21094 \family default
21095  note is set with the ERT commands
21096 \end_layout
21097
21098 \begin_layout Standard
21099
21100 \series bold
21101
21102 \backslash
21103 FrameRule 5pt 
21104 \backslash
21105 FrameSep 0.5cm
21106 \end_layout
21107
21108 \begin_layout Standard
21109 \begin_inset ERT
21110 status collapsed
21111
21112 \begin_layout Standard
21113
21114
21115 \backslash
21116 FrameRule 5pt 
21117 \backslash
21118 FrameSep 0.5cm
21119 \end_layout
21120
21121 \end_inset
21122
21123
21124 \begin_inset Note Framed
21125 status open
21126
21127 \begin_layout Standard
21128 This is text in a 
21129 \family sans
21130 Framed
21131 \family default
21132  note.
21133 \end_layout
21134
21135 \end_inset
21136
21137
21138 \begin_inset ERT
21139 status collapsed
21140
21141 \begin_layout Standard
21142
21143
21144 \backslash
21145 FrameRule 0.4pt 
21146 \backslash
21147 FrameSep 9pt
21148 \end_layout
21149
21150 \end_inset
21151
21152
21153 \end_layout
21154
21155 \begin_layout Standard
21156 \begin_inset VSpace bigskip
21157 \end_inset
21158
21159
21160 \end_layout
21161
21162 \begin_layout Standard
21163 For 
21164 \family sans
21165 Shaded
21166 \family default
21167  notes the default space between the note content and the note border is
21168  3\InsetSpace \thinspace{}
21169 pt; it can be changed by changing the size 
21170 \series bold
21171
21172 \backslash
21173 fboxsep
21174 \series default
21175 .
21176 \newline
21177 The default background color red can be changed with the command 
21178 \series bold
21179
21180 \backslash
21181 def\SpecialChar \textcompwordmark{}
21182 inecolor{shadebox}
21183 \series default
21184 .
21185  The scheme of the 
21186 \series bold
21187
21188 \backslash
21189 def\SpecialChar \textcompwordmark{}
21190 inecolor
21191 \series default
21192  command is explained in section\InsetSpace ~
21193
21194 \begin_inset LatexCommand ref
21195 reference "sec:Colored-Tables"
21196
21197 \end_inset
21198
21199
21200 \begin_inset Foot
21201 status collapsed
21202
21203 \begin_layout Standard
21204 Note that 
21205 \series bold
21206
21207 \backslash
21208 def
21209 \series default
21210 \SpecialChar \textcompwordmark{}
21211
21212 \series bold
21213 inecolor
21214 \series default
21215  requires the LaTeX-package 
21216 \series bold
21217 color
21218 \series default
21219  in the preamble, see section\InsetSpace ~
21220
21221 \begin_inset LatexCommand ref
21222 reference "sec:Colored-Boxes"
21223
21224 \end_inset
21225
21226 .
21227 \end_layout
21228
21229 \end_inset
21230
21231 .
21232 \end_layout
21233
21234 \begin_layout Standard
21235 For example the appearance of the following 
21236 \family sans
21237 Shaded
21238 \family default
21239  note is set with the ERT commands
21240 \end_layout
21241
21242 \begin_layout Standard
21243
21244 \series bold
21245
21246 \backslash
21247 fboxsep 0.5cm
21248 \series default
21249
21250 \newline
21251
21252 \series bold
21253
21254 \backslash
21255 def\SpecialChar \textcompwordmark{}
21256 inecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21257 \end_layout
21258
21259 \begin_layout Standard
21260 \begin_inset ERT
21261 status collapsed
21262
21263 \begin_layout Standard
21264
21265
21266 \backslash
21267 fboxsep 0.5cm
21268 \end_layout
21269
21270 \end_inset
21271
21272
21273 \begin_inset ERT
21274 status collapsed
21275
21276 \begin_layout Standard
21277
21278
21279 \backslash
21280 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21281 \end_layout
21282
21283 \end_inset
21284
21285
21286 \begin_inset Note Shaded
21287 status open
21288
21289 \begin_layout Standard
21290
21291 \color yellow
21292 This is yellow text in a 
21293 \family sans
21294 Shaded
21295 \family default
21296  note with darkgreen background.
21297 \end_layout
21298
21299 \end_inset
21300
21301
21302 \begin_inset ERT
21303 status collapsed
21304
21305 \begin_layout Standard
21306
21307
21308 \backslash
21309 fboxsep 3pt
21310 \end_layout
21311
21312 \end_inset
21313
21314
21315 \begin_inset ERT
21316 status collapsed
21317
21318 \begin_layout Standard
21319
21320
21321 \backslash
21322 definecolor{shadecolor}{rgb}{1,0,0}
21323 \end_layout
21324
21325 \end_inset
21326
21327
21328 \end_layout
21329
21330 \begin_layout Section
21331 Footnotes
21332 \begin_inset LatexCommand label
21333 name "sec:Footnotes"
21334
21335 \end_inset
21336
21337
21338 \begin_inset LatexCommand index
21339 name "Notes ! Footnotes"
21340
21341 \end_inset
21342
21343
21344 \begin_inset LatexCommand index
21345 name "Footnotes"
21346
21347 \end_inset
21348
21349
21350 \end_layout
21351
21352 \begin_layout Standard
21353 Footnotes can be inserted using the toolbar button 
21354 \begin_inset Graphics
21355         filename ../images/footnote-insert.xpm
21356         scale 85
21357
21358 \end_inset
21359
21360  or the menu 
21361 \family sans
21362 Insert\SpecialChar \menuseparator
21363 Footnote
21364 \family default
21365 .
21366  
21367 \family roman
21368 \series medium
21369 \bar no
21370 You'll see 
21371 \family default
21372 \series default
21373 \bar default
21374 then the following footnote-box: 
21375 \begin_inset Graphics
21376         filename ../clipart/footnoteQt4.png
21377         scale 80
21378
21379 \end_inset
21380
21381
21382 \family roman
21383 \series medium
21384 \bar no
21385  where you can enter the footnote text.
21386  If you want to turn existing text into a footnote, mark it and click on
21387  the footnote 
21388 \family default
21389 \series default
21390 \bar default
21391 toolbar 
21392 \family roman
21393 \series medium
21394 \bar no
21395 button
21396 \family default
21397 \series default
21398 \bar default
21399 .
21400 \end_layout
21401
21402 \begin_layout Standard
21403 Here is an example footnote:
21404 \family roman
21405 \series medium
21406 \bar no
21407
21408 \begin_inset Foot
21409 status open
21410
21411 \begin_layout Standard
21412 \begin_inset LatexCommand label
21413 name "foot:This-is-an"
21414
21415 \end_inset
21416
21417 This is an example footnote.
21418 \end_layout
21419
21420 \end_inset
21421
21422
21423 \family default
21424 \series default
21425 \bar default
21426
21427 \begin_inset ERT
21428 status collapsed
21429
21430 \begin_layout Standard
21431
21432
21433 \backslash
21434 newcounter{MyRepeatFoot}
21435 \end_layout
21436
21437 \begin_layout Standard
21438
21439
21440 \backslash
21441 setcounter{MyRepeatFoot}{
21442 \backslash
21443 thefootnote}
21444 \end_layout
21445
21446 \end_inset
21447
21448
21449 \end_layout
21450
21451 \begin_layout Standard
21452 The footnote will appear in the output as a superscript number at the text
21453  position where the footnote box is placed.
21454  The footnote text is placed at the bottom of the current page.
21455  The footnote number is calculated by LaTeX, the numbers are consecutive.
21456  It depends on your document-class, if the footnote number is reset for
21457  every chapter.
21458 \end_layout
21459
21460 \begin_layout Standard
21461 Footnotes can be referenced like floats: Insert a label into the footnote
21462  and cross-reference this label in the text as described in section\InsetSpace ~
21463
21464 \begin_inset LatexCommand ref
21465 reference "sec:Referencing-Floats"
21466
21467 \end_inset
21468
21469 .
21470 \newline
21471 This is a cross-reference of Footnote\InsetSpace ~
21472
21473 \begin_inset LatexCommand ref
21474 reference "foot:This-is-an"
21475
21476 \end_inset
21477
21478 .
21479 \newline
21480
21481 \begin_inset Note Greyedout
21482 status open
21483
21484 \begin_layout Standard
21485
21486 \series bold
21487 Note:
21488 \series default
21489  LyX doesn't provide a prefix for labels in footnotes, so you have to insert
21490  e.\InsetSpace \thinspace{}
21491 g.\InsetSpace ~
21492 the prefix 
21493 \family sans
21494
21495 \begin_inset Quotes eld
21496 \end_inset
21497
21498 foot:
21499 \family default
21500
21501 \begin_inset Quotes erd
21502 \end_inset
21503
21504  manually when you want to use the reference style 
21505 \family sans
21506 Formatted\InsetSpace ~
21507 reference
21508 \family default
21509 .
21510 \end_layout
21511
21512 \end_inset
21513
21514
21515 \end_layout
21516
21517 \begin_layout Standard
21518 \begin_inset VSpace defskip
21519 \end_inset
21520
21521 To use footnotes within tables, you have to use minipages, see section\InsetSpace ~
21522
21523 \begin_inset LatexCommand ref
21524 reference "sec:Minipages"
21525
21526 \end_inset
21527
21528 .
21529  Footnotes within longtables are described in section\InsetSpace ~
21530
21531 \begin_inset LatexCommand ref
21532 reference "sub:Footnotes-in-Longtables"
21533
21534 \end_inset
21535
21536 .
21537 \end_layout
21538
21539 \begin_layout Standard
21540 \begin_inset VSpace defskip
21541 \end_inset
21542
21543 To create only a mark for a footnote, use the command 
21544 \series bold
21545
21546 \backslash
21547 footnotemark[number]
21548 \series default
21549  in ERT.
21550  This is used when you have the same annotation several times in a text
21551  but doesn't want to print the footnote text every time.
21552 \newline
21553 As you don't know
21554  the number of the repeating footnote while you are writing the text, you
21555  have to store its number.
21556  For the following footnote mark example, these commands were inserted in
21557  ERT behind Footnote\InsetSpace ~
21558
21559 \begin_inset LatexCommand ref
21560 reference "foot:This-is-an"
21561
21562 \end_inset
21563
21564  to store the footnote number:
21565 \end_layout
21566
21567 \begin_layout Standard
21568
21569 \series bold
21570
21571 \backslash
21572 newcounter{MyRepeatFoot}
21573 \newline
21574
21575 \backslash
21576 setcounter{MyRepeatFoot}{
21577 \backslash
21578 thefootnote}
21579 \end_layout
21580
21581 \begin_layout Standard
21582 The footnote mark was then created with this command:
21583 \end_layout
21584
21585 \begin_layout Standard
21586
21587 \series bold
21588
21589 \backslash
21590 footnotemark[
21591 \backslash
21592 theMyRepeatFoot]
21593 \end_layout
21594
21595 \begin_layout Standard
21596 Here is an example footnote mark:
21597 \family roman
21598 \series medium
21599 \bar no
21600
21601 \begin_inset ERT
21602 status collapsed
21603
21604 \begin_layout Standard
21605
21606
21607 \backslash
21608 footnotemark[
21609 \backslash
21610 theMyRepeatFoot]
21611 \end_layout
21612
21613 \end_inset
21614
21615
21616 \end_layout
21617
21618 \begin_layout Subsection
21619 Footnote Numbering
21620 \begin_inset LatexCommand label
21621 name "sub:Footnote-Numbering"
21622
21623 \end_inset
21624
21625
21626 \begin_inset LatexCommand index
21627 name "Footnotes ! Numbering"
21628
21629 \end_inset
21630
21631
21632 \end_layout
21633
21634 \begin_layout Standard
21635 If you want to have footnotes numbered in the scheme 
21636 \begin_inset Quotes eld
21637 \end_inset
21638
21639 chapter.footnote
21640 \begin_inset Quotes erd
21641 \end_inset
21642
21643 , add the following command to your document preamble:
21644 \end_layout
21645
21646 \begin_layout Standard
21647
21648 \series bold
21649
21650 \backslash
21651 numberwithin{footnote}{chapter}
21652 \end_layout
21653
21654 \begin_layout Standard
21655 To be able to use the command 
21656 \series bold
21657
21658 \backslash
21659 numberwithin
21660 \series default
21661 , set in the tab 
21662 \family sans
21663 Math\InsetSpace ~
21664 Options
21665 \family default
21666  in the document settings the option 
21667 \family sans
21668 Use\InsetSpace ~
21669 AMS\InsetSpace ~
21670 math\InsetSpace ~
21671 package
21672 \family default
21673 .
21674 \end_layout
21675
21676 \begin_layout Standard
21677 \begin_inset ERT
21678 status collapsed
21679
21680 \begin_layout Standard
21681
21682
21683 \backslash
21684 numberwithin{footnote}{chapter}
21685 \end_layout
21686
21687 \end_inset
21688
21689 This is another example footnote:
21690 \series bold
21691
21692 \begin_inset Foot
21693 status open
21694
21695 \begin_layout Standard
21696 This is a footnote numbered in the scheme 
21697 \begin_inset Quotes eld
21698 \end_inset
21699
21700 chapter.footnote
21701 \begin_inset Quotes erd
21702 \end_inset
21703
21704 .
21705 \end_layout
21706
21707 \end_inset
21708
21709
21710 \series default
21711
21712 \begin_inset ERT
21713 status collapsed
21714
21715 \begin_layout Standard
21716
21717
21718 \backslash
21719 numberwithin{footnote}{part}
21720 \end_layout
21721
21722 \end_inset
21723
21724
21725 \end_layout
21726
21727 \begin_layout Standard
21728 \begin_inset VSpace bigskip
21729 \end_inset
21730
21731
21732 \end_layout
21733
21734 \begin_layout Standard
21735 To reset the footnote number back to 1 after each section
21736 \family roman
21737 , add this command to your document preamble:
21738 \end_layout
21739
21740 \begin_layout Standard
21741
21742 \series bold
21743
21744 \backslash
21745 @addtoreset{footnote}{section}
21746 \end_layout
21747
21748 \begin_layout Standard
21749 \begin_inset VSpace bigskip
21750 \end_inset
21751
21752 The following preamble command changes the footnote numbering style to small
21753  roman numerals:
21754 \end_layout
21755
21756 \begin_layout Standard
21757
21758 \series bold
21759
21760 \backslash
21761 renewcommand{
21762 \backslash
21763 thefootnote}{
21764 \backslash
21765 roman{footnote}}
21766 \end_layout
21767
21768 \begin_layout Standard
21769 \begin_inset ERT
21770 status collapsed
21771
21772 \begin_layout Standard
21773
21774
21775 \backslash
21776 renewcommand{
21777 \backslash
21778 thefootnote}{
21779 \backslash
21780 roman{footnote}}
21781 \end_layout
21782
21783 \end_inset
21784
21785  This is a footnote with roman numbering:
21786 \begin_inset Foot
21787 status open
21788
21789 \begin_layout Standard
21790 This is an example footnote with roman numbering.
21791 \end_layout
21792
21793 \end_inset
21794
21795
21796 \begin_inset ERT
21797 status collapsed
21798
21799 \begin_layout Standard
21800
21801
21802 \backslash
21803 renewcommand{
21804 \backslash
21805 thefootnote}{
21806 \backslash
21807 arabic{footnote}}
21808 \end_layout
21809
21810 \end_inset
21811
21812
21813 \end_layout
21814
21815 \begin_layout Standard
21816 To change the numbering style to capital roman numerals replace in the command
21817  above 
21818 \series bold
21819
21820 \backslash
21821 roman
21822 \series default
21823  by 
21824 \series bold
21825
21826 \backslash
21827 Roman
21828 \series default
21829 .
21830  To 
21831 \begin_inset Quotes eld
21832 \end_inset
21833
21834 number
21835 \begin_inset Quotes erd
21836 \end_inset
21837
21838  footnotes with capital or small Latin letters use 
21839 \series bold
21840
21841 \backslash
21842 Alph
21843 \series default
21844  or 
21845 \series bold
21846
21847 \backslash
21848 alph
21849 \series default
21850 , respectively.
21851  To 
21852 \begin_inset Quotes eld
21853 \end_inset
21854
21855 number
21856 \begin_inset Quotes erd
21857 \end_inset
21858
21859  footnotes with symbols use 
21860 \series bold
21861
21862 \backslash
21863 fnsymbol
21864 \series default
21865 .
21866 \end_layout
21867
21868 \begin_layout Standard
21869 \begin_inset Note Greyedout
21870 status open
21871
21872 \begin_layout Standard
21873
21874 \series bold
21875 Note:
21876 \series medium
21877  
21878 \series default
21879 You can only number 26 footnotes with Latin letters, because this numbering
21880  is limited to single letters.
21881 \end_layout
21882
21883 \end_inset
21884
21885
21886 \newline
21887
21888 \begin_inset Note Greyedout
21889 status open
21890
21891 \begin_layout Standard
21892
21893 \series bold
21894 Note:
21895 \series default
21896  You can only number 9 footnotes with symbols.
21897 \end_layout
21898
21899 \end_inset
21900
21901
21902 \end_layout
21903
21904 \begin_layout Standard
21905 To return to the default numbering style when you changed to another one,
21906  use 
21907 \series bold
21908
21909 \backslash
21910 arabic
21911 \series default
21912  instead of 
21913 \series bold
21914
21915 \backslash
21916 roman
21917 \series default
21918  in the command above.
21919 \end_layout
21920
21921 \begin_layout Subsection
21922 Footnote Placement
21923 \begin_inset LatexCommand index
21924 name "Footnotes ! Placement"
21925
21926 \end_inset
21927
21928
21929 \end_layout
21930
21931 \begin_layout Standard
21932 If you have several footnotes in one page, they appear without vertical
21933  space between them at the bottom of the page.
21934  To make them better readable you can e.\InsetSpace \thinspace{}
21935 g.\InsetSpace ~
21936 add 1.5\InsetSpace \thinspace{}
21937 mm space with the following
21938  preamble command:
21939 \end_layout
21940
21941 \begin_layout Standard
21942
21943 \series bold
21944
21945 \backslash
21946 let
21947 \backslash
21948 myFoot
21949 \backslash
21950 footnote
21951 \newline
21952
21953 \backslash
21954 renewcommand{
21955 \backslash
21956 footnote}[1]{
21957 \backslash
21958 myFoot{#1
21959 \backslash
21960 vspace{1.5mm}}}
21961 \end_layout
21962
21963 \begin_layout Standard
21964 \begin_inset VSpace bigskip
21965 \end_inset
21966
21967 In a two-column document the footnotes appear at the bottom of every column,
21968  see Figure\InsetSpace ~
21969
21970 \begin_inset LatexCommand ref
21971 reference "fig:Standard-footnote-placement"
21972
21973 \end_inset
21974
21975 .
21976  If the footnotes should only appear at the bottom of the right column,
21977  as in Figure\InsetSpace ~
21978
21979 \begin_inset LatexCommand ref
21980 reference "fig:Footnote-placement-in"
21981
21982 \end_inset
21983
21984 , use the LaTeX-package 
21985 \series bold
21986 ftnright
21987 \series default
21988
21989 \begin_inset LatexCommand index
21990 name "LaTeX-packages ! ftnright"
21991
21992 \end_inset
21993
21994  with this command in the document preamble:
21995 \end_layout
21996
21997 \begin_layout Standard
21998
21999 \series bold
22000
22001 \backslash
22002 usepackage{ftnright}
22003 \end_layout
22004
22005 \begin_layout Standard
22006 \begin_inset Float figure
22007 placement !h
22008 wide false
22009 sideways false
22010 status open
22011
22012 \begin_layout Standard
22013 \begin_inset ERT
22014 status collapsed
22015
22016 \begin_layout Standard
22017
22018
22019 \backslash
22020 framebox{
22021 \end_layout
22022
22023 \end_inset
22024
22025
22026 \begin_inset Graphics
22027         filename ../clipart/without_fntright.pdf
22028         width 100col%
22029
22030 \end_inset
22031
22032
22033 \begin_inset ERT
22034 status collapsed
22035
22036 \begin_layout Standard
22037
22038 }
22039 \end_layout
22040
22041 \end_inset
22042
22043
22044 \end_layout
22045
22046 \begin_layout Standard
22047 \begin_inset Caption
22048
22049 \begin_layout Standard
22050 \begin_inset LatexCommand label
22051 name "fig:Standard-footnote-placement"
22052
22053 \end_inset
22054
22055 Standard footnote placement in two-column documents.
22056 \end_layout
22057
22058 \end_inset
22059
22060
22061 \end_layout
22062
22063 \end_inset
22064
22065
22066 \end_layout
22067
22068 \begin_layout Standard
22069 \begin_inset Float figure
22070 placement !h
22071 wide false
22072 sideways false
22073 status open
22074
22075 \begin_layout Standard
22076 \begin_inset ERT
22077 status collapsed
22078
22079 \begin_layout Standard
22080
22081
22082 \backslash
22083 framebox{
22084 \end_layout
22085
22086 \end_inset
22087
22088
22089 \begin_inset Graphics
22090         filename ../clipart/with_fntright.pdf
22091         width 100col%
22092
22093 \end_inset
22094
22095
22096 \begin_inset ERT
22097 status collapsed
22098
22099 \begin_layout Standard
22100
22101 }
22102 \end_layout
22103
22104 \end_inset
22105
22106
22107 \end_layout
22108
22109 \begin_layout Standard
22110 \begin_inset Caption
22111
22112 \begin_layout Standard
22113 \begin_inset LatexCommand label
22114 name "fig:Footnote-placement-in"
22115
22116 \end_inset
22117
22118 Footnote placement in two-column documents when the LaTeX-package 
22119 \series bold
22120 ftnright
22121 \series default
22122  is used.
22123 \end_layout
22124
22125 \end_inset
22126
22127
22128 \end_layout
22129
22130 \end_inset
22131
22132
22133 \end_layout
22134
22135 \begin_layout Standard
22136 \begin_inset VSpace bigskip
22137 \end_inset
22138
22139 In some scientific literature it is usual to collect the footnotes and print
22140  them in a separate paragraph at the the end of a section, like in Figure\InsetSpace ~
22141
22142 \begin_inset LatexCommand ref
22143 reference "fig:Endnotes----footnotes"
22144
22145 \end_inset
22146
22147 .
22148  They are then so called 
22149 \begin_inset Quotes eld
22150 \end_inset
22151
22152 endnotes
22153 \begin_inset Quotes erd
22154 \end_inset
22155
22156 .
22157  To use endnotes instead of footnotes in your document, load the LaTeX-package
22158  
22159 \series bold
22160 endnotes
22161 \series default
22162
22163 \begin_inset LatexCommand index
22164 name "LaTeX-packages ! endnotes"
22165
22166 \end_inset
22167
22168  with the document preamble lines
22169 \end_layout
22170
22171 \begin_layout Standard
22172
22173 \series bold
22174
22175 \backslash
22176 usepackage{endnotes}
22177 \newline
22178
22179 \backslash
22180 let
22181 \backslash
22182 footnote
22183 \backslash
22184 endnote
22185 \end_layout
22186
22187 \begin_layout Standard
22188 To insert the collected footnotes, insert the command
22189 \end_layout
22190
22191 \begin_layout Standard
22192
22193 \series bold
22194
22195 \backslash
22196 theendnotes
22197 \end_layout
22198
22199 \begin_layout Standard
22200 in ERT at the the end of a section or chapter.
22201 \end_layout
22202
22203 \begin_layout Standard
22204 \begin_inset Float figure
22205 wide false
22206 sideways false
22207 status open
22208
22209 \begin_layout Standard
22210 \align center
22211 \begin_inset ERT
22212 status collapsed
22213
22214 \begin_layout Standard
22215
22216
22217 \backslash
22218 framebox{
22219 \end_layout
22220
22221 \end_inset
22222
22223
22224 \begin_inset Graphics
22225         filename ../clipart/endnotes.pdf
22226
22227 \end_inset
22228
22229
22230 \begin_inset ERT
22231 status collapsed
22232
22233 \begin_layout Standard
22234
22235 }
22236 \end_layout
22237
22238 \end_inset
22239
22240
22241 \end_layout
22242
22243 \begin_layout Standard
22244 \begin_inset Caption
22245
22246 \begin_layout Standard
22247 \begin_inset LatexCommand label
22248 name "fig:Endnotes----footnotes"
22249
22250 \end_inset
22251
22252 Endnotes -- footnotes are printed in a separate paragraph at the end of
22253  sections or chapters.
22254 \end_layout
22255
22256 \end_inset
22257
22258
22259 \end_layout
22260
22261 \end_inset
22262
22263
22264 \end_layout
22265
22266 \begin_layout Standard
22267 \begin_inset VSpace defskip
22268 \end_inset
22269
22270 The paragraph heading for the endnotes isn't automatically translated into
22271  the document language, this must be done manually.
22272  The following preamble command translate the default English name 
22273 \begin_inset Quotes eld
22274 \end_inset
22275
22276 Notes
22277 \begin_inset Quotes erd
22278 \end_inset
22279
22280  to the German translation 
22281 \begin_inset Quotes eld
22282 \end_inset
22283
22284 Anmerkungen
22285 \begin_inset Quotes erd
22286 \end_inset
22287
22288 :
22289 \end_layout
22290
22291 \begin_layout Standard
22292
22293 \series bold
22294
22295 \backslash
22296 renewcommand{
22297 \backslash
22298 notesname}{Anmerkungen}
22299 \end_layout
22300
22301 \begin_layout Standard
22302 \begin_inset VSpace defskip
22303 \end_inset
22304
22305 The numbering of endnotes can be changed like the footnote numbering as
22306  described in section\InsetSpace ~
22307
22308 \begin_inset LatexCommand ref
22309 reference "sub:Footnote-Numbering"
22310
22311 \end_inset
22312
22313 ; just replace the command 
22314 \series bold
22315
22316 \backslash
22317 thefootnote
22318 \series default
22319  by 
22320 \series bold
22321
22322 \backslash
22323 theendnote
22324 \series default
22325 .
22326  To reset the endnote number use the command 
22327 \series bold
22328
22329 \backslash
22330 @addtoreset 
22331 \series default
22332 as described in section\InsetSpace ~
22333
22334 \begin_inset LatexCommand ref
22335 reference "sub:Footnote-Numbering"
22336
22337 \end_inset
22338
22339  and replace the command parameter 
22340 \series bold
22341 footnote
22342 \series default
22343  by 
22344 \series bold
22345 endnote
22346 \series default
22347 .
22348 \end_layout
22349
22350 \begin_layout Standard
22351 To create only a mark for an endnote, use the command 
22352 \series bold
22353
22354 \backslash
22355 endnotemark[number]
22356 \series default
22357  similar to the command 
22358 \series bold
22359
22360 \backslash
22361 footnotemark
22362 \series default
22363 , described in section\InsetSpace ~
22364
22365 \begin_inset LatexCommand ref
22366 reference "sec:Footnotes"
22367
22368 \end_inset
22369
22370 .
22371 \end_layout
22372
22373 \begin_layout Standard
22374 \begin_inset VSpace bigskip
22375 \end_inset
22376
22377 Footnotes can also be placed in the page margin and the footnote text alignment
22378  can be changed, see the LaTeX-package 
22379 \series bold
22380 footmisc
22381 \series default
22382
22383 \begin_inset LatexCommand index
22384 name "LaTeX-packages ! footmisc"
22385
22386 \end_inset
22387
22388
22389 \begin_inset LatexCommand cite
22390 key "footmisc"
22391
22392 \end_inset
22393
22394  for more information about this.
22395 \end_layout
22396
22397 \begin_layout Standard
22398 For various further footnote formatting issues have a look at LaTeX-books,
22399  
22400 \begin_inset LatexCommand cite
22401 key "latexcompanion,latexguide,latexbook"
22402
22403 \end_inset
22404
22405 .
22406 \end_layout
22407
22408 \begin_layout Section
22409 Margin Notes
22410 \begin_inset LatexCommand index
22411 name "Notes ! Margin Notes"
22412
22413 \end_inset
22414
22415
22416 \end_layout
22417
22418 \begin_layout Standard
22419 Margin notes look and behave in LyX like footnotes.
22420  They are inserted via the menu 
22421 \family sans
22422 Insert\SpecialChar \menuseparator
22423 Marginal\InsetSpace ~
22424 Note
22425 \family default
22426  or the toolbar button 
22427 \begin_inset Graphics
22428         filename ../images/marginalnote-insert.xpm
22429         scale 85
22430
22431 \end_inset
22432
22433 .
22434  A
22435 \family roman
22436 \series medium
22437  
22438 \family default
22439 \series default
22440 grey
22441 \family roman
22442 \series medium
22443  box with the 
22444 \family default
22445 \series default
22446 red 
22447 \family roman
22448 \series medium
22449 label 
22450 \begin_inset Quotes eld
22451 \end_inset
22452
22453 margin
22454 \begin_inset Quotes erd
22455 \end_inset
22456
22457  appears where you can enter the text of the margin note.
22458 \end_layout
22459
22460 \begin_layout Standard
22461 At the side is an example margin note.
22462 \family roman
22463 \series medium
22464
22465 \begin_inset Marginal
22466 status open
22467
22468 \begin_layout Standard
22469 This is a margin note.
22470 \end_layout
22471
22472 \end_inset
22473
22474
22475 \end_layout
22476
22477 \begin_layout Standard
22478 Margin notes appear at the right side in single-sided documents.
22479  In double-sided documents they appear in the outer margin -- left on even
22480  pages, right on odd pages.
22481  The text of margin notes is aligned opposite to the outer margin -- right-align
22482 ed when the note appears in the left margin.
22483  The first line of the margin note is placed at the position of the text
22484  line where it is inserted in the document.
22485 \end_layout
22486
22487 \begin_layout Standard
22488 \begin_inset VSpace bigskip
22489 \end_inset
22490
22491 To place the margin note in the inner margin, add the command
22492 \end_layout
22493
22494 \begin_layout Standard
22495
22496 \series bold
22497
22498 \backslash
22499 reversemarginpar
22500 \end_layout
22501
22502 \begin_layout Standard
22503 in ERT before a margin note.
22504  The new placement is valid for all following margin notes.
22505 \begin_inset ERT
22506 status collapsed
22507
22508 \begin_layout Standard
22509
22510
22511 \backslash
22512 reversemarginpar 
22513 \end_layout
22514
22515 \end_inset
22516
22517
22518 \begin_inset Marginal
22519 status open
22520
22521 \begin_layout Standard
22522 This is a margin note in the inner margin.
22523 \end_layout
22524
22525 \end_inset
22526
22527
22528 \series bold
22529
22530 \newline
22531
22532 \series default
22533
22534 \begin_inset Note Greyedout
22535 status open
22536
22537 \begin_layout Standard
22538
22539 \series bold
22540 Note:
22541 \series default
22542  There is often not enough space in the inner margin so that the notes are
22543  not correctly displayed in the output.
22544 \end_layout
22545
22546 \end_inset
22547
22548
22549 \end_layout
22550
22551 \begin_layout Standard
22552 \begin_inset ERT
22553 status collapsed
22554
22555 \begin_layout Standard
22556
22557
22558 \backslash
22559 normalmarginpar 
22560 \end_layout
22561
22562 \end_inset
22563
22564 To return to the default placement insert the command
22565 \end_layout
22566
22567 \begin_layout Standard
22568
22569 \series bold
22570
22571 \backslash
22572 normalmarginpar
22573 \end_layout
22574
22575 \begin_layout Standard
22576 in ERT.
22577  
22578 \begin_inset Note Greyedout
22579 status open
22580
22581 \begin_layout Standard
22582
22583 \series bold
22584 Note:
22585 \series default
22586  The command is ignored when it is within a paragraph where also the command
22587  
22588 \series bold
22589
22590 \backslash
22591 reversemarginpar
22592 \series default
22593  is inserted.
22594 \end_layout
22595
22596 \end_inset
22597
22598
22599 \end_layout
22600
22601 \begin_layout Standard
22602 \begin_inset VSpace bigskip
22603 \end_inset
22604
22605
22606 \family roman
22607 \series medium
22608
22609 \begin_inset Marginal
22610 status open
22611
22612 \begin_layout Standard
22613 AVeryLongMarginParWord that isn't hyphenated.
22614 \end_layout
22615
22616 \end_inset
22617
22618
22619 \family default
22620 \series default
22621 Similar to the case described in section\InsetSpace ~
22622
22623 \begin_inset LatexCommand ref
22624 reference "sub:Multiple-Lines-in"
22625
22626 \end_inset
22627
22628 , long words cannot be hyphenated when they are the first word in a margin
22629  note.
22630  To avoid this, insert the command
22631 \end_layout
22632
22633 \begin_layout Standard
22634
22635 \series bold
22636
22637 \backslash
22638 hspace{0pt}
22639 \end_layout
22640
22641 \begin_layout Standard
22642 in ERT before the word
22643 \family roman
22644 \series medium
22645 .
22646 \begin_inset Marginal
22647 status open
22648
22649 \begin_layout Standard
22650 \begin_inset ERT
22651 status collapsed
22652
22653 \begin_layout Standard
22654
22655
22656 \backslash
22657 hspace{0pt}
22658 \end_layout
22659
22660 \end_inset
22661
22662 AVeryLongMarginParWord that is hyphenated.
22663 \end_layout
22664
22665 \end_inset
22666
22667
22668 \end_layout
22669
22670 \begin_layout Standard
22671 \begin_inset VSpace bigskip
22672 \end_inset
22673
22674
22675 \end_layout
22676
22677 \begin_layout Standard
22678 \begin_inset Note Greyedout
22679 status open
22680
22681 \begin_layout Standard
22682
22683 \series bold
22684 Note:
22685 \series default
22686  Margin notes can normally not be used inside tables, floats, and footnotes.
22687 \end_layout
22688
22689 \end_inset
22690
22691
22692 \end_layout
22693
22694 \begin_layout Standard
22695 \begin_inset VSpace bigskip
22696 \end_inset
22697
22698
22699 \end_layout
22700
22701 \begin_layout Standard
22702 \begin_inset ERT
22703 status collapsed
22704
22705 \begin_layout Standard
22706
22707
22708 \backslash
22709 ifmarginnote
22710 \end_layout
22711
22712 \end_inset
22713
22714
22715 \begin_inset Note Note
22716 status open
22717
22718 \begin_layout Standard
22719 The following section will only be displayed when you have the LaTeX-package
22720  
22721 \series bold
22722 marginnote
22723 \series default
22724  is installed.
22725 \end_layout
22726
22727 \end_inset
22728
22729
22730 \end_layout
22731
22732 \begin_layout Standard
22733 This restriction can be evaded by using the LaTeX-package 
22734 \series bold
22735 marginnote
22736 \series default
22737
22738 \begin_inset LatexCommand index
22739 name "LaTeX-packages ! marginnote"
22740
22741 \end_inset
22742
22743 .
22744  By adding these two lines to your document preamble, the command used by
22745  LyX for margin notes is redefined to use the command provided by the 
22746 \series bold
22747 marginnote
22748 \series default
22749 -package:
22750 \end_layout
22751
22752 \begin_layout Standard
22753
22754 \series bold
22755
22756 \backslash
22757 usepackage{marginnote}
22758 \newline
22759
22760 \backslash
22761 let
22762 \backslash
22763 marginpar
22764 \backslash
22765 marginnote
22766 \end_layout
22767
22768 \begin_layout Standard
22769 This is also used in this document because 
22770 \series bold
22771 marginnote
22772 \series default
22773  has another useful feature: You can set a vertical offset for the note.
22774  This is often needed when too many margin notes are too close together
22775  or for a better page layout.
22776  The offset is set in LyX as ERT directly behind the margin note in the
22777  scheme
22778 \end_layout
22779
22780 \begin_layout Standard
22781
22782 \series bold
22783 [offset]
22784 \end_layout
22785
22786 \begin_layout Standard
22787 where the offset is a length with one of the units listed in Table\InsetSpace ~
22788
22789 \begin_inset LatexCommand ref
22790 reference "tab:Units"
22791
22792 \end_inset
22793
22794 .
22795  A negative value shifts the note up, a positive value shifts it down.
22796
22797 \family roman
22798 \series medium
22799  For example the margin note beside this text line is shifted up 1.5\InsetSpace \thinspace{}
22800 cm with
22801  the ERT-command 
22802 \begin_inset Quotes eld
22803 \end_inset
22804
22805
22806 \family default
22807 \series bold
22808 [-1.5cm]
22809 \family roman
22810 \series medium
22811
22812 \begin_inset Quotes erd
22813 \end_inset
22814
22815
22816 \begin_inset Marginal
22817 status open
22818
22819 \begin_layout Standard
22820 This margin note is shifted up 1.5\InsetSpace \thinspace{}
22821 cm from its original position.
22822 \end_layout
22823
22824 \end_inset
22825
22826
22827 \family default
22828 \series default
22829
22830 \begin_inset ERT
22831 status collapsed
22832
22833 \begin_layout Standard
22834
22835 [-1.5cm]
22836 \end_layout
22837
22838 \end_inset
22839
22840
22841 \end_layout
22842
22843 \begin_layout Standard
22844 \begin_inset VSpace defskip
22845 \end_inset
22846
22847 With 
22848 \series bold
22849 marginnote
22850 \series default
22851  you can also change the alignment of the text in the margin note.
22852  For example the commands
22853 \end_layout
22854
22855 \begin_layout Standard
22856
22857 \series bold
22858
22859 \backslash
22860 renewcommand*{
22861 \backslash
22862 raggedleftmarginnote}{
22863 \backslash
22864 centering}
22865 \newline
22866
22867 \backslash
22868 renewcommand*{
22869 \backslash
22870 raggedrightmarginnote}{
22871 \backslash
22872 centering}
22873 \end_layout
22874
22875 \begin_layout Standard
22876 set the alignment to centered.
22877  
22878 \series bold
22879
22880 \backslash
22881 raggedleftmarginnote
22882 \series default
22883  denotes margin notes that appear at the left side.
22884 \family roman
22885 \series medium
22886
22887 \begin_inset ERT
22888 status collapsed
22889
22890 \begin_layout Standard
22891
22892
22893 \backslash
22894 renewcommand*{
22895 \backslash
22896 raggedleftmarginnote}{
22897 \backslash
22898 centering}
22899 \end_layout
22900
22901 \begin_layout Standard
22902
22903
22904 \backslash
22905 renewcommand*{
22906 \backslash
22907 raggedrightmarginnote}{
22908 \backslash
22909 centering}
22910 \end_layout
22911
22912 \end_inset
22913
22914
22915 \begin_inset Marginal
22916 status open
22917
22918 \begin_layout Standard
22919 The text of this margin note is centered.
22920 \end_layout
22921
22922 \end_inset
22923
22924  
22925 \family default
22926 \series default
22927 The default is
22928 \end_layout
22929
22930 \begin_layout Standard
22931
22932 \series bold
22933
22934 \backslash
22935 renewcommand*{
22936 \backslash
22937 raggedleftmarginnote}{
22938 \backslash
22939 raggedleft}
22940 \newline
22941
22942 \backslash
22943 renewcommand*{
22944 \backslash
22945 raggedrightmarginnote}{
22946 \backslash
22947 raggedright}
22948 \family roman
22949 \series medium
22950
22951 \begin_inset ERT
22952 status collapsed
22953
22954 \begin_layout Standard
22955
22956
22957 \backslash
22958 renewcommand*{
22959 \backslash
22960 raggedleftmarginnote}{
22961 \backslash
22962 raggedleft}
22963 \end_layout
22964
22965 \begin_layout Standard
22966
22967
22968 \backslash
22969 renewcommand*{
22970 \backslash
22971 raggedrightmarginnote}{
22972 \backslash
22973 raggedright}
22974 \end_layout
22975
22976 \end_inset
22977
22978
22979 \end_layout
22980
22981 \begin_layout Standard
22982 \begin_inset VSpace defskip
22983 \end_inset
22984
22985 For the other features of 
22986 \series bold
22987 marginnote
22988 \series default
22989  we refer to its documentation 
22990 \begin_inset LatexCommand cite
22991 key "marginnote"
22992
22993 \end_inset
22994
22995 .
22996 \end_layout
22997
22998 \begin_layout Standard
22999 \begin_inset VSpace bigskip
23000 \end_inset
23001
23002 You can change the layout of margin notes by redefining its definition.
23003  To create for example a header for all margin notes with the underlined,
23004  sans-serif, and bold header text 
23005 \begin_inset Quotes eld
23006 \end_inset
23007
23008
23009 \family sans
23010 \series bold
23011 \bar under
23012 Attention!
23013 \family default
23014 \series default
23015 \bar default
23016
23017 \begin_inset Quotes erd
23018 \end_inset
23019
23020 , add this to your document preamble:
23021 \end_layout
23022
23023 \begin_layout Standard
23024
23025 \series bold
23026
23027 \backslash
23028 let
23029 \backslash
23030 myMarginpar
23031 \backslash
23032 marginpar
23033 \newline
23034
23035 \backslash
23036 renewcommand{
23037 \backslash
23038 marginpar}[1]{
23039 \backslash
23040 myMarginpar{%
23041 \newline
23042
23043 \begin_inset ERT
23044 status collapsed
23045
23046 \begin_layout Standard
23047
23048
23049 \backslash
23050 hphantom{ }
23051 \end_layout
23052
23053 \end_inset
23054
23055
23056 \backslash
23057 hspace{0pt}
23058 \backslash
23059 textsf{
23060 \backslash
23061 textbf{
23062 \backslash
23063 underbar{Attention!}}}%
23064 \newline
23065
23066 \begin_inset ERT
23067 status collapsed
23068
23069 \begin_layout Standard
23070
23071
23072 \backslash
23073 hphantom{ }
23074 \end_layout
23075
23076 \end_inset
23077
23078
23079 \backslash
23080 vspace{1.5mm}
23081 \backslash
23082
23083 \backslash
23084 #1}}
23085 \end_layout
23086
23087 \begin_layout Standard
23088
23089 \family roman
23090 \series medium
23091 \begin_inset ERT
23092 status collapsed
23093
23094 \begin_layout Standard
23095
23096
23097 \backslash
23098 let
23099 \backslash
23100 myMarginpar
23101 \backslash
23102 marginpar
23103 \end_layout
23104
23105 \begin_layout Standard
23106
23107
23108 \backslash
23109 renewcommand{
23110 \backslash
23111 marginpar}[1]{
23112 \backslash
23113 myMarginpar{%
23114 \end_layout
23115
23116 \begin_layout Standard
23117
23118    
23119 \backslash
23120 textsf{
23121 \backslash
23122 textbf{
23123 \backslash
23124 underbar{Attention!}}}%
23125 \end_layout
23126
23127 \begin_layout Standard
23128
23129    
23130 \backslash
23131 vspace{1.5mm}
23132 \backslash
23133
23134 \backslash
23135 #1}}
23136 \end_layout
23137
23138 \end_inset
23139
23140
23141 \begin_inset Marginal
23142 status open
23143
23144 \begin_layout Standard
23145 This is a margin note with a defined heading.
23146 \end_layout
23147
23148 \end_inset
23149
23150
23151 \family default
23152 \series default
23153
23154 \begin_inset ERT
23155 status collapsed
23156
23157 \begin_layout Standard
23158
23159 [-1.5cm]
23160 \end_layout
23161
23162 \end_inset
23163
23164
23165 \family roman
23166 \series medium
23167
23168 \begin_inset ERT
23169 status collapsed
23170
23171 \begin_layout Standard
23172
23173
23174 \backslash
23175 renewcommand{
23176 \backslash
23177 marginpar}[1]{
23178 \backslash
23179 myMarginpar{#1}}
23180 \end_layout
23181
23182 \end_inset
23183
23184
23185 \family default
23186 \series default
23187
23188 \begin_inset Note Note
23189 status collapsed
23190
23191 \begin_layout Standard
23192 The margin note format is changed only for this example.
23193 \end_layout
23194
23195 \end_inset
23196
23197
23198 \end_layout
23199
23200 \begin_layout Standard
23201 \begin_inset ERT
23202 status collapsed
23203
23204 \begin_layout Standard
23205
23206
23207 \backslash
23208 else
23209 \end_layout
23210
23211 \end_inset
23212
23213
23214 \begin_inset Note Note
23215 status open
23216
23217 \begin_layout Standard
23218 The following will be displayed when the LaTeX-package 
23219 \series bold
23220 marginnote
23221 \series default
23222  is not installed:
23223 \end_layout
23224
23225 \end_inset
23226
23227
23228 \end_layout
23229
23230 \begin_layout Standard
23231 You need to install the LaTeX-package 
23232 \series bold
23233 marginnote
23234 \series default
23235  to see the following part of this section in the output.
23236 \end_layout
23237
23238 \begin_layout Standard
23239 \begin_inset ERT
23240 status collapsed
23241
23242 \begin_layout Standard
23243
23244
23245 \backslash
23246 fi
23247 \end_layout
23248
23249 \end_inset
23250
23251
23252 \end_layout
23253
23254 \begin_layout Chapter
23255 Boxes
23256 \end_layout
23257
23258 \begin_layout Section
23259 Introduction
23260 \begin_inset LatexCommand index
23261 name "Boxes ! Introduction"
23262
23263 \end_inset
23264
23265
23266 \end_layout
23267
23268 \begin_layout Standard
23269 Boxes are used to format a block of text.
23270  Boxes can be used to write documents with multiple languages, see section\InsetSpace ~
23271
23272 \begin_inset LatexCommand ref
23273 reference "sec:Minipages"
23274
23275 \end_inset
23276
23277 , to frame texts, see section\InsetSpace ~
23278
23279 \begin_inset LatexCommand ref
23280 reference "sec:Framed-Boxes"
23281
23282 \end_inset
23283
23284 , to prevent words to be hyphenated, see section\InsetSpace ~
23285
23286 \begin_inset LatexCommand ref
23287 reference "sec:Prevent-Hyphenation"
23288
23289 \end_inset
23290
23291 , to align text, see section\InsetSpace ~
23292
23293 \begin_inset LatexCommand ref
23294 reference "sub:Vertical-Alignment"
23295
23296 \end_inset
23297
23298 , or to set the background color of texts, see section\InsetSpace ~
23299
23300 \begin_inset LatexCommand ref
23301 reference "sec:Colored-Boxes"
23302
23303 \end_inset
23304
23305 .
23306 \end_layout
23307
23308 \begin_layout Standard
23309 Boxes can be inserted with the menu 
23310 \family sans
23311 Insert\SpecialChar \menuseparator
23312 Box
23313 \family default
23314 .
23315  A grey box with the label 
23316 \family sans
23317 Box (Minipage)
23318 \family default
23319
23320 \begin_inset Graphics
23321         filename ../clipart/BoxInsetDefaultQt4.png
23322         scale 85
23323
23324 \end_inset
23325
23326 , will be inserted.
23327  The box type can be specified by right-clicking on the box.
23328  The appearing box dialog offers the 
23329 \family sans
23330 Inner\InsetSpace ~
23331 Box
23332 \family default
23333  types 
23334 \family sans
23335 Parbox
23336 \family default
23337  and 
23338 \family sans
23339 Minipage
23340 \family default
23341 .
23342  The type 
23343 \family sans
23344 Minipage
23345 \family default
23346  is the default for new boxes and is explained in section\InsetSpace ~
23347
23348 \begin_inset LatexCommand ref
23349 reference "sec:Minipages"
23350
23351 \end_inset
23352
23353 ; the type 
23354 \family sans
23355 Parbox
23356 \family default
23357  is described in section\InsetSpace ~
23358
23359 \begin_inset LatexCommand ref
23360 reference "sec:Parboxes"
23361
23362 \end_inset
23363
23364 .
23365 \end_layout
23366
23367 \begin_layout Standard
23368 Boxes aren't numbered and can therefore not be referenced like floats or
23369  footnotes.
23370 \end_layout
23371
23372 \begin_layout Standard
23373 \begin_inset Note Greyedout
23374 status open
23375
23376 \begin_layout Standard
23377
23378 \series bold
23379 Note:
23380 \series default
23381  Due to a bug in LyX you have to insert a protected space behind a box when
23382  you want to separate in a line the box from the following text with a space.
23383 \end_layout
23384
23385 \end_inset
23386
23387
23388 \end_layout
23389
23390 \begin_layout Standard
23391 \begin_inset Note Greyedout
23392 status open
23393
23394 \begin_layout Standard
23395
23396 \series bold
23397 Note:
23398 \series default
23399  Boxes must not be the item in an 
23400 \family sans
23401 Itemize
23402 \family default
23403  or 
23404 \family sans
23405 Description
23406 \family default
23407  environment.
23408 \end_layout
23409
23410 \end_inset
23411
23412
23413 \end_layout
23414
23415 \begin_layout Standard
23416 \begin_inset Note Greyedout
23417 status open
23418
23419 \begin_layout Standard
23420
23421 \series bold
23422 Note:
23423 \series default
23424  For an unknown reason you can only set the 
23425 \family sans
23426 Inner\InsetSpace ~
23427 Box
23428 \family default
23429  type to 
23430 \family sans
23431 None
23432 \family default
23433  when you use a framed box.
23434  Boxes without an 
23435 \family sans
23436 Inner\InsetSpace ~
23437 Box
23438 \family default
23439  type and without frames are explained in section\InsetSpace ~
23440
23441 \begin_inset LatexCommand ref
23442 reference "sec:Prevent-Hyphenation"
23443
23444 \end_inset
23445
23446 .
23447 \end_layout
23448
23449 \end_inset
23450
23451
23452 \end_layout
23453
23454 \begin_layout Section
23455 Box Dialog
23456 \begin_inset LatexCommand label
23457 name "sec:Box-Dialog"
23458
23459 \end_inset
23460
23461
23462 \begin_inset LatexCommand index
23463 name "Boxes ! Box Dialog"
23464
23465 \end_inset
23466
23467
23468 \begin_inset LatexCommand index
23469 name "Boxes ! Alignment"
23470
23471 \end_inset
23472
23473
23474 \end_layout
23475
23476 \begin_layout Standard
23477 In the box dialog you can adjust the box geometry in the fields 
23478 \family sans
23479 Width
23480 \family default
23481  and 
23482 \family sans
23483 Height
23484 \family default
23485 .
23486  The available units for the geometry are explained in Table\InsetSpace ~
23487
23488 \begin_inset LatexCommand ref
23489 reference "tab:Units"
23490
23491 \end_inset
23492
23493 .
23494  The field 
23495 \family sans
23496 Heigth
23497 \family default
23498  offers the following additional sizes:
23499 \end_layout
23500
23501 \begin_layout Description
23502 Depth This is the plain text 
23503 \begin_inset Quotes eld
23504 \end_inset
23505
23506 height
23507 \begin_inset Quotes erd
23508 \end_inset
23509
23510 .
23511  It ignores the total depth when there are multiple text lines in the box:
23512 \newline
23513
23514 \newline
23515
23516 \newline
23517
23518 \begin_inset Box Boxed
23519 position "c"
23520 hor_pos "c"
23521 has_inner_box 1
23522 inner_pos "c"
23523 use_parbox 0
23524 width "12col%"
23525 special "none"
23526 height "1in"
23527 height_special "depth"
23528 status collapsed
23529
23530 \begin_layout Standard
23531 \align center
23532 Box height set to 1\InsetSpace \thinspace{}
23533 Depth
23534 \end_layout
23535
23536 \end_inset
23537
23538
23539 \newline
23540
23541 \newline
23542
23543 \end_layout
23544
23545 \begin_layout Description
23546 Height This is the heigth of the text that is inside the box.
23547  A value of e.\InsetSpace \thinspace{}
23548 g.\InsetSpace ~
23549 2 for this size will set the box heigth to 2 times the text
23550  height: 
23551 \begin_inset Box Boxed
23552 position "c"
23553 hor_pos "c"
23554 has_inner_box 1
23555 inner_pos "c"
23556 use_parbox 0
23557 width "20col%"
23558 special "none"
23559 height "2in"
23560 height_special "height"
23561 status collapsed
23562
23563 \begin_layout Standard
23564 \align center
23565 Box height set to 2\InsetSpace \thinspace{}
23566 Height
23567 \end_layout
23568
23569 \end_inset
23570
23571
23572 \end_layout
23573
23574 \begin_layout Description
23575 Total\InsetSpace ~
23576 Height This is the Height\InsetSpace \thinspace{}
23577 +\InsetSpace \thinspace{}
23578 Depth: 
23579 \begin_inset Box Boxed
23580 position "c"
23581 hor_pos "c"
23582 has_inner_box 1
23583 inner_pos "c"
23584 use_parbox 0
23585 width "20col%"
23586 special "none"
23587 height "1in"
23588 height_special "totalheight"
23589 status collapsed
23590
23591 \begin_layout Standard
23592 \align center
23593 Box height set to 1\InsetSpace \thinspace{}
23594 Total\InsetSpace ~
23595 Height
23596 \end_layout
23597
23598 \end_inset
23599
23600
23601 \end_layout
23602
23603 \begin_layout Description
23604 Width This set the width of the box as heigth: 
23605 \begin_inset Box Boxed
23606 position "c"
23607 hor_pos "c"
23608 has_inner_box 1
23609 inner_pos "c"
23610 use_parbox 0
23611 width "12col%"
23612 special "none"
23613 height "1in"
23614 height_special "width"
23615 status collapsed
23616
23617 \begin_layout Standard
23618 \align center
23619 Box height set to 1\InsetSpace \thinspace{}
23620 Width
23621 \end_layout
23622
23623 \end_inset
23624
23625
23626 \end_layout
23627
23628 \begin_layout Standard
23629 \begin_inset VSpace bigskip
23630 \end_inset
23631
23632 When you have chosen an 
23633 \family sans
23634 Inner\InsetSpace ~
23635 Box
23636 \family default
23637 , the vertical box alignment can be:
23638 \end_layout
23639
23640 \begin_layout Description
23641 Top This is an example text line.
23642  
23643 \begin_inset Box Boxed
23644 position "t"
23645 hor_pos "c"
23646 has_inner_box 1
23647 inner_pos "c"
23648 use_parbox 0
23649 width "12col%"
23650 special "none"
23651 height "1in"
23652 height_special "totalheight"
23653 status collapsed
23654
23655 \begin_layout Standard
23656 \align center
23657 This box is top-aligned.
23658 \end_layout
23659
23660 \end_inset
23661
23662 \InsetSpace ~
23663 This is an example text line.
23664 \end_layout
23665
23666 \begin_layout Description
23667 Middle This is an example text line.
23668  
23669 \begin_inset Box Boxed
23670 position "c"
23671 hor_pos "c"
23672 has_inner_box 1
23673 inner_pos "c"
23674 use_parbox 0
23675 width "12col%"
23676 special "none"
23677 height "1in"
23678 height_special "totalheight"
23679 status collapsed
23680
23681 \begin_layout Standard
23682 \align center
23683 This box is middle-aligned.
23684 \end_layout
23685
23686 \end_inset
23687
23688 \InsetSpace ~
23689 This is an example text line.
23690 \end_layout
23691
23692 \begin_layout Description
23693 Bottom This is an example text line.
23694  
23695 \begin_inset Box Boxed
23696 position "b"
23697 hor_pos "c"
23698 has_inner_box 1
23699 inner_pos "c"
23700 use_parbox 0
23701 width "12col%"
23702 special "none"
23703 height "1in"
23704 height_special "totalheight"
23705 status collapsed
23706
23707 \begin_layout Standard
23708 \align center
23709 This box is bottom-aligned.
23710 \end_layout
23711
23712 \end_inset
23713
23714 \InsetSpace ~
23715 This is an example text line.
23716 \end_layout
23717
23718 \begin_layout Standard
23719 The horizontal box alignment can be set via LyX's paragraph dialog when
23720  you set the box into its own paragraph.
23721 \end_layout
23722
23723 \begin_layout Standard
23724 \begin_inset VSpace bigskip
23725 \end_inset
23726
23727 When you have chosen an 
23728 \family sans
23729 Inner\InsetSpace ~
23730 Box
23731 \family default
23732 , the box content can be vertical aligned to:
23733 \end_layout
23734
23735 \begin_layout Description
23736 top This is an example text line.
23737  
23738 \begin_inset Box Boxed
23739 position "c"
23740 hor_pos "c"
23741 has_inner_box 1
23742 inner_pos "t"
23743 use_parbox 0
23744 width "12col%"
23745 special "none"
23746 height "1.5in"
23747 height_special "totalheight"
23748 status collapsed
23749
23750 \begin_layout Standard
23751 \align center
23752 This box text is top-aligned.
23753 \end_layout
23754
23755 \end_inset
23756
23757 \InsetSpace ~
23758 This is an example text line.
23759 \end_layout
23760
23761 \begin_layout Description
23762 middle This is an example text line.
23763  
23764 \begin_inset Box Boxed
23765 position "c"
23766 hor_pos "c"
23767 has_inner_box 1
23768 inner_pos "c"
23769 use_parbox 0
23770 width "12col%"
23771 special "none"
23772 height "1.5in"
23773 height_special "totalheight"
23774 status collapsed
23775
23776 \begin_layout Standard
23777 \align center
23778 This box text is middle-aligned.
23779 \end_layout
23780
23781 \end_inset
23782
23783 \InsetSpace ~
23784 This is an example text line.
23785 \end_layout
23786
23787 \begin_layout Description
23788 bottom This is an example text line.
23789  
23790 \begin_inset Box Boxed
23791 position "c"
23792 hor_pos "c"
23793 has_inner_box 1
23794 inner_pos "b"
23795 use_parbox 0
23796 width "12col%"
23797 special "none"
23798 height "1.5in"
23799 height_special "totalheight"
23800 status collapsed
23801
23802 \begin_layout Standard
23803 \align center
23804 This box text is bottom-aligned.
23805 \end_layout
23806
23807 \end_inset
23808
23809 \InsetSpace ~
23810 This is an example text line.
23811 \end_layout
23812
23813 \begin_layout Description
23814 stretch This is an example text line.
23815  
23816 \begin_inset Box Boxed
23817 position "c"
23818 hor_pos "c"
23819 has_inner_box 1
23820 inner_pos "s"
23821 use_parbox 0
23822 width "12col%"
23823 special "none"
23824 height "1.5in"
23825 height_special "totalheight"
23826 status collapsed
23827
23828 \begin_layout Standard
23829 \align center
23830 This box
23831 \end_layout
23832
23833 \begin_layout Standard
23834 \align center
23835 text is
23836 \end_layout
23837
23838 \begin_layout Standard
23839 \align center
23840 stretched.
23841 \end_layout
23842
23843 \end_inset
23844
23845 \InsetSpace ~
23846 This is an example text line.
23847 \end_layout
23848
23849 \begin_layout Standard
23850 To stretch the box content, it must consist of more than one paragraph.
23851  In the example above every text line is in an own paragraph.
23852 \end_layout
23853
23854 \begin_layout Standard
23855 \begin_inset VSpace bigskip
23856 \end_inset
23857
23858 To align the box content horizontally you can use LyX's paragraph dialog
23859  when you have chosen an 
23860 \family sans
23861 Inner\InsetSpace ~
23862 Box
23863 \family default
23864 .
23865 \end_layout
23866
23867 \begin_layout Standard
23868 \align center
23869 \begin_inset Box Boxed
23870 position "c"
23871 hor_pos "c"
23872 has_inner_box 1
23873 inner_pos "s"
23874 use_parbox 0
23875 width "15col%"
23876 special "none"
23877 height "1.25in"
23878 height_special "totalheight"
23879 status collapsed
23880
23881 \begin_layout Standard
23882 \align left
23883 This box
23884 \end_layout
23885
23886 \begin_layout Standard
23887 \align center
23888 text is
23889 \end_layout
23890
23891 \begin_layout Standard
23892 \align right
23893 stretched.
23894 \end_layout
23895
23896 \end_inset
23897
23898
23899 \end_layout
23900
23901 \begin_layout Standard
23902 If you haven't set an 
23903 \family sans
23904 Inner\InsetSpace ~
23905 Box
23906 \family default
23907 , you can align the box content horizontally in the box dialog.
23908 \end_layout
23909
23910 \begin_layout Standard
23911 \align center
23912 \begin_inset Box Boxed
23913 position "c"
23914 hor_pos "s"
23915 has_inner_box 0
23916 inner_pos "s"
23917 use_parbox 0
23918 width "90col%"
23919 special "none"
23920 height "1.25in"
23921 height_special "totalheight"
23922 status collapsed
23923
23924 \begin_layout Standard
23925 \align left
23926 This box text is horizontally stretched.
23927 \end_layout
23928
23929 \end_inset
23930
23931
23932 \end_layout
23933
23934 \begin_layout Section
23935 Framed Boxes
23936 \begin_inset LatexCommand label
23937 name "sec:Framed-Boxes"
23938
23939 \end_inset
23940
23941
23942 \begin_inset LatexCommand index
23943 name "Boxes ! Frames"
23944
23945 \end_inset
23946
23947
23948 \end_layout
23949
23950 \begin_layout Standard
23951 The frame style of the box can be specified in the box-dialog in the drop-down
23952  list 
23953 \family sans
23954 Type
23955 \family default
23956 .
23957  The following frame types are possible:
23958 \end_layout
23959
23960 \begin_layout Description
23961 Rectangular\InsetSpace ~
23962 box This draws a rectangle frame around the box.
23963  The frame line thickness has the size of 
23964 \series bold
23965
23966 \backslash
23967 fboxrule
23968 \series default
23969 .
23970  
23971 \begin_inset Box Boxed
23972 position "c"
23973 hor_pos "c"
23974 has_inner_box 1
23975 inner_pos "c"
23976 use_parbox 0
23977 width "20col%"
23978 special "none"
23979 height "1in"
23980 height_special "totalheight"
23981 status collapsed
23982
23983 \begin_layout Standard
23984 \align center
23985 Rectangular box
23986 \end_layout
23987
23988 \end_inset
23989
23990
23991 \end_layout
23992
23993 \begin_layout Description
23994 Oval\InsetSpace ~
23995 box,\InsetSpace ~
23996 thin This draws an oval frame around the box.
23997  The frame line thickness has the size 0.4\InsetSpace \thinspace{}
23998 pt.
23999  
24000 \begin_inset Box ovalbox
24001 position "c"
24002 hor_pos "c"
24003 has_inner_box 1
24004 inner_pos "c"
24005 use_parbox 0
24006 width "20col%"
24007 special "none"
24008 height "1in"
24009 height_special "totalheight"
24010 status collapsed
24011
24012 \begin_layout Standard
24013 \align center
24014 Oval box, thin
24015 \end_layout
24016
24017 \end_inset
24018
24019
24020 \end_layout
24021
24022 \begin_layout Description
24023 Oval\InsetSpace ~
24024 box,\InsetSpace ~
24025 thick This draws an oval frame around the box.
24026  The frame line thickness has the size 0.8\InsetSpace \thinspace{}
24027 pt.
24028  
24029 \begin_inset Box Ovalbox
24030 position "c"
24031 hor_pos "c"
24032 has_inner_box 1
24033 inner_pos "c"
24034 use_parbox 0
24035 width "20col%"
24036 special "none"
24037 height "1in"
24038 height_special "totalheight"
24039 status collapsed
24040
24041 \begin_layout Standard
24042 \align center
24043 Oval box, thick
24044 \end_layout
24045
24046 \end_inset
24047
24048
24049 \end_layout
24050
24051 \begin_layout Description
24052 Shadow\InsetSpace ~
24053 box This draws a rectangle frame with a shadow around the box.
24054  The frame line thickness has the size of 
24055 \series bold
24056
24057 \backslash
24058 fboxrule
24059 \series default
24060 , the shadow has a width of 4\InsetSpace \thinspace{}
24061 pt.
24062  
24063 \begin_inset Box Shadowbox
24064 position "c"
24065 hor_pos "c"
24066 has_inner_box 1
24067 inner_pos "c"
24068 use_parbox 0
24069 width "20col%"
24070 special "none"
24071 height "1in"
24072 height_special "totalheight"
24073 status collapsed
24074
24075 \begin_layout Standard
24076 \align center
24077 Shadow box
24078 \end_layout
24079
24080 \end_inset
24081
24082
24083 \end_layout
24084
24085 \begin_layout Description
24086 Double\InsetSpace ~
24087 box This draws a double-line rectangle frame around the box.
24088  The line thickness of the inner frame is 0.75\InsetSpace \thinspace{}
24089
24090 \series bold
24091
24092 \backslash
24093 fboxrule
24094 \series default
24095 , the thickness of the outer frame is 1.5\InsetSpace \thinspace{}
24096
24097 \series bold
24098
24099 \backslash
24100 fboxrule
24101 \series default
24102 .
24103  The distance between the lines is 1.5\InsetSpace \thinspace{}
24104
24105 \series bold
24106
24107 \backslash
24108 fboxrule
24109 \series default
24110 \InsetSpace \thinspace{}
24111 +\InsetSpace \thinspace{}
24112 0.5\InsetSpace \thinspace{}
24113 pt.
24114  
24115 \begin_inset Box Doublebox
24116 position "c"
24117 hor_pos "c"
24118 has_inner_box 1
24119 inner_pos "c"
24120 use_parbox 0
24121 width "20col%"
24122 special "none"
24123 height "1in"
24124 height_special "totalheight"
24125 status collapsed
24126
24127 \begin_layout Standard
24128 \align center
24129 Double box
24130 \end_layout
24131
24132 \end_inset
24133
24134
24135 \end_layout
24136
24137 \begin_layout Standard
24138 \begin_inset VSpace bigskip
24139 \end_inset
24140
24141 LyX's box label will change to the used frame style when you set a frame.
24142  To be able to use the different frame styles, the LaTeX-package 
24143 \series bold
24144 fancybox
24145 \series default
24146
24147 \begin_inset LatexCommand index
24148 name "LaTeX-packages ! fancybox"
24149
24150 \end_inset
24151
24152  must be installed.
24153 \end_layout
24154
24155 \begin_layout Standard
24156 \begin_inset VSpace bigskip
24157 \end_inset
24158
24159 The default value for the size 
24160 \series bold
24161
24162 \backslash
24163 fboxrule
24164 \series default
24165  is 0.4\InsetSpace \thinspace{}
24166 pt.
24167  It can be changed with the following command in ERT to e.\InsetSpace \thinspace{}
24168 g.\InsetSpace ~
24169 2\InsetSpace \thinspace{}
24170 pt:
24171 \end_layout
24172
24173 \begin_layout Standard
24174
24175 \series bold
24176
24177 \backslash
24178 setlength{
24179 \backslash
24180 fboxrule}{2pt}
24181 \end_layout
24182
24183 \begin_layout Standard
24184 \begin_inset ERT
24185 status collapsed
24186
24187 \begin_layout Standard
24188
24189
24190 \backslash
24191 setlength{
24192 \backslash
24193 fboxrule}{2pt}
24194 \end_layout
24195
24196 \end_inset
24197
24198
24199 \begin_inset Box Boxed
24200 position "c"
24201 hor_pos "c"
24202 has_inner_box 1
24203 inner_pos "c"
24204 use_parbox 0
24205 width "25col%"
24206 special "none"
24207 height "1in"
24208 height_special "totalheight"
24209 status collapsed
24210
24211 \begin_layout Standard
24212 \align center
24213 Rectangular box with 
24214 \series bold
24215
24216 \backslash
24217 fboxrule
24218 \series default
24219 \InsetSpace \thinspace{}
24220 =\InsetSpace \thinspace{}
24221 2\InsetSpace \thinspace{}
24222 pt
24223 \end_layout
24224
24225 \end_inset
24226
24227
24228 \begin_inset ERT
24229 status collapsed
24230
24231 \begin_layout Standard
24232
24233
24234 \backslash
24235 setlength{
24236 \backslash
24237 fboxrule}{0.4pt}
24238 \end_layout
24239
24240 \end_inset
24241
24242
24243 \end_layout
24244
24245 \begin_layout Standard
24246 \begin_inset VSpace bigskip
24247 \end_inset
24248
24249 The space between the frame and the box content is for all frame styles
24250  by default 3\InsetSpace \thinspace{}
24251 pt.
24252  You can change it by setting the length 
24253 \series bold
24254
24255 \backslash
24256 fboxsep
24257 \series default
24258  to another value.
24259  For example the command
24260 \end_layout
24261
24262 \begin_layout Standard
24263
24264 \series bold
24265
24266 \backslash
24267 setlength{
24268 \backslash
24269 fboxsep}{10pt}
24270 \end_layout
24271
24272 \begin_layout Standard
24273 sets the value to 10\InsetSpace \thinspace{}
24274 pt, like for the following box:
24275 \end_layout
24276
24277 \begin_layout Standard
24278 \begin_inset ERT
24279 status collapsed
24280
24281 \begin_layout Standard
24282
24283
24284 \backslash
24285 setlength{
24286 \backslash
24287 fboxsep}{10pt}
24288 \end_layout
24289
24290 \end_inset
24291
24292
24293 \begin_inset Box Boxed
24294 position "c"
24295 hor_pos "c"
24296 has_inner_box 1
24297 inner_pos "c"
24298 use_parbox 0
24299 width "25col%"
24300 special "none"
24301 height "1in"
24302 height_special "totalheight"
24303 status collapsed
24304
24305 \begin_layout Standard
24306 \align center
24307 Rectangular box with 
24308 \series bold
24309
24310 \backslash
24311 fboxsep
24312 \series default
24313 \InsetSpace \thinspace{}
24314 =\InsetSpace \thinspace{}
24315 10\InsetSpace \thinspace{}
24316 pt
24317 \end_layout
24318
24319 \end_inset
24320
24321
24322 \begin_inset ERT
24323 status collapsed
24324
24325 \begin_layout Standard
24326
24327
24328 \backslash
24329 setlength{
24330 \backslash
24331 fboxsep}{3pt}
24332 \end_layout
24333
24334 \end_inset
24335
24336
24337 \end_layout
24338
24339 \begin_layout Standard
24340 \begin_inset VSpace bigskip
24341 \end_inset
24342
24343 The diameter of the round corners of the oval boxes can be set with the
24344  command 
24345 \series bold
24346
24347 \backslash
24348 cornersize
24349 \series default
24350 .
24351  The command
24352 \end_layout
24353
24354 \begin_layout Standard
24355
24356 \series bold
24357
24358 \backslash
24359 cornersize*{1cm}
24360 \end_layout
24361
24362 \begin_layout Standard
24363 sets the diameter to 1\InsetSpace \thinspace{}
24364 cm.
24365  The command
24366 \end_layout
24367
24368 \begin_layout Standard
24369
24370 \series bold
24371
24372 \backslash
24373 cornersize{num}
24374 \end_layout
24375
24376 \begin_layout Standard
24377 sets the diameter to 
24378 \family sans
24379 num\InsetSpace \thinspace{}
24380 ×\InsetSpace \thinspace{}
24381 minimum(width and heigth of box)
24382 \family default
24383 .
24384  The default is 
24385 \series bold
24386
24387 \backslash
24388 cornersize{0.5}
24389 \series default
24390 .
24391 \end_layout
24392
24393 \begin_layout Standard
24394 \begin_inset ERT
24395 status collapsed
24396
24397 \begin_layout Standard
24398
24399
24400 \backslash
24401 cornersize*{1.5cm}
24402 \end_layout
24403
24404 \end_inset
24405
24406
24407 \begin_inset Box Ovalbox
24408 position "c"
24409 hor_pos "c"
24410 has_inner_box 1
24411 inner_pos "c"
24412 use_parbox 0
24413 width "25col%"
24414 special "none"
24415 height "1in"
24416 height_special "totalheight"
24417 status collapsed
24418
24419 \begin_layout Standard
24420 \align center
24421 Oval box with 
24422 \series bold
24423
24424 \backslash
24425 cornersize
24426 \series default
24427 \InsetSpace \thinspace{}
24428 =\InsetSpace \thinspace{}
24429 1.5\InsetSpace \thinspace{}
24430 cm
24431 \end_layout
24432
24433 \end_inset
24434
24435
24436 \begin_inset ERT
24437 status collapsed
24438
24439 \begin_layout Standard
24440
24441
24442 \backslash
24443 cornersize{0.5}
24444 \end_layout
24445
24446 \end_inset
24447
24448
24449 \end_layout
24450
24451 \begin_layout Standard
24452 \begin_inset VSpace bigskip
24453 \end_inset
24454
24455 The size of the shadow can be adjusted by changing the length 
24456 \series bold
24457
24458 \backslash
24459 shadowsize
24460 \series default
24461 .
24462  It it set to 2\InsetSpace \thinspace{}
24463 pt for the following box by this command:
24464 \end_layout
24465
24466 \begin_layout Standard
24467
24468 \series bold
24469
24470 \backslash
24471 setlength{
24472 \backslash
24473 shadowsize}{2pt}
24474 \end_layout
24475
24476 \begin_layout Standard
24477 \begin_inset ERT
24478 status collapsed
24479
24480 \begin_layout Standard
24481
24482
24483 \backslash
24484 setlength{
24485 \backslash
24486 shadowsize}{2pt}
24487 \end_layout
24488
24489 \end_inset
24490
24491
24492 \begin_inset Box Shadowbox
24493 position "c"
24494 hor_pos "c"
24495 has_inner_box 1
24496 inner_pos "c"
24497 use_parbox 0
24498 width "25col%"
24499 special "none"
24500 height "1in"
24501 height_special "totalheight"
24502 status collapsed
24503
24504 \begin_layout Standard
24505 \align center
24506 Shadow box with 
24507 \series bold
24508
24509 \backslash
24510 shadowsize
24511 \series default
24512 \InsetSpace \thinspace{}
24513 =\InsetSpace \thinspace{}
24514 2\InsetSpace \thinspace{}
24515 pt
24516 \end_layout
24517
24518 \end_inset
24519
24520
24521 \begin_inset ERT
24522 status collapsed
24523
24524 \begin_layout Standard
24525
24526
24527 \backslash
24528 setlength{
24529 \backslash
24530 shadowsize}{4pt}
24531 \end_layout
24532
24533 \end_inset
24534
24535
24536 \end_layout
24537
24538 \begin_layout Standard
24539 \begin_inset VSpace bigskip
24540 \end_inset
24541
24542 Changed lengths and widths are valid for all boxes following the commands
24543  that change them.
24544 \end_layout
24545
24546 \begin_layout Section
24547 Minipages
24548 \begin_inset LatexCommand label
24549 name "sec:Minipages"
24550
24551 \end_inset
24552
24553
24554 \begin_inset LatexCommand index
24555 name "Boxes ! Minipages"
24556
24557 \end_inset
24558
24559
24560 \end_layout
24561
24562 \begin_layout Standard
24563 Minipages are treated by LaTeX as pages within pages and can therefore for
24564  example have their own footnotes.
24565 \end_layout
24566
24567 \begin_layout Standard
24568 Minipages are useful when you write documents with different languages.
24569 \end_layout
24570
24571 \begin_layout Standard
24572 Below are two example minipages side by side.
24573  Their width is set to 45\InsetSpace \thinspace{}
24574 col% and they are separated by a horizontal fill,
24575  that was inserted via the menu 
24576 \family sans
24577 Insert\SpecialChar \menuseparator
24578 Special\InsetSpace ~
24579 Formatting\SpecialChar \menuseparator
24580 Horizontal\InsetSpace ~
24581 Fill
24582 \family default
24583 .
24584 \end_layout
24585
24586 \begin_layout Standard
24587 \begin_inset Box Frameless
24588 position "t"
24589 hor_pos "c"
24590 has_inner_box 1
24591 inner_pos "c"
24592 use_parbox 0
24593 width "45col%"
24594 special "none"
24595 height "1in"
24596 height_special "totalheight"
24597 status open
24598
24599 \begin_layout Standard
24600
24601 \lang german
24602 Dies ist ein deutscher Text.
24603  Dies ist ein deutscher Text.
24604  Dies ist ein deutscher Text.
24605  Dies ist ein deutscher Text.
24606  Dies ist ein deutscher Text.
24607  Dies ist ein deutscher Text.
24608  Dies ist ein deutscher Text.
24609  Dies ist ein deutscher Text.
24610  Dies ist ein deutscher Text.
24611  Dies ist ein deutscher Text.
24612  Dies ist ein deutscher Text.
24613  Dies ist ein deutscher Text.
24614  Dies ist ein deutscher Text
24615 \begin_inset Foot
24616 status collapsed
24617
24618 \begin_layout Standard
24619
24620 \lang german
24621 Dies ist eine deutsche Fußnote.
24622 \end_layout
24623
24624 \end_inset
24625
24626 .
24627  Dies ist ein deutscher Text.
24628  Dies ist ein deutscher Text.
24629 \end_layout
24630
24631 \end_inset
24632
24633
24634 \hfill
24635
24636 \begin_inset Box Frameless
24637 position "t"
24638 hor_pos "c"
24639 has_inner_box 1
24640 inner_pos "c"
24641 use_parbox 0
24642 width "45col%"
24643 special "none"
24644 height "1in"
24645 height_special "totalheight"
24646 status open
24647
24648 \begin_layout Standard
24649 This is an English Text.
24650  This is an English Text.
24651  This is an English Text.
24652  This is an English Text.
24653  This is an English Text.
24654  This is an English Text.
24655  This is an English Text.
24656  This is an English Text.
24657  This is an English Text.
24658  This is an English Text.
24659  This is an English Text.
24660  This is an English Text.
24661  This is an English Text.
24662  This is an English Text.
24663  This is an English Text.
24664  This is an English Text.
24665 \begin_inset Foot
24666 status collapsed
24667
24668 \begin_layout Standard
24669 This is an English footnote.
24670 \end_layout
24671
24672 \end_inset
24673
24674  This is an English Text.
24675  
24676 \end_layout
24677
24678 \end_inset
24679
24680
24681 \end_layout
24682
24683 \begin_layout Standard
24684 \begin_inset VSpace bigskip
24685 \end_inset
24686
24687 Another application for minipages are footnotes within tables.
24688  Due to a LaTeX restriction footnotes within tables doesn't appear at the
24689  bottom of the current page.
24690  But when you put the table with the footnote to a minipage, the footnote
24691  will appear at its bottom, numbered with Latin letters.
24692  The footnote number is reset to 1 in every minipage but not outside the
24693  minipages.
24694 \end_layout
24695
24696 \begin_layout Standard
24697 The footnote of this table doesn't appear: 
24698 \begin_inset Tabular
24699 <lyxtabular version="3" rows="3" columns="4">
24700 <features>
24701 <column alignment="center" valignment="top" leftline="true" width="0pt">
24702 <column alignment="center" valignment="top" leftline="true" width="0pt">
24703 <column alignment="center" valignment="top" leftline="true" width="0pt">
24704 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
24705 <row topline="true">
24706 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24707 \begin_inset Text
24708
24709 \begin_layout Standard
24710 1
24711 \end_layout
24712
24713 \end_inset
24714 </cell>
24715 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24716 \begin_inset Text
24717
24718 \begin_layout Standard
24719 2
24720 \end_layout
24721
24722 \end_inset
24723 </cell>
24724 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24725 \begin_inset Text
24726
24727 \begin_layout Standard
24728 3
24729 \begin_inset Foot
24730 status collapsed
24731
24732 \begin_layout Standard
24733 This is a footnote within a table.
24734 \end_layout
24735
24736 \end_inset
24737
24738
24739 \end_layout
24740
24741 \end_inset
24742 </cell>
24743 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24744 \begin_inset Text
24745
24746 \begin_layout Standard
24747 4
24748 \end_layout
24749
24750 \end_inset
24751 </cell>
24752 </row>
24753 <row topline="true">
24754 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24755 \begin_inset Text
24756
24757 \begin_layout Standard
24758 a
24759 \end_layout
24760
24761 \end_inset
24762 </cell>
24763 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24764 \begin_inset Text
24765
24766 \begin_layout Standard
24767 b
24768 \end_layout
24769
24770 \end_inset
24771 </cell>
24772 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24773 \begin_inset Text
24774
24775 \begin_layout Standard
24776 c
24777 \end_layout
24778
24779 \end_inset
24780 </cell>
24781 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24782 \begin_inset Text
24783
24784 \begin_layout Standard
24785 d
24786 \end_layout
24787
24788 \end_inset
24789 </cell>
24790 </row>
24791 <row topline="true" bottomline="true">
24792 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24793 \begin_inset Text
24794
24795 \begin_layout Standard
24796 e
24797 \end_layout
24798
24799 \end_inset
24800 </cell>
24801 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24802 \begin_inset Text
24803
24804 \begin_layout Standard
24805 f
24806 \end_layout
24807
24808 \end_inset
24809 </cell>
24810 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24811 \begin_inset Text
24812
24813 \begin_layout Standard
24814 g
24815 \end_layout
24816
24817 \end_inset
24818 </cell>
24819 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24820 \begin_inset Text
24821
24822 \begin_layout Standard
24823 h
24824 \end_layout
24825
24826 \end_inset
24827 </cell>
24828 </row>
24829 </lyxtabular>
24830
24831 \end_inset
24832
24833
24834 \end_layout
24835
24836 \begin_layout Standard
24837 \align center
24838 \begin_inset Box Frameless
24839 position "t"
24840 hor_pos "c"
24841 has_inner_box 1
24842 inner_pos "c"
24843 use_parbox 0
24844 width "30col%"
24845 special "none"
24846 height "1in"
24847 height_special "totalheight"
24848 status open
24849
24850 \begin_layout Standard
24851 \align center
24852 \begin_inset Tabular
24853 <lyxtabular version="3" rows="3" columns="4">
24854 <features>
24855 <column alignment="center" valignment="top" leftline="true" width="0pt">
24856 <column alignment="center" valignment="top" leftline="true" width="0pt">
24857 <column alignment="center" valignment="top" leftline="true" width="0pt">
24858 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
24859 <row topline="true">
24860 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24861 \begin_inset Text
24862
24863 \begin_layout Standard
24864 1
24865 \end_layout
24866
24867 \end_inset
24868 </cell>
24869 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24870 \begin_inset Text
24871
24872 \begin_layout Standard
24873 2
24874 \end_layout
24875
24876 \end_inset
24877 </cell>
24878 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24879 \begin_inset Text
24880
24881 \begin_layout Standard
24882 3
24883 \begin_inset Foot
24884 status collapsed
24885
24886 \begin_layout Standard
24887 This is a footnote within a table.
24888 \end_layout
24889
24890 \end_inset
24891
24892
24893 \end_layout
24894
24895 \end_inset
24896 </cell>
24897 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24898 \begin_inset Text
24899
24900 \begin_layout Standard
24901 4
24902 \end_layout
24903
24904 \end_inset
24905 </cell>
24906 </row>
24907 <row topline="true">
24908 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24909 \begin_inset Text
24910
24911 \begin_layout Standard
24912 a
24913 \end_layout
24914
24915 \end_inset
24916 </cell>
24917 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24918 \begin_inset Text
24919
24920 \begin_layout Standard
24921 b
24922 \end_layout
24923
24924 \end_inset
24925 </cell>
24926 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24927 \begin_inset Text
24928
24929 \begin_layout Standard
24930 c
24931 \end_layout
24932
24933 \end_inset
24934 </cell>
24935 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24936 \begin_inset Text
24937
24938 \begin_layout Standard
24939 d
24940 \end_layout
24941
24942 \end_inset
24943 </cell>
24944 </row>
24945 <row topline="true" bottomline="true">
24946 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24947 \begin_inset Text
24948
24949 \begin_layout Standard
24950 e
24951 \end_layout
24952
24953 \end_inset
24954 </cell>
24955 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24956 \begin_inset Text
24957
24958 \begin_layout Standard
24959 f
24960 \end_layout
24961
24962 \end_inset
24963 </cell>
24964 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24965 \begin_inset Text
24966
24967 \begin_layout Standard
24968 g
24969 \end_layout
24970
24971 \end_inset
24972 </cell>
24973 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24974 \begin_inset Text
24975
24976 \begin_layout Standard
24977 h
24978 \end_layout
24979
24980 \end_inset
24981 </cell>
24982 </row>
24983 </lyxtabular>
24984
24985 \end_inset
24986
24987
24988 \end_layout
24989
24990 \end_inset
24991
24992
24993 \end_layout
24994
24995 \begin_layout Standard
24996 \begin_inset VSpace bigskip
24997 \end_inset
24998
24999 The document-wide paragraph settings are ignored within minipages.
25000  That means that there will be no space between paragraphs in minipages
25001  although you set it to e.\InsetSpace \thinspace{}
25002 g.\InsetSpace ~
25003
25004 \family sans
25005 MedSkip
25006 \family default
25007  in the document settings.
25008 \end_layout
25009
25010 \begin_layout Standard
25011 Minipages can also be used to set a background color for text parts, see
25012  section\InsetSpace ~
25013
25014 \begin_inset LatexCommand ref
25015 reference "sub:Color-for-Paragraphs"
25016
25017 \end_inset
25018
25019 .
25020 \end_layout
25021
25022 \begin_layout Standard
25023 \begin_inset Note Greyedout
25024 status open
25025
25026 \begin_layout Standard
25027
25028 \series bold
25029 Note:
25030 \series default
25031  You cannot have floats or margin notes inside minipages but minipages can
25032  be used inside tables, floats, and other boxes.
25033 \end_layout
25034
25035 \end_inset
25036
25037
25038 \end_layout
25039
25040 \begin_layout Section
25041 Parboxes
25042 \begin_inset LatexCommand label
25043 name "sec:Parboxes"
25044
25045 \end_inset
25046
25047
25048 \begin_inset LatexCommand index
25049 name "Boxes ! Parboxes"
25050
25051 \end_inset
25052
25053
25054 \end_layout
25055
25056 \begin_layout Standard
25057 Parboxes are very similar to minipages with the difference that they cannot
25058  have footnotes.
25059  The main difference to minipages is that minipages are in contrary to parboxes
25060  no real boxes but LaTeX-environments.
25061 \end_layout
25062
25063 \begin_layout Standard
25064 \align center
25065 \begin_inset Box Frameless
25066 position "t"
25067 hor_pos "c"
25068 has_inner_box 1
25069 inner_pos "t"
25070 use_parbox 1
25071 width "33col%"
25072 special "none"
25073 height "1in"
25074 height_special "totalheight"
25075 status collapsed
25076
25077 \begin_layout Standard
25078 This a text within a parbox.
25079  This a text within a parbox.
25080 \end_layout
25081
25082 \begin_layout Standard
25083 This footnote won't appear:
25084 \begin_inset Foot
25085 status collapsed
25086
25087 \begin_layout Standard
25088 This footnote is inside a parbox and will therefore not appear.
25089 \end_layout
25090
25091 \end_inset
25092
25093
25094 \end_layout
25095
25096 \end_inset
25097
25098
25099 \end_layout
25100
25101 \begin_layout Section
25102 Boxes for Words and Characters
25103 \begin_inset LatexCommand index
25104 name "Boxes ! for Characters"
25105
25106 \end_inset
25107
25108
25109 \end_layout
25110
25111 \begin_layout Subsection
25112 Prevent Hyphenation
25113 \begin_inset LatexCommand label
25114 name "sec:Prevent-Hyphenation"
25115
25116 \end_inset
25117
25118
25119 \begin_inset LatexCommand index
25120 name "Boxes ! to Prevent Hyphenation"
25121
25122 \end_inset
25123
25124
25125 \end_layout
25126
25127 \begin_layout Standard
25128 You can use a special kind of boxes to prevent words or text to be hyphenated.
25129 \newline
25130 Her
25131 e is an example text:
25132 \end_layout
25133
25134 \begin_layout Standard
25135 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25136 g.\InsetSpace ~
25137 veryver
25138 ylongwords.
25139 \end_layout
25140
25141 \begin_layout Standard
25142 To prevent the hyphenation of the word 
25143 \begin_inset Quotes eld
25144 \end_inset
25145
25146 veryverylongwords
25147 \begin_inset Quotes erd
25148 \end_inset
25149
25150 , add the command
25151 \end_layout
25152
25153 \begin_layout Standard
25154
25155 \series bold
25156
25157 \backslash
25158 mbox{
25159 \end_layout
25160
25161 \begin_layout Standard
25162 in ERT before the word.
25163  Behind the word insert a closing brace 
25164 \begin_inset Quotes eld
25165 \end_inset
25166
25167
25168 \series bold
25169 }
25170 \series default
25171
25172 \begin_inset Quotes erd
25173 \end_inset
25174
25175  in ERT.
25176 \begin_inset ERT
25177 status collapsed
25178
25179 \begin_layout Standard
25180
25181
25182 \backslash
25183 pagebreak 
25184 \end_layout
25185
25186 \end_inset
25187
25188
25189 \end_layout
25190
25191 \begin_layout Standard
25192 This is the result:
25193 \end_layout
25194
25195 \begin_layout Standard
25196 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25197 g.\InsetSpace ~
25198
25199 \begin_inset ERT
25200 status collapsed
25201
25202 \begin_layout Standard
25203
25204
25205 \backslash
25206 mbox{
25207 \end_layout
25208
25209 \end_inset
25210
25211 veryverylongwords.
25212 \begin_inset ERT
25213 status collapsed
25214
25215 \begin_layout Standard
25216
25217 }
25218 \end_layout
25219
25220 \end_inset
25221
25222
25223 \end_layout
25224
25225 \begin_layout Standard
25226 Of course the word now protrudes over the side margin.
25227  To avoid this, add via the menu 
25228 \family sans
25229 Insert\SpecialChar \menuseparator
25230 Special\InsetSpace ~
25231 Formatting\SpecialChar \menuseparator
25232 Line\InsetSpace ~
25233 Break
25234 \family default
25235  (shortcut 
25236 \series bold
25237 Ctrl-Return
25238 \series default
25239 ) a line break before the word:
25240 \end_layout
25241
25242 \begin_layout Standard
25243 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25244 g.\InsetSpace ~
25245
25246 \newline
25247
25248 \begin_inset ERT
25249 status collapsed
25250
25251 \begin_layout Standard
25252
25253
25254 \backslash
25255 mbox{
25256 \end_layout
25257
25258 \end_inset
25259
25260 veryverylongwords.
25261 \begin_inset ERT
25262 status collapsed
25263
25264 \begin_layout Standard
25265
25266 }
25267 \end_layout
25268
25269 \end_inset
25270
25271
25272 \end_layout
25273
25274 \begin_layout Subsection
25275 Vertical Alignment
25276 \begin_inset LatexCommand label
25277 name "sub:Vertical-Alignment"
25278
25279 \end_inset
25280
25281
25282 \begin_inset LatexCommand index
25283 name "Boxes ! for Vertical Alignment"
25284
25285 \end_inset
25286
25287
25288 \begin_inset LatexCommand index
25289 name "Boxes ! Raiseboxes"
25290
25291 \end_inset
25292
25293
25294 \end_layout
25295
25296 \begin_layout Standard
25297 With the help of the command 
25298 \series bold
25299
25300 \backslash
25301 raisebox
25302 \series default
25303  you can align words, characters or other boxes vertically to the surrounding
25304  text.
25305  
25306 \series bold
25307
25308 \backslash
25309 raisebox
25310 \series default
25311  is used with the following scheme:
25312 \end_layout
25313
25314 \begin_layout Standard
25315
25316 \series bold
25317
25318 \backslash
25319 raisebox{lift}[height][depth]{box content}
25320 \end_layout
25321
25322 \begin_layout Standard
25323 The lift can be a positive value to raise the box or a negative value to
25324  lower the box.
25325 \end_layout
25326
25327 \begin_layout Standard
25328 To align for example the word 
25329 \begin_inset Quotes eld
25330 \end_inset
25331
25332 preventing
25333 \begin_inset Quotes erd
25334 \end_inset
25335
25336  so that the bottom of the 
25337 \begin_inset Quotes eld
25338 \end_inset
25339
25340 deepest
25341 \begin_inset Quotes erd
25342 \end_inset
25343
25344  character 
25345 \begin_inset Quotes eld
25346 \end_inset
25347
25348 p
25349 \begin_inset Quotes erd
25350 \end_inset
25351
25352  is at the baseline, insert the command
25353 \end_layout
25354
25355 \begin_layout Standard
25356
25357 \series bold
25358
25359 \backslash
25360 raisebox{
25361 \backslash
25362 depth}{
25363 \end_layout
25364
25365 \begin_layout Standard
25366 in ERT before the word.
25367  Behind the word insert a closing brace 
25368 \begin_inset Quotes eld
25369 \end_inset
25370
25371
25372 \series bold
25373 }
25374 \series default
25375
25376 \begin_inset Quotes erd
25377 \end_inset
25378
25379  in ERT.
25380 \newline
25381 This is the result:
25382 \end_layout
25383
25384 \begin_layout Standard
25385 This is a text line with the word 
25386 \begin_inset ERT
25387 status collapsed
25388
25389 \begin_layout Standard
25390
25391
25392 \backslash
25393 raisebox{
25394 \backslash
25395 depth}{
25396 \end_layout
25397
25398 \end_inset
25399
25400
25401 \begin_inset Quotes eld
25402 \end_inset
25403
25404 preventing
25405 \begin_inset Quotes erd
25406 \end_inset
25407
25408
25409 \begin_inset ERT
25410 status collapsed
25411
25412 \begin_layout Standard
25413
25414 }
25415 \end_layout
25416
25417 \end_inset
25418
25419  as raised word.
25420 \end_layout
25421
25422 \begin_layout Standard
25423 \begin_inset VSpace bigskip
25424 \end_inset
25425
25426 When you raise or lower characters in a line, the line distance will be
25427  spread:
25428 \end_layout
25429
25430 \begin_layout Standard
25431 This is a text line with the word 
25432 \begin_inset ERT
25433 status collapsed
25434
25435 \begin_layout Standard
25436
25437
25438 \backslash
25439 raisebox{-
25440 \backslash
25441 depth}{
25442 \end_layout
25443
25444 \end_inset
25445
25446
25447 \begin_inset Quotes eld
25448 \end_inset
25449
25450 preventing
25451 \begin_inset Quotes erd
25452 \end_inset
25453
25454
25455 \begin_inset ERT
25456 status collapsed
25457
25458 \begin_layout Standard
25459
25460 }
25461 \end_layout
25462
25463 \end_inset
25464
25465  as lowered word.
25466 \newline
25467 This is a text line with the word 
25468 \begin_inset ERT
25469 status collapsed
25470
25471 \begin_layout Standard
25472
25473
25474 \backslash
25475 raisebox{0.5cm}{
25476 \end_layout
25477
25478 \end_inset
25479
25480
25481 \begin_inset Quotes eld
25482 \end_inset
25483
25484 testing
25485 \begin_inset Quotes erd
25486 \end_inset
25487
25488
25489 \begin_inset ERT
25490 status collapsed
25491
25492 \begin_layout Standard
25493
25494 }
25495 \end_layout
25496
25497 \end_inset
25498
25499  as raised word.
25500 \end_layout
25501
25502 \begin_layout Standard
25503 If you want to prevent this for a certain reason, set the box height to
25504  a zero value.
25505  For example use
25506 \end_layout
25507
25508 \begin_layout Standard
25509
25510 \series bold
25511
25512 \backslash
25513 raisebox{-
25514 \backslash
25515 depth}[0pt]{
25516 \end_layout
25517
25518 \begin_layout Standard
25519 This is a text line with the word 
25520 \begin_inset ERT
25521 status collapsed
25522
25523 \begin_layout Standard
25524
25525
25526 \backslash
25527 raisebox{-
25528 \backslash
25529 depth}[0pt]{
25530 \end_layout
25531
25532 \end_inset
25533
25534
25535 \begin_inset Quotes eld
25536 \end_inset
25537
25538 preventing
25539 \begin_inset Quotes erd
25540 \end_inset
25541
25542
25543 \begin_inset ERT
25544 status collapsed
25545
25546 \begin_layout Standard
25547
25548 }
25549 \end_layout
25550
25551 \end_inset
25552
25553  as lowered word.
25554 \newline
25555 This is a text line with the word 
25556 \begin_inset ERT
25557 status collapsed
25558
25559 \begin_layout Standard
25560
25561
25562 \backslash
25563 raisebox{0.5cm}[0pt]{
25564 \end_layout
25565
25566 \end_inset
25567
25568
25569 \begin_inset Quotes eld
25570 \end_inset
25571
25572 testing
25573 \begin_inset Quotes erd
25574 \end_inset
25575
25576
25577 \begin_inset ERT
25578 status collapsed
25579
25580 \begin_layout Standard
25581
25582 }
25583 \end_layout
25584
25585 \end_inset
25586
25587  as raised word.
25588 \end_layout
25589
25590 \begin_layout Section
25591 Colored Boxes
25592 \begin_inset LatexCommand label
25593 name "sec:Colored-Boxes"
25594
25595 \end_inset
25596
25597
25598 \begin_inset LatexCommand index
25599 name "Boxes ! Color"
25600
25601 \end_inset
25602
25603
25604 \end_layout
25605
25606 \begin_layout Subsection
25607 Color for Text
25608 \begin_inset LatexCommand index
25609 name "Color ! for Text"
25610
25611 \end_inset
25612
25613
25614 \end_layout
25615
25616 \begin_layout Standard
25617 To color the background of text the text must be put into a so called colorbox.
25618  This requires that the LaTeX-package 
25619 \series bold
25620 color
25621 \series default
25622
25623 \begin_inset LatexCommand index
25624 name "LaTeX-packages ! color"
25625
25626 \end_inset
25627
25628  is loaded in the document preamble with the command
25629 \end_layout
25630
25631 \begin_layout Standard
25632
25633 \series bold
25634
25635 \backslash
25636 @ifundef\SpecialChar \textcompwordmark{}
25637 ined{textcolor}
25638 \newline
25639
25640 \begin_inset ERT
25641 status collapsed
25642
25643 \begin_layout Standard
25644
25645
25646 \backslash
25647 hphantom{ }
25648 \end_layout
25649
25650 \end_inset
25651
25652 {
25653 \backslash
25654 usepackage{color}}{}
25655 \end_layout
25656
25657 \begin_layout Standard
25658 The package 
25659 \series bold
25660 color
25661 \series default
25662  will be loaded automatically by LyX when you color text
25663 \begin_inset Foot
25664 status collapsed
25665
25666 \begin_layout Standard
25667 To avoid that it is loaded twice the command 
25668 \series bold
25669
25670 \backslash
25671 @ifundef\SpecialChar \textcompwordmark{}
25672 ined
25673 \series default
25674  is used.
25675 \end_layout
25676
25677 \end_inset
25678
25679 .
25680 \end_layout
25681
25682 \begin_layout Standard
25683 \begin_inset VSpace medskip
25684 \end_inset
25685
25686 Colorboxes are created with the command 
25687 \series bold
25688
25689 \backslash
25690 colorbox
25691 \series default
25692 .
25693  This will be used with the following scheme:
25694 \end_layout
25695
25696 \begin_layout Standard
25697
25698 \series bold
25699
25700 \backslash
25701 colorbox{color}{box content}
25702 \end_layout
25703
25704 \begin_layout Standard
25705 The box content can also be a box and colorboxes can also be within other
25706  boxes.
25707 \end_layout
25708
25709 \begin_layout Standard
25710 The following colors are predefined:
25711 \newline
25712
25713 \family sans
25714 black
25715 \family default
25716
25717 \family sans
25718 blue
25719 \family default
25720
25721 \family sans
25722 cyan
25723 \family default
25724 \series bold
25725
25726 \family sans
25727 \series default
25728 green
25729 \family default
25730
25731 \family sans
25732 magenta
25733 \family default
25734
25735 \family sans
25736 red
25737 \family default
25738
25739 \family sans
25740 white
25741 \family default
25742 , and 
25743 \family sans
25744 yellow
25745 \family default
25746 .
25747 \newline
25748 You can also define your own color as described in section\InsetSpace ~
25749
25750 \begin_inset LatexCommand ref
25751 reference "sec:Colored-Tables"
25752
25753 \end_inset
25754
25755 .
25756 \end_layout
25757
25758 \begin_layout Standard
25759 To have e.\InsetSpace \thinspace{}
25760 g.\InsetSpace ~
25761 a red background for a word, insert the command
25762 \end_layout
25763
25764 \begin_layout Standard
25765
25766 \series bold
25767
25768 \backslash
25769 colorbox{red}{
25770 \end_layout
25771
25772 \begin_layout Standard
25773 before the word in ERT.
25774  Behind the word insert a closing brace 
25775 \begin_inset Quotes eld
25776 \end_inset
25777
25778
25779 \series bold
25780 }
25781 \series default
25782
25783 \begin_inset Quotes erd
25784 \end_inset
25785
25786  in ERT.
25787 \newline
25788 This is the result:
25789 \end_layout
25790
25791 \begin_layout Standard
25792 This is a line where the word 
25793 \begin_inset ERT
25794 status collapsed
25795
25796 \begin_layout Standard
25797
25798
25799 \backslash
25800 colorbox{red}{
25801 \end_layout
25802
25803 \end_inset
25804
25805
25806 \begin_inset Quotes eld
25807 \end_inset
25808
25809 Attention!
25810 \begin_inset Quotes erd
25811 \end_inset
25812
25813
25814 \begin_inset ERT
25815 status collapsed
25816
25817 \begin_layout Standard
25818
25819 }
25820 \end_layout
25821
25822 \end_inset
25823
25824  has a red background.
25825 \end_layout
25826
25827 \begin_layout Standard
25828 \begin_inset VSpace bigskip
25829 \end_inset
25830
25831 If you would have the box frame in a different color, you can use the command
25832  
25833 \series bold
25834
25835 \backslash
25836 fcolorbox
25837 \series default
25838  with the following scheme:
25839 \end_layout
25840
25841 \begin_layout Standard
25842
25843 \series bold
25844
25845 \backslash
25846 fcolorbox{frame color}{box color}{box content}
25847 \end_layout
25848
25849 \begin_layout Standard
25850
25851 \series bold
25852
25853 \backslash
25854 fcolorbox
25855 \series default
25856  is an extension to 
25857 \series bold
25858
25859 \backslash
25860 colorbox
25861 \series default
25862 .
25863  The frame thickness and the space between the frame and the box content
25864  can be adjusted with the lengths 
25865 \series bold
25866
25867 \backslash
25868 fboxrule
25869 \series default
25870  and 
25871 \series bold
25872
25873 \backslash
25874 fboxsep
25875 \series default
25876 , respectively, as described in section\InsetSpace ~
25877
25878 \begin_inset LatexCommand ref
25879 reference "sec:Framed-Boxes"
25880
25881 \end_inset
25882
25883 .
25884 \end_layout
25885
25886 \begin_layout Standard
25887 For the following example the command
25888 \end_layout
25889
25890 \begin_layout Standard
25891
25892 \series bold
25893
25894 \backslash
25895 fcolorbox{cyan}{magenta}{
25896 \end_layout
25897
25898 \begin_layout Standard
25899 was used.
25900 \end_layout
25901
25902 \begin_layout Standard
25903 Here is an example where the frame line thickness was set to 1\InsetSpace \thinspace{}
25904 mm:
25905 \newline
25906
25907 \begin_inset ERT
25908 status collapsed
25909
25910 \begin_layout Standard
25911
25912
25913 \backslash
25914 fboxrule 1mm 
25915 \backslash
25916 fboxsep 1mm
25917 \end_layout
25918
25919 \end_inset
25920
25921
25922 \begin_inset ERT
25923 status collapsed
25924
25925 \begin_layout Standard
25926
25927
25928 \backslash
25929 fcolorbox{cyan}{magenta}{
25930 \end_layout
25931
25932 \end_inset
25933
25934 This is text within a colored, framed box.
25935 \begin_inset ERT
25936 status collapsed
25937
25938 \begin_layout Standard
25939
25940 }
25941 \end_layout
25942
25943 \end_inset
25944
25945
25946 \end_layout
25947
25948 \begin_layout Standard
25949 \begin_inset VSpace bigskip
25950 \end_inset
25951
25952 Of course you can also have colored text inside a colorbox:
25953 \newline
25954
25955 \begin_inset ERT
25956 status collapsed
25957
25958 \begin_layout Standard
25959
25960
25961 \backslash
25962 fcolorbox{cyan}{magenta}{
25963 \end_layout
25964
25965 \end_inset
25966
25967
25968 \color yellow
25969 This is colored text within a colored, framed box.
25970 \color none
25971
25972 \begin_inset ERT
25973 status collapsed
25974
25975 \begin_layout Standard
25976
25977 }
25978 \end_layout
25979
25980 \end_inset
25981
25982
25983 \begin_inset ERT
25984 status collapsed
25985
25986 \begin_layout Standard
25987
25988
25989 \backslash
25990 fboxrule 0.4pt 
25991 \backslash
25992 fboxsep 3pt
25993 \end_layout
25994
25995 \end_inset
25996
25997
25998 \end_layout
25999
26000 \begin_layout Standard
26001
26002 \series bold
26003 \begin_inset VSpace medskip
26004 \end_inset
26005
26006
26007 \end_layout
26008
26009 \begin_layout Standard
26010 \begin_inset Note Greyedout
26011 status open
26012
26013 \begin_layout Standard
26014
26015 \series bold
26016 Note:
26017 \series default
26018  Text in colorboxes cannot have line breaks.
26019  To color multiple text lines or paragraphs, use a box inside a colorbox
26020  as described in the following.
26021 \end_layout
26022
26023 \end_inset
26024
26025
26026 \end_layout
26027
26028 \begin_layout Subsection
26029 Color for Paragraphs
26030 \begin_inset LatexCommand label
26031 name "sub:Color-for-Paragraphs"
26032
26033 \end_inset
26034
26035
26036 \begin_inset LatexCommand index
26037 name "Color ! for Paragraphs"
26038
26039 \end_inset
26040
26041
26042 \end_layout
26043
26044 \begin_layout Standard
26045 To set the background color for more than one text line, put the text into
26046  a minipage.
26047  Before the minipage insert the 
26048 \series bold
26049
26050 \backslash
26051 colorbox
26052 \series default
26053  command
26054 \end_layout
26055
26056 \begin_layout Standard
26057
26058 \series bold
26059
26060 \backslash
26061 colorbox{color}{
26062 \end_layout
26063
26064 \begin_layout Standard
26065 in ERT.
26066  Behind the minipage insert a closing brace 
26067 \begin_inset Quotes eld
26068 \end_inset
26069
26070
26071 \series bold
26072 }
26073 \series default
26074
26075 \begin_inset Quotes erd
26076 \end_inset
26077
26078  in ERT.
26079 \end_layout
26080
26081 \begin_layout Standard
26082 \begin_inset ERT
26083 status collapsed
26084
26085 \begin_layout Standard
26086
26087
26088 \backslash
26089 colorbox{lightgrey}{
26090 \end_layout
26091
26092 \end_inset
26093
26094
26095 \begin_inset Box Frameless
26096 position "t"
26097 hor_pos "c"
26098 has_inner_box 1
26099 inner_pos "t"
26100 use_parbox 0
26101 width "100col%"
26102 special "none"
26103 height "1in"
26104 height_special "totalheight"
26105 status collapsed
26106
26107 \begin_layout Standard
26108 This is text with background color.
26109  This is text with background color.
26110 \end_layout
26111
26112 \begin_layout Standard
26113 \begin_inset VSpace defskip
26114 \end_inset
26115
26116 The text can have footnotes
26117 \begin_inset Foot
26118 status collapsed
26119
26120 \begin_layout Standard
26121 Another example footnote
26122 \end_layout
26123
26124 \end_inset
26125
26126  and can include tables and figures.
26127 \end_layout
26128
26129 \begin_layout Standard
26130 \align center
26131 \begin_inset Tabular
26132 <lyxtabular version="3" rows="3" columns="3">
26133 <features>
26134 <column alignment="center" valignment="top" leftline="true" width="0">
26135 <column alignment="center" valignment="top" leftline="true" width="0">
26136 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26137 <row topline="true">
26138 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26139 \begin_inset Text
26140
26141 \begin_layout Standard
26142 a
26143 \end_layout
26144
26145 \end_inset
26146 </cell>
26147 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26148 \begin_inset Text
26149
26150 \begin_layout Standard
26151 !
26152 \end_layout
26153
26154 \end_inset
26155 </cell>
26156 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26157 \begin_inset Text
26158
26159 \begin_layout Standard
26160 3
26161 \end_layout
26162
26163 \end_inset
26164 </cell>
26165 </row>
26166 <row topline="true">
26167 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26168 \begin_inset Text
26169
26170 \begin_layout Standard
26171 <
26172 \end_layout
26173
26174 \end_inset
26175 </cell>
26176 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26177 \begin_inset Text
26178
26179 \begin_layout Standard
26180 b2
26181 \begin_inset Quotes erd
26182 \end_inset
26183
26184 |
26185 \end_layout
26186
26187 \end_inset
26188 </cell>
26189 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26190 \begin_inset Text
26191
26192 \begin_layout Standard
26193 >
26194 \end_layout
26195
26196 \end_inset
26197 </cell>
26198 </row>
26199 <row topline="true" bottomline="true">
26200 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26201 \begin_inset Text
26202
26203 \begin_layout Standard
26204 1
26205 \end_layout
26206
26207 \end_inset
26208 </cell>
26209 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26210 \begin_inset Text
26211
26212 \begin_layout Standard
26213 §
26214 \end_layout
26215
26216 \end_inset
26217 </cell>
26218 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26219 \begin_inset Text
26220
26221 \begin_layout Standard
26222 c
26223 \end_layout
26224
26225 \end_inset
26226 </cell>
26227 </row>
26228 </lyxtabular>
26229
26230 \end_inset
26231
26232
26233 \end_layout
26234
26235 \end_inset
26236
26237
26238 \begin_inset ERT
26239 status collapsed
26240
26241 \begin_layout Standard
26242
26243 }
26244 \end_layout
26245
26246 \end_inset
26247
26248
26249 \end_layout
26250
26251 \begin_layout Section
26252 URLs (Uniform Resource Locators)
26253 \begin_inset LatexCommand index
26254 name "URLs"
26255
26256 \end_inset
26257
26258
26259 \end_layout
26260
26261 \begin_layout Standard
26262 Links to web pages or email addresses can be inserted via the menu 
26263 \family sans
26264 Insert\SpecialChar \menuseparator
26265 URL
26266 \family default
26267 .
26268  The appearing URL dialog has two fields; the 
26269 \family sans
26270 URL
26271 \family default
26272  field and the 
26273 \family sans
26274 Name
26275 \family default
26276  field for the URL description, which will be typeset as plain text immediately
26277  before the URL.
26278 \end_layout
26279
26280 \begin_layout Standard
26281 Here is an example URL: 
26282 \begin_inset LatexCommand url
26283 name "LyX's homepage"
26284 target "http://www.lyx.org"
26285
26286 \end_inset
26287
26288
26289 \end_layout
26290
26291 \begin_layout Standard
26292 The option 
26293 \family sans
26294 Generate\InsetSpace ~
26295 hyperlink
26296 \family default
26297  in the URL dialog has only an affect when you export your document to the
26298  format 
26299 \begin_inset Quotes eld
26300 \end_inset
26301
26302
26303 \family sans
26304 LinuxDoc
26305 \family default
26306
26307 \begin_inset Quotes erd
26308 \end_inset
26309
26310 .
26311 \end_layout
26312
26313 \begin_layout Standard
26314 You cannot change the style of the link text.
26315  The text of the 
26316 \family sans
26317 Name
26318 \family default
26319  field will have the default text style of the document while the text of
26320  the 
26321 \family sans
26322 URL
26323 \family default
26324  field will have the style 
26325 \begin_inset Quotes eld
26326 \end_inset
26327
26328
26329 \family sans
26330 Typewriter
26331 \family default
26332
26333 \begin_inset Quotes erd
26334 \end_inset
26335
26336 .
26337 \end_layout
26338
26339 \begin_layout Standard
26340 When you use the LaTeX-package 
26341 \series bold
26342 hyperref
26343 \series default
26344
26345 \begin_inset LatexCommand index
26346 name "LaTeX-packages ! hyperref"
26347
26348 \end_inset
26349
26350  to link cross-references in the output, URLs will automatically become
26351  clickable hyperlinks in DVI and PDF-output.
26352 \end_layout
26353
26354 \begin_layout Standard
26355 \begin_inset Note Greyedout
26356 status open
26357
26358 \begin_layout Standard
26359
26360 \series bold
26361 Note: 
26362 \series default
26363 When you use the following characters: "%", "#", "^", you have to write
26364  them with a preceding backslash, e.\InsetSpace \thinspace{}
26365 g.\InsetSpace ~
26366
26367 \begin_inset Quotes eld
26368 \end_inset
26369
26370
26371 \backslash
26372 #
26373 \begin_inset Quotes erd
26374 \end_inset
26375
26376 .
26377  URLs must not end with a backslash.
26378 \end_layout
26379
26380 \end_inset
26381
26382
26383 \end_layout
26384
26385 \begin_layout Standard
26386 \begin_inset VSpace bigskip
26387 \end_inset
26388
26389 To create real hyperlinks without the force to write the link location to
26390  the text, you can use the command
26391 \end_layout
26392
26393 \begin_layout Standard
26394
26395 \series bold
26396
26397 \backslash
26398 href{link location}{link text}
26399 \end_layout
26400
26401 \begin_layout Standard
26402 in ERT.
26403  To get for example a link to LyX's web page, write the command
26404 \end_layout
26405
26406 \begin_layout Standard
26407
26408 \series bold
26409
26410 \backslash
26411 href{http://www.lyx.org}{
26412 \end_layout
26413
26414 \begin_layout Standard
26415 in ERT.
26416  Insert after the command the link text 
26417 \begin_inset Quotes eld
26418 \end_inset
26419
26420 LyX's homepage
26421 \begin_inset Quotes erd
26422 \end_inset
26423
26424  as normal text followed by a closing brace 
26425 \begin_inset Quotes eld
26426 \end_inset
26427
26428
26429 \series bold
26430 }
26431 \series default
26432
26433 \begin_inset Quotes erd
26434 \end_inset
26435
26436  in ERT.
26437  This is the result: 
26438 \begin_inset ERT
26439 status collapsed
26440
26441 \begin_layout Standard
26442
26443
26444 \backslash
26445 href{http://www.lyx.org}{
26446 \end_layout
26447
26448 \end_inset
26449
26450 LyX's homepage
26451 \begin_inset ERT
26452 status collapsed
26453
26454 \begin_layout Standard
26455
26456 }
26457 \end_layout
26458
26459 \end_inset
26460
26461
26462 \end_layout
26463
26464 \begin_layout Standard
26465 To link to email addresses, add the prefix 
26466 \begin_inset Quotes eld
26467 \end_inset
26468
26469
26470 \family sans
26471 mailto:
26472 \family default
26473
26474 \begin_inset Quotes erd
26475 \end_inset
26476
26477  to the link location:
26478 \newline
26479 Email to 
26480 \begin_inset ERT
26481 status collapsed
26482
26483 \begin_layout Standard
26484
26485
26486 \backslash
26487 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's documentation}{
26488 \end_layout
26489
26490 \end_inset
26491
26492 lyx-docs mailing list
26493 \begin_inset ERT
26494 status collapsed
26495
26496 \begin_layout Standard
26497
26498 }
26499 \end_layout
26500
26501 \end_inset
26502
26503 .
26504 \end_layout
26505
26506 \begin_layout Standard
26507 Using 
26508 \series bold
26509
26510 \backslash
26511 href
26512 \series default
26513  instead of LyX's URL box has the advantage that you can specify the text
26514  style of the link text like for all other text parts.
26515  You can therefore set hyphenation points and forced linebreaks to have
26516  long link text broken at the page margin.
26517  You are furthermore able to change the text style for all URLs in your
26518  document with an option in 
26519 \series bold
26520 hyperref
26521 \series default
26522 's load command and the restrictions mentioned above doesn't apply for 
26523 \series bold
26524
26525 \backslash
26526 href
26527 \series default
26528 .
26529 \end_layout
26530
26531 \begin_layout Standard
26532
26533 \newpage
26534
26535 \end_layout
26536
26537 \begin_layout Chapter
26538 \start_of_appendix
26539 Units available in 
26540 \begin_inset ERT
26541 status collapsed
26542
26543 \begin_layout Standard
26544
26545
26546 \backslash
26547 texorpdfstring{
26548 \end_layout
26549
26550 \end_inset
26551
26552 LyX
26553 \begin_inset ERT
26554 status collapsed
26555
26556 \begin_layout Standard
26557
26558 }{LyX}
26559 \end_layout
26560
26561 \end_inset
26562
26563
26564 \begin_inset LatexCommand index
26565 name "Units"
26566
26567 \end_inset
26568
26569
26570 \begin_inset LatexCommand label
26571 name "cha:Units-available-in"
26572
26573 \end_inset
26574
26575
26576 \begin_inset Note Note
26577 status collapsed
26578
26579 \begin_layout Standard
26580 The command 
26581 \backslash
26582 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
26583  are displayed wrongly in PDF-bookmarks.
26584  For more information about this, have a look at 
26585 \begin_inset LatexCommand cite
26586 key "hyperref"
26587
26588 \end_inset
26589
26590 .
26591 \end_layout
26592
26593 \end_inset
26594
26595
26596 \end_layout
26597
26598 \begin_layout Standard
26599 To understand the units described in this documentation, Table\InsetSpace ~
26600
26601 \begin_inset LatexCommand ref
26602 reference "tab:Units"
26603
26604 \end_inset
26605
26606  explains all units available in LyX.
26607 \end_layout
26608
26609 \begin_layout Standard
26610 \begin_inset Float table
26611 placement h
26612 wide false
26613 sideways false
26614 status open
26615
26616 \begin_layout Standard
26617 \begin_inset Caption
26618
26619 \begin_layout Standard
26620 \begin_inset LatexCommand label
26621 name "tab:Units"
26622
26623 \end_inset
26624
26625 Units
26626 \end_layout
26627
26628 \end_inset
26629
26630
26631 \end_layout
26632
26633 \begin_layout Standard
26634 \begin_inset VSpace medskip
26635 \end_inset
26636
26637
26638 \end_layout
26639
26640 \begin_layout Standard
26641 \align center
26642 \begin_inset Tabular
26643 <lyxtabular version="3" rows="20" columns="2">
26644 <features>
26645 <column alignment="center" valignment="top" leftline="true" width="0">
26646 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26647 <row topline="true" bottomline="true">
26648 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26649 \begin_inset Text
26650
26651 \begin_layout Standard
26652 unit
26653 \end_layout
26654
26655 \end_inset
26656 </cell>
26657 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26658 \begin_inset Text
26659
26660 \begin_layout Standard
26661 name/description
26662 \end_layout
26663
26664 \end_inset
26665 </cell>
26666 </row>
26667 <row topline="true">
26668 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26669 \begin_inset Text
26670
26671 \begin_layout Standard
26672 mm
26673 \end_layout
26674
26675 \end_inset
26676 </cell>
26677 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26678 \begin_inset Text
26679
26680 \begin_layout Standard
26681 millimeter
26682 \end_layout
26683
26684 \end_inset
26685 </cell>
26686 </row>
26687 <row topline="true">
26688 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26689 \begin_inset Text
26690
26691 \begin_layout Standard
26692 cm
26693 \end_layout
26694
26695 \end_inset
26696 </cell>
26697 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26698 \begin_inset Text
26699
26700 \begin_layout Standard
26701 centimeter
26702 \end_layout
26703
26704 \end_inset
26705 </cell>
26706 </row>
26707 <row topline="true">
26708 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26709 \begin_inset Text
26710
26711 \begin_layout Standard
26712 in
26713 \end_layout
26714
26715 \end_inset
26716 </cell>
26717 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26718 \begin_inset Text
26719
26720 \begin_layout Standard
26721 inch
26722 \end_layout
26723
26724 \end_inset
26725 </cell>
26726 </row>
26727 <row topline="true">
26728 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26729 \begin_inset Text
26730
26731 \begin_layout Standard
26732 pt
26733 \end_layout
26734
26735 \end_inset
26736 </cell>
26737 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26738 \begin_inset Text
26739
26740 \begin_layout Standard
26741 point (72.27\InsetSpace \thinspace{}
26742 pt = 1\InsetSpace \thinspace{}
26743 in)
26744 \end_layout
26745
26746 \end_inset
26747 </cell>
26748 </row>
26749 <row topline="true">
26750 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26751 \begin_inset Text
26752
26753 \begin_layout Standard
26754 pc
26755 \end_layout
26756
26757 \end_inset
26758 </cell>
26759 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26760 \begin_inset Text
26761
26762 \begin_layout Standard
26763 pica (1\InsetSpace \thinspace{}
26764 pc = 12\InsetSpace \thinspace{}
26765 pt)
26766 \end_layout
26767
26768 \end_inset
26769 </cell>
26770 </row>
26771 <row topline="true">
26772 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26773 \begin_inset Text
26774
26775 \begin_layout Standard
26776 sp
26777 \end_layout
26778
26779 \end_inset
26780 </cell>
26781 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26782 \begin_inset Text
26783
26784 \begin_layout Standard
26785 scaled point (65536\InsetSpace \thinspace{}
26786 sp = 1\InsetSpace \thinspace{}
26787 pt)
26788 \end_layout
26789
26790 \end_inset
26791 </cell>
26792 </row>
26793 <row topline="true">
26794 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26795 \begin_inset Text
26796
26797 \begin_layout Standard
26798 bp
26799 \end_layout
26800
26801 \end_inset
26802 </cell>
26803 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26804 \begin_inset Text
26805
26806 \begin_layout Standard
26807 big point (72\InsetSpace \thinspace{}
26808 bp = 1\InsetSpace \thinspace{}
26809 in)
26810 \end_layout
26811
26812 \end_inset
26813 </cell>
26814 </row>
26815 <row topline="true">
26816 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26817 \begin_inset Text
26818
26819 \begin_layout Standard
26820 dd
26821 \end_layout
26822
26823 \end_inset
26824 </cell>
26825 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26826 \begin_inset Text
26827
26828 \begin_layout Standard
26829 didot (72\InsetSpace \thinspace{}
26830 dd 
26831 \begin_inset Formula $\approx$
26832 \end_inset
26833
26834  37.6\InsetSpace \thinspace{}
26835 mm)
26836 \end_layout
26837
26838 \end_inset
26839 </cell>
26840 </row>
26841 <row topline="true">
26842 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26843 \begin_inset Text
26844
26845 \begin_layout Standard
26846 cc
26847 \end_layout
26848
26849 \end_inset
26850 </cell>
26851 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26852 \begin_inset Text
26853
26854 \begin_layout Standard
26855 cicero (1\InsetSpace \thinspace{}
26856 cc = 12\InsetSpace \thinspace{}
26857 dd)
26858 \end_layout
26859
26860 \end_inset
26861 </cell>
26862 </row>
26863 <row topline="true">
26864 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26865 \begin_inset Text
26866
26867 \begin_layout Standard
26868 Scale%
26869 \end_layout
26870
26871 \end_inset
26872 </cell>
26873 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26874 \begin_inset Text
26875
26876 \begin_layout Standard
26877 % of original image width
26878 \end_layout
26879
26880 \end_inset
26881 </cell>
26882 </row>
26883 <row topline="true">
26884 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26885 \begin_inset Text
26886
26887 \begin_layout Standard
26888 text%
26889 \end_layout
26890
26891 \end_inset
26892 </cell>
26893 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26894 \begin_inset Text
26895
26896 \begin_layout Standard
26897 % of text width
26898 \end_layout
26899
26900 \end_inset
26901 </cell>
26902 </row>
26903 <row topline="true">
26904 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26905 \begin_inset Text
26906
26907 \begin_layout Standard
26908 col%
26909 \end_layout
26910
26911 \end_inset
26912 </cell>
26913 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26914 \begin_inset Text
26915
26916 \begin_layout Standard
26917 % of column width
26918 \end_layout
26919
26920 \end_inset
26921 </cell>
26922 </row>
26923 <row topline="true">
26924 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26925 \begin_inset Text
26926
26927 \begin_layout Standard
26928 page%
26929 \end_layout
26930
26931 \end_inset
26932 </cell>
26933 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26934 \begin_inset Text
26935
26936 \begin_layout Standard
26937 % of paper width
26938 \end_layout
26939
26940 \end_inset
26941 </cell>
26942 </row>
26943 <row topline="true">
26944 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26945 \begin_inset Text
26946
26947 \begin_layout Standard
26948 line%
26949 \end_layout
26950
26951 \end_inset
26952 </cell>
26953 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26954 \begin_inset Text
26955
26956 \begin_layout Standard
26957 % of line width
26958 \end_layout
26959
26960 \end_inset
26961 </cell>
26962 </row>
26963 <row topline="true">
26964 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26965 \begin_inset Text
26966
26967 \begin_layout Standard
26968 theight%
26969 \end_layout
26970
26971 \end_inset
26972 </cell>
26973 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26974 \begin_inset Text
26975
26976 \begin_layout Standard
26977 % of text height
26978 \end_layout
26979
26980 \end_inset
26981 </cell>
26982 </row>
26983 <row topline="true">
26984 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26985 \begin_inset Text
26986
26987 \begin_layout Standard
26988 pheight%
26989 \end_layout
26990
26991 \end_inset
26992 </cell>
26993 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26994 \begin_inset Text
26995
26996 \begin_layout Standard
26997 % of paper height
26998 \end_layout
26999
27000 \end_inset
27001 </cell>
27002 </row>
27003 <row topline="true">
27004 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27005 \begin_inset Text
27006
27007 \begin_layout Standard
27008 ex
27009 \end_layout
27010
27011 \end_inset
27012 </cell>
27013 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27014 \begin_inset Text
27015
27016 \begin_layout Standard
27017 height of letter 
27018 \emph on
27019 x
27020 \emph default
27021  in current font
27022 \end_layout
27023
27024 \end_inset
27025 </cell>
27026 </row>
27027 <row topline="true">
27028 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27029 \begin_inset Text
27030
27031 \begin_layout Standard
27032 em
27033 \end_layout
27034
27035 \end_inset
27036 </cell>
27037 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27038 \begin_inset Text
27039
27040 \begin_layout Standard
27041 width of letter 
27042 \emph on
27043 M
27044 \emph default
27045  in current font
27046 \end_layout
27047
27048 \end_inset
27049 </cell>
27050 </row>
27051 <row topline="true" bottomline="true">
27052 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27053 \begin_inset Text
27054
27055 \begin_layout Standard
27056 mu
27057 \end_layout
27058
27059 \end_inset
27060 </cell>
27061 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27062 \begin_inset Text
27063
27064 \begin_layout Standard
27065 math unit (1\InsetSpace \thinspace{}
27066 mu = 1/18\InsetSpace \thinspace{}
27067 em)
27068 \end_layout
27069
27070 \end_inset
27071 </cell>
27072 </row>
27073 </lyxtabular>
27074
27075 \end_inset
27076
27077
27078 \end_layout
27079
27080 \end_inset
27081
27082
27083 \end_layout
27084
27085 \begin_layout Chapter
27086 Output File Formats with Graphics
27087 \begin_inset LatexCommand label
27088 name "cha:Output-File-Formats"
27089
27090 \end_inset
27091
27092
27093 \end_layout
27094
27095 \begin_layout Section
27096 DVI
27097 \begin_inset LatexCommand index
27098 name "File Formats ! DVI"
27099
27100 \end_inset
27101
27102
27103 \begin_inset LatexCommand index
27104 name "DVI|see{File Formats}"
27105
27106 \end_inset
27107
27108
27109 \end_layout
27110
27111 \begin_layout Standard
27112 This file type has the extension 
27113 \begin_inset Quotes eld
27114 \end_inset
27115
27116
27117 \family typewriter
27118 .dvi
27119 \family default
27120
27121 \begin_inset Quotes erd
27122 \end_inset
27123
27124 .
27125  It is called 
27126 \begin_inset Quotes eld
27127 \end_inset
27128
27129 device-independent
27130 \begin_inset Quotes erd
27131 \end_inset
27132
27133  (DVI), because it is completely portable; you can move them from one machine
27134  to another without needing to do any sort of conversion.
27135  At the time when this file-format was developed, this was no matter of
27136  course.
27137  DVIs are used for quick previews and as pre-stage for other output formats,
27138  like PostScript.
27139 \end_layout
27140
27141 \begin_layout Standard
27142 \begin_inset Note Greyedout
27143 status open
27144
27145 \begin_layout Standard
27146
27147 \series bold
27148 Note:
27149 \series default
27150  DVI-files doesn't contain images, they will only be a linked.
27151 \end_layout
27152
27153 \end_inset
27154
27155  So don't forget this, if you move your 
27156 \family typewriter
27157 .dvi
27158 \family default
27159  file to another computer.
27160  This property can also slow down your computer when you view the DVI.
27161  Because the DVI-viewer has to convert the image in the background to make
27162  it visible when you scroll in the DVI.
27163  So we recommend to use PDF for files with many images.
27164 \end_layout
27165
27166 \begin_layout Standard
27167 You can export your document to DVI by using the menu 
27168 \family sans
27169 File\SpecialChar \menuseparator
27170 Export\SpecialChar \menuseparator
27171 DVI
27172 \family default
27173 .
27174  You can view your document as PostScript via the 
27175 \family sans
27176 View
27177 \family default
27178  menu or by using the toolbar button 
27179 \begin_inset Graphics
27180         filename ../images/buffer-view_dvi.xpm
27181         scale 85
27182
27183 \end_inset
27184
27185 .
27186 \end_layout
27187
27188 \begin_layout Section
27189 PostScript
27190 \begin_inset LatexCommand label
27191 name "sec:PostScript"
27192
27193 \end_inset
27194
27195
27196 \begin_inset LatexCommand index
27197 name "File Formats ! PostScript\\protect\\pagebreak"
27198
27199 \end_inset
27200
27201
27202 \begin_inset LatexCommand index
27203 name "PostScript|see{File Formats}"
27204
27205 \end_inset
27206
27207
27208 \end_layout
27209
27210 \begin_layout Standard
27211 This file type has the extension 
27212 \begin_inset Quotes eld
27213 \end_inset
27214
27215
27216 \family typewriter
27217 .ps
27218 \family default
27219
27220 \begin_inset Quotes erd
27221 \end_inset
27222
27223 .
27224  PostScript was developed by the company 
27225 \family typewriter
27226 Adobe
27227 \family default
27228  as printer language.
27229  The file contains therefore commands that the printer uses to print the
27230  file.
27231  PostScript can be seen as 
27232 \begin_inset Quotes eld
27233 \end_inset
27234
27235 programming language
27236 \begin_inset Quotes erd
27237 \end_inset
27238
27239 ; you can calculate with it and draw diagrams and images
27240 \begin_inset Foot
27241 status collapsed
27242
27243 \begin_layout Standard
27244 If you are interested to learn more about this, have a look at the LaTeX-package
27245  
27246 \series bold
27247 PSTricks
27248 \series default
27249  
27250 \begin_inset LatexCommand cite
27251 key "pstricks"
27252
27253 \end_inset
27254
27255 .
27256 \end_layout
27257
27258 \end_inset
27259
27260 .
27261  Due to this ability, the files are often bigger than PDFs.
27262 \end_layout
27263
27264 \begin_layout Standard
27265 PostScript can only contain images in the format 
27266 \begin_inset Quotes eld
27267 \end_inset
27268
27269 Encapsulated PostScript
27270 \begin_inset Quotes erd
27271 \end_inset
27272
27273  (EPS, file extension 
27274 \begin_inset Quotes eld
27275 \end_inset
27276
27277
27278 \family typewriter
27279 .eps
27280 \family default
27281
27282 \begin_inset Quotes erd
27283 \end_inset
27284
27285 ).
27286  As LyX allows you to use any known image format in your document, it has
27287  to convert images in the background to EPS.
27288  If you have e.g 50 images in your document, LyX has to do 50 conversions
27289  whenever you view or export your document.
27290  This will slow down your work flow with LyX drastically.
27291  So if you plan to use PostScript, you can insert your images directly as
27292  EPS to avoid this problem.
27293 \end_layout
27294
27295 \begin_layout Standard
27296 You can export your document to PostScript using the menu 
27297 \family sans
27298 File\SpecialChar \menuseparator
27299 Export\SpecialChar \menuseparator
27300 Postscript
27301 \family default
27302 .
27303  You can view your document as PostScript via the 
27304 \family sans
27305 View
27306 \family default
27307  menu or by using the toolbar button 
27308 \begin_inset Graphics
27309         filename ../images/buffer-view_ps.xpm
27310         scale 85
27311
27312 \end_inset
27313
27314 .
27315 \end_layout
27316
27317 \begin_layout Section
27318 PDF
27319 \begin_inset LatexCommand label
27320 name "sec:PDF"
27321
27322 \end_inset
27323
27324
27325 \begin_inset LatexCommand index
27326 name "File Formats ! PDF"
27327
27328 \end_inset
27329
27330
27331 \begin_inset LatexCommand index
27332 name "PDF"
27333
27334 \end_inset
27335
27336
27337 \end_layout
27338
27339 \begin_layout Standard
27340 This file type has the extension 
27341 \begin_inset Quotes eld
27342 \end_inset
27343
27344
27345 \family typewriter
27346 .pdf
27347 \family default
27348
27349 \begin_inset Quotes erd
27350 \end_inset
27351
27352 .
27353  The 
27354 \begin_inset Quotes eld
27355 \end_inset
27356
27357 Portable Document Format
27358 \begin_inset Quotes erd
27359 \end_inset
27360
27361  (PDF) is developed by 
27362 \family typewriter
27363 Adobe
27364 \family default
27365  as derivative from PostScript.
27366  It is more compressed and it uses much less commands than PostScript.
27367  As the name 
27368 \begin_inset Quotes eld
27369 \end_inset
27370
27371 portable
27372 \begin_inset Quotes erd
27373 \end_inset
27374
27375  implies, it can be processed at any computer system and the printed output
27376  looks exactly the same.
27377 \end_layout
27378
27379 \begin_layout Standard
27380 PDF can contain images in its own PDF format, in the format 
27381 \begin_inset Quotes eld
27382 \end_inset
27383
27384 Joint Photographic Experts Group
27385 \begin_inset Quotes erd
27386 \end_inset
27387
27388  (JPG, file extension 
27389 \begin_inset Quotes eld
27390 \end_inset
27391
27392
27393 \family typewriter
27394 .jpg
27395 \family default
27396
27397 \begin_inset Quotes erd
27398 \end_inset
27399
27400  or 
27401 \begin_inset Quotes eld
27402 \end_inset
27403
27404
27405 \family typewriter
27406 .jpeg
27407 \family default
27408
27409 \begin_inset Quotes erd
27410 \end_inset
27411
27412 ), and in the format 
27413 \begin_inset Quotes eld
27414 \end_inset
27415
27416 Portable Network Graphics
27417 \begin_inset Quotes erd
27418 \end_inset
27419
27420  (PNG, file extension 
27421 \begin_inset Quotes eld
27422 \end_inset
27423
27424
27425 \family typewriter
27426 .png
27427 \family default
27428
27429 \begin_inset Quotes erd
27430 \end_inset
27431
27432 ).
27433  You can although use any other image format, because LyX converts them
27434  in the background to one of these formats.
27435  But as described in the section about PostScript, the image conversion
27436  will slow down your work flow.
27437  So it is recommended to use images in one of the three mentioned formats.
27438 \end_layout
27439
27440 \begin_layout Standard
27441 You can export your document to PDF via the menu 
27442 \family sans
27443 File\SpecialChar \menuseparator
27444 Export
27445 \family default
27446  in three different ways:
27447 \end_layout
27448
27449 \begin_layout Description
27450 PDF This uses the program 
27451 \family typewriter
27452 ps2pdf
27453 \family default
27454  that creates a PDF from a PostScript-version of your file.
27455  The PostScript-version is produced by the program 
27456 \family typewriter
27457 dvips
27458 \family default
27459  which uses a DVI-version as intermediate step.
27460  So this export variant consist of three conversions.
27461 \end_layout
27462
27463 \begin_layout Description
27464 PDF\InsetSpace ~
27465 (dvipdfm) This uses the program 
27466 \family typewriter
27467 dvipdfm
27468 \family default
27469  that converts your file in the background to DVI and in a second step to
27470  PDF.
27471 \end_layout
27472
27473 \begin_layout Description
27474 PDF\InsetSpace ~
27475 (pdflatex) This uses the program 
27476 \family typewriter
27477 pdftex
27478 \family default
27479  that converts your file directly to PDF.
27480 \end_layout
27481
27482 \begin_layout Standard
27483 It is recommended to use 
27484 \family sans
27485 PDF\InsetSpace ~
27486 (pdflatex)
27487 \family default
27488  because 
27489 \family typewriter
27490 pdftex
27491 \family default
27492  supports all features of actual PDF-versions, is quick and works stable
27493  without problems.
27494  The program 
27495 \family typewriter
27496 dvipdfm
27497 \family default
27498  is not under development and therefore a bit outdated.
27499 \end_layout
27500
27501 \begin_layout Standard
27502 You can view your document as PDF via the 
27503 \family sans
27504 View
27505 \family default
27506  menu or by using the toolbar button 
27507 \begin_inset Graphics
27508         filename ../images/buffer-view_pdf2.xpm
27509         scale 85
27510
27511 \end_inset
27512
27513  
27514 \family sans
27515 (
27516 \family default
27517 that uses 
27518 \family sans
27519 PDF\InsetSpace ~
27520 (pdflatex)
27521 \family default
27522 ).
27523 \end_layout
27524
27525 \begin_layout Chapter
27526 Explanation of Equation\InsetSpace ~
27527
27528 \begin_inset LatexCommand eqref
27529 reference "eq:Wgn"
27530
27531 \end_inset
27532
27533
27534 \begin_inset LatexCommand label
27535 name "cha:Explanation-of-Equation"
27536
27537 \end_inset
27538
27539
27540 \end_layout
27541
27542 \begin_layout Standard
27543 The total width of 
27544 \emph on
27545 n
27546 \emph default
27547  table cells 
27548 \begin_inset Formula $W_{\mathrm{tot\, n}}$
27549 \end_inset
27550
27551  can be calculated to
27552 \end_layout
27553
27554 \begin_layout Standard
27555 \begin_inset Formula \begin{equation}
27556 W_{\mathrm{tot}\, n}=n·(W_{g\, n}+2·\backslash\mbox{tabcolsep})+(n+1)·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}\end{equation}
27557
27558 \end_inset
27559
27560
27561 \end_layout
27562
27563 \begin_layout Standard
27564 Where 
27565 \begin_inset Formula $W_{g\, n}$
27566 \end_inset
27567
27568  is the given width of all cells.
27569  
27570 \series bold
27571
27572 \backslash
27573 tabcolsep
27574 \series default
27575  is the LaTeX-length between the cell text and the cell border, its default
27576  value is 6\InsetSpace \thinspace{}
27577 pt.
27578  
27579 \series bold
27580
27581 \backslash
27582 arrayrulewidth
27583 \series default
27584  is the thickness of the cell border line, the default is 0.4\InsetSpace \thinspace{}
27585 pt.
27586 \end_layout
27587
27588 \begin_layout Standard
27589 Following equation\InsetSpace ~
27590
27591 \begin_inset LatexCommand eqref
27592 reference "eq:Wtot_n"
27593
27594 \end_inset
27595
27596 , the total width of a multicolumn 
27597 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
27598 \end_inset
27599
27600  is
27601 \end_layout
27602
27603 \begin_layout Standard
27604 \begin_inset Formula \begin{equation}
27605 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2·\backslash\mbox{tabcolsep}+2·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
27606
27607 \end_inset
27608
27609
27610 \end_layout
27611
27612 \begin_layout Standard
27613 By setting equation\InsetSpace ~
27614
27615 \begin_inset LatexCommand eqref
27616 reference "eq:Wtot_n"
27617
27618 \end_inset
27619
27620  and 
27621 \begin_inset LatexCommand eqref
27622 reference "eq:Wtot_mult"
27623
27624 \end_inset
27625
27626  equal we can calculate the needed given width 
27627 \begin_inset Formula $W_{g\, n}$
27628 \end_inset
27629
27630  when 
27631 \emph on
27632 n
27633 \emph default
27634  columns are spanned, so that each column has a total width of 
27635 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
27636 \end_inset
27637
27638 :
27639 \end_layout
27640
27641 \begin_layout Standard
27642 \begin_inset Formula \begin{equation}
27643 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)·(2·\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
27644
27645 \end_inset
27646
27647
27648 \end_layout
27649
27650 \begin_layout Bibliography
27651 \begin_inset LatexCommand bibitem
27652 key "latexcompanion"
27653
27654 \end_inset
27655
27656 Frank Mittelbach and Michel Goossens: 
27657 \emph on
27658 The LaTeX Companion Second Edition.
27659  
27660 \emph default
27661 Addison-Wesley, 2004
27662 \end_layout
27663
27664 \begin_layout Bibliography
27665 \begin_inset LatexCommand bibitem
27666 key "latexguide"
27667
27668 \end_inset
27669
27670 Helmut Kopka and Patrick W.
27671  Daly: 
27672 \emph on
27673 A Guide to LaTeX Fourth Edition.
27674  
27675 \emph default
27676 Addison-Wesley, 2003
27677 \end_layout
27678
27679 \begin_layout Bibliography
27680 \begin_inset LatexCommand bibitem
27681 key "latexbook"
27682
27683 \end_inset
27684
27685 Leslie Lamport: 
27686 \emph on
27687 LaTeX: A Document Preparation System.
27688  
27689 \emph default
27690 Addison-Wesley, second edition, 1994
27691 \end_layout
27692
27693 \begin_layout Bibliography
27694 \begin_inset LatexCommand bibitem
27695 key "booktabs"
27696
27697 \end_inset
27698
27699
27700 \begin_inset ERT
27701 status collapsed
27702
27703 \begin_layout Standard
27704
27705
27706 \backslash
27707 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf}
27708 {
27709 \end_layout
27710
27711 \end_inset
27712
27713 Documentation
27714 \begin_inset ERT
27715 status collapsed
27716
27717 \begin_layout Standard
27718
27719 }
27720 \end_layout
27721
27722 \end_inset
27723
27724  of the LaTeX-package 
27725 \series bold
27726 booktabs
27727 \series default
27728
27729 \begin_inset LatexCommand index
27730 name "LaTeX-packages ! booktabs"
27731
27732 \end_inset
27733
27734
27735 \end_layout
27736
27737 \begin_layout Bibliography
27738 \begin_inset LatexCommand bibitem
27739 key "caption"
27740
27741 \end_inset
27742
27743
27744 \begin_inset ERT
27745 status collapsed
27746
27747 \begin_layout Standard
27748
27749
27750 \backslash
27751 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf}{
27752 \end_layout
27753
27754 \end_inset
27755
27756 Documentation
27757 \begin_inset ERT
27758 status collapsed
27759
27760 \begin_layout Standard
27761
27762 }
27763 \end_layout
27764
27765 \end_inset
27766
27767  of the LaTeX-package 
27768 \series bold
27769 caption
27770 \series default
27771
27772 \begin_inset LatexCommand index
27773 name "LaTeX-packages ! caption"
27774
27775 \end_inset
27776
27777
27778 \end_layout
27779
27780 \begin_layout Bibliography
27781 \begin_inset LatexCommand bibitem
27782 key "caption-de"
27783
27784 \end_inset
27785
27786 German 
27787 \begin_inset ERT
27788 status collapsed
27789
27790 \begin_layout Standard
27791
27792
27793 \backslash
27794 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/anleitung.pdf}
27795 {
27796 \end_layout
27797
27798 \end_inset
27799
27800 documentation
27801 \begin_inset ERT
27802 status collapsed
27803
27804 \begin_layout Standard
27805
27806 }
27807 \end_layout
27808
27809 \end_inset
27810
27811  of the LaTeX-package 
27812 \series bold
27813 caption
27814 \end_layout
27815
27816 \begin_layout Bibliography
27817 \begin_inset LatexCommand bibitem
27818 key "endfloat"
27819
27820 \end_inset
27821
27822
27823 \begin_inset ERT
27824 status collapsed
27825
27826 \begin_layout Standard
27827
27828
27829 \backslash
27830 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf}
27831 {
27832 \end_layout
27833
27834 \end_inset
27835
27836 Documentation
27837 \begin_inset ERT
27838 status collapsed
27839
27840 \begin_layout Standard
27841
27842 }
27843 \end_layout
27844
27845 \end_inset
27846
27847  of the LaTeX-package 
27848 \series bold
27849 endf\SpecialChar \textcompwordmark{}
27850 loat
27851 \series default
27852
27853 \begin_inset LatexCommand index
27854 name "LaTeX-packages ! endfloat"
27855
27856 \end_inset
27857
27858
27859 \end_layout
27860
27861 \begin_layout Bibliography
27862 \begin_inset LatexCommand bibitem
27863 key "floatflt"
27864
27865 \end_inset
27866
27867
27868 \begin_inset ERT
27869 status collapsed
27870
27871 \begin_layout Standard
27872
27873
27874 \backslash
27875 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/floatflt/floatflt.pdf}
27876 {
27877 \end_layout
27878
27879 \end_inset
27880
27881 Documentation
27882 \begin_inset ERT
27883 status collapsed
27884
27885 \begin_layout Standard
27886
27887 }
27888 \end_layout
27889
27890 \end_inset
27891
27892  of the LaTeX-package 
27893 \series bold
27894 floatf\SpecialChar \textcompwordmark{}
27895 lt
27896 \series default
27897
27898 \begin_inset LatexCommand index
27899 name "LaTeX-packages ! floatflt"
27900
27901 \end_inset
27902
27903
27904 \end_layout
27905
27906 \begin_layout Bibliography
27907 \begin_inset LatexCommand bibitem
27908 key "footmisc"
27909
27910 \end_inset
27911
27912
27913 \begin_inset ERT
27914 status collapsed
27915
27916 \begin_layout Standard
27917
27918
27919 \backslash
27920 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf}
27921 {
27922 \end_layout
27923
27924 \end_inset
27925
27926 Documentation
27927 \begin_inset ERT
27928 status collapsed
27929
27930 \begin_layout Standard
27931
27932 }
27933 \end_layout
27934
27935 \end_inset
27936
27937  of the LaTeX-package 
27938 \series bold
27939 footmisc
27940 \series default
27941
27942 \begin_inset LatexCommand index
27943 name "LaTeX-packages ! footmisc"
27944
27945 \end_inset
27946
27947
27948 \end_layout
27949
27950 \begin_layout Bibliography
27951 \begin_inset LatexCommand bibitem
27952 key "hypcap"
27953
27954 \end_inset
27955
27956
27957 \begin_inset ERT
27958 status collapsed
27959
27960 \begin_layout Standard
27961
27962
27963 \backslash
27964 href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf}{
27965 \end_layout
27966
27967 \end_inset
27968
27969 Documentation
27970 \begin_inset ERT
27971 status collapsed
27972
27973 \begin_layout Standard
27974
27975 }
27976 \end_layout
27977
27978 \end_inset
27979
27980  of the LaTeX-package 
27981 \series bold
27982 hypcap
27983 \series default
27984
27985 \begin_inset LatexCommand index
27986 name "LaTeX-packages ! hyperref"
27987
27988 \end_inset
27989
27990
27991 \end_layout
27992
27993 \begin_layout Bibliography
27994 \begin_inset LatexCommand bibitem
27995 key "hyperref"
27996
27997 \end_inset
27998
27999
28000 \begin_inset ERT
28001 status collapsed
28002
28003 \begin_layout Standard
28004
28005
28006 \backslash
28007 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf}
28008 {
28009 \end_layout
28010
28011 \end_inset
28012
28013 Documentation
28014 \begin_inset ERT
28015 status collapsed
28016
28017 \begin_layout Standard
28018
28019 }
28020 \end_layout
28021
28022 \end_inset
28023
28024  of the LaTeX-package 
28025 \series bold
28026 hyperref
28027 \series default
28028
28029 \begin_inset LatexCommand index
28030 name "LaTeX-packages ! hyperref"
28031
28032 \end_inset
28033
28034
28035 \end_layout
28036
28037 \begin_layout Bibliography
28038 \begin_inset LatexCommand bibitem
28039 key "koma-script"
28040
28041 \end_inset
28042
28043
28044 \begin_inset ERT
28045 status collapsed
28046
28047 \begin_layout Standard
28048
28049
28050 \backslash
28051 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.p
28052 df}{
28053 \end_layout
28054
28055 \end_inset
28056
28057 Documentation
28058 \begin_inset ERT
28059 status collapsed
28060
28061 \begin_layout Standard
28062
28063 }
28064 \end_layout
28065
28066 \end_inset
28067
28068  of the LaTeX-package 
28069 \series bold
28070 koma-script
28071 \series default
28072
28073 \begin_inset LatexCommand index
28074 name "LaTeX-packages ! koma-script"
28075
28076 \end_inset
28077
28078
28079 \end_layout
28080
28081 \begin_layout Bibliography
28082 \begin_inset LatexCommand bibitem
28083 key "koma-script-de"
28084
28085 \end_inset
28086
28087 German 
28088 \begin_inset ERT
28089 status collapsed
28090
28091 \begin_layout Standard
28092
28093
28094 \backslash
28095 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguide.p
28096 df}{
28097 \end_layout
28098
28099 \end_inset
28100
28101 documentation
28102 \begin_inset ERT
28103 status collapsed
28104
28105 \begin_layout Standard
28106
28107 }
28108 \end_layout
28109
28110 \end_inset
28111
28112  of the LaTeX-package 
28113 \series bold
28114 koma-script
28115 \series default
28116
28117 \begin_inset LatexCommand index
28118 name "LaTeX-packages ! koma-script"
28119
28120 \end_inset
28121
28122
28123 \end_layout
28124
28125 \begin_layout Bibliography
28126 \begin_inset LatexCommand bibitem
28127 key "marginnote"
28128
28129 \end_inset
28130
28131
28132 \begin_inset ERT
28133 status collapsed
28134
28135 \begin_layout Standard
28136
28137
28138 \backslash
28139 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.
28140 pdf}{
28141 \end_layout
28142
28143 \end_inset
28144
28145 Documentation
28146 \begin_inset ERT
28147 status collapsed
28148
28149 \begin_layout Standard
28150
28151 }
28152 \end_layout
28153
28154 \end_inset
28155
28156  of the LaTeX-package 
28157 \series bold
28158 marginnote
28159 \series default
28160
28161 \begin_inset LatexCommand index
28162 name "LaTeX-packages ! marginnote"
28163
28164 \end_inset
28165
28166
28167 \end_layout
28168
28169 \begin_layout Bibliography
28170 \begin_inset LatexCommand bibitem
28171 key "pstricks"
28172
28173 \end_inset
28174
28175
28176 \begin_inset ERT
28177 status collapsed
28178
28179 \begin_layout Standard
28180
28181
28182 \backslash
28183 href{http://tug.org/PSTricks/main.cgi/}{
28184 \end_layout
28185
28186 \end_inset
28187
28188 Web page
28189 \begin_inset ERT
28190 status collapsed
28191
28192 \begin_layout Standard
28193
28194 }
28195 \end_layout
28196
28197 \end_inset
28198
28199  of the LaTeX-package 
28200 \series bold
28201 PSTricks
28202 \series default
28203
28204 \begin_inset LatexCommand index
28205 name "LaTeX-packages ! PSTricks"
28206
28207 \end_inset
28208
28209
28210 \end_layout
28211
28212 \begin_layout Bibliography
28213 \begin_inset LatexCommand bibitem
28214 key "sidecap"
28215
28216 \end_inset
28217
28218
28219 \begin_inset ERT
28220 status collapsed
28221
28222 \begin_layout Standard
28223
28224
28225 \backslash
28226 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf}{
28227 \end_layout
28228
28229 \end_inset
28230
28231 Documentation
28232 \begin_inset ERT
28233 status collapsed
28234
28235 \begin_layout Standard
28236
28237 }
28238 \end_layout
28239
28240 \end_inset
28241
28242  of the LaTeX-package 
28243 \series bold
28244 sidecap
28245 \series default
28246
28247 \begin_inset LatexCommand index
28248 name "LaTeX-packages ! sidecap"
28249
28250 \end_inset
28251
28252
28253 \end_layout
28254
28255 \begin_layout Bibliography
28256 \begin_inset LatexCommand bibitem
28257 key "NewInLyX15"
28258
28259 \end_inset
28260
28261
28262 \begin_inset ERT
28263 status collapsed
28264
28265 \begin_layout Standard
28266
28267
28268 \backslash
28269 href{http://wiki.lyx.org/LyX/NewInLyX15}{
28270 \end_layout
28271
28272 \end_inset
28273
28274 Wiki page
28275 \begin_inset ERT
28276 status collapsed
28277
28278 \begin_layout Standard
28279
28280 }
28281 \end_layout
28282
28283 \end_inset
28284
28285  about new LyX-features planned for the release 
28286 \family sans
28287 LyX 1.5
28288 \family default
28289 .
28290 \end_layout
28291
28292 \begin_layout Standard
28293 \begin_inset LatexCommand printindex
28294
28295 \end_inset
28296
28297
28298 \end_layout
28299
28300 \begin_layout Standard
28301 \begin_inset FloatList figure
28302
28303 \end_inset
28304
28305
28306 \end_layout
28307
28308 \begin_layout Standard
28309 \begin_inset FloatList table
28310
28311 \end_inset
28312
28313
28314 \end_layout
28315
28316 \end_body
28317 \end_document